I am new to iText and am trying to solve a problem I am encountering. I have worked through the examples in the iText in Action book and haven't been able to get this to work.
Here is the problem: I am merging 3 pdf's together into one using PdfCopy and I need to build bookmarks for the final pdf. For example, I merge doc1.pdf, doc2.pdf and doc3.pdf and have to build nested bookmarks for the resulting pdf like so: doc1 - doc1 page 1 - doc1 page 2 doc2 - doc2 page 1 etc. I have seen the examples (http://www.1t3xt.info/examples/browse/?page=example&id=382) of merging pdf's and building bookmarks by inserting pages in between the merged documents, but I need to do it without inserting new pages or visually affecting the individual pdf's. Is this possible, and if so, can someone point me in the right direction of what class to use, or what the general solution would be? Edit: I should mention that the 3 pdf's I am merging do NOT have existing bookmarks. Thanks, JR Naylor -- View this message in context: http://www.nabble.com/Creating-Bookmarks-in-merged-PDF-without-inserting-new-pages-tp18016936p18016936.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Do you like iText? Buy the iText book: http://www.1t3xt.com/docs/book.php Or leave a tip: https://tipit.to/itexttipjar
