PdfXmpMetadata
Parsed view of an XMP (Extensible Metadata Platform) packet stored in the catalog's /Metadata stream. The XMP spec is ISO 16684-1; in PDF it's referenced from ISO 32000-1 §14.3.2 (PDF 2.0 §14.3) as the preferred way to carry document metadata. PDF 2.0 deprecates the trailer /Info dict but in practice readers consult both.
We extract the most common Dublin Core / Adobe PDF / XMP-basic properties. Anything else can be pulled from the xml string by the caller using their preferred XML tool — we don't ship a full XML parser.
Date fields are exposed as raw ISO 8601 strings (XMP uses 8601 rather than PDF's D:YYYYMMDDHHmmSS... form).
Constructors
Properties
xmp:CreateDate — ISO 8601.
xmp:CreatorTool — the originating authoring tool.
dc:description — language alternative; the x-default (or first) value.
xmp:MetadataDate — ISO 8601; when the XMP packet itself was last modified.
xmp:ModifyDate — ISO 8601.
pdf:PDFVersion — e.g. "1.7" or "2.0".