Expand description
The ideal top-level API facade for the PDFluent SDK.
This module defines the intended public surface of the PDFluent library, following the “Zero-Config First Success”, “Pit of Success”, and “Progressive Disclosure” design principles.
Re-exports§
pub use crate::api_error::Error;
Structs§
- Document
- The main entry point for a PDF Document.
- Form
Field - An interactive form field as seen by the form-fill API. One entry per
terminal field; group fields are flattened. Returned by
Document::form_fields. - Metadata
- Document-level metadata read from the
/Infodictionary or XMP. All fields areNoneif absent. Returned byDocument::metadata. - Page
- Represents a single page within a Document.
- Read
Options - Options for reading a PDF.
- Save
Options - Options for saving a PDF.
- Signature
- A digital signature widget found in the document. Returned by
Document::signatures; cryptographic verification is performed separately byDocument::verify_signatures. - Text
Block - A structured block of text from a PDF, with its bounding box on the
page. Returned by
Document::structured_text. - Watermark
Options - Options for
Document::add_watermark. Defaults: opaque, unrotated.
Enums§
- Image
Format - Output format selector for
Document::to_images. PNG for line art / text, JPEG for photographic content. - PdfFormat
- PDF or PDF/A target version that the saver should emit. Used by
SaveOptions::format. - PdfSource
- Input source for a PDF document — accepts either a filesystem path or in-memory bytes.