Doubled pages in PDF Export [message #1106756] |
Wed, 11 September 2013 14:03 |
Robert Walter Messages: 29 Registered: July 2011 |
Junior Member |
|
|
Hi,
I experience some strange behavior regarding page breaks and doubled page numbers in my exported PDF report.
I have a simple Master Page with a footer which is 15 mm high. This leads, depending on the data, to PDFs where tables that exceed one page are broken two times. After the first page break, only some rows of the table are displayed, while the final row(s) are displayed on yet another page. Like this:
###### Example structure #######
TABLE HEADER
-row
-row
// ... many rows
-row
PAGE FOOTER showing "Page 1"
-------- PAGE BREAK DUE TO END OF PAGE
TABLE HEADER // deliberatly repeated
-row
-row
// huge blank area
PAGE FOOTER showing "Page 1" // yes, the page has the same number than the one before
-------- PAGE BREAK
TABLE HEADER
-row
// huge blank area
PAGE FOOTER showing "Page 2"
#####################
When I remove the footer and tell each row of my table to avoid page breaks, everything seems to work correctly (though I do not see the page numbering since the footer's been removed). The page break interval of the table is set to 0 (the default of 40 is really... strange, especially since it's not available in the XML file, but that's another story).
The master page declares A4 as type, but I experienced the same with other types.
My guess is that the first page break happens due to the footer, but that BIRT does not "know" about it, which is why it does not change the value of the page number variable. The second page break then is the "correct" one done by BIRT.
Any suggestions how to solve this (since I cannot do without the footer)?
|
|
|
|
|
|
|
|
|
|
Re: Doubled pages in PDF Export [message #1108590 is a reply to message #1107681] |
Sat, 14 September 2013 03:24 |
|
All of the tables and lists have page break intervals of 40 still set. You might try making them all 0. There are so many levels of embedded elements that it's definitely tough for me to tell what the issue is caused by.
Michael
Developer Evangelist, Silanis
|
|
|
|
|
|
|
Re: Doubled pages in PDF Export [message #1138455 is a reply to message #1121102] |
Tue, 15 October 2013 05:22 |
|
Unfortunately not. I've had deadlines for other projects come up that have kept me out of here. I'm very sorry for the delay. I'll try to get a look at this sometime this week.
Michael
Developer Evangelist, Silanis
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.08125 seconds