pCOS Cookbook



document_metadataRetrieve the document's XMP meta data.
dpart_to_xmlTransform a PDF/VT DPart tree to XML.
dumperupdatedpCOS sample application for dumping PDF information.
image_metadataRetrieve the XMP metadata for all images in the document.
pieceinfonewpCOS sample application for searching PieceInfo for document, pages, and Form XObjects (templates).
retrieve_associated_filesnewRetrieve associated files from a document.
unpack_portfolionewExtract files from PDF portfolio to disc.
zugferd_retrieve_XMLupdatedRetrieve XML invoice data and explanatory documents from ZUGFeRD 1.0, 2.0, 2.1 or Factur-X invoices