### 27.3.3 Grouping header cells for identification

Use the following settings to specify whether header cells should be grouped. These settings work in concert with ColGroup and RowGroup cells: header cells that are assigned [HtmlStyles] property ColGroup or RowGroup, described in §26.2.2 Using paragraph formats for table-cell attributes; or that contain marker type CellGroup, described in §26.2.4 Using custom markers for table-cell attributes.

[Tables]

; ColGroupHead is "group" by default; it is used in the id attrs

; of header cells containing a para format with [HtmlStyles]ColGroup.

ColGroupHead=group

; RowGroupHead is "group" by default; it is used in the id attrs

; of left cells containing a para format with [HtmlStyles]RowGroup.

; If ColGroup is used, first ID numerically follows last ColGroup ID.

RowGroupHead=group

; ColGroupIDs = No (default)

; or Yes (to use id="groupN" in col head cells identified

; as ColGroup via [HtmlStyles] or the CellGroup marker col.)

ColGroupIDs=No

; RowGroupIDs = No (default)

; or Yes (to use id="groupN" in row head cells identified

; as RowGroup via [HtmlStyles] or the CellGroup marker row.)

RowGroupIDs=No

Column-group and row-group identifiers

The values you specify for ColGroupHead and RowGroupHead are the names Mif2Go uses for column-group and row-group identifiers. For example, if you specify ColGroupHead=gname, every ColGroup cell gets attribute id="gname N". If you do not specify values for ColGroupHead and RowGroupHead, Mif2Go uses the default name, group, for both; and numbers the row groups starting where the column-group numbers end.

Column groups

When you specify ColGroupIDs=Yes, Mif2Go generates the following identifiers:

id="group N"

• for each ColGroup cell (header cell that contains either a paragraph designated [HtmlStyles] ColGroup, or a CellGroup marker with content col).

headers="group N"

• for each cell to the right of the id="group N" cell until the next ColGroup cell;

• for each cell below the id="group N" cell;

• for each cell below the headers="group N" cells that are in the id=group n row.

Specifying ColGroupIDs=Yes prevents assignment of a single-column ID to the id="group N" cell, but does not prevent this assignment to the headers=group N cells to the right of the id="group N" cell. See §27.3.8 Identifying individual table cells by row and column for information about specifying IDs for individual columns. See also §27.5.1 Understanding how the ColGroup property works.

Row groups

When you specify RowGroupIDs=Yes, Mif2Go generates the following identifiers:

id="group N"

• for each RowGroup cell (header cell that contains either a paragraph designated [HtmlStyles] RowGroup, or a CellGroup marker with content row) and that does not have a column ID.

headers="group N"

• for each cell below the id="group N" cell until the next RowGroup cell;

• for each cell to the right of the id="group N" cell;

• for each cell to the right of the headers="group N" cells that are in the id="group N" column.

Specifying RowGroupIDs=Yes prevents assignment of a row ID to the RowGroup cell, but does not prevent this assignment to the headers="group N" cells below the id="group N" cell. See §27.3.8 Identifying individual table cells by row and column for information about specifying IDs for individual rows. See also §27.5.2 Understanding how the RowGroup property works.

| 27.3.2 Specifying id/headers attributes for table cells |  | 27.3.4 Column-group and row-group extent |