<tblLook> (Table Style Conditional Formatting Settings Exception)

This element specifies the components of the conditional formatting of the referenced table style (if one exists) which shall be applied to the set of table rows with the current table-level property exceptions. A table style can specify up to six different optional conditional formats
example: : Different formatting for first column.
, which then can be applied or omitted from individual table rows in the parent table.

This element's value is hexadecimal code containing a bitmask of options, interpreted as follows:

  • 0x0020=Apply first row conditional formatting

  • 0x0040=Apply last row conditional formatting

  • 0x0080=Apply first column conditional formatting

  • 0x0100=Apply last column conditional formatting

  • 0x0200=Do not apply row banding conditional formatting

  • 0x0400=Do not apply column banding conditional formatting

If omitted, the bitmask of table style options on the current table row shall be assumed to be the value specified on the table-level properties.

example:
  • First row conditional formatting

  • Last row conditional formatting

This table would then apply the following portions of the bitmask:

  • 0x0020=Apply first row conditional formatting

  • 0x0040=Apply last row conditional formatting

  • 0x0200=Do not apply row banding conditional formatting

  • 0x0400=Do not apply column banding conditional formatting

The resulting WordprocessingML would be specified as follows:

<w:tblPrEx>
  <w:tblLook w:val="0660"/>
</w:tblPrEx>

The <tblLook> element specifies a bitmask which determines the components of the table style applied to the current table. ]

Parent Elements

<tblPrEx>2.4.57); <tblPrEx>2.4.58)

Attributes

Description

<val> (Two Digit Hexadecimal Value)

Specifies a value specified as a two digit hexadecimal number), whose contents are interpreted based on the context of the parent XML element.

<w:tblPr>
  <w:tblLook w:val="0010" /> 
</w:tblPr>

The value of 0010 is interpreted in the context of the parent element. ]

The possible values for this attribute are defined by the ST_ShortHexNumber simple type (§2.18.86).

The following XML Schema fragment defines the contents of this element:

<complexType name="CT_ShortHexNumber">
	<attribute name="val" type="ST_ShortHexNumber" use="required"/>
</complexType>