On Wed, 18 Oct 2006 09:45:21 +0200, Abel Braaksma wrote:
More likely would be, considering the whole scenario, to get XSLFO from
RTF (xslfo is xml anyway, so this won't violate your first requirement,
and it gives you a generalized way to keep the font etc data). Do your
thing with it (but leave it intact as XSLFO, if possible). Now all you
need is parse the resulting XSLFO into RTF back again. But be not
surprised if the text layout will be off by a bit.
Fully agree, because RTF and FO intersect.
There are things FO can that RTF can't and vis-versa.
E.g. region-start and region-end and embedded SVG aren't supported by RTF.
On the other hand, RTF form fields, text flow around an object and tabulators
aren't supported in FO.
These are only a few examples, it's not a complete list.
Not sure there exists a readymade tool to get xslfo from rtf, though.
RTF-to-FO from Novosoft
From FO to RTF: XMLmind FO Converter
For details to the above mentioned software see
http://www.xslfo.info/software.aspx
Rudolf P. Weinmann
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--