When I try to use the page-seqence-master called "sequence1" as follows the resulting output does not contain a "master1" layout as a final page: <fo:layout-master-set> <fo:simple-page-master page-width="8.5in" page-height="11in" master-name="master1"> <fo:region-body/> </fo:simple-page-master> <fo:simple-page-master page-width="8.5in" page-height="1in" master-name="number"> <fo:region-body/> </fo:simple-page-master> <fo:page-sequence-master master-name="sequence1"> <fo:repeatable-page-master-alternatives> <fo:conditional-page-master-reference master-reference="master1" page-position="last"/> <fo:conditional-page-master-reference master-reference="master1" page-position="first"/> <fo:conditional-page-master-reference master-reference="master2" page-position="rest"/> </fo:repeatable-page-master-alternatives> </fo:page-sequence-master> </fo:layout-master-set>
i have confirmed this with 0.20.4 as have others on yahoos xsl-fo group im sure this is a well known issue, but im wondering if there any plans to implement this. forgive me if the answer is on fop's site already
This will also stay the same in 0.20.5. page-position="last" will be implemented as part of the redesign effort in FOP. Because of that we can't give you any date when it will be available. Help is welcome but it's not an easy thing to implement.
Initial support for page-position="last" has just been added to FOP Trunk. Feedback is welcome. At the moment, the last page has to have the same properties (width of region-body, number of columns, column gap) as the second-to-last page, but the same applies to page n and page n-1 anyway in the new code (it's the problem we call "changing available IPD"). But you can freely choose the height of the region-body (BPD). More information: http://wiki.apache.org/xmlgraphics-fop/PagePositionLast
More tests show that the feature seems to work.
batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed