- Getting Started
- The Main Class
- Add Files or Documents
- Encrypted Documents
- PDF Forms
- Performance Optimizations
- PDF Portfolios (aka PDF Packages or Collections)
- Refactor Version 1 Code
- API Reference
Outlines Define How Bookmark Outlines Should Be Handled
Table of Contents
The Core component already offers a great feature to access bookmark outlines. The Merger component allows you to automatically create a document outline by the $outlinesConfig parameter in the SetaPDF_Merger and SetaPDF_Merger methods.
It allows you to create a flat oulines tree but also allows you to create parent/child structures and will allow you to import existing bookmark outlines.
The easiest way to define an outline item for an added file/document is to simply pass the name you want to see in the outline:
It is also possible to append the outline items as childs of an existing outline item:
The SetaPDF-Merger component allows you to import an existing bookmark outline from a document/file that was added to the instance. The bookmark outline can be appended to the root of the outline or below an individual outline item: