PDFlib Cookbook

cookbook

Block Handling and PPS

block_below_contentsFill PDFlib Blocks so that they are placed below the imported page.
business_cardsOutput an imported PDF page several times, with its Blocks filled with different personalized data.
clone_blocksClone Blocks from another document. Use POCA to copy a modified Block.
create_blocks_with_pocaCreate PDFlib Blocks with the POCA interface.
dump_block_propertiesDump Block information from an existing PDF document.
duplicate_blockDuplicate a PDFlib Block to any number of pages.
fill_converted_formfieldsOutput an imported PDF page with its Blocks filled with different personalized data.
linked_textblocksLink multiple Textflow Blocks.
nested_blocksCreate nested Blocks.
override_block_rectangleFill Blocks of an imported PDF page while changing the rectangle coordinates.
pdfvt1_with_blocksCreate a large number of invoices in a single PDF and make use of PDF/VT-1 features.
query_block_colorQuery the background color of Blocks.
query_block_propertiesImport a PDF page containing Blocks and query various Block properties.
starter_blockImport a PDF page containing Blocks and process all Blocks.