TimelineCacheDefinition class

Defines the TimelineCacheDefinition Class. The root element of TimeLineCachePart. When the object is serialized out as xml, its qualified name is x15:timelineCacheDefinition.

Inheritance hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.OpenXmlPartRootElement
        DocumentFormat.OpenXml.Office15.Excel.TimelineCacheDefinition

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(TimelineCachePivotTables), FileFormatVersions.Office15)> _
<OfficeAvailabilityAttribute(FileFormatVersions.Office15)> _
<ChildElementInfoAttribute(GetType(TimelineState), FileFormatVersions.Office15)> _
<ChildElementInfoAttribute(GetType(ExtensionList), FileFormatVersions.Office15)> _
Public Class TimelineCacheDefinition _
    Inherits OpenXmlPartRootElement
'Usage
Dim instance As TimelineCacheDefinition
[ChildElementInfoAttribute(typeof(TimelineCachePivotTables), FileFormatVersions.Office15)]
[OfficeAvailabilityAttribute(FileFormatVersions.Office15)]
[ChildElementInfoAttribute(typeof(TimelineState), FileFormatVersions.Office15)]
[ChildElementInfoAttribute(typeof(ExtensionList), FileFormatVersions.Office15)]
public class TimelineCacheDefinition : OpenXmlPartRootElement

Remarks

2.4.64 timelineCacheDefinition

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

A timelineCacheDefinition element is a CT_TimelineCacheDefinition type element, as specified in section 2.6.126, that specifies a Timeline cache (section 2.3.5.1). This element is the root element of the Timeline cache part.

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

<xsd:element name="timelineCacheDefinition" type="CT_TimelineCacheDefinition"/>

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

2.6.126 CT_TimelineCacheDefinition

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

Referenced by: timelineCacheDefinition

A complex type that specifies a Timeline cache.

Child Elements:

pivotTables: A CT_TimelineCachePivotTables element (section 2.6.127) that specifies a group of CT_ TimelineCachePivotTable elements (section 2.6.128) that specify the PivotTable ([ISO/IEC-29500-1] section 18.10) views and Non-Worksheet PivotTables that are filtered by the Timeline cache (section 2.1.7).

state: A CT_TimelineState element (section 2.6.130) that specifies the information used for display in the Timeline view (section 2.3.5.2).

timelinePivotFilter: A CT_TimelinePivotFilter element that specifies [TYPE HERE]

<<REVIEW>>Embedded Pivot Filter of the Timeline<<REVIEW>>

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

Attributes:

name: An ST_Xstring ([ISO/IEC-29500-1] section 22.9.2.19) attribute that specifies the name of the Timeline cache (section 2.3.5.1). MUST adhere to the name production rule provided in section 2.2.2. MUST be a unique case-insensitive name within the scope of defined names.

sourceName: An ST_Xstring attribute that specifies the MDX unique name of the key attribute of the associated OLAP hierarchy if the Timeline source data (section 2.3.5.1.1) is an OLAP data source (1).

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

<xsd:complexType name="CT_TimelineCacheDefinition">

<xsd:sequence>

<xsd:element name="pivotTables" type="CT_TimelineCachePivotTables" minOccurs="0" maxOccurs="1"/>

<xsd:element name="state" type="CT_TimelineState" minOccurs="1" maxOccurs="1"/>

<xsd:element name="timelinePivotFilter" minOccurs="0" maxOccurs="1" type="CT_TimelinePivotFilter"/>

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

</xsd:sequence>

<xsd:attribute name="name" type="x:ST_Xstring" use="required"/>

<xsd:attribute name="sourceName" type="x:ST_Xstring" use="required"/>

</xsd:complexType>

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

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

TimelineCacheDefinition members

DocumentFormat.OpenXml.Office15.Excel namespace