Bug 48537

Summary: Wrong handling of blank pages, page-position="last" and force-page-count
Product: Fop - Now in Jira Reporter: Vincent Hennebert <vhennebert>
Component: page-master/layoutAssignee: fop-dev
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: all   
Target Milestone: ---   
Hardware: All   
OS: All   
Attachments: First example. Blank page is added after last page instead of using normal p-s-m for page 2 and last-page for page 3
PDF rendering of first example
Second example. Last-page too small to hold content, so added as page 3 and blank page as page 4
PDF rendering of second example

Description Vincent Hennebert 2010-01-13 07:53:46 UTC
When a blank page must be added to follow the force-page-count constraint, and a page-sequence-master has been defined for the last page, that page-sequence-master will be used for the next-to-last page instead, and the last page will be a blank page.
Comment 1 Vincent Hennebert 2010-01-13 07:57:46 UTC
Created attachment 24838 [details]
First example. Blank page is added after last page instead of using normal p-s-m for page 2 and last-page for page 3
Comment 2 Vincent Hennebert 2010-01-13 07:58:26 UTC
Created attachment 24839 [details]
PDF rendering of first example
Comment 3 Vincent Hennebert 2010-01-13 07:59:54 UTC
Created attachment 24840 [details]
Second example. Last-page too small to hold content, so added as page 3 and blank page as page 4
Comment 4 Vincent Hennebert 2010-01-13 08:00:22 UTC
Created attachment 24841 [details]
PDF rendering of second example
Comment 5 Glenn Adams 2012-04-07 01:44:05 UTC
resetting P2 open bugs to P3 pending further review
Comment 6 Matthias Reischenbacher 2012-07-21 20:02:04 UTC

*** This bug has been marked as a duplicate of bug 51962 ***