Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

PDF Export Confluence Cloud

Karl Schweighofer
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 4, 2016

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

2 votes
Tim Eddelbüttel
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 4, 2016

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 

1 vote
Steffen Heller
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 4, 2016
  • 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?

Karl Schweighofer
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 4, 2016

What do you mean with dynamic in this context?

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

Steffen Heller
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 4, 2016

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.

0 votes
GG
Contributor
December 13, 2017

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
TAGS
AUG Leaders

Atlassian Community Events