<tblLook> (Table Style Conditional Formatting Settings)

This element specifies the components of the conditional formatting of the referenced table style (if one exists) which shall be applied to the current table. 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 tables in the document.

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 shall be assumed to be 0000.

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:tblPr>
  <w:tblLook w:val="0660"/>
</w:tblPr>

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

Parent Elements

<tblPr>2.7.5.3); <tblPr>2.7.5.4); <tblPr>2.4.55); <tblPr>2.4.56)

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>