W3C home > Mailing lists > Public > www-xsl-fo@w3.org > March 2003

RE: Filling space with a character

From: Rob Staveley \(Tom\) <rstaveley@seseit.com>
Date: Thu, 6 Mar 2003 11:04:44 -0000
To: "'Oleg Tkachenko'" <olegt@multiconn.com>
Cc: <www-xsl-fo@w3.org>
Message-ID: <003c01c2e3d0$34b40170$b433a8c0@max>

...however, it cannot cope with variable lengths on the right hand side,
unless I'm being fooled by a bug in Fop.

I can see how to use <fo:leader> to get dots to go from the and of a block
to a fixed location, but how to you vary the location according to the
length of the information on the right hand side of the index?

i.e. how would you create the following tidily?

	left left left .....................................right right
right
	left........................................................right
right right
	left left left
......................................................... right

-----Original Message-----
From: www-xsl-fo-request@w3.org [mailto:www-xsl-fo-request@w3.org] On Behalf
Of Rob Staveley (Tom)
Sent: 06 March 2003 09:45
To: 'Oleg Tkachenko'
Cc: www-xsl-fo@w3.org
Subject: RE: Filling space with a character



That's an excellent reference. Many thanks Oleg :-)

-----Original Message-----
From: www-xsl-fo-request@w3.org [mailto:www-xsl-fo-request@w3.org] On Behalf
Of Oleg Tkachenko
Sent: 05 March 2003 18:13
To: Rob Staveley (Tom)
Cc: www-xsl-fo@w3.org
Subject: Re: Filling space with a character



Rob Staveley (Tom) wrote:
> I'd like to be able to generate an index page on a catalogue, which
> looks like this:
> 
> 	Widgets........................................12,13,44
> 
> 	Thingummies..........................................99
> 
> 	Whatnots that need a long-winded
> 	description...................................100,102
> 
> The names are left-justified, numbers are right-justified and dots
> bridge the gap.
See "Indexing and Tables of Contents" at Dave Pawson's book - 
http://www.dpawson.co.uk/xsl/sect3/bk/ch12.html#d0e5483.
-- 
Oleg Tkachenko
Multiconn Technologies, Israel
Received on Thursday, 6 March 2003 06:13:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:10 GMT