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:layout-master-set> <fo:page-sequence-master master-name="pages"> <fo:repeatable-page-master-alternatives> <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:repeatable-page-master-alternatives> </fo:page-sequence-master> <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"/> </fo:block> </fo:static-content> ... 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. David [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 http://www.star.net.uk/stats.asp XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Alternating headers and footers, Juan R. Migoya | Thread | Re: Alternating headers and footers, Juan R. Migoya |
Alternating headers and footers, Juan R. Migoya | Date | RE: Equivalent of a Global Counter, Kay Michael |
Month |