XSL-FO table-column Object
XSL-FO Reference Manual
Definition and Usage
fo:table-column The object is used to specify characteristics of table cells located in the same column.
The most important property in this object is "column-width".
Syntax
property
**Note:** The border property is allowed only when the table's border-collapse value is "collapse" or "collapse-with-precedence".
| property |
|---|
| background-attachment |
| background-color |
| background-image |
| background-repeat |
| background-position-horizontal |
| background-position-vertical |
| border-after-color |
| border-after-precedence |
| border-after-style |
| border-after-width |
| border-before-color |
| border-before-precedence |
| border-before-style |
| border-before-width |
| border-bottom-color |
| border-bottom-style |
| border-bottom-width |
| border-collapse |
| border-end-color |
| border-end-precedence |
| border-end-style |
| border-end-width |
| border-left-color |
| border-left-style |
| border-left-width |
| border-right-color |
| border-right-style |
| border-right-width |
| border-separation |
| border-start-color |
| border-start-precedence |
| border-start-style |
| border-start-width |
| border-top-color |
| border-top-style |
| border-top-width |
| column-number |
| column-width |
| number-columns-repeated |
| number-columns-spanned |
| visibility |
Example 1
A simple table:
fo:blockVolvo
fo:block$50000
fo:blockSAAB
fo:block$48000
The output of the code above is shown below:
| Car | Price |
|---|---|
| Volvo | $50000 |
| SAAB | $48000 |
XSL-FO Reference Manual