hi all,
I'm using FOP-0.20.1to generate pdf files.

I have used fo:leader in a table cell, but I don't know why the dotted line
just end, although there still have many whitespace in the cell. Are you
have any solutions for this problem?

Thanks.

The following is my xsl and the attachment of the pdf file:

<xsl:template match="division/toc">
<fo:block margin-left="1pc" margin-right="7pc" space-before="13pt"
space-after="13pt">
      <fo:table>
          <fo:table-column column-width="4.3in"/>
          <fo:table-column column-width="3.0in"/>
          <fo:table-body>

            <xsl:for-each select="cont">
                  <xsl:variable name="toc.cont.value">
                         <xsl:value-of select="."/>
                  </xsl:variable>


               <fo:table-row>
                    <fo:table-cell>
                          <fo:block xsl:use-attribute-sets
="division.toc.style">
                             <!--
                             <xsl:value-of select="substring-before
($toc.cont.value,'&lt;ref&gt;')"/>
                             -->
                             <xsl:value-of select="tc"/>
                             <fo:leader leader-pattern="rule" rule-style
="dotted" leader-alignment="reference-area"/>
                          </fo:block>
                    </fo:table-cell>
                    <fo:table-cell>
                          <fo:block text-align="start"
xsl:use-attribute-sets="division.toc.style">
                                 <xsl:value-of select="ref"/>
                          </fo:block>
                    </fo:table-cell>
               </fo:table-row>
            </xsl:for-each>
          </fo:table-body>
      </fo:table>
</fo:block>
</xsl:template>


(See attached file: dobaindia.pdf)

best rgds,
ektan








Attachment: dobaindia.pdf
Description: Adobe Portable Document

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

Reply via email to