-
Notifications
You must be signed in to change notification settings - Fork 0
/
open-xml.d.ts
3174 lines (2792 loc) · 155 KB
/
open-xml.d.ts
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
/** OpenXml Spreadsheet data types and interfaces
* @since 2016-05-30
*/
declare module OpenXml {
// All ST_* types have exact names taken from W3C XML §A.2
type ST_BlackWhiteMode = ("clr" | "auto" | "gray" | "ltGray" | "invGray" | "grayWhite" | "blackGray" | "blackWhite" | "black" | "white" | "hidden");
type ST_BlipCompression = ("email" | "screen" | "print" | "hqprint" | "none");
type ST_BorderStyle = ("none" | "thin" | "medium" | "dashed" | "dotted" | "thick" | "double" | "hair" | "mediumDashed" | "dashDot" | "mediumDashDot" | "dashDotDot" | "mediumDashDotDot" | "slantDashDot");
type ST_CellFormulaType = ("normal" | "array" | "dataTable" | "shared");
type ST_CellType = ("b" | "d" | "n" | "e" | "s" | "str" | "inlineStr");
type ST_ColID = number; // >= 0
type ST_Coordinate = number; // ST_UniversalMeasure: -?[0-9]+(\.[0-9]+)?(mm|cm|in|pt|pc|pi)
type ST_EditAs = ("twoCell" | "oneCell" | "absolute");
type ST_FontCollectionIndex = ("major" | "minor" | "none");
type ST_FontScheme = ("none" | "major" | "minor");
type ST_GradientType = ("linear" | "path");
type ST_HorizontalAlignment = ("general" | "left" | "center" | "right" | "fill" | "justify" | "centerContinuous" | "distributed");
type ST_Orientation = ("default" | "landscape" | "portrait");
type ST_PatternType = ("none" | "solid" | "mediumGray" | "darkGray" | "lightGray" | "darkHorizontal" | "darkVertical" | "darkDown" | "darkUp" | "darkGrid" | "darkTrellis" | "lightHorizontal" | "lightVertical" | "lightDown" | "lightUp" | "lightGrid" | "lightTrellis" | "gray125" | "gray0625");
type ST_Percentage = number;
type ST_PositiveCoordinate = number; // >= 0
type ST_RectAlignment = ("tl" | "t" | "tr" | "l" | "ctr" | "r" | "bl" | "b" | "br");
type ST_Ref = string;
type ST_RelationshipId = string;
type ST_RowID = number; // >= 0
type ST_SheetState = ("visible" | "hidden" | "veryHidden");
type ST_SheetViewType = ("normal" | "pageBreakPreview" | "pageLayout");
type ST_TableStyleType = ("wholeTable" | "headerRow" | "totalRow" | "firstColumn" | "lastColumn" | "firstRowStripe" | "secondRowStripe" | "firstColumnStripe" | "secondColumnStripe" | "firstHeaderCell" | "lastHeaderCell" | "firstTotalCell" | "lastTotalCell" | "firstSubtotalColumn" | "secondSubtotalColumn" | "thirdSubtotalColumn" | "firstSubtotalRow" | "secondSubtotalRow" | "thirdSubtotalRow" | "blankRow" | "firstColumnSubheading" | "secondColumnSubheading" | "thirdColumnSubheading" | "firstRowSubheading" | "secondRowSubheading" | "thirdRowSubheading" | "pageFieldLabels" | "pageFieldValues");
type ST_TileFlipMode = ("none" | "x" | "y" | "xy");
type ST_UnderlineValues = ("single" | "double" | "singleAccounting" | "doubleAccounting" | "none");
type ST_VerticalAlignment = ("top" | "center" | "bottom" | "justify" | "distributed");
type ST_VerticalAlignRun = ("baseline" | "superscript" | "subscript");
/** <xdr:absoluteAnchor> (Absolute Anchor Shape Size, W3C XML CT_AbsoluteAnchor §A.4.5)
* parents: wsDr (§20.5.2.35)
*
* This element is used as an anchor placeholder for a shape or group of shapes.
* It anchors the object in the same position relative to sheet position and its extents are in EMU units.
* https://docs.microsoft.com/en-us/dotnet/api/documentformat.openxml.drawing.spreadsheet.absoluteanchor?view=openxml-2.8.1
*/
interface AbsoluteAnchor extends EgObjectChoices {
ext: Extent;
pos: Position;
clientData: ClientData;
}
/** Attribute group - Blob (W3C XML AG_Blob §A.4.1)
*/
interface AgBlob {
/** default: "" */
embed?: ST_RelationshipId | null;
/** default: "" */
link?: ST_RelationshipId | null;
}
/** Attribute group - Locking (W3C XML AG_Locking §A.4.1)
*/
interface AgLocking {
// attributes
/** Disallow Showing Adjust Handles - Specifies that the generating application should not show adjust handles for the corresponding connection shape; default: false */
noAdjustHandles?: boolean | null;
/** Disallow Arrowhead Changes - Specifies that the generating application should not allow arrowhead changes for the corresponding connection shape; default: false */
noChangeArrowheads?: boolean | null;
/** Disallow Aspect Ratio Change - Specifies that the generating application should not allow aspect ratio changes for the corresponding connection shape; default: false */
noChangeAspect?: boolean | null;
/** Disallow Shape Type Change - Specifies that the generating application should not allow shape type changes for the corresponding connection shape; default: false */
noChangeShapeType?: boolean | null;
/** Disallow Shape Point Editing - Specifies that the generating application should not allow shape point changes for the corresponding connection shape; default: false */
noEditPoints?: boolean | null;
/** Disallow Shape Grouping - Specifies that the generating application should not allow shape grouping for the corresponding connection shape.
* That is it cannot be combined within other shapes to form a group of shapes; default: false */
noGrp?: boolean | null;
/** Disallow Shape Movement - Specifies that the generating application should not allow position changes for the corresponding connection shape; default: false */
noMove?: boolean | null;
/** Disallow Shape Resize - Specifies that the generating application should not allow size changes for the corresponding connection shape; default: false */
noResize?: boolean | null;
/** Disallow Shape Rotation - Specifies that the generating application should not allow shape rotation changes for the corresponding connection shape; default: false */
noRot?: boolean | null;
/** Disallow Shape Selection - Specifies that the generating application should not allow selecting of the corresponding connection shape.
* That means also that no picture, shapes or text attached to this connection shape can be selected if this attribute has been specified; default: false */
noSelect?: boolean | null;
}
/** <x:alignment> (Alignment, W3C XML CT_CellAlignment §A.2)
* parents: dxf (§18.8.14); ndxf (§18.11.1.4); odxf (§18.11.1.6); xf (§18.8.45)
*
* Formatting information pertaining to text alignment in cells. How text is aligned both horizontally and vertically, as well as indentation settings, etc.
* @see https://docs.microsoft.com/en-us/dotnet/api/documentformat.openxml.spreadsheet.alignment?view=openxml-2.8.1
*/
interface Alignment {
// attributes
/** horizontal alignment in cells */
horizontal?: ST_HorizontalAlignment | null;
/** An integer value, where an increment of 1 represents 3 spaces. Indicates the number of spaces (of the normal style font) of indentation for text in a cell.
* The number of spaces to indent is calculated as following: Number of spaces to indent = indent value * 3
*/
indent?: number | null;
/** indicates if the cells justified or distributed alignment should be used on the last line of text. (This is typical for East Asian alignments but not typical in other contexts) */
justifyLastLine?: boolean | null;
/** An integer value indicating whether the reading order (bidirectionality) of the cell is left-to-right, right-to-left, or context dependent.
* 0 - Context Dependent - reading order is determined by scanning the text for the first non-whitespace character: if it is a strong right-to-left character, the reading order is right-to-left; otherwise, the reading order left-to-right
* 1 - Left-to-Right - reading order is left-to-right in the cell, as in English
* 2 - Right-to-Left - reading order is right-to-left in the cell, as in Hebrew
*/
readingOrder?: number | null;
/** An integer value (used only in a dxf element) to indicate the additional number of spaces of indentation to adjust for text in a cell */
relativeIndent?: number | null;
/** indicates if the displayed text in the cell should be shrunk to fit the cell width. Not applicable when a cell contains multiple lines of text */
shrinkToFit?: boolean | null;
/** Text rotation in cells. Expressed in degrees. Values range from 0 to 180. The first letter of the text is considered the center-point of the arc.
* For 0 - 90, the value represents degrees above horizon. For 91-180 the degrees below the horizon is calculated as: [degrees below horizon] = 90 - textRotation.
* 0, 45, 90, 135, 180
*/
textRotation?: number | null;
/** vertical alignment in cells */
vertical?: ST_VerticalAlignment | null;
/** indicates if the text in a cell should be line-wrapped within the cell */
wrapText?: boolean | null;
}
/** <x:author> (Author, W3C XML content ST_Xstring §A.6.9)
* parents: authors (§18.7.2)
*
* This element holds a string representing the name of a single author of comments. Every comment shall have an author.
* The maximum length of the author string is an implementation detail, but a good guideline is 255 chars.
* @see https://docs.microsoft.com/en-us/dotnet/api/documentformat.openxml.spreadsheet.author?view=openxml-2.8.1
*/
interface Author {
content: string;
}
/** <x:authors> (Authors, W3C XML CT_Authors §A.2)
* parents: comments (§18.7.6)
*
* This element is a container that holds a list of comment author names. There can be many comment authors per sheet, but each author name shall be unique per sheet.
* The information for each author is stored only once for that sheet, and comments refer to the author by zero based index.
* Note that there can be multiple lists of authors per workbook since each sheet contains its own comments part, and each comments part defines a list of authors for comments on that sheet.
* @see https://docs.microsoft.com/en-us/dotnet/api/documentformat.openxml.spreadsheet.authors?view=openxml-2.8.1
*/
interface Authors {
authors: Author[];
}
/** <a:blip> (Blip, W3C XML CT_Blip §A.4.1)
* parents: blipFill (§21.3.2.2); blipFill (§20.1.8.14); blipFill (§20.2.2.1); blipFill (§20.5.2.2); blipFill (§19.3.1.4); buBlip (§21.1.2.4.2)
*
* This element specifies the existence of an image (binary large image or picture) and contains a reference to the image data.
* https://docs.microsoft.com/en-us/dotnet/api/documentformat.openxml.drawing.blip?view=openxml-2.8.1
*/
interface Blip extends AgBlob {
alphaBiLevel: Element; // CT_AlphaBiLevelEffect;
alphaCeiling: Element; // CT_AlphaCeilingEffect;
alphaFloor: Element; // CT_AlphaFloorEffect;
alphaInv: Element; // CT_AlphaInverseEffect;
alphaMod: Element; // CT_AlphaModulateEffect;
alphaModFix: Element; // CT_AlphaModulateFixedEffect;
alphaRepl: Element; // CT_AlphaReplaceEffect;
biLevel: Element; // CT_BiLevelEffect;
blur: Element; // CT_BlurEffect;
clrChange: Element; // CT_ColorChangeEffect;
clrRepl: Element; // CT_ColorReplaceEffect;
duotone: Element; // CT_DuotoneEffect;
fillOverlay: Element; // CT_FillOverlayEffect;
grayscl: Element; // CT_GrayscaleEffect;
hsl: Element; // CT_HSLEffect;
lum: Element; // CT_LuminanceEffect;
tint: Element; // CT_TintEffect;
extLst?: Element | null; // CT_OfficeArtExtensionList
// attributes
/** Compression State - Specifies the compression state with which the picture is stored. This allows the application to specify the amount of compression that has been applied to a picture. default: "none" */
cstate?: ST_BlipCompression | null;
/** Embedded Picture Reference - Specifies the identification information for an embedded picture. This attribute is used to specify an image that resides locally within the file. */
embed: ST_RelationshipId;
/** Linked Picture Reference - Specifies the identification information for a linked picture. This attribute is used to specify an image that does not reside within this file. */
link: ST_RelationshipId;
}
/** <xdr:blipFill> (Picture Fill, W3C XML CT_BlipFillProperties §A.4.1)
* parents: pic (§20.5.2.25)
*
* This element specifies the type of picture fill that the picture object has. Because a picture has a picture fill already by default, it is possible to have two fills specified for a picture object. An example of this is shown below.
* [Example: Consider the picture below that has a blip fill applied to it. The image used to fill this picture object has transparent pixels instead of white pixels.
* <xdr:pic>
* ...
* <xdr:blipFill>
* <a:blip r:embed="rId2"/>
* <a:stretch>
* <a:fillRect/>
* </a:stretch>
* </xdr:blipFill>
* ...
* </xdr:pic>
* The above picture object is shown as an example of this fill type. end example]
*
* [Example: Consider now the same picture object but with an additional gradient fill applied within the shape properties portion of the picture.
* <xdr:pic>
* ...
* <xdr:blipFill>
* <a:blip r:embed="rId2"/>
* <a:stretch>
* <a:fillRect/>
* </a:stretch>
* </xdr:blipFill>
* <xdr:spPr>
* <a:gradFill>
* <a:gsLst>
* <a:gs pos="0">
* <a:schemeClr val="tx2">
* <a:shade val="50000"/>
* </a:schemeClr>
* </a:gs>
* <a:gs pos="39999">
* <a:schemeClr val="tx2">
* <a:tint val="20000"/>
* </a:schemeClr>
* </a:gs>
* <a:gs pos="70000">
* <a:srgbClr val="C4D6EB"/>
* </a:gs>
* <a:gs pos="100000">
* <a:schemeClr val="bg1"/>
* </a:gs>
* </a:gsLst>
* </a:gradFill>
* </xdr:spPr>
* ...
* </xdr:pic>
*
* The above picture object is shown as an example of this double fill type. end example]
* https://docs.microsoft.com/en-us/dotnet/api/documentformat.openxml.drawing.spreadsheet.blipfill?view=openxml-2.8.1
*/
interface BlipFill extends EgFillModeProperties {
blip?: Blip | null;
srcRect?: FillRectangle | null;
// attributes
/** DPI Setting
* Specifies the DPI (dots per inch) used to calculate the size of the blip. If not present or zero, the DPI in the blip is used.
* [Note: This attribute is primarily used to keep track of the picture quality within a document. There are different levels of quality needed for
* print than on-screen viewing and thus a need to track this information. end note]
*/
dpi?: number | null;
/** Rotate With Shape - Specifies that the fill should rotate with the shape. That is, when the shape that has been filled with a picture and
* the containing shape (say a rectangle) is transformed with a rotation then the fill is transformed with the same rotation */
rotWithShape?: boolean | null;
}
/** <x:b> (Bold, W3C XML content CT_BooleanProperty §A.2)
* parents: font (§18.8.22); rPr (§18.4.7)
*
* Displays characters in bold face font style.
* @see https://docs.microsoft.com/en-us/dotnet/api/documentformat.openxml.spreadsheet.bold?view=openxml-2.8.1
*/
interface Bold {
val: boolean; // default: true
}
/** <x:border> (Border, W3C XML CT_Border §A.2)
* parents: borders (§18.8.5); dxf (§18.8.14); ndxf (§18.11.1.4); odxf (§18.11.1.6)
*
* Expresses a single set of cell border formats (left, right, top, bottom, diagonal). Color is optional. When missing, 'automatic' is implied.
* @see https://docs.microsoft.com/en-us/dotnet/api/documentformat.openxml.spreadsheet.border?view=openxml-2.8.1
*/
interface Border {
/** leading edge border */
start?: BorderProperty | null;
/** trailing edge border */
end?: BorderProperty | null;
/** top border */
top?: BorderProperty | null;
/** bottom border */
bottom?: BorderProperty | null;
/** diagonal */
diagonal?: BorderProperty | null;
/** vertical inner border */
vertical?: BorderProperty | null;
/** horizontal inner borders */
horizontal?: BorderProperty | null;
// these aren't part of the spec, but MS Office 2013 requires them
left?: BorderProperty | null;
right?: BorderProperty | null;
// attributes
/** indicates if the cell's diagonal border includes a diagonal line, starting at the top left corner of the cell and moving down to the bottom right corner of the cell */
diagonalDown?: boolean | null;
/** indicates if the cell's diagonal border includes a diagonal line, starting at the bottom left corner of the cell and moving up to the top right corner of the cell */
diagonalUp?: boolean | null;
/** indicates if left, right, top, and bottom borders should be applied only to outside borders of a cell range */
outline?: boolean | null; // default: true
}
/** (W3C XML CT_BorderPr §A.2)
* parents: border (§18.8.4)
* implementations: <x:bottom> (Bottom Border); <x:diagonal> (Diagonal Border); <x:end> (Trailing Edge Border); <x:horizontal> (Horizontal Inner Border); <x:start> (Leading End Border); <x:top> (Top Border); <x:vertical> (Vertical Inner Border)
* @see https://docs.microsoft.com/en-us/dotnet/api/documentformat.openxml.spreadsheet.bottomborder?view=openxml-2.8.1
* @see https://docs.microsoft.com/en-us/dotnet/api/documentformat.openxml.spreadsheet.diagonalborder?view=openxml-2.8.1
* @see https://docs.microsoft.com/en-us/dotnet/api/documentformat.openxml.spreadsheet.endborder?view=openxml-2.8.1
* @see https://docs.microsoft.com/en-us/dotnet/api/documentformat.openxml.spreadsheet.horizontalborder?view=openxml-2.8.1
* @see https://docs.microsoft.com/en-us/dotnet/api/documentformat.openxml.spreadsheet.startborder?view=openxml-2.8.1
* @see https://docs.microsoft.com/en-us/dotnet/api/documentformat.openxml.spreadsheet.topborder?view=openxml-2.8.1
* @see https://docs.microsoft.com/en-us/dotnet/api/documentformat.openxml.spreadsheet.verticalborder?view=openxml-2.8.1
*/
interface BorderProperty {
color?: Color | null;
// attributes
style?: ST_BorderStyle | null; // default: 'none'
}
/** <x:borders> (Borders, W3C XML CT_Borders §A.2)
* parents: styleSheet (§18.8.39)
*
* This element contains borders formatting information, specifying all border definitions for all cells in the workbook.
* NOTE: see link for example
* @see https://docs.microsoft.com/en-us/dotnet/api/documentformat.openxml.spreadsheet.borders?view=openxml-2.8.1
*/
interface Borders {
/** border count */
borders: Border[];
// attributes
count?: number;
}
/** <x:c> (Calculation Cell, W3C XML CT_CalcCell §A.2)
* parents: calcChain (§18.6.2)
*
* This element represents a single cell, which shall contain a formula, in the calc chain. Cells are calculated in the same order as the c elements appear in the Calculation Chain part.
* @see https://docs.microsoft.com/en-us/dotnet/api/documentformat.openxml.spreadsheet.calculationcell?view=openxml-2.8.1
*/
interface CalculationCell {
// attributes
//t?: boolean; // default: false
//a?: boolean; // default: false
/** sheet Id; default: 0 */
i?: number | null;
/** new dependency level; default: false */
l?: boolean | null;
/** ST_CellRef 'A1' style */
r: string;
/** child chain; default: false */
s?: boolean | null;
}
/** <x:calcChain> (Calculation Chain Info, W3C XML CT_CalcChain §A.2)
* parents: Root element of SpreadsheetML Calculation Chain part
*
* This element represents the root of the calculation chain.
* @see https://docs.microsoft.com/en-us/dotnet/api/documentformat.openxml.spreadsheet.calculationchain?view=openxml-2.8.1
*/
interface CalculationChain {
cs: CalculationCell[];
}
/** <x:c> (Cell, W3C XML CT_Cell §A.2)
* parents: row (§18.3.1.73)
*
* This collection represents a cell in the worksheet. Information about the cell's location (reference), value, data type, formatting, and formula is expressed here.
* While a cell can have a formula element f and a value element v, when the cell's type t is inlineStr then only the element is is allowed as a child element.
* NOTE: see link for examples
* @see https://docs.microsoft.com/en-us/dotnet/api/documentformat.openxml.spreadsheet.cell?view=openxml-2.8.1
*/
interface Cell {
// children
f?: CellFormula | null;
/** This element allows strings to be expressed directly in this cell instead of via a shared string table index */
is?: InlineString | null;
/** The value of this cell, see the 't' (cell data type) attribute. If the cell contains a string, then this value is an index into the shared string table.
* Otherwise, the cell's value is expressed directly in this element */
v?: CellValue | null;
// attributes
/** The 0-based index of the cell metadata record associated with this cell. Metadata information is found in the Metadata Part.
* Cell metadata is extra information stored at the cell level, and is attached to the cell (travels through moves, copy / paste, clear, etc). */
cm?: number | null;
/** A Boolean indicating if the spreadsheet application should show phonetic information */
ph?: boolean | null;
/** ST_CellRef, 'A1' style cell reference, technically optional, but not in practice */
r: string;
/** The 0-based index of this cell's style in the <cellXfs> collection. Style records are stored in the Styles Part */
s?: number | null;
/** ST_CellType, cell data type */
t?: ST_CellType | null;
/** The 0-based index of the value metadata record associated with this cell's value. Metadata records are stored in the Metadata Part.
* Value metadata is extra information stored at the cell level, but associated with the value rather than the cell itself */
vm?: number | null;
}
/** <x:cellStyle> (Cell Style, W3C XML CT_CellStyle, §A.2)
* parents: cellStyles (§18.8.8)
*
* This element represents the name and related formatting records for a named cell style in this workbook.
* Annex H contains a listing of cellStyles whose corresponding formatting records are implied rather than explicitly saved in the file.
* In this case, a builtinId attribute is written on the cellStyle record, but no corresponding formatting records are written.
* For all built-in cell styles, the builtinId determines the style, not the name. For all cell styles, Normal is applied by default.
* @see https://docs.microsoft.com/en-us/dotnet/api/documentformat.openxml.spreadsheet.cellstyle?view=openxml-2.8.1
*/
interface CellStyle {
// attributes
/** The index of a built-in cell style */
builtinId?: number | null;
/** True indicates that this built-in cell style has been customized. By default built-in styles are not persisted when not in use.
* This flag indicates that a built-in style has been modified, and therefore should be saved with the workbook, even if not currently in use. */
customBuiltin?: boolean | null;
/** If 'true' do not show this style in the application UI */
hidden?: boolean | null;
/** Indicates that this formatting is for an outline style. When styles are applied to outline levels (using the outline feature), this value is set and
* the formatting specified on this cell style is applied to the corresponding level of the outline */
iLevel?: number | null;
/** The name of the cell style */
name?: string | null;
/** CellStyleXfId, 0-based index referencing an xf record in the <cellStyleXfs> collection. This is used to determine the formatting defined for this named cell style. */
xfId: number;
}
/** <x:xf> (Format, W3C XML CT_Xf §A.2)
* parents: cellStyleXfs (§18.8.9); cellXfs (§18.8.10)
*
* A single xf element describes all of the formatting for a cell.
* @see https://docs.microsoft.com/en-us/dotnet/api/documentformat.openxml.spreadsheet.cellformat?view=openxml-2.8.1
*/
interface CellFormat {
alignment?: Alignment | null;
protection?: Protection | null;
//extLst? Element;
// attributes
/** indicates whether the alignment formatting specified for this xf should be applied */
applyAlignment?: boolean | null;
/** indicates whether the border formatting specified for this xf should be applied */
applyBorder?: boolean | null;
/** indicates whether the fill formatting specified for this xf should be applied */
applyFill?: boolean | null;
/** indicates whether the font formatting specified for this xf should be applied */
applyFont?: boolean | null;
/** indicates whether the number formatting specified for this xf should be applied */
applyNumberFormat?: boolean | null;
/** indicates whether the protection formatting specified for this xf should be applied */
applyProtection?: boolean | null;
/** 0-based index of the border record used by this cell format */
borderId?: number | null;
/** 0-based index of the fill record used by this cell format */
fillId?: number | null;
/** 0-based index of the font record used by this cell format */
fontId?: number | null;
/** NumberFormatId, Id of the number format (numFmt) record used by this cell format */
numFmtId?: number | null;
/** indicates whether the cell rendering includes a pivot table dropdown button; default: false */
pivotButton?: boolean | null;
/** indicates whether the text string in a cell should be prefixed by a single quote (e.g. 'text). In these cases, the quote is not stored in the Shared Strings Part; default: false */
quotePrefix?: boolean | null;
/** CellStyleXfId, for xf records contained in cellXfs this is the 0-based index of an xf record contained in <cellStyleXfs> corresponding to the cell style applied to the cell */
xfId?: number | null;
}
/** <x:cellXfs> (Cell Formats, W3C XML CT_CellXfs §A.2)
* parents: styleSheet (§18.8.39)
*
* This element contains the master formatting records (xf) which define the formatting applied to cells in this workbook.
* These records are the starting point for determining the formatting for a cell. Cells in the Sheet Part reference the xf records by zero-based index.
* A cell can have both direct formatting (e.g., bold) and a cell style (e.g., Explanatory) applied to it.
* Therefore, both the cell style xf records and cell xf records shall be read to understand the full set of formatting applied to a cell.
* @see https://docs.microsoft.com/en-us/dotnet/api/documentformat.openxml.spreadsheet.cellformats?view=openxml-2.8.1
*/
interface CellFormats {
xfs: CellFormat[];
// attributes
count?: number;
}
/** <x:f> (Formula, W3C XML CT_CellFormula §A.2)
* parents: c (§18.3.1.4); nc (§18.11.1.3); oc (§18.11.1.5)
*
* Formula for the cell. The formula expression is contained in the character node of this element.
* [Example: <f>SUM(C4:E4)</f> end example]
* NOTE: see link for example
* @see https://docs.microsoft.com/en-us/dotnet/api/documentformat.openxml.spreadsheet.cellformula?view=openxml-2.8.1
*/
interface CellFormula {
/** ST_Formula */
content: string;
// attributes
t?: ST_CellFormulaType | null;
ref?: ST_Ref | null;
si?: number | null;
}
/** <x:cellStyleXfs> (Formatting Records, W3C XML CT_CellStyleXfs §A.2)
* parents: styleSheet (§18.8.39)
*
* Master formatting records (xf's) which define the formatting for all named cell styles in this workbook.
* Master formatting records reference individual elements of formatting (e.g. number format, font definitions, cell fills, etc.)
* by specifying a zero-based index into those collections. Master formatting records also specify whether to apply or ignore particular aspects of formatting.
* [Example: Whether to apply a border or not. end example]
* A cell can have both direct formatting (e.g., bold) and a cell style (e.g., Explanatory) applied to it.
* Therefore, both the cell style xf records and cell xf records shall be read to understand the full set of formatting applied to a cell.
* NOTE: see line for example
* @see https://docs.microsoft.com/en-us/dotnet/api/documentformat.openxml.spreadsheet.cellstyleformats?view=openxml-2.8.1
*/
interface CellStyleFormats {
xfs: CellFormat[];
// attributes
count?: number;
}
/** <x:cellStyles> (Cell Styles, W3C XML CT_CellStyles §A.2)
* parents: styleSheet (§18.8.39)
*
* Contains the named cell styles, consisting of a sequence of named style records. A named cell style is a collection of direct or themed
* formatting (e.g. cell border, cell fill, font type/size/style) group together into a single named style, and can be applied to a cell.
* [Example:
* For example, "Normal", "Heading 1", "Title", and "20% Accent1" are named cell styles expressed below.
* They have builtInId's associated with them, and use xfId to reference the specific formatting elements pertaining to the particular style.
* The xfId is a zero-based index, referencing an xf record in the cellStyleXfs collection.
* <cellStyles count="4">
* <cellStyle name="20% - Accent1" xfId="3" builtinId="30"/>
* <cellStyle name="Heading 1" xfId="2" builtinId="16"/>
* <cellStyle name="Normal" xfId="0" builtinId="0"/>
* <cellStyle name="Title" xfId="1" builtinId="15"/>
* </cellStyles>
* end example]
* @see https://docs.microsoft.com/en-us/dotnet/api/documentformat.openxml.spreadsheet.cellstyles?view=openxml-2.8.1
*/
interface CellStyles {
cellStyles: CellStyle[];
// attributes
count?: number;
}
/** <x:v> (Cell Value, W3C XML content ST_Xstring §A.6.9)
* parents: c (§18.3.1.4); cell (§18.14.1); nc (§18.11.1.3); oc (§18.11.1.5); tp (§18.15.3)
*
* The value of a cell. If the cell contains a string, then this value is an index into the shared string table.
* Otherwise, the cell's value is expressed directly in this element.
* Cells containing formulas express the last calculated result of the formula in this element.
* For applications not wanting to implement the shared string table, an 'inline string' can be expressed in an <is> element
* under <c> (instead of a <v> element under <c>),in the same way a string would be expressed in the shared string table. [Note: See <is> for an example. end note]
* [Example:
* In this example cell B4 contains the number "360" and C4 contains the UTC date 22 November 1976, 08:30.
* <c r="B4">
* <v>360</v>
* </c>
* <c r="C4" t="d">
* <v>1976-11-22T08:30Z</v>
* </c>
* end example]
* @see https://docs.microsoft.com/en-us/dotnet/api/documentformat.openxml.spreadsheet.cellvalue?view=openxml-2.8.1
*/
interface CellValue {
content: string;
}
/** <xdr:clientData> (Client Data, W3C XML CT_AnchorClientData §A.4.5)
* parents: absoluteAnchor (§20.5.2.1); oneCellAnchor (§20.5.2.24); twoCellAnchor (§20.5.2.33)
*
* This element is used to set certain properties related to a drawing element on the client spreadsheet application.
* https://docs.microsoft.com/en-us/dotnet/api/documentformat.openxml.drawing.spreadsheet.clientdata?view=openxml-2.8.1
*/
interface ClientData {
/** Locks With Sheet Flag - This attribute indicates whether to disable selection on drawing elements when the sheet is protected; default: true */
fLocksWithSheet?: boolean | null;
/** Prints With Sheet Flag - This attribute indicates whether to print drawing elements when printing the sheet; default: true */
fPrintsWithSheet?: boolean | null;
}
/** <x:colors> (Colors, W3C XML CT_Colors §A.2)
* parents: styleSheet (§18.8.39)
*
* Color information associated with this stylesheet. This collection is written whenever the legacy color palette has been
* modified (backwards compatibility settings) or a custom color has been selected while using this workbook.
* When the color palette is modified, the indexedColors collection is written. When a custom color has been selected, the mruColors collection is written.
* @see https://docs.microsoft.com/en-us/dotnet/api/documentformat.openxml.spreadsheet.colors?view=openxml-2.8.1
*/
interface Colors {
indexedColors?: IndexedColors | null;
mruColors?: MruColors | null;
}
/** <x:col> (Column Width & Formatting, W3C XML CT_Col §A.2)
* parents: cols (§18.3.1.17)
*
* Defines column width and column formatting for one or more columns of the worksheet.
* [Example:
* This example shows that column 5 (E) has width and style information applied.
* <col min="5" max="5" width="9.140625" style="3"/>
* end example]
* @see https://docs.microsoft.com/en-us/dotnet/api/documentformat.openxml.spreadsheet.column?view=openxml-2.8.1
*/
interface Column {
/** best fit column width; default: false */
bestFit?: boolean | null;
/** Flag indicating if the outlining of the affected column(s) is in the collapsed state. See description of row collapsed and outlinePr element's summaryBelow and summaryRight attributes for detailed information; default: false */
collapsed?: boolean | null;
/** custom width; default: false */
customWidth?: boolean | null;
/** Flag indicating if the affected column(s) are hidden on this worksheet; default: false */
hidden?: boolean | null;
/** Last column affected by this 'column info' record */
max: number;
/** First column affected by this 'column info' record */
min: number;
/** Outline level of affected column(s). Range is 0 to 7. See description of outlinePr element's summaryBelow and summaryRight attributes for detailed information; default: 0 */
outlineLevel?: number | null;
/** Flag indicating if the phonetic information should be displayed by default for the affected column(s) of the worksheet; default: false */
phonetic?: boolean | null;
/** Default style, affects cells not yet allocated in the column; default: 0 */
style?: number | null;
/** column width, measured as the number of chars of the maximum digit (0, 1, ..., 9) rendered in the
* normal style's font, + 4 pixel margin padding (2 on each side), + 1 pixel padding for gridlines
*/
width?: number | null;
}
/** <x:cols> (Column Information, W3C XML CT_Cols §A.2)
* parents: worksheet (§18.3.1.99)
*
* Information about whole columns of the worksheet.
* [Example:
* This example shows that column 4 (D) has 'best fit' applied to it, which is also a custom width.
* Also, column 5 (E) is listed as having a custom width and a style applied at the column level (as opposed to the cell level).
* <cols>
* <col min="4" max="4" width="12" bestFit="1" customWidth="1"/>
* <col min="5" max="5" width="9.140625" style="3"/>
* </cols>
* end example]
* @see https://docs.microsoft.com/en-us/dotnet/api/documentformat.openxml.spreadsheet.columns?view=openxml-2.8.1
*/
interface Columns {
cols: Column[];
}
/** <xdr:col> (Column, W3C XML content ST_ColID §A.4.5)
* parents: from (§20.5.2.15); to (§20.5.2.32)
*
* This element specifies the column that is used within the from and to elements to specify anchoring information for a shape within a spreadsheet
* https://docs.microsoft.com/en-us/dotnet/api/documentformat.openxml.drawing.spreadsheet.columnid?view=openxml-2.8.1
*/
interface ColumnId {
content: ST_ColID;
}
/** <xdr:colOff> (Column Offset, W3C XML content ST_Coordinate §A.4.1)
* parents: from (§20.5.2.15); to (§20.5.2.32)
*
* This element is used to specify the column offset within a cell. The units for which this attribute is specified in reside within the simple type definition referenced below.
* https://docs.microsoft.com/en-us/dotnet/api/documentformat.openxml.drawing.spreadsheet.columnoffset?view=openxml-2.8.1
*/
interface ColumnOffset {
content: ST_Coordinate;
}
/** <x:color> (Data Bar Color, W3C XML CT_Color §A.2)
* parents: bottom (§18.8.6); colorScale (§18.3.1.16); dataBar (§18.3.1.28); diagonal (§18.8.13); end (§18.8.16); font (§18.8.22); horizontal (§18.8.25); mruColors (§18.8.28); rPr (§18.4.7); start (§18.8.37); stop (§18.8.38); top (§18.8.43); vertical (§18.8.44)
*
* One of the colors associated with the data bar or color scale. The auto attribute shall not be used in the context of data bars.
* @see https://docs.microsoft.com/en-us/dotnet/api/documentformat.openxml.spreadsheet.color?view=openxml-2.8.1
*/
interface Color {
/** indicating the color is automatic and system color dependent */
auto?: boolean | null;
/** indexed color value. Only used for backwards compatibility. References a color in indexedColors */
indexed?: number | null;
/** UnsignedIntHex, Standard Alpha Red Green Blue color value (ARGB) */
rgb?: string | number | null;
/** A 0-based index into the <clrScheme> collection (§20.1.6.2), referencing a particular <sysClr> or <srgbClr> value expressed in the Theme part */
theme?: number | null;
/** Specifies the tint value applied to the color. If tint is supplied, then it is applied to the value of the color to determine the final color applied.
* The tint value is stored as a double from [-1.0, 1.0], where -1.0 means 100% darken and 1.0 means 100% lighten. Also, 0.0 means no change.
* In loading the value, it is converted to HLS where HLS values are (0..HLSMAX), where HLSMAX is currently 255.
*
* (Example: Here are some examples of how to apply tint to color:
* If (tint < 0)
* Lum' = Lum * (1.0 + tint)
*
* For example: Lum = 200; tint = -0.5; Darken 50%
* Lum' = 200 * (0.5) => 100
*
* For example: Lum = 200; tint = -1.0; Darken 100% (make black)
* Lum' = 200 * (1.0-1.0) => 0
*
* If (tint > 0)
* Lum' = Lum * (1.0-tint) + (HLSMAX – HLSMAX * (1.0-tint))
*
* For example: Lum = 100; tint = 0.75; Lighten 75%
* Lum' = 100 * (1-.75) + (HLSMAX – HLSMAX*(1-.75))
* = 100 * .25 + (255 – 255 * .25)
* = 25 + (255 – 63) = 25 + 192 = 217
*
* For example: Lum = 100; tint = 1.0; Lighten 100% (make white)
* Lum' = 100 * (1-1) + (HLSMAX – HLSMAX*(1-1))
* = 100 * 0 + (255 – 255 * 0)
* = 0 + (255 – 0) = 255
* )
*/
tint?: number | null; // default '0.0'
}
/** <x:comment> (Comment, W3C XML CT_Comment §A.2)
* parents: commentList (§18.7.4)
*
* This element represents a single user entered comment. Each comment shall have an author and can optionally contain richly formatted text.
* @see https://docs.microsoft.com/en-us/dotnet/api/documentformat.openxml.spreadsheet.comment?view=openxml-2.8.1
*/
interface Comment {
text: CommentText;
//commentPr: CommentProperties;
// attributes
/** Author ID - Required. An unsigned integer which is used as the zero based index into the list of authors for this set of comments. */
authorId: number;
/** Cell Reference - Required. A string that serves as the A1 style reference to the cell that the comment is associated with.
* Shall only reference a single cell, not a range of cells, since comments are on a per cell basis. */
ref: ST_Ref;
/** Shape ID - Specifies the ID of the DrawingML shape that provides the visual representation of the comment.
* [Example: <comment shapeId="10 " ...> end example] */
shapeId?: number | null;
//guid: ST_Guid;
}
/** <x:commentList> (List of Comments, W3C XML CT_CommentList §A.2)
* parents: comments (§18.7.6)
*
* This element is a container that holds a list of comments for the sheet.
* @see https://docs.microsoft.com/en-us/dotnet/api/documentformat.openxml.spreadsheet.commentlist?view=openxml-2.8.1
*/
interface CommentList {
comments: Comment[];
}
/** <x:comments> (Comments, W3C XML CT_Comments §A.2)
* parents: root element of SpreadsheetML Comments part
*
* This element is the root container of a set of comments and comment authors for a particular sheet.
* Each set of comments for a sheet is stored in a separate xml part. The relationship part for a sheet defines a link to the correct comment part for that sheet.
* @see https://docs.microsoft.com/en-us/dotnet/api/documentformat.openxml.spreadsheet.comments?view=openxml-2.8.1
*/
interface Comments {
authors: Authors;
commentList: CommentList;
}
/** <x:text> (Comment Text, W3C XML CT_Rst §A.2)
* parents: comment (§18.7.3)
*
* This element contains rich text which represents the text of a comment. The maximum length for this text
* is a spreadsheet application implementation detail. A recommended guideline is 32767 chars.
* @see https://docs.microsoft.com/en-us/dotnet/api/documentformat.openxml.spreadsheet.commenttext?view=openxml-2.8.1
*/
interface CommentText {
rs: RichTextRun[];
t?: Text | null;
//phoneticPr: PhoneticProperties;
//rPh: PhoneticRun;
}
/** <condense>
* parents: font (§18.8.22); rPr (§18.4.7)
*
* Macintosh compatibility setting. Represents special word/character rendering on Macintosh, when this flag is set.
* The effect is to condense the text (squeeze it together). SpreadsheetML applications are not required to render according to this flag.
*/
interface Condense {
val: boolean; // default: true
}
/** <xdr:cxnSp> (Connection Shape, W3C XML CT_Connector §A.4.5)
* parents: grpSp (§20.1.2.2.20); lockedCanvas (§20.3.2.1); absoluteAnchor (§20.5.2.1); grpSp (§20.5.2.17); oneCellAnchor (§20.5.2.24); twoCellAnchor (§20.5.2.33)
*
* This element specifies the properties for a connection shape drawing element (used to connect two sp elements). A connection shape is a line, etc. (specified using cxnSp) that connects two other shapes in this drawing.
* https://docs.microsoft.com/en-us/dotnet/api/documentformat.openxml.drawing.spreadsheet.connectionshape?view=openxml-2.8.1
*/
interface ConnectionShape {
nvCxnSpPr: Element; // CT_ConnectorNonVisual;
spPr: ShapeProperties;
style: ShapeStyle;
// attributes
/** Publish to Server Flag - This attribute indicates whether the shape shall be published with the worksheet when sent to the server. default: false */
fPublish?: boolean | null;
/** Reference to Custom Function
* This element specifies the custom function associated with the object. [Example: A macro script, add-in function, and so on. end example]
* The format of this string shall be application-defined, and should be ignored if not understood.
* [Example: <... macro="DoWork()" /> end example]
*/
macro?: string | null;
}
/** <xdr:contentPart> (Content Part, W3C XML CT_Rel §A.4.5)
* parents: absoluteAnchor (§20.5.2.1); oneCellAnchor (§20.5.2.24); twoCellAnchor (§20.5.2.33)
*
* This element specifies a reference to XML content in a format not defined by /IEC 29500.
* [Note: This part allows the native use of other commonly used interchange formats, such as:
* - MathML (http://www.w3.org/TR/MathML2/)
* - SMIL (http://www.w3.org/TR/REC-smil/)
* - SVG (http://www.w3.org/TR/SVG11/)
* end note]
* The relationship type of the explicit relationship specified by this element shall be http://schemas.openxmlformats.org/officeDocument/2006/customXml and
* have a TargetMode attribute value of Internal. If an application cannot process content of the content type specified by the targeted part, then it should
* continue to process the file. If possible, it should also provide some indication that unknown content was not imported.
*
* [Example: Consider a SpreadsheetML document which includes SVG markup in a part (file) named svg1.xml:
* The SpreadsheetML Drawing part would reference this content as follows:
* <wsDr>
* <twoCellAnchor>
* <from>
* <col>3</col>
* <colOff>152400</colOff>
* <row>5</row>
* <rowOff>123825</rowOff>
* </from>
* <to>
* <col>8</col>
* <colOff>266700</colOff>
* <row>22</row>
* <rowOff>38100</rowOff>
* </to>
* </twoCellAnchor>
* <contentPart r:id="svg1"/>
* </wsDr>
*
* The contentPart element specifies that the SVG markup targeted by the relationship with an ID of svg1 is part of the SpreadsheetML document.
* Examining the contents of the corresponding relationship part item, we can see the targets for that relationship:
* <Relationships ...>
* <Relationship Id="svg1" TargetMode="Internal" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml" Target="svg1.xml" />
* ...
* </Relationships>
*
* The corresponding relationship part item shows that the file to be imported is named svg1.xml. end example]
* https://docs.microsoft.com/en-us/dotnet/api/documentformat.openxml.drawing.spreadsheet.contentpart?view=openxml-2.8.1
*/
interface ContentPart {
// attributes
/** Relationship to Part - Specifies the relationship ID to a content part.
* [Example: Consider an XML element which has the following id attribute:
* <... r:id="rId1" />
* The markup specifies the associated relationship part with relationship ID rId1 contains the corresponding relationship information for the parent XML element. end example]
*/
rid: ST_RelationshipId;
}
interface ContentTypes {
defaults: ContentTypeDefault[];
overrides: ContentTypeOverride[];
}
interface ContentTypeDefault {
// attributes
contentType: string;
extension: string;
}
interface ContentTypeOverride {
// attributes
contentType: string;
partName: string;
}
/** <x:drawing> (Drawing, W3C XML CT_Drawing §A.2)
* parents: chartsheet (§18.3.1.12); dialogsheet (§18.3.1.34); worksheet (§18.3.1.99)
*
* This element indicates that the sheet contains drawing components built on the drawingML platform.
* The relationship Id references the part containing the drawingML definitions.
* @see https://docs.microsoft.com/en-us/dotnet/api/documentformat.openxml.spreadsheet.drawing?view=openxml-2.8.1
*/
interface Drawing {
/** "r:id" */
rid: ST_RelationshipId;
}
/** (W3C XML EG_ColorChoice §A.4.1)
*/
interface EgColorChoice {
// exclusive optional choice
scrgbClr?: Element | null; // CT_ScRgbColor
srgbClr?: Element | null; // CT_SRgbColor
hslClr?: Element | null; // CT_HslColor
schemeClr?: Element | null; // CT_SchemeColor
prstClr?: Element | null; // CT_PresetColor
}
/** (W3C XML EG_EffectProperties §A.4.1)
*/
interface EgEffectProperties {
// exclusive choice
effectLst?: Element | null; // CT_EffectList;
effectDag?: Element | null; // CT_EffectContainer;
}
/** (W3C XML EG_FillModeProperties §A.4.1)
*/
interface EgFillModeProperties {
// exclusive choice
tile?: Tile | null;
stretch?: Stretch | null;
}
/** (W3C XML EG_FillProperties §A.4.1)
*/
interface EgFillProperties {
// exclusive choice
noFill?: Element | null; // CT_NoFillProperties;
solidFill?: Element | null; // CT_SolidColorFillProperties;
gradFill?: Element | null; // CT_GradientFillProperties;
blipFill?: Element | null; // CT_BlipFillProperties;
pattFill?: Element | null; // CT_PatternFillProperties;
grpFill?: Element | null; // CT_GroupFillProperties;
}
/** (W3C XML EG_Geometry §A.4.1)
*/
interface EgGeometry {
// exclusive choice
custGeom?: Element | null; // CT_CustomGeometry2D
prstGeom?: Element | null; // CT_PresetGeometry2D
}
/** (W3C XML EG_ObjectChoices §A.4.5)
*/
interface EgObjectChoices {
// exclusive choice
contentPart?: ContentPart | null;