This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: fo:leader for table of contents


David Carlisle <davidc@nag.co.uk> wrote:
> 
> By dynamic do you just mean that you want the leaders to be as long as
> possible? If so that is the default behaviour, 
> just <fo:leader leader-pattern="dots"/> will expand as long as necessary
> up to leader-length.maximum (which defaults to 100%).

i think it's not enough.
text-align-last="justify" is needed for the containing block.
if "justify" is not specified, naturally leader-length.optimum value is used.

See the XSL CR spec:

| 7.20.4 "leader-length"
| XSL Definition:
| 
| Value:  <length-range> | inherit 
| Initial:  leader-length.minimum=0pt, .optimum=12.0pt, .maximum=100%  
:                                      ^^^^^^^^^^^^^^^
:
| NOTE: 
| User agents may choose to use the value of "leader-length.optimum" to 
| determine where to break the line, then use the minimum and maximum 
| values during line justification."
         ^^^^^^^^^^^^^^^^^^^^^^^^^

Shinyu

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]