Module pdf::parser

source ·
Expand description

Basic functionality for parsing a PDF file.

Structs

  • Lexer has functionality to jump around and traverse the PDF lexemes of a string in any direction.
  • A slice from some original string - a lexeme.

Functions

  • Can parse stream but only if its dictionary does not contain indirect references. Use parse_stream if this is insufficient.
  • Parses an Object starting at the current position of lexer. Almost as Reader::parse_object, but this function does not take Reader, at the expense that it cannot dereference
  • Recursive. Can parse stream but only if its dictionary does not contain indirect references. Use parse_stream if this is not sufficient.
  • Recursive. Can parse stream but only if its dictionary does not contain indirect references. Use parse_stream if this is not sufficient.
  • Reads xref sections (from stream) and trailer starting at the position of the Lexer.
  • Reads xref sections (from table) and trailer starting at the position of the Lexer.