pdftoolkit/pdf-reader · version 0.8.1 · source 41bfcae

Install with Composer · Packagist ↗

Read the package guide →

classOptional · pdftoolkit/pdf-reader

ByteCursor

PDF\Reading

A bounded view with absolute offsets; constructing it does not copy a slice.

classOptional · pdftoolkit/pdf-reader

CrossReferenceDictionaryValidation

PDF\Reading

EC3 issues246/403: direct common entries and prohibited xref-stream associations.

classOptional · pdftoolkit/pdf-reader

CrossReferenceReader

PDF\Reading

ISO 32000-1, 7.5.4 and 7.5.8: bounded table and stream cross-references.

classOptional · pdftoolkit/pdf-reader

Entry

PDF\Reading\CrossReference

An effective xref record; its two fields retain their kind-specific meaning.

enumOptional · pdftoolkit/pdf-reader

EntryKind

PDF\Reading\CrossReference

Unknown stream entry types designate null objects (7.5.8.3).

classOptional · pdftoolkit/pdf-reader

Index

PDF\Reading\CrossReference

Sparse effective entries. Construction receives sections from newest to oldest.

classOptional · pdftoolkit/pdf-reader

Section

PDF\Reading\CrossReference

One table or stream and its trailer; revision precedence is handled separately.

classOptional · pdftoolkit/pdf-reader

DictionaryAccess

PDF\Reading

Typed access to structural entries, with an explicitly supplied resolver.

classOptional · pdftoolkit/pdf-reader

DocumentReader

PDF\Reading

Read PDF 1.0–2.0 syntax; source access and upload policy belong to the application.

classOptional · pdftoolkit/pdf-reader

EncodedStream

PDF\Reading

Original stream bytes and dictionary; parsing alone never executes a codec.

classOptional · pdftoolkit/pdf-reader

EncryptedPdfException

PDF\Reading

A verified /Encrypt trailer entry, distinguishable from unrelated unsupported codecs.

classOptional · pdftoolkit/pdf-reader

ExternalStreamRequest

PDF\Reading

A file specification is data: the application chooses its name/URI/platform policy.

interfaceOptional · pdftoolkit/pdf-reader

ExternalStreamSource

PDF\Reading

Application-supplied acquisition; no filesystem, URL or embedded-file lookup is implicit.

classOptional · pdftoolkit/pdf-reader

FileBytes

PDF\Reading

Supplied PDF bytes, independent of paths, URLs and filesystem access.

classOptional · pdftoolkit/pdf-reader

Ascii85Decoder

PDF\Reading\Filters

ISO 32000-1, 7.4.3; PDF data has no PostScript <~ prefix.

classOptional · pdftoolkit/pdf-reader

AsciiHexDecoder

PDF\Reading\Filters

ISO 32000-1, 7.4.2; the final odd nibble is padded with zero.

classOptional · pdftoolkit/pdf-reader

CcittFaxBits

PDF\Reading\Filters

MSB-first bounded view; lookahead restores position but still consumes work.

classOptional · pdftoolkit/pdf-reader

CcittFaxCodes

PDF\Reading\Filters

Factual run/code assignments from ITU-T T.6 Tables 2–3 (also ITU-T T.4 Tables 1–2).

classOptional · pdftoolkit/pdf-reader

CcittFaxDecoder

PDF\Reading\Filters

ISO 32000-2 7.4.6: native MH/MR/MMR samples with explicit bounded damage recovery.

classOptional · pdftoolkit/pdf-reader

CcittFaxLimits

PDF\Reading\Filters

Additional codec work bounds; decoded and retained bytes also use the shared document budget.

classOptional · pdftoolkit/pdf-reader

CcittFaxParameters

PDF\Reading\Filters

ISO 32000-2, table 11, physical page 59; positive K values select the same decoder.

classOptional · pdftoolkit/pdf-reader

CcittFaxPrefix

PDF\Reading\Filters

Exact codec boundary and samples, plus work counters for a containing parser's budget.

classOptional · pdftoolkit/pdf-reader

CcittFaxRow

PDF\Reading\Filters

An immutable scanline, with alternating white/black transition positions.

classOptional · pdftoolkit/pdf-reader

CcittFaxRowException

PDF\Reading\Filters

A malformed coding row; only this failure category may invoke PDF's explicit damaged-row recovery.

classOptional · pdftoolkit/pdf-reader

CcittFaxRowReader

PDF\Reading\Filters

T.4/T.6 Huffman, pass, horizontal and vertical scanline decoding.

classOptional · pdftoolkit/pdf-reader

CcittFaxUncompressed

PDF\Reading\Filters

T.6 table 4: at most five pending pixels, including patterns spanning scanlines.

classOptional · pdftoolkit/pdf-reader

DecodedBytes

PDF\Reading\Filters

Checks both budgets before retaining an output slice.

interfaceOptional · pdftoolkit/pdf-reader

Decoder

PDF\Reading\Filters

A decoding stage accounts for every byte it produces, including intermediate output.

classOptional · pdftoolkit/pdf-reader

FlateDecoder

PDF\Reading\Filters

ISO 32000-1, 7.4.4; small compressed slices also bound temporary zlib output.

classOptional · pdftoolkit/pdf-reader

IdentityDecoder

PDF\Reading\Filters

The standard Identity crypt filter changes no bytes and still accounts for its output.

classOptional · pdftoolkit/pdf-reader

LzwCodeReader

PDF\Reading\Filters

Document-local, MSB-first PDF LZW code input (ISO 32000-1, 7.4.4.2).

classOptional · pdftoolkit/pdf-reader

LzwDecoder

PDF\Reading\Filters

ISO 32000-1, 7.4.4.2/Table 8: clear, EOD, EarlyChange and the 4096-code table.

classOptional · pdftoolkit/pdf-reader

PredictorDecoder

PDF\Reading\Filters

Reconstructs TIFF rows or tagged PNG rows after decompression, ISO 32000-1, 7.4.4.4.

classOptional · pdftoolkit/pdf-reader

PredictorParameters

PDF\Reading\Filters

ISO 32000-1, Table 8: byte-padded rows with 1, 2, 4, 8 or 16-bit components.

classOptional · pdftoolkit/pdf-reader

RunLengthDecoder

PDF\Reading\Filters

ISO 32000-1, 7.4.5; packets are validated before reading their payload.

classOptional · pdftoolkit/pdf-reader

AutomaticDecoder

PDF\Reading\ImageCodecs

Native first, PHP second; malformed inputs and resource failures never trigger fallback.

classOptional · pdftoolkit/pdf-reader

ChannelDefinition

PDF\Reading\ImageCodecs

Exact JP2 channel/type/association and the corresponding output plane.

classOptional · pdftoolkit/pdf-reader

CodecLimit

PDF\Reading\ImageCodecs

A resource ceiling is not a reason to try another decoder.

classOptional · pdftoolkit/pdf-reader

CodecRequest

PDF\Reading\ImageCodecs

Encoded component data only; no path or executable data is supplied by a PDF.

classOptional · pdftoolkit/pdf-reader

CodecUnavailable

PDF\Reading\ImageCodecs

No implementation is available, or this backend cannot preserve the profile.

classOptional · pdftoolkit/pdf-reader

ColorInformation

PDF\Reading\ImageCodecs

Colour interpretation is metadata, never an implicit rendering conversion.

classOptional · pdftoolkit/pdf-reader

ColorSpecification

PDF\Reading\ImageCodecs

Exact JP2 colour alternative, including unrecognized method payloads.

classOptional · pdftoolkit/pdf-reader

ComponentPlane

PDF\Reading\ImageCodecs

Exact row-padded MSB-first samples, independent of the optional codec package.

classOptional · pdftoolkit/pdf-reader

DecodeContext

PDF\Reading\ImageCodecs

One explicit stream decoding operation, including standalone JBIG2 globals. @internal

classOptional · pdftoolkit/pdf-reader

DecodedImage

PDF\Reading\ImageCodecs

Immutable component planes and their intrinsic geometry.

interfaceOptional · pdftoolkit/pdf-reader

Decoder

PDF\Reading\ImageCodecs

classOptional · pdftoolkit/pdf-reader

GhostscriptDecoder

PDF\Reading\ImageCodecs

Optional bounded native filter adapter. No PDF interpreter or rendering device is used.

classOptional · pdftoolkit/pdf-reader

HeaderCursor

PDF\Reading\ImageCodecs

Bounded metadata cursor; this never decodes compressed image content. @internal

classOptional · pdftoolkit/pdf-reader

ImageLimits

PDF\Reading\ImageCodecs

Explicit image budgets, additionally capped by the enclosing Reader budgets.

classOptional · pdftoolkit/pdf-reader

InspectionBudget

PDF\Reading\ImageCodecs

Cumulative native preflight work and conservative retained/intermediate bytes. @internal

classOptional · pdftoolkit/pdf-reader

Jbig2Header

PDF\Reading\ImageCodecs

Embedded PDF segment framing and page size; region decoding stays in the backend. @internal

classOptional · pdftoolkit/pdf-reader

JpegHeader

PDF\Reading\ImageCodecs

PDF DCT metadata and framing, independent of an optional JPEG implementation. @internal

classOptional · pdftoolkit/pdf-reader

JpxHeader

PDF\Reading\ImageCodecs

Native qualification is deliberately narrower than the lossless PHP plane API. @internal

classOptional · pdftoolkit/pdf-reader

NativeDescription

PDF\Reading\ImageCodecs

Only profiles whose original planes survive the native filter are described here. @internal

classOptional · pdftoolkit/pdf-reader

NativeProcess

PDF\Reading\ImageCodecs

Fixed PostScript filter program, binary stdin, bounded pipes and an empty GS environment.

classOptional · pdftoolkit/pdf-reader

NativeTools

PDF\Reading\ImageCodecs

Executables are application configuration, never obtained from image data.

classOptional · pdftoolkit/pdf-reader

PhpDecoder

PDF\Reading\ImageCodecs

Optional Composer adapter; the Reader's public image types have no package dependency.

classOptional · pdftoolkit/pdf-reader

ImportBudget

PDF\Reading\Import

@internal One budget survives all roots in an import, including repeated source references.

classOptional · pdftoolkit/pdf-reader

ImportException

PDF\Reading\Import

Fixed diagnostics never include source bytes, keys, credentials or file names.

classOptional · pdftoolkit/pdf-reader

ImportGuard

PDF\Reading\Import

@internal Copying content grants neither signature-edit permission nor source encryption authority.

classOptional · pdftoolkit/pdf-reader

ImportLimits

PDF\Reading\Import

Local ceilings for one atomic graph copy, in addition to the source reader's limits.

classOptional · pdftoolkit/pdf-reader

ImportSession

PDF\Reading\Import

One atomic copy from one source document. Call once with every root whose identity must be shared.

classOptional · pdftoolkit/pdf-reader

ImportStreams

PDF\Reading\Import

@internal Stream acquisition/decoding shares a bounded budget across every imported root.

classOptional · pdftoolkit/pdf-reader

ImportedArray

PDF\Reading\Import

@internal Readonly items are initialized exactly once, before publication of the graph.

classOptional · pdftoolkit/pdf-reader

ImportedDictionary

PDF\Reading\Import

@internal A shell stays private to the import until its single initialization has succeeded.

classOptional · pdftoolkit/pdf-reader

ImportedGraph

PDF\Reading\Import

A complete native graph, scoped to one source document; no revision or security authority.

classOptional · pdftoolkit/pdf-reader

ImportedStream

PDF\Reading\Import

@internal The native stream is allocated before its dictionary references are remapped.

classOptional · pdftoolkit/pdf-reader

PreservedFilter

PDF\Reading\Import

@internal An explicitly preserved encoded chain; never used for XML metadata or Crypt.

enumOptional · pdftoolkit/pdf-reader

StreamImportMode

PDF\Reading\Import

Metadata XML is always decoded so the writer validates actual XML source bytes.

classOptional · pdftoolkit/pdf-reader

IndirectObjectReader

PDF\Reading

ISO 32000-1, 7.3.8–7.3.10: object boundaries and length-delimited streams.

classOptional · pdftoolkit/pdf-reader

AssociatedFilesInspector

PDF\Reading\Inspection

Describe explicit associations and the embedded-files name tree; never read stream contents.

classOptional · pdftoolkit/pdf-reader

DocumentInspection

PDF\Reading\Inspection

Immutable source inspection, independent of any rendering or HTML derivation.

classOptional · pdftoolkit/pdf-reader

DocumentInspector

PDF\Reading\Inspection

Inspect parsed source objects without decoding streams or deriving replacement content.

classOptional · pdftoolkit/pdf-reader

InspectionAccess

PDF\Reading\Inspection

Document-scoped identities, bounded reference queue and non-throwing inspection access.

classOptional · pdftoolkit/pdf-reader

InspectionBudget

PDF\Reading\Inspection

Cumulative snapshot accounting. Failed reservations produce explicit partial results.

classOptional · pdftoolkit/pdf-reader

InspectionLimits

PDF\Reading\Inspection

Independent cumulative ceilings for one inspection, in addition to reader limits.

classOptional · pdftoolkit/pdf-reader

InspectionSession

PDF\Reading\Inspection

All caches and traversal state end with one immutable result.

classOptional · pdftoolkit/pdf-reader

InspectionValue

PDF\Reading\Inspection

A typed, bounded presentation of parsed PDF values; never a PDF serializer.

classOptional · pdftoolkit/pdf-reader

PdfValueInspector

PDF\Reading\Inspection

Preserve parsed types and source references, with no recursive reference expansion.

classOptional · pdftoolkit/pdf-reader

RoleMapInspector

PDF\Reading\Inspection

Expose mapping declarations without replacing source roles or merging namespace identities.

classOptional · pdftoolkit/pdf-reader

StructureTreeInspector

PDF\Reading\Inspection

Walk only structure /K edges, preserving malformed, repeated and cyclic branches.

classOptional · pdftoolkit/pdf-reader

LinearizedRevisionParts

PDF\Reading

The two cross-reference sections of one initial revision, not two historical updates.

classOptional · pdftoolkit/pdf-reader

LinearizedRevisionReader

PDF\Reading

ISO 32000-2 Annex F.3: recognize bounded physical parts without interpreting network hints.

interfaceOptional · pdftoolkit/pdf-reader

ObjectIdentityResolver

PDF\Reading

@internal Bounded reference identity checks without recursively loading the selected stream.

classOptional · pdftoolkit/pdf-reader

ObjectReference

PDF\Reading

A reference in the source document; resolution belongs to that document.

interfaceOptional · pdftoolkit/pdf-reader

ObjectResolver

PDF\Reading

Resolve one document-scoped indirect reference, without walking its graph.

classOptional · pdftoolkit/pdf-reader

ObjectStreamDictionaryValidation

PDF\Reading

EC3 issue114: each ObjStm dictionary value is direct or references an uncompressed object.

classOptional · pdftoolkit/pdf-reader

ObjectStreamReader

PDF\Reading

ISO 32000-1, 7.5.7: each compressed member has an independently bounded view.

classOptional · pdftoolkit/pdf-reader

PageAttributeReader

PDF\Reading

Resolve only the four inheritable attributes, without visiting resource contents.

classOptional · pdftoolkit/pdf-reader

PageAttributes

PDF\Reading

The four inheritable table 30 values, after inheritance and page-local defaults.

classOptional · pdftoolkit/pdf-reader

PageContentLimits

PDF\Reading

Per page inspection ceiling; decoded bytes retain the document's ReaderLimits.

classOptional · pdftoolkit/pdf-reader

PageContents

PDF\Reading

Ordered original streams, without concatenation or implicit decoding.

classOptional · pdftoolkit/pdf-reader

PageContentsReader

PDF\Reading

Contents is page-local; inspection does not execute any stream filter.

classOptional · pdftoolkit/pdf-reader

PageInheritance

PDF\Reading

Partial ancestor values; defaults must wait until a leaf's MediaBox is known.

classOptional · pdftoolkit/pdf-reader

PageTreeFrame

PDF\Reading

One traversal frame; a child is visited before the next sibling is scheduled.

classOptional · pdftoolkit/pdf-reader

PageTreeLimits

PDF\Reading

Per traversal ceilings; syntax depth alone does not bound an indirect page tree.

classOptional · pdftoolkit/pdf-reader

PageTreeReader

PDF\Reading

Explicitly validate the source's complete page tree; document opening stays lazy.

classOptional · pdftoolkit/pdf-reader

PageTreeTraversal

PDF\Reading

Operation-scoped state for iterative depth-first traversal and bottom-up counts.

classOptional · pdftoolkit/pdf-reader

ParseException

PDF\Reading

Diagnostics expose positions and fixed descriptions, never document contents.

classOptional · pdftoolkit/pdf-reader

PhysicalCrossReference

PDF\Reading

A parsed xref section and its exact lexical end, including a hybrid supplement when present.

classOptional · pdftoolkit/pdf-reader

ReadBudget

PDF\Reading

Cumulative accounting belongs to a document read, never to a global registry.

classOptional · pdftoolkit/pdf-reader

ReadDocument

PDF\Reading

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

classOptional · pdftoolkit/pdf-reader

ReadIndirectObject

PDF\Reading

Parsed physical bytes and their ordinary indirect-object identity; not signature evidence.

classOptional · pdftoolkit/pdf-reader

ReadPage

PDF\Reading

A page view bound to its source document, with its original dictionary intact.

classOptional · pdftoolkit/pdf-reader

ReadPageTree

PDF\Reading

An ordered page snapshot; the reader verifies each subtree before returning it.

classOptional · pdftoolkit/pdf-reader

ReadRevision

PDF\Reading

Immutable physical revision view; its raw graph grants no authentication or modification authority.

classOptional · pdftoolkit/pdf-reader

ReadRevisionHistory

PDF\Reading

Physical source views ordered oldest to newest, without any trust or signature verdict.

classOptional · pdftoolkit/pdf-reader

ReaderLimits

PDF\Reading

Explicit resource ceilings shared by every stage of one PDF read.

classOptional · pdftoolkit/pdf-reader

ResolvedValue

PDF\Reading

@internal A document resolver's terminal value and physical object identity.

classOptional · pdftoolkit/pdf-reader

RevisionBoundary

PDF\Reading

An EOF token plus the interval of trailing PDF whitespace, not a chosen signed byte range.

classOptional · pdftoolkit/pdf-reader

RevisionBoundaryReader

PDF\Reading

Find a footer through actual indexed object extents, never by searching arbitrary stream data.

classOptional · pdftoolkit/pdf-reader

RevisionHistoryReader

PDF\Reading

Bounded physical inspection of a chronological Prev chain, separate from authenticated reading.

classOptional · pdftoolkit/pdf-reader

AuthenticationFailed

PDF\Reading\Security

classOptional · pdftoolkit/pdf-reader

CryptDecodeParameters

PDF\Reading\Security

ISO 32000-2 Table 14: private fields remain available to the security handler.

interfaceOptional · pdftoolkit/pdf-reader

CryptFilterAccess

PDF\Reading\Security

One document-local filter capability; deferred authorization must fail before returning plaintext.

classOptional · pdftoolkit/pdf-reader

CryptFilterDecryption

PDF\Reading\Security

One immutable named crypt-filter capability, using the core's native cipher operations.

enumOptional · pdftoolkit/pdf-reader

CryptMethod

PDF\Reading\Security

ISO 32000-1/2 crypt-filter method names, including ISO/TS 32003 AESV4.

interfaceOptional · pdftoolkit/pdf-reader

DocumentAuthentication

PDF\Reading\Security

Authentication examines a bounded raw graph before any encrypted content is interpreted.

classOptional · pdftoolkit/pdf-reader

DocumentDecryption

PDF\Reading\Security

Authenticated file-local transformation; object-stream members are already decrypted as bytes.

interfaceOptional · pdftoolkit/pdf-reader

DocumentPermissions

PDF\Reading\Security

Document usage permissions authenticated by the selected security handler.

classOptional · pdftoolkit/pdf-reader

IdentityCryptFilterDecryption

PDF\Reading\Security

The standard Identity filter has no key and performs no authorization or transformation.

classOptional · pdftoolkit/pdf-reader

PdfMacCoverage

PDF\Reading\Security

Prove the single excluded token's lexical identity before hashing the original ciphertext.

enumOptional · pdftoolkit/pdf-reader

PdfMacLocation

PDF\Reading\Security

ISO/TS 32004 Table 6; this status does not assert signature validity or PKI trust.

classOptional · pdftoolkit/pdf-reader

PublicKeyAuthentication

PDF\Reading\Security

Adobe.PubSec source authentication with caller-selected CMS capabilities and byte-order semantics.

classOptional · pdftoolkit/pdf-reader

PublicKeyAuthenticationBudget

PDF\Reading\Security

Shared by every eager or deferred crypt filter of exactly one source document.

classOptional · pdftoolkit/pdf-reader

PublicKeyAuthenticationFailed

PDF\Reading\Security

classOptional · pdftoolkit/pdf-reader

PublicKeyAuthenticationLimits

PDF\Reading\Security

Explicit ceilings for CMS recipients and private-key work during one document read.

classOptional · pdftoolkit/pdf-reader

PublicKeyCryptFilterDecryption

PDF\Reading\Security

One independent source key; EFOpen can defer this bounded operation until first access.

classOptional · pdftoolkit/pdf-reader

PublicKeyReadPermissions

PDF\Reading\Security

Document permissions from authenticated default-filter envelopes, never the legacy Encrypt.P.

classOptional · pdftoolkit/pdf-reader

PublicKeyRecipientAccess

PDF\Reading\Security

Authenticated CMS facts, without private credentials or a password-owner identity.

classOptional · pdftoolkit/pdf-reader

ReadPermissions

PDF\Reading\Security

Authenticated source permissions; enforcement belongs to the consuming application.

classOptional · pdftoolkit/pdf-reader

SecurityDictionaryValues

PDF\Reading\Security

Typed access never places source bytes, passwords or key material in error messages.

enumOptional · pdftoolkit/pdf-reader

SourceIntegrityPolicy

PDF\Reading\Security

Applications expecting authenticated input can reject clear or stripped sources as well.

classOptional · pdftoolkit/pdf-reader

SourcePdfMacVerification

PDF\Reading\Security

Native TS 32004 source authentication, before decryption; no PKI or network operations.

classOptional · pdftoolkit/pdf-reader

StandardPasswordAuthentication

PDF\Reading\Security

Explicit ISO/Adobe Standard-handler authentication; no password discovery or external process.

classOptional · pdftoolkit/pdf-reader

SourceObjectSpan

PDF\Reading

Exact physical extent of one ordinary indirect object, through its endobj token.

classOptional · pdftoolkit/pdf-reader

SourceRevision

PDF\Reading

The latest physical trailer and original bytes, before inheritance or decryption.

classOptional · pdftoolkit/pdf-reader

SourceStringSpan

PDF\Reading

Exact lexical extent in the original file, including the string delimiters.

classOptional · pdftoolkit/pdf-reader

SourceStringSpans

PDF\Reading

Document-scoped provenance; decoded object-stream strings never acquire source-file spans.

classOptional · pdftoolkit/pdf-reader

StreamDecoder

PDF\Reading

Explicit stream decoding; encoded stream objects retain their original bytes.

classOptional · pdftoolkit/pdf-reader

StreamInput

PDF\Reading

ISO 32000-2 Table 5: external data uses FFilter/FDecodeParms and ignores local bytes.

enumOptional · pdftoolkit/pdf-reader

StructuralPolicy

PDF\Reading

Explicit targeted structural rules; neither mode claims complete PDF conformance.

classOptional · pdftoolkit/pdf-reader

SyntaxParser

PDF\Reading

ISO 32000-1, 7.2 and 7.3: bounded syntax without object or stream resolution.

classOptional · pdftoolkit/pdf-reader

UnsupportedPdfFeature

PDF\Reading

Distinguishes an intentionally unsupported mechanism from malformed syntax.