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.2 Identifying row and column groups and header cells > 24.3.2.6 Overriding row and column group settings


24.3.2.6 Overriding row and column group settings

You can override the default value of HeadFootBodyTags or ColGroupElements for table groups, for tables of a certain FrameMaker format, and for individual tables. You can even use wildcards to specify tables that are not explicitly grouped:

[TableAccess]

; table ID = method list (overrides default in [Tables])

; Can override HeadFootBodyTags with HFBTags, ColGroupElements with

; CGElems.

You can prefix either setting with No to turn that setting off for selected tables. For example:

[TableAccess]

aa123456=NoHFBTags

ac254360=HFBTags

Group5=HFBTags NoCGElems

FormatA=CGElems

You can turn these settings off if you are creating your own groups (especially for ColGroupElements, essential if you want to add class attributes). If you turn off a setting that is required by other settings, the presumption is that you are supplying the attributes yourself another way, such as via macros or JavaScript.

For example, suppose you have specified ColGroupElements=Yes, but you want to “roll your own” column groups for table aa123456, and include CSS class attributes:

[TableStartMacros]

; table ID = text of macro to put after <table> tag before first <tr>

; This is where a set of custom <colgroup> elements would go.

aa123456=

<colgroup>

<col class="FirstCol"></col>

<col class="SecondCol"></col>

</colgroup>

<colgroup span="5" class="DataSet">

<col class="DataFirstCol"></col>

<col class="DataSecondCol"></col>

<!-- three missing col tags get class DataSet -->

</colgroup>

You would also specify the following:

[TableAccess]

aa123456=NoCGElems



24 Converting tables to HTML > 24.3 Specifying table structure > 24.3.2 Identifying row and column groups and header cells > 24.3.2.6 Overriding row and column group settings