Confluence 3.0 has reached end of life
Check out the [latest version] of the documentation
The PDF customisation procedures described on this page are only applicable to Confluence 2.10.4 and earlier versions
To customise PDF exports in Confluence 3.0, please use the procedure described in Editing the PDF Stylesheet.
Confluence pages can be output to PDF and some resulting PDF content can be modified. While page content itself is not open to customisation without major source-code modifications, this guide covers the easier task of modifying the plain text contained in page titles, headers and footers and page size.
Change in Confluence 2.6.0
The Velocity template files (files whose names end in .vm
) were moved inside the main confluence-<version>.jar
file with the release of Confluence 2.6.0 (i.e. $CONFLUENCE_INSTALL/confluence/WEB-INF/lib/confluence-2.6.jar
in version 2.6). If you are unfamiliar with editing the contents of a .jar file, you may find these instructions useful.
Alternatively Java Servlet Technology allows you to use an unpacked version of the desired file in the WEB_INF/classes
directory. Make sure you reproduce the exact directory (package) structure.