Forums

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

Is there a full documentation to customize PDF Layout/Stylesheet with placeholders and commands?

Lip Engl
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!
May 3, 2019

I want to create a pdf layout and stylesheet. 

For example, I want a titlepage with the page title, the author and the date.

I tried this:

<div class = "titlepage-content">
<div class="space-name">$space.Name</div>
<div class="export-title">$space.DisplayTitle</div>
<div class="exportinfo">
<div><div>Author:</div>
<div>$creator.FullName</div>
</div>
<div><div>Date:</div>
<div>$dateTimeFormatter.withStyle($exportDate, "MS")</div>
</div>
</div>

But this doesn't. 

Another example is, I want the date in the footer.  It should be something like 

@bottom-right
{
content: "Page " counter(page) "/" counter(pages) ; /* This is the content that will appear in the footer */
font-family: ConfluenceInstalledFont, Helvetica, Arial, sans-serif;
font-size: 8pt;
}

 

Where can I find a list of the HTML placeholder?

Where can I find a list of the CSS placeholder?

Is there a full documentation?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events