HTML --> PDF to many blank lines (Birt 2.2) [message #257902] |
Thu, 11 October 2007 07:36 |
Eclipse User |
|
|
|
Originally posted by: frank.martens.bertelsmann.de
Hi all,
we are using Birt to convert HTML text to a formatted PDF document.
Converting a <p> Tag, we do expect a blank line behind the closing </p> Tag,
but not in front of the opening <p> Tag. We get both, so there are two blank
line between two sections.
I can't find an option to change this behaviour.
Any ideas how to fix this problem without changing my HTML Code?
HTML code:
myText.append("<p>First section</p>");
myText.append("<p>Second section</p>");
returns:
------------------ Start
First section
Second section
------------------- End
we expect:
------------------ Start
First section
Second section
------------------- End
rptdesign file:
<scalar-parameter name="myText" id="7">
<property name="valueType">static</property>
<property name="dataType">string</property>
<property name="controlType">text-box</property>
<structure name="format">
<property name="category">Unformatted</property>
</structure>
</scalar-parameter>
<style name="theText" id="8">
<property name="fontFamily">"Arial"</property>
<property name="fontSize">large</property>
<property name="borderBottomStyle">none</property>
<property name="borderBottomWidth">thin</property>
<property name="borderLeftStyle">none</property>
<property name="borderLeftWidth">thin</property>
<property name="borderRightStyle">none</property>
<property name="borderRightWidth">thin</property>
<property name="borderTopStyle">none</property>
<property name="borderTopWidth">thin</property>
<property name="textAlign">justify</property>
<property name="lineHeight">normal</property>
<property name="canShrink">false</property>
</style>
<text-data id="6">
<property name="style">theText</property>
<expression name="valueExpr">params["myText"]</expression>
<property name="contentType">html</property>
</text-data>
Thanks,
Frank
|
|
|
|
Re: HTML --> PDF to many blank lines (Birt 2.2) [message #639546 is a reply to message #639530] |
Tue, 16 November 2010 20:17 |
|
Are you using these in a text element?
Jason
On 11/16/2010 3:05 PM, James Koch wrote:
> I wanted to dredge up this 2007 post because I think we're seeing
> something similar. P tags in HTML seem to render w/ an unexpectedly
> large padding or margin around them in PDF. We're a bit behind the
> times, at version 2.3.2.1.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03392 seconds