[xep-support] leader in TOC

Alexander Peshkov peshkov at renderx.com
Fri Jan 16 01:30:12 PST 2004


Hello Clujean,

You have to add text-align-last="justify" to the block that encloses
fo:leader in order to make leader stretch to all available width.

Best regards,
Alexander Peshkov                             mailto:peshkov at renderx.com
RenderX


Cac> Hello all,
Cac> I'm working on a table of contents and created a table with 2 columns, one for the TOC entry and the second column for the page number.  The TOC entry is composed of a link, additional text and
Cac> I would like to fill in the rest of the columns with dots.  I can't seem to get that to work (only see 2 dots).  Even if I remove the additional text that follows after the link, I still don't
Cac> get the desired result (a line of dots).  I kindly ask for any suggestion you might have.  Thanks,
Cac> Narcis
Cac> Longmont, Colorado
Cac> clujean at aol.com

Cac> <fo:table-row>
Cac>  <fo:table-cell>
Cac>   <fo:block text-align="start">
Cac>    <!-- Link -->
Cac>    <fo:basic-link text-decoration="underline" color="blue">
Cac>     <xsl:attribute name="internal-destination">def_<xsl:value-of select="def_num"/></xsl:attribute>                              
Cac>     <xsl:value-of select="name" /> 
Cac>    </fo:basic-link>
Cac>    <!-- Additional text -->
Cac>    <xsl:text>def #</xsl:text><xsl:value-of select="def_num" />
Cac>    <!-- Line of dots going to the end of this column - DOESN'T WORK -->
Cac>    <fo:leader leader-pattern="dots" leader-pattern-width="5pt"leader-alignment="reference-area"/>
Cac>   </fo:block>
Cac>  </fo:table-cell>

Cac>  <fo:table-cell>
Cac>   <fo:block>
Cac>    <fo:page-number-citation>
Cac>     <xsl:attribute name="ref-id">def_<xsl:value-of select="def_num"/></xsl:attribute>
Cac>    </fo:page-number-citation>
Cac>   </fo:block>
Cac>  </fo:table-cell>
Cac> </fo:table-row>  


Cac> -------------------
Cac> (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
Cac> in the body of the message to majordomo at renderx.com from the address
Cac> you are subscribed from.
Cac> (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html


-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html



More information about the Xep-support mailing list