Omni Systems, Inc.

  

Mif2Go User's Guide, Version 55

  

Valid HTML 4.01!

 

Made with Mif2Go

24 Converting tables to HTML > 24.3 Specifying table structure > 24.3.3 Identifying table headers and footers > 24.3.3.1 Specifying default header and footer counts for all tables


24.3.3.1 Specifying default header and footer counts for all tables

You can specify how many column-header rows, row-header columns, and footer rows the tables in your document typically have. These settings are intended primarily to support WAI interpretation; see §26 Identifying HTML table structure for WAI for more information. Table 24-3 shows the settings.

Table 24-3 Default counts of table header rows/columns and footer rows

[Tables] setting

Default value

[TableAccess] override

Purpose

TableHeaderCols

0

HColsN

Number of columns (counting from the left) to use for row headers

TableHeaderRows

0

HRowsN

Number of rows (counting from the top) to use for column headers, including rows designated Header in FrameMaker

TableFooterRows 

0

FRowsN

Number of rows (counting from the bottom) to treat as footer rows for row-grouping purposes, including rows designated Footer in FrameMaker; significant only when HeadFootBodyTags=Yes

Use these settings to establish document-wide defaults for the number of columns in row headers, the number of rows in column headers, and the number of rows in table footers.

[Tables]

; TableHeaderCols = count of cols in which to make td -> th,

; counting from left at the start of each row in the table

TableHeaderCols=0

; TableHeaderRows = count of rows in which to make td -> th,

; counting from the top of the table

TableHeaderRows=0

; TableFooterRows = count of footer rows from bottom of the table,

; significant only when RowGroupIDs = Yes.

TableFooterRows=0

For example, if your tables typically have two FrameMaker-defined header rows, and you want the first body row in most of them to be considered a header row also, you would set TableHeaderRows=3. To designate cells in the first column as row headers, set TableHeaderCols=1.

Note:  You need the TableHeaderRows and TableFooterRows settings only if some header/footer rows are misclassified as body rows in FrameMaker. If you consistently use FrameMaker-defined Header and Footer rows for the headers and footers in your tables, you do not need either of these settings. For DITA output, see §15.6.2 Marking table footer rows for future reference.



24 Converting tables to HTML > 24.3 Specifying table structure > 24.3.3 Identifying table headers and footers > 24.3.3.1 Specifying default header and footer counts for all tables