setasign\Fpdi\PdfParser\CrossReference
LineReader Class LineReader
File: /FPDI v2/PdfParser/CrossReference/LineReader.php
This reader class read all cross-reference entries in a single run. It supports reading cross-references with e.g. invalid data (e.g. entries with a length < or > 20 bytes).
Class hierarchy
Implements
Summary
Properties
$offsets
protected array LineReader::$offsets
The object offsets.
Methods
__construct()
LineReader constructor.
Parameters
- $parser : \setasign\Fpdi\PdfParser\PdfParser
Exceptions
Throws CrossReferenceException
extract()
Extracts the cross reference data from the stream reader.
Parameters
- $reader : \setasign\Fpdi\PdfParser\StreamReader
Exceptions
Throws CrossReferenceException
read()
Read the cross-reference entries.
Parameters
- $xrefContent : string
Exceptions
Throws CrossReferenceException