Another solution would be to use LibreOffice/OpenOffice via JODConverter to convert binary .doc or rtf to docx, and then use docx4j or POI.
That way, you avoid the need for MS Word at run-time. On Mon, Dec 10, 2012 at 5:15 PM, sareth <gwen89pe...@hotmail.com> wrote: > hello everyone, thank you very much for your replies ! > > I need produced FO file in order to modify it and to include it in another > FO file, dynamically. > > I'm restricted to RTF format. You're right, I already merged some docx file > with docx4j and it's really a very good tool. > > I found a solution: > I convert RTF file in DOC with MSWord through Jacob, then I use Apache POI > 3.9 to convert DOC to FO, by overriding picture manager method in order to > create and extract them in a subfolder and to insert "fo:external-graphic" > in FO resulting file. > > I tested it, and it worked (but pictures size have to be reworked in FO > code) > > thank you again > > with regards, > Sareth > > > > -- > View this message in context: > http://apache-fop.1065347.n5.nabble.com/using-FOP-to-convert-RTF-to-FO-tp37464p37478.html > Sent from the FOP - Users mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org > For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org