Subject:using different margin settings in Author:push singh Date:27 Mar 2006 03:36 AM
i have a master.xsl which is used to generate the word document,
in my case, my requirement is to pick a specific margin settings depending upn the value of <fo:page-sequence>, but some how specifications always picks the last margin settings i.e. in the followings
if the <fo:layout-master-set> tag has more than one <fo:simple-page-master> tags, it always picks the last margin settings no matter what is provided through <fo:page-sequence master-reference=" ">
Although I have tried few things including the following one inside the </fo:layout-master-set> tag
</fo:page-sequence-master>
<fo:page-sequence-master master-name="content">
<fo:single-page-master-reference master-name="content"/>
</fo:page-sequence-master>
but it also didn’t work out and the issue still persists. Please help me out. if you have any inputs.
Subject:using different margin settings in Author:Lisa Bergqvist Date:27 Mar 2006 08:07 AM
Hi,
I havent tried different layouts yet,but will soon, but the structure that should work is as below:
The page-sequence is defined after the layout-master set end tag, and the flow is following. Is that how you do it?
<fo:root>
<fo:layout-master-set>
<!--A4 format is defined in simple-page-master-->
<fo:simple-page-master master-name="A4" page-width="210mm" page-height="297mm" margin-top="1cm" margin-bottom="1cm" margin-left="1cm" margin-right="1cm">
<fo:region-body margin="3cm"/>
<fo:region-before extent="2cm"/>
<fo:region-after extent="2cm"/>
<fo:region-start extent="2cm"/>
<fo:region-end extent="2cm"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="A4">
<fo:flow flow-name="xsl-region-body">
Subject:using different margin settings in Author:push singh Date:27 Mar 2006 08:58 AM
thanks for ur reply.
Although i am following the same pattern.
but some how it does not work.if something else come across ur way please do send me also.:)