It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Confluence: Use Macros in PDF Stylesheet

AccountName:NBzD Aug 16, 2017

Is there a way to use macros (either built-in, add-ons or user created) in PDF Stylesheet?

Scenario: I have a macro to display the current date and time and would like to use it as a footer via the PDF Stylesheet.  Since there is no simple solution to add date and time using PDF Stylesheet hence the need.

1 answer

0 votes
Shannon Spaniol Atlassian Team Aug 17, 2017

Hi Adeel,

You will need to use something else in order to include the date in your footer.

Have a look at this previous community question at Steffen's answer where he points out a location where you can find some Javascript that may help you.

Kind Regards,
Shannon

AccountName:NBzD Aug 17, 2017

Hi Shannon, 

Thank you for replying. Much appreciated. 

I've followed through the link and it only shows how to create a user macro to use within a page. It doesn't talk about including macros in PDF Stylesheet or how to explicitly add date and time in the footer of exported PDF. 

My hunt for an answer continues.

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Confluence

Confluence CVEs and common questions

Two vulnerabilities have been published for Confluence Server and Data Center recently: March 20, 2019 CVE-2019-3395 / CVE-2019-3396 April 17, 2019 CVE-2019-3398 The goal of this article is...

950 views 0 19
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you