You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by tango ray <ra...@yahoo.fr> on 2004/06/16 08:45:41 UTC
re: rtf connversion
I succeed in downloading the cvs version of fop, with the rtf part.
I have created a rtf file, with the rtffile.java, that i can execute.
But i can be able to use the RTFHandler. I wish to know how can I use it, and enter one fo file(doc?) as parameter.
If anyone can tell me how to create the "main" part of the rtfhandler, in order to use it... ( and then use the rtflib).
Thank you
---------------------------------
Yahoo! Mail : votre e-mail personnel et gratuit quel que soit votre fournisseur daccès - avec anti-virus gratuit !
Créez votre Yahoo! Mail
Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !
RE: rtf connversion
Posted by Peter Herweg <ph...@web.de>.
Hi,
do you want to use the rtflib in order to create rtf files on the fly or do
you just want to convert an xsl-fo file to rtf?
If you just want to convert a file, you don't need to use RTFHandler
directly. Just pass the xsl-fo file as command line parameter to fop, for
example "C:\>fop.bat input.fo -rtf output.rtf"
If you want to use the rtflib you may find some useful examples in jfor's
testdocs
(http://cvs.sourceforge.net/viewcvs.py/jfor/jfor/src/org/jfor/jfor/rtflib/te
stdocs/). Maybe you have to modify them a litte to get it run with fop, but
the rtflib is quite the same.
Bye
Peter Herweg
-----Original Message-----
From: fop-user-return-14056-pherweg=web.de@xml.apache.org
[mailto:fop-user-return-14056-pherweg=web.de@xml.apache.org]On Behalf Of
tango ray
Sent: Wednesday, June 16, 2004 8:46 AM
To: fop-user@xml.apache.org
Subject: re: rtf connversion
I succeed in downloading the cvs version of fop, with the rtf part.
I have created a rtf file, with the rtffile.java, that i can execute.
But i can be able to use the RTFHandler. I wish to know how can I use it,
and enter one fo file(doc?) as parameter.
If anyone can tell me how to create the "main" part of the rtfhandler, in
order to use it... ( and then use the rtflib).
Thank you
----------------------------------------------------------------------------
--
Yahoo! Mail : votre e-mail personnel et gratuit quel que soit votre
fournisseur daccès - avec anti-virus gratuit !
Créez votre Yahoo! Mail
Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !