SetaPDF_Core_Parser_CrossReferenceTable_CrossReferenceTableInterface Cross-reference table interface

File: /SetaPDF v2/Core/Parser/CrossReferenceTable/CrossReferenceTableInterface.php

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()

Get the generation number by an object id.

Parameters
$objectId : integer
 
Exceptions

Throws SetaPDF_Core_Type_Exception

getParserOffsetFor()

abstract public SetaPDF_Core_Parser_CrossReferenceTable_CrossReferenceTableInterface::getParserOffsetFor (
int $objectId [, int|null $generation = null [, integer &$objectGeneration = null ]]
): bool|int

Returns the offset position for a specific object.

Parameters
$objectId : int
 
$generation : int|null
 
$objectGeneration : integer

The final generation number, resolved if no generation number was given.

getTrailer()

isCompressed()

Check if the xref table uses compressed xref streams.