Hi all,

i have a question concering the use of leaders in a toc to create some dots 
between Chaptername and page number like:

1. Chapter1 .................. 1
1.1 Subchapter 1.1 ....... 2

and so on.

I have updated this day on fop0.20.5.rc3a and since then my leader doesn't 
generate dots correctly.

Formerly i generated the dots with the following code.

                <fo:table-cell>
                        <fo:block text-align="left">
                                <fo:basic-link color="blue" 
internal-destination="{concat($gfLinkId,generate-id())}">
                                        <xsl:value-of select="@gp_bezeichnung"/>
                                </fo:basic-link>                                
                
                                <xsl:text>   </xsl:text>
                                <fo:leader leader-pattern="dots"/>
                        </fo:block>
                </fo:table-cell>
                <fo:table-cell>
                        <fo:block text-align="right">
                                <fo:page-number-citation 
ref-id="{concat($gfLinkId,generate-id())}"/>
                        </fo:block>
                </fo:table-cell>

The dots where generated up to the end of the table-cell.

Now the same code produces only 4 dots. 

I have read in the spec the following: 
"If it is desired that the leader should stretch to fill all available space on 
a line, the maximum length of the leader should be specified to be at least as 
large as the column width"
That's what i really want to do.

I have tested this with the actual fop-version, but the effect was that nothing 
changed and "only" 4 dots are produced.

Thank you all in advance.

Mark

P.S.: The page-number alignment now works great, thanks to the developer who 
does this :-))

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to