Hi Georg,

Georg Datterl wrote:
> Hi everybody,
> 
> Todays question is quite simple, I hope. I have a block covering two pages. 
> This block is full of content and basically takes all the available space. 
> Now I want to know the last page number. Being an experienced FOP mailing 
> list reader, I know, I can use id="end-of-document". 
> 
> But where? 
> Setting the id on the big block gives a wrong result, obviously, since the id 
> is at the beginning of the block, page 1 instead of page 2. 
> But adding a new block with only an id gives a wrong result too, since the 
> block is placed on a new third page. 
> Keeping the block on the same page as the previous block pulls the last 
> content of the first block (depending on widows-setting) on the next page.
> Is there a way to define a zero height block, so it will still be generated 
> on the first page? line-height="0pt" and block-progression-dimension="0pt" 
> don't change a thing.

Are you sure your block really is empty? Normally, doing the following
works:
<fo:block id="last-page"/>

Vincent


> Regards,
>  
> Georg Datterl
>  
> ------ Kontakt ------
>  
> Georg Datterl
>  
> Geneon media solutions gmbh
> Gutenstetter Straße 8a
> 90449 Nürnberg
>  
> HRB Nürnberg: 17193
> Geschäftsführer: Yong-Harry Steiert 
> 
> Tel.: 0911/36 78 88 - 26
> Fax: 0911/36 78 88 - 20
>  
> www.geneon.de
>  
> Weitere Mitglieder der Willmy MediaGroup:
>  
> IRS Integrated Realization Services GmbH:    www.irs-nbg.de 
> Willmy PrintMedia GmbH:                            www.willmy.de
> Willmy Consult & Content GmbH:                 www.willmycc.de 
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to