I assemble various PDF files. While I have 10 single.pdf files with 2 pages each and producing a TOC on first page including bookmarks everything works fine. I can select the bookmark toc entry and I will navigate to the toc. If I do the same with 40 single.pdf files, so selecting the bookmark toc entry does not navigate to the toc of the assembled pdf. To me it seems like a bug I have or somewhere else, can you help me out?
I do have a reproducer.
bug.zip (2.6 KB)
You only have to set the following locations to your needs:
public class BugTocReproAspose
final String saveLocation = "/home/igb/temp/assembled.pdf"; final String pdfFile = "/home/igb/temp/single.pdf"; final int totalDocuments = 50;
Change the Value to totalDocuments to 10, then all works fine!
We are a customer of Aspose and have licensed the product.