xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Georg Datterl" <georg.datt...@geneon.de>
Subject AW: AW: AW: Index and Pagenumbers
Date Fri, 06 Mar 2009 09:24:30 GMT
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. 

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:andreas.delmelle@telenet.be] 
Gesendet: Donnerstag, 5. März 2009 20:46
An: fop-users@xmlgraphics.apache.org
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: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message