Hello all,
I am trying to customize the export to word feature from confluence, however, I would like to remove the noprint content and the attachment plugin when exporting the file.
Someone has an idea how to do it?
I already used the same code for the export pdf but it is still not working....
Thanks in advance
Joao Flavio
Hello again Alex,
I add the !important in the code, but I still have the same issue, all the content is gone but the table is still appearing ... as you said it is very odd.
Thanks again
Best Regards
Joao Flavio
You need to make sure the relevant .css file has a class to hide the noprint content:
div.noprint {
display:none
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Alex,
Thanks a lot for your answer, it is partially working...
All the content which is inside the no print "area" were not exported to the word document, however, in one of my no print "areas" I have a table which is still being exported to word.
By the way, is not a problem of my no print macro since when I export the same page in PDF the table doesn't appear in the document.
Thanks again
Best Regards
Joao Flavio
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Joao,
It is very odd that you have some elements still showing. You could try making the class !important:
div.noprint {
display:none !important
}
I'm not sure this will work but it's worth a try
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.