Bruno, Awesome book!

We here at work have a need to concatenate multiple PDF documents which are
rendered via XSL-FO and produce a single PDF. The XSL-FO documents are
available as byte arrays.

Is it possible to pass the multiple byte arrays into the OutputStream used
with a PdfWriter? Something like:
byte[] xslfoDocs = getXSLFODocument(); // this is one big array made up of
multiple arrays of documents
OutputStream out = new OutputStream();
Document doc = new Document(PageSize.LETTER);
PdfWriter.getInstance(doc, out.write(xslfoFocs);

Is there some other suggestions for accomplishing this without writing out
each XSL-FO document first then reading them in individually?

Thanks for the help!

Doug
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to