StylePaneSortMethods Class

Suggested Sorting for List of Document Styles.When the object is serialized out as xml, its qualified name is w:stylePaneSortMethod.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Wordprocessing.StylePaneSortMethods

Namespace:  DocumentFormat.OpenXml.Wordprocessing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Class StylePaneSortMethods _
    Inherits OpenXmlLeafElement
'Usage
Dim instance As StylePaneSortMethods
public class StylePaneSortMethods : OpenXmlLeafElement

Remarks

[ISO/IEC 29500-1 1st Edition]

17.15.1.86 stylePaneSortMethod (Suggested Sorting for List of Document Styles)

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

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

[Example: Consider a document with the following value in its document settings:

<w:stylePaneSortMethod w:val="type" />

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 type. end example]

Parent Elements

settings (§17.15.1.78)

Attributes

Description

val (Style Sorting)

Specifies a sort order which should be applied to the list of document styles when they are displayed in a user interface.

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

[Note: The W3C XML Schema definition of this element’s content model (CT_StyleSort) is located in §A.1. end note]

© ISO/IEC29500: 2008.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

StylePaneSortMethods Members

DocumentFormat.OpenXml.Wordprocessing Namespace