Op 16/04/2011 13:30, [email protected] schreef:
http://itextpdf.com/examples/iia.php?id=110But that seems cannot solve my problem :.(
That example uses com.itextpdf.text.pdf.PdfCopy. Your exceptions say you're using com.lowagie.text.pdf.PdfCopy. Please try again with the latest version of iText. Also: if you're trying to copy a single page, why are you using PdfCopy? Wouldn't it be easier to use PdfReader.selectPages() in combination with PdfStamper. Finally, you're not giving us sufficient information. The only valid answer we can give you is: "The code works for us." If you want us to look into the problem, you'll have to give us a standalone example, just like the one you referred to, that REPRODUCES the problem. This means you'll also have to post the PDF that causes the problem (maybe that PDF is broken).
------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
