The DocBook table layout supports two models: CALS and HTML.
In the CALS table model, you can specify column widths using the
colwidth attribute of the associated colspec element. The
values can be fixed or proportional. By default, when you insert, drag and drop, or copy/paste
a column, the value of the colwidth attribute is 1*.
Also the colsep and rowsep attributes are
supported. These control the way separators are painted between the table cells.
Figure: CALS Table in DocBook
Pasted Tables
Tables that are pasted into a DocBook file are automatically converted to the CALS model.
If you want to overwrite this behavior and instruct
Oxygen XML Editor to convert them
to HTML tables, set the
docbook.html.table parameter to
1.
You can find this parameter in the following stylesheet:
- [OXYGEN_DIR]/frameworks/docbook/resources/xhtml2db5Driver.xsl for
DocBook 5
- [OXYGEN_DIR]/frameworks/docbook/resources/xhtml2db4Driver.xsl for
DocBook 4