webapp.pdf-exporter-admin.pages.header-footer.jsp Maven / Gradle / Ivy
Show all versions of ch.sbb.polarion.extension.pdf-exporter Show documentation
<%! String bundleTimestamp = ch.sbb.polarion.extension.generic.util.VersionUtils.getVersion().getBundleBuildTimestampDigitsOnly(); %>
PDF Exporter: Header/Footer
PDF Exporter: Header/Footer
Header Template
Left
Center
Right
Footer Template
Left
Center
Right
"/>
Quick Help
How-to configure PDF header and footer
Header and footer divided into 3 parts: left, center and right sections. Each section can be configured using HTML,
where you can insert special variables (upper case, exactly like in table below) and document's custom fields
(case-sensitive custom field ID, exactly how it's configured in administration pane), both enclosed in double curly brackets,
eg.: {{ DOCUMENT_TITLE }} for special variables or {{ docRevision }} for document's custom fields.
During PDF generation provided special variables and/or custom fields of a document will be replaced with actual values.
Header and footer parts can contain velocity expressions which will be evaluated during PDF generation. For example: $document.getId()