Package com.pd4ml.pdf.merge.internal
-
Class Summary Class Description OutlineMerger Splices each merge source's own outline (bookmark) tree (/Root/Outlines, ISO 32000-1 12.3.3) onto the end of the merged target's, in the same orderPdfMergerprocesses sources -- mirroring legacycom.pd4ml.pdf.parser.PdfDoc#mergeOutlines's own append-order splice (link the accumulated tree's last top-level node's/Nextto the new source's first, re-parent the new source's top-level siblings, sum/Count).PdfConformance Detects a source document's own self-declared PDF/A or PDF/UA conformance (thepdfaid/pdfuaididentification schema in its XMP/Metadata, ISO 19005 / ISO 14289), and builds the equivalent XMP for a merged output whose sources all agree.PdfConformance.Level One conformance identification:partis always present;conformance/revisionmay benull(PDF/UA has neither).StructureTreeMerger Reconciles the accessibility structure tree (/StructTreeRoot/StructElem/ParentTree//StructParents) across the pages pulled in from one or more source documents, building a single merged tree in the target document.UnreachableObjectSweeper Drops objects from a merge's in-progress targetCOSDocumentthat turn out unreachable from its trailer's/Root(and/Info//Encrypt, if present) once all cloning is done.