PDFlib Cookbook

cookbook

Interactive Elements

acrobat_menu_items Upon opening the page, create a full list of all menu item names in Acrobat.
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.
stamp_annotation Create a stamp annotation which uses a template as normal icon.
starter_portfolio Package multiple PDF and other documents into a PDF portfolio.
triggers_for_javascript_actions Demonstrate all possibilities to trigger JavaScript actions (except form fields).