Re: Alternating headers and footers

Subject: Re: Alternating headers and footers
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 15 Nov 2000 10:10:32 GMT
> The problem is that the page-master fo doesn't allow to especify any content
> (as it must be). Then you only can specify diferent margins for even and odd
> pages and region extents. 

No you can also specify different static contents for the  different
page masters, something like

<fo:page-sequence-master master-name="pages">
<fo:conditional-page-master-reference odd-or-even="odd" master-name="right"/>
<fo:conditional-page-master-reference odd-or-even="even" master-name="left"/>

<fo:simple-page-master master-name="right" margin-top="16mm"
  margin-bottom="80mm" margin-left="39mm" margin-right="17mm">
<fo:region-body margin-top="0mm" margin-bottom="0mm"/>

<fo:region-after extent="5mm" region-name="xsl-region-after-right"/>

<fo:static-content flow-name="xsl-region-after-right">
<fo:block text-align="justify" font-size="10pt">
<fo:retrieve-marker retrieve-class-name="np-number"/>
<fo:leader rule-thickness="0pt"/>
<fo:page-number format="1"/>


so here in the specification for the "right" pages in the alternating
sequence the footer is specified to use the flow named
xsl-region-after-right which is defined to do something with
some font setup and obtaining some text from a marker and from the
page number.


[I think this is the first time I've attempted answering an FO question
on this list:-]

This message has been checked for all known viruses by Star Internet delivered
through the MessageLabs Virus Control Centre. For further information visit

 XSL-List info and archive:

Current Thread