Thank you very much

This is my code:

ByteArrayOutputStream BAout = new ByteArrayOutputStream();
org.apache.fop.apps.Driver driver = new org.apache.fop.apps.Driver();

driver.setRenderer(org.apache.fop.apps.Driver.RENDER_PDF);
driver.setOutputStream(BAout);

driver.render(input.getParser(), input.getInputSource());

File outputFile = new File(filenamePDF);
FileOutputStream outFileWriter = new FileOutputStream(filenamePDF);

byte[] content = BAout.toByteArray();

outFileWriter.write(content);
outFileWriter.flush();
outFileWriter.close();

How can I integrate with the code of the page you redirect me?

thanks
--
View this message in context: 
http://www.nabble.com/Read-only-PDF-with-fop-t1627655.html#a4410423
Sent from the FOP - Users forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to