ConditionalFormatStyle Class

Defines the ConditionalFormatStyle Class.When the object is serialized out as xml, its qualified name is w:cnfStyle.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Wordprocessing.ConditionalFormatStyle

Namespace:  DocumentFormat.OpenXml.Wordprocessing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Class ConditionalFormatStyle _
    Inherits OpenXmlLeafElement
'Usage
Dim instance As ConditionalFormatStyle
public class ConditionalFormatStyle : OpenXmlLeafElement

Remarks

[ISO/IEC 29500-1 1st Edition]

17.3.1.8 cnfStyle (Paragraph Conditional Formatting)

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]

Parent Elements

pPr (§17.3.1.26); pPr (§17.3.1.25); pPr (§17.7.5.2); pPr (§17.7.6.1); pPr (§17.9.23); pPr (§17.7.8.2)

Attributes

Description

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

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

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

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

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

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

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

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

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

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

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

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]

[ISO/IEC 29500-1 1st Edition]

17.4.7 cnfStyle (Table Row Conditional Formatting)

This element specifies the set of conditional table style formatting properties which have been applied to this table row. [Note: This property is an optimization which is used by consumers to determine if a given property on a table row 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 row in the top of a table with a table style applied. This table cell would need to specify the following WordprocessingML to express that fact:

<w:tr>
  <w:trPr>
    <w:cnfStyle w:firstRow="true" />
    …
  </w:trPr>
  …
</w:tr>

This table row specifies that it has the conditional properties from the table style for the first row of the parent table by setting the appropriate attribute value. end example]

Parent Elements

trPr (§17.4.82); trPr (§17.7.6.10); trPr (§17.7.6.11); trPr (§17.4.83)

Attributes

Description

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

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

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

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

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

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

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

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

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

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

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

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]

[ISO/IEC 29500-1 1st Edition]

17.4.8 cnfStyle (Table Cell Conditional Formatting)

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]

Parent Elements

tcPr (§17.7.6.8); tcPr (§17.7.6.9); tcPr (§17.4.70); tcPr (§17.4.71)

Attributes

Description

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

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

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

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

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

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

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

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

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

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

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

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]

© ISO/IEC29500: 2008.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

ConditionalFormatStyle Members

DocumentFormat.OpenXml.Wordprocessing Namespace