17.4.8 cnfStyle
This element specifies the set of conditional table style formatting properties which have been applied to this table cell. [Note: This property is an optimization which is used by consumers to determine if a given property on a table cell is the result of the table style conditional formatting properties vs. direct formatting on the table cell itself. It specifies the components of the conditional formatting in the table style applied to this cell, so that the table’s conditional formatting can be applied after the document is displayed without having the table style properties override the style hierarchy. end note]
If this element is omitted, then its value shall be assumed to be zero for all entries in the bit mask.
[Example: Consider a table cell in the top right corner of a table with a table style applied and where the table is formatted as left to right. This table cell would need to specify the following WordprocessingML to express that fact:
<w:tc>
<w:tcPr>
<w:cnfStyle w:firstRow="true" w:lastColumn="true"
w:firstRowLastColumn="true" />
…
</w:tcPr>
…
</w:tc>
This table cell specifies that it has the conditional properties from the table style for the first column, first row, and the top right corner of the parent table by setting the appropriate attributes. end example]
Attributes
evenHBand (Even Numbered Horizontal Band)
Specifies that the object has inherited the conditional properties applied to the even numbered horizontal bands of the parent object.
[Example: Consider a paragraph in the second row of a table with a table style applied, and where the band width is one row. This paragraph would need to specify the following WordprocessingML:
<w:p>
<w:pPr>
<w:cnfStyle w:evenHBand="true" />
…
</w:pPr>
…
</w:p>
This paragraph specifies that it has the conditional properties from the table style for the even numbered horizontal bands of the parent table. end example]
The possible values for this attribute are defined by the ST_OnOff simple type (22.9.2.7).
firstColumn (First Column)
Specifies that the object has inherited the conditional properties applied to the first column of the parent object.
[Example: Consider a paragraph in the first column of a table with a table style applied. This paragraph would need to specify the following WordprocessingML:
<w:p>
<w:pPr>
<w:cnfStyle w:firstColumn="true" />
…
</w:pPr>
…
</w:p>
This paragraph specifies that it has the conditional properties from the table style for the first column of the parent table. end example]
The possible values for this attribute are defined by the ST_OnOff simple type (22.9.2.7).
evenVBand (Even Numbered Vertical Band)
Specifies that the object has inherited the conditional properties applied to the even numbered vertical bands of the parent object.
[Example: Consider a paragraph in the second column of a table with a table style applied, and where the band width is one column. This paragraph would need to specify the following WordprocessingML:
<w:p>
<w:pPr>
<w:cnfStyle w:evenVBand="true" />
…
</w:pPr>
…
</w:p>
This paragraph specifies that it has the conditional properties from the table style for the even numbered vertical bands of the parent table. end example]
The possible values for this attribute are defined by the ST_OnOff simple type (22.9.2.7).
firstRowLastColum n (First Row and
Specifies that the object has inherited the conditional properties applied to the cell that is in the first row and last column of the parent object.
firstRowFirstColu mn (First Row and First Column)
Specifies that the object has inherited the conditional properties applied to the cell that is in the first row and first column of the parent object.
[Example: Consider a paragraph in the first row and first column of a table. This paragraph would need to specify the following WordprocessingML:
<w:p>
<w:pPr>
<w:cnfStyle w:firstRow="true" w:firstColumn="true"
w:firstRowFirstColumn="true" />
…
</w:pPr>
…
</w:p>
This paragraph specifies that it has the conditional properties from the table style for the cell in the first row and first column of the parent table. end example]
The possible values for this attribute are defined by the ST_OnOff simple type (22.9.2.7).
firstRow (First Row)
Specifies that the object has inherited the conditional properties applied to the first row of the parent object.
[Example: Consider a paragraph in the top row of a table with a table style applied. This paragraph would need to specify the following WordprocessingML:
<w:p>
<w:pPr>
<w:cnfStyle w:firstRow="true" />
…
</w:pPr>
…
</w:p>
This paragraph specifies that it has the conditional properties from the table style for the first row of the parent table. end example]
The possible values for this attribute are defined by the ST_OnOff simple type (22.9.2.7).
lastRow (Last Row)
Specifies that the object has inherited the conditional properties applied to the last row of the parent object.
[Example: Consider a paragraph in the bottom row of a table with a table style applied. This paragraph would need to specify the following WordprocessingML:
<w:p>
<w:pPr>
<w:cnfStyle w:lastRow="true" />
…
</w:pPr>
…
</w:p>
This paragraph specifies that it has the conditional properties from the table style for the last row of the parent table. end example]
The possible values for this attribute are defined by the ST_OnOff simple type (22.9.2.7).
lastColumn (Last Column)
Specifies that the object has inherited the conditional properties applied to the last column of the parent object.
[Example: Consider a paragraph in the last column of a table with a table style applied. This paragraph would need to specify the following WordprocessingML:
<w:p>
<w:pPr>
<w:cnfStyle w:lastColumn="true" />
…
</w:pPr>
…
</w:p>
This paragraph specifies that it has the conditional properties from the table style for the last column of the parent table. end example]
The possible values for this attribute are defined by the ST_OnOff simple type (22.9.2.7).
Last Column)
[Example: Consider a paragraph in the first row and last column of a table. This paragraph would need to specify the following WordprocessingML:
<w:p>
<w:pPr>
<w:cnfStyle w:firstRow="true" w:lastColumn="true"
w:firstRowLastColumn="true" />
…
</w:pPr>
…
</w:p>
This paragraph specifies that it has the conditional properties from the table style for the cell in the first row and last column of the parent table. end example]
The possible values for this attribute are defined by the ST_OnOff simple type (22.9.2.7).
oddHBand (Odd
Specifies that the object has inherited the conditional properties applied to the odd
lastRowLastColum n (Last Row and Last Column)
Specifies that the object has inherited the conditional properties applied to the cell that is in the last row and last column of the parent object.
[Example: Consider a paragraph in the last row and last column of a table. This paragraph would need to specify the following WordprocessingML:
<w:p>
<w:pPr>
<w:cnfStyle w:lastRow="true" w:lastColumn="true"
w:lastRowLastColumn="true" />
…
</w:pPr>
…
</w:p>
This paragraph specifies that it has the conditional properties from the table style for the cell in the last row and last column of the parent table. end example]
The possible values for this attribute are defined by the ST_OnOff simple type (22.9.2.7).
lastRowFirstColum n (Last Row and First Column)
Specifies that the object has inherited the conditional properties applied to the cell that is in the last row and first column of the parent object.
[Example: Consider a paragraph in the last row and first column of a table. This paragraph would need to specify the following WordprocessingML:
<w:p>
<w:pPr>
<w:cnfStyle w:lastRow="true" w:firstColumn="true"
w:lastRowFirstColumn="true" />
…
</w:pPr>
…
</w:p>
This paragraph specifies that it has the conditional properties from the table style for the cell in the last row and first column of the parent table. end example]
The possible values for this attribute are defined by the ST_OnOff simple type (22.9.2.7).
oddVBand (Odd Numbered Vertical Band)
Specifies that the object has inherited the conditional properties applied to the odd numbered vertical bands of the parent object.
[Example: Consider a paragraph in the third column of a table with a table style applied, and where the band width is one column. This paragraph would need to specify the following WordprocessingML:
<w:p>
<w:pPr>
<w:cnfStyle w:oddVBand="true" />
…
</w:pPr>
…
</w:p>
This paragraph specifies that it has the conditional properties from the table style for the odd numbered vertical bands of the parent table. end example]
The possible values for this attribute are defined by the ST_OnOff simple type (22.9.2.7).
Numbered Horizontal Band)
numbered horizontal bands of the parent object.
[Example: Consider a paragraph in the third row of a table with a table style applied, and where the band width is one column. This paragraph would need to specify the following WordprocessingML:
<w:p>
<w:pPr>
<w:cnfStyle w:oddHBand="true" />
…
</w:pPr>
…
</w:p>
This paragraph specifies that it has the conditional properties from the table style for the odd numbered horizontal bands of the parent table. end example]
The possible values for this attribute are defined by the ST_OnOff simple type (22.9.2.7).
[Note: The W3C XML Schema definition of this element’s content model (CT_Cnf) is located in A.1. end note]