MS XLSX
MS XLSX
MS XLSX
No Trade Secrets. Microsoft does not claim any trade secret rights in this documentation.
Patents. Microsoft has patents that may cover your implementations of the technologies
described in the Open Specifications. Neither this notice nor Microsoft's delivery of the
documentation grants any licenses under those or any other Microsoft patents. However, a given
Open Specification may be covered by Microsoft Open Specification Promise or the Community
Promise. If you would prefer a written license, or if the technologies described in the Open
Specifications are not covered by the Open Specifications Promise or Community Promise, as
applicable, patent licenses are available by contacting iplg@microsoft.com.
Trademarks. The names of companies and products contained in this documentation may be
covered by trademarks or similar intellectual property rights. This notice does not grant any
licenses under those rights. For a list of Microsoft trademarks, visit
www.microsoft.com/trademarks.
Fictitious Names. The example companies, organizations, products, domain names, e-mail
addresses, logos, people, places, and events depicted in this documentation are fictitious. No
association with any real company, organization, product, domain name, email address, logo,
person, place, or event is intended or should be inferred.
Reservation of Rights. All other rights are reserved, and this notice does not grant any rights other
than specifically described above, whether by implication, estoppel, or otherwise.
Tools. The Open Specifications do not require the use of Microsoft programming tools or programming
environments in order for you to develop an implementation. If you have access to Microsoft
programming tools and environments you are free to take advantage of them. Certain Open
Specifications are intended for use in conjunction with publicly available standard specifications and
network programming art, and assumes that the reader either is familiar with the aforementioned
material or has immediate access to it.
1 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
Revision Summary
Date
Revision
History
Revision
Class
Comments
7/13/2009
0.1
Major
Initial Availability
8/28/2009
0.2
Editorial
11/6/2009
0.3
Editorial
2/19/2010
1.0
Major
3/31/2010
1.01
Editorial
4/30/2010
1.02
Editorial
6/7/2010
1.03
Editorial
6/29/2010
1.04
Editorial
7/23/2010
1.04
No Change
9/27/2010
1.04
No Change
11/15/2010
1.04
No Change
12/17/2010
1.04
No Change
3/18/2011
1.5
Minor
6/10/2011
1.5
No Change
1/20/2012
2.0
Major
4/11/2012
2.0
No Change
7/16/2012
3.0
Major
10/8/2012
4.0
Major
2/11/2013
4.1
Minor
7/30/2013
4.1
No Change
11/18/2013
4.2
Minor
2/10/2014
4.2
No Change
4/30/2014
4.3
Minor
7/31/2014
5.0
Major
10/30/2014
5.1
Minor
9/4/2015
6.0
Major
2 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
Table of Contents
1
Introduction .......................................................................................................... 10
1.1
Glossary ......................................................................................................... 10
1.2
References ...................................................................................................... 15
1.2.1
Normative References ................................................................................. 15
1.2.2
Informative References ............................................................................... 16
1.3
Structure Overview (Synopsis) .......................................................................... 17
1.4
Relationship to Protocols and Other Structures .................................................... 17
1.5
Applicability Statement ..................................................................................... 17
1.6
Versioning and Localization ............................................................................... 17
1.7
Vendor-Extensible Fields ................................................................................... 18
Structures ............................................................................................................. 19
2.1
Part Enumerations............................................................................................ 19
2.1.1
Control Properties ....................................................................................... 19
2.1.2
Custom Data .............................................................................................. 19
2.1.3
Custom Data Properties ............................................................................... 20
2.1.4
Slicer Cache ............................................................................................... 20
2.1.5
Slicers ....................................................................................................... 20
2.1.6
Data Model ................................................................................................ 21
2.1.6.1
Command Annotations........................................................................... 21
2.1.6.2
DimensionAttribute Annotations .............................................................. 22
2.1.7
Timeline Cache ........................................................................................... 22
2.1.8
Timelines ................................................................................................... 23
2.1.9
Survey ...................................................................................................... 23
2.2
Extensions ...................................................................................................... 23
2.2.1
SpreadsheetML Extensibility Elements ........................................................... 24
2.2.2
Formulas ................................................................................................... 24
2.2.2.1
Cell Formulas ....................................................................................... 49
2.2.2.2
Conditional Formatting Formulas ............................................................. 49
2.2.2.3
Data Validation Formulas ....................................................................... 49
2.2.2.4
External Name Formulas ........................................................................ 49
2.2.2.5
Name Formulas .................................................................................... 50
2.2.2.6
Pivot Field Formulas .............................................................................. 50
2.2.2.7
Pivot Item Formulas .............................................................................. 50
2.2.3
Functions ................................................................................................... 51
2.2.4
Extensions by Part ...................................................................................... 55
2.2.4.1
Connections ......................................................................................... 55
2.2.4.2
Drawing ............................................................................................... 55
2.2.4.3
External Workbook References ............................................................... 56
2.2.4.4
Pivot Table ........................................................................................... 56
2.2.4.5
Pivot Table Cache Definition ................................................................... 58
2.2.4.6
Query Table ......................................................................................... 59
2.2.4.7
Styles .................................................................................................. 60
2.2.4.8
SlicerCache .......................................................................................... 60
2.2.4.9
Table Definition .................................................................................... 60
2.2.4.10
Workbook ............................................................................................ 62
2.2.4.11
Worksheet ........................................................................................... 62
2.3
Conceptual Overview ........................................................................................ 64
2.3.1
PivotTable What-if Analysis .......................................................................... 64
2.3.2
Slicers ....................................................................................................... 65
2.3.2.1
Slicer Cache ......................................................................................... 65
2.3.2.1.1
Slicer Source Data ........................................................................... 65
2.3.2.1.2
Slicer Cache Relationship to PivotCache.............................................. 65
2.3.2.1.3
Slicer Cache Relationship to Table ..................................................... 66
2.3.2.1.4
Slicer Cache Relationship to PivotTable View ....................................... 66
3 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
2.3.2.1.5
Slicer Cache Relationship to Table column .......................................... 67
2.3.2.1.6
Slicer Items .................................................................................... 67
2.3.2.1.6.1
Non-OLAP Slicer Items ............................................................... 67
2.3.2.1.6.2
OLAP Slicer Items ...................................................................... 68
2.3.2.1.7
Slicer Cross Filtering ........................................................................ 68
2.3.2.2
Slicer View ........................................................................................... 68
2.3.2.2.1
Slicer View Relationship to Slicer Cache .............................................. 69
2.3.2.3
Slicers and Cube Functions ..................................................................... 69
2.3.2.4
Slicer Styles ......................................................................................... 69
2.3.3
Non-Worksheet PivotTable ........................................................................... 70
2.3.4
PivotValues ................................................................................................ 70
2.3.4.1
PivotValueCell....................................................................................... 70
2.3.4.1.1
Value ............................................................................................. 70
2.3.4.1.2
Server Formatting ........................................................................... 70
2.3.5
Timelines ................................................................................................... 70
2.3.5.1
Timeline Cache ..................................................................................... 70
2.3.5.1.1
Timeline Source Data ....................................................................... 71
2.3.5.1.2
Timeline Cache Relationship to PivotCache ......................................... 71
2.3.5.1.3
Timeline Cache Relationship to PivotTable View ................................... 71
2.3.5.1.4
Timeline State................................................................................. 71
2.3.5.2
Timeline View ....................................................................................... 72
2.3.5.2.1
Timeline View Relationship to Timeline Cache ..................................... 72
2.3.5.3
Timelines and Cube Functions ................................................................. 72
2.3.5.4
Timeline Styles ..................................................................................... 72
2.4
Global Elements ............................................................................................... 73
2.4.1
pivotTableReference.................................................................................... 73
2.4.2
pivotTableServerFormats ............................................................................. 73
2.4.3
f ............................................................................................................... 73
2.4.4
ref ............................................................................................................ 73
2.4.5
sqref ......................................................................................................... 74
2.4.6
conditionalFormattings ................................................................................ 74
2.4.7
dataValidations........................................................................................... 74
2.4.8
sparklineGroups ......................................................................................... 75
2.4.9
slicerList .................................................................................................... 75
2.4.10
protectedRanges ........................................................................................ 75
2.4.11
ignoredErrors ............................................................................................. 75
2.4.12
pivotCaches ............................................................................................... 76
2.4.13
slicerCaches ............................................................................................... 76
2.4.14
workbookPr................................................................................................ 76
2.4.15
calculatedMember ....................................................................................... 77
2.4.16
cacheHierarchy ........................................................................................... 77
2.4.17
dataField ................................................................................................... 77
2.4.18
pivotField................................................................................................... 78
2.4.19
pivotTableDefinition .................................................................................... 78
2.4.20
pivotCacheDefinition ................................................................................... 78
2.4.21
connection ................................................................................................. 78
2.4.22
table ......................................................................................................... 79
2.4.23
slicerStyles ................................................................................................ 79
2.4.24
dxfs .......................................................................................................... 79
2.4.25
oleItem ..................................................................................................... 80
2.4.26
pivotHierarchy ............................................................................................ 80
2.4.27
cacheField ................................................................................................. 80
2.4.28
id ............................................................................................................. 81
2.4.29
iconFilter ................................................................................................... 81
2.4.30
filter.......................................................................................................... 81
2.4.31
customFilters ............................................................................................. 81
2.4.32
sortCondition ............................................................................................. 82
2.4.33
sourceConnection ....................................................................................... 82
4 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
2.4.34
formControlPr ............................................................................................ 82
2.4.35
datastoreItem ............................................................................................ 83
2.4.36
slicers ....................................................................................................... 83
2.4.37
slicer ......................................................................................................... 83
2.4.38
slicerCacheDefinition ................................................................................... 83
2.4.39
pivotCaches ............................................................................................... 84
2.4.40
pivotTableReferences .................................................................................. 84
2.4.41
queryTable ................................................................................................ 85
2.4.42
webExtensions ........................................................................................... 85
2.4.43
connection ................................................................................................. 85
2.4.44
calculatedMember ....................................................................................... 85
2.4.45
pivotTableUISettings ................................................................................... 86
2.4.46
pivotFilter .................................................................................................. 86
2.4.47
slicerCaches ............................................................................................... 86
2.4.48
tableSlicerCache ......................................................................................... 86
2.4.49
timelineCacheRefs ...................................................................................... 87
2.4.50
timelineRefs ............................................................................................... 87
2.4.51
timelineCachePivotCaches............................................................................ 87
2.4.52
cacheHierarchy ........................................................................................... 88
2.4.53
slicerCacheHideItemsWithNoData ................................................................. 88
2.4.54
timelineStyles ............................................................................................ 88
2.4.55
dxfs .......................................................................................................... 88
2.4.56
timelinePivotCacheDefinition ........................................................................ 89
2.4.57
timelines ................................................................................................... 89
2.4.58
timelineCacheDefinition ............................................................................... 89
2.4.59
workbookPr................................................................................................ 90
2.4.60
slicerCachePivotTables ................................................................................ 90
2.4.61
cachedUniqueNames ................................................................................... 90
2.4.62
dataModel .................................................................................................. 90
2.4.63
pivotTableData ........................................................................................... 91
2.4.64
pivotCacheDecoupled .................................................................................. 91
2.4.65
pivotCacheIdVersion ................................................................................... 91
2.4.66
timeslicer .................................................................................................. 91
2.4.67
list ............................................................................................................ 92
2.4.68
absPath ..................................................................................................... 92
2.4.69
dataField ................................................................................................... 92
2.4.70
survey ....................................................................................................... 93
2.4.71
contentPart ................................................................................................ 93
2.4.72
modelTimeGroupings .................................................................................. 93
2.5
Global Attributes .............................................................................................. 93
2.5.1
dyDescent ................................................................................................. 93
2.5.2
formatCode16 ............................................................................................ 94
2.5.3
knownFonts ............................................................................................... 95
2.6
Complex Types ................................................................................................ 95
2.6.1
CT_ConditionalFormattings .......................................................................... 95
2.6.2
CT_ConditionalFormatting ............................................................................ 96
2.6.3
CT_DataValidations ..................................................................................... 96
2.6.4
CT_DataValidationFormula ........................................................................... 97
2.6.5
CT_DataValidation ...................................................................................... 98
2.6.6
CT_SparklineGroups...................................................................................100
2.6.7
CT_SparklineGroup ....................................................................................101
2.6.8
CT_Sparklines ...........................................................................................104
2.6.9
CT_Sparkline ............................................................................................105
2.6.10
CT_WorkbookPr .........................................................................................105
2.6.11
CT_SlicerRefs ............................................................................................106
2.6.12
CT_SlicerRef .............................................................................................107
2.6.13
CT_SlicerCaches ........................................................................................107
2.6.14
CT_SlicerCache .........................................................................................107
5 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
2.6.15
2.6.16
2.6.17
2.6.18
2.6.19
2.6.20
2.6.21
2.6.22
2.6.23
2.6.24
2.6.25
2.6.26
2.6.27
2.6.28
2.6.29
2.6.30
2.6.31
2.6.32
2.6.33
2.6.34
2.6.35
2.6.36
2.6.37
2.6.38
2.6.39
2.6.40
2.6.41
2.6.42
2.6.43
2.6.44
2.6.45
2.6.46
2.6.47
2.6.48
2.6.49
2.6.50
2.6.51
2.6.52
2.6.53
2.6.54
2.6.55
2.6.56
2.6.57
2.6.58
2.6.59
2.6.60
2.6.61
2.6.62
2.6.63
2.6.64
2.6.65
2.6.66
2.6.67
2.6.68
2.6.69
2.6.70
2.6.71
2.6.72
CT_CalculatedMember ................................................................................108
CT_TupleSet .............................................................................................109
CT_TupleSetHeaders ..................................................................................110
CT_TupleSetHeader ...................................................................................110
CT_TupleSetRows ......................................................................................111
CT_TupleSetRow .......................................................................................111
CT_TupleSetRowItem .................................................................................112
CT_SetLevels ............................................................................................112
CT_SetLevel ..............................................................................................113
CT_CacheHierarchy ....................................................................................113
CT_DataField ............................................................................................117
CT_Cfvo ...................................................................................................118
CT_CfRule.................................................................................................119
CT_IconSet ...............................................................................................123
CT_ColorScale ...........................................................................................124
CT_DataBar ..............................................................................................125
CT_PivotField ............................................................................................127
CT_PivotTableDefinition ..............................................................................129
CT_PivotCacheDefinition .............................................................................131
CT_Connection ..........................................................................................132
CT_Table ..................................................................................................133
CT_CfIcon.................................................................................................133
CT_PivotEdits ............................................................................................134
CT_PivotEdit .............................................................................................134
CT_PivotChanges .......................................................................................135
CT_PivotChange ........................................................................................135
CT_PivotUserEdit .......................................................................................136
CT_PivotEditValue......................................................................................137
CT_TupleItems ..........................................................................................137
CT_SlicerStyle ...........................................................................................138
CT_SlicerStyleElement ...............................................................................138
CT_OleItem ..............................................................................................139
CT_PivotHierarchy .....................................................................................140
CT_CacheField...........................................................................................141
CT_ConditionalFormats...............................................................................143
CT_ConditionalFormat ................................................................................143
CT_SlicerStyles .........................................................................................144
CT_SlicerStyleElements ..............................................................................144
CT_IgnoredErrors ......................................................................................145
CT_IgnoredError ........................................................................................145
CT_ProtectedRanges ..................................................................................148
CT_ProtectedRange....................................................................................148
CT_IconFilter ............................................................................................150
CT_Filter ..................................................................................................150
CT_CustomFilters ......................................................................................151
CT_CustomFilter ........................................................................................152
CT_SortCondition.......................................................................................152
CT_SourceConnection ................................................................................153
CT_ListItem ..............................................................................................154
CT_ListItems .............................................................................................154
CT_FormControlPr .....................................................................................155
CT_DatastoreItem .....................................................................................159
CT_Slicers ................................................................................................159
CT_Slicer ..................................................................................................160
CT_Slicer ..................................................................................................162
CT_SlicerCacheDefinition ............................................................................162
CT_SlicerCacheData ...................................................................................163
CT_SlicerCachePivotTables..........................................................................164
6 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
2.6.73
2.6.74
2.6.75
2.6.76
2.6.77
2.6.78
2.6.79
2.6.80
2.6.81
2.6.82
2.6.83
2.6.84
2.6.85
2.6.86
2.6.87
2.6.88
2.6.89
2.6.90
2.6.91
2.6.92
2.6.93
2.6.94
2.6.95
2.6.96
2.6.97
2.6.98
2.6.99
2.6.100
2.6.101
2.6.102
2.6.103
2.6.104
2.6.105
2.6.106
2.6.107
2.6.108
2.6.109
2.6.110
2.6.111
2.6.112
2.6.113
2.6.114
2.6.115
2.6.116
2.6.117
2.6.118
2.6.119
2.6.120
2.6.121
2.6.122
2.6.123
2.6.124
2.6.125
2.6.126
2.6.127
2.6.128
2.6.129
2.6.130
CT_SlicerCachePivotTable ...........................................................................164
CT_OlapSlicerCacheItem ............................................................................165
CT_OlapSlicerCacheItemParent ...................................................................166
CT_OlapSlicerCacheRange ..........................................................................166
CT_OlapSlicerCacheRanges .........................................................................167
CT_OlapSlicerCacheLevelData .....................................................................167
CT_OlapSlicerCacheLevelsData ....................................................................168
CT_OlapSlicerCache ...................................................................................169
CT_OlapSlicerCacheSelections .....................................................................169
CT_OlapSlicerCacheSelection ......................................................................170
CT_TabularSlicerCache ...............................................................................171
CT_TabularSlicerCacheItems .......................................................................172
CT_TabularSlicerCacheItem ........................................................................172
CT_PivotTableReferences ............................................................................173
CT_PivotTableReference .............................................................................174
CT_QueryTable ..........................................................................................174
CT_WebExtensions ....................................................................................175
CT_WebExtension ......................................................................................176
CT_Connection ..........................................................................................176
CT_CalculatedMemberExt ...........................................................................178
CT_CalculatedMember ................................................................................178
CT_FieldListActiveTabTopLevelEntity ............................................................179
CT_PivotFilter ............................................................................................180
CT_PivotTableUISettings.............................................................................182
CT_TableSlicerCache ..................................................................................182
CT_TimelineCacheRefs ...............................................................................183
CT_TimelineCacheRef .................................................................................184
CT_TimelineRefs ........................................................................................184
CT_TimelineRef .........................................................................................185
CT_CacheHierarchy ....................................................................................185
CT_SlicerCacheHideNoData .........................................................................185
CT_SlicerCacheOlapLevelName ....................................................................186
CT_TimelineStyles .....................................................................................186
CT_TimelineStyleElements ..........................................................................187
CT_TimelineStyle .......................................................................................187
CT_TimelineStyleElement ...........................................................................188
CT_TimelinePivotCacheDefinition .................................................................189
CT_Timelines ............................................................................................189
CT_Timeline ..............................................................................................189
CT_TimelineCacheDefinition ........................................................................192
CT_TimelineCachePivotTables .....................................................................193
CT_TimelineCachePivotTable .......................................................................194
CT_TimelineRange .....................................................................................194
CT_TimelineState ......................................................................................195
CT_WorkbookPr .........................................................................................196
CT_TimelinePivotFilter ................................................................................197
CT_ModelTextPr ........................................................................................198
CT_RangePr ..............................................................................................198
CT_DbTable ..............................................................................................199
CT_DbTables .............................................................................................199
CT_DbCommand .......................................................................................199
CT_OledbPr...............................................................................................200
CT_DataFeedPr .........................................................................................200
CT_CachedUniqueNames ............................................................................201
CT_CachedUniqueName..............................................................................201
CT_ModelTable ..........................................................................................202
CT_ModelTables ........................................................................................202
CT_ModelRelationship ................................................................................203
7 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
3.1
Slicer .............................................................................................................241
3.1.1
Slicer Cache Part .......................................................................................242
3.1.2
Slicer Part .................................................................................................243
4
9 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
Introduction
The Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format specifies extensions to
the Office Open XML file formats described in [ISO/IEC29500-1:2011]. The extensions are specified
using conventions provided by the Office Open XML file formats described in [ISO/IEC29500-3:2011].
The extensions are a collection of structures and parts in a container that specify appropriate content,
which can include unstructured or semi-structured tables of numbers, text, or both numbers and text,
equations or functions, external data connections, charts, and images. Content in such a container is
typically organized in a grid-based layout, and often includes numeric data, structured data, and
formulas.
Sections 1.7 and 2 of this specification are normative and can contain the terms MAY, SHOULD, MUST,
MUST NOT, and SHOULD NOT as defined in [RFC2119]. All other sections and examples in this
specification are informative.
1.1
Glossary
10 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
control: A graphical user interface object that users interact with when working with applications,
forms, documents, webpages, and other types of files.
credential: Previously established, authentication (2) data that is used by a security principal to
establish its own identity. When used in reference to the Netlogon Protocol, it is the data that is
stored in the NETLOGON_CREDENTIAL structure.
cube function: A function that is used to extract and display Online Analytical Processing (OLAP)
data sets and values.
custom filter: A filter that contains preconfigured expressions in which users can optionally enter
a string to filter data.
custom list: A user-defined list (2) or enumeration that can be used to sort data in a worksheet.
data bar: A graphical representation of cell content as a bar graph.
data connection: A collection of information, such as the type and location, that defines how to
connect to an external data source, such as a database, web service, SharePoint list, or XML
file.
data marker: A customizable symbol or shape that identifies a data point on a line, scatter, or
radar chart. A data marker can be formatted with various sizes and colors.
data point: A representation of a PivotTable item in a PivotTable data field contained in a
PivotChart report.
data provider: A known data source that is specific to a target type and that provides data to a
collector type.
data source: A database, web service, disk, file, or other collection of information from which data
is queried or submitted. Supported data sources vary based on application and data provider.
data table: A range of cells that is designated to perform what-if analysis for formulas, based on
various input values.
data validation: The process of testing the accuracy of data; a set of rules that specify the type
and range of data that users can enter.
defined name: A word or string of characters in a formula that represents a cell, range of cells,
formula, or constant value.
descendant: A member that is below the current member in a hierarchy.
dimension: A structural attribute of a cube, which is an organized hierarchy of categories (levels)
that describe data in a fact table. These categories typically describe a similar set of members
upon which the user bases an analysis.
display folder: A folder into which attributes, measures, calculated members, and key
performance indicators can be organized to facilitate browsing.
drillthrough: A query that is used to retrieve individual records that were used to calculate an
aggregate value.
English Metric Unit (EMU): A measurement in computer typography. There are 635 EMUs per
twip, 6,350 EMUs per half-point, 12,700 EMUs per point, and 914,400 EMUs per inch. These
units are used to translate on-screen layouts to printed layouts for specified printer hardware.
field: An element or attribute in a data source that can contain data.
11 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
filter: A mechanism by which a set of data is scoped to display only those entries that meet
specified logical criteria.
formula: A logical equation or function that produces a result in a spreadsheet application.
future function: A function that can be written to but is not implemented in a file.
globally unique identifier (GUID): A term used interchangeably with universally unique
identifier (UUID) in Microsoft protocol technical documents (TDs). Interchanging the usage of
these terms does not imply or require a specific algorithm or mechanism to generate the value.
Specifically, the use of this term does not imply or require that the algorithms described in
[RFC4122] or [C706] must be used for generating the GUID. See also universally unique
identifier (UUID).
hash: A fixed-size result that is obtained by applying a one-way mathematical function, which is
sometimes referred to as a hash algorithm, to an arbitrary amount of data. If the input data
changes, the hash also changes. The hash can be used in many operations, including
authentication (2) and digital signing.
hidden: A condition of an object that prevents it from being displayed in rendered output.
hierarchy: A logical tree structure that organizes the members of a dimension such that each
member has one parent member and zero or more child members.
icon: A graphical image used to supplement alphanumeric text in the visual identification of an
object on a computer monitor. Icons are typically small, relative to the size of the area on
which they are displayed.
icon set: A collection of icons that can be used to comment and classify data into categories.
Input Method Editor (IME): An application that is used to enter characters in written Asian
languages by using a standard 101-key keyboard. An IME consists of both an engine that
converts keystrokes into phonetic and ideographic characters and a dictionary of commonly used
ideographic words.
left-to-right: A reading order in which characters in words are read from left to right, and words
are read from left to right in sentences.
locale: A collection of rules and data that are specific to a language and a geographical area. A
locale can include information about sorting rules, date and time formatting, numeric and
monetary conventions, and character classification.
locked: The condition of a cell, worksheet, or other object that restricts edits or modifications to it
by users.
MDX unique name: A unique identifier for a multidimensional expression (MDX) member or value
in a given Online Analytical Processing (OLAP) cube, for example "[Customer].[Customer
Geography].[Country].&[Australia]".
measure: In a cube, a set of values that are typically numeric and are based on a column in the
fact table of the cube. Measures are the central values that are aggregated and analyzed.
multidimensional expression (MDX): A syntax that is used for defining multidimensional
objects, and for querying and manipulating multidimensional data.
Object Linking and Embedding (OLE): A technology for transferring and sharing information
between applications by inserting a file or part of a file into a compound document. The inserted
file can be either embedded or linked. See also embedded object and linked object.
OLAP All level: An optional level at the top of a hierarchy. It typically contains an OLAP All
member that represents an aggregation of all of the lower-level members of that hierarchy.
12 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
OLAP All member: A multidimensional expression (MDX) that evaluates a hierarchy and returns a
set that contains all of the members of the specified hierarchy.
OLAP allocation: An operation in which the values for members at lower levels in an OLAP
hierarchy are changed based on changes to values for members at higher levels in that
hierarchy.
OLAP hierarchy: An attribute hierarchy or a user-defined hierarchy in a data structure. By default,
each dimension attribute has an attribute hierarchy. A user-defined hierarchy is a set of related
attribute hierarchies that is used to facilitate browsing an OLAP cube.
OLAP level: Within an OLAP hierarchy, a set of data that is organized into a lower or higher level
of detail, such as Year, Quarter, Month, and Day levels in a Time hierarchy.
OLAP measure: A set of numeric values in an OLAP cube that is used in aggregation and analysis.
OLAP member: An item that is in an OLAP level. For example, a Canada member in a Country
level of a Geography hierarchy.
OLAP named set: A collection of OLAP tuples that have the same dimensionality. Also referred
to as OLAP set.
OLAP subselect: The ability to execute multiple SELECT commands in a FROM clause that is inside
a multidimensional expression (MDX) statement.
OLAP tuple: An ordered collection of members that are from different dimensions of an OLAP
cube. A single member is a special case of a tuple.
OLAP weight expression: A multidimensional expression (MDX) that is used to apply and allocate
modified values to an Online Analytical Processing (OLAP) provider. It typically returns a
decimal value between "0" and "1".
OLE DB: A set of interfaces that are based on the Component Object Model (COM) programming
model and expose data from a variety of sources. These interfaces support the amount of
Database Management System (DBMS) functionality that is appropriate for a data store and
they enable a data store to share data.
Online Analytical Processing (OLAP): A technology that uses multidimensional structures to
provide access to data for analysis. The source data for OLAP is stored in data warehouses in a
relational database. See also cube.
PivotTable: An interactive table that summarizes large amounts of data from various sources by
using format and calculation methods. Row and column headings can be rotated to view
different summaries of the source data, filter the data, or display detail data for specific areas.
PivotTable field list: A user interface element that displays a list of all of the fields in a PivotTable
report. It can be used to populate a PivotTable report and to manipulate the fields.
pixel: A discrete unit of display on a computer display device.
plot area: A portion of a chart area that contains the plotted data and axes.
point: A unit of measurement for fonts and spacing. A point is equal to 1/72 of an inch.
protection: A mechanism that helps restrict users from making unwanted changes to the data or
structure of a workbook.
query table: A two-dimensional table that presents data from an external data source.
range: An addressable region that is in a workbook. A range typically consists of zero or more cells
and represents a single, contiguous rectangle of cells on a single sheet.
13 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
right-to-left: A reading and display order that is optimized for right-to-left languages.
root element: The top-level element in an XML document. It contains all other elements and is
not contained by any other element, as described in [XML].
row: A single set of data that is displayed horizontally in a worksheet or a table.
salt: An additional random quantity, specified as input to an encryption function that is used to
increase the strength of the encryption.
security descriptor: A data structure containing the security information associated with a
securable object. A security descriptor identifies an object's owner by its security identifier
(SID). If access control is configured for the object, its security descriptor contains a
discretionary access control list (DACL) with SIDs for the security principals who are allowed or
denied access. Applications use this structure to set and query an object's security status. The
security descriptor is used to guard access to an object as well as to control which type of
auditing takes place when the object is accessed. The security descriptor format is specified in
[MS-DTYP] section 2.4.6; a string representation of security descriptors, called SDDL, is
specified in [MS-DTYP] section 2.5.1.
selected: The condition of a set of items that has focus in a workbook.
shape: A collection of qualifiers, such as names, and quantifiers, such as coordinates, that is used
to represent a geometric object. A shape can be contained in a document, file structure, runtime structure, or other medium.
sheet: A part of an Excel workbook. There are four types of sheets: worksheet, macro sheet,
dialog sheet, and chart sheet. Multiple sheets are stored together within a workbook.
sort: A process that arranges cells in ascending or descending order, based on cell content.
sort condition: A condition that determines how to sort cells in a range.
sort order: A specific arrangement of cells that is based on cell content. The order can be
ascending or descending.
source data: The data that is used as the basis for charts, PivotTable reports, and other data
visualization features.
sparkline: A miniature chart that can be inserted into text or embedded in a cell on a worksheet to
illustrate highs, lows, and trends in data.
spreadsheet data model: A local Online Analytical Processing (OLAP) storage of data used
by a spreadsheet application.
table: A list (2) that is defined in a workbook.
Unicode: A character encoding standard developed by the Unicode Consortium that represents
almost all of the written languages of the world. The Unicode standard [UNICODE5.0.0/2007]
provides three forms (UTF-8, UTF-16, and UTF-32) and seven schemes (UTF-8, UTF-16, UTF-16
BE, UTF-16 LE, UTF-32, UTF-32 LE, and UTF-32 BE).
unique identifier (UID): A pair consisting of a GUID and a version sequence number to identify
each resource uniquely. The UID is used to track the object for its entire lifetime through any
number of times that the object is modified or renamed.
workbook: A container for a collection of sheets.
worksheet: A single logical container for a set of tabular data and other objects in a workbook.
XML: The Extensible Markup Language, as described in [XML1.0].
14 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
XML namespace: A collection of names that is used to identify elements, types, and attributes in
XML documents identified in a URI reference [RFC3986]. A combination of XML namespace and
local name allows XML documents to use elements, types, and attributes that have the same
names but come from different sources. For more information, see [XMLNS-2ED].
XML schema definition (XSD): The World Wide Web Consortium (W3C) standard language that
is used in defining XML schemas. Schemas are useful for enforcing structure and constraining
the types of data that can be used validly within other XML documents. XML schema definition
refers to the fully specified and currently recommended standard for use in authoring XML
schemas.
XOR obfuscation: A type of file encryption that helps protect private data by using an exclusive or
bitwise operation. This is done by adding a mathematical expression that prevents a simple
reverse-engineering process.
zoom level: The degree to which a portion of an image, document, or other screen object is made
to appear closer or farther away relative to its default appearance. This value is usually
expressed as a percentage of the default appearance.
MAY, SHOULD, MUST, SHOULD NOT, MUST NOT: These terms (in all caps) are used as defined
in [RFC2119]. All statements of optional behavior use either MAY, SHOULD, or SHOULD NOT.
1.2
References
Links to a document in the Microsoft Open Specifications library point to the correct section in the
most recently published version of the referenced document. However, because individual documents
in the library are not updated at the same time, the section numbers in the documents may not
match. You can confirm the correct section numbering by checking the Errata.
1.3
This document specifies spreadsheet-related extensions to Office Open XML file formats as described
in [ISO/IEC29500-1:2011]. Workbook data is contained in a ZIP package conforming to the Open
Packaging Conventions as described in [ISO/IEC29500-2:2011]. Individual files stored in the ZIP
package, called parts [ISO/IEC29500-1:2011], contain information about the content and structure of
a workbook, including workbook data, such as worksheet definitions. Some parts [ISO/IEC295001:2011]) store information by using XML and other parts [ISO/IEC29500-1:2011] store information
by using binary data. The extensions specified in this document use the conventions specified by
[ISO/IEC29500-3:2011], and they are both structures within parts specified by [ISO/IEC295001:2011] and extension parts within the package described by [ISO/IEC29500-2:2011].
1.4
This file format is a specified set of extensions to Office Open XML SpreadsheetML, specified in
[ISO/IEC29500-1:2011]. This specification is dependent on the structures and concepts defined in the
following references:
[MS-OFFCRYPTO] for the persistence format for document signing, information rights
management, document encryption, and obfuscation.
1.5
Applicability Statement
This document specifies a persistence format for extensions to Office Open XML file formats as
described in [ISO/IEC29500-1:2011] SpreadsheetML documents. The extensions specified in this
document allow for expressing additional content and properties, and are not applicable as a standalone file format. Each structure specified in this document is integrated with SpreadsheetML
documents as described in [ISO/IEC29500-1:2011] in a particular way, as specified in the section for
that structure. All structures are integrated into SpreadsheetML documents in such a way that
maintains compatibility with implementations of the Office Open XML file formats as described in
[ISO/IEC29500-1:2011].
The extensions specified in this document do not require any other extensions to be used, and do not
prohibit any other extensions from being used in the same document.
This persistence format provides interoperability with applications that create or read documents
conforming to this structure.
1.6
Structure Versions: There is only one version of Excel Extensions to the Office Open XML
SpreadsheetML File Format.
17 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
The Security Considerations section also specifies processes and data that are locale-dependent. See
each structure and section description for more information.
1.7
Vendor-Extensible Fields
18 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
Structures
In the following sections, the schema definition might be less restrictive than the processing rules
imposed by the application. The XSD in this specification provides a base description of the file format.
The text that introduces the XSD specifies additional restrictions that reflect actual Microsoft product
behavior. For example, the schema definition might allow for an element to be empty, null, or not
present but the behavior of the application as specified restricts the same elements to being nonempty, not null, and present.
2.1
Part Enumerations
This section specifies parts in this file format that extend Office Open XML file formats as specified in
[ISO/IEC29500-1:2011].
19 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
2.1.5 Slicers
Content type: application/vnd.ms-excel.slicer+xml
Source relationship: http://schemas.microsoft.com/office/2007/relationships/slicer
An instance of this part type specifies the slicer views, as specified in section 2.3.2.2, for a single
worksheet.
20 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
The presence of a slicers part indicates that there is at least one slicer view on the associated
worksheet, and that this part MUST be the target of an explicit relationship from the worksheet part,
as specified in [ISO/IEC29500-1:2011] section 12.3.24.
A slicers part MUST NOT have implicit or explicit relationships to any part specified by this protocol.
The syntax of the structures contained in this part uses XSD, as specified in [XMLSCHEMA1] and
[XMLSCHEMA2].
This specification defines and references various XML namespaces by using the mechanisms specified
in [XMLNS].
The content of this part is XML, and the root element for the part is the slicers element, as specified
in section 2.4.36.
Meaning
SUM
21 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
Value
Meaning
MAX
COUNTA
AVERAGE
STDEV.S
STDEV.P
VAR.S
DISTINCTCOUNT
Application: Specifies the name of the application that created this measure. MUST exist if Type is
equal to "Implicit"
The syntax of the structures contained in this part uses XSD, as specified in [XMLSCHEMA1] and
[XMLSCHEMA2].
This specification defines and references various XML namespaces by using the mechanisms specified
in [XMLNS].
The content of this part is XML, and the root element for the part is the timelineCacheDefinition
element, as specified in section 2.4.58.
2.1.8 Timelines
Content type: application/vnd.ms-excel.Timeline+xml
Source relationship: http://schemas.microsoft.com/office/2010/relationships/Timeline
An instance of this part type specifies the Timeline views for a single worksheet.
The presence of a Timelines part indicates that there is at least one Timeline view on the associated
worksheet, and that this part MUST be the target of an explicit relationship from the worksheet part,
as specified in [ISO/IEC29500-1:2011] section 12.3.24.
A Timelines part MUST NOT have implicit or explicit relationships to any part specified by this protocol.
The syntax of the structures contained in this part uses XSD, as specified in [XMLSCHEMA1] and
[XMLSCHEMA2].
This specification defines and references various XML namespaces by using the mechanisms specified
in [XMLNS].
The content of this part is XML, and the root element for the part is the timelines element, as
specified in section 2.4.57.
2.1.9 Survey
Content type: application/vnd.ms-excel.Survey+xml
Source relationship: http://schemas.microsoft.com/office/2010/relationships/Survey
The syntax of the structures contained in this part uses XSD, as specified in [XMLSCHEMA1] and
[XMLSCHEMA2].
This specification defines and references various XML namespaces by using the mechanisms specified
in [XMLNS].
The content of this part is XML, and the root element for the part is the survey element, as specified
in section 2.4.70.
2.2
Extensions
Extensions are specified by using the conventions provided by Office Open XML file formats as
specified in [ISO/IEC29500-3:2011].The following namespaces are utilized by the extensions specified
in this document:
"http://schemas.microsoft.com/office/drawingml/2010/slicer"<1>
"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"<2>
"http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac"<3>
"http://schemas.microsoft.com/office/excel/2006/main"
23 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
"http://schemas.microsoft.com/office/spreadsheetml/2010/11/main"<4>
"http://schemas.microsoft.com/office/drawing/2012/timeslicer"<5>
2.2.2 Formulas
The following ABNF grammar is used by formulas in other parts of this document.
formula = expression
expression= ref-expression / *whitespace nospace-expression *whitespace
ref-expression= *whitespace ref-nospace-expression *whitespace
nospace-expression = "(" expression ")" / constant / prefix-operator expression /
expression infix-operator expression / expression postfix-operator / function-call
ref-nospace-expression = "(" ref-expression ")" / ref-constant / ref-expression ref-infixoperator ref-expression / cell-reference / ref-function-call / name-reference / structurereference
constant = error-constant / logical-constant / numerical-constant / string-constant / arrayconstant
ref-constant = "#REF!"
error-constant = ref-constant / "#DIV/0!" / "#N/A" / "#NAME?" / "#NULL!" / "#NUM!" /
"#VALUE!" / "#GETTING_DATA"
logical-constant = "FALSE" / "TRUE"
numerical-constant = [neg-sign] significand-part [exponent-part]
significand-part = whole-number-part [fractional-part] / fractional-part
whole-number-part = digit-sequence
fractional-part = full-stop digit-sequence
exponent-part = exponent-character [ sign ] digit-sequence
full-stop = "."
sign = "+" / neg-sign
neg-sign = "-"
exponent-character = "E"
digit-sequence = 1*decimal-digit
decimal-digit= %x30-39
nonzero-decimal-digit = %x31-39
string-constant = double-quote [string-chars] double-quote
string-chars = string-char *string-char
string-char = escaped-double-quote / character ; MUST NOT be a double-quote
escaped-double-quote = 2double-quote
double-quote = %x22
;character = as defined by the production Char in the [W3C-XML] section 2.2
array-constant = "{" constant-list-rows "}"
constant-list-rows = constant-list-row *(semicolon constant-list-row)
semicolon = ";"
constant-list-row = constant *(comma constant)
;An array-constant MUST NOT contain an array-constant or columns of unequal length or rows of
unequal length.
operator = ":" / comma / space / "^" / "*" / "/" / "+" / "-" / "&" / "=" / "<>" / "<" / "<="
/ ">" / ">=" / "%"
infix-operator = ref-infix-operator / value-infix-operator
value-infix-operator = "^" / "*" / "/" / "+" / "-" / "&"/ "=" / "<>" / "<" / "<=" / ">" /
">="
ref-infix-operator = range-operator / union-operator / intersection-operator
union-operator = comma
intersection-operator = space
range-operator = ":"
postfix-operator = "%"
24 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
row-number = 1-1048576
; A string composed of unicode-digits that represents an unsigned integer that is greater
than or equal to 1 and less than or equal to 1048576.
name-reference = name / external-name
external-name = bang-name / (single-sheet-prefix / book-prefix ) name
bang-name = "!" name
name = name-start-character [ name-characters ]
name-start-character = underscore / backslash / letter / name-base-character
underscore = "_"
backslash = "\"
name-base-character = (any code points which are characters as defined by the Unicode
character properties, [UNICODE5.1] chapter 4 ; MUST NOT be 0x0-0x7F)
name-characters= 1*name-character
name-character = name-start-character / decimal-digit / full-stop / questionmark
questionmark = "?"
;A name MUST NOT have any of the following forms:
;TRUE or FALSE
;cell-reference
;function-list
;command-list
;future-function-list
;R1C1-cell-reference
structure-reference = [table-identifier] intra-table-reference
table-identifier = [book-prefix] table-name
table-name = name
;table-name is the name of the table the structure reference refers to. If it is missing, the
formula containing the structure reference MUST be entered into a cell which belongs to a
table and that tables name is used as the table-name. table-name MUST be the value of the
displayName attribute of some table element ([ISO/IEC29500-1:2011] section 18.5.1.2). It MUST
NOT be any other user-defined name.
intra-table-reference = spaced-lbracket inner-reference spaced-rbracket / keyword / ("["
[simple-column-name] "]")
inner-reference = keyword-list / ([keyword-list spaced-comma] column-range)
keyword = "[#All]" / "[#Data]" / "[#Headers]" / "[#Totals]" / "[#This Row]"
keyword-list = keyword / ("[#Headers]" spaced-comma "[#Data]") / ("[#Data]" spaced-comma
"[#Totals]")
column-range = column [":" column]
column = simple-column-name / ("[" *space simple-column-name *space "]")
simple-column-name = [any-nospace-column-character *any-column-character] any-nospace-columncharacter
escape-column-character = tick / "[" / "]" / "#"
tick = %x27
unescaped-column-character = character
; MUST NOT match escape-column-character or space
any-column-character = any-nospace-column-character / space
any-nospace-column-character = unescaped-column-character / (tick escape-column-character)
spaced-comma = [space] comma [space]
spaced-lbracket = "[" [space]
spaced-rbracket = [space] "]"
function-list = "ABS" / "ABSREF" / "ACCRINT" / "ACCRINTM" / "ACOS" / "ACOSH" / "ACTIVE.CELL"
/ "ADD.BAR" / "ADD.COMMAND" / "ADD.MENU" / "ADD.TOOLBAR" / "ADDRESS" / "AMORDEGRC" /
"AMORLINC" / "AND" / "APP.TITLE" / "AREAS" / "ARGUMENT" / "ASC" / "ASIN" / "ASINH" / "ATAN" /
"ATAN2" / "ATANH" / "AVEDEV" / "AVERAGE" / "AVERAGEA" / "AVERAGEIF" / "AVERAGEIFS" /
"BAHTTEXT" / "BESSELI" / "BESSELJ" / "BESSELK" / "BESSELY" / "BETADIST" / "BETAINV" /
"BIN2DEC" / "BIN2HEX" / "BIN2OCT" / "BINOMDIST" / "BREAK" / "CALL" / "CALLER" / "CANCEL.KEY"
/ "CEILING" / "CELL" / "CHAR" / "CHECK.COMMAND" / "CHIDIST" / "CHIINV" / "CHITEST" / "CHOOSE"
/ "CLEAN" / "CODE" / "COLUMN" / "COLUMNS" / "COMBIN" / "COMPLEX" / "CONCATENATE" /
"CONFIDENCE" / "CONVERT" / "CORREL" / "COS" / "COSH" / "COUNT" / "COUNTA" / "COUNTBLANK" /
"COUNTIF" / "COUNTIFS" / "COUPDAYBS" / "COUPDAYS" / "COUPDAYSNC" / "COUPNCD" / "COUPNUM" /
"COUPPCD" / "COVAR" / "CREATE.OBJECT" / "CRITBINOM" / "CUBEKPIMEMBER" / "CUBEMEMBER" /
"CUBEMEMBERPROPERTY" / "CUBERANKEDMEMBER" / "CUBESET" / "CUBESETCOUNT" / "CUBEVALUE" /
"CUMIPMT" / "CUMPRINC" / "CUSTOM.REPEAT" / "CUSTOM.UNDO" / "DATE" / "DATEDIF" / "DATESTRING"
/ "DATEVALUE" / "DAVERAGE" / "DAY" / "DAYS360" / "DB" / "DBCS" / "DCOUNT" / "DCOUNTA" / "DDB"
/ "DEC2BIN" / "DEC2HEX" / "DEC2OCT" / "DEGREES" / "DELETE.BAR" / "DELETE.COMMAND" /
"DELETE.MENU" / "DELETE.TOOLBAR" / "DELTA" / "DEREF" / "DEVSQ" / "DGET" / "DIALOG.BOX" /
"DIRECTORY" / "DISC" / "DMAX" / "DMIN" / "DOCUMENTS" / "DOLLAR" / "DOLLARDE" / "DOLLARFR" /
"DPRODUCT" / "DSTDEV" / "DSTDEVP" / "DSUM" / "DURATION" / "DVAR" / "DVARP" / "ECHO" / "EDATE"
26 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
28 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
fv-params = "(" argument "," argument "," argument ["," argument ["," argument]] ")"
fvschedule-params = "(" argument "," argument ")"
gammadist-params = "(" argument "," argument "," argument "," argument ")"
gamma-dist-params = "(" argument "," argument "," argument "," argument ")"
gammainv-params = "(" argument "," argument "," argument ")"
gamma-inv-params = "(" argument "," argument "," argument ")"
gammaln-params = "(" argument-expression ")"
gammaln-precise-params = "(" argument-expression ")"
gamma-params = "(" argument-expression ")"
gauss-params = "(" argument-expression ")"
gcd-params = "(" (argument-expression / (argument 1*254("," argument))) ")"
geomean-params = "(" (argument-expression / (argument 1*254("," argument))) ")"
gestep-params = "(" (argument-expression / (argument "," argument)) ")"
getpivotdata-params = "(" argument "," argument ["," argument ["," argument *125("," argument
"," argument)]] ")"
growth-params = "(" (argument-expression / (argument "," argument ["," argument [","
argument]])) ")"
harmean-params = "(" (argument-expression / (argument 1*254("," argument))) ")"
hex2bin-params = "(" (argument-expression / (argument "," argument)) ")"
hex2dec-params = "(" argument-expression ")"
hex2oct-params = "(" (argument-expression / (argument "," argument)) ")"
hlookup-params = "(" argument "," argument "," argument ["," argument] ")"
hour-params = "(" argument-expression ")"
hyperlink-params = "(" (argument-expression / (argument "," argument)) ")"
hypgeomdist-params = "(" argument "," argument "," argument "," argument ")"
hypgeom-dist-params = "(" argument "," argument "," argument "," argument "," argument ")"
iferror-params = "(" argument "," argument ")"
ifna-params = "(" argument "," argument ")"
if-params = "(" (argument-expression / (argument "," argument ["," argument])) ")"
imabs-params = "(" argument-expression ")"
imaginary-params = "(" argument-expression ")"
imargument-params = "(" argument-expression ")"
imconjugate-params = "(" argument-expression ")"
imcosh-params = "(" argument-expression ")"
imcos-params = "(" argument-expression ")"
imcot-params = "(" argument-expression ")"
imcsch-params = "(" argument-expression ")"
imcsc-params = "(" argument-expression ")"
imdiv-params = "(" argument "," argument ")"
imexp-params = "(" argument-expression ")"
imln-params = "(" argument-expression ")"
imlog10-params = "(" argument-expression ")"
imlog2-params = "(" argument-expression ")"
impower-params = "(" argument "," argument ")"
improduct-params = "(" (argument-expression / (argument 1*254("," argument))) ")"
imreal-params = "(" argument-expression ")"
imsech-params = "(" argument-expression ")"
imsec-params = "(" argument-expression ")"
imsinh-params = "(" argument-expression ")"
imsin-params = "(" argument-expression ")"
imsqrt-params = "(" argument-expression ")"
imsub-params = "(" argument "," argument ")"
imsum-params = "(" (argument-expression / (argument 1*254("," argument))) ")"
imtan-params = "(" argument-expression ")"
index-params = "(" argument "," argument ["," argument ["," argument]] ")"
indirect-params = "(" (argument-expression / (argument "," argument)) ")"
info-params = "(" argument-expression ")"
intercept-params = "(" argument "," argument ")"
int-params = "(" argument-expression ")"
intrate-params = "(" argument "," argument "," argument "," argument ["," argument] ")"
ipmt-params = "(" argument "," argument "," argument "," argument ["," argument [","
argument]] ")"
irr-params = "(" (argument-expression / (argument "," argument)) ")"
isblank-params = "(" argument-expression ")"
iserror-params = "(" argument-expression ")"
iserr-params = "(" argument-expression ")"
iseven-params = "(" argument-expression ")"
isformula-params = "(" ref-argument-expression ")"
islogical-params = "(" argument-expression ")"
34 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
The formula MUST NOT use the bang-reference or bang-name production rules.
All f elements of CT_Cell elements, as specified in [ISO/IEC29500-4:2011] section A.2, and all
calculatedColumnFormula and totalsRowFormula elements of CT_TableColumn elements, as
specified in [ISO/IEC29500-4:2011] section A.2, are cell formulas.
The formula MUST NOT use the union-operator, intersection-operator, range-operator, bangreference, bang-name, array-constant, external-cell-reference, or structure-reference production
rules.
All val attributes of CT_Cfvo elements, as specified in [ISO/IEC29500-4:2011] section A.2, and all
formula elements of CT_CfRule elements, as specified in [ISO/IEC29500-4:2011] section A.2, are
conditional formatting formulas.
The formula MUST NOT use the union-operator, intersection-operator, range-operator, bangreference, bang-name, array-constant, sheet-range-reference, or structure-reference production
rules.
When matching the single-sheet or sheet-range rules for an external name formula, the optional
workbook-index in those rules MUST NOT be omitted.
All refersTo attributes of CT_ExternalDefinedName elements, as specified in [ISO/IEC295004:2011] section A.2, are external name formulas.
The formula MUST NOT use the ref-infix-operator, array-constant, getpivotdata-params, dcountparams, dcounta-params, dsum-params, daverage-params, dmin-params, dmax-params, dproductparams, dstdev-params, dstdevp-params, dvar-params, dvarp-params, index-params, rand-params,
now-params, areas-params, rows-params, columns-params, offset-params, cell-params, indexparams, today-params, info-params, or randbetween-params production rules.
A name used in a pivot field formula MUST NOT have any of the following forms:
All
Blank
50 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
The formula MUST NOT use the ref-infix-operator, array-constant, getpivotdata-params, dcountparams, dcounta-params, dsum-params, daverage-params, dmin-params, dmax-params, dproductparams, dstdev-params, dstdevp-params, dvar-params, dvarp-params, index-params, rand-params,
now-params, areas-params, rows-params, columns-params, offset-params, cell-params, indexparams, today-params, info-params, or randbetween-params production rules.
A name used in a pivot item formula MUST NOT have any of the following forms:
All
Blank
2.2.3 Functions
The predefined functions ([ISO/IEC29500-1:2011] section 18.17.7) are extended by the following
future functions.
Future function
_xlfn.ACOT
_xlfn.ACOTH
_xlfn.AGGREGATE
_xlfn.ARABIC
_xlfn.BASE
_xlfn.BETA.DIST
_xlfn.BETA.INV
_xlfn.BINOM.DIST
_xlfn.BINOM.DIST.RANGE
_xlfn.BINOM.INV
_xlfn.BITAND
_xlfn.BITLSHIFT
_xlfn.BITOR
_xlfn.BITRSHIFT
_xlfn.BITXOR
_xlfn.CEILING.MATH
51 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
Future function
_xlfn.CEILING.PRECISE
_xlfn.CHISQ.DIST
_xlfn.CHISQ.DIST.RT
_xlfn.CHISQ.INV
_xlfn.CHISQ.INV.RT
_xlfn.CHISQ.TEST
_xlfn.COMBINA
_xlfn.CONFIDENCE.NORM
_xlfn.CONFIDENCE.T
_xlfn.COT
_xlfn.COTH
_xlfn.COVARIANCE.P
_xlfn.COVARIANCE.S
_xlfn.CSC
_xlfn.CSCH
_xlfn.DAYS
_xlfn.DECIMAL
ECMA.CEILING
_xlfn.ERF.PRECISE
_xlfn.ERFC.PRECISE
_xlfn.EXPON.DIST
_xlfn.F.DIST
_xlfn.F.DIST.RT
_xlfn.F.INV
_xlfn.F.INV.RT
_xlfn.F.TEST
_xlfn.FILTERXML
_xlfn.FLOOR.MATH
_xlfn.FLOOR.PRECISE
_xlfn.FORECAST.ETS
_xlfn.FORECAST.ETS.CONFINT
_xlfn.FORECAST.ETS.SEASONALITY
52 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
Future function
_xlfn.FORECAST.ETS.STAT
_xlfn.FORECAST.LINEAR
_xlfn.FORMULATEXT
_xlfn.GAMMA
_xlfn.GAMMA.DIST
_xlfn.GAMMA.INV
_xlfn.GAMMALN.PRECISE
_xlfn.GAUSS
_xlfn.HYPGEOM.DIST
_xlfn.IFNA
_xlfn.IMCOSH
_xlfn.IMCOT
_xlfn.IMCSC
_xlfn.IMCSCH
_xlfn.IMSEC
_xlfn.IMSECH
_xlfn.IMSINH
_xlfn.IMTAN
_xlfn.ISFORMULA
ISO.CEILING
_xlfn.ISOWEEKNUM
_xlfn.LOGNORM.DIST
_xlfn.LOGNORM.INV
_xlfn.MODE.MULT
_xlfn.MODE.SNGL
_xlfn.MUNIT
_xlfn.NEGBINOM.DIST
NETWORKDAYS.INTL
_xlfn.NORM.DIST
_xlfn.NORM.INV
_xlfn.NORM.S.DIST
_xlfn.NORM.S.INV
53 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
Future function
_xlfn.NUMBERVALUE
_xlfn.PDURATION
_xlfn.PERCENTILE.EXC
_xlfn.PERCENTILE.INC
_xlfn.PERCENTRANK.EXC
_xlfn.PERCENTRANK.INC
_xlfn.PERMUTATIONA
_xlfn.PHI
_xlfn.POISSON.DIST
_xlfn.QUARTILE.EXC
_xlfn.QUARTILE.INC
_xlfn.QUERYSTRING
_xlfn.RANK.AVG
_xlfn.RANK.EQ
_xlfn.RRI
_xlfn.SEC
_xlfn.SECH
_xlfn.SHEET
_xlfn.SHEETS
_xlfn.SKEW.P
_xlfn.STDEV.P
_xlfn.STDEV.S
_xlfn.T.DIST
_xlfn.T.DIST.2T
_xlfn.T.DIST.RT
_xlfn.T.INV
_xlfn.T.INV.2T
_xlfn.T.TEST
_xlfn.UNICHAR
_xlfn.UNICODE
_xlfn.VAR.P
_xlfn.VAR.S
54 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
Future function
_xlfn.WEBSERVICE
_xlfn.WEIBULL.DIST
WORKDAY.INTL
_xlfn.XOR
_xlfn.Z.TEST
2.2.4.1 Connections
The extLst child element ([ISO/IEC29500-1:2011] section 18.2.10) of the connection element
([ISO/IEC29500-1:2011] section 18.13.1) is extended by the addition of a new child ext element
([ISO/IEC29500-1:2011] section 18.2.7) whose structure is specified in the following table.
Ext URI
{D79990A0-CA42-45E3-83F4-45C500A0EAA5}
{DE250136-89BD-433C-8126-D09CA5730AF9}
Child element
connection
connection
See [ISO/IEC29500-3:2011] section 10.1.2 for more details about how extension lists are used.
2.2.4.2 Drawing
The oneCellAnchor element ([ISO/IEC29500-1:2011] section 20.5.2.24) is extended by the addition
of a child AlternateContent element ([ISO/IEC29500-3:2011] section 10.2.1) whose structure is
specified in the following table.
AlternateContent components
Child element
Choice: http://schemas.microsoft.com/office/drawingml/2010/slicer
slicer
Fallback
sp
([ISO/IEC29500-1:2011]
section 20.5.2.29)
55 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
Child element
Choice: http://schemas.microsoft.com/office/drawingml/2010/slicer
slicer
Fallback
sp
([ISO/IEC29500-1:2011]
section 20.5.2.29)
The grpSp element ([ISO/IEC29500-1:2011] section 20.5.2.17) is extended by the addition of a child
AlternateContent element ([ISO/IEC29500-3:2011] section 10.2.1) whose structure is specified in
the following table.
AlternateContent components
Child element
Choice: http://schemas.microsoft.com/office/drawingml/2010/slicer
slicer
Fallback
sp
([ISO/IEC29500-1:2011]
section 20.5.2.29)
Child element
Choice: http://schemas.microsoft.com/office/drawingml/2010/slicer
slicer
Fallback
sp
([ISO/IEC29500-1:2011]
section 20.5.2.29)
Child element
Choice: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
oleItem
Fallback
oleItem
([ISO/IEC29500-1:2011]
section 18.14.9)
56 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
Ext URI
Child element
{962EF5D1-5CA2-4C93-8EF4-DBF5C05439D2}
pivotTableDefinition
{44433962-1CF7-4059-B4EE-95C3D5FFCF73}
pivotTableData
{C510F80B-63DE-4267-81D5-13C33094786E}
pivotTableServerFormats
{E67621CE-5B39-4880-91FE-76760E9C1902}
pivotTableUISettings
See [ISO/IEC29500-3:2011] section 10.1.2 for more information about how extension lists are used.
The extLst child element ([ISO/IEC29500-1:2011] section 18.2.10) of the pivotField element
([ISO/IEC29500-1:2011] section 18.10.1.69) is extended by the addition of a new child ext element
([ISO/IEC29500-1:2011] section 18.2.7) whose structure is specified in the following table.
Ext URI
Child element
{2946ED86-A175-432A-8AC1-64E0C546D7DE}
pivotField
See [ISO/IEC29500-3:2011] section 10.1.2 for more information about how extension lists are used.
The extLst child element ([ISO/IEC29500-1:2011] section 18.2.10) of the dataField element
([ISO/IEC29500-1:2011] section 18.10.1.22) is extended by the addition of a new child ext element
([ISO/IEC29500-1:2011] section 18.2.7) whose structure is specified in the following table.
Ext URI
Child element
{E15A36E0-9728-4E99-A89B-3F7291B0FE68}
dataField
See [ISO/IEC29500-3:2011] section 10.1.2 for more information about how extension lists are used.
The extLst child element ([ISO/IEC29500-1:2011] section 18.2.10) of the pivotHierarchy element
([ISO/IEC29500-1:2011] section 18.10.1.72) is extended by the addition of a new child ext element
([ISO/IEC29500-1:2011] section 18.2.7) whose structure is specified in the following table.
Ext URI
Child element
{F1805F06-0CD304483-9156-8803C3D141DF}
pivotHierarchy
See [ISO/IEC29500-3:2011] section 10.1.2 for more information about how extension lists are used.
The filterColumn element ([ISO/IEC29500-1:2011] section 18.3.2.7) is extended by the addition of a
child AlternateContent element ([ISO/IEC29500-3:2011] section 10.2.1) whose structure is
specified in the following table.
AlternateContent components
Child element
Choice: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
iconFilter
Fallback
customFilters
([ISO/IEC29500-1:2011]
section 18.3.2.3)
Child element
Choice: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
customFilters
Fallback
Either customFilters
([ISO/IEC29500-1:2011]
section 18.3.2.3)
57 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
AlternateContent components
Child element
or none
The extLst child element ([ISO/IEC29500-1:2011] section 18.2.10) of the filterColumn element
([ISO/IEC29500-1:2011] section 18.3.2.7) is extended by the addition of a new child ext element
([ISO/IEC29500-1:2011] section 18.2.7) whose structure is specified in the following table.
AlternateContent components
Child element
Choice: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
filter
Fallback
customFilters
([ISO/IEC29500-1:2011]
section 18.3.2.3)
The filters element ([ISO/IEC29500-1:2011] section 18.3.2.8) is extended by the addition of a child
AlternateContent element ([ISO/IEC29500-3:2011] section 10.2.1) whose structure is specified in
the following table.
AlternateContent components
Child element
Choice: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
filter
Fallback
Either filter
([ISO/IEC29500-1:2011]
section 18.3.2.6) or none
Child element
Choice: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
sortCondition
Fallback
sortCondition
([ISO/IEC29500-1:2011]
section 18.3.1.91)
The extLst child element ([ISO/IEC29500-1:2011] section 18.2.10) of the filter element
([ISO/IEC29500-1:2011] section 18.10.1.33) is extended by the addition of a new child ext element
([ISO/IEC29500-1:2011] section 18.2.7) whose structure is specified in the following table.
Ext URI
Child element
{0605FD5F-26C8-4aeb-8148-2DB25E43C511}
pivotFilter
58 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
Ext URI
Child element
{725AE2AE-9491-48BE-B2B4-4EB974FC3084}
pivotCacheDefinition
{79D8C58B-0C89-4175-8D82-1AF69EB9B54B}
pivotCacheDecoupled
{5DA0FC9A-693D-419c-AD59-312A39285967}
timelinePivotCacheDefinition
{ABF5C744-AB39-4b91-8756-CFA1BBC848D5}
pivotCacheIdVersion
See [ISO/IEC29500-3:2011] section 10.1.2 for more information about how extension lists are used.
The extLst child element ([ISO/IEC29500-1:2011] section 18.2.10) of the cacheField element
([ISO/IEC29500-1:2011] section 18.10.1.3) is extended by the addition of a new child ext element
([ISO/IEC29500-1:2011] section 18.2.7) whose structure is specified in the following table.
Ext URI
Child element
{63CAB8AC-B538-458D-9797-405883B0398D}
cacheField
{4F2E5C28-24EA-4EB8-9CBF-B6C8F9C3D259}
cachedUniqueNames
See [ISO/IEC29500-3:2011] section 10.1.2 for more information about how extension lists are used.
The extLst child element ([ISO/IEC29500-1:2011] section 18.2.10) of the cacheHierarchy element
([ISO/IEC29500-1:2011] section 18.10.1.6) is extended by the addition of a new child ext element
([ISO/IEC29500-1:2011] section 18.2.7) whose structure is specified in the following table.
Ext URI
Child element
{8CF416AD-EC4C-4ABA-99F5-12A058AE0983}
cacheHierarchy
{B97F6D7D-B522-45F9-BDA1-12C45D357490}
cacheHierarchy
See [ISO/IEC29500-3:2011] section 10.1.2 for more information about how extension lists are used.
The extLst child element ([ISO/IEC29500-1:2011] section 18.2.10) of the calculatedMember
element ([ISO/IEC29500-1:2011] section 18.10.1.10) is extended by the addition of a new child ext
element ([ISO/IEC29500-1:2011] section 18.2.7) whose structure is specified in the following table.
Ext URI
Child element
{0C70D0D5-359C-4A49-802D-23BBF952B5CE}
calculatedMember
{57DEB092-E4DC-418E-9C9A-C0C97F8552CB}
calculatedMember
See [ISO/IEC29500-3:2011] section 10.1.2 for more information about how extension lists are used.
The extLst child element ([ISO/IEC29500-1:2011] section 18.2.10) of the cacheSource element
([ISO/IEC29500-1:2011] section 18.10.1.7) is extended by the addition of a new child ext element
([ISO/IEC29500-1:2011] section 18.2.7) whose structure is specified in the following table.
Ext URI
Child element
{F057638F-6D5F-4E77-A914-E7F072B9BCA8}
sourceConnection
See [ISO/IEC29500-3:2011] section 10.1.2 for more information about how extension lists are used.
Child element
Choice: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
sortCondition
59 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
AlternateContent components
Child element
Fallback
sortCondition
([ISO/IEC29500-1:2011]
section 18.3.1.91)
The extLst child element ([ISO/IEC29500-1:2011] section 18.2.10) of the queryTable element
([ISO/IEC29500-1:2011] section 18.12.2) is extended by the addition of a new child ext element
([ISO/IEC29500-1:2011] section 18.2.7) whose structure is specified in the following table.
Ext URI
Child element
{883FBD77-0823-4A55-B5E3-86C4891E6966}
queryTable
See [ISO/IEC29500-3:2011] section 10.1.2 for more information about how extension lists are used.
2.2.4.7 Styles
The extLst child element ([ISO/IEC29500-1:2011] section 18.2.10) of the styleSheet element
([ISO/IEC29500-1:2011] section 18.8.39) is extended by the addition of a new child ext element
([ISO/IEC29500-1:2011] section 18.2.7) whose structure is specified in the following table.
Ext URI
Child element
{EB79DEF2-80B8-43E5-95BD-54CBDDF9020C}
slicerStyles
{46F421CA-312F-682F-3DD2-61675219B42D}
dxfs
{9260A510-F301-46a8-8635-F512D64BE5F5}
timelineStyles
{A0A4C193-F2C1-4fcb-8827-314CF55A85BB}
dxfs
See [ISO/IEC29500-3:2011] section 10.1.2 for more information about how extension lists are used.
The font element ([ISO/IEC29500-1:2011] section 18.8.22) is extended by the addition of a
knownFonts attribute. To maintain compatibility with implementations of Office Open XML file
formats as specified in [ISO/IEC29500:2011], the namespace prefix of the attribute MUST be specified
as an Ignorable attribute ([ISO/IEC29500-3:2011] section 10.1.1).
2.2.4.8 SlicerCache
The extLst child element ([ISO/IEC29500-1:2011] section 18.2.10) of the slicerCacheDefinition
element (section 2.4.38) is extended by the addition of a new child ext element ([ISO/IEC295001:2011] section 18.2.7) whose structure is specified in the following table.
Ext URI
Child element
{03082B11-2C62-411c-B77F-237D8FCFBE4C}
slicerCachePivotTables
{2F2917AC-EB37-4324-AD4E-5DD8C200BD13}
tableSlicerCache
{470722E0-AACD-4C17-9CDC-17EF765DBC7E}
slicerCacheHideItemsWithNoData
Child element
{504A1906-F514-4F6F-8877-14C23A59335A}
table
60 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
See [ISO/IEC29500-3:2011] section 10.1.2 for more information about how extension lists are used.
The filterColumn element ([ISO/IEC29500-1:2011] section 18.3.2.7) is extended by the addition of a
child AlternateContent element ([ISO/IEC29500-3:2011] section 10.2.1) whose structure is
specified in the following table.
AlternateContent components
Child element
Choice: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
iconFilter
Fallback
customFilters
([ISO/IEC29500-1:2011]
section 18.3.2.3)
Child element
Choice: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
customFilters
Fallback
Either customFilters
([ISO/IEC29500-1:2011]
section 18.3.2.3)
or none
Child element
Choice: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
filters
([ISO/IEC29500-1:2011]
section 18.3.2.8) such that
instead of any child filter
([ISO/IEC29500-1:2011]
section 18.3.2.6) elements,
there are filter elements
Fallback
customFilters
([ISO/IEC29500-1:2011]
section 18.3.2.3)
The filters element ([ISO/IEC29500-1:2011] section 18.3.2.8) is extended by the addition of a child
AlternateContent element ([ISO/IEC29500-3:2011] section 10.2.1) whose structure is specified in
the following table.
AlternateContent components
Child element
Choice: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
filter
Fallback
Either filter
([ISO/IEC29500-1:2011]
section 18.3.2.6) or none
Child element
Choice: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
sortCondition
Fallback
sortCondition
([ISO/IEC29500-1:2011]
section 18.3.1.91)
61 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
2.2.4.10
Workbook
The extLst child element ([ISO/IEC29500-1:2011] section 18.2.10) of the workbook element
([ISO/IEC29500-1:2011] section 18.2.27) is extended by the addition of new child ext elements
([ISO/IEC29500-1:2011] section 18.2.7) whose structure is specified in the following table.
Ext URI
Child element
{876F7934-8845-4945-9796-88D515C7AA90}
pivotCaches
{BBE1A952-AA13-448E-AADC-164F8A28A991}
slicerCaches
{79F54976-1DA5-4618-B147-ACDE4B953A38}
workbookPr
{841E416B-1EF1-43b6-AB56-02D37102CBD5}
pivotCaches
{983426D0-5260-488c-9760-48F4B6AC55F4}
pivotTableReferences
{A2CB5862-8E78-49c6-8D9D-AF26E26ADB89}
timelineCachePivotCaches
{D0CA8CA8-9F24-4464-BF8E-62219DCF47F9}
timelineCacheRefs
{140A7094-0E35-4892-8432-C4D2E57EDEB5}
workbookPr
{FCE2AD5D-F65C-4FA6-A056-5C36A1767C68}
dataModel
The extLst child element ([ISO/IEC29500-1:2011] section 18.2.10) of the dataModel element
(section 2.4.62) is extended by the addition of a new child ext element ([ISO/IEC29500-1:2011]
section 18.2.7) whose structure is specified in the following table.
Ext URI
Child element
{9835A34E-60A6-4A7C-AAB8-D5F71C897F49}
ModelTimeGroupings
See [ISO/IEC29500-3:2011] section 10.1.2 for more information about how extension lists are used.
2.2.4.11
Worksheet
The extLst child element ([ISO/IEC29500-1:2011] section 18.2.10) of the worksheet element
([ISO/IEC29500-1:2011] section 18.3.1.99) is extended by the addition of new child ext elements
([ISO/IEC29500-1:2011] section 18.2.7) whose structure is specified in the following table.
Ext URI
Child element
{78C0D931-6437-407D-A8EE-F0AAD7539E65}
conditionalFormattings
{CCE6A557-97BC-4B89-ADB6-D9C93CAAB3DF}
dataValidations
{05C60535-1F16-4FD2-B633-F4F36F0B64E0}
sparklineGroups
{A8765BA9-456A-4DAB-B4F3-ACF838C121DE}
slicerList
{FC87AEE6-9EDD-4A0A-B7FB-166176984837}
protectedRanges
{01252117-D84E-4E92-8308-4BE1C098FCBB}
ignoredErrors
{F7C9EE02-42E1-4005-9D12-6889AFFD525C}
webExtensions
{3A4CF648-6AED-40f4-86FF-DC5316D8AED3}
slicerList
{7E03D99C-DC04-49d9-9315-930204A7B6E9}
timelineRefs
See [ISO/IEC29500-3:2011] section 10.1.2 for more information about how extension lists are used.
The extLst child element ([ISO/IEC29500-1:2011] section 18.2.10) of the cfRule element
([ISO/IEC29500-1:2011] section 18.3.1.10) is extended by the addition of a new child ext element
([ISO/IEC29500-1:2011] section 18.2.7) whose structure is specified in the following table.
62 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
Ext URI
Child element
{B025F937-C7B1-47D3-B67F-A62EFF666E3E}
id
See [ISO/IEC29500-3:2011] section 10.1.2 for more information about how extension lists are used.
The sheetFormatPr element ([ISO/IEC29500-1:2011] section 18.3.1.81) is extended by the addition
of a dyDescent attribute. To maintain compatibility with Office Open XML file formats
implementations as specified in [ISO/IEC29500:2011], the namespace prefix of the attribute MUST be
specified as an Ignorable attribute ([ISO/IEC29500-3:2011] section 10.1.1).
The row element ([ISO/IEC29500-1:2011] section 18.3.1.73) is extended by the addition of a
dyDescent attribute. To maintain compatibility with Office Open XML file formats implementations as
specified in [ISO/IEC29500:2011], the namespace prefix of the attribute MUST be specified as an
Ignorable attribute ([ISO/IEC29500-3:2011] section 10.1.1).
The sortState element ([ISO/IEC29500-1:2011] section 18.3.1.92) is extended by the addition of a
child AlternateContent element ([ISO/IEC29500-3:2011] section 10.2.1) whose structure is
specified in the following table.
AlternateContent components
Child element
Choice: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
sortCondition
Fallback
sortCondition
([ISO/IEC29500-1:2011]
section 18.3.1.91)
Child element
Choice: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
iconFilter
Fallback
customFilters
([ISO/IEC29500-1:2011]
section 18.3.2.3)
Child element
Choice: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
customFilters
Fallback
Either customFilters
([ISO/IEC29500-1:2011]
section 18.3.2.3)
or none
Child element
Choice: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
filters
([ISO/IEC29500-1:2011]
section 18.3.2.8) such that
instead of child filter
63 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
AlternateContent components
Child element
([ISO/IEC29500-1:2011]
section 18.3.2.6) elements,
there are filter elements
Fallback
customFilters
([ISO/IEC29500-1:2011]
section 18.3.2.3)
The filters element ([ISO/IEC29500-1:2011] section 18.3.2.8) is extended by the addition of a child
AlternateContent element ([ISO/IEC29500-3:2011] section 10.2.1) whose structure is specified in
the following table.
AlternateContent components
Child element
Choice: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
filter
Fallback
Either filter
([ISO/IEC29500-1:2011]
section 18.3.2.6) or none
2.3
Conceptual Overview
This section specifies how higher-level features of the file format are represented by combinations of
low-level structures.
values. The OLAP data provider updates the values, and those new values are then refreshed and
summarized in the data area of the PivotTable view, instead of summarizing the original values from
the OLAP PivotTable source data.
If the enableEdit attribute of the CT_PivotTableDefinition element, as specified in section 2.6.32,
is "false", CT_PivotEdits and CT_PivotChanges elements MUST NOT exist in this part. PivotTable
what-if analysis is enabled if, and only if, the enableEdit attribute of the CT_PivotTableDefinition
element is "true" and the PivotTable source data is OLAP.
2.3.2 Slicers
A slicer is a mechanism for filtering data in PivotTable ([ISO/IEC29500-1:2011] section 18.10) views,
cube functions, tables ([ISO/IEC29500-1:2011] section 18.5.1.2) and Charts ([ISO/IEC295001:2011] section 21.2) based on Non-Worksheet PivotTables. A slicer is based on a field in the slicer
source data, and the slicer filters on distinct values in that column. In the case of using OLAP slicer
source data, a slicer is based on an OLAP hierarchy.
A slicer has two major parts, a slicer cache and a slicer view. There can be more than one slicer view
based on a single slicer cache. When filtering multi-level OLAP hierarchies using slicers, separate slicer
views are used for each OLAP level.
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
Multiple slicer caches can be associated with one PivotTable ([ISO/IEC29500-1:2011] section 18.10)
PivotCache.
If a slicer cache is associated, as specified by Slicer Cache Relationship to PivotTable View, with one or
more PivotTable ([ISO/IEC29500-1:2011] section 18.10) views, and the slicer source data type is
non-OLAP, the slicer cache and each associated PivotTable ([ISO/IEC29500-1:2011] section 18.10)
view MUST be associated with the same PivotTable ([ISO/IEC29500-1:2011] section 18.10)
PivotCache and the slicerData attribute of the CT_PivotCacheDefinition element MUST be "false".
If a slicer cache is associated, as specified by Slicer Cache Relationship to PivotTable View, with one or
more PivotTable ([ISO/IEC29500-1:2011] section 18.10) views, and the slicer source data type is
OLAP, the PivotTable ([ISO/IEC29500-1:2011] section 18.10) PivotCache that is associated with the
slicer cache and all PivotTable ([ISO/IEC29500-1:2011] section 18.10) PivotCaches that are
associated with the PivotTable ([ISO/IEC29500-1:2011] section 18.10) views MUST be based on the
same OLAP connection ([ISO/IEC29500-1:2011] section 18.13.5) and the PivotTable ([ISO/IEC295001:2011] section 18.10) PivotCaches associated with the PivotTable ([ISO/IEC29500-1:2011] section
18.10) views MUST NOT be associated with any slicer cache. The slicerData attribute of the
CT_PivotCacheDefinition element for each PivotTable ([ISO/IEC29500-1:2011] section 18.10)
PivotCache associated with the PivotTable ([ISO/IEC29500-1:2011] section 18.10) views MUST be
"false".
Multiple slicer caches can be associated with one Table ([ISO/IEC29500-1:2011] section 18.5.1.2).
OLAP manual filters by the application to apply the filter state of the slicer cache to the associated
PivotTable views.
If the associated PivotTable PivotCache of a slicer cache, as specified by Slicer Cache Relationship to
PivotCache, is a non-OLAP PivotTable PivotCache, the PivotTable PivotCache of the PivotTable views
and the PivotTable PivotCache of the slicer cache MUST be the same.
When an OLAP PivotTable view is associated with an OLAP slicer cache, there MUST NOT be more than
one slicer cache for each OLAP hierarchy. If the slicer cache is associated with at least one Chart
based on Non-Worksheet PivotTable then the slicer cache MUST be OLAP sourced.
If the associated PivotTable PivotCache of a slicer cache, as specified by Slicer Cache Relationship to
PivotCache, is a non-OLAP PivotTable PivotCache, the slicer items in the slicer cache are used to
apply PivotTable non-OLAP manual filters to the PivotTable field specified by the sourceName
attribute of the CT_SlicerCacheDefinition element in all associated PivotTable views of the slicer
cache. The selected slicer items in the slicer cache are converted into selected PivotTable items in the
PivotTable non-OLAP manual filters by the application to apply the filter state of the slicer cache to the
associated PivotTable views. See the PivotTable items in [ISO/IEC29500-1:2011] section 18.10 for
more details.
2.3.2.1.6.1
The order of nonOLAP slicer items in the slicer cache is specified by the sortOrder, crossFilter, and
customListSort attributes of the CT_TabularSlicerCache element.
The CT_TabularSlicerCacheItem element also specifies whether the nonOLAP slicer item is
selected for filtering and whether data exists in the slicer source data for it. For more information, see
Slicer Cross Filtering.
2.3.2.1.6.2
A CT_OlapSlicerCache element specifies properties of an OLAP slicer cache, and its descendant
elements specify OLAP slicer items.
A CT_OlapSlicerCacheRanges element specifies the cache for an OLAP level in an OLAP slicer cache.
The cache is organized into ranges of cached OLAP slicer items for each OLAP level in the slicer
cache. Each range is specified in a CT_OlapSlicerCacheRange element. The startItem attribute of
the CT_OlapSlicerCacheRange element specifies the zero-based index of the first OLAP slicer item
in this cached range in the ordered collection of all OLAP members that exist in the slicer source data
for the associated OLAP level. The collection in the slicer source data is ordered as specified by the
sortOrder and crossFilter attributes of the earlier CT_OlapSlicerCacheLevelData element.
Each cached OLAP slicer item in a range is specified by a CT_OlapSlicerCacheItem element.
The OLAP slicer items that are selected for filtering are specified by the
CT_OlapSlicerCacheSelections element.
Each individual OLAP slicer item selected for filtering is specified by a CT_OlapSlicerCacheSelection
element.
Each slicer view is associated with a drawing ([ISO/IEC29500-1:2011] section 20.5), contained in the
Drawings part ([ISO/IEC29500-1:2011] section 12.3.8). The associated drawing ([ISO/IEC295001:2011] section 20.5) contains a CT_Slicer element that has a name attribute that matches the
name attribute of the CT_Slicer element that specifies the slicer view.
For a user-defined OLAP hierarchy with several OLAP levelsfor example, a Geography OLAP
hierarchy with Country, State, and City OLAP levels each slicer view is associated with a single
OLAP level, providing a mechanism for filtering different OLAP levels of the OLAP hierarchy.
Multiple slicer views associated with either the same slicer cache (for a non-OLAP slicer cache) or
the same OLAP level (for an OLAP slicer cache) provide a mechanism for displaying the filter state
in more than one location in the workbook.
2.3.4 PivotValues
PivotValues specifies the collection of values that are in the PivotTable ([ISO/IEC29500-1:2011]
section 18.10) data area. The PivotValues contain a collection of PivotValueCells organized as a two
dimensional array corresponding to the PivotTable ([ISO/IEC29500-1:2011] section 18.10) data area.
For a Non-Worksheet PivotTable the PivotValues are specified by the pivotTableData element
(section 2.4.63).
For PivotTables on a worksheet the PivotValues are specified by the cells of the worksheet
([ISO/IEC29500-1:2011] section 18.3) cell table in the locations specified by the location element
([ISO/IEC29500-1:2011] section 18.10.1.49) of the PivotTable.
2.3.4.1 PivotValueCell
A PivotValueCell is a point in individual data unit in the data area of a PivotTable ([ISO/IEC295001:2011] section 18.10) data area. PivotValueCells contain summarized values for associated
PivotTable data items. Every PivotValueCell can have two kinds of information associated with it, the
value and the server formatting information.
2.3.4.1.1 Value
The value of a PivotValueCell is specified to be the number, string, error, date associated with the
PivotValueCell.
2.3.5 Timelines
A Timeline is a mechanism for filtering data in PivotTable ([ISO/IEC29500-1:2011] section 18.10)
views, cube functions and Charts ([ISO/IEC29500-1:2011] section 21.2) based on Non-Worksheet
PivotTables. In the case of using OLAP Timeline source data, a Timeline is based on a key attribute of
an OLAP hierarchy. In the case of using native Timeline source data, a Timeline is based on a data
table column.
A Timeline has two major parts: a Timeline cache, and a Timeline view. There can be more than one
Timeline view based on a single Timeline cache.
70 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
Timeline state specifies the information used for display in Timeline view. The Timeline state
contains two elements, selection and bounds, of type CT_TimelineRange. The selection element
specifies the start and end dates of the selection in the Timeline and is used for filtering data in
PivotTable ([ISO/IEC29500-1:2011] section 18.10) views and cube functions. The bounds element
specifies the minimum and maximum dates that can be displayed by the Timeline view.
72 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
2.4
Global Elements
2.4.1 pivotTableReference
A pivotTableReference element is a CT_PivotTableReference type element, as specified in section
2.6.87, that specifies a PivotTable ([ISO/IEC29500-1:2011] section 18.10) part identifier for the
workbook. The PivotTable specified by this element MUST be a Non-Worksheet PivotTable. See section
2.2.4.10 for how this element integrates with the Office Open XML file formats specified in
[ISO/IEC29500-1:2011].
2.4.2 pivotTableServerFormats
A pivotTableServerFormats is a CT_PivotTableServerFormats element that specifies collection of
numeric formats specified by elements of complex type CT_ServerFormat ([ISO/IEC29500-1:2011]
section 18.10.1.86), for a PivotTable ([ISO/IEC29500-1:2011] section 18.10) that is specified by a
pivotTableReference element in the extension of a workbook. See section 2.2.4.10 for how this
element integrates with the Office Open XML file formats specified in [ISO/IEC29500-1:2011]. If the
PivotTable ([ISO/IEC29500-1:2011] section 18.10) is not a Non-Worksheet PivotTable, MUST NOT be
specified.
2.4.3 f
Target namespace: http://schemas.microsoft.com/office/excel/2006/main
Referenced by: CT_WebExtension, CT_CfRule, CT_Cfvo, CT_DataValidationFormula,
CT_SparklineGroup, CT_Sparkline, CT_PivotUserEdit
The f element is an ST_Formula element, as specified in [ISO/IEC29500-1:2011] section 18.18.35,
that specifies a generic formula that adheres to section 2.2.2.
An application can adjust the cell references within this formula when the worksheet layout changes,
even when the containing ext element, as specified in [ISO/IEC29500-1:2011] section 18.2.7, is not
recognized by the application. See [ISO/IEC29500-3:2011] section 10.1.2 for more information about
how extension lists are used.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
element.
<xsd:element name="f" type="x:ST_Formula"/>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.4.4 ref
Target namespace: http://schemas.microsoft.com/office/excel/2006/main
The ref element is a CT_Ref type element, as specified in section 2.6.147, that specifies a cell
reference.
An application can adjust this cell reference when the worksheet layout changes, even when the
containing ext element, as specified in [ISO/IEC29500-1:2011] section 18.2.7, is not recognized by
the application. See [ISO/IEC29500-3:2011] section 10.1.2 for more information about how extension
lists are used.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
element.
73 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.4.5 sqref
Target namespace: http://schemas.microsoft.com/office/excel/2006/main
Referenced by: CT_ConditionalFormatting, CT_DataValidation, CT_Sparkline, CT_IgnoredError,
CT_ProtectedRange
A sqref element is a CT_Sqref type element, as specified in section 2.6.148, that specifies a list of
cell references.
An application can adjust these cell references when the worksheet layout changes, even when the
containing ext element, as specified in [ISO/IEC29500-1:2011] section 18.2.7, is not recognized by
the application. See [ISO/IEC29500-3:2011] section 10.1.2 for more information about how extension
lists are used.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
element.
<xsd:element name="sqref" type="CT_Sqref"/>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.4.6 conditionalFormattings
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
A conditionalFormattings element is a CT_ConditionalFormattings type element, as specified in
section 2.6.1, that specifies conditional formatting information for the worksheet. See section 2.2.4.11
for how this element integrates with the Office Open XML file formats specified in [ISO/IEC295001:2011].
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
element.
<xsd:element name="conditionalFormattings" type="CT_ConditionalFormattings"/>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.4.7 dataValidations
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
The dataValidations element is a CT_DataValidations type element, as specified in section 2.6.3,
that specifies a group of data validation items on the sheet. This element also specifies data
validation properties of a sheet that are used by the application user interface. See section 2.2.4.11
for how this element integrates with the Office Open XML file formats specified in [ISO/IEC295001:2011].
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
element.
74 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.4.8 sparklineGroups
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
A sparklineGroups element is a CT_SparklineGroups type element, as specified in section 2.6.6,
that specifies the groups of sparklines on the sheet. See section 2.2.4.11 for how this element
integrates with the Office Open XML file formats specified in [ISO/IEC29500-1:2011].
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
element.
<xsd:element name="sparklineGroups" type="CT_SparklineGroups"/>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.4.9 slicerList
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
A slicerList element is a CT_SlicerRefs type element, as specified in section 2.6.11, that specifies a
list of slicer, as specified in section 2.3.2, part identifiers for the worksheet. See section 2.2.4.11 for
how this element integrates with the Office Open XML file formats specified in [ISO/IEC295001:2011].
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
element.
<xsd:element name="slicerList" type="CT_SlicerRefs"/>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.4.10 protectedRanges
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
A protectedRanges element is a CT_ProtectedRanges type element, as specified in section 2.6.55,
that specifies a group of protected ranges on the sheet. See section 2.2.4.11 for how this element
integrates with the Office Open XML file formats specified in [ISO/IEC29500-1:2011].
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
element.
<xsd:element name="protectedRanges" type="CT_ProtectedRanges"/>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.4.11 ignoredErrors
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
75 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.4.12 pivotCaches
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
A pivotCaches element is a CT_PivotCaches element, as specified in [ISO/IEC29500-4:2011]
section A.2, that specifies a list of PivotTable, as specified in [ISO/IEC29500-1:2011] section 18.10,
PivotCache identifier elements. The list of elements specifies the PivotTable PivotCaches used by
slicer caches, as specified in section 2.1.4, with OLAP slicer source data, as specified in section
2.3.2.1.1. See section 2.2.4.10 for how this element integrates with the Office Open XML file formats
specified in [ISO/IEC29500-1:2011].
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
element.
<xsd:element name="pivotCaches" type="x:CT_PivotCaches"/>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.4.13 slicerCaches
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
A slicerCaches element is a CT_SlicerCaches type element, as specified in section 2.6.13, that
specifies a group of slicer cache, as specified in section 2.1.4, identifiers for the workbook. See section
2.2.4.10 for how this element integrates with the Office Open XML file formats specified in
[ISO/IEC29500-1:2011].
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
element.
<xsd:element name="slicerCaches" type="CT_SlicerCaches"/>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.4.14 workbookPr
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
A workbookPr element is a CT_WorkbookPr element, as specified in section 2.6.10, that specifies
additional properties for a workbook. See section 2.2.4.10 for how this element integrates with the
Office Open XML file formats specified in [ISO/IEC29500-1:2011].
76 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
element.
<xsd:element name="workbookPr" type="CT_WorkbookPr"/>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.4.15 calculatedMember
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
A calculatedMember element is a CT_CalculatedMember type element, as specified in section
2.6.15, that specifies extended properties of a PivotTable, as specified in [ISO/IEC29500-1:2011]
section 18.10, OLAP calculated member. See section 2.2.4.5 for how this element integrates with the
Office Open XML file formats specified in [ISO/IEC29500-1:2011].
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
element.
<xsd:element name="calculatedMember" type="CT_CalculatedMember"/>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.4.16 cacheHierarchy
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
A cacheHierarchy element is a CT_CacheHierarchy type element, as specified in section 2.6.24,
that specifies the extended properties of a PivotTable, as specified in [ISO/IEC29500-1:2011] section
18.10, named set. See section 2.2.4.5 for how this element integrates with the Office Open XML file
formats specified in [ISO/IEC29500-1:2011].
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
element.
<xsd:element name="cacheHierarchy" type="CT_CacheHierarchy"/>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.4.17 dataField
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
A dataField element is a CT_DataField type element, as specified in section 2.6.25, that specifies
extended information about a PivotTable, as specified in [ISO/IEC29500-1:2011] section 18.10, data
field item. See section 2.2.4.4 for how this element integrates with the Office Open XML file formats
specified in [ISO/IEC29500-1:2011].
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
element.
<xsd:element name="dataField" type="CT_DataField"/>
77 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.4.18 pivotField
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
A pivotField element is a CT_PivotField element, as specified in section 2.6.31, that specifies
properties of a PivotTable, as specified in [ISO/IEC29500-1:2011] section 18.10, field. See section
2.2.4.4 for how this element integrates with the Office Open XML file formats specified in
[ISO/IEC29500-1:2011].
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
element.
<xsd:element name="pivotField" type="CT_PivotField"/>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.4.19 pivotTableDefinition
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
A pivotTableDefinition element is a CT_PivotTableDefinition type element, as specified in section
2.6.32, that specifies additional properties of the PivotTable, as specified in [ISO/IEC29500-1:2011]
section 18.10, view. See section 2.2.4.4 for how this element integrates with the Office Open XML file
formats specified in [ISO/IEC29500-1:2011].
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
element.
<xsd:element name="pivotTableDefinition" type="CT_PivotTableDefinition"/>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.4.20 pivotCacheDefinition
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
A pivotCacheDefinition element is a CT_PivotCacheDefinition type element, as specified in
section 2.6.33, that specifies the extended properties of a PivotTable, as specified in [ISO/IEC295001:2011] section 18.10, PivotCache definition. See section 2.2.4.5 for how this element integrates
with the Office Open XML file formats specified in [ISO/IEC29500-1:2011].
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
element.
<xsd:element name="pivotCacheDefinition" type="CT_PivotCacheDefinition"/>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.4.21 connection
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
78 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.4.22 table
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
A table element is a CT_Table type element, as specified in section 2.6.35, that specifies alternate
text properties for the table. See section 2.2.4.9 for how this element integrates with the Office Open
XML file formats specified in [ISO/IEC29500-1:2011].
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
element.
<xsd:element name="table" type="CT_Table"/>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.4.23 slicerStyles
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
A slicerStyles element is a CT_SlicerStyles type element, as specified in section 2.6.51, that
specifies a group of slicer styles, as specified in section 2.3.2.4. See section 2.2.4.7 for how this
element integrates with the Office Open XML file formats specified in [ISO/IEC29500-1:2011].
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
element.
<xsd:element name="slicerStyles" type="CT_SlicerStyles"/>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.4.24 dxfs
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
A dxfs element is a CT_Dxfs element, as specified in [ISO/IEC29500-4:2011] section A.2, that
specifies the list of style differential formats (DXFs), as specified in [ISO/IEC29500-1:2011] section
18.8. See section 2.2.4.7 for how this element integrates with the Office Open XML file formats
specified in [ISO/IEC29500-1:2011].
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
element.
79 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.4.25 oleItem
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
An oleItem element is a CT_OleItem type element, as specified in section 2.6.46, that specifies an
Object Linking and Embedding (OLE) data item, as specified in [ISO/IEC29500-1:2011] section
18.14, with associated cached values. See section 2.2.4.3 for how this element integrates with the
Office Open XML file formats specified in [ISO/IEC29500-1:2011].
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
element.
<xsd:element name="oleItem" type="CT_OleItem"/>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.4.26 pivotHierarchy
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
A pivotHierarchy element is a CT_PivotHierarchy type element, as specified in section 2.6.47, that
specifies multiple data items based on the same OLAP measure that exists in a PivotTable, as
specified in [ISO/IEC29500-1:2011] section 18.10, view. See section 2.2.4.4 for how this element
integrates with the Office Open XML file formats specified in [ISO/IEC29500-1:2011].
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
element.
<xsd:element name="pivotHierarchy" type="CT_PivotHierarchy"/>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.4.27 cacheField
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
The cacheField element is a CT_CacheField type element, as specified in section 2.6.48, that
specifies that duplicate OLAP measures exist in a PivotTable, as specified in [ISO/IEC29500-1:2011]
section 18.10, PivotCache definition. See section 2.2.4.5 for how this element integrates with the
Office Open XML file formats specified in [ISO/IEC29500-1:2011].
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
element.
<xsd:element name="cacheField" type="CT_CacheField"/>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
80 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
2.4.28 id
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
An id element is an ST_Guid element, as specified in [ISO/IEC29500-1:2011] section 22.9.2.4, that
specifies an identifier for a conditional formatting rule. See section 2.2.4.11 for how this element
integrates with the Office Open XML file formats specified in [ISO/IEC29500-1:2011].
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
element.
<xsd:element name="id" type="x:ST_Guid"/>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.4.29 iconFilter
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
An iconFilter element is a CT_IconFilter type element, as specified in section 2.6.57, that specifies
the properties of an icon filter. See section 2.2.4.4, section 2.2.4.9, and section 2.2.4.11 for how this
element integrates with the Office Open XML file formats specified in [ISO/IEC29500-1:2011].
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
element.
<xsd:element name="iconFilter" type="CT_IconFilter"/>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.4.30 filter
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
A filter element is a CT_Filter type element, as specified in section 2.6.58, that specifies the
properties of a filter. See section 2.2.4.4, section 2.2.4.9, and section 2.2.4.11 for how this element
integrates with the Office Open XML file formats specified in [ISO/IEC29500-1:2011].
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
element.
<xsd:element name="filter" type="CT_Filter"/>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.4.31 customFilters
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
A customFilters element is a CT_CustomFilters type element, as specified in section 2.6.59, that
specifies the properties of custom filters. See section 2.2.4.4, section 2.2.4.9, and section 2.2.4.11
for how this element integrates with the Office Open XML file formats specified in [ISO/IEC295001:2011].
81 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
element.
<xsd:element name="customFilters" type="CT_CustomFilters"/>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.4.32 sortCondition
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
A sortCondition element is a CT_SortCondition type element, as specified in section 2.6.61, that
specifies a sort condition to apply to a range. See section 2.2.4.4, section 2.2.4.6, section 2.2.4.9,
and section 2.2.4.11 for how this element integrates with the Office Open XML file formats specified in
[ISO/IEC29500-1:2011].
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
element.
<xsd:element name="sortCondition" type="CT_SortCondition"/>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.4.33 sourceConnection
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_CacheSourceExt
A sourceConnection element is a CT_SourceConnection type element, as specified in section
2.6.62, that specifies the name of a connection of the cache source element on a pivot cache. See
section 2.2.4.5 for how this element integrates with the Office Open XML file formats specified in
[ISO/IEC29500-1:2011].
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
element.
<xsd:element name="sourceConnection" type="CT_SourceConnection"/>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.4.34 formControlPr
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
A formControlPr element is a CT_FormControlPr type element, as specified in section 2.6.65, that
specifies properties of form control objects. This element is the root element of the control properties
part, as specified in section 2.1.1.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
element.
<xsd:element name="formControlPr" type="CT_FormControlPr"/>
82 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.4.35 datastoreItem
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
A datastoreItem element is a CT_DatastoreItem type element, as specified in section 2.6.66, that
specifies properties for an embedded custom data part, as specified in section 2.1.2. This element is
the root element of the custom data properties part, as specified in section 2.1.3.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
element.
<xsd:element name="datastoreItem" type="CT_DatastoreItem"/>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.4.36 slicers
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
A slicers element is a CT_Slicers type element, as specified in section 2.6.67, that specifies all the
slicer views, as specified in section 2.3.2.2, on the sheet. This element is the root element of the
slicers part, as specified in section 2.3.2.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
element.
<xsd:element name="slicers" type="CT_Slicers"/>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.4.37 slicer
Target namespace: http://schemas.microsoft.com/office/drawing/2010/slicer
A slicer element is a CT_Slicer type element, as specified in section 2.6.69, that specifies which
slicer view, as specified in section 2.3.2.2, is associated with this drawing element. See section 2.2.4.2
for how this element integrates with the Office Open XML file formats specified in [ISO/IEC295001:2011].
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
element.
<xsd:element name="slicer" type="CT_Slicer"/>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.4.38 slicerCacheDefinition
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
83 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.4.39 pivotCaches
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2010/11/main
A pivotCaches element is a CT_PivotCaches element, as specified in [ISO/IEC29500-4:2011]
section A.2 that specifies a list of PivotTable, as specified in [ISO/IEC29500-1:2011] section 18.10,
PivotCache identifier elements. The list of elements specifies the PivotTable PivotCaches. See
section 2.2.4.10 for how this element integrates with the Office Open XML file formats specified in
[ISO/IEC29500-1:2011]. The pivotCacheDefinition ([ISO/IEC29500-1:2011] section 18.10.1.67)
element identified by the relationship identifier in the CT_PivotCache ([ISO/IEC29500-4:2011]
section A.2) child element of this element, MUST satisfy the following criteria.
The type attribute of the CT_CacheSource ([ISO/IEC29500-4:2011] section A.2) child element
of the element pivotCacheDefinition, MUST have the value external specified by
ST_SourceType ([ISO/IEC29500-1:2011] 18.18.75).
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
element.
<xsd:element name="pivotCaches" type="x:CT_PivotCaches"/>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.4.40 pivotTableReferences
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2010/11/main
A pivotTableReferences element is a CT_PivotTableReferences element, as specified in section
2.6.86, that specifies a list of PivotTable ([ISO/IEC29500-1:2011] section 18.10) part identifiers for
the workbook. See section 2.2.4.10 for how this element integrates with the Office Open XML file
formats specified in [ISO/IEC29500-1:2011].
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
element.
<xsd:element name="pivotTableReferences" type="CT_PivotTableReferences"/>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
84 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
2.4.41 queryTable
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2010/11/main
A CT_QueryTable element (section 2.6.88) that specifies extended properties of a query table
([ISO/IEC29500-1:2011] section 18.12).
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
element.
<xsd:element name="queryTable" type="CT_QueryTable"/>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.4.42 webExtensions
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2010/11/main
A CT_WebExtensions element that specifies a group of CT_WebExtension elements that specify
Bindings on the Web Extensions, as specified by [MS-OWEXML] section 1.3, on the worksheet.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
element.
<xsd:element name="webExtensions" type="CT_WebExtensions"/>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.4.43 connection
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2010/11/main
A CT_Connection element that specifies the extended properties of an external connection.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
element.
<xsd:element name="connection" type="CT_Connection"/>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.4.44 calculatedMember
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2010/11/main
Referenced by: CT_CalculatedMemberExt
A CT_CalculatedMember (section 2.6.93) element that specifies a definition for a custom member or
measure that is applied to a pivot table.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
element.
<xsd:element name="calculatedMember" type="CT_CalculatedMember"/>
85 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.4.45 pivotTableUISettings
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2010/11/main
A CT_PivotTableUISettings element that specifies state of the PivotTable field list for this PivotTable
([ISO/IEC29500-1:2011] section 18.10).
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
element.
<xsd:element name="pivotTableUISettings" type="CT_PivotTableUISettings"/>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.4.46 pivotFilter
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2010/11/main
A CT_PivotFilter element that specifies the extended properties of a filter (PivotTable Advanced
Filter), as specified in ([ISO/IEC29500-1:2011] section 18.10.1.33). See section 2.2.4.4 for how this
element integrates with the Office Open XML file formats specified in [ISO/IEC29500-1:2011].
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
element.
<xsd:element name="pivotFilter" type="CT_PivotFilter"/>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.4.47 slicerCaches
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2010/11/main
A CT_SlicerCaches element that specifies a group of slicer cache, as specified in section 2.1.4,
identifiers for the workbook.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
element.
<xsd:element name="slicerCaches" type="x14:CT_SlicerCaches"/>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
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 for the slicer cache.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
element.
86 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.4.49 timelineCacheRefs
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2010/11/main
A timelineCacheRefs element is a CT_TimelineCacheRefs type element, as specified in section
2.6.98, that specifies a group of Timeline Cache (section 2.3.5.1) identifiers for the workbook. See
section 2.2.4.10 for how this element integrates with the Office Open XML file formats specified in
[ISO/IEC29500-1:2011].
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
element.
<xsd:element name="timelineCacheRefs" type="CT_TimelineCacheRefs"/>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.4.50 timelineRefs
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2010/11/main
A timelineRefs element is a CT_TimelineRefs type element, as specified in section 2.6.100, that
specifies a list of Timeline (section 2.3.5) part identifiers for the worksheet. See section 2.2.4.11 for
how this element integrates with the Office Open XML file formats specified in [ISO/IEC295001:2011].
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
element.
<xsd:element name="timelineRefs" type="CT_TimelineRefs"/>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.4.51 timelineCachePivotCaches
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2010/11/main
A timelineCachePivotCaches element is a CT_PivotCaches element, as specified in
[ISO/IEC29500-4:2011] section A.2 that specifies a list of PivotTable, as specified in [ISO/IEC295001:2011] section 18.10, PivotCache identifier elements. The list of elements specifies the PivotTable
PivotCaches. This element MUST be associated with a Timeline (section 2.3.5). See section 2.2.4.10
for how this element integrates with the Office Open XML file formats specified in [ISO/IEC295001:2011].
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
element.
<xsd:element name="timelineCachePivotCaches" type="x:CT_PivotCaches"/>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
87 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
2.4.52 cacheHierarchy
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2010/11/main
A CT_CacheHierarchy element that specifies the extended properties of an OLAP measure.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
element.
<xsd:element name="cacheHierarchy" type="CT_CacheHierarchy"/>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.4.53 slicerCacheHideItemsWithNoData
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2010/11/main
A CT_SlicerCacheHideNoData element that specifies the extended properties of a slicer cache, as
specified in section 2.3.2.1. If this element exists, the non-OLAP slicer items that have no data in its
ancestor slicer cache are not displayed and the OLAP slicer items that have no data are not displayed
for the OLAP levels specified by the uniqueName attribute of the CT_SlicerCacheOlapLevelName
element.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
element.
<xsd:element name="slicerCacheHideItemsWithNoData" type="CT_SlicerCacheHideNoData"/>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.4.54 timelineStyles
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2010/11/main
A timelineStyles element is a CT_TimelineStyles type element, as specified in section 2.6.105, that
specifies a group of timeline styles, as specified in section 2.3.5.4. See section 2.2.4.7 for how this
element integrates with the Office Open XML file formats specified in [ISO/IEC29500-1:2011].
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
element.
<xsd:element name="timelineStyles" type="CT_TimelineStyles"/>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.4.55 dxfs
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2010/11/main
A dxfs element is a CT_Dxfs element, as specified in [ISO/IEC29500-4:2011] section A.2, that
specifies the list of style differential formats (DXFs), as specified in [ISO/IEC29500-1:2011] section
18.8. See section Styles for how this element integrates with the Office Open XML file formats
specified in [ISO/IEC29500-1:2011].
88 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
element.
<xsd:element name="dxfs" type="x:CT_Dxfs"/>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.4.56 timelinePivotCacheDefinition
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2010/11/main
A timelinePivotCacheDefinition element is a CT_TimelinePivotCacheDefinition element that
specifies the extended properties of a PivotTable, as specified in [ISO/IEC29500-1:2011] section
18.10, PivotCache definition. See section 2.2.4.5 for how this element integrates with the Office
Open XML file formats specified in [ISO/IEC29500-1:2011].
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
element.
<xsd:element name="timelinePivotCacheDefinition" type="CT_TimelinePivotCacheDefinition"/>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.4.57 timelines
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2010/11/main
A timelines element is a CT_Timelines type element, as specified in section 2.6.110, that specifies
all the Timeline views (section 2.3.5.2), on the sheet. This element is the root element of the
Timelines part (section 2.3.5).
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
element.
<xsd:element name="timelines" type="CT_Timelines"/>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.4.58 timelineCacheDefinition
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2010/11/main
A timelineCacheDefinition element is a CT_TimelineCacheDefinition type element, as specified in
section 2.6.112, 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.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
89 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
2.4.59 workbookPr
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2010/11/main
A workbookPr element is a CT_WorkbookPr (section 2.6.117) element that specifies additional
properties for a workbook. See section 2.2.4.10 for how this element integrates with the Office Open
XML file formats specified in [ISO/IEC29500-1:2011].
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
element.
<xsd:element name="workbookPr" type="CT_WorkbookPr"/>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.4.60 slicerCachePivotTables
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2010/11/main
A CT_SlicerCachePivotTables element (section 2.6.72) that specifies a group of
CT_SlicerCachePivotTable elements (section 2.6.73) that specify the PivotTable ([ISO/IEC295001:2011] section 18.10) views that are filtered by the slicer cache (section 2.1.4). The PivotTables
specified by the CT_SlicerCachePivotTable (section 2.6.73) child elements of this element MUST be
Non-Worksheet PivotTables (section 2.3.3).
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
element.
<xsd:element name="slicerCachePivotTables" type="x14:CT_SlicerCachePivotTables"/>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.4.61 cachedUniqueNames
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2010/11/main
A CT_CachedUniqueNames element that specifies the MDX unique names for PivotTable
([ISO/IEC29500-1:2011] section 18.10) cache items in this PivotTable ([ISO/IEC29500-1:2011]
section 18.10) cache field.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
element.
<xsd:element name="cachedUniqueNames" type="CT_CachedUniqueNames"/>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.4.62 dataModel
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2010/11/main
A CT_DataModel element that specifies properties of spreadsheet data model.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
element.
90 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.4.63 pivotTableData
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2010/11/main
A pivotTableData element is a CT_PivotTableData element that specifies the PivotValues of a
PivotTable ([ISO/IEC29500-1:2011] section 18.10), specified by the pivotTableReference element in
the extension of a workbook. See section 2.2.4.4 for how this element integrates with the Office Open
XML file formats specified in [ISO/IEC29500-1:2011]. If the PivotTable ([ISO/IEC29500-1:2011]
section 18.10) is not a Non-Worksheet PivotTable, MUST NOT be specified.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
element.
<xsd:element name="pivotTableData" type="CT_PivotTableData"/>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.4.64 pivotCacheDecoupled
2.4.65 pivotCacheIdVersion
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2010/11/main
A CT_PivotCacheIdVersion element that specifies the extended properties of a PivotTable
([ISO/IEC29500-1:2011] section 18.10) PivotCache Definition. If this element exists, there MUST
be a preceding CT_PivotCacheDefinition element and the pivotCacheId attribute of the preceding
CT_PivotCacheDefinition element MUST be equal to one of the following:
The cacheId attribute of the CT_PivotTableData element in the PivotTable part that specifies a
Non-Worksheet PivotTable.
See section 2.2.4.5 for how this element integrates with the Office Open XML file formats specified in
[ISO/IEC29500-1:2011].
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
element.
<xsd:element name="pivotCacheIdVersion" type="CT_PivotCacheIdVersion"/>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.4.66 timeslicer
Target namespace: http://schemas.microsoft.com/office/drawing/2012/timeslicer
A CT_Timeline element that specifies which timeline view is associated with this drawing element.
91 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
element.
<xsd:element name="timeslicer" type="CT_Timeline"/>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.4.67 list
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2011/1/ac
An ST_Xstring ([ISO/IEC29500-1:2011] section 22.9.2.19) element that specifies the first formula in
the DataValidation dropdown used for custom or list type data validation. Only used when items need
to be quoted.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
element.
<xsd:element name="list" type="x:ST_Xstring"/>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.4.68 absPath
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2010/11/ac
A CT_AbsolutePath element that specifies the absolute path to the workbook.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
element.
<xsd:element name="absPath" type="CT_AbsolutePath"/>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.4.69 dataField
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2010/11/main
A dataField element is a CT_DataField type element, as specified in section 2.6.25, that specifies
extended information about a PivotTable, as specified in [ISO/IEC29500-1:2011] section 18.10, data
field item. See section 2.2.4.4 for how this element integrates with the Office Open XML file formats
specified in [ISO/IEC29500-1:2011].
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
element.
<xsd:element name="dataField" type="CT_DataField"/>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
92 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
2.4.70 survey
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2010/11/main
A survey element is a CT_Survey type element, as specified in section 2.6.143, that specifies the
properties of a survey associated with a Table ([ISO/IEC29500-1:2011] section 18.5). This element is
the root element of the Survey part (section 2.1.9)
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
element.
<xsd:element name="survey" type="CT_Survey"/>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.4.71 contentPart
Target namespace: http://schemas.microsoft.com/office/excel/2010/spreadsheetDrawing
A CT_ContentPart element that specifies a reference to XML content.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
element.
<xsd:element name="contentPart" type="CT_ContentPart"/>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.4.72 modelTimeGroupings
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2014/11/main
A CT_ModelTimeGroupings (section 2.6.155) element that specifies the data model time groupings
in this workbook.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
element.
<xsd:element name="modelTimeGroupings" type="CT_ModelTimeGroupings"/>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.5
Global Attributes
2.5.1 dyDescent
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac
The dyDescent attribute is a double attribute, as specified in [XMLSCHEMA2] section 3.2.5, that
specifies the vertical distance in pixels from the bottom of the cells in the current row to the
typographical baseline of the cell content if, hypothetically, the zoom level for the sheet containing
this row is 100 percent and the cell has bottom-alignment formatting. See section 2.2.4.11 for how
this element integrates with the Office Open XML file formats specified in [ISO/IEC29500-1:2011]. The
93 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
dyDescent attribute has a side effect; it sets the customHeight attribute to true even if the
customHeight attribute is explicitly set to false.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
attribute.
<xsd:attribute name="dyDescent" type="xsd:double"/>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.5.2 formatCode16
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2015/02/main
The formatCode16 attribute<6> is an ST_Xstring ([ISO/IEC29500-1:2012] section 22.9.2.19)
attribute that specifies the number format codes for this number format. If present, the
formatCode16 attribute takes precedence over the formatCode attribute ([ISO/IEC29500-1:2012]
section 18.8.31).
The contents of the formatCode16 attribute are identical to that of the formatCode attribute
([ISO/IEC29500-1:2012] section 18.8.31), with the following modifications to the "International
Considerations" therein. The syntax for the formatCode16 attributes currency and locale/date
system/number system information is [$<currency string>-<culture info>[,<calendar type and
numeral system>]].
The currency string is the string to use as a currency symbol.
The culture info is a culture tag, which can be either an IETF language tag ([RFC5646]) or one of the
following private use namespace tags.
Value
Meaning
x-sysdate
x-systime
x-euro1
x-euro2
x-genlower
x-genupper
x-nomlower
x-xbt1
x-xbt2
The optional calendar type and numeral system data is a 16-bit number in hexadecimal form that is
placed after a culture tag, separated by a comma. The contents are defined by the formatCode
attribute ([ISO/IEC29500-1:2012] section 18.8.31), with the following modification: The calendar type
94 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
is stored in byte 0 (the least significant byte) and the numeral system is stored in byte 1 (the most
significant byte).
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
attribute.
<xsd:attribute name="formatCode16" type="x:ST_Xstring"/>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.5.3 knownFonts
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac
The knownFonts attribute is a Boolean attribute, as specified in ([XMLSCHEMA2] section 3.2.2, that
specifies the typographical descent information that is stored in the workbook. See section 2.2.4.7 for
how this element integrates with the Office Open XML file formats specified in [ISO/IEC295001:2011].
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
attribute.
<xsd:attribute name="knownFonts" type="xsd:boolean"/>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6
Complex Types
2.6.1 CT_ConditionalFormattings
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: conditionalFormattings
The CT_ConditionalFormattings complex type specifies conditional formatting information for the
worksheet.
Child Elements:
conditionalFormatting: A CT_ConditionalFormatting element (section 2.6.2) that specifies the
conditional formatting properties for a range.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_ConditionalFormattings">
<xsd:sequence>
<xsd:element name="conditionalFormatting" type="CT_ConditionalFormatting" minOccurs="1"
maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
95 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
2.6.2 CT_ConditionalFormatting
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_ConditionalFormattings
The CT_ConditionalFormatting complex type specifies conditional formatting properties for a range.
Child Elements:
cfRule: A CT_CfRule element (section 2.6.27) that specifies a conditional formatting rule for this
range.
xm:sqref: A sqref element (section 2.4.5) that specifies the range this conditional formatting applies
to.
extLst: A CT_ExtensionList ([ISO/IEC29500-4:2011] section A.2) element that specifies future
extensibility for this element.
Attributes:
pivot: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether this conditional
formatting is applied only to a PivotTable. MUST be a value from the following table.
Value
Meaning
"true"
"false"
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_ConditionalFormatting">
<xsd:sequence>
<xsd:element name="cfRule" type="CT_CfRule" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element ref="xm:sqref" minOccurs="0" maxOccurs="1"/>
<xsd:element name="extLst" minOccurs="0" type="x:CT_ExtensionList"/>
</xsd:sequence>
<xsd:attribute name="pivot" type="xsd:boolean" default="false" use="optional"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.3 CT_DataValidations
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: dataValidations
CT_DataValidations is a complex type that specifies a group of data validation items on the sheet.
MUST contain less than or equal to 65,534 elements. This complex type also specifies data validation
properties of a sheet that are used by the application UI.
Child Elements:
dataValidation: A CT_DataValidation element (section 2.6.5) that specifies the properties for a
single data validation item defined on a range of the sheet.
96 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
Attributes:
disablePrompts: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether all data
validation input prompts are disabled for this sheet.
Value
Meaning
"true"
All data validation input prompts are disabled for this sheet (1).
"false"
The data validation input prompts are enabled for this sheet (1).
xWindow: An unsignedInt ([XMLSCHEMA2] section 3.3.22) attribute that specifies the x-coordinate,
relative to the application window, of the upper-left corner of the data validation input prompt,
measured in pixels. This value MUST be less than or equal to 65,535. <7>
yWindow: An unsignedInt attribute that specifies the y-coordinate, relative to the application
window, of the upper-left corner of the data validation input prompt, measured in pixels. This value
MUST be less than or equal to 65,535. <8>
count: An unsignedInt attribute that specifies the number of dataValidation child elements of this
element.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_DataValidations">
<xsd:sequence>
<xsd:element name="dataValidation" type="CT_DataValidation" minOccurs="1"
maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="disablePrompts" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="xWindow" type="xsd:unsignedInt" use="optional"/>
<xsd:attribute name="yWindow" type="xsd:unsignedInt" use="optional"/>
<xsd:attribute name="count" type="xsd:unsignedInt" use="optional"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.4 CT_DataValidationFormula
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_DataValidation
CT_DataValidationFormula is a complex type that specifies a formula used in data validation.
Child Elements:
xm:f: An f element (section 2.4.3) that specifies a formula for the data validation. The formula MUST
adhere to the grammar provided in section 2.2.2, with the following restrictions:
MUST NOT use the ref-infix-operator, local-cell-reference, bang-reference, bang-name, arrayconstant, sheet-range-reference, or structure-reference production rules.
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
MUST NOT be an external-cell-reference that references more than one cell if used by the
formula1 element of the ancestor CT_DataValidation element and the type attribute of the
ancestor CT_DataValidation element is not "list".
MUST NOT be an external-cell-reference that references more than one cell if used by the
formula2 element of the ancestor CT_DataValidation element.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_DataValidationFormula">
<xsd:sequence>
<xsd:element ref="xm:f" minOccurs="1" maxOccurs="1"/>
</xsd:sequence>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.5 CT_DataValidation
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_DataValidations
CT_DataValidation is a complex type that specifies data validation for a range on this sheet.
Child Elements:
formula1: A CT_DataValidationFormula element (section 2.6.4) that specifies the first formula for
the data validation.
If operator is "between" or "notBetween" and type is not "custom", "list", or "none", this formula
is used as the lesser of two bounding values and MUST exist.
If operator is not "between" or "notBetween", or type is "custom", this formula is the only
formula and MUST exist.
If operator is not "between" or "notBetween", or type is "custom" or "list", either formula is the
only formula and MUST exist or CT_DataValidation MUST have a list (section 2.4.67) child
element.
formula2: A CT_DataValidationFormula element that specifies the second formula for the data
validation.
If operator is "between" or "notBetween" and type is not "custom", "list", or "none", this formula
is used as the greater of two bounding values and MUST exist.
If operator is not "between" or "notBetween", or type is "custom", "list", or "none", this formula
MUST NOT exist.
xm:sqref: A sqref element (section 2.4.5) that specifies ranges to which data validation is applied.
Attributes:
type: An ST_DataValidationType ([ISO/IEC29500-1:2011] section 18.18.21) attribute that specifies
the type of data validation.
98 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
Meaning
"true"
"false"
Value of type
Meaning
"true"
list
"false"
list
Meaning
"true"
"false"
Meaning
"true"
"false"
promptTitle: An ST_Xstring attribute that specifies the text of the title bar of the input prompt. The
length of this string MUST be less than or equal to 32 characters.
prompt: An ST_Xstring attribute that specifies the message text of the input prompt. This string
MUST be less than or equal to 255 characters.
xr:uid: An ST_Guid ([ISO/IEC29500-1:2011] section 22.9.2.4) attribute that specifies a unique
identifier associated with this data validation rule
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_DataValidation">
<xsd:sequence>
<xsd:element name="formula1" type="CT_DataValidationFormula" minOccurs="0"
maxOccurs="1"/>
<xsd:element name="formula2" type="CT_DataValidationFormula" minOccurs="0"
maxOccurs="1"/>
<xsd:element ref="xm:sqref" minOccurs="1" maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="type" type="x:ST_DataValidationType" use="optional" default="none"/>
<xsd:attribute name="errorStyle" type="x:ST_DataValidationErrorStyle" use="optional"
default="stop"/>
<xsd:attribute name="imeMode" type="x:ST_DataValidationImeMode" use="optional"
default="noControl"/>
<xsd:attribute name="operator" type="x:ST_DataValidationOperator" use="optional"
default="between"/>
<xsd:attribute name="allowBlank" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="showDropDown" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="showInputMessage" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="showErrorMessage" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="errorTitle" type="x:ST_Xstring" use="optional"/>
<xsd:attribute name="error" type="x:ST_Xstring" use="optional"/>
<xsd:attribute name="promptTitle" type="x:ST_Xstring" use="optional"/>
<xsd:attribute name="prompt" type="x:ST_Xstring" use="optional"/>
<xsd:attribute ref="xr:uid"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.6 CT_SparklineGroups
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: sparklineGroups
CT_SparklineGroups is a complex type that specifies the groups of sparklines on the sheet. MUST
contain fewer than 231 elements.
Child Elements:
sparklineGroup: A CT_SparklineGroup element (section 2.6.7) that specifies properties for a single
sparkline group.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_SparklineGroups">
<xsd:sequence>
<xsd:element name="sparklineGroup" type="CT_SparklineGroup" minOccurs="1"
maxOccurs="unbounded"/>
</xsd:sequence>
100 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.7 CT_SparklineGroup
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_SparklineGroups
CT_SparklineGroup is a complex type that specifies properties for a sparkline group.
Child Elements:
colorSeries: A CT_Color ([ISO/IEC29500-4:2011] section A.2) element that specifies the color for
each sparkline in this sparkline group. The auto attribute of the CT_Color element MUST NOT exist.
colorNegative: A CT_Color element that specifies the color of the negative data points for each
sparkline in this sparkline group. The auto attribute of the CT_Color element MUST NOT exist.
colorAxis: A CT_Color element that specifies the color of the horizontal axis for each sparkline in this
sparkline group. The auto attribute of the CT_Color element MUST NOT exist.
colorMarkers: A CT_Color element that specifies the color of the data markers for each sparkline
in this sparkline group. The auto attribute of the CT_Color element MUST NOT exist.
colorFirst: A CT_Color element that specifies the color of the first data point for each sparkline in
this sparkline group. The auto attribute of the CT_Color element MUST NOT exist.
colorLast: A CT_Color element that specifies the color of the last data point for each sparkline in this
sparkline group. The auto attribute of the CT_Color element MUST NOT exist.
colorHigh: A CT_Color element that specifies the color of the highest data point for each sparkline in
this sparkline group. The auto attribute of the CT_Color element MUST NOT exist.
colorLow: A CT_Color element that specifies the color of the lowest data point for each sparkline in
this sparkline group. The auto attribute of the CT_Color element MUST NOT exist.
xm:f: An f element (section 2.4.3) that specifies the date range for the sparkline group. The syntax,
as specified in section 2.2.2, for this f element is the following:
sparklinegroup-formula = single-sheet-area / [single-sheet-prefix / book-prefix] name
Additionally, if a single-sheet-area is specified, that single-sheet-area MUST contain cells from either a
single row or a single column.
sparklines: A CT_Sparklines element (section 2.6.8) that specifies properties for individual
sparklines.
Attributes:
manualMax: A double ([XMLSCHEMA2] section 3.2.5) attribute that specifies the maximum for the
vertical axis that is shared across all sparklines in this sparkline group. This attribute MUST NOT exist
if maxAxisType does not equal "custom".
manualMin: A double attribute that specifies the minimum for the vertical axis that is shared across
all sparklines in this sparkline group. This attribute MUST NOT exist if minAxisType does not equal
"custom".
101 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
lineWeight: A double attribute that specifies the line weight for each sparkline in the sparkline
group, where the line weight is measured in points. MUST be greater than or equal to zero, and MUST
be less than or equal to 1584.
type: An ST_SparklineType attribute (section 2.7.5) that specifies the type of the sparkline group.
dateAxis: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether this sparkline
group uses a date axis.
Value of dateAxis
Meaning
"false"
"true"
displayEmptyCellsAs: An ST_DispBlanksAs attribute (section 2.7.3) that specifies how empty cells
are plotted.
markers: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether data markers
are displayed for each sparkline in this sparkline group.
Value
Meaning
"true"
Data markers are displayed for each sparkline in this sparkline group.
"false"
high: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether the data points with
the highest value are formatted differently for each sparkline in this sparkline group.
Value
Meaning
"true"
Data points (2) with the highest value are formatted differently for each sparkline in this sparkline
group.
"false"
No data point with the highest value is formatted for sparkline in this sparkline group.
low: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether the data points with
the lowest value are formatted differently for each sparkline in this sparkline group.
Value
Meaning
"true"
Data points with the lowest value are formatted differently for each sparkline in this sparkline
group.
"false"
No data point with the lowest value is formatted for sparkline in this sparkline group.
first: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether the first data point is
formatted differently for each sparkline in this sparkline group.
Value
Meaning
"true"
The first data point is formatted differently for each sparkline in this sparkline group.
102 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
Value
Meaning
"false"
The first data point is not formatted for sparkline in this sparkline group.
last: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether the last data point is
formatted differently for each sparkline in this sparkline group.
Value
Meaning
"true"
The last data point is formatted differently for each sparkline in this sparkline group.
"false"
The last data point is not formatted for sparkline in this sparkline group.
negative: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether the negative
data points are formatted differently for each sparkline in this sparkline group.
Value
Meaning
"true"
The negative data point is formatted differently for each sparkline in this sparkline group.
"false"
The negative data point is not formatted for sparkline in this sparkline group.
displayXAxis: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether the
horizontal axis is displayed for each sparkline in this sparkline group.
Value
Meaning
"true"
The horizontal axis is displayed for each sparkline in this sparkline group.
"false"
displayHidden: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether data in
hidden cells are plotted for the sparklines in this sparkline group.
Value
Meaning
"true"
Data in hidden cells are plotted for the sparklines in this sparkline group.
"false"
Data in hidden cells are not plotted for the sparklines in this sparkline group.
minAxisType: An ST_SparklineAxisMinMax attribute (section 2.7.4) that specifies how the vertical
axis minimums for the sparklines in this sparkline group are calculated.
maxAxisType: An ST_SparklineAxisMinMax attribute that specifies how the vertical axis
maximums for the sparklines in this sparkline group are calculated.
rightToLeft: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether each
sparkline in the sparkline group is displayed in a right-to-left manner.
103 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
Value
Meaning
"true"
"false"
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_SparklineGroup">
<xsd:sequence>
<xsd:element name="colorSeries" minOccurs="0" maxOccurs="1" type="x:CT_Color"/>
<xsd:element name="colorNegative" minOccurs="0" maxOccurs="1" type="x:CT_Color"/>
<xsd:element name="colorAxis" minOccurs="0" maxOccurs="1" type="x:CT_Color"/>
<xsd:element name="colorMarkers" minOccurs="0" maxOccurs="1" type="x:CT_Color"/>
<xsd:element name="colorFirst" minOccurs="0" maxOccurs="1" type="x:CT_Color"/>
<xsd:element name="colorLast" minOccurs="0" maxOccurs="1" type="x:CT_Color"/>
<xsd:element name="colorHigh" minOccurs="0" maxOccurs="1" type="x:CT_Color"/>
<xsd:element name="colorLow" minOccurs="0" maxOccurs="1" type="x:CT_Color"/>
<xsd:element ref="xm:f" minOccurs="0" maxOccurs="1"/>
<xsd:element name="sparklines" type="CT_Sparklines" minOccurs="1" maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="manualMax" type="xsd:double" use="optional"/>
<xsd:attribute name="manualMin" type="xsd:double" use="optional"/>
<xsd:attribute name="lineWeight" type="xsd:double" use="optional" default="0.75"/>
<xsd:attribute name="type" type="ST_SparklineType" use="optional" default="line"/>
<xsd:attribute name="dateAxis" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="displayEmptyCellsAs" type="ST_DispBlanksAs" use="optional"
default="zero"/>
<xsd:attribute name="markers" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="high" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="low" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="first" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="last" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="negative" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="displayXAxis" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="displayHidden" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="minAxisType" type="ST_SparklineAxisMinMax" use="optional"
default="individual"/>
<xsd:attribute name="maxAxisType" type="ST_SparklineAxisMinMax" use="optional"
default="individual"/>
<xsd:attribute name="rightToLeft" type="xsd:boolean" use="optional" default="false"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.8 CT_Sparklines
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_SparklineGroup
CT_Sparklines is a complex type that specifies a list of individual sparklines in a sparkline group.
MUST contain fewer than 231 elements.
Child Elements:
sparkline: A CT_Sparkline element (section 2.6.9) that specifies properties for an individual
sparkline.
104 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_Sparklines">
<xsd:sequence>
<xsd:element name="sparkline" type="CT_Sparkline" minOccurs="1" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.9 CT_Sparkline
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_Sparklines
CT_Sparkline is a complex type that specifies information for a single sparkline.
Child Elements:
xm:f: An f element (section 2.4.3) that specifies the data range for this sparkline. The syntax,
specified in section 2.2.2, for this element is the following:
sparkline-formula = single-sheet-area / [single-sheet-prefix / book-prefix] name
Additionally, if a single-sheet-area is specified, that single-sheet-area MUST contain cells from either a
single row or a single column.
xm:sqref: A sqref element (section 2.4.5) that specifies the cell in which the sparkline is located.
This sqref element MUST contain exactly one ref element (section 2.4.4) that MUST specify exactly
one cell.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_Sparkline">
<xsd:sequence>
<xsd:element ref="xm:f" minOccurs="0" maxOccurs="1"/>
<xsd:element ref="xm:sqref" minOccurs="1" maxOccurs="1"/>
</xsd:sequence>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.10 CT_WorkbookPr
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: workbookPr
CT_WorkbookPr is a complex type that specifies additional properties for a workbook.
Attributes:
defaultImageDpi: An unsignedInt ([XMLSCHEMA2] section 3.3.22) attribute that specifies the
resolution in which images in the workbook is saved, in DPI ([ISO/IEC29500-1:2011] section
105 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
Meaning
"true"
All CT_Photo elements and cropped out areas of images in the workbook are not saved.
"false"
All CT_Photo elements and cropped out areas of images in the workbook are saved.
accuracyVersion: An unsignedInt attribute that specifies how functions are calculated in the
workbook. SHOULD be equal to zero ("0").<9>
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_WorkbookPr">
<xsd:attribute name="defaultImageDpi" type="xsd:unsignedInt" default="220"/>
<xsd:attribute name="discardImageEditData" type="xsd:boolean" default="false"/>
<xsd:attribute name="accuracyVersion" type="xsd:unsignedInt" default="0"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.11 CT_SlicerRefs
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: slicerList
CT_SlicerRefs is a complex type that specifies a list of slicer (section 2.3.2) part identifiers for the
worksheet. MUST contain exactly one slicer part identifier.
Child Elements:
slicer: A CT_SlicerRef element (section 2.6.12) that specifies the slicer part identifier for the
worksheet.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_SlicerRefs">
<xsd:sequence>
<xsd:element name="slicer" type="CT_SlicerRef" minOccurs="1" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
106 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
2.6.12 CT_SlicerRef
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_SlicerRefs
A complex type that specifies a relationship identifier of the part that contains the slicers in this
worksheet.
Attributes:
r:id: An ST_RelationshipId ([ISO/IEC29500-1:2011] section 22.8.2.1) attribute that specifies a
relationship identifier of the part that contains the slicers in this worksheet.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_SlicerRef">
<xsd:attribute ref="r:id" use="required"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.13 CT_SlicerCaches
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: slicerCaches, slicerCaches
A complex type that specifies a list of slicer cache part identifiers for the workbook. MUST contain
fewer than 231 elements.
Child Elements:
slicerCache: A CT_SlicerCache element that specifies a slicer cache part identifier in this workbook.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_SlicerCaches">
<xsd:sequence>
<xsd:element name="slicerCache" type="CT_SlicerCache" minOccurs="1"
maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.14 CT_SlicerCache
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_SlicerCaches
A complex type that specifies a relationship identifier to a slicer cache part in this workbook.
Attributes:
107 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.15 CT_CalculatedMember
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: calculatedMember
A complex type that specifies extended properties of a PivotTable ([ISO/IEC29500-1:2011] section
18.10) OLAP calculated member.
Child Elements:
tupleSet: A CT_TupleSet element (section 2.6.16) that specifies OLAP tuples within this OLAP
named set.
Attributes:
displayFolder: An ST_Xstring ([ISO/IEC29500-1:2011] section 22.9.2.19) attribute that specifies
the display folder of this PivotTable ([ISO/IEC29500-1:2011] section 18.10) named set. The length
of this value MUST be less than 65,536 characters. This attribute MUST NOT exist if the set attribute
in the ancestor CT_CalculatedMember ([ISO/IEC29500-4:2011] section A.2) element is zero ("0").
flattenHierarchies: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether to
display members from different OLAP levels of the same PivotTable cache hierarchy of this PivotTable
named set in the same PivotTable field. This attribute MUST NOT exist if the set attribute in the
ancestor CT_CalculatedMember element is zero ("0").
Value
Meaning
"0"
"1"
dynamicSet: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether this
PivotTable named set is a dynamic OLAP named set. This attribute MUST NOT exist if the set
attribute in the ancestor CT_CalculatedMember element is zero ("0").
Value
Meaning
"0"
"1"
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
Value
Meaning
named set.
Meaning
"0"
"1"
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.16 CT_TupleSet
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_CalculatedMember
A complex type that specifies an OLAP named set.
Child Elements:
headers: A CT_TupleSetHeaders element that specifies the MDX unique names of the OLAP
hierarchies and the MDX unique names of the OLAP levels specified by this OLAP named set.
rows: A CT_TupleSetRows element that specifies the OLAP tuples specified by this OLAP named set.
Attributes:
109 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
rowCount: An unsignedInt ([XMLSCHEMA2] section 3.3.22) attribute that specifies the number of
OLAP tuples specified by this OLAP named set. MUST equal the number of CT_TupleSetRow
elements within the rows element. rowCount * columnCount MUST be less than or equal to 3,000.
columnCount: An unsignedInt ([XMLSCHEMA2] section 3.3.22) attribute that specifies the number
of MDX unique names of the OLAP hierarchies and the MDX unique names of the OLAP levels specified
by this OLAP named set. MUST equal the number of CT_TupleSetHeader elements within the
headers element. rowCount * columnCount MUST be less than or equal to 3,000.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_TupleSet">
<xsd:sequence>
<xsd:element name="headers" type="CT_TupleSetHeaders" minOccurs="1" maxOccurs="1"/>
<xsd:element name="rows" type="CT_TupleSetRows" minOccurs="1" maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="rowCount" type="xsd:unsignedInt" use="optional" default="1"/>
<xsd:attribute name="columnCount" type="xsd:unsignedInt" use="optional" default="1"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.17 CT_TupleSetHeaders
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_TupleSet
A complex type that specifies the MDX unique names of the OLAP hierarchies and the MDX unique
names of the OLAP levels of the OLAP named set.
Child Elements:
header: CT_TupleSetHeader elements that specify the MDX unique names of the OLAP hierarchies
and the MDX unique names of the OLAP levels of the OLAP named set. The number of these elements
MUST be equal to the value of the columnCount attribute in the CT_TupleSet element that is the
ancestor of this element.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_TupleSetHeaders">
<xsd:sequence>
<xsd:element name="header" type="CT_TupleSetHeader" minOccurs="1" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.18 CT_TupleSetHeader
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_TupleSetHeaders
110 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
A complex type that specifies the MDX unique name of the OLAP hierarchy and the MDX unique name
of the OLAP level of the OLAP named set that is specified by the CT_TupleSet element that is an
ancestor of this element.
Attributes:
uniqueName: An ST_Xstring ([ISO/IEC29500-1:2011] section 22.9.2.19) attribute that specifies
the MDX unique name of the OLAP level. MUST be less than or equal to 65,535 characters in length.
hierarchyName: An ST_Xstring ([ISO/IEC29500-1:2011] section 22.9.2.19) attribute that specifies
the MDX unique name of the OLAP hierarchy. MUST be less than or equal to 65,535 characters in
length.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_TupleSetHeader">
<xsd:attribute name="uniqueName" type="x:ST_Xstring" use="optional"/>
<xsd:attribute name="hierarchyName" type="x:ST_Xstring" use="optional"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.19 CT_TupleSetRows
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_TupleSet
A complex type that specifies the OLAP tuples for this OLAP named set.
Child Elements:
row: CT_TupleSetRow elements that specify the OLAP tuples for this OLAP named set. The number
of these elements MUST be equal to the value of the rowCount attribute in the parent CT_TupleSet
element.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_TupleSetRows">
<xsd:sequence>
<xsd:element name="row" type="CT_TupleSetRow" minOccurs="1" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.20 CT_TupleSetRow
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_TupleSetRows
A complex type that specifies an OLAP tuple for this OLAP named set.
Child Elements:
111 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
rowItem: CT_TupleSetRowItem elements that specify the OLAP members that are part of the
OLAP tuple that is specified by this CT_TupleSetRow element. The number of these elements MUST
be equal to value of the columnCount attribute in the CT_TupleSet element that is an ancestor of
this element.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_TupleSetRow">
<xsd:sequence>
<xsd:element name="rowItem" type="CT_TupleSetRowItem" minOccurs="1"
maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.21 CT_TupleSetRowItem
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_TupleSetRow
A complex type that specifies an OLAP member that is part of an OLAP tuple.
Attributes:
u: An ST_Xstring ([ISO/IEC29500-1:2011] section 22.9.2.19) attribute that specifies the MDX
unique name of this OLAP member. MUST be less than or equal to 65,535 characters in length.
d: An ST_Xstring ([ISO/IEC29500-1:2011] section 22.9.2.19) attribute that specifies a display name
for this OLAP member. MUST be less than or equal to 65,535 characters in length.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_TupleSetRowItem">
<xsd:attribute name="u" type="x:ST_Xstring" use="optional"/>
<xsd:attribute name="d" type="x:ST_Xstring" use="optional"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.22 CT_SetLevels
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_CacheHierarchy
A complex type that specifies a list of CT_SetLevel elements that specify the OLAP levels of the
PivotTable ([ISO/IEC29500-1:2011] section 18.10) named set.
Child Elements:
setLevel: A CT_SetLevel element that specifies an OLAP level of the PivotTable ([ISO/IEC295001:2011] section 18.10) cache hierarchy of the PivotTable ([ISO/IEC29500-1:2011] section 18.10)
named set.
112 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
Attributes:
count: An unsignedInt ([XMLSCHEMA2] section 3.3.22) attribute that specifies the number of child
setLevel elements of this element.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_SetLevels">
<xsd:sequence>
<xsd:element name="setLevel" minOccurs="1" maxOccurs="unbounded" type="CT_SetLevel"/>
</xsd:sequence>
<xsd:attribute name="count" type="xsd:unsignedInt" use="optional"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.23 CT_SetLevel
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_SetLevels
A complex type that specifies an OLAP level of the PivotTable ([ISO/IEC29500-1:2011] section
18.10) cache hierarchy of a PivotTable named set.
Attributes:
hierarchy: An int ([XMLSCHEMA2] section 3.3.17) attribute that specifies a reference to the
PivotTable cache hierarchy. MUST be a value from the following table.
Value
Meaning
"-2"
"-1"
Greater than or
equal to zero
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_SetLevel">
<xsd:attribute name="hierarchy" use="required" type="xsd:int"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.24 CT_CacheHierarchy
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
113 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
flattenHierarchies
Meaning
"true"
"false"
"false"
"false"
"false"
"true"
measuresSet: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether this
PivotTable ([ISO/IEC29500-1:2011] section 18.10) named set contains one or more PivotTable
([ISO/IEC29500-1:2011] section 18.10) measure cache hierarchies. MUST be "false" if ignore is
"true".
114 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
ignore
measureSet
Meaning
"true"
"false"
"false"
"false"
"false"
"true"
hierarchizeDistinct
Meaning
"true"
"false"
"false"
"false"
"false"
"true"
ignore: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether the ancestor
cacheHierarchy element of type CT_CacheHierarchy ([ISO/IEC29500-4:2011] section A.2)
SHOULD<10> be discarded. If ignore is "true", the ancestor cacheHierarchy element of type
CT_CacheHierarchy ([ISO/IEC29500-4:2011] section A.2) MUST have the following attribute values:
Field
Value
measure
"true"
115 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
Field
Value
set
"false"
attribute
"false"
measures
"false"
oneField
"false"
time
"false"
keyAttribute
"false"
memberValueDatatype
unbalanced
unbalancedGroup
hidden
"false"
count
"0"
parentSet
dimensionUniqueName
defaultMemberUniqueName
allUniqueName
allCaption
displayFolder
measureGroup
uniqueName
116 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_CacheHierarchy">
<xsd:sequence>
<xsd:element name="setLevels" minOccurs="0" maxOccurs="1" type="CT_SetLevels"/>
</xsd:sequence>
<xsd:attribute name="flattenHierarchies" type="xsd:boolean" use="optional" default="true"/>
<xsd:attribute name="measuresSet" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="hierarchizeDistinct" type="xsd:boolean" use="optional"
default="true"/>
<xsd:attribute name="ignore" type="xsd:boolean" default="false" use="optional"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.25 CT_DataField
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: dataField
This complex type specifies extended information about a PivotTable ([ISO/IEC29500-1:2011]
section 18.10) data field item ([ISO/IEC29500-1:2011] section 18.10.1.22).
Attributes:
pivotShowAs: An ST_PivotShowAs attribute that specifies the data display format for this
PivotTable ([ISO/IEC29500-1:2011] section 18.10) data field item. If this attribute is specified, the
showDataAs attribute of the ancestor CT_DataField ([ISO/IEC29500-4:2011] section A.2) element
MUST NOT be specified. If this attribute is equal to "percentOfParent", "percentOfRunningTotal",
"rankAscending", or "rankDescending", the baseField attribute of the ancestor CT_DataField
([ISO/IEC29500-4:2011] section A.2) element MUST be greater than or equal to 0.
sourceField: An unsignedInt ([XMLSCHEMA2] section 3.3.22) attribute that specifies the zero-based
index of the CT_PivotField ([ISO/IEC29500-4:2011] section A.2) element in the list of
CT_PivotField ([ISO/IEC29500-4:2011] section A.2) elements specified by the CT_PivotFields
([ISO/IEC29500-4:2011] section A.2) element that this data item summarizes.
If an OLAP measure is summarized in a PivotTable ([ISO/IEC29500-1:2011] section 18.10) as a data
field item ([ISO/IEC29500-1:2011] section 18.10.1.22) more than one time, data field items
([ISO/IEC29500-1:2011] section 18.10.1.22) that specify that OLAP measure after the first data field
item ([ISO/IEC29500-1:2011] section 18.10.1.22) that specifies that OLAP measure MUST have a
descendant CT_DataField element with a sourceField specified.
If this attribute is specified, the CT_PivotField ([ISO/IEC29500-4:2011] section A.2) element
specified by the fld attribute of the ancestor CT_DataField ([ISO/IEC29500-4:2011] section A.2)
element MUST have a descendant CT_PivotField element with an ignore attribute equal to "true".
If this attribute is specified, the CT_CacheField ([ISO/IEC29500-4:2011] section A.2) element with a
zero-based index in the list of CT_CacheField ([ISO/IEC29500-4:2011] section A.2) elements
specified by the CT_CacheFields ([ISO/IEC29500-4:2011] section A.2) element equal to the fld
attribute of the ancestor CT_DataField ([ISO/IEC29500-4:2011] section A.2) element that exists in
the Pivot Table Cache Definition part ([ISO/IEC29500-1:2011] section 12.3.12) specified by the
cacheId attribute of the CT_PivotTableDefinition ([ISO/IEC29500-4:2011] section A.2) element
that is the ancestor of this element MUST have a descendant CT_CacheField element. The
CT_CacheHierarchy ([ISO/IEC29500-4:2011] section A.2) element specified by the hierarchy
attribute of that CT_CacheField ([ISO/IEC29500-4:2011] section A.2) element MUST have a
descendent CT_CacheHierarchy element with an ignore attribute equal to "true". The
117 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
CT_PivotHierarchy ([ISO/IEC29500-4:2011] section A.2) element with a zero-based index in the list
of CT_PivotHierarchy ([ISO/IEC29500-4:2011] section A.2) elements specified by the
CT_PivotHierarchies ([ISO/IEC29500-4:2011] section A.2) element in this part that is equal to the
zero-based index of that CT_CacheHierarchy ([ISO/IEC29500-4:2011] section A.2) element in the
list of CT_CacheHierarchy ([ISO/IEC29500-4:2011] section A.2) elements specified by the
CT_CacheHierarchies ([ISO/IEC29500-4:2011] section A.2) element MUST have a descendant
CT_PivotHierarchy element.
If this attribute is specified, the fld attribute of the ancestor CT_DataField ([ISO/IEC29500-4:2011]
section A.2) element SHOULD<11> be ignored.
This attribute MUST NOT be specified for non-OLAP PivotTables ([ISO/IEC29500-1:2011] section
18.10).
uniqueName: An ST_Xstring ([ISO/IEC29500-1:2011] section 22.9.2.19) attribute that specifies
the unique name for duplicated OLAP measures. MUST be unique within this part. MUST be less than
or equal to 65,535 characters in length.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_DataField">
<xsd:attribute name="pivotShowAs" type="ST_PivotShowAs" use="optional"/>
<xsd:attribute name="sourceField" type="xsd:unsignedInt" use="optional"/>
<xsd:attribute name="uniqueName" type="x:ST_Xstring" use="optional"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.26 CT_Cfvo
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_ColorScale, CT_DataBar, CT_IconSet
This complex type specifies a Conditional Formatting Value Object (CFVO) that specifies how to
calculate a value from the range of cells to which a conditional formatting rule applies.
Child Elements:
xm:f: An f element that specifies the formula that is evaluated and compared to the cell value by the
comparison method specified by gte. The formula MUST adhere to the grammar provided in Formulas,
with the following restrictions:
MUST NOT use the ref-infix-operator, book-prefix, local-cell-reference, bang-reference, bangname, array-constant, sheet-range-reference or structure-reference production rules.
MUST NOT use the A1-relative-column production rule except from the A1-absolute-column
production rule, and it MUST NOT use the A1-relative-row production rule except from the A1absolute-row production rule.
If this CT_Cfvo element is a child of a CT_ColorScale and specifies the beginning of the color
scale, this attribute MUST NOT be max.
If this CT_Cfvo element is a child of a CT_ColorScale and specifies the end of the color scale,
this attribute MUST NOT be min.
If this CT_Cfvo element is a child of a CT_ColorScale and specifies the midpoint of the color
scale, this attribute MUST NOT be max and MUST NOT be min.
If this CT_Cfvo element is a child of a CT_DataBar and specifies the cell value for the min length
of the data bar, this attribute MUST NOT be max or autoMax.
If this CT_Cfvo element is a child of a CT_DataBar and specifies the cell value for the max length
of the data bar, this attribute MUST NOT be min or autoMin.
If this CT_Cfvo element is not a child of a CT_DataBar, this attribute MUST NOT be autoMin and
MUST NOT be autoMax.
If this CT_Cfvo element is a child of a CT_IconSet record, this value MUST NOT be max or min.
gte: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether the CT_Cfvo will use
greater-than or greater-than-or-equal-to when applying conditional formatting rules. If this CT_Cfvo
element is a child of something other than a CT_IconSet element, this attribute MUST NOT be
present. The value of this attribute is interpreted as follows:
Value
Meaning
"false"
"true"
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_Cfvo">
<xsd:sequence>
<xsd:element ref="xm:f" minOccurs="0" maxOccurs="1"/>
<xsd:element name="extLst" type="x:CT_ExtensionList" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="type" type="ST_CfvoType" use="required"/>
<xsd:attribute name="gte" type="xsd:boolean" use="optional" default="true"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.27 CT_CfRule
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_ConditionalFormatting
This complex type specifies a conditional formatting rule for a range.
Child Elements:
xm:f: f elements that specify the formulas in the conditional formatting rule. The formulas MUST
adhere to the grammar specified in Formulas, with the following restrictions:
119 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
The formula MUST NOT conform to the ref-infix-operator, book-prefix, local-cell-reference, arrayconstant, bang-reference, bang-name, sheet-range-reference, or structure-reference production
rules.
cellIs
f elements that specify the formulas, numeric values, or cell references that specify the
operands for the ST_ConditionalFormattingOperator ([ISO/IEC29500-1:2011] section
18.18.15) specified by operator. If operator is "between" or "notBetween", f MUST
contain two formulas; otherwise, f MUST contain one formula.
expression
An f element that specifies a formula. When the formula returns zero, conditional
formatting is not displayed. When the formula returns a nonzero value, conditional
formatting is displayed.
colorScale, dataBar,
iconSet
An f element that specifies a formula. When the formula returns zero, conditional
formatting is not displayed. When the formula returns a nonzero value, or is not present,
conditional formatting is displayed.
containsText,
notContainsText,
beginsWith,
endsWith,
An f element that specifies a formula that implements the operation specified by type.
When the formula returns zero, conditional formatting is not displayed. When the formula
returns a nonzero value, conditional formatting is displayed.
containsBlanks,
notContainsBlanks,
containsErrors,
notContainsErrors
If priority exists, rules are applied in order from the smallest priority to the largest priority and it
MUST NOT duplicate a priority value in any other CT_CfRule or CT_CfRule ([ISO/IEC29500-4:2011]
section A.2) element that exists in the same worksheet part.
If priority does not exist, this CT_CfRule specifies extension information for a conditional formatting
data bar rule, and the dataBar child element MUST exist and describe this additional information. The
id attribute is used to identify the associated CT_CfRule ([ISO/IEC29500-4:2011] section A.2), and
the priority attribute of this CT_CfRule ([ISO/IEC29500-4:2011] section A.2) specifies the relative
priority of this rule. If neither the priority attribute nor the id attribute exists in this element, or if id
exists but there exists no CT_CfRule ([ISO/IEC29500-4:2011] section A.2) element containing a
matching GUID, this record and the succeeding dataBar child element MUST be ignored. If the
priority attribute exists in this element, id MUST be ignored.
stopIfTrue: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether evaluation of
additional conditional formatting rules is skipped for a cell if this rule evaluates to "true" for that cell.
Value
Meaning
"true"
Evaluation of additional conditional formatting rules is skipped for a cell if this rule evaluates to
"true" for that cell.
"false"
Evaluation of additional conditional formatting rules is not skipped for a cell if this rule evaluates to
"true" for that cell.
aboveAverage: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether the
conditional formatting rule is applied to cells with values above or below the average value of other
cells in the range as specified by the following table. This attribute MUST NOT exist if type is not equal
to "aboveAverage".
Value
"true"
"false"
Meaning
The conditional formatting rule is applied to cells with values above the average value of all
cells in the range.
The conditional formatting rule is applied to cells with values below the average value of all
cells in the range.
percent: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether the conditional
formatting rule is applied to a percentage of cells as specified by the following table. This attribute
MUST NOT exist if type is not equal to "top10".
Value
"true"
"false"
Meaning
rank specifies the percentage of cells in the range to which conditional formatting is applied.
The conditional formatting rule is applied to the number of cells specified by rank.
bottom: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies how the conditional
formatting rule is applied as specified by the following table. This attribute MUST NOT exist if type is
not equal to "top10".
Value
"true"
"false"
Meaning
Conditional formatting is applied to cells whose value is in the bottom end of the range
specified by percent and rank.
Conditional formatting is applied to cells whose value is in the top end of the range specified by
percent and rank.
121 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
Value of
aboveAverage
"true"
"true"
"true"
"false"
"false"
"true"
"false"
"false"
Meaning
activePresent: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that MUST be "true" if, and only
if, a formula is present in f and type is "colorScale", "dataBar", or "iconSet".
id: An ST_Guid ([ISO/IEC29500-1:2011] section 22.9.2.4) attribute that identifies this conditional
formatting rule. If the priority attribute does not exist, and this attribute exists, this attribute is used
to match this CT_CfRule element to the corresponding CT_CfRule ([ISO/IEC29500-4:2011] section
A.2) element. If neither the priority attribute nor this attribute exists, this CT_CfRule and its child
CT_DataBar element MUST be ignored.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType
<xsd:sequence>
<xsd:element
<xsd:element
<xsd:element
<xsd:element
<xsd:element
name="CT_CfRule">
ref="xm:f" minOccurs="0" maxOccurs="3"/>
name="colorScale" type="CT_ColorScale" minOccurs="0" maxOccurs="1"/>
name="dataBar" type="CT_DataBar" minOccurs="0" maxOccurs="1"/>
name="iconSet" type="CT_IconSet" minOccurs="0" maxOccurs="1"/>
name="dxf" type="x:CT_Dxf" minOccurs="0" maxOccurs="1"/>
122 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.28 CT_IconSet
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_CfRule
A complex type that specifies the properties of a conditional formatting rule that uses an icon set. The
first cfvo element following this element MUST be ignored. There MUST be greater than or equal to
three cfvo elements and MUST be less than or equal to five cfvo elements following this complex
type.
Child Elements:
cfvo: A CT_Cfvo element that specifies a threshold value between each icon in the icon set.
cfIcon: A CT_CfIcon element that specifies a particular icon to use within an icon set. This element
MUST be present if and only if custom equals "true".
Attributes:
iconSet: An ST_IconSetType attribute that specifies the icon set used.
showValue: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether the cells in
the applied range display the icon and cell value, or the icon only.
Value
"true"
"false"
Meaning
The icon and cell value are shown in the cell.
Only the icon is shown in the cell.
Meaning
The icons specified in iconSet are shown in reverse order.
The icons specified in iconSet are shown in the order defined by the icon set.
123 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
custom: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether a custom set of
icons is used. If this value is "true", there MUST be the same number of cfIcon elements as cfvo
elements and the icons specified by the cfIcon elements are used rather than those specified by
iconSet. If this value is "false", there MUST be 0 cfIcon elements.
Value
"false"
"true"
Meaning
No custom set of icons is used.
A custom set of icons is used.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_IconSet">
<xsd:sequence>
<xsd:element name="cfvo" type="CT_Cfvo" minOccurs="2" maxOccurs="unbounded"/>
<xsd:element name="cfIcon" type="CT_CfIcon" minOccurs="0" maxOccurs="5"/>
</xsd:sequence>
<xsd:attribute name="iconSet" type="ST_IconSetType" use="optional"
default="3TrafficLights1"/>
<xsd:attribute name="showValue" type="xsd:boolean" use="optional" default="true"/>
<xsd:attribute name="percent" type="xsd:boolean" use="optional" default="true"/>
<xsd:attribute name="reverse" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="custom" type="xsd:boolean" use="optional" default="false"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.29 CT_ColorScale
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_CfRule
A complex type that specifies a color scale used in conditional formatting.
Child Elements:
cfvo: A CT_Cfvo element that specifies the cell values corresponding to the interpolation colors of the
color scale. The CT_ColorScale MUST have either two or three child CT_Cfvo elements.
If there are two child CT_Cfvo elements present, the first child CT_Cfvo element specifies the cell
value corresponding to the beginning color of the color scale. The second child CT_Cfvo element
specifies the cell value corresponding to the end color of the color scale.
If there are three child CT_Cfvo elements present, the first child CT_Cfvo element specifies the cell
value corresponding to the beginning color of the color scale. The second child CT_Cfvo element
specifies the cell value corresponding to the midpoint color of the color scale. The third child CT_Cfvo
element specifies the cell value corresponding to the end color of the color scale.
color: A CT_Color ([ISO/IEC29500-4:2011] section A.2) element that specifies the interpolation
colors of the color scale for the cfvo element at the same corresponding position. The CT_ColorScale
MUST have either two or three child CT_Color ([ISO/IEC29500-4:2011] section A.2) elements, and
the number of child elements MUST equal the number of CT_Cfvo child elements.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
124 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
<xsd:complexType name="CT_ColorScale">
<xsd:sequence>
<xsd:element name="cfvo" type="CT_Cfvo" minOccurs="2" maxOccurs="unbounded"/>
<xsd:element name="color" type="x:CT_Color" minOccurs="2" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.30 CT_DataBar
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_CfRule
A complex type that specifies a data bar used in conditional formatting.
Child Elements:
cfvo: A CT_Cfvo element (section 2.6.26) that specifies the cell values corresponding to the min/max
length of the data bar. If there exist CT_Cfvo ([ISO/IEC29500-4:2011] section A.2) elements in this
sheet that are child elements of a CT_DataBar ([ISO/IEC29500-4:2011] section A.2) element that is
a child of a CT_CfRule ([ISO/IEC29500-4:2011] section A.2) element that is a parent of a
CT_ExtensionList ([ISO/IEC29500-4:2011] section A.2) element with a child CT_Extension
([ISO/IEC29500-4:2011] section A.2) element that has a child ST_Guid ([ISO/IEC29500-4:2011]
section A.2) element equal to the id attribute of this complex types parent CT_CfRule element
(section 2.6.27), those CT_Cfvo elements SHOULD<12> be ignored. The first child CT_Cfvo element
specifies the condition corresponding to the min length of the data bar. The second child CT_Cfvo
element specifies the condition corresponding to the max length of the data bar.
fillColor: A CT_Color ([ISO/IEC29500-4:2011] section A.2) element that specifies the fill color of the
data bar. This element MUST exist if and only if the priority attribute of the CT_CfRule that is a
parent of this complex type exists.
borderColor: A CT_Color element that specifies the border color of the data bar. This element MUST
exist if and only if border equals "true".
negativeFillColor: A CT_Color element that specifies the negative fill color of the data bar. This
element MUST exist if and only if negativeBarColorSameAsPositive equals "false".
negativeBorderColor: A CT_Color element that specifies the negative border color of the data bar.
This element MUST exist if and only if negativeBarBorderColorSameAsPositive equals "false" and
border equals "true".
axisColor: A CT_Color element that specifies the axis color of the data bar. This element MUST exist
if and only if axisPosition does not equal "none".
Attributes:
minLength: An unsignedInt ([XMLSCHEMA2] section 3.3.22) attribute that specifies the length of
the shortest data bar in this conditional formatting range, expressed as a percentage of the width of
the cell containing the data bar. MUST be greater than or equal to zero and less than or equal to
maxLength. If, in this same worksheet part, there exists a CT_ExtensionList element that is a
descendent of a CT_CfRule with a child CT_Extension element with the child ST_Guid element
equal to the id attribute of the CT_CfRule element that is a parent of this element, and the
minLength attribute of this element is zero ("0") and the maxLength attribute of this element is
"100", the minLength attribute of the CT_DataBar element that is a descendent of the CT_CfRule
element that is a parent of the CT_ExtensionList element that is a parent of the CT_Extension
element with the child ST_Guid element equal to the id attribute of the CT_CfRule element that is a
125 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
parent of this element MUST be "10". If in this same worksheet part there exists an
CT_ExtensionList element that is a descendent of a CT_CfRule with a child CT_Extension element
with the child ST_Guid element equal to the id attribute of the CT_CfRule element that is a parent of
this element, and the minLength attribute of this element is not zero ("0") or the maxLength
attribute of this element is not "100", the minLength attribute of the CT_DataBar element that is a
descendent of the CT_CfRule element that is a parent of the CT_ExtensionList element that is a
parent of the CT_Extension element with the child ST_Guid element that is equal to the id attribute
of the CT_CfRule element that is a parent of this element MUST be equal to this complex types
minLength.
maxLength: An unsignedInt attribute that specifies the length of the longest data bar in this
conditional formatting range, expressed as a percentage of the width of the cell being formatted.
MUST be greater than or equal to minLength and less than or equal to 100. If in this same worksheet
part there exists a CT_ExtensionList element that is a descendent of a CT_CfRule with a child
CT_Extension element with the child ST_Guid element equal to the id attribute of the CT_CfRule
element that is a parent of this element, and the minLength attribute of this element is zero ("0")
and the maxLength attribute of this element is "100", the maxLength attribute of the CT_DataBar
element that is a descendent of the CT_CfRule element that is a parent of the CT_ExtensionList
element that is a parent of the CT_Extension element with the child ST_Guid element that is equal
to the id attribute of the CT_CfRule element that is a parent of this element MUST be "90". If, in this
same worksheet part, there exists a CT_ExtensionList element that is a descendent of a CT_CfRule
with a child CT_Extension element with the child ST_Guid element equal to the id attribute of the
CT_CfRule element that is a parent of this element, and the minLength attribute of this element is
not zero ("0") or the maxLength attribute of this element is not "100", the maxLength attribute of
the CT_DataBar element that is a descendent of the CT_CfRule element that is a parent of the
CT_ExtensionList element that is a parent of the CT_Extension element with the child ST_Guid
element that is equal to the id attribute of the CT_CfRule element that is a parent of this element
MUST be equal to this records maxLength.
showValue: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether the cells in
the conditional formatting range display both the data bar and the numeric value or only the data bar.
The following table describes its possible values.
Value
Meaning
"false"
"true"
border: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether the data bar has a
border.
Value
Meaning
"true"
"false"
gradient: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether the data bar has
a gradient fill. The following table describes its possible values.
Value
Meaning
126 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
Value
Meaning
"false"
"true"
direction: An ST_DataBarDirection attribute section 2.7.7) that specifies the direction of the data
bar.
negativeBarColorSameAsPositive: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that
specifies whether the data bar has a negative bar color that is different from the positive bar color.
negativeBarBorderColorSameAsPositive: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that
specifies whether the data bar has a negative border color that is different from the positive border
color.
axisPosition: An ST_DataBarAxisPosition attribute (section 2.7.8) that specifies the axis position
for the data bar.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_DataBar">
<xsd:sequence>
<xsd:element name="cfvo" type="CT_Cfvo" minOccurs="2" maxOccurs="2"/>
<xsd:element name="fillColor" type="x:CT_Color" minOccurs="0" maxOccurs="1"/>
<xsd:element name="borderColor" type="x:CT_Color" minOccurs="0" maxOccurs="1"/>
<xsd:element name="negativeFillColor" type="x:CT_Color" minOccurs="0" maxOccurs="1"/>
<xsd:element name="negativeBorderColor" type="x:CT_Color" minOccurs="0" maxOccurs="1"/>
<xsd:element name="axisColor" type="x:CT_Color" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="minLength" type="xsd:unsignedInt" use="optional" default="10"/>
<xsd:attribute name="maxLength" type="xsd:unsignedInt" use="optional" default="90"/>
<xsd:attribute name="showValue" type="xsd:boolean" use="optional" default="true"/>
<xsd:attribute name="border" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="gradient" type="xsd:boolean" use="optional" default="true"/>
<xsd:attribute name="direction" type="ST_DataBarDirection" use="optional"
default="context"/>
<xsd:attribute name="negativeBarColorSameAsPositive" type="xsd:boolean" use="optional"
default="false"/>
<xsd:attribute name="negativeBarBorderColorSameAsPositive" type="xsd:boolean"
use="optional" default="true"/>
<xsd:attribute name="axisPosition" type="ST_DataBarAxisPosition" use="optional"
default="automatic"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.31 CT_PivotField
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: pivotField
This complex type specifies additional properties of a PivotTable ([ISO/IEC29500-1:2011] section
18.10) field.
Attributes:
127 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
fillDownLabels: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether the
PivotTable ([ISO/IEC29500-1:2011] section 18.10) item labels are repeated for this PivotTable
([ISO/IEC29500-1:2011] section 18.10) field. This attribute is ignored when the compact attribute
and the outline attribute of the PivotTable ([ISO/IEC29500-1:2011] section 18.10) field are "true".
This attribute is ignored if the PivotTable ([ISO/IEC29500-1:2011] section 18.10) field is not on the
PivotTable ([ISO/IEC29500-1:2011] section 18.10) row axis or the PivotTable ([ISO/IEC295001:2011] section 18.10) column axis. This value MUST be one of the following:
Value
Meaning
"false"
"true"
ignore: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether this PivotTable
([ISO/IEC29500-1:2011] section 18.10) field SHOULD<13> be ignored.
If this attribute is "true", the ancestor CT_PivotField ([ISO/IEC29500-4:2011] section A.2) MUST
have only the following attributes specified, and these attributes MUST have the following values.
Name
Value
compact
"false"
dataField
"true"
defaultSubtotal
"false"
dragOff
"false"
dragToCol
"false"
dragToData
"false"
dragToPage
"false"
dragToRow
"false"
includeNewItemsInFilter
"true"
itemPageCount
"false"
outline
"false"
showAll
"false"
subtotalTop
"false"
topAutoShow
"false"
If this attribute is equal to "true", there MUST exist a CT_DataField ([ISO/IEC29500-4:2011] section
A.2) element with an fld attribute that specifies this PivotTable ([ISO/IEC29500-1:2011] section
18.10) field. Additionally, that CT_DataField ([ISO/IEC29500-4:2011] section A.2) element MUST
have a descendant CT_DataField element with a sourceField attribute specified.
For more details, see CT_DataField.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
128 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
<xsd:complexType name="CT_PivotField">
<xsd:attribute name="fillDownLabels" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="ignore" type="xsd:boolean" default="false" use="optional"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.32 CT_PivotTableDefinition
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: pivotTableDefinition
This element specifies additional properties of a PivotTable ([ISO/IEC29500-1:2011] section 18.10)
view.
Child Elements:
pivotEdits: A CT_PivotEdits element that specifies a collection of PivotTable What-if Analysis edits.
pivotChanges: A CT_PivotChanges element that specifies a collection of PivotTable What-if Analysis
changes.
conditionalFormats: A CT_ConditionalFormats element that specifies a collection of conditional
formats applied to the PivotTable ([ISO/IEC29500-1:2011] section 18.10) view.
Attributes:
fillDownLabelsDefault: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies the
behavior of PivotTable ([ISO/IEC29500-1:2011] section 18.10) fields that are not a part of the
PivotTable ([ISO/IEC29500-1:2011] section 18.10) view if they are later added to a PivotTable
([ISO/IEC29500-1:2011] section 18.10) view. MUST be a value from the following table.
Value
Meaning
"false"
Specifies that PivotTable ([ISO/IEC29500-1:2011] section 18.10) fields added to the PivotTable
([ISO/IEC29500-1:2011] section 18.10) view behave as if the fillDownLabels attribute of the
CT_PivotField elements associated with those PivotTable ([ISO/IEC29500-1:2011] section
18.10) fields are set to "false".
"true"
Specifies that PivotTable ([ISO/IEC29500-1:2011] section 18.10) fields added to the PivotTable
([ISO/IEC29500-1:2011] section 18.10) view behave as if the fillDownLabels attribute of the
CT_PivotField elements associated with those PivotTable ([ISO/IEC29500-1:2011] section
18.10) fields are set to "true".
Meaning
"false"
"true"
Do not include hidden PivotTable ([ISO/IEC295001:2011] section 18.10) items in the set totals.
129 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
Meaning
"false"
"true"
Meaning
"false"
"true"
130 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_PivotTableDefinition">
<xsd:sequence>
<xsd:element name="pivotEdits" type="CT_PivotEdits" minOccurs="0" maxOccurs="1"/>
<xsd:element name="pivotChanges" type="CT_PivotChanges" minOccurs="0" maxOccurs="1"/>
<xsd:element name="conditionalFormats" type="CT_ConditionalFormats" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="fillDownLabelsDefault" type="xsd:boolean" use="optional"
default="false"/>
<xsd:attribute name="visualTotalsForSets" type="xsd:boolean" use="optional"
default="false"/>
<xsd:attribute name="calculatedMembersInFilters" type="xsd:boolean" use="optional"
default="false"/>
<xsd:attribute name="altText" type="x:ST_Xstring" use="optional"/>
<xsd:attribute name="altTextSummary" type="x:ST_Xstring" use="optional"/>
<xsd:attribute name="enableEdit" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="autoApply" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="allocationMethod" type="ST_AllocationMethod" use="optional"
default="equalAllocation"/>
<xsd:attribute name="weightExpression" type="x:ST_Xstring" use="optional"/>
<xsd:attribute name="hideValuesRow" type="xsd:boolean" use="optional" default="false"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.33 CT_PivotCacheDefinition
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: pivotCacheDefinition
A complex type that specifies the extended properties of a PivotTable ([ISO/IEC29500-1:2011] section
18.10) PivotCache definition.
Attributes:
slicerData: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether the Slicer
Cache Relationship to PivotCache. MUST be "true" if the OLAP PivotTable ([ISO/IEC29500-1:2011]
section 18.10) PivotCache definition is being referenced by a slicer cache.
pivotCacheId: An unsignedInt ([XMLSCHEMA2] section 3.3.22) attribute which uniquely identifies
this PivotTable ([ISO/IEC29500-1:2011] section 18.10) PivotCache. The value MUST be greater than
or equal to zero. The value MUST NOT be zero if there is a slicer cache that uses this PivotTable
([ISO/IEC29500-1:2011] section 18.10) PivotCache as a data source, or if there is a
CT_PivotCacheIdVersion element that is preceded by this element.
supportSubqueryNonVisual: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies
whether the OLAP source data of this PivotTable ([ISO/IEC29500-1:2011] section 18.10) supports
hidden PivotTable items.
supportSubqueryCalcMem: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies
whether the OLAP source data of this PivotTable supports PivotTable calculated members in an OLAP
subselect for filtering.
Value
Meaning
"true"
The OLAP source data of this PivotTable supports PivotTable calculated members in an OLAP
subselect for filtering.
131 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
Value
Meaning
"false"
The OLAP source data of this PivotTable does not support PivotTable calculated members in an
OLAP subselect for filtering.
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.34 CT_Connection
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: connection
A complex type that specifies the extended properties of an external connection ([ISO/IEC295001:2011] section 18.13).
Child Elements:
calculatedMembers: A CT_CalculatedMembers ([ISO/IEC29500-4:2011] section A.2) element that
specifies a list of PivotTable ([ISO/IEC29500-1:2011] section 18.10) OLAP-calculated members
associated with this external connection ([ISO/IEC29500-1:2011] section 18.13). If this external
connection ([ISO/IEC29500-1:2011] section 18.13) is associated with a PivotTable ([ISO/IEC295001:2011] section 18.10) PivotCache, the list MUST NOT exist. If this element exists, the ancestor
CT_connection ([ISO/IEC29500-4:2011] section A.2) element of this element MUST have a child
CT_OlapPr ([ISO/IEC29500-1:2011] section 18.13.5) element.
Attributes:
culture: An ST_Xstring ([ISO/IEC29500-1:2011] section 22.9.2.19) attribute that specifies the
language associated with this external connection ([ISO/IEC29500-1:2011] section 18.13). The length
of this string MUST be less than 85 characters. If the length of this string is greater than 0, the
contents of this string MUST<14> be a language tag as specified by [RFC3066]. If this attribute is not
present, the data connection is using the server language.
embeddedDataId: An ST_Xstring ([ISO/IEC29500-1:2011] section 22.9.2.19) attribute that
specifies an embedded Custom Data part. The length of this value MUST be less than 65,536
characters. If the length of this string is greater than 0, the contents of this string MUST be equal to
the id attribute of a CT_DatastoreItem element, in a Custom Data Properties part in this package
([ISO/IEC29500-1:2011] section 9).
132 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_Connection">
<xsd:sequence>
<xsd:element name="calculatedMembers" type="x:CT_CalculatedMembers" minOccurs="0"
maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="culture" use="optional" type="x:ST_Xstring"/>
<xsd:attribute name="embeddedDataId" use="optional" type="x:ST_Xstring"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.35 CT_Table
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: table
A complex type that specifies alternate text properties for the table.
Attributes:
altText: An ST_Xstring ([ISO/IEC29500-1:2011] section 22.9.2.19) attribute that specifies the
alternate text for the table. The string MUST be less than or equal to 25,000 characters in length.
altTextSummary: An ST_Xstring ([ISO/IEC29500-1:2011] section 22.9.2.19) attribute that
specifies the alternate text summary for the table. The string MUST be less than or equal to 50,000
characters in length.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_Table">
<xsd:attribute name="altText" type="x:ST_Xstring" use="optional"/>
<xsd:attribute name="altTextSummary" type="x:ST_Xstring" use="optional"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.36 CT_CfIcon
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_IconSet
A complex type that specifies a single icon of an icon set.
Attributes:
iconSet: An ST_IconSetType attribute that specifies the icon set.
iconId: An unsignedInt ([XMLSCHEMA2] section 3.3.22) attribute that specifies the icon to be used.
If the icon set specified by iconSet has three icons, this value MUST be less than or equal to 2. If the
icon set specified by iconSet has four icons, this value MUST be less than or equal to 3. If the icon set
specified by iconSet has five icons, this value MUST be less than or equal to 4. If iconSet equals
"NoIcons", this value MUST be 0.
133 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_CfIcon">
<xsd:attribute name="iconSet" type="ST_IconSetType" use="required"/>
<xsd:attribute name="iconId" type="xsd:unsignedInt" use="required"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.37 CT_PivotEdits
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_PivotTableDefinition
A complex type that specifies user inputs related to PivotTable what-if analysis in single cells of the
PivotTable ([ISO/IEC29500-1:2011] section 18.10) data area. It also specifies the collections of MDX
unique names that identify the values in the OLAP data source, and specifies the PivotTable
([ISO/IEC29500-1:2011] section 18.10) rules that can be used to identify the cells in the PivotTable
([ISO/IEC29500-1:2011] section 18.10) data area.
Child Elements:
pivotEdit: A CT_PivotEdit element that specifies user input, related to PivotTable what-if analysis, in
a single cell of the PivotTable ([ISO/IEC29500-1:2011] section 18.10) data area, and specifies the
collection of MDX unique names that identifies the value in the OLAP data source, and specifies a
PivotTable ([ISO/IEC29500-1:2011] section 18.10) rule that can be used to identify the cell in the
PivotTable ([ISO/IEC29500-1:2011] section 18.10) data area.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_PivotEdits">
<xsd:sequence>
<xsd:element name="pivotEdit" minOccurs="1" maxOccurs="unbounded" type="CT_PivotEdit"/>
</xsd:sequence>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.38 CT_PivotEdit
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_PivotEdits
A complex type that specifies user input, related to PivotTable what-if analysis, in a single cell of the
PivotTable ([ISO/IEC29500-1:2011] section 18.10) data area.
Child Elements:
userEdit: A CT_PivotUserEdit element that specifies the user input value or formula that replaces
the original cell value, in a single cell of the PivotTable ([ISO/IEC29500-1:2011] section 18.10) data
area.
tupleItems: A CT_TupleItems element that specifies the MDX unique names that identify the value
in the OLAP data source that was changed using PivotTable what-if analysis.
134 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.39 CT_PivotChanges
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_PivotTableDefinition
A complex type that specifies the values used for PivotTable what-if analysis calculations and specifies
the allocation methods for how to apply the values. It also specifies the collections of MDX unique
names that identify the original values in the OLAP data source that were changed.
Child Elements:
pivotChange: A CT_PivotChange element that specifies the value used for PivotTable what-if
analysis calculation and specifies the allocation method for how to apply the value. It also specifies a
collection of MDX unique names that identifies the original value in the OLAP data source that was
changed.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_PivotChanges">
<xsd:sequence>
<xsd:element name="pivotChange" minOccurs="1" maxOccurs="unbounded"
type="CT_PivotChange"/>
</xsd:sequence>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.40 CT_PivotChange
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_PivotChanges
135 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
A complex type that specifies the value used for PivotTable what-if analysis calculation and specifies
the allocation method for how to apply the value. It also specifies a collection of MDX unique names
that identifies the original value in the OLAP data source that was changed.
Child Elements:
editValue: A CT_PivotEditValue element that specifies the value that replaces the original value in
the OLAP data source for the PivotTable what-if analysis.
tupleItems: A CT_TupleItems element that specifies the MDX unique names that identify the value
in the OLAP data source that was changed using PivotTable what-if analysis.
extLst: A CT_ExtensionList ([ISO/IEC29500-4:2011] section A.2) that specifies future extensibility
for this element.
Attributes:
allocationMethod: An ST_AllocationMethod attribute that specifies the allocation method, used by
PivotTable what-if analysis, to change the value in the OLAP data source.
weightExpression: An ST_Xstring ([ISO/IEC29500-1:2011] section 22.9.2.19) attribute that
specifies the OLAP weight expression for PivotTable what-if analysis. The weightExpression MUST
NOT exist if allocationMethod equals equalAllocation or equals equalIncrement. The
weightExpression MUST be greater than or equal to 0 and less than or equal to 65,535 characters in
length.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_PivotChange">
<xsd:sequence>
<xsd:element name="editValue" type="CT_PivotEditValue" minOccurs="1" maxOccurs="1"/>
<xsd:element name="tupleItems" type="CT_TupleItems" minOccurs="1" maxOccurs="1"/>
<xsd:element name="extLst" type="x:CT_ExtensionList" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="allocationMethod" type="ST_AllocationMethod"
default="equalAllocation"/>
<xsd:attribute name="weightExpression" type="x:ST_Xstring" use="optional"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.41 CT_PivotUserEdit
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_PivotEdit
A complex type that specifies user input, related to PivotTable what-if analysis, in a single cell of the
PivotTable ([ISO/IEC29500-1:2011] section 18.10) data area.
Child Elements:
xm:f: An f element that specifies a formula. The formula MUST adhere to the grammar provided in
Formulas, with the following restriction: The formula MUST NOT use the bang-reference or bangname production rules.
editValue: A CT_PivotEditValue element that specifies the user input value that replaces the
original cell value, in a single cell of the PivotTable ([ISO/IEC29500-1:2011] section 18.10) data area.
136 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_PivotUserEdit">
<xsd:choice minOccurs="1" maxOccurs="1">
<xsd:element ref="xm:f" minOccurs="1" maxOccurs="1"/>
<xsd:element name="editValue" type="CT_PivotEditValue" minOccurs="1" maxOccurs="1"/>
</xsd:choice>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.42 CT_PivotEditValue
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_PivotUserEdit, CT_PivotChange
A complex type that specifies the value type of the user input in the single cell of the PivotTable, as
specified in [ISO/IEC29500-1:2011] section 18.10, data area, or value type of the value that replaces
the original value in the OLAP data source for PivotTable what-if analysis, as specified in section 2.3.1.
Attributes:
valueType: An ST_PivotEditValueType attribute, as specified in section 2.7.11, that specifies the
type of the value of the user input or the type of the value that replaces the original value in the OLAP
data source.
The length of the string MUST be greater than zero and MUST be less than 32,768 characters.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_PivotEditValue">
<xsd:simpleContent>
<xsd:extension base="x:ST_Xstring">
<xsd:attribute name="valueType" use="required" type="ST_PivotEditValueType"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.43 CT_TupleItems
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_PivotEdit, CT_PivotChange
A complex type that specifies the MDX unique names that identify the value in the OLAP data source
using PivotTable what-if analysis, as specified in section 2.3.1.
Child Elements:
tupleItem: An ST_Xstring element, as specified in [ISO/IEC29500-1:2011] section 22.9.2.19, that
specifies an MDX unique name. The number of these elements MUST be greater than zero and MUST
be less than 2^31. The length of each ST_Xstring MUST be greater than zero and MUST be less than
or equal to 65,535 characters.
137 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_TupleItems">
<xsd:sequence>
<xsd:element name="tupleItem" type="x:ST_Xstring" minOccurs="1" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.44 CT_SlicerStyle
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_SlicerStyles
CT_SlicerStyle specifies table style elements, as specified in [ISO/IEC29500-1:2011] section 18.8, of
the slicer style, as specified in section 2.3.2.4, that are specific to slicers, as specified in section 2.3.2.
Child Elements:
slicerStyleElements: A CT_SlicerStyleElements, as specified in section 2.6.52, that specifies table
style elements of the slicer style that are specific to slicers. There MUST NOT be more than one
CT_SlicerStyleElements in this element.
Attributes:
name: A string attribute, as specified in [XMLSCHEMA2] section 3.2.1, that specifies the name of the
user-defined table style that this slicer style is based upon. The length of the string MUST be greater
than or equal to 1 character and less than or equal to 255 characters. This string MUST be unique
within the CT SlicerStyle elements in the Styles part, as specified in [ISO/IEC29500-1:2011] section
12.3.20. This string MUST match the name attribute of a CT_TableStyle element, as specified in
[ISO/IEC29500-4:2011] section A.2, in the Styles part. In the CT_TableStyle element with a name
attribute that matches this string, the pivot attribute MUST equal "false" and the table attribute
MUST equal "false".
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_SlicerStyle">
<xsd:sequence>
<xsd:element name="slicerStyleElements" type="CT_SlicerStyleElements" minOccurs="0"
maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.45 CT_SlicerStyleElement
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_SlicerStyleElements
A complex type that specifies a table style element, as specified in [ISO/IEC29500-1:2011] section
18.8, of a slicer style, as specified in section 2.3.2.4.
138 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
Attributes:
type: An ST_SlicerStyleType attribute, as specified in section 2.7.13, that specifies the type of the
table style element. This attribute MUST be unique within the parent CT_SlicerStyleElements
complex type.
dxfId: An ST_DxfId attribute, as specified in [ISO/IEC29500-1:2011] section 18.18.25, that
specifies a zero-based index for the list of elements specified by the dxfs global element, as specified
in section 2.4.24. The specified CT_Dxf complex type, as specified in [ISO/IEC29500-4:2011] section
A.2, specifies the formatting to use with this table style element.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_SlicerStyleElement">
<xsd:attribute name="type" type="ST_SlicerStyleType" use="required"/>
<xsd:attribute name="dxfId" type="x:ST_DxfId" use="optional"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.46 CT_OleItem
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: oleItem
OleItem is a complex type that specifies an OLE data item, as specified in [ISO/IEC29500-1:2011]
section 18.14, with associated cached values.
Child Elements:
values: A CT_DdeValues element, as specified in [ISO/IEC29500-4:2011] section A.2, that specifies
the cached values.
Attributes:
name: An ST_Xstring attribute, as specified in [ISO/IEC29500-1:2011] section 22.9.2.19, that
specifies the name of the OLE data item.
icon: A Boolean attribute, as specified in [XMLSCHEMA2] section 3.2.2, that specifies whether the
OLE data item is represented as an icon.
Value
Meaning
"false"
"true"
advise: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether the application
requests that the OLE data source, as specified in [ISO/IEC29500-1:2011] section 18.14, provides
notifications when the source data changes.
Value
Meaning
"false"
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
Value
Meaning
"true"
preferPic: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether the OLE data
item is an image.
Value
Meaning
"false"
"true"
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_OleItem">
<xsd:sequence>
<xsd:element name="values" type="x:CT_DdeValues" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="name" type="x:ST_Xstring" use="required"/>
<xsd:attribute name="icon" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="advise" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="preferPic" type="xsd:boolean" use="optional" default="false"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.47 CT_PivotHierarchy
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: pivotHierarchy
A complex type that specifies whether the ancestor CT_PivotHierarchy element, as specified in
[ISO/IEC29500-4:2011] section A.2, SHOULD<15> be ignored.
The ancestor CT_PivotHierarchy element has the following restrictions on attributes.
Name
Value
caption
dragOff
dragToCol
dragToData
dragToPage
dragToRow
includeNewItemsInFilter
140 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
Name
Value
multipleItemSelectionAllowed
outline
showInFieldList
subtotalTop
The ancestor CT_PivotHierarchy element has the following restrictions on child elements.
Child element
Restriction
If this element exists, there MUST exist a CT_DataField element, as specified in [ISO/IEC295004:2011] section A.2, with an fld attribute equal to the zero-based index of a CT_CacheField element,
as specified in [ISO/IEC29500-4:2011] section A.2, in the list of CT_CacheField elements specified
by CT_CacheFields, as specified in [ISO/IEC29500-4:2011] section A.2, with a hierarchy attribute
that specifies a CT_CacheHierarchy, as specified in [ISO/IEC29500-4:2011] section A.2, with a
zero-based index in the list of CT_CacheHierarchy elements specified by the CT_CacheHierarchies
element, as specified in([ISO/IEC29500-4:2011] section A.2, equal to the zero-based index of the
ancestor CT_PivotHierarchy element in the list of CT_PivotHierarchy elements specified by
CT_PivotHierarchies, as specified in [ISO/IEC29500-4:2011] section A.2. Additionally, that
CT_DataField element MUST have a descendant CT_DataField element, as specified in section
2.6.25, with a sourceField attribute specified.
For more details, see section 2.6.25.
Attributes:
ignore: A Boolean attribute, as specified in [XMLSCHEMA2] section 3.2.2, that MUST be "true" and
MUST be ignored.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_PivotHierarchy">
<xsd:attribute name="ignore" type="xsd:boolean" default="false" use="optional"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.48 CT_CacheField
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: cacheField
This complex type specifies the ancestor CT_CacheField ([ISO/IEC29500-4:2011] section A.2)
element that SHOULD<16> be ignored.
The following table lists the restrictions on attributes of the ancestor CT_CacheField element.
141 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
Name
Value
caption
databaseField
formula
level
mappingCount
memberPropertyField
numFmtId
propertyName
serverField
sqlType
uniqueList
The following table lists the restrictions on child elements of the ancestor CT_CacheField element.
Child element
Restriction
If this element exists, there MUST exist a CT_DataField ([ISO/IEC29500-4:2011] section A.2)
element with an fld attribute equal to the zero-based index of the ancestor CT_CacheField element
in the list of CT_CacheField elements specified by CT_CacheFields ([ISO/IEC29500-4:2011] section
A.2). Additionally, that CT_DataField element MUST have a descendant CT_DataField element
(section 2.6.25) with a sourceField attribute specified.
For more details, see CT_DataField
Attributes:
ignore: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that MUST be "true" and MUST be
ignored.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_CacheField">
<xsd:attribute name="ignore" type="xsd:boolean" default="false" use="optional"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
142 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
2.6.49 CT_ConditionalFormats
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_PivotTableDefinition
This complex type specifies a collection of conditional formats applied to the PivotTable
([ISO/IEC29500-1:2011] section 18.10) view.
Child Elements:
conditionalFormat: A CT_ConditionalFormat element that specifies the conditional formatting
applied to the PivotTable ([ISO/IEC29500-1:2011] section 18.10) view.
Attributes:
count: An unsignedInt ([XMLSCHEMA2] section 3.3.22) attribute that specifies the number of
conditionalFormat child elements of this element.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_ConditionalFormats">
<xsd:sequence>
<xsd:element name="conditionalFormat" minOccurs="1" maxOccurs="unbounded"
type="CT_ConditionalFormat"/>
</xsd:sequence>
<xsd:attribute name="count" type="xsd:unsignedInt" use="optional"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.50 CT_ConditionalFormat
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_ConditionalFormats
This complex type specifies the scope, type, and priority of conditional formatting applied to this
PivotTable ([ISO/IEC29500-1:2011] section 18.10) view.
Child Elements:
pivotAreas: A CT_PivotAreas ([ISO/IEC29500-4:2011] section A.2) element that specifies a set of
PivotTable areas this conditional formatting applies to.
extLst: A CT_ExtensionList ([ISO/IEC29500-4:2011] section A.2) element that specifies future
extensibility for this element.
Attributes:
scope: An ST_Scope ([ISO/IEC29500-1:2011] section 18.18.67) attribute that specifies the scope of
this conditional formatting.
type: An ST_Type ([ISO/IEC29500-1:2011] section 18.18.84) attribute that MUST NOT be present or
MUST be equal to "none".
priority: An unsignedInt ([XMLSCHEMA2] section 3.3.22) attribute that specifies the priority of the
PivotTable conditional formatting. This value MUST be greater than or equal to 1. If this attribute is
present, there MUST exist a CT_CfRule with a priority attribute equal to the value of this field and it
143 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
MUST be the same CT_CfRule element that is specified by id. The CT_CfRule specified by this value
MUST have an ancestor CT_ConditionalFormatting element with a pivot attribute equal to "true".
id: An ST_Guid ([ISO/IEC29500-1:2011] section 22.9.2.4) attribute that specifies a particular
CT_CfRule. There MUST exist a CT_CfRule with an id attribute equal to this value and it MUST be
the same CT_CfRule element that is specified by priority.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_ConditionalFormat">
<xsd:sequence>
<xsd:element name="pivotAreas" type="x:CT_PivotAreas" minOccurs="0" maxOccurs="1"/>
<xsd:element name="extLst" minOccurs="0" maxOccurs="1" type="x:CT_ExtensionList"/>
</xsd:sequence>
<xsd:attribute name="scope" type="x:ST_Scope" default="selection" use="optional"/>
<xsd:attribute name="type" type="x:ST_Type" default="none" use="optional"/>
<xsd:attribute name="priority" use="optional" type="xsd:unsignedInt"/>
<xsd:attribute name="id" type="x:ST_Guid" use="required"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.51 CT_SlicerStyles
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: slicerStyles
A complex type that specifies a group of slicer styles and the default slicer style to apply to slicers.
Child Elements:
slicerStyle: A CT_SlicerStyle element that specifies a slicer style.
Attributes:
defaultSlicerStyle: A string ([XMLSCHEMA2] section 3.2.1) attribute that specifies the name of the
default slicer style to apply to slicers. The length of the string MUST be greater than or equal to 1
character and less than or equal to 255 characters.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_SlicerStyles">
<xsd:sequence>
<xsd:element name="slicerStyle" type="CT_SlicerStyle" minOccurs="0"
maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="defaultSlicerStyle" type="xsd:string" use="required"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.52 CT_SlicerStyleElements
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_SlicerStyle
144 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
A complex type that specifies the list of table style ([ISO/IEC29500-1:2011] section 18.8) elements of
a slicer style that are specific to slicers.
Child Elements:
slicerStyleElement: A CT_SlicerStyleElement element that specifies a table style ([ISO/IEC295001:2011] section 18.8) element of a slicer style that is specific to slicers.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_SlicerStyleElements">
<xsd:sequence>
<xsd:element name="slicerStyleElement" type="CT_SlicerStyleElement" minOccurs="1"
maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.53 CT_IgnoredErrors
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: ignoredErrors
A complex type that specifies a list of cell ranges and the types of cell errors that are to be ignored for
each of those specific cell ranges.
Child Elements:
ignoredError: A CT_IgnoredError element that specifies the types of cell errors that are to be
ignored for a specific cell range.
extLst: A CT_ExtensionList ([ISO/IEC29500-4:2011] section A.2) element that specifies future
extensibility for this element.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_IgnoredErrors">
<xsd:sequence>
<xsd:element name="ignoredError" type="CT_IgnoredError" minOccurs="0"
maxOccurs="unbounded"/>
<xsd:element name="extLst" type="x:CT_ExtensionList" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.54 CT_IgnoredError
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_IgnoredErrors
A complex type that specifies the types of cell errors that are to be ignored for a specific cell range.
This complex type is equivalent to CT_IgnoredError ([ISO/IEC29500-1:2011] section 18.3.1.50),
but allows the sqref child element to have greater than or equal to 8,192 ref child elements.
145 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
Child Elements:
xm:sqref: A sqref element that specifies the range where cell errors have been ignored. This sqref
MUST have greater than or equal to 8,192 ref child elements.
Attributes:
evalError: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether to ignore
calculation errors.
Value
Meaning
"true"
"false"
Meaning
"true"
"false"
Meaning
"true"
"false"
formula: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether to ignore errors
arising from formulas that are inconsistent with formulas ([ISO/IEC29500-1:2011] section 18.17) in
neighboring cells.
Value
Meaning
"true"
Ignore errors arising from formulas that are inconsistent with formulas ([ISO/IEC-29500-1]
section 18.17) in neighboring cells.
"false"
Do not ignore errors arising from formulas that are inconsistent with formulas ([ISO/IEC-29500-1]
section 18.17) in neighboring cells.
formulaRange: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether to ignore
errors arising from formulas ([ISO/IEC29500-1:2011] section 18.17) that contain references to less
than the entirety of a range containing contiguous data.
146 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
Value
Meaning
"true"
Ignore errors arising from formulas ([ISO/IEC-29500-1] section 18.17) that contain references to
less than the entirety of a range containing contiguous data.
"false"
Do not ignore errors arising from formulas ([ISO/IEC-29500-1] section 18.17) that contain
references to less than the entirety of a range containing contiguous data.
Meaning
"true"
"false"
Do not ignore errors arising from unprotected formulas ([ISO/IEC-29500-1] section 18.17).
Meaning
"true"
"false"
Meaning
"true"
"false"
Meaning
"true"
Ignore errors arising from calculated column (2) formulas ([ISO/IEC-29500-1] section 18.17).
"false"
Do not ignore errors arising from calculated column (2) formulas ([ISO/IEC-29500-1] section
18.17).
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_IgnoredError">
147 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
<xsd:sequence>
<xsd:element ref="xm:sqref" minOccurs="1" maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="evalError" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="twoDigitTextYear" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="numberStoredAsText" type="xsd:boolean" use="optional"
default="false"/>
<xsd:attribute name="formula" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="formulaRange" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="unlockedFormula" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="emptyCellReference" type="xsd:boolean" use="optional"
default="false"/>
<xsd:attribute name="listDataValidation" type="xsd:boolean" use="optional"
default="false"/>
<xsd:attribute name="calculatedColumn" type="xsd:boolean" use="optional" default="false"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.55 CT_ProtectedRanges
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: protectedRanges
A complex type that specifies a group of protected ranges on the sheet. MUST contain fewer than 2 31
elements.
Child Elements:
protectedRange: A CT_ProtectedRange element that specifies the properties for a single protected
range.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_ProtectedRanges">
<xsd:sequence>
<xsd:element name="protectedRange" type="CT_ProtectedRange" minOccurs="1"
maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.56 CT_ProtectedRange
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_ProtectedRanges
A complex type that specifies a cell range to be unprotected. The cell range is editable with a
password or proper credentials when sheet protection is on and the cell is locked.
Child Elements:
xm:sqref: A sqref element that specifies the cell range to be unprotected.
Attributes:
148 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
name-start-character *name-character
Unicode-character is any code point that is a character as defined by the Unicode character
properties, [UNICODE5.1] chapter 4.
Unicode-digit is any code point that is a digit as defined by the Unicode character properties,
[UNICODE5.1] chapter 4.
Unicode-space is any code point that is a space as defined by the Unicode character properties,
[UNICODE5.1] chapter 4.
149 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.57 CT_IconFilter
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: iconFilter
This complex type specifies the icon set and particular icon within that set to filter by. Rows with a cell
icon that do not match these criteria will be hidden when the filter is applied.
Attributes:
iconSet: An ST_IconSetType attribute that specifies the icon set used as the filter criteria.
iconId: An unsignedInt ([XMLSCHEMA2] section 3.3.22) attribute that specifies the index of the icon
to be used as filter criteria. If iconSet is "NoIcons", this value MUST be 0 and this record does not
specify a filter and MUST be ignored. If iconSet is not "NoIcons", this value MUST be greater than or
equal to 0. If the icon set specified by iconSet has three icons, this value MUST be less than or equal
to 2. If the icon set specified by iconSet has four icons, this value MUST be less than or equal to 3. If
the icon set specified by iconSet has five icons, this value MUST be less than or equal to 4.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_IconFilter">
<xsd:attribute name="iconSet" type="ST_IconSetType" use="required"/>
<xsd:attribute name="iconId" type="xsd:unsignedInt" use="required"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.58 CT_Filter
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: filter
150 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
This complex type specifies a filter criterion. Rows that contain a cell within the filter range that have
value val will not be hidden by this filter criteria. Rows that do not contain such a cell inside a filters
element ([ISO/IEC29500-1:2011] section 18.3.2.8) will be hidden.
Attributes:
val: An ST_Xstring ([ISO/IEC29500-1:2011] section 22.9.2.19) attribute that specifies the value to
be used as a filter criterion. The length of this value MUST be less than 65536 characters.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_Filter">
<xsd:attribute name="val" type="x:ST_Xstring"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.59 CT_CustomFilters
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: customFilters
This complex type specifies custom filter criteria. Rows that contain a cell within the filter range such
that the value does not meet the custom filter criteria will be hidden.
Child Elements:
customFilter: A CT_CustomFilter element that specifies a custom filter criterion.
Attributes:
and: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies the relationship between
custom filter criterion. This attribute only applies when there are two criteria.
Value
Meaning
"false"
The two criteria are related by an OR relationship. That is, for a cell value to meet the custom filter
criteria, at least one criterion specified by the customFilter child elements MUST be met.
"true"
The two criteria are related by an AND relationship. That is, for a cell value to meet the custom filter
criteria, both criteria specified by the customFilter child elements MUST be met.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_CustomFilters">
<xsd:sequence>
<xsd:element name="customFilter" type="CT_CustomFilter" minOccurs="1" maxOccurs="2"/>
</xsd:sequence>
<xsd:attribute name="and" type="xsd:boolean" use="optional" default="false"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
151 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
2.6.60 CT_CustomFilter
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_CustomFilters
This complex type specifies a custom filter criterion.
Attributes:
operator: An ST_FilterOperator ([ISO/IEC29500-1:2011] section 18.18.31) attribute that specifies
the operator of the custom filter criterion.
val: An ST_Xstring ([ISO/IEC29500-1:2011] section 22.9.2.19) attribute that specifies the value to
be used as a custom filter criterion. The length of this value MUST be less than 65536 characters.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_CustomFilter">
<xsd:attribute name="operator" type="x:ST_FilterOperator" default="equal" use="optional"/>
<xsd:attribute name="val" type="x:ST_Xstring"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.61 CT_SortCondition
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: sortCondition
A complex type that specifies a sort condition to apply to a range.
Attributes:
descending: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies the direction of the
sort.
Value
Meaning
"false"
If sortBy is "value", sort in ascending order. If sortBy is "cellColor" or "fontColor", cells in which the cell
color or cell font color specified by dxfId occurs are ordered at the top of the range. If sortBy is "icon",
cells in which the icon specified by iconSet and iconId occurs are ordered at the top of the range.
"true"
If sortBy is "value", sort in descending order. If sortBy is "cellColor" or "fontColor", cells in which the
cell color or cell font color specified by dxfId occurs are ordered at the bottom of the range. If sortBy is
"icon", cells in which the icon specified by iconSet and iconId occurs are ordered at the bottom of the
range.
sortBy: An ST_SortBy ([ISO/IEC29500-1:2011] section 18.18.72) attribute that specifies how the
cells in a range are sorted.
ref: An ST_Ref ([ISO/IEC29500-1:2011] section 18.18.62) attribute that specifies the row or column
to which this sort condition applies. This value MUST be contained within the ref in the sortState
([ISO/IEC29500-1:2011] section 18.3.1.92) element that precedes this element. If the
sortState.columnSort attribute that precedes this element is "false", this value specifies the column
to which this sort condition applies and there MUST be only a single column specified by ref. If the
152 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
sortState.columnSort attribute that precedes this element is "true", this value specifies the row to
which this sort condition applies and there MUST be only a single row specified by ref.
customList: An ST_Xstring ([ISO/IEC29500-1:2011] section 22.9.2.19) attribute that specifies a
comma-delimited list of strings that specifies a custom sort order. The order of strings in the list
specifies the sort order. When a cell value matches a string in the list, it is sorted ahead of the cell
values that match a later string in the list, and so on for each cell in the range. MUST be ignored if
sortBy is not equal to "value".
dxfId: An ST_DxfId ([ISO/IEC29500-1:2011] section 18.18.25) attribute that specifies the format
identifier when sortBy equals "cellColor" or sortBy equals "fontColor". MUST NOT be present if
sortBy equals "icon" or "value".
iconSet: An ST_IconSetType attribute that specifies the icon set when sortBy equals "icon". The
absence of this attribute means no icon. MUST NOT be present if sortBy is not equal to "icon".
iconId: An unsignedInt ([XMLSCHEMA2] section 3.3.22) attribute that specifies the zero-based
index of an icon in an icon set. If the icon set specified by iconSet has three icons, this value MUST
be less than or equal to 2. If the icon set specified by iconSet has four icons, this value MUST be less
than or equal to 3. If the icon set specified by iconSet has five icons, this value MUST be less than or
equal to 4. The absence of this attribute means no icon. MUST NOT be present if sortBy is not equal
to "icon".
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_SortCondition">
<xsd:attribute name="descending" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="sortBy" type="x:ST_SortBy" use="optional" default="value"/>
<xsd:attribute name="ref" type="x:ST_Ref" use="required"/>
<xsd:attribute name="customList" type="x:ST_Xstring" use="optional"/>
<xsd:attribute name="dxfId" type="x:ST_DxfId" use="optional"/>
<xsd:attribute name="iconSet" type="ST_IconSetType" use="optional" default="3Arrows"/>
<xsd:attribute name="iconId" type="xsd:unsignedInt" use="optional"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.62 CT_SourceConnection
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_CacheSourceExt, sourceConnection
A complex type that stores the connection, which is specified by the CT_Connection element as
specified in [ISO/IEC29500-4:2011] section A.2, that is associated with this pivot cache. The pivot
cache MUST be associated with either an OLAP slicer cache or a Non-Worksheet PivotTable.
Attributes:
name: An ST_Xstring ([ISO/IEC29500-1:2011] section 22.9.2.19) attribute that specifies the name
of the connection, which is specified by the name attribute of CT_Connection ([ISO/IEC295004:2011] section A.2) for the connection that is associated with this pivot cache. The length, in
characters, of this value MUST be less than 65,536.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_SourceConnection">
153 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.63 CT_ListItem
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_ListItems
A complex type that stores a single item for a list box or a drop-down form control<17>.
Attributes:
val: A string attribute, as specified in [XMLSCHEMA2] section 3.2.1, that specifies the data for a
single item.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_ListItem">
<xsd:attribute name="val" type="xsd:string" use="required"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.64 CT_ListItems
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_FormControlPr
A complex type that contains a list of items of type CT_ListItem, as specified in section 2.6.63, to
populate a list box or a drop-down form control. When present, the FmlaRange attribute of
CT_FormControlPr, as specified in section 2.6.65, takes precedence over this element. This element
is valid only for list box and drop-down form control.
Child Elements:
item: A CT_ListItem element that contains a single data item for a list box or drop-down form
control.
extLst: A CT_ExtensionList element, as specified in ([ISO/IEC29500-4:2011] section A.2, that
specifies future extensibility for this element.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_ListItems">
<xsd:sequence>
<xsd:element name="item" type="CT_ListItem" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="extLst" type="x:CT_ExtensionList" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
154 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
2.6.65 CT_FormControlPr
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: formControlPr
A complex type that stores a form controls properties.
Child Elements:
itemLst: A CT_ListItems element, as specified in section 2.6.64, that specifies a list of items to
populate a list box or drop-down form control.
extLst: A CT_ExtensionList element, as specified in [ISO/IEC29500-4:2011] section A.2, that
specifies future extensibility for this element.
Attributes:
objectType: An ST_ObjectType attribute that specifies the form control object type.
checked: An ST_Checked attribute that specifies whether a check box is selected or a radio button is
selected. This attribute only applies to check box and radio button form controls.
colored: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether a drop-down
object has a color applied to it. This attribute only applies to drop-down form controls.
Value
Meaning
"true"
"false"
dropLines: An unsignedInt ([XMLSCHEMA2] section 3.3.22) attribute that specifies the number of
lines in the drop-down before scroll bars are added. This attribute only applies to drop-down form
controls. This value MUST be at least 0 and at most 30000.
dropStyle: An ST_DropStyle attribute that specifies the style of the drop-down. This attribute only
applies to drop-down form controls.
dx: An unsignedInt ([XMLSCHEMA2] section 3.3.22) attribute that specifies the width of the scroll
bar in pixels. This attribute only applies to list boxes, scroll bars, spin boxes and drop-downs<18>.
firstButton: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether the object is
the first button in a set of radio buttons. This attribute only applies to radio button form controls.
Value
Meaning
"true"
"false"
fmlaLink: An ST_Formula ([ISO/IEC29500-1:2011] section 18.18.35) attribute that specifies the cell
the object is linked to. This attribute only applies to check boxes, radio buttons, scroll bars, spin
boxes, drop-downs and list boxes. The value in the linked cell and the index of the selected item in the
object are linked together. This link is ignored if the form control allows multiple selections. This
attribute MUST be a cell reference (see [ISO/IEC29500-1:2011] section 18.17.2.3).
fmlaRange: An ST_Formula ([ISO/IEC29500-1:2011] section 18.18.35) attribute that specifies the
range of source data cells. This is used to populate a list box or a drop-down form control<19>. This
attribute only applies to list box and drop-down form controls. This attribute MUST be a cell reference
(see [ISO/IEC29500-1:2011] section 18.17.2.3).
fmlaTxbx: An ST_Formula ([ISO/IEC29500-1:2011] section 18.18.35) attribute that specifies the
source data cell that the form control objects data is linked to. Any cell range MAY be specified but
only the first cell in the range is considered. This attribute applies only to label and edit box form
controls. This attribute MUST be a cell reference (see [ISO/IEC29500-1:2011] section 18.17.2.3).
horiz: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether the scroll bar is
horizontal. This attribute only applies to scroll bar form controls.
inc: An unsignedInt ([XMLSCHEMA2] section 3.3.22) attribute that specifies the change in the
current value of a scroll bar or a spin box form control as a result of on an increment click. If present,
it MUST be at least 0 and at most 30000. This attribute applies only to scroll bar or spin box form
controls.
justLastX: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether the last line in
text is justified when in an East Asian alignment<20>.
Value
Meaning
"true"
"false"
the last line in text is not justified when in an East Asian alignment.
lockText: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether the objects text
is locked. This attribute applies only to button, radio button, check box and label form controls.
Value
Meaning
"true"
"false"
max: An unsignedInt ([XMLSCHEMA2] section 3.3.22) attribute that specifies the maximum value
generated by the scroll bar (when scrolled all the way down) or by the spin box. It MUST be at least 0
and at most 30000. This attribute only applies to scroll bars and spin boxes.
min: An unsignedInt ([XMLSCHEMA2] section 3.3.22) attribute that specifies the minimum value
generated by the scroll bar (when scrolled all the way up) or by the spin box. It MUST be at least 0
and at most 30000. This attribute only applies to scroll bars and spin box.
multiSel: A string ([XMLSCHEMA2] section 3.2.1) attribute that specifies the indices of selected
items as a comma-delimited list. The list indices are one-based. This attribute is valid only if the
attribute selType has the value "multi". This attribute applies only to list box form controls.
156 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
noThreeD: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether 3-D effects are
disabled. This attribute only applies to check box, radio button, group box, scroll bar, drop-down, list
box, and spin box form controls.
Value
Meaning
"true"
"false"
noThreeD2: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether 3-D effects
are disabled. This element is used for drop-downs and list boxes<21>.
Value
Meaning
"true"
"false"
page: An unsignedInt ([XMLSCHEMA2] section 3.3.22) attribute that specifies the number of items
to move the scroll bar or spin box on a page click. It MUST be at least 0 and at most 30000<22>.
sel: An unsignedInt ([XMLSCHEMA2] section 3.3.22) attribute that specifies the index of the
selected item. The list indices are one-based. If set to a value of 0, no items are selected. This
attribute applies only to list box and drop-down form controls.
seltype: An ST_SelType attribute that specifies the selection type for the list box. This attribute
applies only to list box form controls.
textHAlign: An ST_TextHAlign attribute that specifies the horizontal text alignment for the
object<23>.
textVAlign: An ST_TextVAlign attribute that specifies the vertical text alignment for the
object<24>.
val: An unsignedInt ([XMLSCHEMA2] section 3.3.22) attribute that specifies the number of top rows
currently hidden in the scroll bar. If omitted, the value is assumed to be 0. Those rows are hidden but
still accessible by clicking the scroll bar buttons. The number of top hidden rows can change as the
user interacts with the scroll bar. This attribute only applies to scroll bar, spin box, list box, and dropdown form controls.
widthMin: An unsignedInt ([XMLSCHEMA2] section 3.3.22) attribute that specifies the smallest
width allowed for the drop-down box window in screen pixels. This attribute only applies for dropdown form controls.
editVal: An ST_EditValidation attribute that specifies how the edit box content is validated if the
application chooses to validate it. This attribute only applies to edit box form controls.
multiLine: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether the form
control is multiline. This attribute only applies to edit box form controls. This attribute only works
when the form control is run in a dialog box.
Value
Meaning
"true"
157 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
Value
Meaning
"false"
verticalBar: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether the control
has a vertical scroll bar. This attribute only applies to edit box form controls. This attribute only works
when the form control is run in a dialog box.
Value
Meaning
"true"
"false"
passwordEdit: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether the edit
box control stores a password. In this case the control will display * for every character on it. This
attribute only applies to edit box form controls. This attribute only works when the control is run in a
dialog box.
Value
Meaning
"true"
"false"
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_FormControlPr">
<xsd:sequence>
<xsd:element name="itemLst" type="CT_ListItems" minOccurs="0" maxOccurs="1"/>
<xsd:element name="extLst" type="x:CT_ExtensionList" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="objectType" type="ST_ObjectType" use="optional"/>
<xsd:attribute name="checked" type="ST_Checked" use="optional"/>
<xsd:attribute name="colored" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="dropLines" type="xsd:unsignedInt" use="optional" default="8"/>
<xsd:attribute name="dropStyle" type="ST_DropStyle" use="optional"/>
<xsd:attribute name="dx" type="xsd:unsignedInt" use="optional" default="80"/>
<xsd:attribute name="firstButton" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="fmlaGroup" type="x:ST_Formula" use="optional"/>
<xsd:attribute name="fmlaLink" type="x:ST_Formula" use="optional"/>
<xsd:attribute name="fmlaRange" type="x:ST_Formula" use="optional"/>
<xsd:attribute name="fmlaTxbx" type="x:ST_Formula" use="optional"/>
<xsd:attribute name="horiz" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="inc" type="xsd:unsignedInt" use="optional" default="1"/>
<xsd:attribute name="justLastX" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="lockText" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="max" type="xsd:unsignedInt" use="optional"/>
<xsd:attribute name="min" type="xsd:unsignedInt" use="optional" default="0"/>
<xsd:attribute name="multiSel" type="xsd:string" use="optional"/>
<xsd:attribute name="noThreeD" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="noThreeD2" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="page" type="xsd:unsignedInt" use="optional"/>
<xsd:attribute name="sel" type="xsd:unsignedInt" use="optional"/>
<xsd:attribute name="seltype" type="ST_SelType" use="optional" default="single"/>
<xsd:attribute name="textHAlign" type="ST_TextHAlign" use="optional" default="left"/>
158 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.66 CT_DatastoreItem
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: datastoreItem
A complex type that specifies properties for an embedded custom data part.
Child Elements:
extLst: A CT_ExtensionList element, as specified in ([ISO/IEC29500-4:2011] section A.2, that
specifies future extensibility for this element.
Attributes:
id: An ST_Xstring attribute, as specified in ([ISO/IEC29500-1:2011] section 22.9.2.19, that specifies
the identifier for the associated Custom Data storage. The value of the string is used to identify the
associated Custom Data storage, and the value of the string MUST be unique for each Custom Data
storage in the workbook. The length of this value MUST be less than 65536 characters.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_DatastoreItem">
<xsd:sequence>
<xsd:element name="extLst" type="x:CT_ExtensionList" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="id" type="x:ST_Xstring" use="required"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.67 CT_Slicers
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: slicers
A complex type that specifies a list of CT_Slicer elements, as specified in section 2.6.69. The list of
CT_Slicer elements specifies all slicer views on the worksheet.
Child Elements:
slicer: A CT_Slicer element that specifies a slicer view on the worksheet.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
159 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
<xsd:complexType name="CT_Slicers">
<xsd:sequence>
<xsd:element name="slicer" type="CT_Slicer" minOccurs="1" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.68 CT_Slicer
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_Slicers
A complex type that specifies a slicer view, as specified in section 2.3.2.2, in this worksheet.
Child Elements:
extLst: A CT_ExtensionList element, a specified in [ISO/IEC29500-4:2011] section A.2, that
specifies future extensibility for this element.
Attributes:
name: An ST_Xstring attribute, as specified in [ISO/IEC29500-1:2011] section 22.9.2.19, that
specifies the name of the slicer view. MUST be a unique case-insensitive name within the scope of this
workbook. The length of this attribute MUST be greater than or equal to 1 character and MUST be less
than or equal to 32767 characters.
cache: An ST_Xstring attribute that specifies the name of the slicer cache, as specified in section
2.3.2.1, that this slicer view is associated with. There MUST be a CT_SlicerCacheDefinition element,
as specified in section 2.6.70, within this workbook with the name attribute equal to the value of this
attribute.
caption: An ST_Xstring attribute that specifies the caption of the slicer view. If this string exists, the
length MUST be greater than or equal to 1 character.
startItem: An unsignedInt attribute, as specified in [XMLSCHEMA2] section 3.3.22, that specifies
the zero-based index of the first slicer item, as specified in section 2.3.2.1.6, displayed by the slicer
view.
columnCount: An unsignedInt attribute that specifies the number of columns in the slicer view.
MUST be greater than or equal to 1 and MUST be less than or equal to 20000.
showCaption: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether the caption
is displayed.
Value
Meaning
"true"
"false"
level: An unsignedInt attribute that specifies the OLAP level of the OLAP hierarchy of the slicer
source data used by this slicer view.
160 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
If the slicer source data is OLAP, the value MUST be greater than or equal to 0 and MUST be less than
count of the CT_OlapSlicerCacheLevelsData element specified by the CT_SlicerCacheDefinition
element specified by cache. If the OLAP hierarchy has an OLAP All level, the value MUST NOT be 0.
If the slicer source data is non-OLAP, this attribute MUST NOT exist.
style: An ST_Xstring ([ISO/IEC29500-1:2011] section 22.9.2.19) attribute that specifies the slicer
style of the slicer view. If this field exists, this string MUST match the name attribute of a
CT_SlicerStyle element within this workbook or MUST be equal to one of the built-in slicer style
names:
Built-in slicer style names
SlicerStyleLight1
SlicerStyleLight2
SlicerStyleLight3
SlicerStyleLight4
SlicerStyleLight5
SlicerStyleLight6
SlicerStyleOther1
SlicerStyleOther2
SlicerStyleDark1
SlicerStyleDark2
SlicerStyleDark3
SlicerStyleDark4
SlicerStyleDark5
SlicerStyleDark6
lockedPosition: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether the slicer
view is locked.
Value
Meaning
"true"
"false"
rowHeight: An unsignedInt ([XMLSCHEMA2] section 3.3.22) attribute that specifies the row height
of the slicer view in English Metric Units (EMUs).
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_Slicer">
<xsd:sequence>
161 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.69 CT_Slicer
Target namespace: http://schemas.microsoft.com/office/drawing/2010/slicer
Referenced by: slicer
This complex type specifies which slicer view is associated with this drawing element.
Child Elements:
extLst: A CT_OfficeArtExtensionList ([ISO/IEC29500-4:2011] section A.4.1) element that specifies
future extensibility for this element.
Attributes:
name: A string ([XMLSCHEMA2] section 3.2.1) attribute that specifies the name of the slicer view
that is associated with this drawing element. The value of this attribute MUST match the value of the
name attribute of a slicer element within the CT_Slicers element for the current worksheet.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_Slicer">
<xsd:sequence>
<xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0"
maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.70 CT_SlicerCacheDefinition
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: slicerCacheDefinition
A complex type that specifies a slicer cache.
Child Elements:
162 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
If the slicer source data (section 2.3.2.1.1)is a non-OLAP data source, the value of this attribute
MUST be equal to the name attribute of a CT_CacheField ([ISO/IEC29500-4:2011] section A.2)
element in the list of cache fields, as specified in section 2.3.2.1.2, and specify a PivotTable
cache field. The specified CT_CacheField MUST have a serverField attribute equal to "false".
The includeNewItemsInFilter attributes of the CT_PivotField ([ISO/IEC29500-4:2011] section
A.2) elements of all included CT_CacheField elements MUST be equal.
If the slicer source data is an OLAP data source, the value MUST be equal to the value of the
uniqueName attribute in one of the CT_CacheHierarchy ([ISO/IEC29500-4:2011] section A.2)
elements within the associated OLAP pivot cache, as specified in section 2.3.2.1.4, and specify a
MDX unique name. The following attributes of the CT_CacheHierarchy element MUST be "false":
measure, set, and measures. The CT_PivotHierarchy ([ISO/IEC29500-4:2011] section A.2)
element with a zero-based index in the list of CT_PivotHierarchy elements specified by the
CT_PivotHierarchies ([ISO/IEC29500-4:2011] section A.2) equal to the zero-based index of the
CT_CacheHierarchy element in the list of CT_CacheHierarchy elements specified by
CT_CacheHierarchies ([ISO/IEC29500-4:2011] section A.2) MUST have an
includeNewItemsInFilter attribute equal to "false".
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_SlicerCacheDefinition">
<xsd:sequence>
<xsd:element name="pivotTables" type="CT_SlicerCachePivotTables" minOccurs="0"
maxOccurs="1"/>
<xsd:element name="data" type="CT_SlicerCacheData" minOccurs="0" maxOccurs="1"/>
<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.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.71 CT_SlicerCacheData
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_SlicerCacheDefinition
163 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
A complex type that specifies a data source for the slicer cache.
Child Elements:
olap: A CT_OlapSlicerCache element that specifies an OLAP data source.
tabular: A CT_TabularSlicerCache element that specifies a non-OLAP data source.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_SlicerCacheData">
<xsd:choice minOccurs="1" maxOccurs="1">
<xsd:element name="olap" type="CT_OlapSlicerCache" minOccurs="1" maxOccurs="1"/>
<xsd:element name="tabular" type="CT_TabularSlicerCache" minOccurs="1" maxOccurs="1"/>
</xsd:choice>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.72 CT_SlicerCachePivotTables
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: slicerCachePivotTables, CT_SlicerCacheDefinition
A complex type that specifies a group of CT_SlicerCachePivotTable elements that specify the
PivotTable ([ISO/IEC29500-1:2011] section 18.10) views that are filtered by the slicer cache.
Child Elements:
pivotTable: A CT_SlicerCachePivotTable element that specifies the PivotTable ([ISO/IEC295001:2011] section 18.10) view that is filtered. The list of pivotTable child elements MUST NOT contain
duplicates. The showCalcMbrs attribute of all CT_PivotTableDefinition ([ISO/IEC29500-4:2011]
section A.2) elements associated with PivotTables ([ISO/IEC29500-1:2011] section 18.10) that are
specified by pivotTable child elements MUST have the same value.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_SlicerCachePivotTables">
<xsd:sequence>
<xsd:element name="pivotTable" type="CT_SlicerCachePivotTable" minOccurs="1"
maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.73 CT_SlicerCachePivotTable
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_SlicerCachePivotTables
A complex type that specifies a PivotTable ([ISO/IEC29500-1:2011] section 18.10) view filtered by a
slicer cache.
Attributes:
164 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
tabId: An unsignedInt ([XMLSCHEMA2] section 3.3.22) attribute that specifies the unique identifier
(UID) of the worksheet that contains the PivotTable ([ISO/IEC29500-1:2011] section 18.10) view
specified by the name attribute. MUST match the sheetId of an existing sheet ([ISO/IEC295004:2011] section A.2) element within the workbook. MUST be ignored if the PivotTable specified by the
name attribute is a Non-Worksheet PivotTable.
name: An ST_Xstring ([ISO/IEC29500-1:2011] section 22.9.2.19) attribute that specifies the name
of the PivotTable ([ISO/IEC29500-1:2011] section 18.10) view on the worksheet specified by tabId or
a Non-Worksheet PivotTable. MUST match the name attribute of an existing pivotTableDefinition
element in the worksheet. The createdVersion attribute of the CT_PivotTableDefinition
([ISO/IEC29500-4:2011] section A.2) element that defines the specified PivotTable ([ISO/IEC295001:2011] section 18.10) MUST be greater than or equal to 3. Field showCalcMbrs of all PivotTable
([ISO/IEC29500-1:2011] section 18.10) MUST have the same value. Field
calculatedMembersInFilters of CT_PivotTableDefinition of all PivotTable ([ISO/IEC29500-1:2011]
section 18.10) MUST have the same value.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_SlicerCachePivotTable">
<xsd:attribute name="tabId" type="xsd:unsignedInt" use="required"/>
<xsd:attribute name="name" type="x:ST_Xstring" use="required"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.74 CT_OlapSlicerCacheItem
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_OlapSlicerCacheRange
This element specifies an OLAP slicer item of the OLAP level in the OLAP hierarchy specified by the
ancestor CT_OlapSlicerCacheLevelData element. This element contains a list of all ancestor OLAP
members of this OLAP slicer item in the OLAP hierarchy.
Child Elements:
p: A CT_OlapSlicerCacheItemParent element that specifies the OLAP members that are ascendants
of the OLAP slicer item specified by this element. The first element in this list specifies the OLAP
member that is the parent of the OLAP slicer item specified by this element. Each subsequent element
in this list specifies an ascendant OLAP member in the next level up the OLAP hierarchy.
Attributes:
n: An ST_Xstring ([ISO/IEC29500-1:2011] section 22.9.2.19) attribute that specifies the MDX
unique name of the OLAP member associated with the OLAP slicer item specified by this element.
c: An ST_Xstring ([ISO/IEC29500-1:2011] section 22.9.2.19) attribute that specifies the caption of
the OLAP slicer item specified by this element.
nd: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether the OLAP slicer item
specified by this element has no data associated with it. This attribute MUST NOT exist if the
crossFilter attribute of the ancestor element CT_OlapSlicerCacheLevelData is "none". For more
information, see Slicer Cross Filtering.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
165 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
<xsd:complexType name="CT_OlapSlicerCacheItem">
<xsd:sequence>
<xsd:element name="p" type="CT_OlapSlicerCacheItemParent" minOccurs="0"
maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="n" type="x:ST_Xstring" use="required"/>
<xsd:attribute name="c" type="x:ST_Xstring" use="optional"/>
<xsd:attribute name="nd" type="xsd:boolean" use="optional" default="false"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.75 CT_OlapSlicerCacheItemParent
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_OlapSlicerCacheItem, CT_OlapSlicerCacheSelection
This element specifies an ancestor OLAP member of the OLAP member specified by
CT_OlapSlicerCacheItem or CT_OlapSlicerCacheSelection element that contains this element.
Attributes:
n: An ST_Xstring ([ISO/IEC29500-1:2011] section 22.9.2.19) attribute that specifies the MDX
unique name of the OLAP member specified by this element.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_OlapSlicerCacheItemParent">
<xsd:attribute name="n" type="x:ST_Xstring" use="required"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.76 CT_OlapSlicerCacheRange
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_OlapSlicerCacheRanges
A complex type that specifies a collection of cached OLAP slicer items in the OLAP level specified by
the ancestor CT_OlapSlicerCacheLevelData element.
Child Elements:
i: A CT_OlapSlicerCacheItem element that specifies an OLAP slicer item in the OLAP level specified
by the CT_OlapSlicerCacheLevelData element that is part of this range. The number of
CT_OlapSlicerCacheItem child elements MUST be greater than 0 and equal to or less than 1,000.
Attributes:
startItem: An unsignedInt ([XMLSCHEMA2] section 3.3.22) attribute that specifies the zero-based
index of the OLAP member on this OLAP level for the first item in this range. The order of the OLAP
slicer item is determined by the current sort order and current slicer cross filtering setting applied to
all OLAP slicer items on this OLAP level. The value of the starting position MUST be 0 or MUST be a
multiple of 1,000. See Slicer Items for more information.
166 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_OlapSlicerCacheRange">
<xsd:sequence>
<xsd:element name="i" type="CT_OlapSlicerCacheItem" minOccurs="1" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="startItem" type="xsd:unsignedInt" use="required"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.77 CT_OlapSlicerCacheRanges
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_OlapSlicerCacheLevelData
A complex type that specifies the cached OLAP slicer items for the OLAP level specified by the
CT_OlapSlicerCacheLevelData element.
Child Elements:
range: A CT_OlapSlicerCacheRange element that specifies a range of OLAP slicer items for this
OLAP level within the OLAP hierarchy specified by this slicer cache.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_OlapSlicerCacheRanges">
<xsd:sequence>
<xsd:element name="range" type="CT_OlapSlicerCacheRange" minOccurs="0"
maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.78 CT_OlapSlicerCacheLevelData
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_OlapSlicerCacheLevelsData
A complex type that specifies the properties of an OLAP level in the OLAP hierarchy specified by this
slicer cache and specifies the OLAP members that are cached for this OLAP level within the OLAP
hierarchy specified by this slicer cache.
Child Elements:
ranges: A CT_OlapSlicerCacheRanges element that specifies cached OLAP slicer items for the OLAP
level specified by this element.
Attributes:
uniqueName: An ST_Xstring ([ISO/IEC29500-1:2011] section 22.9.2.19) attribute that specifies
the MDX unique name of the OLAP level specified by this element within the OLAP hierarchy specifies
167 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
with this slicer cache. The length of this string MUST be at least 1 character and MUST NOT exceed
32,767 characters.
sourceCaption: An ST_Xstring ([ISO/IEC29500-1:2011] section 22.9.2.19) attribute that specifies
the caption of the OLAP level specified by this element within the OLAP hierarchy specified with this
cache. The length of this string MUST NOT exceed 65,535 characters.
count: An unsignedInt ([XMLSCHEMA2] section 3.3.22) attribute that specifies the total number of
OLAP members in the OLAP data source in this OLAP level within the OLAP hierarchy specified by this
slicer cache. The default value is zero.
sortOrder: An ST_OlapSlicerCacheSortOrder attribute that specifies how the OLAP slicer items for
the OLAP level specified by this element are sorted in the slicer view.
crossFilter: An ST_SlicerCacheCrossFilter attribute that specifies how the OLAP 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_OlapSlicerCacheLevelData">
<xsd:sequence>
<xsd:element name="ranges" type="CT_OlapSlicerCacheRanges" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="uniqueName" type="x:ST_Xstring" use="required"/>
<xsd:attribute name="sourceCaption" type="x:ST_Xstring" use="optional"/>
<xsd:attribute name="count" type="xsd:unsignedInt" use="required"/>
<xsd:attribute name="sortOrder" type="ST_OlapSlicerCacheSortOrder" use="optional"
default="natural"/>
<xsd:attribute name="crossFilter" type="ST_SlicerCacheCrossFilter" use="optional"
default="showItemsWithDataAtTop"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.79 CT_OlapSlicerCacheLevelsData
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_OlapSlicerCache
A complex type that specifies a list of OLAP levels of the OLAP hierarchy specified by this slicer cache.
Child Elements:
level: A CT_OlapSlicerCacheLevelData element that specifies properties of an OLAP level in the
OLAP hierarchy specified by this slicer cache.
Attributes:
count: An unsignedInt ([XMLSCHEMA2] section 3.3.22) attribute that specifies the number of level
child elements of this element.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_OlapSlicerCacheLevelsData">
<xsd:sequence>
<xsd:element name="level" type="CT_OlapSlicerCacheLevelData" minOccurs="1"
maxOccurs="unbounded"/>
</xsd:sequence>
168 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
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/IEC29500-1:2011] 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/IEC29500-4:2011] 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/IEC29500-1:2011] 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.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.81 CT_OlapSlicerCacheSelections
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_OlapSlicerCache
A complex type that specifies the OLAP slicer items that are selected in the slicer cache.
Child Elements:
169 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.82 CT_OlapSlicerCacheSelection
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_OlapSlicerCacheSelections
A complex type that specifies an individual OLAP slicer item that is selected for filtering. This complex
type also specifies the ancestor OLAP members of the OLAP member associated with the OLAP slicer
item in the OLAP hierarchy.
Child Elements:
p: A CT_OlapSlicerCacheItemParent element that specifies OLAP members that are the ancestors
of the OLAP member associated with the OLAP slicer item specified by this element. The first element
in this list specifies the OLAP member that is the parent of the OLAP member associated with the OLAP
slicer item specified by this element. Each subsequent element in this list specifies an ancestor OLAP
member in the next level up the OLAP hierarchy, excluding the OLAP All member.
Attributes:
n: An ST_Xstring ([ISO/IEC29500-1:2011] section 22.9.2.19) attribute that specifies the MDX
unique name of the OLAP member associated with the OLAP slicer item specified by this element.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_OlapSlicerCacheSelection">
<xsd:sequence>
<xsd:element name="p" type="CT_OlapSlicerCacheItemParent" minOccurs="0"
maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="n" type="x:ST_Xstring" use="required"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
170 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
2.6.83 CT_TabularSlicerCache
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_SlicerCacheData
A complex type that specifies non-OLAP slicer items that are cached within this slicer cache and
properties of the slicer cache specific to non-OLAP slicer items.
Child Elements:
items: A CT_TabularSlicerCacheItems element that specifies non-OLAP slicer items that are
cached within this slicer cache.
extLst: A CT_ExtensionList ([ISO/IEC29500-4:2011] 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 non-OLAP PivotTable ([ISO/IEC29500-1:2011] section 18.10) PivotCache. MUST match the
pivotCacheId attribute of an existing CT_PivotCacheDefinition element.
sortOrder: An ST_TabularSlicerCacheSortOrder attribute that specifies how the non-OLAP 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 non-OLAP slicer items.
Value
Meaning
"false"
Custom lists are not used when sorting the non-OLAP slicer items.
"true"
Custom lists are used when sorting the non-OLAP slicer items.
showMissing: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether non-OLAP
slicer items that correspond to unused PivotTable ([ISO/IEC29500-1:2011] section 18.10) cache items
that existed previously, but are no longer present in the PivotTable ([ISO/IEC29500-1:2011] section
18.10) source data, are displayed.
Value
Meaning
"false"
"true"
crossFilter: An ST_SlicerCacheCrossFilter attribute that specifies how the non-OLAP 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_TabularSlicerCache">
<xsd:sequence>
<xsd:element name="items" type="CT_TabularSlicerCacheItems" minOccurs="0" maxOccurs="1"/>
<xsd:element name="extLst" type="x:CT_ExtensionList" minOccurs="0" maxOccurs="1"/>
171 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
</xsd:sequence>
<xsd:attribute name="pivotCacheId" type="xsd:unsignedInt" use="required"/>
<xsd:attribute name="sortOrder" type="ST_TabularSlicerCacheSortOrder" use="optional"
default="ascending"/>
<xsd:attribute name="customListSort" type="xsd:boolean" use="optional" default="true"/>
<xsd:attribute name="showMissing" type="xsd:boolean" use="optional" default="true"/>
<xsd:attribute name="crossFilter" type="ST_SlicerCacheCrossFilter" use="optional"
default="showItemsWithDataAtTop"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.84 CT_TabularSlicerCacheItems
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_TabularSlicerCache
A complex type that specifies non-OLAP slicer items that are cached within this slicer cache.
Child Elements:
i: A CT_TabularSlicerCacheItem element that specifies a non-OLAP slicer item that is cached within
this slicer cache. All CT_TabularSlicerCacheItem elements within this slicer cache MUST have
unique x attributes. At least one CT_TabularSlicerCacheItem element MUST have s attribute be
"true".
Attributes:
count: An unsignedInt ([XMLSCHEMA2] section 3.3.22) attribute that specifies the number of i child
elements of this element.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_TabularSlicerCacheItems">
<xsd:sequence>
<xsd:element name="i" type="CT_TabularSlicerCacheItem" minOccurs="1"
maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="count" type="xsd:unsignedInt" use="optional"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.85 CT_TabularSlicerCacheItem
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_TabularSlicerCacheItems
A complex type that specifies a non-OLAP slicer item that is cached within this slicer cache.
Attributes:
x: An unsignedInt ([XMLSCHEMA2] section 3.3.22) attribute that specifies an index of the associated
PivotTable ([ISO/IEC29500-1:2011] section 18.10) cache item in the associated PivotTable
([ISO/IEC29500-1:2011] section 18.10) cache field. MUST be within the range of items as specified by
the count attribute of the CT_PivotCacheRecords ([ISO/IEC29500-4:2011] section A.2) element of
172 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
Meaning
"true"
"false"
nd: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether a non-OLAP slicer item
does not have data associated with it. This attribute MUST NOT exist if the crossFilter attribute of the
CT_TabularSlicerCache element is equal to "none". For more information, see Slicer Cross Filtering.
Value
Meaning
"true"
A non-OLAP slicer item does not have data associated with it.
"false"
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_TabularSlicerCacheItem">
<xsd:attribute name="x" type="xsd:unsignedInt" use="required"/>
<xsd:attribute name="s" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="nd" type="xsd:boolean" use="optional" default="false"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.86 CT_PivotTableReferences
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2010/11/main
Referenced by: pivotTableReferences
A complex type that specifies a list of PivotTable ([ISO/IEC29500-1:2011] section 18.10) part
identifiers for Non-Worksheet PivotTables. MUST contain fewer than 231 elements.
Child Elements:
pivotTableReference: A CT_PivotTableReference element that specifies a PivotTable part identifier of
a Non-Worksheet PivotTable.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_PivotTableReferences">
<xsd:sequence>
<xsd:element name="pivotTableReference" type="CT_PivotTableReference" minOccurs="1"
maxOccurs="unbounded"/>
173 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
</xsd:sequence>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.87 CT_PivotTableReference
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2010/11/main
Referenced by: CT_PivotTableReferences
A complex type that specifies a relationship identifier to a PivotTable ([ISO/IEC29500-1:2011] section
18.10) part in this workbook. The PivotTable specified by the element pivotTableDefinition
([ISO/IEC29500-1:2011] section 18.10.1.73) identified by this type MUST be a Non-Worksheet
PivotTable and MUST satisfy the following criteria.
The ref attribute of the child element location ([ISO/IEC29500-1:2011] section 18.10.1.49)
MUST begin with "A1".
The PivotTable name specified by the name attribute of the element pivotTableDefinition
([ISO/IEC29500-1:2011] section 18.10.1.73), MUST be unique among all the PivotTables in the
workbook.
There MUST be a child CT_PivotCache ([ISO/IEC29500-4:2011] section A.2) element within the
pivotCaches element, specified by section 2.4.39, with the attribute cacheID having the same
value as the cacheId attribute of the element pivotTableDefinition ([ISO/IEC29500-1:2011]
section 18.10.1.73).
The PivotTable MUST NOT have CT_ConditionalFormats element as specified by section 2.6.49.
Attributes:
r:id: An ST_RelationshipId ([ISO/IEC29500-1:2011] section 22.8.2.1) attribute that specifies a
relationship identifier to a PivotTable part in this workbook.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_PivotTableReference">
<xsd:attribute ref="r:id" use="required"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.88 CT_QueryTable
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2010/11/main
Referenced by: queryTable
A complex type that specifies extended properties of a query table ([ISO/IEC29500-1:2011] section
18.12).
174 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
Attributes:
clipped: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether a query table
([ISO/IEC29500-1:2011] section 18.12) did not fit to worksheet and was clipped.
Value
Meaning
"true"
A query table ([ISO/IEC-29500-1] section 18.12) did not fit to the worksheet and was clipped.
"false"
A query table ([ISO/IEC-29500-1] section 18.12) did not fit to the worksheet and was not clipped.
sourceDataName: A string attribute that specifies the name of the primary data connection for the
query table. For more details, see connection ([ISO/IEC29500-1:2011] section 18.13.1)
drillThrough: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether a query
table ([ISO/IEC29500-1:2011] is a result of drillthrough operation on OLAP data source.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_QueryTable">
<xsd:attribute name="clipped" use="optional" default="false" type="xsd:boolean"/>
<xsd:attribute name="sourceDataName" type="xsd:string" use="optional"/>
<xsd:attribute name="drillThrough" use="optional" default="false" type="xsd:boolean"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.89 CT_WebExtensions
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2010/11/main
Referenced by: webExtensions
A complex type that specifies a list of CT_WebExtension elements. The list of CT_WebExtension
elements specifies all the bindings for web extensions, as specified by [MS-OWEXML] section 1.3, on
the worksheet.
Child Elements:
webExtension: A CT_WebExtension element that specifies a binding for a web extension, as specified
by [MS-OWEXML] section 1.3, on the worksheet.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_WebExtensions">
<xsd:sequence>
<xsd:element name="webExtension" type="CT_WebExtension" minOccurs="1"
maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
175 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
2.6.90 CT_WebExtension
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2010/11/main
Referenced by: CT_WebExtensions
A complex type that specifies a binding for a web extension, as specified by [MS-OWEXML] section
1.3, on the worksheet.
Child Elements:
xm:f: An f element that specifies the data range for the Binding. The formula MUST adhere to the
grammar specified in Section Formulas, with the following restrictions:
Attributes:
appRef: An ST_Xstring ([ISO/IEC29500-1:2011] section 22.9.2.19) attribute that specifies a unique
identifier for a binding for a web extension. This value MUST be equal to the appref field of a
CT_OsfWebExtensionBinding element as specified by [MS-OWEXML] section 2.2.3.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_WebExtension">
<xsd:sequence>
<xsd:element ref="xm:f" minOccurs="1" maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="appRef" type="x:ST_Xstring" use="required"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.91 CT_Connection
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2010/11/main
Referenced by: connection
A complex type that specifies the extended properties of an external connection ([ISO/IEC295001:2011] section 18.13). See section 2.2.4.1 for how this element integrates with the Office Open XML
file formats specified in [ISO/IEC29500-1:2011].
Child Elements:
textPr: A CT_TextPr ([ISO/IEC29500-4:2011] section 18.13.12) element that specifies properties for
data model data source text importation.
If this element is present, then the type attribute of the ancestor CT_Connection element, as
specified in [ISO/IEC29500-4:2011] section A.2, MUST be equal to "103".
modelTextPr: A CT_ModelTextPr element that specifies a data model data source text importation
([MS-XLSB] section 2.2.8.9.4) properties in addition to those specified in textPr element.
If this element is present, then:
176 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
the type attribute of the ancestor CT_Connection element, as specified in [ISO/IEC295004:2011] section A.2, MUST be equal to "103".
rangePr: A CT_RangePr element that specifies data model data source Worksheet Data connection
([MS-XLSB] section 2.2.8.9.3) properties.
If this element is present, then the type attribute of the ancestor CT_Connection element, as
specified in [ISO/IEC29500-4:2011] section A.2, MUST be equal to "102".
oledbPr: A CT_OledbPr element that specifies data model data source OLE DB connection ([MS-XLSB]
section 2.2.8.9.1) properties.
If this element is present, then the type attribute of the ancestor CT_Connection element, as
specified in [ISO/IEC29500-4:2011] section A.2, MUST be equal to "100".
dataFeedPr: A CT_DataFeedPr element that specifies data model data source Data Feed connection
([MS-XLSB] section 2.2.8.9.2) properties.
If this element is present, then the type attribute of the ancestor CT_Connection element, as
specified in [ISO/IEC29500-4:2011] section A.2, MUST be equal to "101".
Attributes:
id: An ST_Xstring ([ISO/IEC29500-1:2011] section 22.9.2.19) attribute that specifies the identifier
of the Data Model data source. The string MUST be less than or equal to 65535 characters in length.
The string length MUST be equal to zero characters if the model attribute equals "true".
model: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether this connection is a
connection to the spreadsheet data model. If this element equals "true", the type attribute of the
ancestor CT_Connection element, as specified in [ISO/IEC29500-4:2011] section A.2, MUST be
equal to "5".
excludeFromRefreshAll: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether
this connection is not to be refreshed on Refresh All.
Value
Meaning
"true"
"false"
autoDelete: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether this
connection will be automatically deleted when all data features which use it are deleted.
Value
Meaning
"true"
This connection will be automatically deleted when all data features that use it are deleted.
"false"
This connection will not be automatically deleted when all data features that use it are deleted.
usedByAddin: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether this
connection is used by an addin component and will not be deleted with any data feature that uses it.
177 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
Value
Meaning
"true"
"false"
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_Connection">
<xsd:sequence>
<xsd:element name="textPr" minOccurs="0" maxOccurs="1" type="x:CT_TextPr"/>
<xsd:element name="modelTextPr" minOccurs="0" maxOccurs="1" type="CT_ModelTextPr"/>
<xsd:element name="rangePr" minOccurs="0" maxOccurs="1" type="CT_RangePr"/>
<xsd:element name="oledbPr" minOccurs="0" maxOccurs="1" type="CT_OledbPr"/>
<xsd:element name="dataFeedPr" minOccurs="0" maxOccurs="1" type="CT_DataFeedPr"/>
</xsd:sequence>
<xsd:attribute name="id" use="required" type="x:ST_Xstring"/>
<xsd:attribute name="model" type="xsd:boolean" default="false" use="optional"/>
<xsd:attribute name="excludeFromRefreshAll" type="xsd:boolean" default="false"
use="optional"/>
<xsd:attribute name="autoDelete" type="xsd:boolean" default="false" use="optional"/>
<xsd:attribute name="usedByAddin" type="xsd:boolean" default="false" use="optional"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.92 CT_CalculatedMemberExt
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2010/11/main
This element adds an element for supporting new properties for calculated members.
Child Elements:
calculatedMember: A CT_CalculatedMember (section 2.6.93) element that specifies a definition
for a custom member or measure that is applied to a pivot table.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_CalculatedMemberExt">
<xsd:sequence>
<xsd:element ref="calculatedMember" minOccurs="1" maxOccurs="1"/>
</xsd:sequence>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.93 CT_CalculatedMember
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2010/11/main
Referenced by: CT_CalculatedMemberExt, calculatedMember
This element adds new properties for supporting calculated members.
178 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
Attributes:
measureGroup: An ST_Xstring ([ISO/IEC29500-1:2011] section 22.9.2.19) attribute that specifies
the name of the measure group that this calculated member is associated with if measure is TRUE.
numberFormat: An ST_CalcMemNumberFormat (see section 2.7.25) attribute that specifies the
formatting type of the calculated member.
measure: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether this calculated
member is also a calculated measure.
Value
Meaning
"true"
"false"
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_CalculatedMember">
<xsd:attribute name="measureGroup" type="x:ST_Xstring" use="optional"/>
<xsd:attribute name="numberFormat" type="ST_CalcMemNumberFormat" use="optional"
default="default"/>
<xsd:attribute name="measure" type="xsd:boolean" use="optional" default="false"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.94 CT_FieldListActiveTabTopLevelEntity
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2010/11/main
Referenced by: CT_PivotTableUISettings
A complex type which specifies a top level object in the hierarchy of objects displayed in the
PivotTable field list.
Attributes:
name: A string attribute that specifies name of the object in the PivotTable field list.
type: An unsignedInt attribute that specifies the type of this top level object. MUST be specified.
MUST be one of the values in the following table:
Value
Object Type
OLAP Dimension. The name attribute of this element MUST be the MDX unique name of
the dimension.
Workbook Table. The name attribute of this element MUST be the name of the workbook
table.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
179 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
<xsd:complexType name="CT_FieldListActiveTabTopLevelEntity">
<xsd:attribute name="name" use="required" type="xsd:string"/>
<xsd:attribute name="type" use="optional" default="0" type="xsd:unsignedInt"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.95 CT_PivotFilter
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2010/11/main
Referenced by: pivotFilter
A complex type that specifies the extended properties of a CT_PivotFilter ([ISO/IEC29500-4:2011]
section A.2) element.
Attributes:
useWholeDay: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether the filter
([ISO/IEC29500-1:2011] section 18.10.1.33) element extended by this type uses whole days in its
filtering criteria. MUST be false for filters for which the value of the attribute type ([ISO/IEC295001:2011] section 18.10.1.33) is not one of the values mentioned in the table below. MUST be true if
the value of the name attribute of the containing CT_PivotTableDefinition ([ISO/IEC29500-4:2011]
section A.2) element is equal to the value of the name (section 2.6.114) attribute of at least one CT_
TimelineCachePivotTable (section 2.6.114) element in the Timeline cache (section 2.1.7) and the
value of the attribute type of the containing filter element is one of the following.
Enumeration Value
dateBetween (Date Between)
dateEqual (Date Equals)
dateNewerThan (Date Newer Than)
dateNewerThanOrEqual (Date Newer Than or Equal To)
dateNotBetween (Date Not Between)
dateNotEqual (Date Does Not Equal)
dateOlderThan (Date Older Than)
dateOlderThanOrEqual (Date Older Than Or Equal)
lastMonth (Last Month)
lastQuarter (Last Quarter)
lastWeek (Last Week)
lastYear (Last Year)
M1 (Dates in January)
M10 (Dates in October)
M11 (Dates in November)
M12 (Dates in December)
180 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
Enumeration Value
M2 (Dates in February)
M3 (Dates in March)
M4 (Dates in April)
M5 (Dates in May)
M6 (Dates in June)
M7 (Dates in July)
M8 (Dates in August)
M9 (Dates in September)
nextMonth (Next Month)
nextQuarter (Next Quarter)
nextWeek (Next Week)
nextYear (Next Year)
percent (Percent)
Q1 (First Quarter)
Q2 (Second Quarter)
Q3 (Third Quarter)
Q4 (Fourth Quarter)
sum (Sum)
thisMonth (This Month)
thisQuarter (This Quarter)
thisWeek (This Week)
thisYear (This Year)
today (Today)
tomorrow (Tomorrow)
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_PivotFilter">
<xsd:attribute name="useWholeDay" type="xsd:boolean" use="required"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
181 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
2.6.96 CT_PivotTableUISettings
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2010/11/main
Referenced by: pivotTableUISettings
Specifies state for user interface used to construct and manipulate a PivotTable.
Child Elements:
activeTabTopLevelEntity: A CT_FieldListActiveTabTopLevelEntity element that specifies a field that
appears in the users working set of fields in the PivotTable field list.
extLst: A CT_ExtensionList ([ISO/IEC29500-4:2011] section A.2) element that specifies future
extensibility for this element.
Attributes:
sourceDataName: An ST_Xstring ([ISO/IEC29500-1:2011] section 22.9.2.19) attribute that
specifies the name of the primary data connection for the PivotTable. See connection
([ISO/IEC29500-1:2011] section 18.13.1)
relNeededHidden: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether the
user closed the relationship warning for this PivotTable.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_PivotTableUISettings">
<xsd:sequence>
<xsd:element name="activeTabTopLevelEntity" type="CT_FieldListActiveTabTopLevelEntity"
minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="extLst" type="x:CT_ExtensionList" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="sourceDataName" type="xsd:string" use="optional"/>
<xsd:attribute name="relNeededHidden" type="xsd:boolean" use="optional" default="false"/>
</xsd:complexType>
See section 5.1 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.
Child Elements:
extLst: A CT_ExtensionList ([ISO/IEC29500-4:2011] 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/IEC29500-1:2011] section 18.5.1.2). MUST match id attribute of an existing Table
([ISO/IEC29500-1:2011] section 18.5.1.2) element.
182 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
column: An unsignedInt ([XMLSCHEMA2] section 3.3.22) attribute that specifies associated Table
Column ([ISO/IEC29500-1:2011] 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.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.98 CT_TimelineCacheRefs
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2010/11/main
Referenced by: timelineCacheRefs
A complex type that specifies a list of Timeline cache part identifiers for the workbook. MUST contain
fewer than 231 elements.
Child Elements:
timelineCacheRef: A CT_TimelineCacheRef element that specifies a Timeline cache part identifier in
this workbook.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_TimelineCacheRefs">
<xsd:sequence>
<xsd:element name="timelineCacheRef" type="CT_TimelineCacheRef" minOccurs="1"
maxOccurs="unbounded"/>
183 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
</xsd:sequence>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.99 CT_TimelineCacheRef
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2010/11/main
Referenced by: CT_TimelineCacheRefs
A complex type that specifies a Relationship (section 1.4) identifier to a Timeline Cache (section
2.3.5.1) part in this workbook.
Attributes:
r:id: An ST_RelationshipId ([ISO/IEC29500-1:2011] section 22.8.2.1) attribute that specifies a
Relationship (section 1.4) identifier to a Timeline Cache (section 2.3.5.1) part in this workbook.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_TimelineCacheRef">
<xsd:attribute ref="r:id" use="required"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.100
CT_TimelineRefs
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
184 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
2.6.101
CT_TimelineRef
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.102
CT_CacheHierarchy
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.103
CT_SlicerCacheHideNoData
Child Elements:
slicerCacheOlapLevelName: A CT_SlicerCacheOlapLevelName element that specifies the properties
of an OLAP level in the OLAP hierarchy specified by the ancestor slicer cache. slicer items with no data
in this OLAP level are not displayed.
Attributes:
count: An unsignedInt ([XMLSCHEMA2] section 3.3.22) attribute that specifies the number of
slicerCacheOlapLevelName child elements of this element.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_SlicerCacheHideNoData">
<xsd:sequence>
<xsd:element name="slicerCacheOlapLevelName" type="CT_SlicerCacheOlapLevelName"
minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="count" type="xsd:unsignedInt" use="optional" default="0"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.104
CT_SlicerCacheOlapLevelName
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.105
CT_TimelineStyles
A complex type that specifies a group of Timeline Styles and the default Timeline Style to apply to
Timelines.
Child Elements:
timelineStyle: A CT_TimelineStyle element that specifies a Timeline Style.
Attributes:
defaultTimelineStyle: A string ([XMLSCHEMA2] section 3.2.1) attribute that specifies the name of
the default Timeline Style to apply to Timelines. The length of the string MUST be greater than or
equal to 1 character and less than or equal to 255 characters.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_TimelineStyles">
<xsd:sequence>
<xsd:element name="timelineStyle" type="CT_TimelineStyle" minOccurs="0"
maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="defaultTimelineStyle" type="xsd:string" use="required"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.106
CT_TimelineStyleElements
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.107
CT_TimelineStyle
187 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.108
CT_TimelineStyleElement
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.109
CT_TimelinePivotCacheDefinition
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.110
CT_Timelines
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.111
CT_Timeline
189 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
Meaning
"true"
"false"
showSelectionLabel: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether the
selection label is displayed.
Value
Meaning
"true"
"false"
showTimeLevel: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether the time
level is displayed.
Value
Meaning
"true"
"false"
190 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
Value
Meaning
"true"
"false"
level: An unsignedInt attribute, as specified in [XMLSCHEMA2] section 3.3.22, that specifies the
current time level of the Timeline (section 2.3.5). This element MUST be a value from the following
table:
Value
Meaning
Year
Quarter
Month
Day
selectionLevel: An unsignedInt attribute that specifies the time level at which the current selection
was made for the Timeline. This element MUST be a value from the following table:
Value
Meaning
Year
Quarter
Month
Day
scrollPosition: A dateTime attribute ([XMLSCHEMA2] section 3.2.7) that specifies the start date of
the timespan scrolling position of the Timeline.
style: An ST_Xstring attribute ([ISO/IEC29500-1:2011] section 22.9.2.19) that specifies the
Timeline style (section 2.3.5.4) of the Timeline view. If this field exists, this string MUST match the
name attribute of a CT_TimelineStyle element (section 2.6.107) within this workbook or MUST be
equal to one of the built-in Timeline style names:
Built-in Timeline style names
TimelineStyleLight1
TimelineStyleLight2
TimelineStyleLight3
TimelineStyleLight4
TimelineStyleLight5
TimelineStyleLight6
191 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_Timeline">
<xsd:sequence>
<xsd:element name="extLst" type="x:CT_ExtensionList" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="name" type="x:ST_Xstring" use="required"/>
<xsd:attribute name="cache" type="x:ST_Xstring" use="required"/>
<xsd:attribute name="caption" type="x:ST_Xstring" use="optional"/>
<xsd:attribute name="showHeader" type="xsd:boolean" use="optional" default="true"/>
<xsd:attribute name="showSelectionLabel" type="xsd:boolean" use="optional" default="true"/>
<xsd:attribute name="showTimeLevel" type="xsd:boolean" use="optional" default="true"/>
<xsd:attribute name="showHorizontalScrollbar" type="xsd:boolean" use="optional"
default="true"/>
<xsd:attribute name="level" type="xsd:unsignedInt" use="required"/>
<xsd:attribute name="selectionLevel" type="xsd:unsignedInt" use="required"/>
<xsd:attribute name="scrollPosition" type="xsd:dateTime" use="optional"/>
<xsd:attribute name="style" type="x:ST_Xstring" use="optional"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.112
CT_TimelineCacheDefinition
192 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
CT_TimelineState (section 2.6.116) element of the Timeline Cache has a value that is not one of the
following:
Enumeration Value
Description
unknown
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.113
CT_TimelineCachePivotTables
193 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
pivotTable: A CT_TimelineCachePivotTable element that specifies the PivotTable ([ISO/IEC295001:2011] section 18.10) view or a Non-Worksheet PivotTable that is filtered. The list of pivotTable
child elements MUST NOT contain duplicates.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_TimelineCachePivotTables">
<xsd:sequence>
<xsd:element name="pivotTable" type="CT_TimelineCachePivotTable" minOccurs="1"
maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.114
CT_TimelineCachePivotTable
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.115
CT_TimelineRange
Attributes:
startDate: A dateTime ([XMLSCHEMA2] section 3.2.7) attribute that specifies the start value of the
date range.
endDate: A dateTime attribute that specifies the end value of the date range.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_TimelineRange">
<xsd:attribute name="startDate" type="xsd:dateTime" use="required"/>
<xsd:attribute name="endDate" type="xsd:dateTime" use="required"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.116
CT_TimelineState
Meaning
"true"
"false"
195 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.117
CT_WorkbookPr
Meaning
True
False
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_WorkbookPr">
<xsd:attribute name="chartTrackingRefBase" type="xsd:boolean" default="false"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
196 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
2.6.118
CT_TimelinePivotFilter
Meaning
"true"
The pivot filter ([ISO/IEC-29500-1] section 18.10.1.33) associated with either the PivotTable
([ISO/IEC-29500-1] section 18.10) or Non-Worksheet PivotTable (section 2.3.3) filtered by the
Timeline Cache (section 2.1.7) uses whole days in its filtering criteria.
"false"
The pivot filter ([ISO/IEC-29500-1] section 18.10.1.33) associated with either the PivotTable
([ISO/IEC-29500-1] section 18.10) or Non-Worksheet PivotTable (section 2.3.3) filtered by the
Timeline Cache (section 2.1.7) does not use whole days in its filtering criteria.
fld: An unsignedInt ([XMLSCHEMA2] section 3.3.22) attribute that specifies the index of the field to
which the pivot filter associated with this filter belongs to.
id: An unsignedInt attribute that specifies the unique identifier of the pivot filter associated with
this filter as assigned by the PivotTable ([ISO/IEC29500-1:2011] section 18.10) or Non-Worksheet
PivotTable (section 2.3.3) filtered by the Timeline Cache (section 2.1.7).
name: An ST_Xstring ([ISO/IEC29500-1:2011] section 22.9.2.19) attribute that specifies the name
of the filter. This string MUST be less than or equal to 65,535 characters in length.
description: An ST_Xstring attribute that specifies the description of the filter. This string MUST be
less than or equal to 65,535 characters in length.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_TimelinePivotFilter">
<xsd:sequence>
<xsd:element name="autoFilter" minOccurs="0" maxOccurs="1" type="x:CT_AutoFilter"/>
</xsd:sequence>
<xsd:attribute name="useWholeDay" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="fld" use="required" type="xsd:unsignedInt"/>
<xsd:attribute name="id" use="required" type="xsd:unsignedInt"/>
<xsd:attribute name="name" use="optional" type="x:ST_Xstring"/>
<xsd:attribute name="description" use="optional" type="x:ST_Xstring"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
197 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
2.6.119
CT_ModelTextPr
Meaning
"true"
"false"
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_ModelTextPr">
<xsd:attribute name="headers" type="xsd:boolean" default="false" use="optional"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.120
CT_RangePr
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
198 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
2.6.121
CT_DbTable
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.122
CT_DbTables
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.123
CT_DbCommand
Attributes:
text: An attribute of type ST_Xstring ([ISO/IEC29500-1:2011] section 22.9.2.19) that specifies OLE
DB command text.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_DbCommand">
<xsd:attribute name="text" use="required" type="x:ST_Xstring"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.124
CT_OledbPr
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.125
CT_DataFeedPr
dbTables: A CT_DbTables element that specifies the list of database tables used by this connection.
Attributes:
connection: An ST_Xstring ([ISO/IEC29500-1:2011] section 22.9.2.19) attribute that specifies
connection string.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_DataFeedPr">
<xsd:sequence>
<xsd:element name="dbTables" type="CT_DbTables" minOccurs="1" maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="connection" use="required" type="x:ST_Xstring"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.126
CT_CachedUniqueNames
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.127
CT_CachedUniqueName
index: An unsignedInt ([XMLSCHEMA2] section 3.3.22) attribute that specifies an index of the
PivotTable ([ISO/IEC29500-1:2011] section 18.10) cache item in this PivotTable ([ISO/IEC295001:2011] section 18.10) cache field. MUST be less than count attributes of the CT_Items
([ISO/IEC29500-4:2011] section A.2) element specified by the ancestor CT_CacheField
([ISO/IEC29500-4:2011] section A.2) element. MUST be unique within parent
CT_CachedUniqueNames (section 2.6.126) collection.
name: An ST_Xstring ([ISO/IEC29500-1:2011] section 22.9.2.19) attribute that specifies the MDX
unique name. MUST be less than or equal to 65,535 characters in length.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_CachedUniqueName">
<xsd:attribute name="index" use="required" type="xsd:unsignedInt"/>
<xsd:attribute name="name" use="required" type="x:ST_Xstring"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.128
CT_ModelTable
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.129
CT_ModelTables
202 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
Child Elements:
modelTable: A CT_ModelTable element that specifies properties of a single table in spreadsheet data
model.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_ModelTables">
<xsd:sequence>
<xsd:element name="modelTable" minOccurs="1" maxOccurs="unbounded" type="CT_ModelTable"/>
</xsd:sequence>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.130
CT_ModelRelationship
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.131
CT_ModelRelationships
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.132
CT_DataModel
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.133
CT_PivotTableData
204 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.134
CT_PivotRow
Child Elements:
c: A CT_PivotValueCell element that specifies a PivotValueCell.
Attributes:
r: An unsignedInt ([XMLSCHEMA2] section 3.3.22) attribute that specifies the row index of this
element. MUST be within the range of items as specified by the rowCount attribute of the complex
type CT_PivotTableData.
count: An unsignedInt ([XMLSCHEMA2] section 3.3.22) attribute that specifies the number of child
elements of type CT_PivotValueCell in the current pivotRow element. MUST be less than or equal to
the value specified by the columnCount attribute of complex type CT_PivotTableData.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_PivotRow">
<xsd:sequence>
<xsd:element name="c" type="CT_PivotValueCell" minOccurs="1" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="r" type="xsd:unsignedInt" use="optional"/>
<xsd:attribute name="count" type="xsd:unsignedInt" use="required"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.135
CT_PivotValueCell
</xsd:sequence>
<xsd:attribute name="i" type="xsd:unsignedInt" use="optional"/>
<xsd:attribute name="t" type="ST_SXVCellType" use="optional" default="n"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.136
CT_PivotValueCellExtra
name="CT_PivotValueCellExtra">
name="in" type="xsd:unsignedInt" use="optional"/>
name="bc" type="x:ST_UnsignedIntHex" use="optional"/>
name="fc" type="x:ST_UnsignedIntHex" use="optional"/>
name="i" type="xsd:boolean" use="optional" default="false"/>
name="un" type="xsd:boolean" use="optional" default="false"/>
name="st" type="xsd:boolean" use="optional" default="false"/>
207 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.137
CT_PivotTableServerFormats
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.138
CT_PivotCacheDecoupled
2.6.139
CT_PivotCacheIdVersion
208 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_PivotCacheIdVersion">
<xsd:attribute name="cacheIdSupportedVersion" type="xsd:unsignedByte" use="required"/>
<xsd:attribute name="cacheIdCreatedVersion" type="xsd:unsignedByte" use="required"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.140
CT_Timeline
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.141
CT_AbsolutePath
<xsd:complexType name="CT_AbsolutePath">
<xsd:attribute name="url" use="required" type="x:ST_Xstring"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.142
CT_DataField
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.143
CT_Survey
guid: An ST_Guid ([ISO/IEC29500-1:2011] section 22.9.2.4) attribute that identifies this survey.
title: An ST_Xstring ([ISO/IEC29500-1:2011] section 22.9.2.19) attribute that specifies the title of
the survey.
description: An ST_Xstring ([ISO/IEC29500-1:2011] section 22.9.2.19) attribute that specifies the
description of the survey.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_Survey">
<xsd:sequence>
<xsd:element name="surveyPr" type="CT_SurveyElementPr" minOccurs="0" maxOccurs="1"/>
<xsd:element name="titlePr" type="CT_SurveyElementPr" minOccurs="0" maxOccurs="1"/>
<xsd:element name="descriptionPr" type="CT_SurveyElementPr" minOccurs="0" maxOccurs="1"/>
<xsd:element name="questions" type="CT_SurveyQuestions" minOccurs="1" maxOccurs="1"/>
<xsd:element name="extLst" type="x:CT_ExtensionList" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="id" type="xsd:unsignedInt" use="required"/>
<xsd:attribute name="guid" type="x:ST_Guid" use="required"/>
<xsd:attribute name="title" type="x:ST_Xstring" use="optional"/>
<xsd:attribute name="description" type="x:ST_Xstring" use="optional"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.144
CT_SurveyQuestions
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.145
CT_SurveyQuestion
Meaning
"false"
The answer to the survey question is not required when filling in the survey.
"true"
The answer to the survey question is required when filling in the survey.
212 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
;value-char = as defined by the production Char in the [W3C-XML] section 2.2, but MUST NOT be
";" or %x22
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_SurveyQuestion">
<xsd:sequence>
<xsd:element name="questionPr" type="CT_SurveyElementPr" minOccurs="0" maxOccurs="1"/>
<xsd:element name="extLst" type="x:CT_ExtensionList" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="binding" type="xsd:unsignedInt" use="required"/>
<xsd:attribute name="text" type="x:ST_Xstring" use="optional"/>
<xsd:attribute name="type" type="ST_QuestionType" use="optional"/>
<xsd:attribute name="format" type="ST_QuestionFormat" use="optional"/>
<xsd:attribute name="helpText" type="x:ST_Xstring" use="optional"/>
<xsd:attribute name="required" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="defaultValue" type="x:ST_Xstring" use="optional"/>
<xsd:attribute name="decimalPlaces" type="xsd:unsignedInt" use="optional"/>
<xsd:attribute name="rowSource" type="x:ST_Xstring" use="optional"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.146
CT_SurveyElementPr
213 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
position: An ST_SurveyPosition attribute that specifies the type of positioning to be used on the
survey element.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_SurveyElementPr">
<xsd:sequence>
<xsd:element name="extLst" type="x:CT_ExtensionList" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="cssClass" type="x:ST_Xstring" use="optional"/>
<xsd:attribute name="bottom" type="xsd:int" use="optional"/>
<xsd:attribute name="top" type="xsd:int" use="optional"/>
<xsd:attribute name="left" type="xsd:int" use="optional"/>
<xsd:attribute name="right" type="xsd:int" use="optional"/>
<xsd:attribute name="width" type="xsd:unsignedInt" use="optional"/>
<xsd:attribute name="height" type="xsd:unsignedInt" use="optional"/>
<xsd:attribute name="position" type="ST_SurveyPosition" use="optional"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.147
CT_Ref
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
214 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
2.6.148
CT_Sqref
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.149
CT_ApplicationNonVisualDrawingProps
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.150
CT_CacheSourceExt
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.151
CT_ContentPart
216 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
complex type.
<xsd:complexType name="CT_ContentPart">
<xsd:sequence>
<xsd:element name="nvContentPartPr" type="CT_ContentPartNonVisual" minOccurs="0"
maxOccurs="1"/>
<xsd:element name="nvPr" type="CT_ApplicationNonVisualDrawingProps" minOccurs="0"
maxOccurs="1"/>
<xsd:element name="xfrm" type="a:CT_Transform2D" minOccurs="0" maxOccurs="1"/>
<xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0"
maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute ref="r:id" use="required"/>
<xsd:attribute name="bwMode" type="a:ST_BlackWhiteMode" use="optional" default="auto"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.152
CT_ContentPartNonVisual
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.153
CT_CalculatedTimeColumn
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.154
CT_ModelTimeGrouping
218 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.155
CT_ModelTimeGroupings
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.7
Simple Types
2.7.1 ST_Ref
Target namespace: http://schemas.microsoft.com/office/excel/2006/main
Referenced by: CT_Ref, ST_Sqref
This simple type specifies a reference to a range of cells.
This simple type is identical to the ST_Ref ([ISO/IEC29500-1:2011] section 18.18.62) simple type
with the following exception: This simple type MUST have the following grammar.
(A1-cell [":" A1-cell])
/ ref-constant
The ABNF ([RFC5234]) definitions for A1-cell and ref-constant are specified in Formulas.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
simple type.
<xsd:simpleType name="ST_Ref">
<xsd:restriction base="xsd:string"/>
</xsd:simpleType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
219 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
2.7.2 ST_Sqref
Target namespace: http://schemas.microsoft.com/office/excel/2006/main
Referenced by: CT_Sqref
This simple type specifies a list of cell ranges.
This simple type is identical to the ST_Sqref ([ISO/IEC29500-1:2011] section 18.18.76) simple type
with the following exceptions:
If the value contains an ST_Ref of value "#REF!", then it MUST be the only value in the list.
The number of cell references in this simple type MUST be less than 2,147,483,647.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
simple type.
<xsd:simpleType name="ST_Sqref">
<xsd:list itemType="ST_Ref"/>
</xsd:simpleType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.7.3 ST_DispBlanksAs
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_SparklineGroup
This simple type specifies how empty cells are plotted for all sparklines in the sparkline group.
Value
Meaning
span
gap
zero
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
simple type.
<xsd:simpleType name="ST_DispBlanksAs">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="span"/>
<xsd:enumeration value="gap"/>
<xsd:enumeration value="zero"/>
</xsd:restriction>
</xsd:simpleType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
220 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
2.7.4 ST_SparklineAxisMinMax
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_SparklineGroup
This simple type specifies information about how the vertical axis minimum or maximum is computed
for this sparkline group.
Value
Meaning
individual
Specifies that the vertical axis minimum or maximum for each sparkline in this sparkline group is
calculated automatically such that the data point with the minimum or maximum value can be
displayed in the plot area.
group
Specifies that the vertical axis minimum or maximum is shared across all sparklines in this sparkline
group and is calculated automatically such that the data point with the minimum or maximum value
can be displayed in the plot area.
custom
Specifies that the vertical axis minimum or maximum for each sparkline in this sparkline group is
specified by the manualMin attribute or the manualMax attribute of CT_SparklineGroup.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
simple type.
<xsd:simpleType name="ST_SparklineAxisMinMax">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="individual"/>
<xsd:enumeration value="group"/>
<xsd:enumeration value="custom"/>
</xsd:restriction>
</xsd:simpleType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.7.5 ST_SparklineType
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_SparklineGroup
This simple type specifies the type of the sparkline group.
Value
Meaning
line
Line sparklines.
column
Column sparklines.
stacked
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
simple type.
<xsd:simpleType name="ST_SparklineType">
221 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
<xsd:restriction base="xsd:string">
<xsd:enumeration value="line"/>
<xsd:enumeration value="column"/>
<xsd:enumeration value="stacked"/>
</xsd:restriction>
</xsd:simpleType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.7.6 ST_PivotShowAs
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_DataField
This simple type specifies the display format values for a PivotTable ([ISO/IEC29500-1:2011] section
18.10) field.
Value
Meaning
percentOfParent
percentOfParentRow
percentOfParentCol
percentOfRunningTotal
rankAscending
Rank ascending.
rankDescending
Rank descending.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
simple type.
<xsd:simpleType name="ST_PivotShowAs">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="percentOfParent"/>
<xsd:enumeration value="percentOfParentRow"/>
<xsd:enumeration value="percentOfParentCol"/>
<xsd:enumeration value="percentOfRunningTotal"/>
<xsd:enumeration value="rankAscending"/>
<xsd:enumeration value="rankDescending"/>
</xsd:restriction>
</xsd:simpleType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.7.7 ST_DataBarDirection
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_DataBar
A simple type that specifies the direction of the data bar.
222 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
Value
Meaning
context
leftToRight
rightToLeft
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
simple type.
<xsd:simpleType name="ST_DataBarDirection">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="context"/>
<xsd:enumeration value="leftToRight"/>
<xsd:enumeration value="rightToLeft"/>
</xsd:restriction>
</xsd:simpleType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.7.8 ST_DataBarAxisPosition
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_DataBar
A simple type that specifies the axis position for the data bar.
Value
Meaning
automatic
middle
The axis position for the data bar is the midpoint of the cell.
none
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
simple type.
<xsd:simpleType name="ST_DataBarAxisPosition">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="automatic"/>
<xsd:enumeration value="middle"/>
<xsd:enumeration value="none"/>
</xsd:restriction>
</xsd:simpleType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.7.9 ST_CfvoType
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
223 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
Meaning
num
percent
The minimum value in the range of cells that the conditional formatting rule applies to plus X percent
of the difference between the maximum and minimum values in the range of cells that the
conditional formatting rule applies to.
For example, if the min and max values in the range are 1 and 10 respectively, and X is 10, then the
CFVO value is 1.9.
max
The maximum value from the range of cells that the conditional formatting rule applies to.
min
The minimum value from the range of cells that the conditional formatting rule applies to.
formula
X, or if the f element is formed by the numerical-constant rule alone in the grammar provided in
Formulas, the formula is ignored and X is 0.
percentile
The minimum value of the cell that is in the X percentile of the range of cells that the conditional
formatting rule applies to.
autoMin
The smaller of zero or the minimum value from the range of cells that the conditional formatting rule
applies to.
autoMax
The larger of zero or the maximum value from the range of cells that the conditional formatting rule
applies to.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
simple type.
<xsd:simpleType name="ST_CfvoType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="num"/>
<xsd:enumeration value="percent"/>
<xsd:enumeration value="max"/>
<xsd:enumeration value="min"/>
<xsd:enumeration value="formula"/>
<xsd:enumeration value="percentile"/>
<xsd:enumeration value="autoMin"/>
<xsd:enumeration value="autoMax"/>
</xsd:restriction>
</xsd:simpleType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.7.10 ST_IconSetType
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_IconFilter, CT_SortCondition, CT_IconSet, CT_CfIcon
A simple type that specifies an icon set.
224 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
Value
Meaning
3Arrows
3ArrowsGray
3Flags
3TrafficLights1
3TrafficLights2
3Signs
3Symbols
3Symbols2
4Arrows
4ArrowsGray
4RedToBlack
4Rating
4TrafficLights
5Arrows
5ArrowsGray
5Rating
5Quarters
3Stars
225 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
Value
Meaning
3Triangles
5Boxes
NoIcons
No icon set
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
simple type.
<xsd:simpleType name="ST_IconSetType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="3Arrows"/>
<xsd:enumeration value="3ArrowsGray"/>
<xsd:enumeration value="3Flags"/>
<xsd:enumeration value="3TrafficLights1"/>
<xsd:enumeration value="3TrafficLights2"/>
<xsd:enumeration value="3Signs"/>
<xsd:enumeration value="3Symbols"/>
<xsd:enumeration value="3Symbols2"/>
<xsd:enumeration value="4Arrows"/>
<xsd:enumeration value="4ArrowsGray"/>
<xsd:enumeration value="4RedToBlack"/>
<xsd:enumeration value="4Rating"/>
<xsd:enumeration value="4TrafficLights"/>
<xsd:enumeration value="5Arrows"/>
<xsd:enumeration value="5ArrowsGray"/>
<xsd:enumeration value="5Rating"/>
<xsd:enumeration value="5Quarters"/>
<xsd:enumeration value="3Stars"/>
<xsd:enumeration value="3Triangles"/>
<xsd:enumeration value="5Boxes"/>
<xsd:enumeration value="NoIcons"/>
</xsd:restriction>
</xsd:simpleType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.7.11 ST_PivotEditValueType
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_PivotEditValue
A simple type that specifies the type of the modified value in the PivotTable ([ISO/IEC29500-1:2011]
section 18.10) data area using PivotTable what-if analysis.
Value
Meaning
number
Numerical value
dateTime
string
String value
boolean
Boolean value
226 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
Value
Meaning
error
Error value
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
simple type.
<xsd:simpleType name="ST_PivotEditValueType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="number"/>
<xsd:enumeration value="dateTime"/>
<xsd:enumeration value="string"/>
<xsd:enumeration value="boolean"/>
<xsd:enumeration value="error"/>
</xsd:restriction>
</xsd:simpleType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.7.12 ST_AllocationMethod
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_PivotTableDefinition, CT_PivotChange
A simple type that specifies the method of allocation for PivotTable what-if analysis.
Value
Meaning
equalAllocation
Equal allocation
equalIncrement
Equal increment
weightedAllocation
Weighted allocation
weightedIncrement
Weighted increment
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
simple type.
<xsd:simpleType name="ST_AllocationMethod">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="equalAllocation"/>
<xsd:enumeration value="equalIncrement"/>
<xsd:enumeration value="weightedAllocation"/>
<xsd:enumeration value="weightedIncrement"/>
</xsd:restriction>
</xsd:simpleType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.7.13 ST_SlicerStyleType
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
227 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
Meaning
unselectedItemWithData
A slicer item with data that is not selected. Used for slicers only.
selectedItemWithData
unselectedItemWithNoData
A slicer item with no data that is not selected. Used for slicers only.
selectedItemWithNoData
hoveredUnselectedItemWithData
A slicer item with data that is not selected and over which the mouse is
paused on. Used for slicers only.
hoveredSelectedItemWithData
A selected slicer item with data and over which the mouse is paused on.
Used for slicers only.
hoveredUnselectedItemWithNoData
A slicer item with no data that is not selected and over which the mouse is
paused on. Used for slicers only.
hoveredSelectedItemWithNoData
A selected slicer item with no data and over which the mouse is paused on.
Used for slicers only.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
simple type.
<xsd:simpleType name="ST_SlicerStyleType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="unselectedItemWithData"/>
<xsd:enumeration value="selectedItemWithData"/>
<xsd:enumeration value="unselectedItemWithNoData"/>
<xsd:enumeration value="selectedItemWithNoData"/>
<xsd:enumeration value="hoveredUnselectedItemWithData"/>
<xsd:enumeration value="hoveredSelectedItemWithData"/>
<xsd:enumeration value="hoveredUnselectedItemWithNoData"/>
<xsd:enumeration value="hoveredSelectedItemWithNoData"/>
</xsd:restriction>
</xsd:simpleType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.7.14 ST_ObjectType
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_FormControlPr
A simple type that specifies the types of form control objects. The possible values are included in the
following table.
Value
Meaning
Button
Button control
CheckBox
Check-box control
228 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
Value
Meaning
Drop
GBox
Group box control; this control is used for grouping radio button form controls
Label
Label control
List
Radio
Scroll
Spin
EditBox
Dialog
Dialog control
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
simple type.
<xsd:simpleType name="ST_ObjectType">
<xsd:restriction base="xsd:token">
<xsd:enumeration value="Button"/>
<xsd:enumeration value="CheckBox"/>
<xsd:enumeration value="Drop"/>
<xsd:enumeration value="GBox"/>
<xsd:enumeration value="Label"/>
<xsd:enumeration value="List"/>
<xsd:enumeration value="Radio"/>
<xsd:enumeration value="Scroll"/>
<xsd:enumeration value="Spin"/>
<xsd:enumeration value="EditBox"/>
<xsd:enumeration value="Dialog"/>
</xsd:restriction>
</xsd:simpleType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.7.15 ST_Checked
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_FormControlPr
A simple type that specifies if a check box is selected or if the radio button is selected.
Value
Meaning
Unchecked
Checked
Mixed
Mixed selection. Applies only to check boxes. The application can determine whether to consider this
option as a check box that is not initialized and it is neither selected nor cleared.
229 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
simple type.
<xsd:simpleType name="ST_Checked">
<xsd:restriction base="xsd:token">
<xsd:enumeration value="Unchecked"/>
<xsd:enumeration value="Checked"/>
<xsd:enumeration value="Mixed"/>
</xsd:restriction>
</xsd:simpleType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.7.16 ST_DropStyle
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_FormControlPr
This simple type specifies the style of a drop-down form control. The allowed values are included in
the following table.
Value
Meaning
combo
comboedit
simple
Standard combo box with only the drop-down button visible when the box is not expanded.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
simple type.
<xsd:simpleType name="ST_DropStyle">
<xsd:restriction base="xsd:token">
<xsd:enumeration value="combo"/>
<xsd:enumeration value="comboedit"/>
<xsd:enumeration value="simple"/>
</xsd:restriction>
</xsd:simpleType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.7.17 ST_SelType
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_FormControlPr
A simple type that specifies the selection type for the list box form control object. The allowed values
are included in the following table.
Value
Meaning
single
230 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
Value
Meaning
multi
Multiple selection is allowed. Clicking any item on the list will add it to the selection or, if already
selected, will remove it from the selection.
extended
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
simple type.
<xsd:simpleType name="ST_SelType">
<xsd:restriction base="xsd:token">
<xsd:enumeration value="single"/>
<xsd:enumeration value="multi"/>
<xsd:enumeration value="extended"/>
</xsd:restriction>
</xsd:simpleType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.7.18 ST_EditValidation
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_FormControlPr
This simple type specifies the type of validation used for data input to the control. If omitted, the
value is assumed to be text. If present, the application can proceed to validate the data accordingly.
The valid values are included in the following table.
Value
Meaning
text
integer
number
reference
formula
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
simple type.
<xsd:simpleType name="ST_EditValidation">
<xsd:restriction base="xsd:token">
<xsd:enumeration value="text"/>
<xsd:enumeration value="integer"/>
<xsd:enumeration value="number"/>
<xsd:enumeration value="reference"/>
<xsd:enumeration value="formula"/>
</xsd:restriction>
</xsd:simpleType>
231 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.7.19 ST_OlapSlicerCacheSortOrder
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_OlapSlicerCacheLevelData
A simple type that specifies how the OLAP slicer items are sorted in the slicer view.
Value
Meaning
natural
The OLAP slicer items are sorted in original order as determined by the OLAP slicer source data.
ascending
descending
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
simple type.
<xsd:simpleType name="ST_OlapSlicerCacheSortOrder">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="natural"/>
<xsd:enumeration value="ascending"/>
<xsd:enumeration value="descending"/>
</xsd:restriction>
</xsd:simpleType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.7.20 ST_TabularSlicerCacheSortOrder
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_TableSlicerCache, CT_TabularSlicerCache
A simple type that specifies how the non-OLAP slicer items are sorted in the slicer view.
Value
Meaning
ascending
descending
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
simple type.
<xsd:simpleType name="ST_TabularSlicerCacheSortOrder">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="ascending"/>
<xsd:enumeration value="descending"/>
</xsd:restriction>
</xsd:simpleType>
232 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.7.21 ST_SlicerCacheCrossFilter
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_TableSlicerCache, CT_OlapSlicerCacheLevelData, CT_TabularSlicerCache
A simple type that specifies how the slicer items that are used in slicer cross filtering are displayed.
Value
Meaning
none
The table style ([ISO/IEC29500-1:2011] section 18.8) element of the slicer style for
slicer items with no data is not applied to slicer items with no data, and slicer items
with no data are not sorted separately in the list of slicer items in the slicer view.
showItemsWithDataAtTop
The table style ([ISO/IEC29500-1:2011] section 18.8) element of the slicer style for
slicer items with no data is applied to slicer items with no data, and slicer items with
no data are sorted at the bottom in the list of slicer items in the slicer view.
showItemsWithNoData
The table style ([ISO/IEC29500-1:2011] section 18.8) element of the slicer style for
slicer items with no data is applied to slicer items with no data, and slicer items with
no data are not sorted separately in the list of slicer items in the slicer view.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
simple type.
<xsd:simpleType name="ST_SlicerCacheCrossFilter">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="none"/>
<xsd:enumeration value="showItemsWithDataAtTop"/>
<xsd:enumeration value="showItemsWithNoData"/>
</xsd:restriction>
</xsd:simpleType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.7.22 ST_TextHAlign
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_FormControlPr
A simple type that specifies the vertical text alignment for the object. The valid values are included in
the following table.
Value
Meaning
left
Left alignment
center
Center alignment
right
Right alignment
justify
Justify alignment
distributed
Distributed alignment
233 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
simple type.
<xsd:simpleType name="ST_TextHAlign">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="left"/>
<xsd:enumeration value="center"/>
<xsd:enumeration value="right"/>
<xsd:enumeration value="justify"/>
<xsd:enumeration value="distributed"/>
</xsd:restriction>
</xsd:simpleType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.7.23 ST_TextVAlign
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_FormControlPr
A simple type that specifies the vertical text alignment for the object. The valid values are included in
the following table.
Value
Meaning
top
Top alignment
center
Center alignment
bottom
Bottom alignment
justify
Justify alignment
distributed
Distributed alignment
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
simple type.
<xsd:simpleType name="ST_TextVAlign">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="top"/>
<xsd:enumeration value="center"/>
<xsd:enumeration value="bottom"/>
<xsd:enumeration value="justify"/>
<xsd:enumeration value="distributed"/>
</xsd:restriction>
</xsd:simpleType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.7.24 ST_TimelineStyleType
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2010/11/main
234 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
Meaning
selectionLabel
Timeline style element that applies to the selection label which is the label that
indicates the period that has been selected on the Timeline. Used for Timelines only.
timeLevel
Timeline style element that applies to the time level which is the label that indicates
the time granularity of the Timeline. Used for Timelines only.
periodLabel1
Timeline style element that applies to the upper row of the time block labels. Used for
Timelines only.
periodLabel2
Timeline style element that applies to the lower row of the time block labels. Used for
Timelines only.
selectedTimeBlock
Timeline style element that applies to the selected time blocks which are the segments
on the Timeline that have been selected by the user. Used for Timelines only.
unselectedTimeBlock
Timeline style element that applies to the unselected time blocks which are the
segments on the Timeline that have not been selected by the user. Used for Timelines
only.
selectedTimeBlockSpace
Timeline style element that applies to the area between any two selected time blocks.
Used for Timelines only.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
simple type.
<xsd:simpleType name="ST_TimelineStyleType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="selectionLabel"/>
<xsd:enumeration value="timeLevel"/>
<xsd:enumeration value="periodLabel1"/>
<xsd:enumeration value="periodLabel2"/>
<xsd:enumeration value="selectedTimeBlock"/>
<xsd:enumeration value="unselectedTimeBlock"/>
<xsd:enumeration value="selectedTimeBlockSpace"/>
</xsd:restriction>
</xsd:simpleType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.7.25 ST_CalcMemNumberFormat
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2010/11/main
Referenced by: CT_CalculatedMember
An enumeration that specifies the display format for a CT_CalculatedMember.
Value
Meaning
default
Specifies that the number will be displayed using its current format.
number
Specifies that the number will be displayed using a comma as a thousands separator.
235 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
Value
Meaning
percent
Specifies that the number will be displayed as a percentage with two decimal places.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
simple type.
<xsd:simpleType name="ST_CalcMemNumberFormat">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="default"/>
<xsd:enumeration value="number"/>
<xsd:enumeration value="percent"/>
</xsd:restriction>
</xsd:simpleType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.7.26 ST_SXVCellType
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2010/11/main
Referenced by: CT_PivotValueCell
A simple type that specifies the type of a PivotValueCell element of a PivotTable ([ISO/IEC295001:2011] section 18.10) that is specified by a pivotTableReference element in the extension of a
workbook.
Value
Meaning
The child element v of the CT_PivotValueCell. MUST be interpreted as a Boolean value. MUST be true or
false.
The child element v of the CT_PivotValueCell. MUST be interpreted as an error value. MUST be one of
the following:
#DIV/0!
#VALUE!
#NUM!
#N/A
#GETTING_DATA
str
The child element v of the CT_PivotValueCell. MUST be interpreted as a string value. The string MUST be
less than or equal to 65,535 characters in length.
bl
A blank cell. The child element v of the CT_PivotValueCell. MUST NOT have any value.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
simple type.
<xsd:simpleType name="ST_SXVCellType">
236 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
<xsd:restriction base="xsd:string">
<xsd:enumeration value="b"/>
<xsd:enumeration value="n"/>
<xsd:enumeration value="e"/>
<xsd:enumeration value="str"/>
<xsd:enumeration value="d"/>
<xsd:enumeration value="bl"/>
</xsd:restriction>
</xsd:simpleType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.7.27 ST_QuestionType
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2010/11/main
Referenced by: CT_SurveyQuestion
The ST_QuestionType simple type specifies the type of input for the answer to a survey question as
specified by the type attribute of a CT_SurveyQuestion (section 2.6.145).
Value
Meaning
checkBox
choice
date
time
multipleLinesOfText
number
Answer is numerical.
singleLineOfText
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
simple type.
<xsd:simpleType name="ST_QuestionType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="checkBox"/>
<xsd:enumeration value="choice"/>
<xsd:enumeration value="date"/>
<xsd:enumeration value="time"/>
<xsd:enumeration value="multipleLinesOfText"/>
<xsd:enumeration value="number"/>
<xsd:enumeration value="singleLineOfText"/>
</xsd:restriction>
</xsd:simpleType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.7.28 ST_QuestionFormat
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2010/11/main
237 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
Meaning
generalDate
longDate
shortDate
longTime
shortTime
generalNumber
standard
fixed
Format answer as a number with a fixed number of digits after the decimal.
percent
currency
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
simple type.
<xsd:simpleType name="ST_QuestionFormat">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="generalDate"/>
<xsd:enumeration value="longDate"/>
<xsd:enumeration value="shortDate"/>
<xsd:enumeration value="longTime"/>
<xsd:enumeration value="shortTime"/>
<xsd:enumeration value="generalNumber"/>
<xsd:enumeration value="standard"/>
<xsd:enumeration value="fixed"/>
<xsd:enumeration value="percent"/>
<xsd:enumeration value="currency"/>
</xsd:restriction>
</xsd:simpleType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.7.29 ST_SurveyPosition
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2010/11/main
Referenced by: CT_SurveyElementPr
The ST_SurveyPosition simple type specifies the type of positioning of an element in a survey, as
specified by the position attribute of a CT_SurveyElementPr (section 2.6.146). The types
correspond to the allowed values for the position property of Cascading Style Sheets 2.1, as defined in
[CSS-Level2-2009].
238 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
Value
Meaning
absolute
fixed
relative
static
inherit
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
simple type.
<xsd:simpleType name="ST_SurveyPosition">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="absolute"/>
<xsd:enumeration value="fixed"/>
<xsd:enumeration value="relative"/>
<xsd:enumeration value="static"/>
<xsd:enumeration value="inherit"/>
</xsd:restriction>
</xsd:simpleType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.7.30 ST_ModelTimeGroupingContentType
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2014/11/main
Referenced by: CT_CalculatedTimeColumn
Specifies the grouping content type inside a calculated column.
Value
Meaning
years
Years
quarters
Quarters
monthsindex
Months Index
months
Months
daysindex
Days Index
days
Days
hours
Hours
minutes
Minutes
seconds
Seconds
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this
simple type.
239 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
<xsd:simpleType name="ST_ModelTimeGroupingContentType">
<xsd:restriction base="x:ST_Xstring">
<xsd:enumeration value="years"/>
<xsd:enumeration value="quarters"/>
<xsd:enumeration value="monthsindex"/>
<xsd:enumeration value="months"/>
<xsd:enumeration value="daysindex"/>
<xsd:enumeration value="days"/>
<xsd:enumeration value="hours"/>
<xsd:enumeration value="minutes"/>
<xsd:enumeration value="seconds"/>
</xsd:restriction>
</xsd:simpleType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
240 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
Structure Examples
This section contains examples of some of the most commonly used data structures in Excel Binary
File Format files. The examples are meant to be a starting point for an implementer learning the file
format. They are not meant to cover all records in the file format.
In the following sections, the schema definition might differ from the processing rules imposed by the
application. The XSD in this specification provides a base description of the file format. The text that
introduces the XSD specifies additional restrictions that reflect actual Microsoft product behavior. For
example, the schema definition might allow for an element to be empty, null, or not present but the
behavior of the application as specified restricts the same elements to being non-empty, not null, and
present.
3.1
Slicer
This example shows a slicer attached to a native PivotTable and its associated slicer cache. The
PivotTable has the "State" and "City" fields added to the row area and the "Population" field added to
the data area. The slicer is based on the "State" field, and is currently filtering on "Washington".
The following figure shows a possible implementation of the slicer discussed in this example.
241 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
The following table describes the slicerCacheDefinition element used in this example.
Attribute name
Value
Notes
name
Slicer_State
sourceName
State
The following table describes the pivotTable element used in this example.
Attribute name
Value
Notes
tabId
name
PivotTable1
242 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
The following table describes the tabular element used in this example.
Attribute name
Value
Notes
pivotCacheId
The following table describes the items element used in this example.
Attribute name
Value
Notes
count
The following table describes the first i (item) element used in this example.
Attribute name
Value
Notes
The following table describes the second i (item) element used in this example.
Attribute name
Value
Notes
The following table describes the slicer element used in this example.
Attribute name
Value
Notes
name
State
cache
Slicer_State
caption
State
rowHeight
228600
243 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
244 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
Security Considerations
4.1
The password verifier features available in the file format are used to prevent accidental modification,
rather than being used as security features. It is possible to remove the passwords by removing the
records containing the verifier values.
The translation of passwords from a double-byte Unicode string to a new character string in the ANSI
code page of the current system converts any Unicode character that cannot be mapped to the ANSI
code page of the current system to the 0x3F character in that code page, as described in
[ISO/IEC29500-1:2011] section 18.2.29. Replacing these characters with "0x3F" when the hash is
verified will generate positive hash value matches. In certain locales, this can be a significant portion
of the everyday character set.
Further security considerations regarding the file encryption algorithms are described in [MSOFFCRYPTO] section 4.3.
4.2
None.
245 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
For ease of implementation, this section provides the full W3C XML schemas for the new elements,
attributes, complex types, and simple types specified in the earlier sections. Any schema references to
namespaces included in Office Open XML file formats as described in [ISO/IEC29500:2011] refer
specifically to the transitional schemas as described in [ISO/IEC29500-4:2011].
For ease of implementation, the following sections provide the full XML schema for this protocol.
Schema name
Prefix
Section
schemas.microsoft.com/office/excel/2006/main
section 5.1
schemas.microsoft.com/office/drawing/2010/slicer
section 5.2
schemas.microsoft.com/office/spreadsheetml/2010/11/main
section 5.3
schemas.microsoft.com/office/spreadsheetml/2009/9/main
section 5.4
schemas.microsoft.com/office/spreadsheetml/2009/9/ac
section 5.5
xl12AcSchemaUri
section 5.6
schemas.microsoft.com/office/drawing/2012/timeslicer
section 5.7
5.1
http://schemas.microsoft.com/office/excel/2006/main Schema
<xsd:schema xmlns="http://schemas.microsoft.com/office/excel/2006/main"
elementFormDefault="qualified"
targetNamespace="http://schemas.microsoft.com/office/excel/2006/main"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:x="http://schemas.openxmlformats.org/spreadsheetml/2006/main">
<xsd:import namespace="http://schemas.openxmlformats.org/spreadsheetml/2006/main"
schemaLocation="xlbasictypes.xsd"/>
<xsd:simpleType name="ST_Ref">
<xsd:restriction base="xsd:string"/>
</xsd:simpleType>
<xsd:complexType name="CT_Ref">
<xsd:simpleContent>
<xsd:extension base="ST_Ref">
<xsd:attribute name="edited" type="xsd:boolean" use="optional"/>
<xsd:attribute name="adjusted" type="xsd:boolean" use="optional"/>
<xsd:attribute name="adjust" type="xsd:boolean" use="optional"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:simpleType name="ST_Sqref">
<xsd:list itemType="ST_Ref"/>
</xsd:simpleType>
<xsd:complexType name="CT_Sqref">
<xsd:simpleContent>
<xsd:extension base="ST_Sqref">
<xsd:attribute name="edited" type="xsd:boolean" use="optional"/>
<xsd:attribute name="split" type="xsd:boolean" use="optional"/>
<xsd:attribute name="adjusted" type="xsd:boolean" use="optional"/>
<xsd:attribute name="adjust" type="xsd:boolean" use="optional"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:element name="f" type="x:ST_Formula"/>
<xsd:element name="ref" type="CT_Ref"/>
<xsd:element name="sqref" type="CT_Sqref"/>
246 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
</xsd:schema>
5.2
http://schemas.microsoft.com/office/drawing/2010/slicer Schema
<xsd:schema elementFormDefault="qualified"
targetNamespace="http://schemas.microsoft.com/office/drawing/2010/slicer"
xmlns="http://schemas.microsoft.com/office/drawing/2010/slicer"
xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main"
xmlns:a14="http://schemas.microsoft.com/office/drawing/2010/main"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:complexType name="CT_Slicer">
<xsd:sequence>
<xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0"
maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required"/>
</xsd:complexType>
<xsd:element name="slicer" type="CT_Slicer"/>
<xsd:import namespace="http://schemas.microsoft.com/office/drawing/2010/main"
schemaLocation="oart14docprop.xsd"/>
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main"
schemaLocation="oartdocprop.xsd"/>
<xsd:import namespace="http://schemas.openxmlformats.org/officeDocument/2006/relationships"
schemaLocation="orel.xsd"/>
</xsd:schema>
5.3
http://schemas.microsoft.com/office/spreadsheetml/2010/11/main Schema
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:x14="http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"
xmlns:x="http://schemas.openxmlformats.org/spreadsheetml/2006/main"
xmlns="http://schemas.microsoft.com/office/spreadsheetml/2010/11/main"
targetNamespace="http://schemas.microsoft.com/office/spreadsheetml/2010/11/main"
elementFormDefault="qualified"
xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"
xmlns:xm="http://schemas.microsoft.com/office/excel/2006/main">
<xsd:import namespace="http://schemas.openxmlformats.org/spreadsheetml/2006/main"
schemaLocation="xlbasictypes.xsd"/>
<xsd:import namespace="http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"
schemaLocation="xlslicercache.xsd"/>
<xsd:import namespace="http://schemas.openxmlformats.org/spreadsheetml/2006/main"
schemaLocation="xlworkbook.xsd"/>
<xsd:import namespace="http://schemas.microsoft.com/office/excel/2006/main"
schemaLocation="xlmbasictypes.xsd"/>
<xsd:import namespace="http://schemas.openxmlformats.org/spreadsheetml/2006/main"
schemaLocation="xlsheet.xsd"/>
<xsd:import namespace="http://schemas.openxmlformats.org/officeDocument/2006/relationships"
schemaLocation="orel.xsd"/>
<xsd:import namespace="http://schemas.openxmlformats.org/spreadsheetml/2006/main"
schemaLocation="xlpivot.xsd"/>
<xsd:import namespace="http://schemas.openxmlformats.org/spreadsheetml/2006/main"
schemaLocation="xlextconns.xsd"/>
<xsd:import namespace="http://schemas.microsoft.com/office/spreadsheetml/2014/11/main"
schemaLocation="xlpivot16.xsd"/>
<xsd:element name="slicerCaches" type="x14:CT_SlicerCaches"/>
<xsd:element name="tableSlicerCache" type="CT_TableSlicerCache"/>
<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"/>
247 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
</xsd:complexType>
<xsd:element name="workbookPr" type="CT_WorkbookPr"/>
<xsd:element name="timelineStyles" type="CT_TimelineStyles"/>
<xsd:complexType name="CT_TimelineStyles">
<xsd:sequence>
<xsd:element name="timelineStyle" type="CT_TimelineStyle" minOccurs="0"
maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="defaultTimelineStyle" type="xsd:string" use="required"/>
</xsd:complexType>
<xsd:complexType name="CT_TimelineStyleElements">
<xsd:sequence>
<xsd:element name="timelineStyleElement" type="CT_TimelineStyleElement" minOccurs="1"
maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CT_TimelineStyle">
<xsd:sequence>
<xsd:element name="timelineStyleElements" type="CT_TimelineStyleElements" minOccurs="0"
maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required"/>
</xsd:complexType>
<xsd:complexType name="CT_TimelineStyleElement">
<xsd:attribute name="type" type="ST_TimelineStyleType" use="required"/>
<xsd:attribute name="dxfId" type="x:ST_DxfId" use="optional"/>
</xsd:complexType>
<xsd:simpleType name="ST_TimelineStyleType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="selectionLabel"/>
<xsd:enumeration value="timeLevel"/>
<xsd:enumeration value="periodLabel1"/>
<xsd:enumeration value="periodLabel2"/>
<xsd:enumeration value="selectedTimeBlock"/>
<xsd:enumeration value="unselectedTimeBlock"/>
<xsd:enumeration value="selectedTimeBlockSpace"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:element name="dxfs" type="x:CT_Dxfs"/>
<xsd:element name="connection" type="CT_Connection"/>
<xsd:complexType name="CT_ModelTextPr">
<xsd:attribute name="headers" type="xsd:boolean" default="false" use="optional"/>
</xsd:complexType>
<xsd:complexType name="CT_RangePr">
<xsd:attribute name="sourceName" use="required" type="x:ST_Xstring"/>
</xsd:complexType>
<xsd:complexType name="CT_DbTable">
<xsd:attribute name="name" use="required" type="x:ST_Xstring"/>
</xsd:complexType>
<xsd:complexType name="CT_DbTables">
<xsd:sequence>
<xsd:element name="dbTable" minOccurs="1" maxOccurs="unbounded" type="CT_DbTable"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CT_DbCommand">
<xsd:attribute name="text" use="required" type="x:ST_Xstring"/>
</xsd:complexType>
<xsd:complexType name="CT_OledbPr">
<xsd:choice minOccurs="1" maxOccurs="1">
<xsd:element name="dbTables" type="CT_DbTables"/>
<xsd:element name="dbCommand" type="CT_DbCommand"/>
</xsd:choice>
<xsd:attribute name="connection" use="optional" type="x:ST_Xstring"/>
</xsd:complexType>
<xsd:complexType name="CT_DataFeedPr">
<xsd:sequence>
<xsd:element name="dbTables" type="CT_DbTables" minOccurs="1" maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="connection" use="required" type="x:ST_Xstring"/>
249 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
</xsd:complexType>
<xsd:complexType name="CT_Connection">
<xsd:sequence>
<xsd:element name="textPr" minOccurs="0" maxOccurs="1" type="x:CT_TextPr"/>
<xsd:element name="modelTextPr" minOccurs="0" maxOccurs="1" type="CT_ModelTextPr"/>
<xsd:element name="rangePr" minOccurs="0" maxOccurs="1" type="CT_RangePr"/>
<xsd:element name="oledbPr" minOccurs="0" maxOccurs="1" type="CT_OledbPr"/>
<xsd:element name="dataFeedPr" minOccurs="0" maxOccurs="1" type="CT_DataFeedPr"/>
</xsd:sequence>
<xsd:attribute name="id" use="required" type="x:ST_Xstring"/>
<xsd:attribute name="model" type="xsd:boolean" default="false" use="optional"/>
<xsd:attribute name="excludeFromRefreshAll" type="xsd:boolean" default="false"
use="optional"/>
<xsd:attribute name="autoDelete" type="xsd:boolean" default="false" use="optional"/>
<xsd:attribute name="usedByAddin" type="xsd:boolean" default="false" use="optional"/>
</xsd:complexType>
<xsd:simpleType name="ST_CalcMemNumberFormat">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="default"/>
<xsd:enumeration value="number"/>
<xsd:enumeration value="percent"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="CT_CalculatedMemberExt">
<xsd:sequence>
<xsd:element ref="calculatedMember" minOccurs="1" maxOccurs="1"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="calculatedMember" type="CT_CalculatedMember"/>
<xsd:complexType name="CT_CalculatedMember">
<xsd:attribute name="measureGroup" type="x:ST_Xstring" use="optional"/>
<xsd:attribute name="numberFormat" type="ST_CalcMemNumberFormat" use="optional"
default="default"/>
<xsd:attribute name="measure" type="xsd:boolean" use="optional" default="false"/>
</xsd:complexType>
<xsd:element name="pivotTableUISettings" type="CT_PivotTableUISettings"/>
<xsd:complexType name="CT_PivotTableUISettings">
<xsd:sequence>
<xsd:element name="activeTabTopLevelEntity" type="CT_FieldListActiveTabTopLevelEntity"
minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="extLst" type="x:CT_ExtensionList" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="sourceDataName" type="xsd:string" use="optional"/>
<xsd:attribute name="relNeededHidden" type="xsd:boolean" use="optional" default="false"/>
</xsd:complexType>
<xsd:complexType name="CT_FieldListActiveTabTopLevelEntity">
<xsd:attribute name="name" use="required" type="xsd:string"/>
<xsd:attribute name="type" use="optional" default="0" type="xsd:unsignedInt"/>
</xsd:complexType>
<xsd:element name="pivotFilter" type="CT_PivotFilter"/>
<xsd:complexType name="CT_PivotFilter">
<xsd:attribute name="useWholeDay" type="xsd:boolean" use="required"/>
</xsd:complexType>
<xsd:element name="cachedUniqueNames" type="CT_CachedUniqueNames"/>
<xsd:complexType name="CT_CachedUniqueNames">
<xsd:sequence>
<xsd:element name="cachedUniqueName" minOccurs="1" maxOccurs="unbounded"
type="CT_CachedUniqueName"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CT_CachedUniqueName">
<xsd:attribute name="index" use="required" type="xsd:unsignedInt"/>
<xsd:attribute name="name" use="required" type="x:ST_Xstring"/>
</xsd:complexType>
<xsd:complexType name="CT_CacheHierarchy">
<xsd:attribute name="aggregatedColumn" use="required" type="xsd:int"/>
</xsd:complexType>
<xsd:element name="cacheHierarchy" type="CT_CacheHierarchy"/>
<xsd:element name="timelinePivotCacheDefinition" type="CT_TimelinePivotCacheDefinition"/>
250 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
<xsd:complexType name="CT_TimelinePivotCacheDefinition">
<xsd:attribute name="timelineData" type="xsd:boolean" use="optional" default="false"/>
</xsd:complexType>
<xsd:element name="pivotCacheIdVersion" type="CT_PivotCacheIdVersion"/>
<xsd:complexType name="CT_PivotCacheIdVersion">
<xsd:attribute name="cacheIdSupportedVersion" type="xsd:unsignedByte" use="required"/>
<xsd:attribute name="cacheIdCreatedVersion" type="xsd:unsignedByte" use="required"/>
</xsd:complexType>
<xsd:complexType name="CT_ModelTable">
<xsd:attribute name="id" type="x:ST_Xstring" use="required"/>
<xsd:attribute name="name" type="x:ST_Xstring" use="required"/>
<xsd:attribute name="connection" type="x:ST_Xstring" use="required"/>
</xsd:complexType>
<xsd:complexType name="CT_ModelTables">
<xsd:sequence>
<xsd:element name="modelTable" minOccurs="1" maxOccurs="unbounded"
type="CT_ModelTable"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CT_ModelRelationship">
<xsd:attribute name="fromTable" type="x:ST_Xstring" use="required"/>
<xsd:attribute name="fromColumn" type="x:ST_Xstring" use="required"/>
<xsd:attribute name="toTable" type="x:ST_Xstring" use="required"/>
<xsd:attribute name="toColumn" type="x:ST_Xstring" use="required"/>
</xsd:complexType>
<xsd:complexType name="CT_ModelRelationships">
<xsd:sequence>
<xsd:element name="modelRelationship" minOccurs="1" maxOccurs="unbounded"
type="CT_ModelRelationship"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CT_DataModel">
<xsd:sequence>
<xsd:element name="modelTables" minOccurs="0" maxOccurs="1" type="CT_ModelTables"/>
<xsd:element name="modelRelationships" minOccurs="0" maxOccurs="1"
type="CT_ModelRelationships"/>
<xsd:element name="extLst" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="minVersionLoad" type="xsd:unsignedByte" use="optional" default="5"/>
</xsd:complexType>
<xsd:element name="dataModel" type="CT_DataModel"/>
<xsd:element name="pivotTableData" type="CT_PivotTableData"/>
<xsd:complexType name="CT_PivotTableData">
<xsd:sequence>
<xsd:element name="pivotRow" type="CT_PivotRow" minOccurs="1" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="rowCount" type="xsd:unsignedInt" use="required"/>
<xsd:attribute name="columnCount" type="xsd:unsignedInt" use="required"/>
<xsd:attribute name="cacheId" type="xsd:unsignedInt" use="required"/>
</xsd:complexType>
<xsd:complexType name="CT_PivotRow">
<xsd:sequence>
<xsd:element name="c" type="CT_PivotValueCell" minOccurs="1" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="r" type="xsd:unsignedInt" use="optional"/>
<xsd:attribute name="count" type="xsd:unsignedInt" use="required"/>
</xsd:complexType>
<xsd:complexType name="CT_PivotValueCell">
<xsd:sequence>
<xsd:element name="v" type="x:ST_Xstring" minOccurs="1" maxOccurs="1"/>
<xsd:element name="x" type="CT_PivotValueCellExtra" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="i" type="xsd:unsignedInt" use="optional"/>
<xsd:attribute name="t" type="ST_SXVCellType" use="optional" default="n"/>
</xsd:complexType>
<xsd:complexType name="CT_PivotValueCellExtra">
<xsd:attribute name="in" type="xsd:unsignedInt" use="optional"/>
<xsd:attribute name="bc" type="x:ST_UnsignedIntHex" use="optional"/>
<xsd:attribute name="fc" type="x:ST_UnsignedIntHex" use="optional"/>
251 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
253 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
5.4
http://schemas.microsoft.com/office/spreadsheetml/2009/9/main Schema
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"
xmlns="http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"
xmlns:x="http://schemas.openxmlformats.org/spreadsheetml/2006/main"
targetNamespace="http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"
elementFormDefault="qualified" xmlns:xm="http://schemas.microsoft.com/office/excel/2006/main"
xmlns:xr="http://schemas.microsoft.com/office/spreadsheetml/2014/revision">
<xsd:import namespace="http://schemas.openxmlformats.org/spreadsheetml/2006/main"
schemaLocation="xlbasictypes.xsd"/>
<xsd:import namespace="http://schemas.openxmlformats.org/spreadsheetml/2006/main"
schemaLocation="xlsheet.xsd"/>
<xsd:import namespace="http://schemas.openxmlformats.org/officeDocument/2006/relationships"
schemaLocation="orel.xsd"/>
<xsd:import namespace="http://schemas.microsoft.com/office/spreadsheetml/2010/11/main"
schemaLocation="xl15.xsd"/>
254 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
<xsd:import namespace="http://schemas.microsoft.com/office/spreadsheetml/2010/11/main"
schemaLocation="xlslicercache15.xsd"/>
<xsd:import namespace="http://schemas.openxmlformats.org/spreadsheetml/2006/main"
schemaLocation="xlpivot.xsd"/>
<xsd:import namespace="http://schemas.openxmlformats.org/spreadsheetml/2006/main"
schemaLocation="xlworkbook.xsd"/>
<xsd:import namespace="http://schemas.openxmlformats.org/spreadsheetml/2006/main"
schemaLocation="xlsupbook.xsd"/>
<xsd:import namespace="http://schemas.microsoft.com/office/excel/2006/main"
schemaLocation="xlmbasictypes.xsd"/>
<xsd:import namespace="http://schemas.microsoft.com/office/spreadsheetml/2014/revision"
schemaLocation="xlrevexignore.xsd"/>
<xsd:import schemaLocation="xlsst.xsd"
namespace="http://schemas.openxmlformats.org/spreadsheetml/2006/main"/>
<xsd:element name="slicerCacheDefinition" type="CT_SlicerCacheDefinition"/>
<xsd:complexType name="CT_SlicerCacheDefinition">
<xsd:sequence>
<xsd:element name="pivotTables" type="CT_SlicerCachePivotTables" minOccurs="0"
maxOccurs="1"/>
<xsd:element name="data" type="CT_SlicerCacheData" minOccurs="0" maxOccurs="1"/>
<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>
<xsd:simpleType name="ST_OlapSlicerCacheSortOrder">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="natural"/>
<xsd:enumeration value="ascending"/>
<xsd:enumeration value="descending"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="ST_TabularSlicerCacheSortOrder">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="ascending"/>
<xsd:enumeration value="descending"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="ST_SlicerCacheCrossFilter">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="none"/>
<xsd:enumeration value="showItemsWithDataAtTop"/>
<xsd:enumeration value="showItemsWithNoData"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="CT_SlicerCacheData">
<xsd:choice minOccurs="1" maxOccurs="1">
<xsd:element name="olap" type="CT_OlapSlicerCache" minOccurs="1" maxOccurs="1"/>
<xsd:element name="tabular" type="CT_TabularSlicerCache" minOccurs="1" maxOccurs="1"/>
</xsd:choice>
</xsd:complexType>
<xsd:complexType name="CT_SlicerCachePivotTables">
<xsd:sequence>
<xsd:element name="pivotTable" type="CT_SlicerCachePivotTable" minOccurs="1"
maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CT_SlicerCachePivotTable">
<xsd:attribute name="tabId" type="xsd:unsignedInt" use="required"/>
<xsd:attribute name="name" type="x:ST_Xstring" use="required"/>
</xsd:complexType>
<xsd:complexType name="CT_OlapSlicerCacheItem">
<xsd:sequence>
<xsd:element name="p" type="CT_OlapSlicerCacheItemParent" minOccurs="0"
maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="n" type="x:ST_Xstring" use="required"/>
<xsd:attribute name="c" type="x:ST_Xstring" use="optional"/>
<xsd:attribute name="nd" type="xsd:boolean" use="optional" default="false"/>
255 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
</xsd:complexType>
<xsd:complexType name="CT_OlapSlicerCacheItemParent">
<xsd:attribute name="n" type="x:ST_Xstring" use="required"/>
</xsd:complexType>
<xsd:complexType name="CT_OlapSlicerCacheRange">
<xsd:sequence>
<xsd:element name="i" type="CT_OlapSlicerCacheItem" minOccurs="1"
maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="startItem" type="xsd:unsignedInt" use="required"/>
</xsd:complexType>
<xsd:complexType name="CT_OlapSlicerCacheRanges">
<xsd:sequence>
<xsd:element name="range" type="CT_OlapSlicerCacheRange" minOccurs="0"
maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CT_OlapSlicerCacheLevelData">
<xsd:sequence>
<xsd:element name="ranges" type="CT_OlapSlicerCacheRanges" minOccurs="0"
maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="uniqueName" type="x:ST_Xstring" use="required"/>
<xsd:attribute name="sourceCaption" type="x:ST_Xstring" use="optional"/>
<xsd:attribute name="count" type="xsd:unsignedInt" use="required"/>
<xsd:attribute name="sortOrder" type="ST_OlapSlicerCacheSortOrder" use="optional"
default="natural"/>
<xsd:attribute name="crossFilter" type="ST_SlicerCacheCrossFilter" use="optional"
default="showItemsWithDataAtTop"/>
</xsd:complexType>
<xsd:complexType name="CT_OlapSlicerCacheLevelsData">
<xsd:sequence>
<xsd:element name="level" type="CT_OlapSlicerCacheLevelData" minOccurs="1"
maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="count" type="xsd:unsignedInt" use="optional"/>
</xsd:complexType>
<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>
<xsd:complexType name="CT_OlapSlicerCacheSelections">
<xsd:sequence>
<xsd:element name="selection" type="CT_OlapSlicerCacheSelection" minOccurs="1"
maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="count" type="xsd:unsignedInt" use="optional"/>
</xsd:complexType>
<xsd:complexType name="CT_OlapSlicerCacheSelection">
<xsd:sequence>
<xsd:element name="p" type="CT_OlapSlicerCacheItemParent" minOccurs="0"
maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="n" type="x:ST_Xstring" use="required"/>
</xsd:complexType>
<xsd:complexType name="CT_TabularSlicerCache">
<xsd:sequence>
<xsd:element name="items" type="CT_TabularSlicerCacheItems" minOccurs="0"
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"/>
256 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
<xsd:enumeration value="column"/>
<xsd:enumeration value="stacked"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="CT_Sparklines">
<xsd:sequence>
<xsd:element name="sparkline" type="CT_Sparkline" minOccurs="1" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CT_Sparkline">
<xsd:sequence>
<xsd:element ref="xm:f" minOccurs="0" maxOccurs="1"/>
<xsd:element ref="xm:sqref" minOccurs="1" maxOccurs="1"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="pivotCaches" type="x:CT_PivotCaches"/>
<xsd:element name="slicerCaches" type="CT_SlicerCaches"/>
<xsd:element name="workbookPr" type="CT_WorkbookPr"/>
<xsd:complexType name="CT_WorkbookPr">
<xsd:attribute name="defaultImageDpi" type="xsd:unsignedInt" default="220"/>
<xsd:attribute name="discardImageEditData" type="xsd:boolean" default="false"/>
<xsd:attribute name="accuracyVersion" type="xsd:unsignedInt" default="0"/>
</xsd:complexType>
<xsd:complexType name="CT_SlicerRefs">
<xsd:sequence>
<xsd:element name="slicer" type="CT_SlicerRef" minOccurs="1" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CT_SlicerRef">
<xsd:attribute ref="r:id" use="required"/>
</xsd:complexType>
<xsd:complexType name="CT_SlicerCaches">
<xsd:sequence>
<xsd:element name="slicerCache" type="CT_SlicerCache" minOccurs="1"
maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CT_SlicerCache">
<xsd:attribute ref="r:id" use="required"/>
</xsd:complexType>
<xsd:element name="calculatedMember" type="CT_CalculatedMember"/>
<xsd:complexType name="CT_CalculatedMember">
<xsd:sequence>
<xsd:element name="tupleSet" minOccurs="0" maxOccurs="1" type="CT_TupleSet"/>
</xsd:sequence>
<xsd:attribute name="displayFolder" type="x:ST_Xstring" use="optional"/>
<xsd:attribute name="flattenHierarchies" type="xsd:boolean" use="optional"
default="true"/>
<xsd:attribute name="dynamicSet" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="hierarchizeDistinct" type="xsd:boolean" use="optional"
default="true"/>
<xsd:attribute name="mdxLong" type="x:ST_Xstring" use="optional"/>
</xsd:complexType>
<xsd:complexType name="CT_TupleSet">
<xsd:sequence>
<xsd:element name="headers" type="CT_TupleSetHeaders" minOccurs="1" maxOccurs="1"/>
<xsd:element name="rows" type="CT_TupleSetRows" minOccurs="1" maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="rowCount" type="xsd:unsignedInt" use="optional" default="1"/>
<xsd:attribute name="columnCount" type="xsd:unsignedInt" use="optional" default="1"/>
</xsd:complexType>
<xsd:complexType name="CT_TupleSetHeaders">
<xsd:sequence>
<xsd:element name="header" type="CT_TupleSetHeader" minOccurs="1"
maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CT_TupleSetHeader">
<xsd:attribute name="uniqueName" type="x:ST_Xstring" use="optional"/>
259 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
<xsd:restriction base="xsd:string">
<xsd:enumeration value="num"/>
<xsd:enumeration value="percent"/>
<xsd:enumeration value="max"/>
<xsd:enumeration value="min"/>
<xsd:enumeration value="formula"/>
<xsd:enumeration value="percentile"/>
<xsd:enumeration value="autoMin"/>
<xsd:enumeration value="autoMax"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="CT_Cfvo">
<xsd:sequence>
<xsd:element ref="xm:f" minOccurs="0" maxOccurs="1"/>
<xsd:element name="extLst" type="x:CT_ExtensionList" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="type" type="ST_CfvoType" use="required"/>
<xsd:attribute name="gte" type="xsd:boolean" use="optional" default="true"/>
</xsd:complexType>
<xsd:complexType name="CT_CfRule">
<xsd:sequence>
<xsd:element ref="xm:f" minOccurs="0" maxOccurs="3"/>
<xsd:element name="colorScale" type="CT_ColorScale" minOccurs="0" maxOccurs="1"/>
<xsd:element name="dataBar" type="CT_DataBar" minOccurs="0" maxOccurs="1"/>
<xsd:element name="iconSet" type="CT_IconSet" minOccurs="0" maxOccurs="1"/>
<xsd:element name="dxf" type="x:CT_Dxf" minOccurs="0" maxOccurs="1"/>
<xsd:element name="extLst" type="x:CT_ExtensionList" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="type" type="x:ST_CfType" use="optional"/>
<xsd:attribute name="priority" type="xsd:int" use="optional"/>
<xsd:attribute name="stopIfTrue" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="aboveAverage" type="xsd:boolean" use="optional" default="true"/>
<xsd:attribute name="percent" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="bottom" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="operator" type="x:ST_ConditionalFormattingOperator" use="optional"/>
<xsd:attribute name="text" type="xsd:string" use="optional"/>
<xsd:attribute name="timePeriod" type="x:ST_TimePeriod" use="optional"/>
<xsd:attribute name="rank" type="xsd:unsignedInt" use="optional"/>
<xsd:attribute name="stdDev" type="xsd:int" use="optional"/>
<xsd:attribute name="equalAverage" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="activePresent" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="id" type="x:ST_Guid" use="optional"/>
</xsd:complexType>
<xsd:complexType name="CT_IconSet">
<xsd:sequence>
<xsd:element name="cfvo" type="CT_Cfvo" minOccurs="2" maxOccurs="unbounded"/>
<xsd:element name="cfIcon" type="CT_CfIcon" minOccurs="0" maxOccurs="5"/>
</xsd:sequence>
<xsd:attribute name="iconSet" type="ST_IconSetType" use="optional"
default="3TrafficLights1"/>
<xsd:attribute name="showValue" type="xsd:boolean" use="optional" default="true"/>
<xsd:attribute name="percent" type="xsd:boolean" use="optional" default="true"/>
<xsd:attribute name="reverse" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="custom" type="xsd:boolean" use="optional" default="false"/>
</xsd:complexType>
<xsd:complexType name="CT_ColorScale">
<xsd:sequence>
<xsd:element name="cfvo" type="CT_Cfvo" minOccurs="2" maxOccurs="unbounded"/>
<xsd:element name="color" type="x:CT_Color" minOccurs="2" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CT_DataBar">
<xsd:sequence>
<xsd:element name="cfvo" type="CT_Cfvo" minOccurs="2" maxOccurs="2"/>
<xsd:element name="fillColor" type="x:CT_Color" minOccurs="0" maxOccurs="1"/>
<xsd:element name="borderColor" type="x:CT_Color" minOccurs="0" maxOccurs="1"/>
<xsd:element name="negativeFillColor" type="x:CT_Color" minOccurs="0" maxOccurs="1"/>
<xsd:element name="negativeBorderColor" type="x:CT_Color" minOccurs="0" maxOccurs="1"/>
<xsd:element name="axisColor" type="x:CT_Color" minOccurs="0" maxOccurs="1"/>
261 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
</xsd:sequence>
<xsd:attribute name="minLength" type="xsd:unsignedInt" use="optional" default="10"/>
<xsd:attribute name="maxLength" type="xsd:unsignedInt" use="optional" default="90"/>
<xsd:attribute name="showValue" type="xsd:boolean" use="optional" default="true"/>
<xsd:attribute name="border" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="gradient" type="xsd:boolean" use="optional" default="true"/>
<xsd:attribute name="direction" type="ST_DataBarDirection" use="optional"
default="context"/>
<xsd:attribute name="negativeBarColorSameAsPositive" type="xsd:boolean" use="optional"
default="false"/>
<xsd:attribute name="negativeBarBorderColorSameAsPositive" type="xsd:boolean"
use="optional" default="true"/>
<xsd:attribute name="axisPosition" type="ST_DataBarAxisPosition" use="optional"
default="automatic"/>
</xsd:complexType>
<xsd:element name="pivotField" type="CT_PivotField"/>
<xsd:complexType name="CT_PivotField">
<xsd:attribute name="fillDownLabels" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="ignore" type="xsd:boolean" default="false" use="optional"/>
</xsd:complexType>
<xsd:element name="pivotTableDefinition" type="CT_PivotTableDefinition"/>
<xsd:complexType name="CT_PivotTableDefinition">
<xsd:sequence>
<xsd:element name="pivotEdits" type="CT_PivotEdits" minOccurs="0" maxOccurs="1"/>
<xsd:element name="pivotChanges" type="CT_PivotChanges" minOccurs="0" maxOccurs="1"/>
<xsd:element name="conditionalFormats" type="CT_ConditionalFormats" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="fillDownLabelsDefault" type="xsd:boolean" use="optional"
default="false"/>
<xsd:attribute name="visualTotalsForSets" type="xsd:boolean" use="optional"
default="false"/>
<xsd:attribute name="calculatedMembersInFilters" type="xsd:boolean" use="optional"
default="false"/>
<xsd:attribute name="altText" type="x:ST_Xstring" use="optional"/>
<xsd:attribute name="altTextSummary" type="x:ST_Xstring" use="optional"/>
<xsd:attribute name="enableEdit" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="autoApply" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="allocationMethod" type="ST_AllocationMethod" use="optional"
default="equalAllocation"/>
<xsd:attribute name="weightExpression" type="x:ST_Xstring" use="optional"/>
<xsd:attribute name="hideValuesRow" type="xsd:boolean" use="optional" default="false"/>
</xsd:complexType>
<xsd:element name="pivotCacheDefinition" type="CT_PivotCacheDefinition"/>
<xsd:complexType name="CT_PivotCacheDefinition">
<xsd:attribute name="slicerData" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="pivotCacheId" type="xsd:unsignedInt" use="optional"/>
<xsd:attribute name="supportSubqueryNonVisual" type="xsd:boolean" use="optional"
default="false"/>
<xsd:attribute name="supportSubqueryCalcMem" type="xsd:boolean" use="optional"
default="false"/>
<xsd:attribute name="supportAddCalcMems" type="xsd:boolean" use="optional"
default="false"/>
</xsd:complexType>
<xsd:element name="connection" type="CT_Connection"/>
<xsd:complexType name="CT_Connection">
<xsd:sequence>
<xsd:element name="calculatedMembers" type="x:CT_CalculatedMembers" minOccurs="0"
maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="culture" use="optional" type="x:ST_Xstring"/>
<xsd:attribute name="embeddedDataId" use="optional" type="x:ST_Xstring"/>
</xsd:complexType>
<xsd:element name="table" type="CT_Table"/>
<xsd:complexType name="CT_Table">
<xsd:attribute name="altText" type="x:ST_Xstring" use="optional"/>
<xsd:attribute name="altTextSummary" type="x:ST_Xstring" use="optional"/>
</xsd:complexType>
<xsd:complexType name="CT_CfIcon">
<xsd:attribute name="iconSet" type="ST_IconSetType" use="required"/>
262 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
<xsd:simpleType name="ST_PivotEditValueType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="number"/>
<xsd:enumeration value="dateTime"/>
<xsd:enumeration value="string"/>
<xsd:enumeration value="boolean"/>
<xsd:enumeration value="error"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="CT_TupleItems">
<xsd:sequence>
<xsd:element name="tupleItem" type="x:ST_Xstring" minOccurs="1" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="ST_AllocationMethod">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="equalAllocation"/>
<xsd:enumeration value="equalIncrement"/>
<xsd:enumeration value="weightedAllocation"/>
<xsd:enumeration value="weightedIncrement"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="CT_SlicerStyle">
<xsd:sequence>
<xsd:element name="slicerStyleElements" type="CT_SlicerStyleElements" minOccurs="0"
maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required"/>
</xsd:complexType>
<xsd:complexType name="CT_SlicerStyleElement">
<xsd:attribute name="type" type="ST_SlicerStyleType" use="required"/>
<xsd:attribute name="dxfId" type="x:ST_DxfId" use="optional"/>
</xsd:complexType>
<xsd:simpleType name="ST_SlicerStyleType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="unselectedItemWithData"/>
<xsd:enumeration value="selectedItemWithData"/>
<xsd:enumeration value="unselectedItemWithNoData"/>
<xsd:enumeration value="selectedItemWithNoData"/>
<xsd:enumeration value="hoveredUnselectedItemWithData"/>
<xsd:enumeration value="hoveredSelectedItemWithData"/>
<xsd:enumeration value="hoveredUnselectedItemWithNoData"/>
<xsd:enumeration value="hoveredSelectedItemWithNoData"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:element name="slicerStyles" type="CT_SlicerStyles"/>
<xsd:element name="dxfs" type="x:CT_Dxfs"/>
<xsd:complexType name="CT_OleItem">
<xsd:sequence>
<xsd:element name="values" type="x:CT_DdeValues" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="name" type="x:ST_Xstring" use="required"/>
<xsd:attribute name="icon" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="advise" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="preferPic" type="xsd:boolean" use="optional" default="false"/>
</xsd:complexType>
<xsd:element name="oleItem" type="CT_OleItem"/>
<xsd:element name="pivotHierarchy" type="CT_PivotHierarchy"/>
<xsd:complexType name="CT_PivotHierarchy">
<xsd:attribute name="ignore" type="xsd:boolean" default="false" use="optional"/>
</xsd:complexType>
<xsd:element name="cacheField" type="CT_CacheField"/>
<xsd:complexType name="CT_CacheField">
<xsd:attribute name="ignore" type="xsd:boolean" default="false" use="optional"/>
</xsd:complexType>
<xsd:complexType name="CT_ConditionalFormats">
<xsd:sequence>
<xsd:element name="conditionalFormat" minOccurs="1" maxOccurs="unbounded"
type="CT_ConditionalFormat"/>
264 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
</xsd:sequence>
<xsd:attribute name="count" type="xsd:unsignedInt" use="optional"/>
</xsd:complexType>
<xsd:complexType name="CT_ConditionalFormat">
<xsd:sequence>
<xsd:element name="pivotAreas" type="x:CT_PivotAreas" minOccurs="0" maxOccurs="1"/>
<xsd:element name="extLst" minOccurs="0" maxOccurs="1" type="x:CT_ExtensionList"/>
</xsd:sequence>
<xsd:attribute name="scope" type="x:ST_Scope" default="selection" use="optional"/>
<xsd:attribute name="type" type="x:ST_Type" default="none" use="optional"/>
<xsd:attribute name="priority" use="optional" type="xsd:unsignedInt"/>
<xsd:attribute name="id" type="x:ST_Guid" use="required"/>
</xsd:complexType>
<xsd:complexType name="CT_SlicerStyles">
<xsd:sequence>
<xsd:element name="slicerStyle" type="CT_SlicerStyle" minOccurs="0"
maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="defaultSlicerStyle" type="xsd:string" use="required"/>
</xsd:complexType>
<xsd:complexType name="CT_SlicerStyleElements">
<xsd:sequence>
<xsd:element name="slicerStyleElement" type="CT_SlicerStyleElement" minOccurs="1"
maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="id" type="x:ST_Guid"/>
<xsd:complexType name="CT_IgnoredErrors">
<xsd:sequence>
<xsd:element name="ignoredError" type="CT_IgnoredError" minOccurs="0"
maxOccurs="unbounded"/>
<xsd:element name="extLst" type="x:CT_ExtensionList" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CT_IgnoredError">
<xsd:sequence>
<xsd:element ref="xm:sqref" minOccurs="1" maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="evalError" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="twoDigitTextYear" type="xsd:boolean" use="optional"
default="false"/>
<xsd:attribute name="numberStoredAsText" type="xsd:boolean" use="optional"
default="false"/>
<xsd:attribute name="formula" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="formulaRange" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="unlockedFormula" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="emptyCellReference" type="xsd:boolean" use="optional"
default="false"/>
<xsd:attribute name="listDataValidation" type="xsd:boolean" use="optional"
default="false"/>
<xsd:attribute name="calculatedColumn" type="xsd:boolean" use="optional"
default="false"/>
</xsd:complexType>
<xsd:complexType name="CT_ProtectedRanges">
<xsd:sequence>
<xsd:element name="protectedRange" type="CT_ProtectedRange" minOccurs="1"
maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CT_ProtectedRange">
<xsd:sequence maxOccurs="1">
<xsd:element ref="xm:sqref" minOccurs="1" maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="password" type="x:ST_UnsignedShortHex" use="optional"/>
<xsd:attribute name="algorithmName" type="x:ST_Xstring" use="optional"/>
<xsd:attribute name="hashValue" type="xsd:base64Binary" use="optional"/>
<xsd:attribute name="saltValue" type="xsd:base64Binary" use="optional"/>
<xsd:attribute name="spinCount" type="xsd:unsignedInt" use="optional"/>
<xsd:attribute name="name" type="x:ST_Xstring" use="required"/>
265 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
<xsd:enumeration value="distributed"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="ST_TextVAlign">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="top"/>
<xsd:enumeration value="center"/>
<xsd:enumeration value="bottom"/>
<xsd:enumeration value="justify"/>
<xsd:enumeration value="distributed"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="ST_EditValidation">
<xsd:restriction base="xsd:token">
<xsd:enumeration value="text"/>
<xsd:enumeration value="integer"/>
<xsd:enumeration value="number"/>
<xsd:enumeration value="reference"/>
<xsd:enumeration value="formula"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:element name="slicers" type="CT_Slicers"/>
<xsd:complexType name="CT_Slicers">
<xsd:sequence>
<xsd:element name="slicer" type="CT_Slicer" minOccurs="1" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CT_Slicer">
<xsd:sequence>
<xsd:element name="extLst" type="x:CT_ExtensionList" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="name" type="x:ST_Xstring" use="required"/>
<xsd:attribute name="cache" type="x:ST_Xstring" use="required"/>
<xsd:attribute name="caption" type="x:ST_Xstring" use="optional"/>
<xsd:attribute name="startItem" type="xsd:unsignedInt" use="optional" default="0"/>
<xsd:attribute name="columnCount" type="xsd:unsignedInt" use="optional" default="1"/>
<xsd:attribute name="showCaption" type="xsd:boolean" use="optional" default="true"/>
<xsd:attribute name="level" type="xsd:unsignedInt" use="optional" default="0"/>
<xsd:attribute name="style" type="x:ST_Xstring" use="optional"/>
<xsd:attribute name="lockedPosition" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="rowHeight" type="xsd:unsignedInt" use="required"/>
</xsd:complexType>
</xsd:schema>
5.5
http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac Schema
<xsd:schema targetNamespace="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac"
elementFormDefault="qualified" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"
xmlns="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac">
<xsd:attribute name="dyDescent" type="xsd:double"/>
<xsd:attribute name="knownFonts" type="xsd:boolean"/>
<xsd:import namespace="http://schemas.openxmlformats.org/officeDocument/2006/relationships"
schemaLocation="orel.xsd"/>
<xsd:import namespace="http://schemas.openxmlformats.org/spreadsheetml/2006/main"
schemaLocation="xlbasictypes.xsd"/>
</xsd:schema>
5.6
http://schemas.microsoft.com/office/spreadsheetml/2011/1/ac Schema
<xsd:schema targetNamespace="http://schemas.microsoft.com/office/spreadsheetml/2011/1/ac"
elementFormDefault="qualified" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:x="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns="xl12AcSchemaUri">
<xsd:element name="list" type="x:ST_Xstring"/>
268 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
<xsd:import namespace="http://schemas.openxmlformats.org/officeDocument/2006/relationships"
schemaLocation="orel.xsd"/>
<xsd:import namespace="http://schemas.openxmlformats.org/spreadsheetml/2006/main"
schemaLocation="xlbasictypes.xsd"/>
</xsd:schema>
5.7
http://schemas.microsoft.com/office/drawing/2012/timeslicer Schema
<xsd:schema elementFormDefault="qualified"
targetNamespace="http://schemas.microsoft.com/office/drawing/2012/timeslicer"
xmlns="http://schemas.microsoft.com/office/drawing/2012/timeslicer"
xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:complexType name="CT_Timeline">
<xsd:sequence>
<xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0"
maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required"/>
</xsd:complexType>
<xsd:element name="timeslicer" type="CT_Timeline"/>
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main"
schemaLocation="oartdocprop.xsd"/>
<xsd:import namespace="http://schemas.openxmlformats.org/officeDocument/2006/relationships"
schemaLocation="orel.xsd"/>
</xsd:schema>
5.8
http://schemas.microsoft.com/office/excel/2010/spreadsheetDrawing Schema
<xsd:schema elementFormDefault="qualified"
targetNamespace="http://schemas.microsoft.com/office/excel/2010/spreadsheetDrawing"
xmlns="http://schemas.microsoft.com/office/excel/2010/spreadsheetDrawing"
xmlns:xdr="http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing"
xmlns:xdr14="http://xldr14SchemaUri"
xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main"
xmlns:a14="http://schemas.microsoft.com/office/drawing/2010/main"
xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:complexType name="CT_ApplicationNonVisualDrawingProps">
<xsd:attribute name="macro" type="xsd:string" use="optional"/>
<xsd:attribute name="fPublished" type="xsd:boolean" use="optional" default="false"/>
</xsd:complexType>
<xsd:complexType name="CT_ContentPartNonVisual">
<xsd:sequence>
<xsd:element name="cNvPr" type="a:CT_NonVisualDrawingProps" minOccurs="1"
maxOccurs="1"/>
<xsd:element name="cNvContentPartPr" type="a14:CT_NonVisualInkContentPartProperties"
minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CT_ContentPart">
<xsd:sequence>
<xsd:element name="nvContentPartPr" type="CT_ContentPartNonVisual" minOccurs="0"
maxOccurs="1"/>
<xsd:element name="nvPr" type="CT_ApplicationNonVisualDrawingProps" minOccurs="0"
maxOccurs="1"/>
<xsd:element name="xfrm" type="a:CT_Transform2D" minOccurs="0" maxOccurs="1"/>
<xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0"
maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute ref="r:id" use="required"/>
<xsd:attribute name="bwMode" type="a:ST_BlackWhiteMode" use="optional" default="auto"/>
</xsd:complexType>
<xsd:element name="contentPart" type="CT_ContentPart"/>
269 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
<xsd:import namespace="http://schemas.microsoft.com/office/drawing/2010/main"
schemaLocation="oart14docprop.xsd"/>
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main"
schemaLocation="oartdocprop.xsd"/>
<xsd:import namespace="http://schemas.openxmlformats.org/officeDocument/2006/relationships"
schemaLocation="orel.xsd"/>
</xsd:schema>
5.9
http://schemas.microsoft.com/office/spreadsheetml/2010/11/ac Schema
<xsd:schema targetNamespace="http://schemas.microsoft.com/office/spreadsheetml/2010/11/ac"
elementFormDefault="qualified" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:x="http://schemas.openxmlformats.org/spreadsheetml/2006/main"
xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"
xmlns="http://schemas.microsoft.com/office/spreadsheetml/2010/11/ac">
<xsd:complexType name="CT_AbsolutePath">
<xsd:attribute name="url" use="required" type="x:ST_Xstring"/>
</xsd:complexType>
<xsd:element name="absPath" type="CT_AbsolutePath"/>
<xsd:import namespace="http://schemas.openxmlformats.org/officeDocument/2006/relationships"
schemaLocation="orel.xsd"/>
<xsd:import namespace="http://schemas.openxmlformats.org/spreadsheetml/2006/main"
schemaLocation="xlbasictypes.xsd"/>
</xsd:schema>
271 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
The information in this specification is applicable to the following Microsoft products or supplemental
software. References to product versions include released service packs.
Exceptions, if any, are noted below. If a service pack or Quick Fix Engineering (QFE) number appears
with the product version, behavior changed in that service pack or QFE. The new behavior also applies
to subsequent service packs of the product unless otherwise specified. If a product edition appears
with the product version, behavior is different in that product edition.
Unless otherwise specified, any statement of optional behavior in this specification that is prescribed
using the terms SHOULD or SHOULD NOT implies product behavior in accordance with the SHOULD or
SHOULD NOT prescription. Unless otherwise specified, the term MAY implies that the product does not
follow the prescription.
<1> Section 2.2: This namespace was introduced in Excel 2013.
<2> Section 2.2: This namespace was introduced in Excel 2010.
<3> Section 2.2: This namespace was introduced in Excel 2010.
<4> Section 2.2: This namespace was introduced in Excel 2013.
<5> Section 2.2: This namespace was introduced in Excel 2013.
<6> Section 2.5.2: This attribute is available only in Excel 2016.
<7> Section 2.6.3: Office Excel 2007, Excel 2010, and Excel 2013 do not always write the correct
value into this field. Although the value of this field (1) is validated on load, it is not used at run time.
<8> Section 2.6.3: Office Excel 2007, Excel 2010, and Excel 2013 do not always write the correct
value into this field. Although the value of this field (1) is validated on load, it is not used at run time.
<9> Section 2.6.10: The following table shows the different versions of function accuracy that Excel
2010 and Excel 2013 supports.
Value
0
1
2
Meaning
Functions are calculated using the current applications algorithms.
Functions are calculated using algorithms implemented in Office Excel 2007.
Functions are calculated using algorithms implemented in Excel 2010.
<10> Section 2.6.24: Office Excel 2007 does not support multiple uses of the same OLAP measure in
one cache hierarchy, and does not discard the associated cache hierarchy when ignore is TRUE.
<11> Section 2.6.25: Office Excel 2007 will not ignore the fld attribute of the ancestor
CT_DataField ([ISO/IEC29500-4:2011] section A.2).
<12> Section 2.6.30: Office Excel 2007 does not ignore these complex types.
<13> Section 2.6.31: Office Excel 2007 does not support multiple uses of the same OLAP measure in
one PivotTable view, and does not ignore this pivot field when ignore is TRUE.
272 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
<14> Section 2.6.34: The 2007 Microsoft Office system does not load a file in which this field
contains a value that it does not recognize, or is not recognized by the underlying operating system.
The 2007 Office system recognizes the following language tags.
Language
Locale
Language tag
Afrikaans
South Africa
af-ZA
Albanian
Albania
sq-AL
Alsatian
France
gsw-FR
Amharic
Ethiopia
am-ET
Arabic
Algeria
ar-DZ
Arabic
Kingdom of Bahrain
ar-BH
Arabic
Egypt
ar-EG
Arabic
Iraq
ar-IQ
Arabic
Jordan
ar-JO
Arabic
Kuwait
ar-KW
Arabic
Lebanon
ar-LB
Arabic
Libya
ar-LY
Arabic
Morocco
ar-MA
Arabic
Oman
ar-OM
Arabic
Qatar
ar-QA
Arabic
Saudi Arabia
ar-SA
Arabic
Syria
ar-SY
Arabic
Tunisia
ar-TN
Arabic
U.A.E.
ar-AE
Arabic
Yemen
ar-YE
Armenian
Armenia
hy-AM
Assamese
India
as-IN
Azeri (Cyrillic)
Azerbaijan
az-AZ-Cyrl
Azeri (Latin)
Azerbaijan
az-AZ-Latn
Bashkir
Russia
ba-RU
Basque
Basque (Basque)
eu-ES
273 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
Language
Locale
Language tag
Belarusian
Belarus
be-BY
Bengali
Bangladesh
bn-BD
India
bn-IN
Bosnian (Cyrillic)
bs-BA-Cyrl
Bosnian (Latin)
bs-BA-Latn
Breton
France
br-FR
Bulgarian
Bulgaria
bg-BG
Catalan
Catalan
ca-ES
Chinese
zh-HK
Chinese
Macao SAR
zh-MO
Chinese
PRC
zh-CN
Chinese
Singapore
zh-SG
Chinese
Taiwan
zh-TW
Corsican
France
co-FR
Croatian
Croatia
hr-HR
Croatian (Latin)
hr-BA-Latn
Czech
Czech Republic
cs-CZ
Danish
Denmark
da-DK
Dari
Afghanistan
prs-AF
Divehi
Maldives
div-MV
Dutch
Belgium
nl-BE
Dutch
Netherlands
nl-NL
English
Australia
en-AU
English
Belize
en-BZ
English
Canada
en-CA
English
Caribbean
en-CB
English
India
en-IN
English
Ireland
en-IE
274 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
Language
Locale
Language tag
English
Jamaica
en-JM
English
Malaysia
en-MY
English
New Zealand
en-NZ
English
Philippines
en-PH
English
South Africa
en-ZA
English
Trinidad
en-TT
English
United Kingdom
en-GB
English
United States
en-US
English
Zimbabwe
en-ZW
Estonian
Estonia
et-EE
Faroese
Faroe Islands
fo-FO
Filipino
Philippines
fil-PH
Finnish
Finland
fi-FI
French
Belgium
fr-BE
French
Canada
fr-CA
French
France
fr-FR
French
Luxembourg
fr-LU
French
Monaco
fr-MC
French
Switzerland
fr-CH
Frisian
Netherlands
fy-NL
Galician
Galicia
gl-ES
Georgian
Georgia
ka-GE
German
Austria
de-AT
German
Germany
de-DE
German
Liechtenstein
de-LI
German
Luxembourg
de-LU
German
Switzerland
de-CH
Greek
Greece
el-GR
275 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
Language
Locale
Language tag
Greenlandic
Greenland
kl-GL
India
gu-IN
Hausa (Latin)
Nigeria
ha-NG-Latn
Hebrew
Israel
he-IL
Hindi
India
hi-IN
Hungarian
Hungary
hu-HU
Icelandic
Iceland
is-IS
Igbo
Nigeria
ig-NG
Inari Sami
Finland
smn-FI
Indonesian
Indonesia
id-ID
Inuktitut (Latin)
Canada
iu-CA-Latn
Inuktitut (Syllabics)
Canada
iu-CA-Cans
Irish
Ireland
ga-IE
isiXhosa / Xhosa
South Africa
xh-ZA
isiZulu / Zulu
South Africa
zu-ZA
Italian
Italy
it-IT
Italian
Switzerland
it-CH
Japanese
Japan
ja-JP
India
kn-IN
Kazakh
Kazakhstan
kk-KZ
Khmer
Cambodia
kh-KH
K'iche
Guatemala
qut-GT
Kinyarwanda
Rwanda
rw-RW
Konkani
India
kok-IN
Korean
Korea
ko-KR
Kyrgyz
Kyrgyzstan
ky-KG
Lao
Lao PDR
lo-LA
Latvian
Latvia
lv-LV
276 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
Language
Locale
Language tag
Lithuanian
Lithuania
lt-LT
Lower Sorbian
Germany
wee-DE
Lule Sami
Norway
smj-NO
Lule Sami
Sweden
smj-SE
Luxembourgish
Luxembourg
lb-LU
mk-MK
Malay
Brunei
ms-BN
Malay
Malaysia
ms-MY
India
ml-IN
Maltese
Malta
mt-MT
Maori
New Zealand
mi-NZ
Mapudungun
Chile
arn-CL
Marathi
India
mr-IN
Mohawk
Mohawk
moh-CA
Mongolian (Cyrillic)
Mongolia
mn-MN
Mongolian (Mongolian)
PRC
mn-CN-Mong
Nepali
ne-NP
Northern Sami
Finland
se-FI
Northern Sami
Norway
se-NO
Northern Sami
Sweden
se-SE
Norwegian (Bokml)
Norway
nb-NO
Norwegian (Nynorsk)
Norway
nn-NO
Occitan
France
oc-FR
India
or-IN
Pashto
Afghanistan
ps-AF
Persian
Iran
fa-IR
Polish
Poland
pl-PL
Portuguese
Brazil
pt-BR
277 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
Language
Locale
Language tag
Portuguese
Portugal
pt-PT
India
pa-IN
Quechua
Bolivia
quz-BO
Quechua
Ecuador
quz-EC
Quechua
Peru
quz-PE
Romanian
Romania
ro-RO
Romansh
Switzerland
rm-CH
Russian
Russia
ru-RU
Sanskrit
India
sa-IN
Serbian (Cyrillic)
sr-BA-Cyrl
Serbian (Cyrillic)
Serbia
sr-SP-Cyrl
Serbian (Latin)
sr-BA-Latn
Serbian (Latin)
Serbia
sr-SP-Latn
South Africa
ns-ZA
Setswana / Tswana
South Africa
tn-ZA
Sinhala
Sri Lanka
si-LK
Skolt Sami
Finland
sms-FI
Slovak
Slovakia
sk-SK
Slovenian
Slovenia
sl-SI
Southern Sami
Norway
sma-NO
Southern Sami
Sweden
sma-SE
Spanish
Argentina
es-AR
Spanish
Bolivia
es-BO
Spanish
Chile
es-CL
Spanish
Columbia
es-CO
Spanish
Costa Rica
es-CR
Spanish
Dominican Republic
es-DO
Spanish
Ecuador
es-EC
278 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
Language
Locale
Language tag
Spanish
El Salvador
es-SV
Spanish
Guatemala
es-GT
Spanish
Honduras
es-HN
Spanish
Mexico
es-MX
Spanish
Nicaragua
es-NI
Spanish
Panama
es-PA
Spanish
Paraguay
es-PY
Spanish
Peru
es-PE
Spanish
es-PR
Spanish
Spain
es-ES
Spanish
United States
es-US
Spanish
Uruguay
es-UY
Spanish
Venezuela
es-VE
Swahili
Kenya
sw-KE
Swedish
Finland
sv-FI
Swedish
Sweden
sv-SE
Syriac
Syria
syr-SY
Tajik (Cyrillic)
Tajikistan
tg-TJ-Cyrl
Tamazight (Latin)
Algeria
tmz-DZ-Latn
Tamil
India
ta-IN
Tatar
Russia
tt-RU
India
te-IN
Thai
Thailand
th-TH
Bhutanese
Bhutan
bo-BT
Tibetan
PRC
bo-CN
Turkish
Turkey
tr-TR
Turkmen
Turkmenistan
tk-TM
Uighur
PRC
ug-CN
279 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
Language
Locale
Language tag
Ukrainian
Ukraine
uk-UA
Upper Sorbian
Germany
wen-DE
Urdu
Pakistan
ur-PK
Uzbek (Cyrillic)
Uzbekistan
uz-UZ-Cyrl
Uzbek (Latin)
Uzbekistan
uz-UZ-Latn
Vietnamese
Viet Nam
vi-VN
Welsh
United Kingdom
cy-GB
Wolof
Senegal
wo-SN
Sakha
Russia
sah-RU
Yi
PRC
ii-CN
Yoruba
Nigeria
yo-NG
<15> Section 2.6.47: Office Excel 2007 does not ignore the ancestor CT_PivotHierarchy element.
<16> Section 2.6.48: Office Excel 2007 does not ignore the ancestor CT_CacheField element.
<17> Section 2.6.63: Excel 2010 and Excel 2013 requires that the corresponding ListItem
([ISO/IEC29500-4:2011] section 14.4.2.36) be present.
<18> Section 2.6.65: Excel 2010 loads and roundtrips this value for scroll bars and spin boxes, but it
does not support its functionality.
<19> Section 2.6.65: Excel 2010 requires that the corresponding FmlaRange ([ISO/IEC295004:2011] section 14.4.2.29) be present.
<20> Section 2.6.65: Excel 2010 and Excel 2013 ignore this attribute. This attribute is being
deprecated.
<21> Section 2.6.65: This attribute is being deprecated in Excel 2010. Its functionality will be
replaced with attribute noThreeD.
<22> Section 2.6.65: Excel 2010 loads and roundtrips this value, but it only supports its functionality
for scroll bar form controls when run in a dialog box .
<23> Section 2.6.65: Excel 2010 does not support this attribute.
<24> Section 2.6.65: Excel 2010 does not support this attribute.
<25> Section 2.7.16: Excel 2010 uses this value only when the drop-down control is run in a dialog
box, in all other cases the drop-down control behaves as a standard combo box.
280 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
Change Tracking
This section identifies changes that were made to this document since the last release. Changes are
classified as New, Major, Minor, Editorial, or No change.
The revision class New means that a new document is being released.
The revision class Major means that the technical content in the document was significantly revised.
Major changes affect protocol interoperability or implementation. Examples of major changes are:
The revision class Minor means that the meaning of the technical content was clarified. Minor changes
do not affect protocol interoperability or implementation. Examples of minor changes are updates to
clarify ambiguity at the sentence, paragraph, or table level.
The revision class Editorial means that the formatting in the technical content was changed. Editorial
changes apply to grammatical, formatting, and style issues.
The revision class No change means that no new technical changes were introduced. Minor editorial
and formatting changes may have been made, but the technical content of the document is identical
to the last released version.
Major and minor changes can be described further using the following change types:
Content updated.
Content removed.
Editorial changes are always classified with the change type Editorially updated.
Some important terms used in the change type descriptions are defined as follows:
281 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
Protocol syntax refers to data elements (such as packets, structures, enumerations, and
methods) as well as interfaces.
Protocol revision refers to changes made to a protocol that affect the bits that are sent over the
wire.
The changes made to this document are listed in the following table. For more information, please
contact dochelp@microsoft.com.
Section
Major
change (Y
or N)
Change type
2.2.2 Formulas
New content
added.
2.2.3 Functions
New content
added.
2.2.4.10 Workbook
New content
added.
2.4.71 contentPart
New content
added.
2.4.72 modelTimeGroupings
New content
added.
2.5.2 formatCode16
New content
added.
2.5.2 formatCode16
New product
behavior note
added.
2.6.5 CT_DataValidation
New content
added.
2.6.132 CT_DataModel
Content
update.
2.6.151 CT_ContentPart
New content
added.
2.6.152 CT_ContentPartNonVisual
New content
added.
2.6.153 CT_CalculatedTimeColumn
New content
added.
2.6.154 CT_ModelTimeGrouping
New content
added.
2.6.155 CT_ModelTimeGroupings
New content
added.
2.7.30
ST_ModelTimeGroupingContentType
New content
added.
282 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
Index
"
"External workbook references
extensions by part 56
A
Applicability 17
B
BrtBeginECTxtWiz 176
C
cachedUniqueNames element 90
cacheField element 80
cacheHierarchy element (section 2.4.16 77, section
2.4.52 88)
calculatedMember element (section 2.4.15 77,
section 2.4.44 85)
Change tracking 281
Common data types and fields 19
Complex types
CT_CachedUniqueName 201
CT_CachedUniqueNames 201
CT_CacheField 141
CT_CacheHierarchy (section 2.6.24 113, section
2.6.102 185)
CT_CalculatedMember (section 2.6.15 108, section
2.6.93 178)
CT_CalculatedMemberExt 178
CT_CfIcon 133
CT_CfRule 119
CT_Cfvo 118
CT_ColorScale 124
CT_ConditionalFormat 143
CT_ConditionalFormats 143
CT_ConditionalFormatting 96
CT_ConditionalFormattings 95
CT_Connection (section 2.6.34 132, section 2.6.91
176)
CT_CustomFilter 152
CT_CustomFilters 151
CT_DataBar 125
CT_DataFeedPr 200
CT_DataField (section 2.6.25 117, section 2.6.142
210)
CT_DataModel 204
CT_DatastoreItem 159
CT_DataValidation 98
CT_DataValidationFormula 97
CT_DataValidations 96
CT_DbCommand 199
CT_DbTable 199
CT_DbTables 199
CT_FieldListActiveTabTopLevelEntity 179
CT_Filter 150
CT_FormControlPr 155
CT_IconFilter 150
CT_IconSet 123
CT_IgnoredError 145
CT_IgnoredErrors 145
CT_ListItem 154
CT_ListItems 154
CT_ModelRelationship 203
CT_ModelRelationships 203
CT_ModelTable 202
CT_ModelTables 202
CT_ModelTextPr 198
CT_OlapSlicerCache 169
CT_OlapSlicerCacheItem 165
CT_OlapSlicerCacheItemParent 166
CT_OlapSlicerCacheLevelData 167
CT_OlapSlicerCacheLevelsData 168
CT_OlapSlicerCacheRange 166
CT_OlapSlicerCacheRanges 167
CT_OlapSlicerCacheSelection 170
CT_OlapSlicerCacheSelections 169
CT_OledbPr 200
CT_OleItem 139
CT_PivotCacheDefinition 131
CT_PivotCacheIdVersion 208
CT_PivotChange 135
CT_PivotChanges 135
CT_PivotEdit 134
CT_PivotEdits 134
CT_PivotEditValue 137
CT_PivotField 127
CT_PivotFilter 180
CT_PivotHierarchy 140
CT_PivotRow 205
CT_PivotTableData 204
CT_PivotTableDefinition 129
CT_PivotTableReference 174
CT_PivotTableReferences 173
CT_PivotTableServerFormats 208
CT_PivotTableUISettings 182
CT_PivotUserEdit 136
CT_PivotValueCell 206
CT_PivotValueCellExtra 207
CT_ProtectedRange 148
CT_ProtectedRanges 148
CT_QueryTable 174
CT_RangePr 198
CT_SetLevel 113
CT_SetLevels 112
CT_Slicer (section 2.6.68 160, section 2.6.69 162)
CT_SlicerCache 107
CT_SlicerCacheData 163
CT_SlicerCacheDefinition 162
CT_SlicerCacheHideNoData 185
CT_SlicerCacheOlapLevelName 186
CT_SlicerCachePivotTable 164
CT_SlicerCachePivotTables 164
CT_SlicerCaches 107
CT_SlicerRef 107
CT_SlicerRefs 106
CT_Slicers 159
CT_SlicerStyle 138
CT_SlicerStyleElement 138
CT_SlicerStyleElements 144
CT_SlicerStyles 144
283 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
CT_SortCondition 152
CT_SourceConnection 153
CT_Sparkline 105
CT_SparklineGroup 101
CT_SparklineGroups 100
CT_Sparklines 104
CT_Table 133
CT_TableSlicerCache 182
CT_TabularSlicerCache 171
CT_TabularSlicerCacheItem 172
CT_TabularSlicerCacheItems 172
CT_Timeline 189
CT_TimelineCacheDefinition 192
CT_TimelineCachePivotTable 194
CT_TimelineCachePivotTables 193
CT_TimelineCacheRef 184
CT_TimelineCacheRefs 183
CT_TimelinePivotCacheDefinition 189
CT_TimelinePivotFilter 197
CT_TimelineRange 194
CT_TimelineRef 185
CT_TimelineRefs 184
CT_Timelines 189
CT_TimelineState 195
CT_TimelineStyle 187
CT_TimelineStyleElement 188
CT_TimelineStyleElements 187
CT_TimelineStyles 186
CT_TupleSet 109
CT_TupleSetHeader 110
CT_TupleSetHeaders 110
CT_TupleSetRow 111
CT_TupleSetRowItem 112
CT_TupleSetRows 111
CT_TypeItems 137
CT_WebExtension 176
CT_WebExtensions 175
CT_WorkbookPr (section 2.6.10 105, section
2.6.117 196)
Conceptual overview
structures 64
conditionalFormattings element 74
connection element (section 2.4.21 78, section
2.4.43 85)
Connections
extensions by part 55
Control properties
part enumerations 19
CT_CachedUniqueName complex type 201
CT_CachedUniqueNames complex type 201
CT_CacheField complex type 141
CT_CacheHierarchy complex type (section 2.6.24
113, section 2.6.102 185)
CT_CalculatedMember complex type (section 2.6.15
108, section 2.6.93 178)
CT_CalculatedMemberExt complex type 178
CT_CfIcon complex type 133
CT_CfRule complex type 119
CT_Cfvo complex type 118
CT_ColorScale complex type 124
CT_ConditionalFormat complex type 143
CT_ConditionalFormats complex type 143
CT_ConditionalFormatting complex type 96
CT_ConditionalFormattings complex type 95
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
D
Data model
part enumerations 21
Data types and fields - common 19
dataField element (section 2.4.17 77, section 2.4.69
92)
dataModel element 90
datastoreItem element 83
dataValidations element 74
Details
BrtBeginECTxtWiz record 176
common data types and fields 19
Drawing
extensions by part 55
dxfs element (section 2.4.24 79, section 2.4.55 88)
dyDescent attribute 93
E
Examples 241
Slicer 241
slicer cache part 242
slicer part 243
Extensions
formulas 24
cell formulas 49
conditional formatting formulas 49
data validation formulas 49
external name formulas 49
name formulas 50
pivot field formulas 50
pivot item formulas 50
functions 51
SpreadsheetML extensibility elements 24
structures 23
Extensions by part
connections 55
drawing 55
external workbook references 56
part enumerations 55
pivot table 56
pivot table cache definition (section 2.2.4.5 58,
section 2.2.4.6 59)
query table 59
slicer cache 60
styles 60
table definition 60
workbook 62
worksheet 62
F
f element 73
Fields - vendor-extensible 18
filter element 81
formatCode16 attribute 94
formControlPr element 82
Formulas
extensions 24
cell formulas 49
conditional formatting formulas 49
data validation formulas 49
external name formulas 49
name formulas 50
285 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
G
Global attributes
dyDescent 93
formatCode16 94
knownFonts 95
Global elements
cachedUniqueNames 90
cacheField 80
cacheHierarchy (section 2.4.16 77, section 2.4.52
88)
calculatedMember (section 2.4.15 77, section
2.4.44 85)
conditionalFormattings 74
connection (section 2.4.21 78, section 2.4.43 85)
customFilters 81
dataField (section 2.4.17 77, section 2.4.69 92)
dataModel 90
datastoreItem 83
dataValidations 74
dxfs (section 2.4.24 79, section 2.4.55 88)
f 73
filter 81
formControlPr 82
iconFilter 81
id 81
ignoredErrors 75
oleItem 80
pivotCacheDefinition 78
pivotCacheIdVersion 91
pivotCaches (section 2.4.12 76, section 2.4.39 84)
pivotField 78
pivotFilter 86
pivotHierarchy 80
pivotTableData 91
pivotTableDefinition 78
pivotTableReferences (section 2.4.1 73, section
2.4.40 84)
pivotTableServerFormats 73
pivotTableUISettings 86
protectedRanges 75
queryTable 85
ref 73
slicer (section 2.4.37 83, section 2.4.66 91)
slicerCacheDefinition 83
slicerCacheHideItemsWithNoData 88
slicerCachePivotTables 90
slicerCaches (section 2.4.13 76, section 2.4.47 86)
slicerList 75
slicers 83
slicerStyles 79
sortCondition 82
sortConnection 82
sparklineGroups 75
sqref 74
table 79
tableSlicerCache 86
timelineCacheDefinition 89
timelineCachePivotCaches 87
timelineCacheRefs 87
timelinePivotCacheDefinition 89
timelineRefs 87
timelines 89
timelineStyles 88
webExtensions 85
workbookPr (section 2.4.14 76, section 2.4.59 90)
Glossary 10
I
iconFilter element 81
id element 81
ignoredErrors element 75
Implementer - security considerations 245
Informative references 16
Introduction 10
K
knownFonts attribute 95
L
Localization 17
N
Non-worksheet pivot table
overview 70
Normative references 15
O
oleItem element 80
Overview (synopsis) 17
P
Part enumerations
control properties 19
custom data 19
custom data properties 20
data model 21
extensions by part 55
slicer cache 20
slicers 20
structures 19
timeline cache 22
timelines (section 2.1.8 23, section 2.1.9 23)
Pivot table
extensions by part 56
Pivot table cache definition
extensions by part (section 2.2.4.5 58, section
2.2.4.6 59)
pivotCacheDefinition element 78
pivotCacheIdVersion element 91
pivotCaches element (section 2.4.12 76, section
2.4.39 84)
pivotField element 78
pivotFilter element 86
pivotHierarchy element 80
PivotTable what-if analysis
overview 64
286 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
pivotTableData element 91
pivotTableDefinition element 78
pivotTableReferences element (section 2.4.1 73,
section 2.4.40 84)
pivotTableServerFormats element 73
pivotTableUISettings element 86
PivotValues
overview 70
Product behavior 272
protectedRanges element 75
Q
Query table
extensions by part 59
queryTable element 85
R
Records
BrtBeginECTxtWiz 176
ref element 73
References 15
informative 16
normative 15
Relationship to protocols and other structures 17
S
Security
implementer considerations 245
index of security fields 245
Simple types
ST_AllocationMethod 227
ST_CalcMemNumberFormat 235
ST_CfvoType 223
ST_Checked 229
ST_DataBarAxisPosition 223
ST_DataBarDirection 222
ST_DispBlanksAs 220
ST_DropStyle 230
ST_EditValidation 231
ST_IconSetType 224
ST_ObjectType 228
ST_OlapSlicerCacheSortOrder 232
ST_PivotEditValueType 226
ST_PivotShowAs 222
ST_Ref 219
ST_SelType 230
ST_SlicerCacheCrossFilter 233
ST_SlicerStyleType 227
ST_SparklineAxisMinMax 221
ST_SparklineType 221
ST_Sqref 220
ST_SXVCellType 236
ST_TabularSlicerCacheSortOrder 232
ST_TextHAlign 233
ST_TextVAlign 234
ST_TimelineStyleType 234
Slicer cache
extensions by part 60
overview 65
part enumerations 20
Slicer cache part example 242
slicer element (section 2.4.37 83, section 2.4.66 91)
287 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
CT_PivotTableReference 174
CT_PivotTableReferences 173
CT_PivotTableServerFormats 208
CT_PivotTableUISettings 182
CT_PivotUserEdit 136
CT_PivotValueCell 206
CT_PivotValueCellExtra 207
CT_ProtectedRange 148
CT_ProtectedRanges 148
CT_QueryTable 174
CT_RangePr 198
CT_SetLevel 113
CT_SetLevels 112
CT_Slicer (section 2.6.68 160, section 2.6.69
162)
CT_SlicerCache 107
CT_SlicerCacheData 163
CT_SlicerCacheDefinition 162
CT_SlicerCacheHideNoData 185
CT_SlicerCacheOlapLevelName 186
CT_SlicerCachePivotTable 164
CT_SlicerCachePivotTables 164
CT_SlicerCaches 107
CT_SlicerRef 107
CT_SlicerRefs 106
CT_Slicers 159
CT_SlicerStyle 138
CT_SlicerStyleElement 138
CT_SlicerStyleElements 144
CT_SlicerStyles 144
CT_SortCondition 152
CT_SourceConnection 153
CT_Sparkline 105
CT_SparklineGroup 101
CT_SparklineGroups 100
CT_Sparklines 104
CT_Table 133
CT_TableSlicerCache 182
CT_TabularSlicerCache 171
CT_TabularSlicerCacheItem 172
CT_TabularSlicerCacheItems 172
CT_Timeline 189
CT_TimelineCacheDefinition 192
CT_TimelineCachePivotTable 194
CT_TimelineCachePivotTables 193
CT_TimelineCacheRef 184
CT_TimelineCacheRefs 183
CT_TimelinePivotCacheDefinition 189
CT_TimelinePivotFilter 197
CT_TimelineRange 194
CT_TimelineRef 185
CT_TimelineRefs 184
CT_Timelines 189
CT_TimelineState 195
CT_TimelineStyle 187
CT_TimelineStyleElement 188
CT_TimelineStyleElements 187
CT_TimelineStyles 186
CT_TupleItems 137
CT_TupleSet 109
CT_TupleSetHeader 110
CT_TupleSetHeaders 110
CT_TupleSetRow 111
CT_TupleSetRowItem 112
CT_TupleSetRows 111
288 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
CT_WebExtension 176
CT_WebExtensions 175
CT_WorkbookPr (section 2.6.10 105, section
2.6.117 196)
conceptual overview 64
non-worksheet pivot table 70
PivotTable what-if analysis 64
PivotValues 70
slicers 65
slicer cache 65
slicer styles 69
slicer view 68
slicers and cube functions 69
timeline cache 70
timeline
timeline styles 72
timeline view 72
timelines 70
timelines and cube functions 72
extensions 23
global attributes
dyDescent 93
formatCode16 94
knownFonts 95
global elements
cachedUniqueNames 90
cacheField 80
cacheHierarchy (section 2.4.16 77, section
2.4.52 88)
calculatedMember (section 2.4.15 77, section
2.4.44 85)
conditionalFormattings 74
connection (section 2.4.21 78, section 2.4.43
85)
customFilters 81
dataField (section 2.4.17 77, section 2.4.69 92)
dataModel 90
datastoreItem 83
dataValidations 74
dxfs (section 2.4.24 79, section 2.4.55 88)
f 73
filter 81
formControlPr 82
iconFilter 81
id 81
ignorederrors 75
oleItem 80
pivotCacheDefinition 78
pivotCacheIdVersion 91
pivotCaches (section 2.4.12 76, section 2.4.39
84)
pivotField 78
pivotFilter 86
pivotHierarchy 80
pivotTableData 91
pivotTableDefinition 78
pivotTableReference 73
pivotTableReferences 84
pivotTableServerFormats 73
pivotTableUISettings 86
protectedRanges 75
queryTable 85
ref 73
slicer (section 2.4.37 83, section 2.4.66 91)
slicerCacheDefinition 83
slicerCacheHideItemsWithNoData 88
slicerCachePivotTables 90
slicerCaches (section 2.4.13 76, section 2.4.47
86)
slicerList 75
slicers 83
slicerStyles 79
sortCondition 82
sortConnection 82
sparklineGroups 75
sqref 74
table 79
tableSlicerCache 86
timelineCacheDefinition 89
timelineCachePivotCaches 87
timelineCacheRefs 87
timelinePivotCacheDefinition 89
timelineRefs 87
timelines 89
timelineStyles 88
webExtensions 85
workbookPr (section 2.4.14 76, section 2.4.59
90)
overview 19
part enumerations 19
simple types
ST_AllocationMethod 227
ST_CfvoType 223
ST_Checked 229
ST_DataBarAxisPosition 223
ST_DataBarDirection 222
ST_DispBlanksAs 220
ST_DropStyle 230
ST_EditValidation 231
ST_IconSetType 224
ST_ObjectType 228
ST_OlapSlicerCacheSortOrder 232
ST_PivotEditValueType 226
ST_PivotShowAs 222
ST_Ref 219
ST_SelType 230
ST_SlicerCacheCrossFilter 233
ST_SlicerStyleType 227
ST_SparklineAxisMinMax 221
ST_SparklineType 221
ST_Sqref 220
ST_SXVCellType 236
ST_TabularSlicerCacheSortOrder 232
Structures simple types
ST_CalcMemNumberFormat 235
ST_TextHAlign 233
ST_TextVAlign 234
ST_TimelineStyleType 234
Structures/
/complex types /
/CT_AbsolutePath
Complex types/
/CT_AbsolutePath 209
/complex types/
/CT_ CacheSourceExt
Complex types/
/CT_ CacheSourceExt 216
/CT_ApplicationNonVisualDrawingProps
Complex types/
/CT_ApplicationNonVisualDrawingProps 215
289 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015
/CT_CalculatedTimeColumn
Complex types/
/CT_CalculatedTimeColumn 217
/CT_ContentPart
Complex types/
/CT_ContentPart 216
/CT_ContentPartNonVisual
Complex types/
/CT_ContentPartNonVisual 217
/CT_ModelTimeGrouping
Complex types/
/CT_ModelTimeGrouping 218
/CT_ModelTimeGroupings
Complex types/
/CT_ModelTimeGroupings 219
/CT_Ref
Complex types/
/CT_Ref 214
/CT_Sqref
Complex types/
/CT_Sqref 215
/CT_Survey
Complex types/
/CT_Survey 210
/CT_SurveyElementPr
Complex types/
/CT_SurveyElementPr 213
/CT_SurveyQuestion
Complex types/
/CT_SurveyQuestion 211
/CT_SurveyQuestions
Complex types/
/CT_SurveyQuestions 211
/CT_Timeline
Complex types/
/CT_Timeline 209
/global elements/
/absPath
Global elements/
/absPath 92
/contentPart
Global elements/
/contentPart 93
/list
Global elements/
/list 92
/modelTimeGroupings
Global elements/
/modelTimeGroupings 93
/survey
Global elements/
/survey 93
/simple types/
/ST_ModelTimeGroupingContentType
Simple types/
/ST_ModelTimeGroupingContentType 239
/ST_QuestionFormat
Simple types/
/ST_QuestionFormat 237
/ST_QuestionType
Simple types/
/ST_QuestionType" \t " 237
/ST_SurveyPosition
Simple types/
/ST_SurveyPosition 238
Styles
extensions by part 60
T
Table definition
extensions by part 60
table element 79
tableSlicerCache element 86
Timeline cache
overview 70
part enumerations 22
Timeline styles
overview 72
Timeline view
overview 72
timelineCacheDefinition element 89
timelineCachePivotCaches element 87
timelineCacheRefs element 87
timelinePivotCacheDefinition element 89
timelineRefs element 87
Timelines
overview 70
part enumerations (section 2.1.8 23, section 2.1.9
23)
timeline cache 70
timeline styles 72
timeline view 72
timelines and cube functions 72
Timelines and cube functions
overview 72
timelines element 89
timelineStyles element 88
Tracking changes 281
V
Vendor-extensible fields 18
Versioning 17
W
webExtensions element 85
Workbook
extensions by part 62
workbookPr element (section 2.4.14 76, section
2.4.59 90)
Worksheet
extensions by part 62
X
XML schema 246
290 / 290
[MS-XLSX] - v20150904
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright 2015 Microsoft Corporation
Release: September 4, 2015