The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Confluence: Use Macros in PDF Stylesheet

AccountName:AIB
Contributor
August 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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
SMS
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 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:AIB
Contributor
August 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.

Michael Bramhall
October 29, 2024

Did you ever find if this is possible?

TAGS
AUG Leaders

Atlassian Community Events