Op 18/02/2011 3:17, Wesley Baker schreef: > I could not use PdfStamper to place anchors (was that correct?).
You can add all kinds of annotations using PdfStamper, including Link annotations ( = anchors). If you want to add an Anchor object, you can do so using the ColumnText object. For more examples, read chapters 6 and 7 of "iText in Action - Second Edition". > Now however, the following code is throwing the following error. If I > comment out the loop and only add the coverpage, I don't get the error: What is this line for: > reportPage.close(); The EOFException tells you that you're trying to read something in one of the existing pages added in the loop that is beyond the end of the file. Maybe the reader no longer has access to an object that is needed. Please provide a small standalone application with some sample PDFs so that we can reproduce the problem. ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions 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
