[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Question about ending document on even page
Hi, I'm trying to get my document to end on what I have defined as my even page, but it's giving me an extra page of the odd at the end. For example, I've got 3 pages of content for the odd (the even is just background image), so I'd want there to be 6 pages total. Instead, I'm getting 7, with an extra odd page at the end. Here's what I have: <fo:layout-master-set> <fo:simple-page-master master-name="odd" page-width="8.5in" page-height="11in" margin-top="0.13in" margin-bottom="0.25in" margin-left="0.175in" margin-right="0.25in" background-image="url({BOLReport/BackgroundImage})"> <fo:region-body region-name="MainBody" margin-top="5.13in" margin-bottom="2.6in" extent="2.53in" /> <fo:region-body region-name="Charges" margin-top="8.6in"/> <fo:region-before extent="5.13in"/> </fo:simple-page-master> <fo:simple-page-master master-name="even" page-width="8.5in" page-height="11in" margin-top="0.13in" margin-bottom="0.25in" margin-left="0.175in" margin-right="0.25in" background-image="url({BOLReport/TermPath})"> <fo:region-body/> </fo:simple-page-master> <fo:page-sequence-master master-name="allPages"> <fo:repeatable-page-master-alternatives> <fo:conditional-page-master-reference master-reference="even" odd-or-even="even"/> <fo:conditional-page-master-reference master-reference="odd" odd-or-even="odd"/> </fo:repeatable-page-master-alternatives> </fo:page-sequence-master> </fo:layout-master-set> <fo:page-sequence master-reference="allPages" font-size="10pt" font-family="Courier New" force-page-count="even"> ... </fo:page-sequence> Any indication of what I'm doing wrong would be great.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|