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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted yesterday in Confluence

Calling all marketing teams who use Confluence - we want to hear from you!

Hi Community! me again 🙂 If you’re a marketing team using Confluence, we want to hear your story! How did you start using Confluence? What are your use cases? What have been some of the benefits?...

46 views 1 2
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