Re: RE: jfor-users digest, Vol 1 #56 - 2 msgs

Bertrand Delacretaz <[email protected]> Thu, 6 Jun 2002 16:46:07 +0200
Newsgroups gmane.text.xml.jfor.general
Organization codeconsult
Message-ID <[email protected]>
Hello,

>. . 
> I have exactly the same problem as yours. I need some of my reports in
> PDF, while some in RTF - all from my java application.
> I would appreciate any help
>. . .

You only need to create and initialize a Converter (from package 
org.jfor.jfor.converter), which has several constructors for the various 
inputs (file, DOM document, SAX events).

You should have a look at the CmdLineConverter class in package 
org.jfor.jfor.main, which is most probably very similar to what you need (for 
RTF of course).

Hope this helps!
-- 
 Bertrand Delacrétaz (codeconsult.ch, jfor.org)

 buzzwords: XML, java, XSLT, cocoon, mentoring/teaching/coding.
 disclaimer: eternity is very long. mostly towards the end. get ready.






_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm