xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Bowditch <bowditch_ch...@hotmail.com>
Subject Re: Problem with repeatables,
Date Mon, 22 Aug 2011 16:06:49 GMT
On 22/08/2011 16:38, Theresa Jayne Forster wrote:


Hi Theresa,

> 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?
>

It's difficult to tell with just an XSLT snippet. Can you provide the 
XSL-FO instead? You can use the -foout command line option to get the 
XSL-FO. The problem should be much easier to spot in the XSL-FO, rather 
than looking at lots of formulas with unknown values

Thanks,

Chris

> Kindest regards
>
>
> Theresa Forster
>
> Senior Software Developer
>


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message