and what i forgot again, i only get 3 existing filenames (xml, xsl, and
output pdf)
Fishy
Fischer Tibor wrote:
that's ok,
sorry but i didn't said, that i have an xml, and an xsl file, and i
have to generate the pdf from them
Fishy
Alexandre Denes dos Santos wrote:
Use:
Driver driver = new Driver(InputStream in, OutputStream out);
driver.setRenderer(Driver.RENDER_PDF);
driver.run();
where in is the inputStream to the fo file that you will render and
out is the outputstream where the pdf content will be write to.
The package is org.apache.fop.apps.
Hope that helps.
Denes
----- Original Message ----- From: "Fischer Tibor" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 28, 2002 10:50 AM
Subject: calling fop from java
hi
i would like to call the fop's transformation procedure from a
running java application, to create pdf realtime
how is it possible??
what method sholud i call??
Thanks,
Fishy