-
Notifications
You must be signed in to change notification settings - Fork 7
/
sml-pivotTableShared.xsd
263 lines (263 loc) · 10.4 KB
/
sml-pivotTableShared.xsd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
<?xml version="1.0" encoding="utf-8"?>
<xsd:schema targetNamespace="http://schemas.openxmlformats.org/spreadsheetml/2006/main" elementFormDefault="qualified" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main">
<xsd:include schemaLocation="sml-baseTypes.xsd" />
<xsd:complexType name="CT_PivotArea">
<xsd:sequence>
<xsd:element name="references" minOccurs="0" type="CT_PivotAreaReferences">
<xsd:annotation>
<xsd:documentation>References</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="extLst" minOccurs="0" type="CT_ExtensionList">
<xsd:annotation>
<xsd:documentation>Future Feature Data Storage Area</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="field" use="optional" type="xsd:int">
<xsd:annotation>
<xsd:documentation>Field Index</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="type" type="ST_PivotAreaType" default="normal">
<xsd:annotation>
<xsd:documentation>Rule Type</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="dataOnly" type="xsd:boolean" default="true">
<xsd:annotation>
<xsd:documentation>Data Only</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="labelOnly" type="xsd:boolean" default="false">
<xsd:annotation>
<xsd:documentation>Labels Only</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="grandRow" type="xsd:boolean" default="false">
<xsd:annotation>
<xsd:documentation>Include Row Grand Total</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="grandCol" type="xsd:boolean" default="false">
<xsd:annotation>
<xsd:documentation>Include Column Grand Total</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="cacheIndex" type="xsd:boolean" default="false">
<xsd:annotation>
<xsd:documentation>Cache Index</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="outline" type="xsd:boolean" default="true">
<xsd:annotation>
<xsd:documentation>Outline</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="offset" type="ST_Ref">
<xsd:annotation>
<xsd:documentation>Offset Reference</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="collapsedLevelsAreSubtotals" type="xsd:boolean" default="false">
<xsd:annotation>
<xsd:documentation>Collapsed Levels Are Subtotals</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="axis" type="ST_Axis" use="optional">
<xsd:annotation>
<xsd:documentation>Axis</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="fieldPosition" type="xsd:unsignedInt" use="optional">
<xsd:annotation>
<xsd:documentation>Field Position</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:simpleType name="ST_PivotAreaType">
<xsd:annotation>
<xsd:documentation>Rule Type</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="none">
<xsd:annotation>
<xsd:documentation>None</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="normal">
<xsd:annotation>
<xsd:documentation>Normal</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="data">
<xsd:annotation>
<xsd:documentation>Data</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="all">
<xsd:annotation>
<xsd:documentation>All</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="origin">
<xsd:annotation>
<xsd:documentation>Origin</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="button">
<xsd:annotation>
<xsd:documentation>Field Button</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="topRight">
<xsd:annotation>
<xsd:documentation>Top Right</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="CT_PivotAreaReferences">
<xsd:sequence>
<xsd:element name="reference" maxOccurs="unbounded" type="CT_PivotAreaReference">
<xsd:annotation>
<xsd:documentation>Reference</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="count" type="xsd:unsignedInt">
<xsd:annotation>
<xsd:documentation>Pivot Filter Count</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:complexType name="CT_PivotAreaReference">
<xsd:sequence>
<xsd:element name="x" minOccurs="0" maxOccurs="unbounded" type="CT_Index">
<xsd:annotation>
<xsd:documentation>Field Item</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="extLst" minOccurs="0" type="CT_ExtensionList"></xsd:element>
</xsd:sequence>
<xsd:attribute name="field" use="optional" type="xsd:unsignedInt">
<xsd:annotation>
<xsd:documentation>Field Index</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="count" type="xsd:unsignedInt">
<xsd:annotation>
<xsd:documentation>Item Index Count</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="selected" type="xsd:boolean" default="true">
<xsd:annotation>
<xsd:documentation>Selected</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="byPosition" type="xsd:boolean" default="false">
<xsd:annotation>
<xsd:documentation>Positional Reference</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="relative" type="xsd:boolean" default="false">
<xsd:annotation>
<xsd:documentation>Relative Reference</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="defaultSubtotal" type="xsd:boolean" default="false">
<xsd:annotation>
<xsd:documentation>Include Default Filter</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="sumSubtotal" type="xsd:boolean" default="false">
<xsd:annotation>
<xsd:documentation>Include Sum Filter</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="countASubtotal" type="xsd:boolean" default="false">
<xsd:annotation>
<xsd:documentation>Include CountA Filter</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="avgSubtotal" type="xsd:boolean" default="false">
<xsd:annotation>
<xsd:documentation>Include Average Filter</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="maxSubtotal" type="xsd:boolean" default="false">
<xsd:annotation>
<xsd:documentation>Include Maximum Filter</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="minSubtotal" type="xsd:boolean" default="false">
<xsd:annotation>
<xsd:documentation>Include Minimum Filter</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="productSubtotal" type="xsd:boolean" default="false">
<xsd:annotation>
<xsd:documentation>Include Product Filter</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="countSubtotal" type="xsd:boolean" default="false">
<xsd:annotation>
<xsd:documentation>Include Count Subtotal</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="stdDevSubtotal" type="xsd:boolean" default="false">
<xsd:annotation>
<xsd:documentation>Include StdDev Filter</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="stdDevPSubtotal" type="xsd:boolean" default="false">
<xsd:annotation>
<xsd:documentation>Include StdDevP Filter</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="varSubtotal" type="xsd:boolean" default="false">
<xsd:annotation>
<xsd:documentation>Include Var Filter</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="varPSubtotal" type="xsd:boolean" default="false">
<xsd:annotation>
<xsd:documentation>Include VarP Filter</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:complexType name="CT_Index">
<xsd:attribute name="v" use="required" type="xsd:unsignedInt">
<xsd:annotation>
<xsd:documentation>Shared Items Index</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:simpleType name="ST_Axis">
<xsd:annotation>
<xsd:documentation>PivotTable Axis</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="axisRow">
<xsd:annotation>
<xsd:documentation>Row Axis</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="axisCol">
<xsd:annotation>
<xsd:documentation>Column Axis</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="axisPage">
<xsd:annotation>
<xsd:documentation>Include Count Filter</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="axisValues">
<xsd:annotation>
<xsd:documentation>Values Axis</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
</xsd:restriction>
</xsd:simpleType>
</xsd:schema>