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

page break

From: Emmanuel Dupouy <Emmanuel.Dupouy@valtech.fr>
Date: Tue, 19 Jun 2001 14:07:49 +0200
Message-ID: <43F96F0CC409D3118F1B00105A662FA501BE21B7@mailvp.valtech.fr>
To: www-xsl-fo@w3.org
Hi,

I'm working with xsl:fo to generate pdf reports.

The reports is composed of different blocks that could be bigger than a
page. In this case I would like to add a message at the bottom of the page
and another one on the top of the following page. 

Something like this : 
 _________________________________________________________________
| blablablabalablabla | blablablabalablabla | blablablabalablabla |
| blablablabalablabla | blablablabalablabla | blablablabalablabla |
| blablablabalablabla | blablablabalablabla | blablablabalablabla |
	
Continued on page (n)


------------------------------<PAGE BREAK/>------------------------

Begined on page (n-1)

| blablablabalablabla | blablablabalablabla | blablablabalablabla |
| blablablabalablabla | blablablabalablabla | blablablabalablabla |
| blablablabalablabla | blablablabalablabla | blablablabalablabla |
|_________________________________________________________________|

I've found lot's of thing about page break like : overflow, break-before,
break-after...
In fact I  would like to catch the page break event and write something a
this moment. 
Do you think it is possible to do this with xsl:fo.

Another question is how could I know the total page number. I would like to
put it on the bottom of each page like this : 2/30 - 3/30...
I wonder if it is possible too because the processor instantiate pages on
the flow.

My processor is FOP 0.19.

Thanks in advance for any help.

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 Tuesday, 19 June 2001 08:26:05 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:08 GMT