Hello,
is there any possibility to edit the PDF-Export of confluence? For documentations we would like to create a template with a logo and some copyright information to reduce manual efforts..
Achim,
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!
Thanks a lot!
Hi,
I tried use some of the code I found here:https://confluence.atlassian.com/display/DOC/Customising+Exports+to+PDF
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!
@Achim:
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.
Hi Steffen,
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:
https://confluence.atlassian.com/display/DOC/Customising+Exports+to+PDF
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?
Do I have to confirm my entries seperately?
You click "Edit" to open the input field, make your changes and then you click "Save" to save the changes.
What exactly did you enter?
What are temporary admin rights?
Ok that's exactly what I did...
I entered the code in the title page section from the page you and Dora posted:<div class="fsTitlePage"> <img src="/download/attachments/590719/titlepage.png" /><div class="fsTitle">owpvweopvmwepovmwepovmwepoivm</div></div>
I also entered the copyright information in the footer and the CSS for the title page in the stylesheet:
.fsTitlePage{margin-left: auto;margin-top: 50mm;margin-right: auto;page-break-after:always}.fsTitle{font-size: 42px;font-weight: bold;margin: 72px 0 4px 0;text-align:center;}
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...
When I do exactly that I get a PDF with a first page that shows a big "owpvweopvmwepovmwepovmwepoivm".
That is weird. I see only the standard PDF like it has always been. No title page and no footer
When you go back to Browse > Space Admin > Look and Feel > PDF Layout is your html text still there?
And did you really export with Browse > Advanced > PDF Export and not with Tools > Export to PDF?
Yes, there is page export and a space export. Header, footers and start page only show when you do a space export.
OMG thank you very much!!! I always exported it with Tools -> Export to PDFNo wonder it didn't work. Sorry I didn't know that there are two ways to export to PDF.
You helped me a lot with this one
Im in the same boat as Achim, can anyone help?
@Jamie: Help is here. Can you tell us what you want?
I forgot to mention I am using confluence on demand!
@Jamie:
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.
Hi
I follow the steps fort my part and nothing is displayed ?
Exemple:
<p><span style="color: #ff9900;"><strong>Copyright Jasmine Conseil</strong> <strong>2020</strong></span></p>
BR
Karim
There is now a new way to customize and personalize your PDF and Word Doc exports from your Confluence pages. Check out Crystal Export.
Easily add header/footer, table of contents, rich text and more using our WYSIWYG editor.
It looks like you're new here. Sign in or register to get started.