Hi Ian, I do have only a two-cell table, with the first cell to carry the heading with the leader dots and the second cell with the page number. My code is as follows. But still i'm not getting the leader dots as required <fo:table space-before.optimum="18pt"> <fo:table-column column-width="6.5in" /> <fo:table-column column-width="0.4in"/> <fo:table-body font-family="sans-serif"> <fo:table-row font-weight="normal" font-size="9pt" line-height="12pt" space-before.optimum="3pt" space-after.optimum="3pt"> <fo:table-cell> <fo:block text-align="start" start-indent="{1.3+count(ancestor-or-self::chapter)*0.2}in" keep-together.within-line="always"> <fo:basic-link internal-destination="{generate-id(.)}" > <!-- Will call someother template to generate the page-numbers --> </fo:basic-link> <fo:leader text-align="justify" leader-pattern="dots" leader-pattern-width="5pt" leader-alignment="reference-area" leader-length.maximum="10cm"/> </fo:block> </fo:table-cell> </fo:table-row> </fo:table-body> </fo:table>
I get an output as follows HEADER--------------- -------------- 1 Chapter1---------------- 2 Section1----------- 3 Section2----------- 4 I'm still not able to solve this problem. Please reply with an appropriate solution Regds, MEena **************************************************************************** ********** ----- Original Message ----- From: "Ian Larner" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 02, 2002 5:51 PM Subject: Regarding fo:leader Meena, The length and position of the leader before the page number depends on several factors. My XSL builds my TOC as a two-cell table, with the following style of row for each entry. The first cell creates the text with a following leader up to the start of the second cell that has the page number. If you put both in the same cell (or outside a table), I think that the leader woul go right up to the page number. Also, you can change the leader pattern and alignment if it better suits your needs. <fo:table-row line-height="12pt"> <fo:table-cell> <fo:block font-weight="bold" start-indent="0pt"> <fo:basic-link color="black" internal-destination="cxbkpcon.xml">ActiveX to EJB bridge concept articles</fo:basic-link> <fo:leader text-align="justify" color="black" leader-pattern="dots"/> </fo:block> </fo:table-cell> <fo:table-cell> <fo:block text-align="end"> <fo:page-number-citation ref-id="cxbkpcon.xml"/> </fo:block> </fo:table-cell> </fo:table-row> Regards, Ian Ian Larner User Technologies, IBM Hursley Lab, England Internal: 246440 External: +44 1962 816440 Fax: +44 9162 816151 Mailpoint 095 email: [EMAIL PROTECTED] "The credit belongs to the man ...in the arena, (who) knowing there is no effort without ...shortcomings, actually strives to do the deeds..." Theodore Roosevelt +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Hi I've a .fo file that has fox namespace in it. When trying to create the toc, with the following code, <fo:leader leader-pattern="rule" leader-pattern-width="5pt" keep-with-next.within-line="always" /> I get the output as below chapter1-------------- section1----------- 2 section abcde--- 3 ----------------------- chapter2------------- But I require an output as follows chapter1-----------------------------------------1 section1---------------------------------------2 section2---------------------------------------3 chapter2------------------------------------------4 regds, Meena.
----------------------------------------------------------------------------------------------------------------------- Information transmitted by this E-MAIL is proprietary to Wipro and/or its Customers and is intended for use only by the individual or entity to which it is addressed, and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If you are not the intended recipient or it appears that this mail has been forwarded to you without proper authority, you are notified that any use or dissemination of this information in any manner is strictly prohibited. In such cases, please notify us immediately at mailto:[EMAIL PROTECTED] and delete this mail from your records. ------------------------------------------------------------------------------------------------------------------------