PDF Methods/Properties for Custom Export

Where may I find a list of methods and properties available for use when trying to define a custom template for a PDF export? I'm trying to find methods and properties like "counter(page)" and "counter(pages)" as seen on this article... https://confluence.atlassian.com/display/DOC/Advanced+PDF+Export+Customisations#AdvancedPDFExportCustomisations-headerfooter

2 answers

Hi Katherine,

I'm not aware of a full method list existing. The examples that are out there and things in the documentation come from user experience.

The resources we have available on customizing pdf exports are here:

https://confluence.atlassian.com/display/DOC/Customising+Exports+to+PDF

https://confluence.atlassian.com/display/DOC/Advanced+PDF+Export+Customisations

https://answers.atlassian.com/questions/111305/help-with-confluence-pdf-export-css

The customizations achieved come from a combination of html and css applied to the export.

@Katherine:

We had a detailled discussion about this question at https://answers.atlassian.com/questions/50936/pdf-export-which-css-properties-do-work-and-which-ones-not

The bottomline is that CSS 2.1 is used for the PDF export with some additional parts of CSS 3. Check this or some other documentation and you should find all the information needed.

Information about counter(pages) can be found here, for example: http://www.w3.org/TR/css3-page/#page-based-counters

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

380 views 21 10
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you