ignore macro

Cheryl Schmelzer
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 24, 2013

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 votes
Davin Studer
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 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
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 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.

Cheryl Schmelzer
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 26, 2013

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

Cheryl Schmelzer
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 26, 2013

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
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 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.

Cheryl Schmelzer
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 4, 2014

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
TAGS
AUG Leaders

Atlassian Community Events