W3C home > Mailing lists > Public > www-xsl-fo@w3.org > June 2001

RE: page break

From: Emmanuel Dupouy <Emmanuel.Dupouy@valtech.fr>
Date: Fri, 22 Jun 2001 13:54:05 +0200
Message-ID: <43F96F0CC409D3118F1B00105A662FA501BE284B@mailvp.valtech.fr>
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: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"
			<fo:region-before extent="8cm"/>
			<fo:region-after extent="1cm"/>
		<fo:page-sequence-master master-name="content">
	<fo:page-sequence master-name="content">
		<fo:static-content flow-name="xsl-region-after">
			<fo:wrapper font-family="Futura" font-size="10pt"
				<!-- 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
		<fo:flow flow-name="xsl-region-body">
		<!-- Lot of stuf here...-->
		<fo:block id="lastBlock"/>


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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:58:25 UTC