To produce a dotted you can use the element
<fo:leader />
like this

<fo:block text-align-last="justify">
  Chapter 1 <fo:leader leader-pattern = "dots"/> 1 
</fo:block>



kralik wrote:
> I have problem in FOP Trunk.
> I am trying to make Table Of Contents to look like this (but not with
> using "pre"):
> TOC
> 1 chapter1name . . . . . . . . . . . . . . . . . . . . . . . .  1
>    1.1 subchapter1name . . . . . . . . . . . . . . . . . . . .  1
>    1.2 subchapter2name . . . . . . . . . . . . . . . . . . . .  2
>    1.3 subchapter3name . . . . . . . . . . . . . . . . . . . .  3
> 2 chapter2name . . . . . . . . . . . . . . . . . . . . . . . .  4
>    2.1 subchapter1name . . . . . . . . . . . . . . . . . . . .  5
>       2.1.1 subsubchapter1name . . . . . . . . . . . . . . . .  7
>       2.1.2 subsubchapter2name . . . . . . . . . . . . . . . .  9
>    2.2 subchapter2name . . . . . . . . . . . . . . . . . . . . 11
>    2.3 subchapter3name . . . . . . . . . . . . . . . . . . . . 12
>   
> Beginnings of each line are OK (I am using text-indent), but on the
> right side I am getting a bit strange alignment
> (text-align-last="justify" seems works incorectly):
> TOC
> 1 chapter1name . . . . . . . . . . . . . . . . . . . . . . . . 1
> 1.1 subchapter1name . . . . . . . . . . . . . . . . . . . . 1
> 1.2 subchapter2name . . . . . . . . . . . . . . . . . . . . 2
> 1.3 subchapter3name . . . . . . . . . . . . . . . . . . . . 3
> 2 chapter2name . . . . . . . . . . . . . . . . . . . . . . . . 4
> 2.1 subchapter1name . . . . . . . . . . . . . . . . . . . . 5
> 2.1.1 subsubchapter1name . . . . . . . . . . . . . . . . 7
> 2.1.2 subsubchapter2name . . . . . . . . . . . . . . . . 9
> 2.2 subchapter2name . . . . . . . . . . . . . . . . . . . 11
> 2.3 subchapter3name . . . . . . . . . . . . . . . . . . . 12
>
> Any idea, how to repeat this?
> Thanks, Pavel Tyl
> ------------------------------------------------------------------------
> View this message in context: TOC problem with text-align-last
> <http://www.nabble.com/TOC-problem-with-text-align-last-t1432522.html#a3864138>
> Sent from the FOP - Users
> <http://www.nabble.com/FOP---Users-f353.html> forum at Nabble.com.

-- 
Johannes Künsebeck
Heeper Str. 52
33607 Bielefeld

0521 / 5202341
[EMAIL PROTECTED]


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

Reply via email to