On 22 Jan 2009, at 19:04, Li, Hao wrote:
Is width in percentage supported in fo:table-cell such as <fo:table-
cell width="30%".../> ?
AFAIK, this is not implemented (mainly because it is not defined
clearly in the XSL-FO Rec what the expected behavior should be)
Also, FOP does not yet support table-layout="auto", and "fixed"
implicitly means that all cells in the same column will have the same
width for all rows.
If you need to set column-width, you can use the proportional-column-
width() function to obtain the same effect (assuming that the
percentage is computed based on the total available width)
<fo:table table-layout="fixed" inline-progression-dimension="100%">
<fo:table-column column-width="proportional-column-width(1)" number-
columns-repeated="3" />
...
will produce a table where each column is 33.33% of the total width.
Cheers
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]