class final Core · roukmoute/pdf 0.6.1

PDF\Document\DocumentGraphContext
A read-only view: resolving references never registers objects or reparses mutable historical builders.

Read the source declaration ↗

Inheritance and contracts

This type declares no parent, interface or trait.

Construction

__construct()

Declared by PDF\Document\DocumentGraphContext · View the code ↗

Declared methods

dictionary()

Declared by PDF\Document\DocumentGraphContext · View the code ↗

entry()

Null and nonexistent generations are omitted entries under PDF7.3.9.

Declared by PDF\Document\DocumentGraphContext · View the code ↗

forDirectValue()

public function forDirectValue(PDF\Syntax\FileStructure\BasicType $value): self
The same construction instance can be used directly and as an indirect historical alias.

Declared by PDF\Document\DocumentGraphContext · View the code ↗

identifier()

Declared by PDF\Document\DocumentGraphContext · View the code ↗

isCurrent()

public function isCurrent(PDF\Syntax\FileStructure\BasicType $value): bool

Declared by PDF\Document\DocumentGraphContext · View the code ↗

isReachable()

public function isReachable(PDF\Syntax\FileStructure\BasicType $target): bool
Reachability is from the actual catalog, not from every historical xref record.

Declared by PDF\Document\DocumentGraphContext · View the code ↗

nameTree()

public function nameTree(PDF\Syntax\FileStructure\BasicType $root): array
Flatten an existing name tree, retaining byte keys and effective reference values.
@return array<string, BasicType>

Declared by PDF\Document\DocumentGraphContext · View the code ↗

resolve()

Declared by PDF\Document\DocumentGraphContext · View the code ↗

sameObject()

public function sameObject(PDF\Syntax\FileStructure\BasicType $first, PDF\Syntax\FileStructure\BasicType $second): bool

Declared by PDF\Document\DocumentGraphContext · View the code ↗

Properties

DeclarationOrigin and documentation
public readonly PDF\Syntax\Object\DictionaryType $catalogPDF\Document\DocumentGraphContext