Global PDF Export - Is there a list of available variables and functions?

Dominique Mayor January 28, 2022

For our PDF exports we have customized the header and footer and also the title sheet of a certain space. 

I found some examles In the documentation, which describe how to e.g. show the page numbers with:

# Footer
<
span id="pageNum"/> / <span id="pageTotal"/> 

---

# PDF Stylesheet

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

#pageTotal:before {
content: counter(pages);
}

This is working fine but now i would like to know the list of all possible functions (like "count()") and variables (like "page" or "pages") but i was not able to find something like that in the web.

e.g.

  • author
  • version
  • date (current date or the thate when the exported pages were updated)
  • any other useful information...

So does anyone know where we can get such information?

Thanks for any help! 

1 answer

0 votes
Andy Gladstone
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 28, 2022
Dominique Mayor January 28, 2022

@Andy Gladstone Thanks a lot for your fast response.

Unfortunately i already found these Pages and they do not contain what i was looking for. 

In your first Link under Changing the Leader Character in the Table of Contents 
you can see another function "leader()" that i meant.

I mean, there must be some list somewhere which contains these functions:

  • counter()
  • leader()
  • and i hope a lot more

And an other list with the variables like "page" or "pages"

Like Joseph likes this
pef
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 7, 2024

Hello,

Did you have an answer on this? I am looking for the same thing...

Thanks!

 

Dominique Mayor May 7, 2024

Well, unfortunately not. I couldn't find something by myself and they didn't answer me again. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events