setasign\FpdiPdfParser\PdfParser\CrossReference
CompressedReader Class CompressedReader
File: /FPDI PDF-Parser v2/PdfParser/CrossReference/CompressedReader.php
This class reads a compressed cross-references stream.
Class hierarchy
Implements
Summary
Properties
$fieldsSize
protected int CompressedReader::$fieldsSize
The size of all fields (sum of W entry).
Methods
__construct()
public CompressedReader::__construct ()
CompressedReader constructor.
Parameters
- $parser: \setasign\FpdiPdfParser\PdfParser\PdfParser
- $stream: \setasign\Fpdi\PdfParser\Type\PdfStream
Exceptions
getOffsetFor()
Get an offset by an object number.
Parameters
- $objectNumber: int
Return Values
False if the offset was not found.
Exceptions
getStreamReader()
Get the stream reader for this stream.
Exceptions
read()
Read the main cross-reference data.
Exceptions
Throws \setasign\Fpdi\PdfParser\Type\PdfTypeException
Throws \setasign\Fpdi\PdfParser\CrossReference\CrossReferenceException
