mfenniak / pyPdf

Pure-Python PDF Library; this repository is no longer maintained, please see https://github.com/knowah/PyPDF2/ insead.
https://github.com/knowah/PyPDF2/
Other
276 stars 85 forks source link

get page number outline references #2

Open drmaples opened 14 years ago

drmaples commented 14 years ago

I have been looking at the documentation and code for pyPdf and I cannot figure out how to go from the outline to the page it links to. Is there a way to iterate over the outline and get the page number it references so that it can be passed to the getPage() method? I am trying to split a large pdf file into smaller ones based on the outline.