chickadee » pdfa » finalize-document-metadata!

finalize-document-metadata! PDFA-DOCprocedure

Adds the /Info dictionary, XMP metadata stream and output intent to PDFA-DOC's wrapped document, and computes its /ID. In conformance mode it first runs check-pdfa-conformance, and raises an error listing every violation before changing anything. Call it once, after all pages are added and before writing.