- From: Emmanuel Dupouy <Emmanuel.Dupouy@valtech.fr>
- Date: Fri, 22 Jun 2001 13:54:05 +0200
- To: David Carlisle <davidc@nag.co.uk>, mf@w3.org
- Cc: www-xsl-fo@w3.org
> Yes, and Emmanuel's proposal has the same problem. When I told to put <fo:block id="lastBlock"/> at the end of the document I wanted to say that I put it just before </fo:flow>. And it work very fine. Here is the subset of the xsl:fo document which produce in the footer [current page]/[total page number]: <?xml version="1.0" encoding="ISO-8859-1"?> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> <fo:layout-master-set> <fo:simple-page-master master-name="invoice" margin-right="1.7cm" margin-left="1.7cm" margin-bottom="1cm" margin-top="1cm" page-width="21cm" page-height="29.7cm"> <fo:region-body margin-top="8cm" margin-bottom="3cm"/> <fo:region-before extent="8cm"/> <fo:region-after extent="1cm"/> </fo:simple-page-master> <fo:page-sequence-master master-name="content"> <fo:repeatable-page-master-reference master-name="invoice"/> </fo:page-sequence-master> </fo:layout-master-set> <fo:page-sequence master-name="content"> <fo:static-content flow-name="xsl-region-after"> <fo:wrapper font-family="Futura" font-size="10pt" text-align="end"> <!-- Here is the code which produce [current page]/[total page number]--> <fo:block border-before-style="solid" border-before-width="1pt">Page <fo:page-number/>/<fo:page-number-citation ref-id="lastBlock"/> </fo:block> </fo:wrapper> </fo:static-content> <fo:flow flow-name="xsl-region-body"> <!-- Lot of stuf here...--> <fo:block id="lastBlock"/> </fo:flow> </fo:page-sequence> </fo:root> Emmanuel ========================================================================= Ce message et toutes les pièces jointes sont propriété de VALTECH et susceptibles de contenir des informations confidentielles à l'intention exclusive de ses destinataires. Si vous avez reçu ce message par erreur ou si celui ci vous est parvenu incomplet ou altéré, merci d'en avertir l'expéditeur par retour.Toute utilisation, diffusion ou publication non expressément autorisée par nous par écrit est strictement interdite. -------------------------------------------------------------------------- This message and any attachments are Valtech property and may contain iconfidential information intended solely for the addressees. If your are not the intended recipient of this message or if you have received it uncomplete or altered, please notify the author by replying to his e-mail immediately. Any unauthorised use, diffusion or dissemination not expressly authorised by us in writing is strictly prohibited. ========================================================================= Copyright Valtech 2000
Received on Friday, 22 June 2001 08:12:31 UTC