Is there a way in Confluence On-Demand to indicate that specific content should be ignored when generating a .pdf. With Scroll, we used the scroll ignore macro. Since Scroll is not available in On-Demand, I haven't been able to find a solution to ignore specific content. Thank you for any feedback you can provide.

1 answer

0 vote
Davin Studer Community Champion Sep 24, 2013

Hers is a possible way to do it if you have the html macro in OnDemand. Not sure if it comes with that. You could create and html macro with this in the macro body...

<div class="nopdf">

Then put your content here...

Lastly pust another html macro after that with this in the macro body...

</div>

Finally in the PDF stylesheet setup add this rule.

.nopdf {display: none;}

Davin Studer Community Champion Sep 26, 2013

You can't do user macros in the OnDemand version either right? Cause that would be the perfect way to do it if you could.

Thank you for the response Davin. Unfortunately, On-Demand does not include the html macro.

We have not been able to create user macros in On-Demand, but I do see that a new plug-in, Atlassian Connect, was added and enabled in our instance. I'm researching that now, as I think it may give us the ability to create a user macro. Thank you.

Davin Studer Community Champion Sep 26, 2013

Well, I think then the only other way would be to devote a specific maco to this feature. Maybe like the panel macro or something like that. Then you could specifically target that content to be hidden in pdfs.

Hi, we are still unable to restrict content from pdf output in On Demand. Is anyone aware of a solution that I have not been able to identify?

Thank you.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Friday in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

262 views 11 10
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you