forked from python-openxml/python-docx
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsml.rnc
More file actions
4667 lines (3892 loc) · 132 KB
/
sml.rnc
File metadata and controls
4667 lines (3892 loc) · 132 KB
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
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
namespace o = "urn:schemas-microsoft-com:office:office"
namespace r =
"http://schemas.openxmlformats.org/officeDocument/2006/relationships"
namespace s =
"http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes"
default namespace sml =
"http://schemas.openxmlformats.org/spreadsheetml/2006/main"
namespace v = "urn:schemas-microsoft-com:vml"
namespace w10 = "urn:schemas-microsoft-com:office:word"
namespace x = "urn:schemas-microsoft-com:office:excel"
namespace xdr =
"http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing"
sml_CT_AutoFilter =
attribute ref { sml_ST_Ref }?,
element filterColumn { sml_CT_FilterColumn }*,
element sortState { sml_CT_SortState }?,
element extLst { sml_CT_ExtensionList }?
sml_CT_FilterColumn =
attribute colId { xsd:unsignedInt },
## default value: false
attribute hiddenButton { xsd:boolean }?,
## default value: true
attribute showButton { xsd:boolean }?,
(element filters { sml_CT_Filters }?
| element top10 { sml_CT_Top10 }?
| element customFilters { sml_CT_CustomFilters }?
| element dynamicFilter { sml_CT_DynamicFilter }?
| element colorFilter { sml_CT_ColorFilter }?
| element iconFilter { sml_CT_IconFilter }?
| element extLst { sml_CT_ExtensionList }?)?
sml_CT_Filters =
## default value: false
attribute blank { xsd:boolean }?,
## default value: none
attribute calendarType { s_ST_CalendarType }?,
element filter { sml_CT_Filter }*,
element dateGroupItem { sml_CT_DateGroupItem }*
sml_CT_Filter = attribute val { s_ST_Xstring }?
sml_CT_CustomFilters =
## default value: false
attribute and { xsd:boolean }?,
element customFilter { sml_CT_CustomFilter }+
sml_CT_CustomFilter =
## default value: equal
attribute operator { sml_ST_FilterOperator }?,
attribute val { s_ST_Xstring }?
sml_CT_Top10 =
## default value: true
attribute top { xsd:boolean }?,
## default value: false
attribute percent { xsd:boolean }?,
attribute val { xsd:double },
attribute filterVal { xsd:double }?
sml_CT_ColorFilter =
attribute dxfId { sml_ST_DxfId }?,
## default value: true
attribute cellColor { xsd:boolean }?
sml_CT_IconFilter =
attribute iconSet { sml_ST_IconSetType },
attribute iconId { xsd:unsignedInt }?
sml_ST_FilterOperator =
string "equal"
| string "lessThan"
| string "lessThanOrEqual"
| string "notEqual"
| string "greaterThanOrEqual"
| string "greaterThan"
sml_CT_DynamicFilter =
attribute type { sml_ST_DynamicFilterType },
attribute val { xsd:double }?,
attribute valIso { xsd:dateTime }?,
attribute maxVal { xsd:double }?,
attribute maxValIso { xsd:dateTime }?
sml_ST_DynamicFilterType =
string "null"
| string "aboveAverage"
| string "belowAverage"
| string "tomorrow"
| string "today"
| string "yesterday"
| string "nextWeek"
| string "thisWeek"
| string "lastWeek"
| string "nextMonth"
| string "thisMonth"
| string "lastMonth"
| string "nextQuarter"
| string "thisQuarter"
| string "lastQuarter"
| string "nextYear"
| string "thisYear"
| string "lastYear"
| string "yearToDate"
| string "Q1"
| string "Q2"
| string "Q3"
| string "Q4"
| string "M1"
| string "M2"
| string "M3"
| string "M4"
| string "M5"
| string "M6"
| string "M7"
| string "M8"
| string "M9"
| string "M10"
| string "M11"
| string "M12"
sml_ST_IconSetType =
string "3Arrows"
| string "3ArrowsGray"
| string "3Flags"
| string "3TrafficLights1"
| string "3TrafficLights2"
| string "3Signs"
| string "3Symbols"
| string "3Symbols2"
| string "4Arrows"
| string "4ArrowsGray"
| string "4RedToBlack"
| string "4Rating"
| string "4TrafficLights"
| string "5Arrows"
| string "5ArrowsGray"
| string "5Rating"
| string "5Quarters"
sml_CT_SortState =
## default value: false
attribute columnSort { xsd:boolean }?,
## default value: false
attribute caseSensitive { xsd:boolean }?,
## default value: none
attribute sortMethod { sml_ST_SortMethod }?,
attribute ref { sml_ST_Ref },
element sortCondition { sml_CT_SortCondition }*,
element extLst { sml_CT_ExtensionList }?
sml_CT_SortCondition =
## default value: false
attribute descending { xsd:boolean }?,
## default value: value
attribute sortBy { sml_ST_SortBy }?,
attribute ref { sml_ST_Ref },
attribute customList { s_ST_Xstring }?,
attribute dxfId { sml_ST_DxfId }?,
## default value: 3Arrows
attribute iconSet { sml_ST_IconSetType }?,
attribute iconId { xsd:unsignedInt }?
sml_ST_SortBy =
string "value"
| string "cellColor"
| string "fontColor"
| string "icon"
sml_ST_SortMethod = string "stroke" | string "pinYin" | string "none"
sml_CT_DateGroupItem =
attribute year { xsd:unsignedShort },
attribute month { xsd:unsignedShort }?,
attribute day { xsd:unsignedShort }?,
attribute hour { xsd:unsignedShort }?,
attribute minute { xsd:unsignedShort }?,
attribute second { xsd:unsignedShort }?,
attribute dateTimeGrouping { sml_ST_DateTimeGrouping }
sml_ST_DateTimeGrouping =
string "year"
| string "month"
| string "day"
| string "hour"
| string "minute"
| string "second"
sml_ST_CellRef = xsd:string
sml_ST_Ref = xsd:string
sml_ST_RefA = xsd:string
sml_ST_Sqref = list { sml_ST_Ref* }
sml_ST_Formula = s_ST_Xstring
sml_ST_UnsignedIntHex = xsd:hexBinary { length = "4" }
sml_ST_UnsignedShortHex = xsd:hexBinary { length = "2" }
sml_CT_XStringElement = attribute v { s_ST_Xstring }
sml_CT_Extension =
attribute uri { xsd:token }?,
sml_CT_Extension_any
sml_CT_Extension_any =
element * - (o:* | v:* | w10:* | x:*) {
anyAttribute*,
mixed { anyElement* }
}
sml_CT_ObjectAnchor =
## default value: false
attribute moveWithCells { xsd:boolean }?,
## default value: false
attribute sizeWithCells { xsd:boolean }?,
xdr_from,
xdr_to
sml_EG_ExtensionList = element ext { sml_CT_Extension }*
sml_CT_ExtensionList = sml_EG_ExtensionList?
sml_calcChain = element calcChain { sml_CT_CalcChain }
sml_CT_CalcChain =
element c { sml_CT_CalcCell }+,
element extLst { sml_CT_ExtensionList }?
sml_CT_CalcCell =
attribute (r | ref) { sml_ST_CellRef },
## default value: 0
attribute i { xsd:int }?,
## default value: false
attribute s { xsd:boolean }?,
## default value: false
attribute l { xsd:boolean }?,
## default value: false
attribute t { xsd:boolean }?,
## default value: false
attribute a { xsd:boolean }?
sml_comments = element comments { sml_CT_Comments }
sml_CT_Comments =
element authors { sml_CT_Authors },
element commentList { sml_CT_CommentList },
element extLst { sml_CT_ExtensionList }?
sml_CT_Authors = element author { s_ST_Xstring }*
sml_CT_CommentList = element comment { sml_CT_Comment }*
sml_CT_Comment =
attribute ref { sml_ST_Ref },
attribute authorId { xsd:unsignedInt },
attribute guid { s_ST_Guid }?,
attribute shapeId { xsd:unsignedInt }?,
element text { sml_CT_Rst },
element commentPr { sml_CT_CommentPr }?
sml_CT_CommentPr =
## default value: true
attribute locked { xsd:boolean }?,
## default value: true
attribute defaultSize { xsd:boolean }?,
## default value: true
attribute print { xsd:boolean }?,
## default value: false
attribute disabled { xsd:boolean }?,
## default value: true
attribute autoFill { xsd:boolean }?,
## default value: true
attribute autoLine { xsd:boolean }?,
attribute altText { s_ST_Xstring }?,
## default value: left
attribute textHAlign { sml_ST_TextHAlign }?,
## default value: top
attribute textVAlign { sml_ST_TextVAlign }?,
## default value: true
attribute lockText { xsd:boolean }?,
## default value: false
attribute justLastX { xsd:boolean }?,
## default value: false
attribute autoScale { xsd:boolean }?,
element anchor { sml_CT_ObjectAnchor }
sml_ST_TextHAlign =
string "left"
| string "center"
| string "right"
| string "justify"
| string "distributed"
sml_ST_TextVAlign =
string "top"
| string "center"
| string "bottom"
| string "justify"
| string "distributed"
sml_MapInfo = element MapInfo { sml_CT_MapInfo }
sml_CT_MapInfo =
attribute SelectionNamespaces { xsd:string },
element Schema { sml_CT_Schema }+,
element Map { sml_CT_Map }+
sml_CT_Schema =
mixed {
attribute ID { xsd:string },
attribute SchemaRef { xsd:string }?,
attribute Namespace { xsd:string }?,
attribute SchemaLanguage { xsd:token }?,
sml_CT_Schema_any
}
sml_CT_Schema_any =
element * - (o:* | v:* | w10:* | x:*) {
anyAttribute*,
mixed { anyElement* }
}
sml_CT_Map =
attribute ID { xsd:unsignedInt },
attribute Name { xsd:string },
attribute RootElement { xsd:string },
attribute SchemaID { xsd:string },
attribute ShowImportExportValidationErrors { xsd:boolean },
attribute AutoFit { xsd:boolean },
attribute Append { xsd:boolean },
attribute PreserveSortAFLayout { xsd:boolean },
attribute PreserveFormat { xsd:boolean },
element DataBinding { sml_CT_DataBinding }?
sml_CT_DataBinding =
attribute DataBindingName { xsd:string }?,
attribute FileBinding { xsd:boolean }?,
attribute ConnectionID { xsd:unsignedInt }?,
attribute FileBindingName { xsd:string }?,
attribute DataBindingLoadMode { xsd:unsignedInt },
sml_CT_DataBinding_any
sml_CT_DataBinding_any =
element * - (o:* | v:* | w10:* | x:*) {
anyAttribute*,
mixed { anyElement* }
}
sml_connections = element connections { sml_CT_Connections }
sml_CT_Connections = element connection { sml_CT_Connection }+
sml_CT_Connection =
attribute id { xsd:unsignedInt },
attribute sourceFile { s_ST_Xstring }?,
attribute odcFile { s_ST_Xstring }?,
## default value: false
attribute keepAlive { xsd:boolean }?,
## default value: 0
attribute interval { xsd:unsignedInt }?,
attribute name { s_ST_Xstring }?,
attribute description { s_ST_Xstring }?,
attribute type { xsd:unsignedInt }?,
## default value: 1
attribute reconnectionMethod { xsd:unsignedInt }?,
attribute refreshedVersion { xsd:unsignedByte },
## default value: 0
attribute minRefreshableVersion { xsd:unsignedByte }?,
## default value: false
attribute savePassword { xsd:boolean }?,
## default value: false
attribute new { xsd:boolean }?,
## default value: false
attribute deleted { xsd:boolean }?,
## default value: false
attribute onlyUseConnectionFile { xsd:boolean }?,
## default value: false
attribute background { xsd:boolean }?,
## default value: false
attribute refreshOnLoad { xsd:boolean }?,
## default value: false
attribute saveData { xsd:boolean }?,
## default value: integrated
attribute credentials { sml_ST_CredMethod }?,
attribute singleSignOnId { s_ST_Xstring }?,
element dbPr { sml_CT_DbPr }?,
element olapPr { sml_CT_OlapPr }?,
element webPr { sml_CT_WebPr }?,
element textPr { sml_CT_TextPr }?,
element parameters { sml_CT_Parameters }?,
element extLst { sml_CT_ExtensionList }?
sml_ST_CredMethod =
string "integrated"
| string "none"
| string "stored"
| string "prompt"
sml_CT_DbPr =
attribute connection { s_ST_Xstring },
attribute command { s_ST_Xstring }?,
attribute serverCommand { s_ST_Xstring }?,
## default value: 2
attribute commandType { xsd:unsignedInt }?
sml_CT_OlapPr =
## default value: false
attribute local { xsd:boolean }?,
attribute localConnection { s_ST_Xstring }?,
## default value: true
attribute localRefresh { xsd:boolean }?,
## default value: false
attribute sendLocale { xsd:boolean }?,
attribute rowDrillCount { xsd:unsignedInt }?,
## default value: true
attribute serverFill { xsd:boolean }?,
## default value: true
attribute serverNumberFormat { xsd:boolean }?,
## default value: true
attribute serverFont { xsd:boolean }?,
## default value: true
attribute serverFontColor { xsd:boolean }?
sml_CT_WebPr =
## default value: false
attribute xml { xsd:boolean }?,
## default value: false
attribute sourceData { xsd:boolean }?,
## default value: false
attribute parsePre { xsd:boolean }?,
## default value: false
attribute consecutive { xsd:boolean }?,
## default value: false
attribute firstRow { xsd:boolean }?,
## default value: false
attribute xl97 { xsd:boolean }?,
## default value: false
attribute textDates { xsd:boolean }?,
## default value: false
attribute xl2000 { xsd:boolean }?,
attribute url { s_ST_Xstring }?,
attribute post { s_ST_Xstring }?,
## default value: false
attribute htmlTables { xsd:boolean }?,
## default value: none
attribute htmlFormat { sml_ST_HtmlFmt }?,
attribute editPage { s_ST_Xstring }?,
element tables { sml_CT_Tables }?
sml_ST_HtmlFmt = string "none" | string "rtf" | string "all"
sml_CT_Parameters =
attribute count { xsd:unsignedInt }?,
element parameter { sml_CT_Parameter }+
sml_CT_Parameter =
attribute name { s_ST_Xstring }?,
## default value: 0
attribute sqlType { xsd:int }?,
## default value: prompt
attribute parameterType { sml_ST_ParameterType }?,
## default value: false
attribute refreshOnChange { xsd:boolean }?,
attribute prompt { s_ST_Xstring }?,
attribute boolean { xsd:boolean }?,
attribute double { xsd:double }?,
attribute integer { xsd:int }?,
attribute string { s_ST_Xstring }?,
attribute cell { s_ST_Xstring }?
sml_ST_ParameterType = string "prompt" | string "value" | string "cell"
sml_CT_Tables =
attribute count { xsd:unsignedInt }?,
(element m { sml_CT_TableMissing }
| element s { sml_CT_XStringElement }
| element x { sml_CT_Index })+
sml_CT_TableMissing = empty
sml_CT_TextPr =
## default value: true
attribute prompt { xsd:boolean }?,
## default value: win
attribute fileType { sml_ST_FileType }?,
## default value: 1252
attribute codePage { xsd:unsignedInt }?,
attribute characterSet { xsd:string }?,
## default value: 1
attribute firstRow { xsd:unsignedInt }?,
attribute sourceFile { s_ST_Xstring }?,
## default value: true
attribute delimited { xsd:boolean }?,
## default value: .
attribute decimal { s_ST_Xstring }?,
## default value: ,
attribute thousands { s_ST_Xstring }?,
## default value: true
attribute tab { xsd:boolean }?,
## default value: false
attribute space { xsd:boolean }?,
## default value: false
attribute comma { xsd:boolean }?,
## default value: false
attribute semicolon { xsd:boolean }?,
## default value: false
attribute consecutive { xsd:boolean }?,
## default value: doubleQuote
attribute qualifier { sml_ST_Qualifier }?,
attribute delimiter { s_ST_Xstring }?,
element textFields { sml_CT_TextFields }?
sml_ST_FileType =
string "mac"
| string "win"
| string "dos"
| string "lin"
| string "other"
sml_ST_Qualifier =
string "doubleQuote" | string "singleQuote" | string "none"
sml_CT_TextFields =
## default value: 1
attribute count { xsd:unsignedInt }?,
element textField { sml_CT_TextField }+
sml_CT_TextField =
## default value: general
attribute type { sml_ST_ExternalConnectionType }?,
## default value: 0
attribute position { xsd:unsignedInt }?
sml_ST_ExternalConnectionType =
string "general"
| string "text"
| string "MDY"
| string "DMY"
| string "YMD"
| string "MYD"
| string "DYM"
| string "YDM"
| string "skip"
| string "EMD"
sml_pivotCacheDefinition =
element pivotCacheDefinition { sml_CT_PivotCacheDefinition }
sml_pivotCacheRecords =
element pivotCacheRecords { sml_CT_PivotCacheRecords }
sml_pivotTableDefinition =
element pivotTableDefinition { sml_CT_pivotTableDefinition }
sml_CT_PivotCacheDefinition =
r_id?,
## default value: false
attribute invalid { xsd:boolean }?,
## default value: true
attribute saveData { xsd:boolean }?,
## default value: false
attribute refreshOnLoad { xsd:boolean }?,
## default value: false
attribute optimizeMemory { xsd:boolean }?,
## default value: true
attribute enableRefresh { xsd:boolean }?,
attribute refreshedBy { s_ST_Xstring }?,
attribute refreshedDate { xsd:double }?,
attribute refreshedDateIso { xsd:dateTime }?,
## default value: false
attribute backgroundQuery { xsd:boolean }?,
attribute missingItemsLimit { xsd:unsignedInt }?,
## default value: 0
attribute createdVersion { xsd:unsignedByte }?,
## default value: 0
attribute refreshedVersion { xsd:unsignedByte }?,
## default value: 0
attribute minRefreshableVersion { xsd:unsignedByte }?,
attribute recordCount { xsd:unsignedInt }?,
## default value: false
attribute upgradeOnRefresh { xsd:boolean }?,
## default value: false
attribute tupleCache { xsd:boolean }?,
## default value: false
attribute supportSubquery { xsd:boolean }?,
## default value: false
attribute supportAdvancedDrill { xsd:boolean }?,
element cacheSource { sml_CT_CacheSource },
element cacheFields { sml_CT_CacheFields },
element cacheHierarchies { sml_CT_CacheHierarchies }?,
element kpis { sml_CT_PCDKPIs }?,
element tupleCache { sml_CT_TupleCache }?,
element calculatedItems { sml_CT_CalculatedItems }?,
element calculatedMembers { sml_CT_CalculatedMembers }?,
element dimensions { sml_CT_Dimensions }?,
element measureGroups { sml_CT_MeasureGroups }?,
element maps { sml_CT_MeasureDimensionMaps }?,
element extLst { sml_CT_ExtensionList }?
sml_CT_CacheFields =
attribute count { xsd:unsignedInt }?,
element cacheField { sml_CT_CacheField }*
sml_CT_CacheField =
attribute name { s_ST_Xstring },
attribute caption { s_ST_Xstring }?,
attribute propertyName { s_ST_Xstring }?,
## default value: false
attribute serverField { xsd:boolean }?,
## default value: true
attribute uniqueList { xsd:boolean }?,
attribute numFmtId { sml_ST_NumFmtId }?,
attribute formula { s_ST_Xstring }?,
## default value: 0
attribute sqlType { xsd:int }?,
## default value: 0
attribute hierarchy { xsd:int }?,
## default value: 0
attribute level { xsd:unsignedInt }?,
## default value: true
attribute databaseField { xsd:boolean }?,
attribute mappingCount { xsd:unsignedInt }?,
## default value: false
attribute memberPropertyField { xsd:boolean }?,
element sharedItems { sml_CT_SharedItems }?,
element fieldGroup { sml_CT_FieldGroup }?,
element mpMap { sml_CT_X }*,
element extLst { sml_CT_ExtensionList }?
sml_CT_CacheSource =
attribute type { sml_ST_SourceType },
## default value: 0
attribute connectionId { xsd:unsignedInt }?,
(element worksheetSource { sml_CT_WorksheetSource }
| element consolidation { sml_CT_Consolidation }
| element extLst { sml_CT_ExtensionList }?)?
sml_ST_SourceType =
string "worksheet"
| string "external"
| string "consolidation"
| string "scenario"
sml_CT_WorksheetSource =
attribute ref { sml_ST_Ref }?,
attribute name { s_ST_Xstring }?,
attribute sheet { s_ST_Xstring }?,
r_id?
sml_CT_Consolidation =
## default value: true
attribute autoPage { xsd:boolean }?,
element pages { sml_CT_Pages }?,
element rangeSets { sml_CT_RangeSets }
sml_CT_Pages =
attribute count { xsd:unsignedInt }?,
element page { sml_CT_PCDSCPage }+
sml_CT_PCDSCPage =
attribute count { xsd:unsignedInt }?,
element pageItem { sml_CT_PageItem }*
sml_CT_PageItem = attribute name { s_ST_Xstring }
sml_CT_RangeSets =
attribute count { xsd:unsignedInt }?,
element rangeSet { sml_CT_RangeSet }+
sml_CT_RangeSet =
attribute i1 { xsd:unsignedInt }?,
attribute i2 { xsd:unsignedInt }?,
attribute i3 { xsd:unsignedInt }?,
attribute i4 { xsd:unsignedInt }?,
attribute ref { sml_ST_Ref }?,
attribute name { s_ST_Xstring }?,
attribute sheet { s_ST_Xstring }?,
r_id?
sml_CT_SharedItems =
## default value: true
attribute containsSemiMixedTypes { xsd:boolean }?,
## default value: true
attribute containsNonDate { xsd:boolean }?,
## default value: false
attribute containsDate { xsd:boolean }?,
## default value: true
attribute containsString { xsd:boolean }?,
## default value: false
attribute containsBlank { xsd:boolean }?,
## default value: false
attribute containsMixedTypes { xsd:boolean }?,
## default value: false
attribute containsNumber { xsd:boolean }?,
## default value: false
attribute containsInteger { xsd:boolean }?,
attribute minValue { xsd:double }?,
attribute maxValue { xsd:double }?,
attribute minDate { xsd:dateTime }?,
attribute maxDate { xsd:dateTime }?,
attribute count { xsd:unsignedInt }?,
## default value: false
attribute longText { xsd:boolean }?,
(element m { sml_CT_Missing }
| element n { sml_CT_Number }
| element b { sml_CT_Boolean }
| element e { sml_CT_Error }
| element s { sml_CT_String }
| element d { sml_CT_DateTime })*
sml_CT_Missing =
attribute u { xsd:boolean }?,
attribute f { xsd:boolean }?,
attribute c { s_ST_Xstring }?,
attribute cp { xsd:unsignedInt }?,
attribute in { xsd:unsignedInt }?,
attribute bc { sml_ST_UnsignedIntHex }?,
attribute fc { sml_ST_UnsignedIntHex }?,
## default value: false
attribute i { xsd:boolean }?,
## default value: false
attribute un { xsd:boolean }?,
## default value: false
attribute st { xsd:boolean }?,
## default value: false
attribute b { xsd:boolean }?,
element tpls { sml_CT_Tuples }*,
element x { sml_CT_X }*
sml_CT_Number =
attribute v { xsd:double },
attribute u { xsd:boolean }?,
attribute f { xsd:boolean }?,
attribute c { s_ST_Xstring }?,
attribute cp { xsd:unsignedInt }?,
attribute in { xsd:unsignedInt }?,
attribute bc { sml_ST_UnsignedIntHex }?,
attribute fc { sml_ST_UnsignedIntHex }?,
## default value: false
attribute i { xsd:boolean }?,
## default value: false
attribute un { xsd:boolean }?,
## default value: false
attribute st { xsd:boolean }?,
## default value: false
attribute b { xsd:boolean }?,
element tpls { sml_CT_Tuples }*,
element x { sml_CT_X }*
sml_CT_Boolean =
attribute v { xsd:boolean },
attribute u { xsd:boolean }?,
attribute f { xsd:boolean }?,
attribute c { s_ST_Xstring }?,
attribute cp { xsd:unsignedInt }?,
element x { sml_CT_X }*
sml_CT_Error =
attribute v { s_ST_Xstring },
attribute u { xsd:boolean }?,
attribute f { xsd:boolean }?,
attribute c { s_ST_Xstring }?,
attribute cp { xsd:unsignedInt }?,
attribute in { xsd:unsignedInt }?,
attribute bc { sml_ST_UnsignedIntHex }?,
attribute fc { sml_ST_UnsignedIntHex }?,
## default value: false
attribute i { xsd:boolean }?,
## default value: false
attribute un { xsd:boolean }?,
## default value: false
attribute st { xsd:boolean }?,
## default value: false
attribute b { xsd:boolean }?,
element tpls { sml_CT_Tuples }?,
element x { sml_CT_X }*
sml_CT_String =
attribute v { s_ST_Xstring },
attribute u { xsd:boolean }?,
attribute f { xsd:boolean }?,
attribute c { s_ST_Xstring }?,
attribute cp { xsd:unsignedInt }?,
attribute in { xsd:unsignedInt }?,
attribute bc { sml_ST_UnsignedIntHex }?,
attribute fc { sml_ST_UnsignedIntHex }?,
## default value: false
attribute i { xsd:boolean }?,
## default value: false
attribute un { xsd:boolean }?,
## default value: false
attribute st { xsd:boolean }?,
## default value: false
attribute b { xsd:boolean }?,
element tpls { sml_CT_Tuples }*,
element x { sml_CT_X }*
sml_CT_DateTime =
attribute v { xsd:dateTime },
attribute u { xsd:boolean }?,
attribute f { xsd:boolean }?,
attribute c { s_ST_Xstring }?,
attribute cp { xsd:unsignedInt }?,
element x { sml_CT_X }*
sml_CT_FieldGroup =
attribute par { xsd:unsignedInt }?,
attribute base { xsd:unsignedInt }?,
element rangePr { sml_CT_RangePr }?,
element discretePr { sml_CT_DiscretePr }?,
element groupItems { sml_CT_GroupItems }?
sml_CT_RangePr =
## default value: true
attribute autoStart { xsd:boolean }?,
## default value: true
attribute autoEnd { xsd:boolean }?,
## default value: range
attribute groupBy { sml_ST_GroupBy }?,
attribute startNum { xsd:double }?,
attribute endNum { xsd:double }?,
attribute startDate { xsd:dateTime }?,
attribute endDate { xsd:dateTime }?,
## default value: 1
attribute groupInterval { xsd:double }?
sml_ST_GroupBy =
string "range"
| string "seconds"
| string "minutes"
| string "hours"
| string "days"
| string "months"
| string "quarters"
| string "years"
sml_CT_DiscretePr =
attribute count { xsd:unsignedInt }?,
element x { sml_CT_Index }+
sml_CT_GroupItems =
attribute count { xsd:unsignedInt }?,
(element m { sml_CT_Missing }
| element n { sml_CT_Number }
| element b { sml_CT_Boolean }
| element e { sml_CT_Error }
| element s { sml_CT_String }
| element d { sml_CT_DateTime })+
sml_CT_PivotCacheRecords =
attribute count { xsd:unsignedInt }?,
element r { sml_CT_Record }*,
element extLst { sml_CT_ExtensionList }?
sml_CT_Record =
(element m { sml_CT_Missing }
| element n { sml_CT_Number }
| element b { sml_CT_Boolean }
| element e { sml_CT_Error }
| element s { sml_CT_String }
| element d { sml_CT_DateTime }
| element x { sml_CT_Index })+
sml_CT_PCDKPIs =
attribute count { xsd:unsignedInt }?,
element kpi { sml_CT_PCDKPI }*
sml_CT_PCDKPI =
attribute uniqueName { s_ST_Xstring },
attribute caption { s_ST_Xstring }?,
attribute displayFolder { s_ST_Xstring }?,
attribute measureGroup { s_ST_Xstring }?,
attribute parent { s_ST_Xstring }?,
attribute value { s_ST_Xstring },
attribute goal { s_ST_Xstring }?,
attribute status { s_ST_Xstring }?,
attribute trend { s_ST_Xstring }?,
attribute weight { s_ST_Xstring }?,
attribute time { s_ST_Xstring }?
sml_CT_CacheHierarchies =
attribute count { xsd:unsignedInt }?,
element cacheHierarchy { sml_CT_CacheHierarchy }*
sml_CT_CacheHierarchy =
attribute uniqueName { s_ST_Xstring },
attribute caption { s_ST_Xstring }?,
## default value: false
attribute measure { xsd:boolean }?,
## default value: false
attribute set { xsd:boolean }?,
attribute parentSet { xsd:unsignedInt }?,
## default value: 0
attribute iconSet { xsd:int }?,
## default value: false
attribute attribute { xsd:boolean }?,
## default value: false
attribute time { xsd:boolean }?,
## default value: false
attribute keyAttribute { xsd:boolean }?,
attribute defaultMemberUniqueName { s_ST_Xstring }?,
attribute allUniqueName { s_ST_Xstring }?,
attribute allCaption { s_ST_Xstring }?,
attribute dimensionUniqueName { s_ST_Xstring }?,
attribute displayFolder { s_ST_Xstring }?,
attribute measureGroup { s_ST_Xstring }?,
## default value: false
attribute measures { xsd:boolean }?,
attribute count { xsd:unsignedInt },
## default value: false
attribute oneField { xsd:boolean }?,
attribute memberValueDatatype { xsd:unsignedShort }?,
attribute unbalanced { xsd:boolean }?,
attribute unbalancedGroup { xsd:boolean }?,
## default value: false
attribute hidden { xsd:boolean }?,
element fieldsUsage { sml_CT_FieldsUsage }?,
element groupLevels { sml_CT_GroupLevels }?,
element extLst { sml_CT_ExtensionList }?
sml_CT_FieldsUsage =
attribute count { xsd:unsignedInt }?,
element fieldUsage { sml_CT_FieldUsage }*
sml_CT_FieldUsage = attribute x { xsd:int }
sml_CT_GroupLevels =
attribute count { xsd:unsignedInt }?,
element groupLevel { sml_CT_GroupLevel }+
sml_CT_GroupLevel =
attribute uniqueName { s_ST_Xstring },
attribute caption { s_ST_Xstring },
## default value: false
attribute user { xsd:boolean }?,
## default value: false
attribute customRollUp { xsd:boolean }?,
element groups { sml_CT_Groups }?,
element extLst { sml_CT_ExtensionList }?
sml_CT_Groups =
attribute count { xsd:unsignedInt }?,
element group { sml_CT_LevelGroup }+
sml_CT_LevelGroup =
attribute name { s_ST_Xstring },
attribute uniqueName { s_ST_Xstring },
attribute caption { s_ST_Xstring },
attribute uniqueParent { s_ST_Xstring }?,
attribute id { xsd:int }?,
element groupMembers { sml_CT_GroupMembers }
sml_CT_GroupMembers =
attribute count { xsd:unsignedInt }?,
element groupMember { sml_CT_GroupMember }+
sml_CT_GroupMember =
attribute uniqueName { s_ST_Xstring },