|
Subject: [xsl]Question about ending document on even page From: Colin DeClue <colin.declue@xxxxxxxxx> Date: Thu, 5 Jan 2012 12:48:41 -0600 |
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.
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] what's the best way to do, Peder | Thread | Re: [xsl]Question about ending docu, G. Ken Holman |
| Re: [xsl] what's the best way to do, Peder | Date | [xsl] Getting page numbers to incre, Colin DeClue |
| Month |