Skip to main content

Crate zpdf_document

Crate zpdf_document 

Source

Re-exports§

pub use annotation::Annotation;
pub use embedded_files::EmbeddedFile;
pub use embedded_files::EmbeddedSource;
pub use forms::AcroForm;
pub use forms::FieldKind;
pub use forms::FieldValue;
pub use forms::FormField;
pub use optional_content::OcConfig;
pub use output_intents::OutputIntent;
pub use page::PdfPage;
pub use page::ResourceDict;

Modules§

annot_appearance
Appearance generation for markup & geometric annotations whose producer shipped no /AP stream (PDF 32000-1 §12.5.6).
annotation
Annotation parsing: /Annots entries resolved into renderable form — /Rect, /F flags, the /AS-selected normal appearance stream, and the optional-content membership (/OC). Painting itself happens in zpdf-content, which replays the appearance stream as a form XObject mapped onto /Rect (PDF 32000-1 §12.5.5).
embedded_files
Embedded files and associated files (ISO 32000-1 §7.11, ISO 32000-2 §7.11.4).
font_loader
forms
AcroForm interactive-form support (PDF 32000-1 §12.7).
optional_content
Optional-content (layer) configuration: the catalog’s /OCProperties default configuration determines which optional-content groups render. Membership evaluation for /OC entries (OCG refs, OCMDs and visibility expressions) lives in zpdf-content, which has the object graph in hand; this module only answers “is group X on?”.
output_intents
Output intents (/OutputIntents), document-level (catalog, ISO 32000-1 §14.11.5) and page-level (ISO 32000-2 / PDF 2.0).
page

Structs§

Catalog
PdfDocument