17.3.1.8 cnfStyle

This element specifies the set of conditional table style formatting properties which have been applied to this paragraph, if this paragraph is contained within a table cell. [Note: This property is an optimization which can be used by consumers to determine if a given property on a paragraph is the result of the table style properties vs. direct formatting on the paragraph itself. end note]

If this property is specified on a paragraph which is not contained within a table cell, then its contents shall be ignored when reading the contents of the document.

[Example: Consider a paragraph in the top right corner of a table with a table style applied and where the table is formatted as left to right. 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 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 Last Column)

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.

[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).

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).

oddHBand (Odd Numbered Horizontal Band)

Specifies that the object has inherited the conditional properties applied to the odd 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).

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).

[Note: The W3C XML Schema definition of this element’s content model (CT_Cnf) is located in A.1. end note]

Last updated on