PDF Export Confluence Cloud

GENERELL

  • how to add custom modifyable content to the pdf export. (like   version, author, creation date)

TITLEPAGE

  • Background image of div not working propperly

PAGE HEADER

  • how to include projecttitle and pagetitle in the pageheader

PAGE FOOTER

  • how to add the file name of the generated pdf
  • how to get page count like "page x of y"

CONTENT

  • how to set custom font with css in pdf export. (we need verdana) in cloud

3 answers

This widget could not be displayed.

Maybe this will help for custom modifyable content, you must change some things due to new Confluence version: https://www.scandio.de/2011/03/confluence-pdf-export-titelseite-mit-dokument-daten/

This document is a good start: http://www.antennahouse.com/CSSInfo/CSS-Page-Tutorial-en.pdf

Also this page: https://www.smashingmagazine.com/2015/01/designing-for-print-with-css/

The Atlassian documentation (https://confluence.atlassian.com/doc/customise-exports-to-pdf-190480945.html) is not really helpful becauses it hides all comments from the last years.
With the mobile interface you can read those comments smile
https://confluence.atlassian.com/plugins/servlet/mobile#content/view/190480945 

This widget could not be displayed.
  • how to add custom modifyable content to the pdf export. (like version, author, creation date)
  • how to include projecttitle and pagetitle in the pageheader
  • how to add the file name of the generated pdf

=> If these variables need to be dynamic you must create your own user macro for this.

 

  • how to get page count like "page x of y"

=> content: counter(page) " of " counter(pages);

 

  • how to set custom font with css in pdf export. (we need verdana) in cloud

=> upload font file to a page, define the font in CSS with @font-face and then reference it like any other font

 

  • Background image of div not working propperly

=> can you explain in more detail: what did you do? what did you expect? what did really happen?

What do you mean with dynamic in this context?

To my knowledge user macros are not supported in the CLOUD Version.

I mean that you type the name of a variable and the system automatically adds the current value.

Edit: Yes, if it is not supported in the cloud version then this won't work for you.

This widget could not be displayed.

You can easily add all of these to your header or footer using Content Exporter for Confluence addon. Here's a sample screenshot:

Cex footer.PNG

You can try out how it works online by exporting the documentation itself from its support site:

https://metainf.atlassian.net/wiki/spaces/CEX/overview

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 17, 2018 in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

569 views 7 6
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