Hi, How can I read bookmarks from the document that is currently generated? I.e. there is no PdfReader, so I cannot use SimpleBookmark class to read the bookmarks from it.
The reason why I need it is that I want to create Table Of Contents that includes links to the actual chapters in the document in the same document. I am aware of the example that concatenates source document with TOC document using PdfCopy, but this approach does not work if you want to preserve links in the TOC. So my idea is to create TOC in the end of the original document, that will contain links and then use PdfCopy to move the TOC to the top of the document. (I assume that the links will still point to the proper chapters after the move). Is it a good approach? Is there a better way to create a document with TOC that contains links to the chapters in document? Is it possible at all? -- View this message in context: http://old.nabble.com/Read-bookmarks-from-currently-generated-document-tp27527124p27527124.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
