Avi Flax wrote: > Do you think you might be able to illustrate your suggestion with some > code or pseudocode?
If you want to know more about Portable Collections: http://www.lowagie.com/itextwiki/doku.php/collections Have a look at http://www.lowagie.com/itextwiki/doku.php/collections:kubrick http://www.lowagie.com/itextwiki/doku.php/collections:mail to find out if Portable Collections are an answer to your question. > BTW, it'd be perfectly acceptable, for my needs, if the PDFs get > flattened during this process - as long as the values in the XFA forms > are preserved. The fact that the forms may be flattened makes it easier. Have a look at this example (and imagine that two different forms are used): http://1t3xt.info/examples/browse/?page=example&id=35 Basically you use PdfStamper to fill the form and flatten it. You can keep the flattened forms in memory as byte[]. Then you use PdfCopy (or PdfSmartCopy) to concatenate both PDFs. There are more (and probably even better) examples elsewhere on the site. For instance: this is a more complex example: http://1t3xt.info/examples/browse/?page=example&id=347 -- This answer is provided by 1T3XT BVBA ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Do you like iText? Buy the iText book: http://www.1t3xt.com/docs/book.php Or leave a tip: https://tipit.to/itexttipjar