Subject: table cell value exceeding beyond outer-table width
From: "PATIL Arvind" <Arvind_PATIL@xxxxxxxxxxxxxxxxx>
Date: Wed, 16 Sep 2009 23:28:45 +0900
|
Hi,
I am rendering a table which has nested tables in it.
At the topmost level, it is defined as below (a table with 2 columns):
<fo:table table-layout="fixed" width="100%" padding="3pt">
<fo:table-column column-width="12cm"/>
<fo:table-column column-width="12cm"/>
<fo:table-body > ...
Next, the 2nd column cell in this table is defined as below:
<fo:table width="95%" padding="3pt" table-layout="fixed">
<fo:table-column column-width="5cm"/>
<fo:table-column column-width="7cm"/>
<fo:table-body >...
Inside this table, the 2nd column cell is again defined as a table with one
column:
<fo:table width="7cm">
<fo:table-column column-width="7cm"/>
<fo:table-body >...
The value to be shown in this deeply nested cell is not wrapping within table
boundary.
I have used the "zero-width-space" template to display this cell value.
But, even then the cell value extends beyond the outermost-table width.
What has gone wrong here?
Thanks
arvind
|