We’re excited to announce five major new packages in PD4ML, extending it well beyond HTML-to-PDF conversion into general-purpose PDF manipulation.
Sign PDFs, the right way. com.pd4ml.pdf.sign brings digital signatures to PD4ML: PKCS#12 files, PKCS#11 hardware tokens, HSMs, even cloud KMS providers. Add RFC 3161 timestamps, certify documents with DocMDP, and go long-term with PAdES-LT/LTV so your signatures stay verifiable for years.
Combine documents effortlessly. com.pd4ml.pdf.merge lets you pick page ranges from two or more PDFs and merge them into a single, clean output — accessibility tagging included, so screen readers keep working across the merged result.
Shrink bloated PDFs. com.pd4ml.pdf.optimizer sweeps away unreferenced objects, deduplicates identical content, and collapses years of incremental-update history into one tidy file.
Round-trip comments and form data. com.pd4ml.pdf.xfdf speaks XFDF (ISO 19444-1) — export annotations and form values out of a PDF, or import a reviewer’s markup back in, interoperating cleanly with other PDF tools.
And underneath it all: com.pd4ml.pdf.cos — the low-level PDF object model, parser, and writer that powers every feature above, also usable directly for your own structural edits and COS-path queries.
Every feature ships with a ready-to-run command-line tool (CosCli, PdfSignCli, Pd4MergeCli, Pd4OptimizeCli, Pd4XfdfCli) — no code required.
