Re: XSL:FO: Left ... Center ... Right

Subject: Re: XSL:FO: Left ... Center ... Right
From: Stephen Deach <sdeach@xxxxxxxxx>
Date: Sat, 16 Oct 1999 16:49:21 -0700
This would not exactly center the word "Centre". It would be a reasonable
expectation that it would generate equal-length inline-rules.
Three samples:
.................................................
.                                               .
.L                      C                      R.
.                                               .
.L           C           Bunch of stuff on right.
.                                               .
.Bunch of stuff on left side        C          R.
.                                               .
.................................................


The desired result can be created using position="absolute" or using a table.
(There may be other ways.)




At 22:09 1999-10-16 +0100, you wrote:
>What would FO fiends say is the right way of expressing
>
>Left               Centre                 Right
>
>in (for instance :-}) a running head?
>
>What I am using now is 
>
>        <fo:static-content flow-name="xsl-after">
>          <fo:block>
>           <fo:linline-sequence>Left</fo:linline-sequence>
>           <fo:inline-rule rule-thickness="0pt"/>
>           <fo:linline-sequence>Centre</fo:linline-sequence>
>           <fo:inline-rule rule-thickness="0pt"/>
>           <fo:linline-sequence>Right</fo:linline-sequence>
>          </fo:block>        
>        </fo:static-content>
>
>(based on a clue from Paul T). Is this plausible, or am I abusing the
>system? I'd be glad to hear how other FO writers plan to style such
>examples. 
>
>sebastian
>
>
> XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>
>

-----------------------------------------------------------------------------
This e-mail reflects the personal opinion of the author.
 -- Unless explicitly so stated in the text, it does not represent an
    official position of Adobe Systems, Inc.
 -- Unless explicitly so stated in the text, it does not represent an
    official opinion of the W3C XSL Working group.
-----------------------------------------------------------------------------
  Stephen Deach                            |  Sr Computer Scientist
  408-536-6521 (office)                    |  Adobe Systems Inc.
  408-537-4214 (fax)                       |  Mail Stop E15-420
  sdeach@xxxxxxxxx                         |  345 Park Ave
                                           |  San Jose, CA 95110-2704
                                           |  USA
-----------------------------------------------------------------------------


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


Current Thread