PDFlib

All Topics Overview

Document Interchange

document_metadata Retrieve the document's XMP meta data.
dpart_to_xml Transform a PDF/VT DPart tree to XML.
dumper pCOS sample application for dumping PDF information.
image_metadata Retrieve the XMP metadata for all images in the document.
pdfa Retrieve PDF/A status and output intents.
pdfx Retrieve PDF/X status and output intents.
zugferd_retrieve_XML Retrieve the XML invoice data from a ZUGFeRD document.

Interactive Elements

annotations Retrieve the contents of all annotations.
articles Create a list of all articles contained in a PDF document.
attachments Determine the total number of file attachments.
bookmarks Retrieve all bookmarks.
fieldsRetrieve form fields and emit field properties and values.
geospatialRetrieve geospatial reference information from a GeoPDF document.
javascriptCount javascript occurences in the document.
link_destinationsEnumerate all links in the document and determine the destination.
named_destinations Print the names of all destinations which are defined in the document.
package_properties Dump package properties.
signatures Retrieve digital signature information.
weblinks Retrieve the bounding box and the URL of all Web links on the page.

Pages

blocks Create a list of all blocks contained on the pages of a PDF document and show their name, type and dimensions.
page_colors List all color spaces.
page_fonts Create a list of all fonts contained in a PDF document and check if they are embedded.
page_images Print information about all images in the document.
page_initialview Determine the page at which Acrobat opens the document.
page_labelsPrint all page labels.
page_separationinfo Print information about the color separations in the document.
page_size Retrieve the MediaBox and Rotation key for all pages.
page_transparency Identify transparent pages.

Resources

advanced_font_properties Create a list of all fonts contained in a PDF document and print advanced properties of the fonts.
colorspaces List color spaces.
fonts Create a list of all fonts contained in a PDF document and check if they are embedded.
images Print information about all images in the document.

Special

defaultlayers Emit the indented list of layer names which is presented in Acrobat by default.
distiller_profile Test for the existence of an embedded Distiller profile. If one is found, its contents are retrieved.
icc_profiles Extract one or more ICC profiles from the document output intents.
layers Create a list of all layers contained in a PDF document and show their names.

 Helper class

pcos_cookbook_example

Wrapper class for running a pCOS Cookbook topic.