Loading ...
Sorry, an error occurred while loading the content.

Re: [XSL-FO] Leader questions

Expand Messages
  • Eliot Kimber
    ... Hmm, my first instinct is to make each TOC entry a block container with an explicit inline progression dimension reflecting where you want the numbers to
    Message 1 of 2 , Jun 22, 2005
    • 0 Attachment
      arianhojat2000 wrote:
      > Hello all,
      > I was just curious if there was a way to pretend to this...
      >
      > Chapter Leaders: from where-ever you start, goto 65% of doc width.
      > SubChapter Leaders: from where ever you start, goto 50%.
      >
      >
      > 65%
      > | Chapter1:asdasd...............4 |
      > | SubChapterA:a.........5 |
      > | SubChapterB:asd.......6 |
      > | SubChapterC:asdf......7 |
      > | Chapter2:as...................8 |
      > | Chapter3:asdfasdfas...........8 |

      Hmm, my first instinct is to make each TOC entry a block container with
      an explicit inline progression dimension reflecting where you want the
      numbers to end, e.g.:

      <fo:block-container
      inline-progression-dimension="65%">
      <fo:block
      text-align-last="justify">Chapter1:asdasd<fo:leader/>4</fo:block>
      <fo:block-container
      inline-progression-dimension="45%">
      <fo:block
      start-indent="1.5pc"
      text-align-last="justify">SubChapterA:a<fo:leader/>5</fo:block>
      </fo:block-container>
      </fo:block-container>

      >
      > Also another small question:
      > Controlling dot thickness. Seems like rule-thickness attribute will
      > make a leader width bigger but not for a 'dot' type. Is this true?

      Use a larger font size on the leader.

      Cheers,

      E.
      --
      W. Eliot Kimber
      Professional Services
      Innodata Isogen
      9390 Research Blvd, #410
      Austin, TX 78759
      (512) 372-8155

      ekimber@...
      www.innodata-isogen.com
    Your message has been successfully submitted and would be delivered to recipients shortly.