I've implemented the ability to get the page corresponding to an entry
in the outline (aka table of contents), and to walk to the next or previous
page in the document given just a Page object.
This is admittedly quick and dirty. It works on the handful of PDF
files I tried it with, but I haven't actively sought out corner cases.
I've implemented the ability to get the page corresponding to an entry in the outline (aka table of contents), and to walk to the next or previous page in the document given just a Page object.
This is admittedly quick and dirty. It works on the handful of PDF files I tried it with, but I haven't actively sought out corner cases.