W3C home > Mailing lists > Public > www-xsl-fo@w3.org > December 2001

This is a question for FOP users, please help

From: <Dudley.Butt@za.didata.com>
Date: Mon, 3 Dec 2001 13:37:53 +0200
Message-ID: <9F3EC9F34AEAD4118D6000A0C9FB0C0502C84EFB@fgp0sv02.ics.didata.com>
To: www-xsl-fo@w3.org
Hi all you fo dudes:

Please need some assistance on how to programatically get a fo doc to render
to pdf. I got it working using the code below, but i want to specify another
userconfig file...how can i do this without doing it command line...anyone
got any examples or maybe someone has done it already? Thanx

//            Driver driver = new Driver();
//            driver.setRenderer(Driver.RENDER_PDF);
//            driver.setInputSource(new InputSource(OLIFE_FO));
//            driver.setOutputStream(new FileOutputStream(OLIFE_PDF));
//            driver.run();


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************
Received on Monday, 3 December 2001 06:43:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:08 GMT