You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Xavier DAMAY <fo...@netcourrier.com> on 2002/04/25 16:05:00 UTC

block question in multi columns area

Hello,

I've got a presentation problem, when i use the block below in a two 
column body region.
* I would like to equilibrate the two columns : Is it possible to force 
fop to cut a block to do that ?

* I use blocks to simulate carriage return : Is there another solution ?

* In the first sub-block (Le temps), I would like to place this piece of 
text lower than it does. It's placed  in the top of the blue box, and I 
would like to place it in the middle.

*I would like to have an italic and bold piece of text : what's the 
corresponding font-style ?
           <fo:block font-size="10pt" font-family="Times Roman" 
line-height="14pt" space-after.optimum="3pt" text-align="justify" 
background-color="white" span="none">
               <fo:block background-color="darkblue" text-align="center" 
color="white" font-size="20">
                   LE TEMPS
               </fo:block>
               <fo:block font-style="italic" text-align="left">
                  Bla bla bla bla
               </fo:block>
               <fo:block>
                  Bla bla bla bla
               </fo:block>
               <fo:block>
                  Bla bla bla bla
               </fo:block>
               <fo:block>
                  Bla bla bla bla
               </fo:block>
           </fo:block>

I thank you for your help !


Xavier DAMAY



Re: block question in multi columns area

Posted by Xavier DAMAY <fo...@netcourrier.com>.
Thank you Arved :)


In the case of arbitrary contents on a cocoon plateform, it would be 
very very interesting to equilibrate the bloks, mine are small because 
of the carriage return : it's not confortable to make blocks just to 
simulate carriage return.

I'm not enough confortable with this project, to help you, but I would 
like to help the french community, by translating a part of the 
documentation.

Sincerly Xavier DAMAY





Arved Sandstrom wrote:

> Hi, Xavier
> 
> Part of this I can speak about...when I put in an algorithm for column
> rebalancing (the "equilibration" you refer to, on other words) it was very
> crude, really nothing more than a placeholder. I meant to go back to it but
> never did, and as far as I know no one else has ever put in a better one.
> 
> Your blocks have very little content, so it may not look like they break
> across columns. But that they already do. It's just that the break is not
> quite in the right place.
> 
> I'll take a quick look and see if we can't do somewhat better than what we
> have at the moment.
> 
> Regards,
> Arved Sandstrom
> 
> 
>>-----Original Message-----
>>From: Xavier DAMAY [mailto:fo.user@netcourrier.com]
>>Sent: April 25, 2002 11:05 AM
>>To: fop-user@xml.apache.org
>>Subject: block question in multi columns area
>>
>>Hello,
>>
>>I've got a presentation problem, when i use the block below in a two
>>column body region.
>>* I would like to equilibrate the two columns : Is it possible to force
>>fop to cut a block to do that ?
>>
>>* I use blocks to simulate carriage return : Is there another solution ?
>>
>>* In the first sub-block (Le temps), I would like to place this piece of
>>text lower than it does. It's placed  in the top of the blue box, and I
>>would like to place it in the middle.
>>
>>*I would like to have an italic and bold piece of text : what's the
>>corresponding font-style ?
>>           <fo:block font-size="10pt" font-family="Times Roman"
>>line-height="14pt" space-after.optimum="3pt" text-align="justify"
>>background-color="white" span="none">
>>               <fo:block background-color="darkblue" text-align="center"
>>color="white" font-size="20">
>>                   LE TEMPS
>>               </fo:block>
>>               <fo:block font-style="italic" text-align="left">
>>                  Bla bla bla bla
>>               </fo:block>
>>               <fo:block>
>>                  Bla bla bla bla
>>               </fo:block>
>>               <fo:block>
>>                  Bla bla bla bla
>>               </fo:block>
>>               <fo:block>
>>                  Bla bla bla bla
>>               </fo:block>
>>           </fo:block>
>>
>>I thank you for your help !
>>
>>
>>Xavier DAMAY
>>
>>
>>
> 
> 



RE: block question in multi columns area

Posted by Arved Sandstrom <Ar...@chebucto.ns.ca>.
Hi, Xavier

Part of this I can speak about...when I put in an algorithm for column
rebalancing (the "equilibration" you refer to, on other words) it was very
crude, really nothing more than a placeholder. I meant to go back to it but
never did, and as far as I know no one else has ever put in a better one.

Your blocks have very little content, so it may not look like they break
across columns. But that they already do. It's just that the break is not
quite in the right place.

I'll take a quick look and see if we can't do somewhat better than what we
have at the moment.

Regards,
Arved Sandstrom

> -----Original Message-----
> From: Xavier DAMAY [mailto:fo.user@netcourrier.com]
> Sent: April 25, 2002 11:05 AM
> To: fop-user@xml.apache.org
> Subject: block question in multi columns area
>
> Hello,
>
> I've got a presentation problem, when i use the block below in a two
> column body region.
> * I would like to equilibrate the two columns : Is it possible to force
> fop to cut a block to do that ?
>
> * I use blocks to simulate carriage return : Is there another solution ?
>
> * In the first sub-block (Le temps), I would like to place this piece of
> text lower than it does. It's placed  in the top of the blue box, and I
> would like to place it in the middle.
>
> *I would like to have an italic and bold piece of text : what's the
> corresponding font-style ?
>            <fo:block font-size="10pt" font-family="Times Roman"
> line-height="14pt" space-after.optimum="3pt" text-align="justify"
> background-color="white" span="none">
>                <fo:block background-color="darkblue" text-align="center"
> color="white" font-size="20">
>                    LE TEMPS
>                </fo:block>
>                <fo:block font-style="italic" text-align="left">
>                   Bla bla bla bla
>                </fo:block>
>                <fo:block>
>                   Bla bla bla bla
>                </fo:block>
>                <fo:block>
>                   Bla bla bla bla
>                </fo:block>
>                <fo:block>
>                   Bla bla bla bla
>                </fo:block>
>            </fo:block>
>
> I thank you for your help !
>
>
> Xavier DAMAY
>
>