On May 13, 2008, at 6:23 AM, Ricardo Matos wrote: > Thus, in the "hiding" part of my function, I grab the original pdf > template > and produce a temporary pdf file with a bunch of hidden tables. > This works > perfectly. > Great...
> Then, I grab that temporary file and I try using a PDFCopy object > to simply > copy the useful pages to a final output pdf. PDFCopy is for copying REAL PDF pages - you are working with an XML- based form. You can't intermix the two! What you want to do is just throw away all the PDF stuff and leave yourself with a "shell PDF" and just the XML. This will work perfectly in Acrobat/Reader 8... Leonard ------------------------------------------------------------------------- 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