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)
Output of Lists in Word Doc Format contains empty lines
gustav
Hello,
i have a question concerning the word doc output format of a report.
**Short Version of the problem description**: In Word doc output format the preview of a BIRT list item
contains an additional carriage return per entry. In HTML or text output format
the list is given as "expected" where the output consists of only one line containing the entry.
**Detailed Version of the problem description**:
Within my BIRT report i declared a list in order to output a list of elements of my underlying
XML document. The list looks as follows:
<list id="60">
<property name="display">inline</property>
<property name="canShrink">false</property>
<property name="dataSet">x</property>
<list-property name="boundDataColumns">
<structure>
<property name="name">nr</property>
<text-property name="displayName">nr</text-property>
<expression name="expression" type="javascript">dataSetRow["nr"]</expression>
<property name="dataType">integer</property>
</structure>
</list-property>
<property name="repeatHeader">false</property>
<detail>
<data id="87">
<property name="resultSetColumn">nr</property>
</data>
</detail>
</list>
The underlying XML file looks somehow like: <data><nr>1</nr><nr>2</nr></data>
Ok - now if i preview the report using HTML or text output everything looks like expected. The output "2" follows "1"
and each output is printed in a separated line.
1
2
*The problem*: The preview in word contains an additional, empty line per entry thus resulting in
1
2
**My Question: Is there a setting or are there alternative modelling possibilities so that the word output
does not contain additional, empty lines?
Thank in advance and
regards,
Oliver
Find more posts tagged with
Comments
mwilliams
Hi Oliver,
Can you recreate this issue in a way that I can run the report? Also, what version of BIRT are you using?
gustav
Hi Michael,<br />
<br />
sorry for my late answer!<br />
<br />
<br />
<blockquote class='ipsBlockquote' data-author="mwilliams"><p>Hi Oliver,<br />
<br />
Can you recreate this issue in a way that I can run the report? Also, what version of BIRT are you using?</p></blockquote>
<br />
Attached to this reply you will find an archive containing the rptdesign file and a sample xml content file.<br />
<br />
We are using <br />
Birt Designer Version 2.5.1.v20090903 Build 2.5.1.v20090917-1447<br />
<br />
<br />
Thank you in advance and<br />
best regards,<br />
Oliver
mwilliams
Oliver,<br />
<br />
This looks like a bug to me as it only does this with a list. It must be showing the header and/or footer when it shouldn't be or something like that. Please log this as a bug at <a class='bbc_url' href='
http://www.birt-exchange.org/bug-reporting/'>Report
Bugs - BIRT Exchange</a>. Thanks.