Home
Analytics
Help with page breaks
xray316
Hello,
I created a simple report in birt using a single group. Everything displays correctly in birt eclipse preview. I can also upload my report to our Maximo/Birt system and run the report within birt, and it displays correctly...BUT then I try to convert the report to PDF or DOC and the page breaks are sporadic, --most page breaks look ok, but then you have some pages:
1) only half the page is used, and the same group data broken onto another page...
2) page breaks where the group is finished, the group foot has displayed, but then the group header displays after the group footer (for the same group)
The problem seems to be in the pdf and doc conversion.... how to troubleshoot?
Find more posts tagged with
Comments
thuston
The logical pagebreaks used for Web view are still applied when converting to PDF. However the PDF also uses the Master Page dimensions.
So if your Table has 50 rows and the PageBreak interval is 40, you get two web pages.
If only 30 rows fit on a PDF page then you get 3 pages.
page1 = row 1-30 [physical page break]
page 2 = row 31 - 40 [logical page break]
page 3 = row 41 - 50 [end of report]
The easy fix is to remove the logical pagebreak interval from the Table (0 = never break for row count).
mcremer
<blockquote class='ipsBlockquote' data-author="'thuston'" data-cid="82177" data-time="1314818906" data-date="31 August 2011 - 12:28 PM"><p>
The logical pagebreaks used for Web view are still applied when converting to PDF. However the PDF also uses the Master Page dimensions.<br />
<br />
So if your Table has 50 rows and the PageBreak interval is 40, you get two web pages.<br />
If only 30 rows fit on a PDF page then you get 3 pages. <br />
page1 = row 1-30 [physical page break]<br />
page 2 = row 31 - 40 [logical page break]<br />
page 3 = row 41 - 50 [end of report]<br />
<br />
The easy fix is to remove the logical pagebreak interval from the Table (0 = never break for row count).<br /></p></blockquote>
<br />
This however seems somtimes to make the onPageBreak triger for a table not to triger (its a natural page break as I call it instead of the logic). I ran in to it a few times was quite interesitn to fix it to work as we wanted here.
xray316
Thank you, How do I do this?
The easy fix is to remove the logical pagebreak interval from the Table (0 = never break for row count).
[/quote]
thuston
Select the Table, go to Properties - PageBreak, set the interval to 0.