You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some PDF processors generate empty Parent directories, rather than
including valid Parent directory links in their Outlines. Previous
PdfOutline::constructOutlines() code required correct Parent links.
This version is equivalent for correct PDFs, but ignores the Parent
links in the PDF; instead, it follows the hierarchy implied by
First links.
* Get the next outline of the current node in the outline tree by looking for a child or sibling node.
663
-
* If there is no child or sibling of the current node {@link PdfCatalog#getParentNextOutline(PdfDictionary)} is called to get a hierarchical parent's next node. {@code null} is returned if one does not exist.
664
-
*
665
-
* @return the {@link PdfDictionary} object of the next outline if one exists, {@code null} otherwise.
* Gets the parent's next outline of the current node.
680
-
* If the parent does not have a next we look at the grand parent, great-grand parent, etc until we find a next node or reach the root at which point {@code null} is returned to signify there is no next node present.
681
-
*
682
-
* @return the {@link PdfDictionary} object of the next outline if one exists, {@code null} otherwise.
0 commit comments