<sortState>
(Sort State)
This collection preserves the AutoFilter sort state.
<sortState caseSensitive="1" ref="B4:E8"> <sortCondition descending="1" ref="B4:B8"/> </sortState>
Parent Elements |
---|
|
Child Elements |
Subclause |
---|---|
|
|
|
Attributes |
Description |
---|---|
|
Flag indicating whether or not the sort is case-sensitive. The possible values for this attribute are defined by the XML Schema boolean datatype. |
|
Flag indicating whether or not to sort by columns. Only applies to ranges that don’t have AutoFilter applied. The possible values for this attribute are defined by the XML Schema boolean datatype. |
|
The whole range of data to sort (not just the sort-by column). The possible values for this attribute are defined by the ST_Ref simple type (§3.18.64). |
|
Strokes or PinYin sort method. Applies only to these application UI languages:
For these languages, alternate sort methods can be selected, affecting how the data is sorted. The possible values for this attribute are defined by the ST_SortMethod simple type (§3.18.75). |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_SortState">
<sequence>
<element name="sortCondition" minOccurs="0" maxOccurs="64" type="CT_SortCondition"/>
<element name="extLst" type="CT_ExtensionList" minOccurs="0" maxOccurs="1"/>
</sequence>
<attribute name="columnSort" type="xsd:boolean" use="optional" default="false"/>
<attribute name="caseSensitive" type="xsd:boolean" use="optional" default="false"/>
<attribute name="sortMethod" type="ST_SortMethod" use="optional" default="none"/>
<attribute name="ref" type="ST_Ref" use="required"/>
</complexType>