Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Conditional formatting of pdf export header / footer based on labels

Hi everyone!

I'm trying to set up the PDF export layout / format for a Confluence Space.
I would like to alter the formatting and text of the header and footer of the export based on specific labels set on each confluence page, or at very least include the set labels into the footer of the pdf pages.

The documentation of the export settings is not really talking about such an option.

Could you tell me if there is a way to do this?

1 answer

Hi @Pascal Becker ,

welcome to the Atlassian Community!

I don't think it's possible, maybe with some 3rd party apps. 

However, once I had to export our old documentation pages (for app versions 3.x, 4.x), I decided to just export selected pages to .pdf. I've double checked documentation pages: to make sure all 3.x pages are in the same page tree, then I've exported those 3.x pages with .pdf customisations. Then I did the same for the 4.x space

With that in mind, you can export those labeled pages, label by label and if needed use some other tool to assemble those to 1 file 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

Confluence: Where work and wellness meet

Feeling overwhelmed by the demands of work and life? With a 25% increase in the prevalence of anxiety and depression worldwide during the pandemic, for most of us, it’s a resounding yes . 🙋‍♀️ ...

763 views 5 21
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you