CustomPDFTemplate

Version 2.1 by Admin MetaIS on 2025/04/02 10:02
Upozornenie: For security reasons, the document is displayed in restricted mode as it is not the current version. There may be differences and errors due to this.

The CSS and JavaScript skin extensions provided by this page are also part of the PDF template and thus are loaded automatically when the PDF template is used.
The information displayed on the first page. E.g. the title and the author

Failed to execute the [velocity] macro. Cause: [The execution of the [velocity] script macro is not allowed in [xwiki:CustomPDFTemplate.WebHome]. Check the rights of its last author or the parameters if it's rendered from another script.]. Click on this message for details.

Usually lists the content headings along with their page numbers.

Obsah

Failed to execute the [velocity] macro. Cause: [The execution of the [velocity] script macro is not allowed in [xwiki:CustomPDFTemplate.WebHome]. Check the rights of its last author or the parameters if it's rendered from another script.]. Click on this message for details.

The information displayed at the top of each page, except for the cover page. E.g. the title

The information displayed at the bottom of each page, except for the cover page. E.g. the number of the page

/

The script that is evaluated for each wiki page included in the PDF export to produce the metadata to display in the PDF header or footer. The metadata is specified using a special binding named metadata whose value is a Map<String, String>. The metadata ends up in the HTML as attributes of the heading used to display the title of each wiki page.