Package-level declarations
Types
Initial page-layout hint that tells the viewer how to lay pages out in the document area (ISO 32000-1 §7.7.2 Table 28, /PageLayout).
Top-level interactive form metadata: catalog /AcroForm (ISO 32000-1 §12.7.2).
One PDF annotation (ISO 32000-1 §12.5).
One article thread from the document (ISO 32000-1 §12.4.3).
An X.509 certificate from a signature (RFC 5280).
One /Opt entry, retaining its original index and both strings (ISO 32000-1, 12.7.4.4).
A choice field's complete value (ISO 32000-1, 12.7.4.4). indices identifies options, so equal labels or exports remain distinct. An editable combo can instead hold freeText. unresolvedValues preserves values from a damaged source file that match no option; new edits cannot introduce them. Empty indices with no text means no selection, which differs from selecting an option whose export string is empty. Lists are immutable snapshots.
A resolved page destination (ISO 32000-1 §12.3.2). Holds the destination's target page (when we can resolve it) and the view-fit parameters.
A loaded PDF document. Construct with open.
The scripts a document runs at the moments of its own life, from the catalog's /AA dictionary (ISO 32000-1 §12.6.3, Table 197).
Contents of the trailer's /Info dictionary (ISO 32000-1 §14.3.3).
One terminal interactive-form field (ISO 32000-1 §12.7.3), flattened from the AcroForm field tree with inheritable attributes (/FT, /DA, /Ff, /V, /Q) resolved down from ancestors.
The live values of a document's form fields, while the reader has it open.
Catalog /MarkInfo dictionary (ISO 32000-1 §14.7.1).
Optional Content metadata (ISO 32000-1 §8.11). Optional Content Groups (OCGs) are the PDF spec's name for "layers": chunks of content that can be selectively shown or hidden via /OC marked-content sections and Form XObjects with /OC entries.
One node in the document outline (a.k.a. bookmarks) tree. See ISO 32000-1 §12.3.3.
A single PDF page. Obtained from PdfDocument.pages; not constructed directly.
Document usage permissions: the typed view of the Standard Security Handler's /P bit-flags (ISO 32000-1 §7.6.3.2 Table 22).
Output geometry for rasterizing a PdfPage at a given scale: how big the target surface must be, in device pixels, and the matrix that carries unscaled PDF user space onto it.
A change that a later revision made after a signature (ISO 32000-1, 12.8.2.2), with whether the certification level and the field locks allow it. Without a certification signature, KitePDF applies the permissions of level 3.
What the revocation data says about a certificate of a signature's chain.
What a viewer needs from a document's scripts, without knowing how they run.
A digital signature in a signature field (ISO 32000-1, 12.8): what its signature dictionary says, and validate to check it. PdfDocument.signatures lists the signatures of a document.
The result of PdfSignature.validate.
Catalog /ViewerPreferences dictionary (ISO 32000-1 §12.2).
The scripts an annotation runs when the reader touches it, from its /AA dictionary (ISO 32000-1 §12.6.3, Table 194 and Table 196).
A form widget found under a point, with the field it shows. See PdfPage.widgetAt.
Parsed view of an XMP (Extensible Metadata Platform) packet stored in the catalog's /Metadata stream. The XMP spec is ISO 16684-1; in PDF it's referenced from ISO 32000-1 §14.3.2 (PDF 2.0 §14.3) as the preferred way to carry document metadata. PDF 2.0 deprecates the trailer /Info dict but in practice readers consult both.
Functions
Opens the PDF at path, loading the WHOLE file into memory first (thin sugar over PdfDocument.open; there is no incremental file reader).
Opens the PDF at path, loading the WHOLE file into memory first (thin sugar over PdfDocument.open; there is no incremental file reader).
Opens the PDF at path, loading the WHOLE file into memory first (thin sugar over PdfDocument.open; there is no incremental file reader).
rasterGeometry with the library's default allocation ceiling.
The PdfRasterGeometry for rendering this page at scale device pixels per PDF user-space unit (so scale = dpi / 72.0). maxPixels prevents an untrusted page size, /UserUnit, or accidental scale from requesting an allocation large enough to terminate the host process.