Table layout and resizing

The support for editing data in tabular form can manage table width and column width specifications from the source document. The specified widths will be considered when rendering the tables and when visually resizing them using mouse drag gestures. These specifications are supported both in fixed and proportional dimensions. The predefined frameworks (DITA, DocBook and XHTML) already implement support for this feature. The layout of the tables from these types of documents takes into account the table width and the column width specifications particular to them. The tables and columns widths can be visually adjusted by dragging with the mouse their edges and the modifications will be committed back into the source document.

 

Figure 5.22. Resizing a column in <oXygen/> Author editor

Resizing a column in <oXygen/> Author editor

 DocBook

The DocBook table layout supports two models: CALS and HTML.

In the CALS model column widths can be specified by using the colwidth attribute of the associated colspec element. The values can be fixed or proportional.

 

Figure 5.23. CALS table

CALS table