Subject: Re: is there a way to output content only in odd
pages and leave the even page blank, using Apache
FOP?



Does it work on FOP 1.1 ?

Following is the code sample. What are the modifications to do ?

<fo:simple-page-master margin="12mm 12mm 12mm
25mm"
master-name="PageMaster-Body" page-height="279mm" page-width="216mm">
<fo:region-body margin="44mm 0mm 20mm
0mm"/>
<fo:region-before region-name="header"
extent="30mm"
display-align="after"/>
<fo:region-after region-name="footer"
extent="2mm"
display-align="before"/>
</fo:simple-page-master>
<fo:simple-page-master
master-name="PageMaster-Even" page-height="279mm"
page-width="216mm" margin-left="12mm" margin-top="44mm"
margin-bottom="12mm">
<fo:region-body margin="0mm 0mm 10mm
0mm"/>
<fo:region-before
region-name="blank-header" extent="277mm"
display-align="after"/>
<fo:region-after region-name="footer"
extent="2mm"
display-align="before"/>
</fo:simple-page-master>
<fo:simple-page-master
master-name="PageMaster-Last" page-height="279mm"
page-width="216mm" margin="20mm 20mm 20mm 20mm">
<fo:region-body margin="40mm 0mm 10mm
0mm"/>
</fo:simple-page-master>
<fo:simple-page-master margin="12mm 25mm 12mm
12mm"
master-name="PageMaster-Blank" page-height="279mm" page-width="216mm">
<fo:region-body margin="0mm 0mm 10mm
0mm"/>
<fo:region-before
region-name="blank-header" extent="279mm"
display-align="after"/>
</fo:simple-page-master>
<fo:page-sequence-master
master-name="PageMaster">
<fo:repeatable-page-master-alternatives>

<fo:conditional-page-master-reference
master-reference="PageMaster-Body" odd-or-even="odd"
blank-or-not-blank="not-blank"/>

<fo:conditional-page-master-reference
master-reference="PageMaster-Even" odd-or-even="even"
blank-or-not-blank="not-blank"/>

<fo:conditional-page-master-reference
master-reference="PageMaster-Blank" blank-or-not-blank="blank"/>

<fo:conditional-page-master-reference
master-reference="PageMaster-Figure"/>

</fo:repeatable-page-master-alternatives>
</fo:page-sequence-master>




--
View this message in context:
http://apache-fop.1065347.n5.nabble.com/is-there-a-way-to-output-content-only-in-odd-pages-and-leave-the-even-page-blank-using-Apache-FOP-tp38068p38079.html
Sent from the FOP - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xxxxxxxxxxxxxxxxxxxxxx
For additional commands, e-mail: fop-users-help@xxxxxxxxxxxxxxxxxxxxxx



Privacy