Dominic Maricic wrote: > I'm using the Chapter feature to create bookmarks. The problem is that I also > generate a table of contents after I process everything else (so I know what > pages everything is at). If I create a bookmark for the TOC it shows last in > the > bookmark list. Is there a way to move it to the top?
You could go over the PDF in a second pass (with PdfReader). Retrieve the bookmarks as an XML file or a Java object; change the bookmarks to your heart's content, and then use PdfStamper to apply the new bookmarks to the PDF. br, Bruno ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
