You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by ek...@pg.ebx.com on 2001/10/17 11:37:57 UTC

leaders problem


hi all,

I'm using FOP-0.20.1.

I have used fo:leader with rule-style="dotted" in a table-cell's block, but
I found that there are no dotted lines be displayed. However, the dotted
lines are shown when I added attribute leader-length for the fo:leader,
why?

How can I generate the dotted line in a table-cell like the
dobaindia(FOP-19).pdf which I generated by using FOP-0.19.0 ?

The following is the xsl and a pdf files.


thanks.



<xsl:template match="division/toc">
<fo:block space-before="13pt" space-after="13pt">
      <fo:table>
          <fo:table-column column-width="4.0in"/>
          <fo:table-column column-width="1.5in"/>
          <fo:table-body>

            <xsl:for-each select="cont">

               <fo:table-row>
                    <fo:table-cell border-style="none" border-width
="0.05pt">
                          <fo:block xsl:use-attribute-sets
="division.toc.style">

                             <xsl:value-of select="tc"/>
                             <fo:leader rule-style="dotted"
leader-alignment="reference-area" leader-pattern="rule"/>
                         </fo:block>
                    </fo:table-cell>
                    <fo:table-cell border-style="none" border-width
="0.05pt" >
                          <fo:block 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>


(See attached file: dobaindia(FOP-19).pdf)


rgds,
ektan