Hi Vincent, 

Yes, I am pretty sure. This is what I get from the area tree:

<regionBody ipd="235276" bpd="364253" ipda="235276" bpda="364253" bap="0 0 0 0" 
is-reference-area="true" name="xsl-region-body" ctm="[1.0 0.0 0.0 1.0 22677.0 
28346.0]">
        <beforeFloat/>
        <mainReference ipd="0" bpd="0" bap="0 0 0 0" is-reference-area="true">
                <span ipd="235276" bpd="0" ipda="235276" bap="0 0 0 0" 
is-reference-area="true">
                        <flow ipd="235276" bpd="0" ipda="235276" bap="0 0 0 0" 
is-reference-area="true">
                                <block ipd="235276" bpd="0" ipda="235276" 
bap="0 0 0 0" prod-id="end-of-document"/>
                        </flow>
                </span>
        </mainReference>
        <footnote top-offset="0"/>
</regionBody>

Looks empty and zerosized to me. Only on the wrong page. If there's no obvious 
reason, I'll prepare a testcase. Without tables!

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 
-----Ursprüngliche Nachricht-----
Von: Vincent Hennebert [mailto:[email protected]] 
Gesendet: Donnerstag, 21. Januar 2010 18:18
An: [email protected]
Betreff: Re: zero height block

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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to