Forums

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

Format Export PDF

Thomas Rösler
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!
November 5, 2018

Hello together,

i try to style my PDF Export with the page number in the footer:

I create a new element in the footer PDF Layout:

<span id="pageNum"/>  

and a new Element in the PDF Stylesheet:

#pageNum:before  
{  
content: counter(page);  
}   

 

When i open PDF i can't see any information in the footer. Also other html fields in the header or footer of the PDF Layout are not visible.

 

 

 

3 answers

2 accepted

0 votes
Answer accepted
Thomas Rösler
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!
November 7, 2018

Hi Thomas,

thanks a lot, in the meantime i got it to work. My error was, that i have tried to define the above settings in the global settings. That does not work, the correct way is to define it over the area settings.



Thomas Schlegel
Community Champion
November 7, 2018

You're welcome, @Thomas Rösler - great, that you found the problem

0 votes
Answer accepted
Thomas Schlegel
Community Champion
November 5, 2018

Hi @Thomas Rösler, I have just tested these settings in my cloud environment. Everything's fine with the page numbering.

I think, the error must be somewhere else. Just to make sure, we have the same settings, here is the PDF layout of the space: 

image.pngand the PDF Stylesheet:

image.png

0 votes
RaeRo
Contributor
February 21, 2019

This did not work for me. I defined it at the global level, but it propagates to the Space settings and looks identical to the build above, yet my PDFs still do not show a page number. Any suggestions? 

 

conf_space2.PNGconf_space.PNG

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events