Customizing PDF Export

Alyson Reis January 27, 2014

Hello everyone,

I have created a rather large product user manual and I need to export it to PDF and print it. This is an easy process, however, after finishing the space export (by only selecting the pages I need) I can see that the there is no spacing between each page, and that makes the content to get squeezed.

I have attached a screenshot that will hopefully illustrate my issue, please let me know if there's a way to solve this via PDF stylesheet customization or any other workaround:

Thank you!

2 answers

1 accepted

2 votes
Answer accepted
Ole Kristensen January 27, 2014

Globally (as Confluence Admin -> PDF Stylesheet) or locally (Space Admin -> Look and Feel menu tab) change your PDF Stylesheet to something similar to this:

  1. @page
  2. {
  3. /*The A4 paper size is 210 mm wide by 297 mm long*/
  4. size: 210mm 297mm;
  5. margin: 25mm;
  6. }
  7. .pagetitle
  8. {page-break-before: always;
  9. }
  10. div {
  11. word-wrap: break-word;
  12. }

0 votes
Alyson Reis January 27, 2014

Thanks Ole, it appears to have worked just fine!

Cheers!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events