xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Theresa Jayne Forster" <ther...@inbrand.co.uk>
Subject Problem with repeatables,
Date Mon, 22 Aug 2011 15:38:20 GMT
I may be making a stupid mistake but I can't see whats the problem, I have
the following

<fo:layout-master-set>

                <fo:simple-page-master master-name="a4flyer"
page-width="{$bleed + $pageWidth + $bleed}mm" page-height="{$bleed +
$pageHeight +$bleed}mm"  >

                                <fo:region-body
region-name="xsl-region-body" margin-top="{$bleed + $headerHeight - 5}mm"
margin-bottom="{$bleed + $footerHeight}mm" margin-left="{$bleed + 15}mm"
margin-right="{15 + $bleed}mm" column-count="2" column-gap="4mm"
z-index="4"/>

                                <fo:region-before
region-name="xsl-region-before" extent="{$bleed + $pageHeight+$bleed}mm"
z-index="3"/>

                </fo:simple-page-master>

                <fo:simple-page-master master-name="a4flyer2"
page-width="{$bleed + $pageWidth + $bleed}mm" page-height="{$bleed +
$pageHeight +$bleed}mm"  >

                                <fo:region-body
region-name="xsl-region-body" margin-top="{$bleed + 90}mm"
margin-bottom="{$bleed + $footerHeight + 9 }mm" margin-left="{$bleed +
15}mm" margin-right="{15 + $bleed}mm" column-count="2" column-gap="4mm"
z-index="4"/>

                                <fo:region-before
region-name="xsl-region-before2" extent="{$bleed + $pageHeight+$bleed}mm"
z-index="3"/>

                                <fo:region-after
region-name="xsl-region-after2" extent="{$footerHeight + $bleed}mm"
z-index="2"/>

                </fo:simple-page-master>

                <fo:page-sequence-master master-name="flyera4">

                                <fo:repeatable-page-master-alternatives>

 
<fo:conditional-page-master-reference master-reference="a4flyer"
page-position="first"/>

 
<fo:conditional-page-master-reference master-reference="a4flyer2"
page-position="rest"/>

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

                </fo:page-sequence-master>

</fo:layout-master-set>              

 

The first page is fine, the second page is fine - except that the margins
have not changed with the second page, and are still using the first page
margins, 

 

What am I doing wrong?

 

Kindest regards

 


Theresa Forster

Senior Software Developer



 


Mime
View raw message