Work through the steps below to create your own PDF template and customize its look and feel using the PDF Template Editor. In this three-part tutorial you will learn the basics of the PDF Template Editor, customize the cover page, add a header and footer, update text styles, customize page breaks, and test out your new template.
Before you begin
Make sure you have completed the following tutorials, in order, before working through this page -
Create a new PDF template
To begin, navigate to the space that you had created in Getting Started -
Next, open the PDF Template Gallery -
Can’t see the App links? Make sure that you have installed the Scroll PDF Exporter app and have the Space administrator permission.
Now you are in the PDF Template Gallery.
To create a new template click New.
This will create a new template with some default settings and open the Template Editor.
In the Template Editor, start by giving your template a meaningful name -
You have created your first custom template.
➡️ Next, we will customize the template.
Customize the PDF template
Customize the title page
Add a background image
ℹ️ Tip: It is recommended to use an image of dimension 210 mm X 297 mm.
The image doesn’t fit? Use the Image width and Image height fields to adjust the dimension of your image.
Update the header layout
Add you company logo to header
The image doesn’t fit? Click on the image and then using the contextual menu adjust its size to fit your requirement.
Change the alignment of text
Add a dynamic placeholder
Placeholders are dynamic elements in your template that reference metadata in Confluence, and insert them into the PDF file during export.
ℹ️ Info: You can explore the full list of available placeholders by clicking the icon in the toolbar.
Customize the content footer
Update the footer layout
ℹ️ Info: The content from your documentation pages will be placed in the Content section during the export process.
Add company logo to the footer
Update various text styles
Update paragraph style
Want to use your own fonts? You can do so by selecting CUSTOM FONTS → Manage fonts inside the font name drop-down.
Update Document Title style
ℹ️ Info: Changing this style affects the document title we added to the title page earlier.
Update Export Properties
Configure page breaks
While this step is completely optional, in this example, we want to make sure that there is a page break in the exported PDF after every Confluence page in our documentation.
Want more control over page breaks? You can use the Scroll Page Break Macro that is available when you install Scroll Exporter Extensions app.
Test your custom template
Create a test export
You are now ready to test out your brand new custom template.
You have now successfully created your very own PDF template with Scroll.
You can now start using it to export all your documentation as highlighted in Export your documentation as a PDF, Word, or HTML file