rsc / pdf

PDF reader
BSD 3-Clause "New" or "Revised" License
510 stars 327 forks source link

Fetch page from outline #12

Open dpifke opened 7 years ago

dpifke commented 7 years ago

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.