<stylePaneSortMethod> (Suggested Sorting for List of Document Styles)

This element specifies a suggested sorting which should be applied to the list of document styles in this application if the styles are displayed in a user interface.

The @val attribute of this element specifies one of the following sorting options:

Value

Description

0x0000

Specifies that styles which are visible should be sorted by their names.

0x0001

Specifies that styles which are visible should be sorted by their UI priority using the <uiPriority> element (§2.7.3.19).

0x0002

Specifies that styles which are visible should be sorted by the default sorting of the host application.

0x0003

Specifies that styles which are visible should be sorted by the font which they apply.

0x0004

Specifies that styles which are visible should be sorted by the style on which they are based using the <basedOn> element (§2.7.3.3).

0x0005

Specifies that styles which are visible should be sorted by their style types (i.e. character, linked, paragraph).

Any other value

Undefined. Shall not be used.

If this element is omitted, then styles which are visible should be sorted by the default sorting of the host application.

example:
<w:stylePaneSortMethod w:val="0005" />

The <stylePaneFormatFilter> element's @val attribute specifies that styles which are visible should be sorted by their style types (i.e. character, linked, paragraph) via a value of 0005. ]

Parent Elements

<settings>2.15.1.78)

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>