Skip to main content

Module xref

Module xref 

Source
Expand description

Cross-reference table parsing (traditional xref format).

Parses the standard PDF cross-reference table format with subsection headers (e.g., xref\n0 6\n...). Each entry is exactly 20 bytes.

Structs§

XrefEntry
A single cross-reference entry.
XrefSection
A section of cross-reference entries from a single xref table or stream.
XrefTable
The complete cross-reference table, potentially spanning multiple sections.

Enums§

XrefEntryType
The type of a cross-reference entry.

Functions§

parse_xref_table
Parse a traditional cross-reference table starting at offset.
rebuild_xref
Rebuild a cross-reference table by scanning the file for N G obj markers.