Home
Analytics
Page Breaks in PPT Birt reports
dharshanah
Hi All,
I have an issue with Page breaks when generating a PPT BIRT report.
My rptdesign file has a grid with two columns. In each of the column there is a table with two rows.
Each table has a header and description field.
Now the issue is if the second table has a long description , then the entire contents of the second table is displayed in the next page (Even if the first table has just one single line as description ).
This issue occurs only if there is a long content in the second table.
I have played around with the different page break types - auto, avoid and always for both grid as well as table.
I have tried with all the pagebreak options set to auto. Since I didnt get the desired output,I then tried with all options set to avoid. Still didnt get the desired output.
I have attached the sample xml content of the rptdesign file.
Can someone please help me with this issue?
Thank you!
Dharshanah
Find more posts tagged with
Comments
dharshanah
Sorry I am not able to upload the content. Please find the xml sample content below
<grid id="302">
<property name="pageBreakInside">auto</property>
<column id="303"/>
<column id="304"/>
<column id="305"/>
<row id="306">
<property name="pageBreakAfter">auto</property>
<cell id="307">
<property name="colSpan">3</property>
<property name="rowSpan">1</property>
<table id="183">
<property name="pageBreakInterval">0</property>
<column id="190"/>
<header>
<row id="184">
<property name="pageBreakInside">auto</property>
<cell id="185">
<data id="191">
<property name="fontWeight">bold</property>
<property name="resultSetColumn">LabelOne</property>
</data>
</cell>
</row>
</header>
<detail>
<row id="186">
<property name="pageBreakInside">auto</property>
<cell id="187">
<text id="197">
<property name="contentType">html</property>
<text-property name="content"><![CDATA[<VALUE-OF format="HTML">row["DescriptionOne"]</VALUE-OF>]]></text-property>
</text>
</cell>
</row>
</detail>
</table>
</cell>
</row>
<row id="310">
<property name="pageBreakBefore">auto</property>
<property name="pageBreakInside">auto</property>
<cell id="311">
<property name="colSpan">3</property>
<property name="rowSpan">1</property>
<table id="200">
<property name="pageBreakInterval">0</property>
<column id="207"/>
<header>
<row id="201">
<property name="pageBreakInside">auto</property>
<cell id="202">
<data id="208">
<property name="fontWeight">bold</property>
<property name="resultSetColumn">LabelTwo</property>
</data>
</cell>
</row>
</header>
<detail>
<row id="203">
<property name="pageBreakInside">auto</property>
<cell id="204">
<text id="211">
<property name="contentType">html</property>
<text-property name="content"><![CDATA[<VALUE-OF format="HTML">row["DescriptionTwo"]</VALUE-OF>]]></text-property>
</text>
</cell>
</row>
</detail>
</table>
</cell>
</row>
</grid>