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/testdocs/). 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of tango ray
Sent: Wednesday, June 16, 2004 8:46 AM
To: [EMAIL PROTECTED]
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 d’accès - avec anti-virus gratuit !
Créez votre Yahoo! Mail

Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !

Reply via email to