<stylePaneFormatFilter> (Suggested Filtering for List of Document Styles)

This element specifies a set of suggested filters 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 contains a bitmask of the following filtering options:

Value

Description

0x0001

Specifies that all styles present in the styles part should be displayed in the list of document styles.

0x0002

Specifies that only styles with the @customStyle attribute should be displayed in the list of document styles.

0x0004

Specifies that all latent styles should be displayed in the list of document styles.

0x0008

Specifies that only styles used in the document should be displayed in the list of document styles.

0x0010

Undefined. Shall not be used.

0x0020

Specifies that heading styles (styles with a @styleId of Heading1 to Heading9) should be displayed in the list of document styles when the previous style is used in the document and/or is present in the styles part.

0x0040

Specifies that numbering styles should be displayed in the list of document styles.

0x0080

Specifies that table styles should be displayed in the list of document styles.

0x0100

Specifies that all unique forms of run-level direct formatting should be displayed in the list of document styles as though they were each a unique style.

0x0200

Specifies that all unique forms of paragraph-level direct formatting should be displayed in the list of document styles as though they were each a unique style.

0x0400

Specifies that all unique forms of direct formatting of numbering data should be displayed in the list of document styles as though they were each a unique style.

0x0800

Specifies that all unique forms of direct formatting of tables should be displayed in the list of document styles as though they were each a unique style.

0x1000

Specifies that a style should be present which removes all formatting and styles from text.

0x2000

Specifies that heading styles with a @styleId of Heading1 to Heading3 should always be displayed in the list of document styles.

0x4000

Specifies that styles should only be shown the <semiHidden> element (§2.7.3.16) is false and the <hidden> element (§2.7.3.4) is false.

0x8000

Specifies that primary names for styles should not be shown if an alternate name using the <name> element (§2.7.3.9) exists.

Any other value

Undefined. Shall not be used.

If this element is omitted, then all settings defined by this element are turned off.

example:
<w:stylePaneFormatFilter w:val="2002" />

The <stylePaneFormatFilter> element's settings specify two suggested filter options for the list of document styles:

  • Only custom styles should be shown (0002)

  • Heading styles with a @styleId of Heading1 to Heading3 should always be displayed in the list (2000)

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.

example:
<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>