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 Renan Collin <re...@cybertech.fr> on 2005/07/26 12:15:42 UTC

Re: Vertical alignment

Hello,

It seems this functionnality is not implemented yet on fop 0.20.5.

Renan

Samuel Remacle a écrit:

> Hello,
>  
> My problem is the following, I'd like to align vertically a text 
> inside a table-cell but after searching the web I couldn't find the 
> property to do that. So I would be glad if you could help me, how do I 
> put the text in a table-cell, at the middle of that table-cell?
>  
> Thanks
>  
> Samuel
> --------------------------------------------------------------------- 
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org 
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org 





---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: Vertical alignment

Posted by Renan Collin <re...@cybertech.fr>.
Ok thanks a lot, I will try !!

Renan

Chris Bowditch a écrit:

> Renan Collin wrote:
>
>> Have you already succeeded in doing a top or bottom vertical 
>> alignment in a table cell ?
>
>
> Oh I forgot to mention that you need to specify height on table-row 
> for it to work. Sorry this information is key to getting it to work.
>
> Chris
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
>
>




---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: Vertical alignment

Posted by Chris Bowditch <bo...@hotmail.com>.
Renan Collin wrote:
> Have you already succeeded in doing a top or bottom vertical alignment 
> in a table cell ?

Oh I forgot to mention that you need to specify height on table-row for 
it to work. Sorry this information is key to getting it to work.

Chris



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: Vertical alignment

Posted by Chris Bowditch <bo...@hotmail.com>.
Renan Collin wrote:

> Have you already succeeded in doing a top or bottom vertical alignment 
> in a table cell ?

Yes. Why are you having trouble? Just put display-align="after" or 
display-align="before" on the table-cell. If its not working try posting 
a small example of your FO to the list.

Chris


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: Vertical alignment

Posted by Renan Collin <re...@cybertech.fr>.
Have you already succeeded in doing a top or bottom vertical alignment 
in a table cell ?
That would help me
Thx

Renan

Chris Bowditch a écrit:

> Renan Collin wrote:
>
>> Hello,
>>
>> It seems this functionnality is not implemented yet on fop 0.20.5.
>
>
> This is not true! As someone else already stated display-align on 
> table-cell will allow to vertically align the text inside the cell.
>
> Chris
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
>
>




---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: Vertical alignment

Posted by Chris Bowditch <bo...@hotmail.com>.
Renan Collin wrote:

> Hello,
> 
> It seems this functionnality is not implemented yet on fop 0.20.5.

This is not true! As someone else already stated display-align on 
table-cell will allow to vertically align the text inside the cell.

Chris


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: Vertical alignment

Posted by Renan Collin <re...@cybertech.fr>.
Ah yeah, I tested top or bottom, and I do not remember it worked, but 
for Samuel it is ok !!

Renan

Dirk Bromberg a écrit:

> Hi,
>
> display-align="center" at the cell works!
>
>
> <fo:table-cell  display-align="center" padding-start="1pt"  
> border-style="solid">
>                            <fo:block   color="#38528D" 
> font-family="{$font.family}" font-size="14pt" >
>                                Text1
>                            </fo:block>
> </fo:table-cell>
>
> Dirk
>
>
> Renan Collin wrote:
>
>> Hello,
>>
>> It seems this functionnality is not implemented yet on fop 0.20.5.
>>
>> Renan
>>
>> Samuel Remacle a écrit:
>>
>>> Hello,
>>>  
>>> My problem is the following, I'd like to align vertically a text 
>>> inside a table-cell but after searching the web I couldn't find the 
>>> property to do that. So I would be glad if you could help me, how do 
>>> I put the text in a table-cell, at the middle of that table-cell?
>>>  
>>> Thanks
>>>  
>>> Samuel
>>> --------------------------------------------------------------------- 
>>> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org 
>>> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org 
>>
>>
>>
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
>> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
>
>




---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: Vertical alignment

Posted by Dirk Bromberg <br...@tzi.de>.
Hi,

display-align="center" at the cell works!


<fo:table-cell  display-align="center" padding-start="1pt"  
border-style="solid">
                            <fo:block   color="#38528D" 
font-family="{$font.family}" font-size="14pt" >
                                Text1
                            </fo:block>
</fo:table-cell>

Dirk


Renan Collin wrote:

> Hello,
>
> It seems this functionnality is not implemented yet on fop 0.20.5.
>
> Renan
>
> Samuel Remacle a écrit:
>
>> Hello,
>>  
>> My problem is the following, I'd like to align vertically a text 
>> inside a table-cell but after searching the web I couldn't find the 
>> property to do that. So I would be glad if you could help me, how do 
>> I put the text in a table-cell, at the middle of that table-cell?
>>  
>> Thanks
>>  
>> Samuel
>> --------------------------------------------------------------------- 
>> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org 
>> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org 
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org