First off, awesome work! Glad to see our codepage library was helpful :)
https://jsfiddle.net/omyjg5a9/ generates an RTF table that Word 2016 and OSX TextEdit recognize as a borderless table. rtf.js doesn't seem to recognize this as a table :(
The generator is extremely simple, using a handful of control words for the table block. Here's an example with some comments prefixed by #:
{\rtf1\ansi
\trowd\trautofit1 # start of row
\cellx1\cellx2 # Word seems to need this, even though the widths are not used
\pard\intbl # mark before cells
a\cell # each cell is terminated with the \cell control word
b\cell
\pard\intbl\row # end of row
\trowd\trautofit1
\cellx1\cellx2
\pard\intbl
1\cell
2\cell
\pard\intbl\row
}
A request for table support was already raised in #15 . Based on your understanding of the specification, do those control words suffice to represent a table? If so, would you accept a PR for table support based on those words?
First off, awesome work! Glad to see our codepage library was helpful :)
https://jsfiddle.net/omyjg5a9/ generates an RTF table that Word 2016 and OSX TextEdit recognize as a borderless table. rtf.js doesn't seem to recognize this as a table :(
The generator is extremely simple, using a handful of control words for the table block. Here's an example with some comments prefixed by
#:A request for table support was already raised in #15 . Based on your understanding of the specification, do those control words suffice to represent a table? If so, would you accept a PR for table support based on those words?