W3C home > Mailing lists > Public > www-xsl-fo@w3.org > February 2002

Re: newbie: setting inline widths using FOP?

From: Dave Pawson <DaveP@dpawson.freeserve.co.uk>
Date: Mon, 25 Feb 2002 17:56:05 +0000
Message-Id: <5.1.0.14.2.20020225175434.0223f2b8@127.0.0.1>
To: Cyril Rognon <crognon@objectiva.fr>, www-xsl-fo@w3.org
At 18:11 26/02/2002 +0100, Cyril Rognon wrote:
>to achieve what you want you could use fo:leader, with the white space 
>leader pattern and place a new leader between each bit of text.
>
>something like :
>
><fo:block>
>         <fo:inline>the first bit of text</fo:inline>
>         <fo:leader leader-length="20mm" leader-pattern="space" />
>         <fo:inline>the second bit of text</fo:inline>
>         <fo:leader leader-pattern="space" leader-length="20mm" />
>         <fo:inline>the third bit of text</fo:inline>
></fo:block>

And its not really portable.
the more flexible option, of using fo:leader as 'rubber' space as per tex
is not implemented consistantly, i.e. its not defined hard enough in the 
rec :-)
It is needed though. Think of left, center and right headers?

My 0.02euro's worth.

Regards DaveP
Received on Tuesday, 26 February 2002 12:56:13 GMT

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