On 4/10/2011 18:49, Chris Ulbright wrote: > Hello, > > I have run into an issue when adding bookmarks to an existing PDF. This > particular code has been working for some time so I¹m not sure what is > different in this case. The PDF file is attached. > > The document in this case is a single page. The bookmarks are added as shown > below. When close() is called on the PdfStamper I get the following > exception: > > Exception in thread "main" java.lang.ClassCastException:
Although your PDF was flawed, we've fixed the problem. See: http://itext.svn.sourceforge.net/viewvc/itext?view=revision&revision=4973 ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2 _______________________________________________ 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
