Hi,
I want that the block to be the same height as the cell because I want to
create a border left of a block, not of a cell
I attached the example
<fo:table>
<fo:table-column column-width="1cm"/>
<fo:table-column column-width="3cm"/>
<fo:table-body>
<fo:table-row>
<fo:table-cell >
<fo:block font-family="Helvetica" font-size="10pt"
font-weight="normal"
space-before.optimum="2pt" space-after.optimum="2pt" text-align="left">
<fo:block-container left="-20pt" position="absolute" >
<fo:block border-left-style="solid" border-left-color="black"
border-left width="3pt">
 
</fo:block>
</fo:block-container>
-
</fo:block>
</fo:table-cell>
<fo:table-cell >
<fo:block font-family="Helvetica" font-size="10pt"
text-align="left">
text for an extra line in the table row
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
The problem is that the height of the left border, in the first cell, is not
high as the second block in the second cell and the border left of the first
cell must be equals to the height of a cell.
Fabio
Manuel Mall-2 wrote:
>
> 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]
>
>
>
--
View this message in context:
http://www.nabble.com/Problem-height-block-in-table-cell-tf2382658.html#a6660253
Sent from the FOP - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]