vinod(_dot_)agarwal(_at_)nl(_dot_)abnamro(_dot_)com wrote:
Can you give one example of this please ?
Either use an absolute width for each column:
<fo:table table-layout="fixed">
<fo:table-column column-width="3cm"/>
<fo:table-column column-width="3in"/>
<fo:table-column column-width="36pt"/>
<fo:table-body ...
or specify a width for the whole table:
<fo:table width="100%" ...
or
<fo:table width="10cm" ...
In both the latter cases you must still specify a width for
each column, but you can use the proportional-column-width()
function:
<fo:table width="100%" table-layout="fixed">
<fo:table-column column-width="3cm"/>
<fo:table-column column-width="3in+proportional-column-width(1)"/>
<fo:table-column column-width="proportional-column-width(2)"/>
<fo:table-body ...
FOP does not support percentages in column width expressions.
This is processor specific and should better have been asked
on the FOP user list.
J.Pietschmann
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list