Re: [XSL-FO] Is there any way that i can set the width of the table column or cell
- At 2004-04-15 15:20 +0000, swapnareddygari wrote:
> I want my table column or cell width chages automaticallyThis is accommodated by using table-layout="auto" which is the default, but
>according to the text that it contains.
each XSL-FO engine can use their own algorithm for calculating how the
automation is done.
> Am displaying the fill in the blanks where my first column or cellThen you cannot use a single table: as in HTML, a table in XSL-FO has the
>will be small for some rows and large for others.
same column widths for the entire table and if auto-layout is being used
these widths are calculated after the processor looks at the contents of
the entire table.
If you want to change the column widths on a per row basis, you can abut
multiple tables, one row per table, next to each other to give the
effect. As soon as you go to a table with multiple rows, the column
widths, once calculated, are set for all rows of the table.
> Hope this is an xsl-fo question as i have to write width inWhen you write the width for the column, this is true for all rows in the
>or table:cellYou cannot control with cell's individual width .. the width of columns is
a property calculated for the entire table.
I hope this helps.
Public courses: Spring 2004 world tour of hands-on XSL instruction
Each week: Monday-Wednesday: XSLT/XPath; Thursday-Friday: XSL-FO
Hong Kong May 17-21; Bremen Germany May 24-28; Helsinki June 14-18
World-wide on-site corporate, govt. & user group XML/XSL training.
G. Ken Holman mailto:gkholman@...
Crane Softwrights Ltd. http://www.CraneSoftwrights.com/f/
Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995)
Male Breast Cancer Awareness http://www.CraneSoftwrights.com/f/bc