Doug James wrote: > 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?
Not using PdfWriter, you need PdfReader and PdfCopy to concatenate the files. See the example on page 64 or use com.lowagie.tools.plugins.Concat (mentioned on page 415) as inspiration to write your code. Don't forget to read section 2.3 to find out how to use a byte[] as input for PdfReader. br, Bruno ------------------------------------------------------------------------- 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/
