Expand description
The document information dictionary (ISO 32000-1 §14.3.3): the trailer’s
/Info entry, carrying human-authored metadata — title, author, subject,
keywords, the producing software, and creation/modification timestamps.
This is the classic pdfinfo-style surface. (PDF 2.0 deprecates /Info in
favour of the catalog’s XMP /Metadata stream for most keys, but /Info is
still ubiquitous; an XMP reader can be layered on later.) Dates are reported
as their raw PDF date strings (D:YYYYMMDDHHmmSSOHH'mm'); no date parsing is
attempted here.
Structs§
- DocInfo
- Metadata from the document information dictionary. Every field is optional — producers populate an arbitrary subset.
Functions§
- parse_
info - Parse the trailer’s
/Infodictionary. ReturnsNonewhen the document carries no/Info, or it resolves to nothing usable (no populated fields).