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)
Html richtext data styling
benmx
I am using text fields with html richtext data from the db in my reports. It seems like the <p> element uses a default style with some margins above and below in the pdf output (lots of whitespace between them).
When I set an inline style on the <p> elements in the richtext data, I can reduce these margins e.g. <p style="margin: 0pt;">...</p>. This is not an option for the production system though.
Is there a way to set these richtext styles globally for the report?
I am using BIRT 2.6.1
Any help is gladly appreciated!
Ben
Find more posts tagged with
Comments
mwilliams
Hi Ben,
I don't know if there's a way to do this. I'm guessing no, but that could be wrong. Is there any way you can run the replace function on the text in script when you bring it into BIRT.
benmx
Hi Mike,<br />
<br />
do you know if there is a way to influence the style of html richtext in test fields at all?<br />
<br />
All the best,<br />
Ben<br />
<br />
<br />
<blockquote class='ipsBlockquote' data-author="'mwilliams'" data-cid="74689" data-time="1300217371" data-date="15 March 2011 - 12:29 PM"><p>
Hi Ben,<br />
<br />
I don't know if there's a way to do this. I'm guessing no, but that could be wrong. Is there any way you can run the replace function on the text in script when you bring it into BIRT.<br /></p></blockquote>