W3C home > Mailing lists > Public > www-xsl-fo@w3.org > August 2011

Re: Two fo:block on the same line

From: Mansour Al Akeel <mansour.alakeel@gmail.com>
Date: Sun, 7 Aug 2011 15:14:46 -0400
Message-ID: <CAFvvX=ZzRoDYZA4rOk55FEWXRMDUxRxv1oZPEbhv5u2juf2ZCw@mail.gmail.com>
To: Tony Graham <tgraham@mentea.net>
Cc: www-xsl-fo@w3.org
Tony, thank you. But there many things I don't understand here.


fo:list-block containing a single fo:list-item with one block in the
> fo:list-item-label and the other in the fo:list-item-body.
>
> One fo:block containing a fo:float containing the other fo:block.
>
> Two fo:inline-container with fixed width with a fo:leader between them or
> with 'text-align="justify"' on their containing fo:block.
>
> Where do the fo:inline-container go ?


> Two absolutely-positioned fo:block-container, e.g. inside another
> fo:block-container that establishes their ancestor reference area.
>
>
Is this another method ?


> Use a two-column layout where every other top-level fo:block has
> 'span="all"' and your second fo:block has 'break-before="column"' (and/or
> the first one has 'break-after="column"').
>
>
All I needed is a two columns in the first place. One on the left and the
other on the right.
But don't know how to get the two column-layout.
Here's what I got from your reply:
<fo:list-block>
            <fo:list-item>
                <fo:list-item-label>
                <fo:block>
                    <fo:float>
                    <fo:block>
                        My Left Block of text
                    </fo:block>
                    <fo:block>
                        With additional Lines
                    </fo:block>
                    </fo:float>
                </fo:block>
                </fo:list-item-label>
                <fo:list-item-body>
                <fo:block>
                    The other Block
                </fo:block>
                </fo:list-item-body>
            </fo:list-item>
            </fo:list-block>

I don't know if I missed something ?



> If those block are all there is on a special page, use a flow-map with
> each block directed to a different region.
>
> Regards,
>
>
> Tony Graham                                   tgraham@mentea.net
> Consultant                                 http://www.mentea.net
> Mentea       13 Kelly's Bay Beach, Skerries, Co. Dublin, Ireland
>  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --
>    XML, XSL FO and XSLT consulting, training and programming
>
>
>
Received on Sunday, 7 August 2011 19:23:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 7 August 2011 19:23:02 GMT