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)
Extra line breaks with <P> tags in PDF?
isstabb
I have attached a sample report exhibiting what I am seeing. Notice the difference in behavior between the P tag and the BR tags between HTML and PDF formats. Is this intentional?
My data set has HTML-formatted data with a lot of P tags and the extra long line breaks are visually distracting. I experimented with various style properties to no avail. If anyone recognizes a workaround (short of altering the data I am consuming), please let me know.
Find more posts tagged with
Comments
mwilliams
Hi isstabb,
Without access to your database, I cannot run your report to see your issue. You'll have to use screenshots.
isstabb
I only used static text in text items to illustrate the problem. There should be no data sources or data sets. If I'm mistaken, please let me know and I'll try to fix the example report.
mwilliams
isstabb,
There is a dataSource and dataSet in the report that kept me from being able to run the report.
isstabb
I apologize, I attached a completely different report altogether. The correct sample is attached. Thank you for your assistance!
isstabb
And here are screenshots as well. Notice the difference between the behavior of P tags versus BR tags in HTML versus PDF.
mwilliams
isstabb,<br />
<br />
I don't know if it's intentional or not. It looks like a bug with the PDF output to me. If you just put:<br />
<br />
<P>This is a test.</P>This is a test.</P><br />
<br />
It looks right in both formats. It seems that <P> and </P> both just cause a line break in pdf, so if you put two together, you get 2 spaces. You could log a bug for it at <a class='bbc_url' href='
http://www.eclipse.org/birt/phoenix/reportabug.php'>BIRT
: Reporting Bugs and Requesting Enhancements</a> and see what they say.<br />
<br />
Hope this helps.
isstabb
Ok, I just needed someone else to agree before proceeding to do so. Thank you again for your assistance!