TableSlicerCache class

Office 2013 and later

Defines the TableSlicerCache Class.This class is only available in Office2013. When the object is serialized out as xml, its qualified name is x15:tableSlicerCache.

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Office2013.Excel.TableSlicerCache

Namespace:  DocumentFormat.OpenXml.Office2013.Excel
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

No code example is currently available or this language may not be supported.

2.4.48 tableSlicerCache

Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2010/11/main

A CT_TableSlicerCache element that specifies a table data source (1) for the slicer cache.<25>

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this element.

<xsd:element name="tableSlicerCache" type="CT_TableSlicerCache"/>

See section 5.3 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).

2.6.97 CT_TableSlicerCache

Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2010/11/main

Referenced by: tableSlicerCache

A complex type that specifies properties of the slicer cache specific to table slicer items.<73>

Child Elements:

extLst: A CT_ExtensionList ([ISO/IEC-29500-4] section A.2) element that specifies future extensibility for this element.

Attributes:

tableId: An unsignedInt ([XMLSCHEMA2] section 3.3.22) attribute that specifies the associated Table ([ISO/IEC-29500-1] section 18.5.1.2). MUST match id attribute of an existing Table ([ISO/IEC-29500-1] section 18.5.1.2) element.

column: An unsignedInt ([XMLSCHEMA2] section 3.3.22) attribute that specifies associated TableColumn ([ISO/IEC-29500-1] section 18.5.1.3). MUST match id attribute of an existing tableColumn element representing a column in Table specified by the tableId attribute.

sortOrder: An ST_TabularSlicerCacheSortOrder attribute that specifies how the table slicer items are sorted in the slicer view.

customListSort: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether custom lists are used when sorting the table slicer items.

Value

Meaning

"false"

Custom lists are not used when sorting the table slicer items.

"true"

Custom lists are used when sorting the table slicer items.

crossFilter: An ST_SlicerCacheCrossFilter attribute that specifies how the table slicer items that are used in slicer cross filtering are displayed.

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.

<xsd:complexType name="CT_TableSlicerCache">

<xsd:sequence>

<xsd:element name="extLst" type="x:CT_ExtensionList" minOccurs="0" maxOccurs="1"/>

</xsd:sequence>

<xsd:attribute name="tableId" type="xsd:unsignedInt" use="required"/>

<xsd:attribute name="column" type="xsd:unsignedInt" use="required"/>

<xsd:attribute name="sortOrder" type="x14:ST_TabularSlicerCacheSortOrder" use="optional" default="ascending"/>

<xsd:attribute name="customListSort" type="xsd:boolean" use="optional" default="true"/>

<xsd:attribute name="crossFilter" type="x14:ST_SlicerCacheCrossFilter" use="optional" default="showItemsWithDataAtTop"/>

</xsd:complexType>

See section 5.3 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).

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