PDFlib Cookbook

cookbook

Interactive Elements

acrobat_menu_items Upon opening the page, create a full list of all menu item names in Acrobat.
custom_stamp_annotation Create a custom stamp annotation which uses a template as 'normal' icon; the template contains the stamp text
link_annotations On images and text lines, create links to open PDF files or Web pages, or to execute JavaScript.
markup_annotations Create various types of markup annotations directly and in a Textflow.
nested_bookmarks Create bookmarks which are nested in several levels.
starter_portfolio updated Package multiple PDF and other documents into a PDF portfolio.
triggers_for_javascript_actions Demonstrate all possibilities to trigger JavaScript actions (except form fields).