On Thursday 05 October 2006 16:10, fabio76 wrote:
> Hi Pascal,
> my problem is this. I want to have the height of <fo:block> as the
> height of <fo:table-cell>. In the example that I attached the height
> of <fo:block> of the first cell is not equals to the height of
> <fo:table-cell> that, in this case, depend of the height of the last
> <fo:block> in the last <fo:table-cell>
> Exist a method or an attribute to set the height of <fo:block> to
> change the height of <fo:block> in the height of <fo:table-cell>?
> Best regards
> Fabio
>
Fabio,

may I ask why you want the block to be the same height as the cell? What 
particular layout effect are you after? If you tell us that may be 
there are other ways we can recommend to achieve the same effect.

> Pascal Sancho wrote:
> >> -----Original Message-----
> >> From: fabio76 [mailto:[EMAIL PROTECTED]
> >> Sent: Wednesday, October 04, 2006 4:30 PM
> >>
> >> Hi all,
> >> I have the same problem. I have a table :
> >>   <fo:table>
> >>   <fo:table-column column-width="3cm"/>
> >>   <fo:table-column column-width="3cm"/>
> >>   <fo:table-column column-width="3cm"/>
> >>   <fo:table-column column-width="3cm"/>
> >>   <fo:table-column column-width="2cm"/>
> >>
> >>     <fo:table-body>
> >>     <fo:table-row>
> >>       <fo:table-cell  border="0.01pt solid">
> >>         <fo:block text-align="center" border="0.01pt solid"
> >> line-height="100%" >
> >>         green cell
> >>         </fo:block>
> >>       </fo:table-cell>
> >>         <fo:table-cell>
> >>          <fo:block border="0.01pt solid">Cell 1</fo:block>
> >>    </fo:table-cell>
> >>       <fo:table-cell >
> >>         <fo:block text-align="center">
> >>         blue cell
> >>         </fo:block>
> >>       </fo:table-cell>
> >>       <fo:table-cell background-color="yellow">
> >>         <fo:block text-align="center">
> >>         yellow cell
> >>         </fo:block>
> >>       </fo:table-cell>
> >>       <fo:table-cell>
> >>         <fo:block text-align="center">
> >>         text for an extra line in the table row
> >>         </fo:block>
> >>       </fo:table-cell>
> >>     </fo:table-row>
> >>   </fo:table-body>
> >>       </fo:table>
> >>
> >> How can I have the block height as a cell? Is possible?
> >> Best Regards
> >> --
> >> View this message in context:
> >> http://www.nabble.com/Problem-height-block-in-table-cell-tf238
> >
> > 2658.html#a6640613
> >
> >> Sent from the FOP - Users mailing list archive at Nabble.com.
> >
> > Fabio,
> > What do you want to do precisely?
> > fo:block height typically depends on its content.
> > If you want to align fo:table-cell content vertically, use the
> > display-align property, either on a single fo:table-cell, or on the
> > fo:table-row
> > If you want to do something else, further info in needed.
> >
> > Pascal
> >
Cheers

Manuel

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to