We are using Java aspose.pdf for editing bookmarks. To retrieve bookmarks we are using code suggested at:
but it fails at below line:
com.aspose.pdf.facades.Bookmarks bookmarks = bookmarkEditor.extractBookmarks();
at com.aspose.pdf.XYZExplicitDestination.getLeft(Unknown Source)
at com.aspose.pdf.facades.Bookmark.a(Unknown Source)
at com.aspose.pdf.facades.PdfBookmarkEditor.extractBookmarks(Unknown Source)
We want to use facades.Bookmarks extract method because we want to retrieve page display left,right etc. which is available only in facade.Bookmark class.
Test Pdf is attached. Please let us know what is the issue and how can we handle it so that we can use facades.Bookmarks.
Let us know alternative way to get bookmark ‘destination’ location/rectangle. i.e. the contents in pdf document to which the bookmark points.
for using our products.<o:p></o:p>
I have tested the scenario and I am able to reproduce the same problem. For the sake of correction, I have logged it in our issue tracking system as PDFNEWJAVA-33691. We will investigate this issue in details and will keep you updated on the status of a correction.
We apologize for your inconvenience.