pyPdf
pyPdf copied to clipboard
get page number outline references
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.