The PDFluent SDK is organized into focused modules. Below is a summary of each module and its purpose. Full generated API docs are published to docs.rs at release.
pdfluent::documentThe PdfDocument type. Open a file or bytes, read pages and metadata, save the result. Entry point for most SDK operations.
pdfluent::PageA read-only borrow of one page: its text, its dimensions and its number. Rotation, insertion and deletion are methods on the document, not on the page.
pdfluent::formAcroForm fields. Enumerate them with form_fields(), read the model with form_model(), fill through form_mut(), flatten with flatten_forms().
pdfluent::xfaThe XFA form model: fields with values, flags, choice options and geometry. Set a value with set_xfa_field_value, flatten to ordinary page content with flatten_xfa.
pdfluent::compliancePDF/A-1b, PDF/A-2b and PDF/A-3b validation and conversion. Returns a report of violations, each with its rule and severity.
pdfluent::taggedPDF/UA accessibility: check a document against the tagging requirements and remediate what can be remediated, with a report of what changed.
pdfluent::encryptEncryption and decryption. Set user and owner passwords, choose the algorithm, control permission flags per the PDF spec.
pdfluent::redactRedaction that removes content rather than covering it, driven by options over the regions or patterns to remove.
pdfluent::signerSign with a PKCS#12 identity, or with your own PdfSigner implementation. Verify the signatures already on a document and read what is there.
pdfluent::mergerCombine documents. Add each input, choose how bookmarks are carried across, then build the result.
pdfluent::text_editFind text with a query, replace it, and restyle a run in place. Reports what was replaced and what could not be.
pdfluent::metadataRead the document information dictionary and XMP, and write it back through a mutable handle.
Every public type, method, and trait is documented inline and published automatically via cargo doc. After release, the complete API reference will be available on docs.rs. Until then, request early access docs via email.