You can edit the PDF Layout and Stylesheet on both Confluence Admin and Space Admin levels. Just go to *Confluence Admin > Look and Feel > PDF Layout/PDF Stylesheet*, or *Space Admin > Look and Feel > PDF Layout/Stylesheet. Refer to this documentation for more details and examples of customizations.
Hope this helps!
I tried use some of the code I found here:
But it doesn't affect the PDF-export. (Global) Obviously I'm doing it wrong, but I have no idea why :(
Is it enough to just copy and paste the code or do I have to type some additional tags. (Like "<html>" </body>" etc.
I would appreciate any help!
What do you want to do:
Create a template, customize the PDF stylesheet or customize the PDF layout?
These are different things that must be treated differently.
Bascially, the page you mentioned explains it all.
Perhaps you could just try to explain what you want to do, what you tried and where you got stuck.
basically we want to do some minor changes. We will need a Title page with some information, a Logo in the Header and a footer with page numbers. We also want to use a certain font.
I stucked already at the title page :( I used the code from the page:
And inserted them in the title page section but it had no affect to the exported PDFs. My CSS knowledge is very limited so I would appreciate any help.
@Achim: Start with something very simple
Create a title page:
Export your pages:
Is is possible that you entered some html that had no effect? Or did you export with Tools > Export to PDF instead?
I tried it that way a few times but it did not work. I also tried to enter something in the footer but I cannot see it in the export as well.
Maybe my entries don't get saved? Do I have to confirm my entries seperately?
Edit: I also have only temporary admin rights. Do you think this could be the reason?
Ok that's exactly what I did...
I entered the code in the title page section from the page you and Dora posted:
<img src="/download/attachments/590719/titlepage.png" />
I also entered the copyright information in the footer and the CSS for the title page in the stylesheet:
margin: 72px 0 4px 0;
There is an information that I have only temporary admin rights and that I can end the admin membership when it's not needed anymore. I don't know if that affects the changes that I make...
I can only give instructions for the download version but it should be similiar for on demand:
Go to Browse > Space Admin > PDF Layout > PDF Space Export Header
to define a page header for information that will appear at the top of every exported page
- or -
Go to Browse > Space Admin > PDF Layout > PDF Space Export Title Page
to define a title page that will appear before all the other exported pages
In both cases you just click "edit" and enter normal html code.
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot