Hi Vincent; Here with I have attached the XSL-Fo file which causes the problem. Layout contains a table with table header and footer. And enabled "omit table-footer at page-break" Data fits exactly into 3 full pages and what will be remain after the end of third page is the table footer. But it doesn't print in the fourth page. It cause a out of memory since it keeps on going in a loop and prints "footer could not fit on page, moving last body row to next page" continuously.
Can you please test this. Many Thanks in advance /Harshini -----Original Message----- From: Vincent Hennebert [mailto:[EMAIL PROTECTED] Sent: Thursday, October 23, 2008 4:40 PM To: fop-users@xmlgraphics.apache.org Subject: Re: Missing table footer when report data exactly fits into a single page and "Leave out table footer at page-break" is enabled Hi Harshini, Harshini Madurapperuma wrote: > Hi Vincent; > > Thanks for your reply, I know I'm using a older version of FOP, but the > problem is I just want to know whether this is a known bug in Fop? May be the > latest version also having this problem. I don't know about FOP 0.20.5, but I'm almost certain that FOP 0.95 doesn't have this problem. > Has anyone come across with this problem? And is there a fix for this in the > latest FOP version ? You may want to download and test FOP 0.95 on your example: http://xmlgraphics.apache.org/fop/download.html#binary Or you can also provide us with a small but complete XSL-FO file, so that we test it for you. Vincent > Many Thanks in Advance > Harshini > > -----Original Message----- > From: Vincent Hennebert [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 23, 2008 3:37 PM > To: fop-users@xmlgraphics.apache.org > Subject: Re: Missing table footer when report data exactly fits into a > single page and "Leave out table footer at page-break" is enabled > > Hi Harshini, > > Sorry, FOP 0.20.5 is no longer supported. It's so old that hardly anyone in > the dev team has the knowledge to provide support anyway. All I can say is > that you should definitely upgrade to the latest version. Or lobby whoever > have the decision power until they agree to upgrade. All the more than tables > have been much improved in the recent versions. > > Vincent > > > Harshini Madurapperuma wrote: >> Hi All; >> >> When a table row has set a row-height and when data is exactly fit into a >> single page and "omit-tableFooter at page break" is enabled, the table >> footer doesn't print in the next page alone. The table footer gets >> disappeared. >> >> Is this a known problem in FOP? I'm having fop version 0.20.5, abit old >> version and can't go for a higher version at this moment. >> >> >> int status = tableFooter.layout(areaContainer); >> if (Status.isIncomplete(status)) { >> /* this is a problem since we need to remove a row >> from the last table body and place it on the >> next page so that it can have a footer at >> the end of the table.*/ >> >> if (this.omitHeaderAtBreak) { >> /* remove header, no longer needed */ >> tableHeader = null; >> } >> log.warn("footer could not fit on page, moving last body row >> to next page"); >> area.addChild(areaContainer); >> area.increaseHeight(areaContainer.getHeight()); >> tableFooter.removeLayout(areaContainer); >> tableFooter.resetMarker(); >> return Status.AREA_FULL_SOME; } >> >> Many Thanks in Advance >> Harshini --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ------------------------------------------------------------------------------ CONFIDENTIALITY AND DISCLAIMER NOTICE This e-mail, including any attachments, is confidential and intended only for the addressee. If you are not the intended recipient, please notify us immediately and delete this e-mail from your system. Any use or disclosure of the information contained herein is strictly prohibited.
XSL-FO.xml
Description: XSL-FO.xml
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]