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 ivan demakov <iv...@ac-sw.com> on 2001/08/27 06:46:14 UTC

fo:leader with start-indent

i try to get table of content like

   level 1.........................1
      level 2......................2
         level 3...................3

with this fo

<fo:table>
  <fo:table-column column-width="10cm"/>
  <fo:table-column column-width="1cm/>
  <fo:table-body>
    <fo:table-row>
      <fo:table-cell>
         <fo:block text-align="start" start-indent="1cm">level 1
           <fo:leader leader-pattern="dots" leader-alignment="reference-area"/>
         </fo:block>
      </fo:table-cell>
      <fo:table-cell>
        <fo:block text-align="end">1</fo:block>
      </fo:table-cell>
    </fo:table-row>

    <fo:table-row>
      <fo:table-cell>
         <fo:block text-align="start" start-indent="2cm">level 2
           <fo:leader leader-pattern="dots" leader-alignment="reference-area"/>
         </fo:block>
      </fo:table-cell>
      <fo:table-cell>
        <fo:block text-align="end">2</fo:block>
      </fo:table-cell>
    </fo:table-row>

    <fo:table-row>
      <fo:table-cell>
         <fo:block text-align="start" start-indent="3cm">level 3
           <fo:leader leader-pattern="dots" leader-alignment="reference-area"/>
         </fo:block>
      </fo:table-cell>
      <fo:table-cell>
        <fo:block text-align="end">3</fo:block>
      </fo:table-cell>
    </fo:table-row>
  </fo:table-body>
</fo:table>


and i get

   level 1......................   1
      level 2................      2
         level 3..........         3

              (look here   ^^^^^^)


-- 
ivan

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org