Class CrossReference.
More...
|
static int | $trailerSearchLength = 5500 |
| The byte length in which the "startxref" keyword should be searched.
|
|
Class CrossReference.
This class processes the standard cross reference of a PDF document.
◆ __construct()
CrossReference::__construct |
( |
PdfParser | $parser, |
|
|
| $fileHeaderOffset = 0 ) |
◆ checkForEncryption()
Check for encryption.
- Parameters
-
- Exceptions
-
◆ findStartXref()
CrossReference::findStartXref |
( |
| ) |
|
|
protected |
Find the start position for the first cross-reference.
- Return values
-
int | The byte-offset position of the first cross-reference. |
- Exceptions
-
◆ getIndirectObject()
CrossReference::getIndirectObject |
( |
| $objectNumber | ) |
|
Get an indirect object by its object number.
- Parameters
-
- Return values
-
- Exceptions
-
◆ getOffsetFor()
CrossReference::getOffsetFor |
( |
| $objectNumber | ) |
|
Get the offset by an object number.
- Parameters
-
- Return values
-
◆ getReaders()
CrossReference::getReaders |
( |
| ) |
|
Get the cross reference readser instances.
- Return values
-
◆ getSize()
CrossReference::getSize |
( |
| ) |
|
Get the size of the cross reference.
- Return values
-
◆ getTrailer()
CrossReference::getTrailer |
( |
| ) |
|
Get the trailer dictionary.
- Return values
-
◆ initReaderInstance()
CrossReference::initReaderInstance |
( |
| $initValue | ) |
|
|
protected |
Get a cross-reference reader instance.
- Parameters
-
- Return values
-
- Exceptions
-
◆ readXref()
CrossReference::readXref |
( |
| $offset | ) |
|
|
protected |
Read the cross-reference table at a given offset.
Internally the method will try to evaluate the best reader for this cross-reference.
- Parameters
-
- Return values
-
- Exceptions
-
The documentation for this class was generated from the following file:
- mod/assign/feedback/editpdf/fpdi/PdfParser/CrossReference/CrossReference.php