OlapSlicerCache class
Defines the OlapSlicerCache Class.This class is available in Office2010 or above. When the object is serialized out as xml, its qualified name is x14:olap.
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Office2010.Excel.OlapSlicerCache
Namespace: DocumentFormat.OpenXml.Office2010.Excel
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
2.6.80 CT_OlapSlicerCache
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_SlicerCacheData
A complex type that specifies the associated OLAP PivotTable ([ISO/IEC-29500-1] section 18.10) PivotCache, and specifies OLAP Slicer Items. See Slicer Cache Relationship to PivotCache for more details.
Child Elements:
levels: A CT_OlapSlicerCacheLevelsData element that specifies a list of OLAP levels of the OLAP hierarchy specified by this slicer cache.
selections: A CT_OlapSlicerCacheSelections element that specifies a list of OLAP Slicer Items that are selected.
extLst: A CT_ExtensionList ([ISO/IEC-29500-4] section A.2) element that specifies future extensibility for this element.
Attributes:
pivotCacheId: An unsignedInt ([XMLSCHEMA2] section 3.3.22) attribute that specifies the associated OLAP PivotTable ([ISO/IEC-29500-1] section 18.10) PivotCache. MUST be equal to the pivotCacheId attribute of an existing CT_PivotCacheDefinition element.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.
<xsd:complexType name="CT_OlapSlicerCache">
<xsd:sequence>
<xsd:element name="levels" type="CT_OlapSlicerCacheLevelsData" minOccurs="1" maxOccurs="1"/>
<xsd:element name="selections" type="CT_OlapSlicerCacheSelections" minOccurs="1" maxOccurs="1"/>
<xsd:element name="extLst" type="x:CT_ExtensionList" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="pivotCacheId" type="xsd:unsignedInt" use="required"/>
</xsd:complexType>
See section 5.4 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).