setasign\SetaPDF2\Core\Parser\CrossReferenceTable
CrossReferenceTableInterface Cross-reference table interface
File: /SetaPDF v2/Core/Parser/CrossReferenceTable/CrossReferenceTableInterface.php
Old class name (alias):
\SetaPDF_Core_Parser_CrossReferenceTable_CrossReferenceTableInterface
Implemented in
Summary
Methods
getDefinedObjectIds()
Get all defined object ids.
This method returns an array of all objects which are noticed in any cross-reference table. The appearance of an object id in this list is not an evidence of existence of the desired object.
getGenerationNumberByObjectId()
abstract public CrossReferenceTableInterface::getGenerationNumberByObjectId (
int $objectId
): false|arrayGet the generation number by an object id.
Parameters
- $objectId : int
Exceptions
getParserOffsetFor()
abstract public CrossReferenceTableInterface::getParserOffsetFor (
int $objectId,
?int $generation = null,
int &$objectGeneration = null
): bool|int?int $generation = null,
int &$objectGeneration = null
Returns the offset position for a specific object.
Parameters
- $objectId : int
- $generation : ?int
- $objectGeneration : int
The final generation number, resolved if no generation number was given.