Hello, I want to create a table of contents in pdf. Therefore I saved all the added Chapters and Sections in a list. At the position where the table of contents should later appear I added a Pharagraph with a special character combination. After the Pdf Document was closed I want to read the Pdf Document and add a list of Paragraph objects at the position where the table of contents should appear.
I have the following problems: - How could I found the Paragraph with the special character combination? - How could I change this Paragraph through the new Paragraph objects? - How could I change the page numbers that I wrote in the first run because the page numbers could be displace? I read in the "iText in Action" book but I did't find a solution for my problem. I know that there is an automatically created Bookmark list but the requirement that I have got is, that there should be a table of contents in a printed out pdf document. Are there any ideas how I could create such a table of contents or how I could resolve my problems? Regards, Eric ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ 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/
