forked from t-yuki/ooxml-xsd
-
Notifications
You must be signed in to change notification settings - Fork 3
/
sml-queryTable.xsd
261 lines (261 loc) · 11.3 KB
/
sml-queryTable.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
<?xml version="1.0" encoding="utf-8"?>
<xsd:schema targetNamespace="http://schemas.openxmlformats.org/spreadsheetml/2006/main" elementFormDefault="qualified" xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:include schemaLocation="sml-baseTypes.xsd" />
<xsd:include schemaLocation="sml-styles.xsd" />
<xsd:include schemaLocation="sml-autoFilter.xsd" />
<xsd:element name="queryTable" type="CT_QueryTable">
<xsd:annotation>
<xsd:documentation>Query Table</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="CT_QueryTable">
<xsd:sequence>
<xsd:element name="queryTableRefresh" type="CT_QueryTableRefresh" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>QueryTable Refresh Information</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="extLst" type="CT_ExtensionList" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Future Feature Data Storage Area</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="name" type="ST_Xstring" use="required">
<xsd:annotation>
<xsd:documentation>QueryTable Name</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="headers" type="xsd:boolean" use="optional" default="true">
<xsd:annotation>
<xsd:documentation>First Row Column Titles</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="rowNumbers" type="xsd:boolean" use="optional" default="false">
<xsd:annotation>
<xsd:documentation>Row Numbers</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="disableRefresh" type="xsd:boolean" use="optional" default="false">
<xsd:annotation>
<xsd:documentation>Disable Refresh</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="backgroundRefresh" type="xsd:boolean" use="optional" default="true">
<xsd:annotation>
<xsd:documentation>Background Refresh</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="firstBackgroundRefresh" type="xsd:boolean" use="optional" default="false">
<xsd:annotation>
<xsd:documentation>First Background Refresh</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="refreshOnLoad" type="xsd:boolean" use="optional" default="false">
<xsd:annotation>
<xsd:documentation>Refresh On Load</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="growShrinkType" type="ST_GrowShrinkType" use="optional" default="insertDelete">
<xsd:annotation>
<xsd:documentation>Grow Shrink Type</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="fillFormulas" type="xsd:boolean" use="optional" default="false">
<xsd:annotation>
<xsd:documentation>Fill Adjacent Formulas</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="removeDataOnSave" type="xsd:boolean" use="optional" default="false">
<xsd:annotation>
<xsd:documentation>Remove Data On Save</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="disableEdit" type="xsd:boolean" use="optional" default="false">
<xsd:annotation>
<xsd:documentation>Disable Edit</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="preserveFormatting" type="xsd:boolean" use="optional" default="true">
<xsd:annotation>
<xsd:documentation>Preserve Formatting On Refresh</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="adjustColumnWidth" type="xsd:boolean" use="optional" default="true">
<xsd:annotation>
<xsd:documentation>Adjust Column Width On Refresh</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="intermediate" type="xsd:boolean" use="optional" default="false">
<xsd:annotation>
<xsd:documentation>Intermediate</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="connectionId" type="xsd:unsignedInt" use="required">
<xsd:annotation>
<xsd:documentation>Connection Id</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attributeGroup ref="AG_AutoFormat" />
</xsd:complexType>
<xsd:complexType name="CT_QueryTableRefresh">
<xsd:sequence>
<xsd:element name="queryTableFields" type="CT_QueryTableFields" minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Query table fields</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="queryTableDeletedFields" type="CT_QueryTableDeletedFields" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Deleted Fields</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="sortState" minOccurs="0" maxOccurs="1" type="CT_SortState">
<xsd:annotation>
<xsd:documentation>Sort State</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="extLst" minOccurs="0" maxOccurs="1" type="CT_ExtensionList">
<xsd:annotation>
<xsd:documentation>Future Feature Data Storage Area</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="preserveSortFilterLayout" type="xsd:boolean" use="optional" default="true">
<xsd:annotation>
<xsd:documentation>Preserve Sort & Filter Layout</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="fieldIdWrapped" type="xsd:boolean" use="optional" default="false">
<xsd:annotation>
<xsd:documentation>Next Field Id Wrapped</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="headersInLastRefresh" type="xsd:boolean" use="optional" default="true">
<xsd:annotation>
<xsd:documentation>Headers In Last Refresh</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="minimumVersion" type="xsd:unsignedByte" use="optional" default="0">
<xsd:annotation>
<xsd:documentation>Minimum Refresh Version</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="nextId" type="xsd:unsignedInt" use="optional" default="1">
<xsd:annotation>
<xsd:documentation>Next field id</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="unboundColumnsLeft" type="xsd:unsignedInt" use="optional" default="0">
<xsd:annotation>
<xsd:documentation>Columns Left</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="unboundColumnsRight" type="xsd:unsignedInt" use="optional" default="0">
<xsd:annotation>
<xsd:documentation>Columns Right</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:complexType name="CT_QueryTableDeletedFields">
<xsd:sequence>
<xsd:element name="deletedField" type="CT_DeletedField" minOccurs="1" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>Deleted Field</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="count" type="xsd:unsignedInt" use="optional">
<xsd:annotation>
<xsd:documentation>Deleted Fields Count</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:complexType name="CT_DeletedField">
<xsd:attribute name="name" type="ST_Xstring" use="required">
<xsd:annotation>
<xsd:documentation>Deleted Fields Name</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:complexType name="CT_QueryTableFields">
<xsd:sequence>
<xsd:element name="queryTableField" type="CT_QueryTableField" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>QueryTable Field</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="count" type="xsd:unsignedInt" use="optional" default="0">
<xsd:annotation>
<xsd:documentation>Column Count</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:complexType name="CT_QueryTableField">
<xsd:sequence minOccurs="0">
<xsd:element name="extLst" type="CT_ExtensionList" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Future Feature Data Storage Area</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="id" type="xsd:unsignedInt" use="required">
<xsd:annotation>
<xsd:documentation>Field Id</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="name" type="ST_Xstring" use="optional">
<xsd:annotation>
<xsd:documentation>Name</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="dataBound" type="xsd:boolean" use="optional" default="true">
<xsd:annotation>
<xsd:documentation>Data Bound Column</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="rowNumbers" type="xsd:boolean" use="optional" default="false">
<xsd:annotation>
<xsd:documentation>Row Numbers</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="fillFormulas" type="xsd:boolean" use="optional" default="false">
<xsd:annotation>
<xsd:documentation>Fill This Formula On Refresh</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="clipped" type="xsd:boolean" use="optional" default="false">
<xsd:annotation>
<xsd:documentation>Clipped Column</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="tableColumnId" type="xsd:unsignedInt" default="0">
<xsd:annotation>
<xsd:documentation>Table Column Id</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:simpleType name="ST_GrowShrinkType">
<xsd:annotation>
<xsd:documentation>Grow Shrink Type</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="insertDelete">
<xsd:annotation>
<xsd:documentation>Insert & Delete On Refresh</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="insertClear">
<xsd:annotation>
<xsd:documentation>Insert & Clear On Refresh</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="overwriteClear">
<xsd:annotation>
<xsd:documentation>Overwrite & Clear On Refresh</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
</xsd:restriction>
</xsd:simpleType>
</xsd:schema>