Hi, a shortend example(without indents): <fo:root> <fo:layout-master-set> <fo:simple-page-master master-name="firstmaster" page-height="29.7cm" page-width="21cm" margin-top="1.25cm" margin-left="2cm" margin-right="1.75cm"> <fo:region-body margin-top="4cm" margin-bottom="2cm"/> <fo:region-before extent="3.5cm"/> <fo:region-after extent="1.5cm"/> </fo:simple-page-master> <fo:simple-page-master master-name="middlemaster" page-height="29.7cm" page-width="21cm" margin-top="1.25cm" margin-left="2cm" margin-right="1.75cm"> <fo:region-body margin-top="5.5cm" margin-bottom="2cm"/> <fo:region-before extent="5.5cm"/> <fo:region-after extent="1.5cm"/> </fo:simple-page-master> <fo:simple-page-master master-name="lastmaster" page-height="29.7cm" page-width="21cm" margin-top="1.25cm" margin-left="2cm" margin-right="1.75cm"> <fo:region-body margin-top="4cm" margin-bottom="2cm"/> <fo:region-before extent="3.5cm"/> <fo:region-after extent="1.5cm"/> </fo:simple-page-master> <fo:page-sequence-master master-name="all"> <fo:repeatable-page-master-alternatives> <fo:conditional-page-master-reference master-reference="firstmaster" page-position="first" /> <fo:conditional-page-master-reference master-reference="middlemaster" page-position="rest" /> <fo:conditional-page-master-reference master-reference="lastmaster" page-position="last" /> </fo:repeatable-page-master-alternatives> </fo:page-sequence-master> </fo:layout-master-set> <!-- ############################################################### --> <!-- ############################### first ################################ --> <fo:page-sequence master-reference="firstmaster"> <!-- Header --> ... <!-- Header-Ende --> <!-- Footer --> <fo:static-content flow-name="xsl-region-after"> <fo:table width="17.25cm" font-size="8pt" table-layout="fixed"> <fo:table-column column-width="4cm"/> <fo:table-column column-width="10cm"/> <fo:table-column column-width="3cm"/> <fo:table-body> <fo:table-row> <fo:table-cell> ... </fo:table-cell> <fo:table-cell> ... </fo:table-cell> <fo:table-cell> <fo:block text-align="right">Seite <fo:page-number/> von <fo:page-number-citation ref-id="LastPage"/> </fo:block> </fo:table-cell> </fo:table-row> <fo:table-row> <fo:table-cell> <fo:block> Alle Rechte vorbehalten.</fo:block> </fo:table-cell> </fo:table-row> <fo:table-row> <fo:table-cell> <fo:block> All rights reserved.</fo:block> </fo:table-cell> </fo:table-row> </fo:table-body> </fo:table> </fo:static-content> <!-- Footer-Ende --> <fo:flow flow-name="xsl-region-body"> <fo:block > <xsl:call-template name="first" /> </fo:block> </fo:flow> </fo:page-sequence>
<!-- ############################### ################################ --> <fo:page-sequence master-reference="middlemaster"> <!-- Header --> ... <!-- Header-Ende --> <!-- Footer --> ... <!-- Footer-Ende --> <fo:flow flow-name="xsl-region-body"> <xsl:apply-templates select="test" /> </fo:flow> </fo:page-sequence> <!-- ############################### ################################ --> <!-- ############################### ################################ --> <fo:page-sequence master-reference="lastmaster"> <!-- Header --> ... <!-- Header-Ende --> <!-- Footer --> <fo:static-content flow-name="xsl-region-after"> <fo:table width="17.25cm" font-size="8pt" table-layout="fixed"> <fo:table-column column-width="4cm"/> <fo:table-column column-width="10cm"/> <fo:table-column column-width="3cm"/> <fo:table-body> <fo:table-row> <fo:table-cell> ... </fo:table-cell> <fo:table-cell> ... </fo:table-cell> <fo:table-cell> <fo:block text-align="right">Seite <fo:page-number/> von <fo:page-number-citation ref-id="LastPage"/> </fo:block> </fo:table-cell> </fo:table-row> <fo:table-row> <fo:table-cell> <fo:block> Alle Rechte vorbehalten.</fo:block> </fo:table-cell> </fo:table-row> <fo:table-row> <fo:table-cell> <fo:block> All rights reserved.</fo:block> </fo:table-cell> </fo:table-row> </fo:table-body> </fo:table> </fo:static-content> <!-- Footer-Ende --> <fo:flow flow-name="xsl-region-body"> <fo:block > <xsl:call-template name="last" /> </fo:block> <fo:block id="LastPage" /> </fo:flow> </fo:page-sequence> <!-- ############################### ################################ --> </fo:root> Regards Sven A. ROY wrote: > Hi, > I remember having tried page-position="last" 2 months ago with FOP 0.20.5, > and it didn't work. The last page footer was identical as the > page-position="rest" footer. > Do you have a working example ? I use a workaround but if > page-position="last" works, it interests me. > > Regards > > ----- Original Message ----- > From: Sven Waibel <[EMAIL PROTECTED]> > Date: Fri, 27 Aug 2004 11:32:37 +0200 > To: [EMAIL PROTECTED] > Subject: Re: Create special Last Page > > >>Hi, >> >>i have a last page too and i use page-position="last" and it works. >> >>Sven >> >> >> >>[EMAIL PROTECTED] wrote: >> >> >>>Hello, >>> >>>i need to create a special last page which is different to the other ones. >>>So i want to use page-position="last" and page-position="any" within the >>>conditional-page-master. >>>Now i read in the list that page-position="last" is not really implemented. >>> >>>Has anyone a workaround for this issue? >>>How is it possible to create a separate last page? >>> >>>Best regards >>>Martin >>> >> >> >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: [EMAIL PROTECTED] >>For additional commands, e-mail: [EMAIL PROTECTED] >> > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]