7.7.3 Configuring row format properties

The names of table row formats must end in Row. The default row format is named Row. Row format Row has no default properties; however, you can define a format for Row:

[Row]
property1 = value1
property2 = value2a value2b value2c ...
. . .

For HTML output, row format names are used in the class attribute of row elements, and result in CSS that implements their properties. Table 7-6 lists the properties you can define for rows.

Columns are handled by cell lists in row formats. You must keep those lists synchronized for all row formats referenced in a table format, or it gets ugly. For example, you must have the same count of row header cells in all of the row formats referenced by the table format.

Table 7-6 Format properties of table rows

Row format property

Valid format property values

category

TableRowFormats

help

Any text to describe purpose or use of format

row type

body, header, or footer; overrides the row type specificied in the source document

row height

adapt (to text, default), or minimum (adapts to text, but has the minimum size given)

keep

none (allow page break in row) or together; RTF output only

header cells

List of names of cell formats for row header cells; the number of formats in the list is the number of cells used as row headers

body cells

List of names of cell formats for body cells, forming a column pattern; if the number of body cells exceeds the list length, the list is restarted

border left
border right
border top
border bottom
border sep

Names of border formats; table and cell border properties override row border properties; when two row borders conflict, the heavier border prevails; border sep is used between header and body rows, and between footer and body rows, overriding top or bottom borders.

shading

List of shading formats; overrides table shading; overridden by cell shading

css

(HTML only) Adds information to the row-format CSS code

rtf

(RTF only) Adds information to the row-format RTF code

Some examples:

[Row]
; These are the default row properties:
row type = body
body cells = Cell
border bottom = LightBorder

[BodyRow]
based = Row
body cells = BodyCell BodyCell ShadedCell
border top = LightBorder
border bottom = LightBorder
border left = LightBorder
border right = LightBorder

[HeaderRow]
based = BodyRow
row type = header
body cells = ColHeadCell
border bottom = HeavyBorder
border sep = DoubleBorder

[ShadedRow]
based = BodyRow
body cells = ShadedCell ShadedCell XtraShadedCell
shading = LightGreyShade

Previous Topic:  7.7.2 Configuring table format properties

Next Topic:  7.7.4 Configuring cell format properties

Parent Topic:  7.7 Configuring table output formats

Sibling Topics:

7.7.1 Naming and defining table, row, and cell formats

7.7.2 Configuring table format properties

7.7.4 Configuring cell format properties

Table of ContentsIndex