pdf_parser Class pdf_parser
File: /FPDI v1/pdf_parser.php
Class hierarchy
Summary
Constants
TYPE_ARRAY
Type constant
TYPE_BOOLEAN
Type constant
TYPE_DICTIONARY
Type constant
TYPE_HEX
Type constant
TYPE_NULL
Type constant
TYPE_NUMERIC
Type constant
TYPE_OBJDEC
Type constant
TYPE_OBJECT
Type constant
TYPE_OBJREF
Type constant
TYPE_REAL
Type constant
TYPE_STREAM
Type constant
TYPE_STRING
Type constant
TYPE_TOKEN
Type constant
Static Properties
$searchForStartxrefLength
Define the amount of byte in which the initial keyword of a PDF document should be searched.
Properties
$_c
protected pdf_context pdf_parser::$_c
PDF Context
$_currentObj
protected array pdf_parser::$_currentObj
The current read object
$_f
protected resource pdf_parser::$_f
File resource
$_pdfVersion
protected string pdf_parser::$_pdfVersion
PDF version of the loaded document
$_root
protected array pdf_parser::$_root
Data of the Root object
$_xref
protected array pdf_parser::$_xref
xref-Data
$filename
public string pdf_parser::$filename
Filename
Methods
__construct()
_readToken()
_readValue()
_readXref()
Read the xref table
Parameters
- $result : array
Array of xref table entries
- $offset : integer
of xref table
Exceptions
Throws Exception