Skip to main content

Module bookmark_extractor

Module bookmark_extractor 

Source
Expand description

PDF bookmark/outline extraction.

Reads the document outline (bookmarks) from the /Outlines dictionary, producing a tree of Bookmark nodes with titles and nesting levels.

Structs§

Bookmark
A single bookmark entry.

Functions§

extract_bookmarks
Extract the document outline as a flat list of bookmarks with levels.