[Table of Contents] [docx version]

WordprocessingML Reference Material - Table of Contents

ST_TblStyleOverrideType (Conditional Table Style Formatting Types)

This simple type specifies possible values for the sections of the table to which the current conditional formatting properties shall be applied when this table style is used.

[Example: Consider a table style which contains conditional formatting, defined as follows:

<w:style w:type="table" …>

<w:tblStylePr w:type="lastRow">

</w:tblStylePr>
</w:style>

The type attribute value of lastRow specifies that this set of conditional formatting properties shall be applied to the last row of the table only. end example]

This simple type's contents are a restriction of the XML Schema string datatype.

The following are possible enumeration values for this type:

Enumeration Value

Description

band1Horz (Banded Row Conditional Formatting)

Specifies that the table formatting applies to odd numbered groupings of rows.

band1Vert (Banded Column Conditional Formatting)

Specifies that the table formatting applies to odd numbered groupings of columns.

band2Horz (Even Row Stripe Conditional Formatting)

Specifies that the table formatting applies to even numbered groupings of rows.

band2Vert (Even Column Stripe Conditional Formatting)

Specifies that the table formatting applies to even numbered groupings of columns.

firstCol (First Column Conditional Formatting)

Specifies that the table formatting applies to the first column.

firstRow (First Row Conditional Formatting)

Specifies that the table formatting applies to the first row.

 

Any subsequent row which has the tblHeader element present (§2.4.46) shall also use this conditional format.

lastCol (Last table column formatting)

Specifies that the table formatting applies to the last column.

lastRow (Last table row formatting)

Specifies that the table formatting applies to the last row.

neCell (Top right table cell formatting)

Specifies that the table formatting applies to the top right cell.

nwCell (Top left table cell formatting)

Specifies that the table formatting applies to the top left cell.

seCell (Bottom right table cell formatting)

Specifies that the table formatting applies to the bottom right cell.

swCell (Bottom left table cell formatting)

Specifies that the table formatting applies to the bottom left cell.

wholeTable (Whole table formatting)

Specifies that the conditional formatting applies to the whole table.

 

Referenced By

tblStylePr@type2.7.5.6)

The following XML Schema fragment defines the contents of this simple type:

<simpleType name="ST_TblStyleOverrideType">

   <restriction base="xsd:string">

   <enumeration value="wholeTable"/>

   <enumeration value="firstRow"/>

   <enumeration value="lastRow"/>

   <enumeration value="firstCol"/>

   <enumeration value="lastCol"/>

   <enumeration value="band1Vert"/>

   <enumeration value="band2Vert"/>

   <enumeration value="band1Horz"/>

   <enumeration value="band2Horz"/>

   <enumeration value="neCell"/>

   <enumeration value="nwCell"/>

   <enumeration value="seCell"/>

   <enumeration value="swCell"/>

   </restriction>

</simpleType>