Skip to main content

Module document

Module document 

Source
Expand description

Unified document facade — multi-page rendering, text extraction, metadata, bookmarks, and thumbnails.

Structs§

BookmarkItem
A bookmark / outline item.
DocumentInfo
Document metadata extracted from the info dictionary.
PdfDocument
High-level PDF document handle.

Functions§

join_page_texts
Join per-page text the way pdftotext and mutool have for twenty years: a form feed (U+000C) after every page, preceded by a blank line so the last paragraph of a page is not glued to the separator.