Bookmark element

Bookmark element

You can make InterformNG2 add a bookmark element in the output PDF with the Bookmark design element. The element only has an effect on merges into PDF. You can decide, if the bookmarks should be shown when the PDF file is opened and to which level the bookmarks should be opened in the template element inside the template.

 

To insert a bookmark you need to click on this icon in the designer:



You can find the icon here:


The parameters of the bookmark element are these:


In this header you setup the appearance of the text of the bookmark in the output PDF file. With these 3 settings, you can setup the color, bold/normal and italic/normal.

  • Value
    This is the text to insert as the contents of the bookmark. This can either be a fixed text or an XPath expression, that returns the text.

  • Level
    The bookmark level. Level 1 is the highest, most signification level.

  • Position
    Here you can state where to position/target the PDF viewer, if the user clicks on the bookmark.

 

Position mode

Here you can select between these modes:

Dynamic placement depending on surrounding contents
The target of the bookmark is relative/dynamic i.e. positioned directly after the previous design element, that was positioned dynamically.
Fixed position relatively to parent container
If this is selected the next parameters are used in order to specify the target position. The X and Y coordinates can also setup as an XPath expression.
  • X-axis
    The distance from the left edge of the target position (relatively to the container in which the bookmark element is inserted), if the position mode is Fixed position.

  • Y-axis
    The distance from the top edge of the target position (relatively to the container in which the bookmark element is inserted), if the position mode is Fixed position.