xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Harrop <jhar...@gmail.com>
Subject Re: using FOP to convert RTF to FO
Date Wed, 20 Feb 2013 21:30:20 GMT
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 <gwen89perso@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-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message