Ramnikunj Prajapati created FOP-2616: ----------------------------------------
Summary: Extra blank page gets created even though the content fits in previous page Key: FOP-2616 URL: https://issues.apache.org/jira/browse/FOP-2616 Project: FOP Issue Type: Bug Environment: windows 7, Java 1.8 Reporter: Ramnikunj Prajapati Hi, We are creating a pdf out of a xml using xsl and FOP library. We have set header and footer for all pages. We have a coupon which needs to be positioned at the bottom of last page of pdf and when the coupon is in the bottom the footer text should not appear. If the data in the current page is more to accommodate in one page than the extra data and coupon should be shifted to the next page. The condition for coupon is that it should always be placed in bottom of last page. We found an issue where if the data in the body is about 36-39 lines which fits the current page with coupon still an extra blank page gets added with the header. For reference please check the xsl, sample xml and pdf which is placed in this google drive folder: https://goo.gl/4Pwqev Please read the readme file for more info -- This message was sent by Atlassian JIRA (v6.3.4#6332)