In the documentation framework the
table element can have cells that
span over multiple columns and rows. As explained in the
Styling the Table
Element section which describes the CSS properties needed for defining a table, you
need to indicate
Oxygen XML Author
a method to determine the cell spanning. If you use the cell element attributes
rowspan
and
colspan or
rows and
cols,
Oxygen XML Author
can determine the
cell spanning automatically. In our example the
td element uses the
attributes
row_span and
column_span that are not recognized by default. You will
need to implement a Java extension class for defining the cell spanning.
When no table cell span provider is specified, the table has the following layout:
Table layout when no cell span provider is specified
When the above implementation is configured, the table has the correct layout:
Cells spanning multiple rows and columns.