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

Re: newbie: setting inline widths using FOP?

From: Cyril Rognon <crognon@objectiva.fr>
Date: Wed, 27 Feb 2002 10:23:45 +0100
Message-Id: <5.1.0.14.2.20020227101418.00ac7118@pop.pro.proxad.net>
To: www-xsl-fo@w3.org
Dave,

you are right, my proposal is definitely not portable. If all the REC were 
implemented by a high number of fo processors, I would have used something 
very close from what you have written in your online fo intro, using 
fo:leader to fill the space with harmony. (for other readers : see 
http://www.dpawson.co.uk/xsl/sect3/bk/ch08.html, example 8.15).

unfortunately, we have to use workarounds until the REC is implemented. I 
look forward to this day.

Our today option is to make our code ready to follow the REC implementation 
to come. If one uses an ugly workaround instead of a clean would be REC 
compliant code, one should wrap it in a specific xsl template that will be 
easily updated without changing anything else.

Thanks for pointing this out Dave. Your .02euros were nicely spent :))

Regards
Cyril

At 17:56 25/02/2002 +0000, you wrote:
>>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 Wednesday, 27 February 2002 04:20:52 GMT

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