You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Du...@za.didata.com on 2001/12/03 15:26:05 UTC

This is a question for FOP users, please help

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
**********************************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


Re: This is a question for FOP users, please help

Posted by Ulrich Mayring <ul...@denic.de>.
Dudley.Butt@za.didata.com wrote:
> 
> 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();

options = new Options(java.io.File);

Ulrich

-- 
Ulrich Mayring
DENIC eG, Systementwicklung

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org