I am trying to export a Confluence page from the page level (Tools > PDF Export) not from Space Operations.
I used the documentation provided on https://confluence.atlassian.com/display/DOC/Customising+Exports+to+PDF
I have been trying multiple settings at the space level (not global) to use both PDF Layout and PDF Stylesheet together, to customize my title, header and footer, but nothing works.
The only way I was able to add something to the header and the footer was to add content (using the "content" parameter) to the PDF Stylesheet, and leave the PDF Layout totally empty.
Here is what works so far. Content under the PDF Style sheet (at the space level).
----------------------------------------------------
@page
{
margin: 0.5in;
padding: 1em;
@top-center
{ background-image: url(download/attachments/27886202/MO-Logo-Tag-WB-small.gif?api=v2); background-size: 100px; background-repeat: no-repeat; background-position:center center; page-break-inside: avoid; }
@bottom-left
{ content: "<<ProjectName>> Phase <<Phase #>> Monthly Status Report - <<Month>> <<Year>>"; font-family: ConfluenceInstalledFont, Helvetica, Arial, sans-serif; font-size: 8pt; }
@bottom-right
{ content: counter(page) " of " counter(pages); font-family: ConfluenceInstalledFont, Helvetica, Arial, sans-serif; font-size: 8pt; }
}
I would very much like to be able to use the PDF Layout as well.
------------------------
2. Also, as a side note, if you could help me create a foot note with multiple lines, that would solve my problem. So my question is, how to insert a line break in the footer content.
Hi Adriana,
this seems to cause confusion over and over again.
In very short:
There are "page exports" (A) and "space exports" (B) and there is "PDF Layout" (1) and "PDF Stylesheet" (2).
And the "logic" is:
And this is exactly what happens to you:
You make (A) and whatever you enter at (1) will be ignored.
What can you do now to create title, header and footer?
You can fully customize your export header and footer using Content Exporter for Confluence addon.
https://metainf.atlassian.net/wiki/spaces/CEX/pages/70432009/Headers+and+footers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That is a CSS topic. Do a research about e.g. css content line break and then try out what confluence supports. (I didn't get it to work.)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you, @Steffen Heller.
How about my second note, regarding the new line (multiple lines) in the "content" parameter. How can I get the footer or header on multiple lines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Join us to learn how your team can stay fully engaged in meetings without worrying about writing everything down. Dive into Loom's newest feature, Loom AI for meetings, which automatically takes notes and tracks action items.
Register today!Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.