Skip to content

v1.11.0

Latest

Choose a tag to compare

@dragonofmercy dragonofmercy released this 15 Jun 09:56
· 4 commits to main since this release

Added

  • Open, read, import, and edit encrypted PDFs (RC4 40/128-bit, AES-128, AES-256) across PdfReader, Document::importPdf(), and PdfEditor. Pass the password, or omit it for permissions-only files; edits keep the source's encryption.
  • PdfEditor::flattenFields() - freeze filled AcroForm fields into static page content (all fields or a named subset; signature and button fields are kept). Works on encrypted PDFs.
  • Filling or flattening fields that use a font embedded in the document (simple Type1 / TrueType or composite Type0) now generates the correct appearance instead of failing.
  • PdfEditor::deletePages() and reorderPages() (1-based) - delete and reorder pages of an existing PDF. Deleting a page automatically cleans up the bookmarks, named destinations, and internal links that pointed to it. Works on encrypted PDFs.