class final Optional · pdftoolkit/pdf-reader 0.8.1

PDF\Reading\ReadDocument
A read-only PDF graph with explicit resolution and caches scoped to this document.

Read the source declaration ↗

Inheritance and contracts

Interfaces : PDF\Reading\ObjectIdentityResolver, PDF\Reading\ObjectResolver

Construction

__construct()

Declared by PDF\Reading\ReadDocument · View the code ↗

Declared methods

catalog()

public function catalog(): PDF\Syntax\Object\DictionaryType

Declared by PDF\Reading\ReadDocument · View the code ↗

crossReferences()

public function crossReferences(): PDF\Reading\CrossReference\Index

Declared by PDF\Reading\ReadDocument · View the code ↗

header()

public function header(): PDF\Syntax\FileStructure\FileHeader

Declared by PDF\Reading\ReadDocument · View the code ↗

imageData()

Explicit image decoding retains precision, signedness, colour and alpha metadata.

Declared by PDF\Reading\ReadDocument · View the code ↗

mac()

public function mac(): ?PDF\Reading\Security\PdfMacLocation

Declared by PDF\Reading\ReadDocument · View the code ↗

object()

Declared by PDF\Reading\ReadDocument · View the code ↗

objectSpan()

Compressed, missing, free and different-generation objects have no ordinary source span.

Declared by PDF\Reading\ReadDocument · View the code ↗

permissions()

public function permissions(): ?PDF\Reading\Security\DocumentPermissions

Declared by PDF\Reading\ReadDocument · View the code ↗

refersTo()

public function refersTo(PDF\Reading\ObjectReference $reference, PDF\Syntax\Object\IndirectObject\ObjectIdentifier $identifier): bool

Declared by PDF\Reading\ReadDocument · View the code ↗

resolve()

Declared by PDF\Reading\ReadDocument · View the code ↗

resolveWithIdentity()

public function resolveWithIdentity(PDF\Syntax\FileStructure\BasicType $value): PDF\Reading\ResolvedValue
@internal Preserve terminal identity when a security exemption belongs to one actual object.

Declared by PDF\Reading\ReadDocument · View the code ↗

sourceRevision()

public function sourceRevision(): PDF\Reading\SourceRevision

Declared by PDF\Reading\ReadDocument · View the code ↗

streamData()

public function streamData(PDF\Reading\EncodedStream $stream): string

Declared by PDF\Reading\ReadDocument · View the code ↗

trailer()

public function trailer(): PDF\Syntax\Object\DictionaryType

Declared by PDF\Reading\ReadDocument · View the code ↗