Expand description
The PDF object model: the nine basic object types plus indirect references (ISO 32000 §7.3).
Structs§
- Dict
- A dictionary object mapping names to objects.
- Name
- A name object, stored decoded (any
#xxescapes already resolved) and without the leading solidus. - ObjRef
- An indirect object reference: object number and generation number.
- Stream
- A stream object: its dictionary plus the raw, still-encoded data bytes.
Enums§
- Object
- Any PDF object (ISO 32000 §7.3).
Functions§
- decode_
text_ string - Decodes a PDF text string: UTF-16BE with BOM, UTF-8 with BOM (PDF 2.0), otherwise byte-per-char fallback in the spirit of PDFDocEncoding (approximately Latin-1).