Doubled pages in PDF Export [message #1106756] |
Wed, 11 September 2013 10:03  |
Eclipse User |
|
|
|
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)?
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05310 seconds