Hi Chris,

You are right. The line breaks are inserted before. But the area containing the 
page number fits the actual number, so there's a resize after everything is 
layouted. I'd assume, a kind of LineLayoutManager is called again after the 
pages are generated. Maybe calling a BlockLayoutManager too would remove the 
space and calling the PageLayoutManager would result in an endless loop.

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: Chris Bowditch [mailto:[email protected]] 
Gesendet: Freitag, 6. März 2009 11:29
An: [email protected]
Betreff: Re: AW: AW: AW: Index and Pagenumbers

Georg Datterl wrote:

Hi Georg,

> Hi Andreas,
> 
> Looks (surprisingly) good to me.  I tried the same with a background color 
> for page-number-citation and the space between the text is from the 
> alignment, not the page-number-citation block. Using page numbers > 100 still 
> works, so the block at least is layouted after all page numbers are 
> available, not with a reserved 3M-Space. 

I'm not sure I agree with you. If the space came purely from the justification 
then why doesn't FOP put more of the citations on each line. In fact I think 44 
citations with a single digit each should fit on one line.

Regards,

Chris

> 
> 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: Andreas Delmelle [mailto:[email protected]]
> Gesendet: Donnerstag, 5. März 2009 20:46
> An: [email protected]
> Betreff: Re: AW: AW: Index and Pagenumbers
> 
> On 05 Mar 2009, at 20:31, Andreas Delmelle wrote:
> 
> 
>>><snip />
>>>I think, if one would take the time to artificially generate a first 
>>>page-sequence with pages containing a lot of citations pointing 
>>>towards the end of the document, you would already see side-effects 
>>>to some extent. The actual page-numbers cannot be resolved before the 
>>>line-breaks are computed, so... and here I'm not entirely certain. I 
>>>have not yet run such test extensively myself.
> 
> 
> FWIW, just ran the quickest test I could think of... see attachment PDF for 
> the result of:
> 
> <root xmlns="http://www.w3.org/1999/XSL/Format"; >
>   <layout-master-set>
>    <simple-page-master page-height="11in"
>         page-width="8.5in"
>         margin-left="1in"
>         margin-right="1in"
>         margin-top="2in"
>         margin-bottom="2in"
>         master-name="foo">
>     <region-body/>
>    </simple-page-master>
>   </layout-master-set>
>   <page-sequence master-reference="foo">
>    <flow flow-name="xsl-region-body">
>      <block text-align="justify" id="block-1">
>        <page-number-citation ref-id="block-2"/>,
>        <!-- repeat x 44 -->
>        <page-number-citation ref-id="block-2"/>
>      </block>
>    </flow>
>   </page-sequence>
>   <page-sequence master-reference="foo">
>    <flow flow-name="xsl-region-body">
>      <block id="block-2">This is the block we point to</block>
>    </flow>
>   </page-sequence>
> </root>
> 
> 
> ---------------------------------------------------------------------
> 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