Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
remove fomatting on export
cmrdjr
My end users only want to see the table formatting and hyperlinks when the report if viewed in the BIRT viewer or HTML. They want to export a clean report to hand to upper management. The clean report would not include any CSS formatting, Highlighting, or other such items. Basically they want to export a plain text document.
Is this possible? Can this be done based on a parameter value?
Thanks
Christine
Find more posts tagged with
Comments
mwilliams
Hi Christine,<br />
<br />
This devShare <a class='bbc_url' href='
http://www.birt-exchange.com/devshare/designing-birt-reports/540-little-trick-disable-the-hyperlink-according-to-the-output-format/#description'>post</a>
; may help you with that. The idea used in this tip/trick post could probably also be used to add/remove a style sheet for different outputs.<br />
<br />
Hope this helps.
cmrdjr
I have been able to remove the hyperlinks from the output, but have not been able to remove the formatting.
The exporting of formatting has come back to bite our users due to increased number of pages that are printed out verses an older non formatted financial report. We would really like to have a way to have formatting when displaying in HTMS or the BirtViewer, but to not have that formatting included in Excel, Word or PDF exports.
Anyone have a way to eliminate formatting via a parameter or an on-export action?
johnw
I'm pretty sure you can do something like this.style = null, assuming you used style sheets to format your report elements. It also will depend on what you mean by "formatting". Formatting as in fonts, sizes, etc? Or formatting as in borders, row colors, header graphics.
If what was suggested isn't working, the only other way I can think of is to modify the emitters. I've done this in the past for clients who needed things like secure PDF's only if a parameter was set.