DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

BookmarkViewHelperΒΆ

This ViewHelper allows to set a custom bookmark that will add an entry to the table of content. Text rendered with a HeadlineViewHelper can be added to the table of content automatically by setting plugin.tx_pdfviewhelpers.settings.headline.addToTableOfContent = 1.

IMPORTANT NOTICE: Please note that TCPDF does not produce valid PDF documents when bookmarks are used. Although most PDF viewers are still able to render the document you might run into validity troubles using these ViewHelpers.

Basic Usage

<pdf:bookmark text="Adding custom bookmark" />
<pdf:bookmark>Adding custom bookmark</pdf:bookmark>

Advanced Usage

<pdf:bookmark text="Adding custom bookmark" level="1" fontStyle="bold" color="#ff642c" />