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

RE: page break

From: Emmanuel Dupouy <Emmanuel.Dupouy@valtech.fr>
Date: Wed, 20 Jun 2001 18:47:28 +0200
Message-ID: <43F96F0CC409D3118F1B00105A662FA501BE2527@mailvp.valtech.fr>
To: Max Froumentin <mf@w3.org>
Cc: www-xsl-fo@w3.org
Thanks for your help, I did the current page/total page presentation like
this

-put at the end of the document a block with an id like this : 
<fo:block id = "lastBlock"/>

-refer to it like this : 
<fo:page-number-citation ref-id = "lastBlock"/>

And it works fine.

My problem of big block what I want to do is that in case if a block or
table bigger than a page, this block will be cut into two parts.
I would like to put a message at the end of the page where the block is cut.
This message could be this "Table continue on page N". And at the beginning
of the following page, before the rest of the block I would like to put
another message : "End of the table which begin on page N-1".

Excuse my English it's not my mother tongue...

...Sometimes clients requirements are hard to implement...

So if anybody have an idea please, help me.

Many thanks in advance.

Emmanuel

PS: 
>Will you sue me for having replied to this message? And what does
>'iconfidential' mean? ;-) 
Iconfidential seems to be related with 007 ;-) 

-----Message d'origine-----
De : Max Froumentin [mailto:mf@w3.org]
Envoyé : mercredi 20 juin 2001 18:30
À : Emmanuel Dupouy
Cc : www-xsl-fo@w3.org
Objet : Re: page break


Emmanuel Dupouy <Emmanuel.Dupouy@valtech.fr> writes:

> 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.

I'm not sure why you need to do this, given that you can't have a
block that's continued anywhere but on the next page (or can you?)

> 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.

AFAIK you can't "catch the break event" other than getting the page
number using fo:page-number.

> 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 never did it but something like putting a fo:page-marker at the very
end of your flow and referencing it on every page should do the trick.

> I wonder if it is possible too because the processor instantiate pages on
> the flow.

I guess that markers, like with footnotes, could cause interesting
non-converging behaviour in formatters. 

> 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. 

Will you sue me for having replied to this message? And what does
'iconfidential' mean? ;-) 


========================================================================= 
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 Wednesday, 20 June 2001 13:05:52 GMT

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