PDFlib
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.

fields

Retrieve the name and type of all form fields.

geospatial

Retrieve geospatial reference information from a GeoPDF document.

javascript

Count javascript occurences in the document.

link_destinations

Enumerate 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.

xfa

Extract XFA (XML Forms Architecture) data.

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_labels

Print 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.

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.