@office-open/xlsx 0.7.1 → 0.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -1,12 +1,195 @@
1
1
  import { AppProperties, BaseXmlComponent, ChartCollection, ChartSpaceOptions, CompressionOptions, Context, DataType, IgnoreIfEmptyXmlComponent, OutputByType, OutputByType as OutputByType$1, OutputType, OutputType as OutputType$1, PackerOptions, ParsedArchive, Relationships } from "@office-open/core";
2
2
  import { Element } from "@office-open/xml";
3
+ import { DefaultTheme } from "@office-open/core/theme";
3
4
  import { Buffer } from "\u0000polyfill-node.buffer";
4
5
 
6
+ //#region src/file/workbook.d.ts
7
+ interface SheetDefinition {
8
+ readonly name: string;
9
+ readonly sheetId: number;
10
+ readonly rId: string;
11
+ readonly state?: "visible" | "hidden" | "veryHidden";
12
+ }
13
+ interface PivotCacheReference {
14
+ readonly cacheId: number;
15
+ readonly rId: string;
16
+ }
17
+ interface TablePartReference {
18
+ readonly rId: string;
19
+ }
20
+ interface CustomWorkbookViewOptions {
21
+ readonly name: string;
22
+ readonly guid: string;
23
+ readonly windowWidth: number;
24
+ readonly windowHeight: number;
25
+ readonly activeSheetId: number;
26
+ readonly xWindow?: number;
27
+ readonly yWindow?: number;
28
+ readonly showFormulaBar?: boolean;
29
+ readonly showStatusbar?: boolean;
30
+ readonly showHorizontalScroll?: boolean;
31
+ readonly showVerticalScroll?: boolean;
32
+ readonly showSheetTabs?: boolean;
33
+ readonly tabRatio?: number;
34
+ readonly includeHiddenRowCol?: boolean;
35
+ readonly includePrintSettings?: boolean;
36
+ readonly personalView?: boolean;
37
+ readonly maximized?: boolean;
38
+ readonly minimized?: boolean;
39
+ readonly autoUpdate?: boolean;
40
+ readonly mergeInterval?: number;
41
+ readonly changesSavedWin?: boolean;
42
+ readonly onlySync?: boolean;
43
+ readonly showComments?: string;
44
+ }
45
+ interface WorkbookProtectionOptions {
46
+ readonly lockStructure?: boolean;
47
+ readonly lockWindows?: boolean;
48
+ readonly lockRevision?: boolean;
49
+ readonly workbookPassword?: string;
50
+ readonly workbookAlgorithmName?: string;
51
+ readonly workbookHashValue?: string;
52
+ readonly workbookSaltValue?: string;
53
+ readonly workbookSpinCount?: number;
54
+ readonly revisionsPassword?: string;
55
+ readonly revisionsAlgorithmName?: string;
56
+ readonly revisionsHashValue?: string;
57
+ readonly revisionsSaltValue?: string;
58
+ readonly revisionsSpinCount?: number;
59
+ readonly workbookPasswordCharacterSet?: string;
60
+ readonly revisionsPasswordCharacterSet?: string;
61
+ }
62
+ type WorkbookConformance = "strict" | "transitional";
63
+ interface FileRecoveryPrOptions {
64
+ readonly autoRecover?: boolean;
65
+ readonly crashSave?: boolean;
66
+ readonly dataExtractLoad?: boolean;
67
+ readonly repairLoad?: boolean;
68
+ }
69
+ interface WebPublishingOptions {
70
+ readonly css?: boolean;
71
+ readonly thicket?: boolean;
72
+ readonly longFileNames?: boolean;
73
+ readonly vml?: boolean;
74
+ readonly allowPng?: boolean;
75
+ readonly targetScreenSize?: string;
76
+ readonly dpi?: number;
77
+ readonly codePage?: number;
78
+ readonly characterSet?: string;
79
+ }
80
+ interface FileSharingOptions {
81
+ readonly readOnlyRecommended?: boolean;
82
+ readonly userName?: string;
83
+ readonly reservationPassword?: string;
84
+ readonly algorithmName?: string;
85
+ readonly hashValue?: string;
86
+ readonly saltValue?: string;
87
+ readonly spinCount?: number;
88
+ }
89
+ interface WorkbookPrOptions {
90
+ readonly date1904?: boolean;
91
+ readonly defaultThemeVersion?: number;
92
+ readonly showObjects?: string;
93
+ readonly hidePivotFieldList?: boolean;
94
+ readonly allowRefreshQuery?: boolean;
95
+ readonly filterPrivacy?: boolean;
96
+ readonly backupFile?: boolean;
97
+ readonly codeName?: string;
98
+ readonly showBorderUnselectedTables?: boolean;
99
+ readonly promptedSolutions?: boolean;
100
+ readonly showInkAnnotation?: boolean;
101
+ readonly saveExternalLinkValues?: boolean;
102
+ readonly updateLinks?: string;
103
+ readonly showPivotChartFilter?: boolean;
104
+ readonly publishItems?: boolean;
105
+ readonly checkCompatibility?: boolean;
106
+ readonly autoCompressPictures?: boolean;
107
+ readonly refreshAllConnections?: boolean;
108
+ }
109
+ interface VolTypeOptions {
110
+ readonly type?: "realTimeData" | "olapFunctions";
111
+ readonly mains?: readonly VolMainOptions[];
112
+ }
113
+ interface VolMainOptions {
114
+ readonly first: string;
115
+ readonly topics?: readonly VolTopicOptions[];
116
+ }
117
+ interface VolTopicOptions {
118
+ readonly value: string;
119
+ readonly valueType?: string;
120
+ readonly stringTopics?: readonly string[];
121
+ readonly refs?: readonly VolTopicRefOptions[];
122
+ }
123
+ interface VolTopicRefOptions {
124
+ readonly reference: string;
125
+ readonly sheetIndex: number;
126
+ }
127
+ interface WebPublishObjectOptions {
128
+ readonly rId: string;
129
+ readonly destinationFile?: string;
130
+ readonly autoRepublish?: boolean;
131
+ readonly title?: string;
132
+ readonly sourceObject?: string;
133
+ readonly appName?: string;
134
+ }
135
+ interface CalcPrOptions {
136
+ readonly calcMode?: string;
137
+ readonly calcId?: number;
138
+ readonly fullCalcOnLoad?: boolean;
139
+ readonly calcOnSave?: boolean;
140
+ readonly forceFullCalc?: boolean;
141
+ readonly concurrentCalc?: boolean;
142
+ readonly concurrentManualCount?: number;
143
+ readonly iterate?: boolean;
144
+ readonly iterateCount?: number;
145
+ readonly iterateDelta?: number;
146
+ readonly refMode?: string;
147
+ readonly fullPrecision?: boolean;
148
+ readonly calcCompleted?: boolean;
149
+ }
150
+ interface WorkbookViewOptions {
151
+ readonly activeTab?: number;
152
+ readonly autoFilterDateGrouping?: boolean;
153
+ readonly firstSheet?: number;
154
+ readonly showHorizontalScroll?: boolean;
155
+ readonly showSheetTabs?: boolean;
156
+ readonly showVerticalScroll?: boolean;
157
+ readonly tabRatio?: number;
158
+ readonly windowWidth?: number;
159
+ readonly windowHeight?: number;
160
+ readonly xWindow?: number;
161
+ readonly yWindow?: number;
162
+ }
163
+ declare class WorkbookXml extends BaseXmlComponent {
164
+ private readonly sheets;
165
+ private readonly pivotCaches;
166
+ private readonly protection?;
167
+ private readonly customViews?;
168
+ private readonly fileRecoveryPr?;
169
+ private readonly functionGroupNames;
170
+ private readonly webPublishing?;
171
+ private readonly fileSharing?;
172
+ private readonly workbookPr?;
173
+ private readonly calcPr?;
174
+ private readonly bookView?;
175
+ private readonly volTypes?;
176
+ private readonly webPublishObjects?;
177
+ private readonly conformance?;
178
+ constructor(sheets: readonly SheetDefinition[], pivotCaches?: readonly PivotCacheReference[], protection?: WorkbookProtectionOptions, customViews?: readonly CustomWorkbookViewOptions[], fileRecoveryPr?: FileRecoveryPrOptions, functionGroups?: readonly string[], webPublishing?: WebPublishingOptions, fileSharing?: FileSharingOptions, workbookPr?: WorkbookPrOptions, calcPr?: CalcPrOptions, bookView?: WorkbookViewOptions, volTypes?: readonly VolTypeOptions[], webPublishObjects?: readonly WebPublishObjectOptions[], conformance?: WorkbookConformance);
179
+ toXml(_context: Context): string;
180
+ static buildTablePartsXml(tableParts: readonly TablePartReference[]): string;
181
+ static buildExternalReferencesXml(refs: readonly {
182
+ rId: string;
183
+ }[]): string;
184
+ private hashPassword;
185
+ }
186
+ //#endregion
5
187
  //#region src/file/content-types.d.ts
6
188
  declare class ContentTypes extends BaseXmlComponent {
7
189
  private readonly dynamicEntries;
8
190
  constructor();
9
191
  addWorksheet(index: number): void;
192
+ addChartsheet(index: number): void;
10
193
  addStyles(): void;
11
194
  addSharedStrings(): void;
12
195
  addTheme(index?: number): void;
@@ -18,6 +201,14 @@ declare class ContentTypes extends BaseXmlComponent {
18
201
  addPivotTable(index: number): void;
19
202
  addPivotCacheDefinition(index: number): void;
20
203
  addPivotCacheRecords(index: number): void;
204
+ addTable(index: number): void;
205
+ addExternalLink(index: number): void;
206
+ addCalcChain(): void;
207
+ addDialogsheet(index: number): void;
208
+ addRevisionHeaders(): void;
209
+ addRevisionLog(index: number): void;
210
+ addQueryTable(index: number): void;
211
+ addMetadata(): void;
21
212
  toXml(_context: Context): string;
22
213
  }
23
214
  //#endregion
@@ -51,16 +242,6 @@ declare class Media {
51
242
  get array(): readonly MediaData[];
52
243
  }
53
244
  //#endregion
54
- //#region src/file/shared-strings.d.ts
55
- declare class SharedStrings extends BaseXmlComponent {
56
- private readonly strings;
57
- private readonly indexMap;
58
- constructor();
59
- register(s: string): number;
60
- get count(): number;
61
- toXml(_context: Context): string;
62
- }
63
- //#endregion
64
245
  //#region src/file/styles.d.ts
65
246
  interface FontOptions {
66
247
  readonly bold?: boolean;
@@ -70,11 +251,32 @@ interface FontOptions {
70
251
  readonly size?: number;
71
252
  readonly color?: string;
72
253
  readonly fontName?: string;
254
+ readonly charset?: number;
255
+ readonly family?: number;
256
+ readonly condense?: boolean;
257
+ readonly extend?: boolean;
258
+ readonly vertAlign?: "superscript" | "subscript" | "baseline";
259
+ readonly scheme?: "major" | "minor" | "none";
260
+ readonly shadow?: boolean;
261
+ readonly outline?: boolean;
262
+ }
263
+ interface GradientStopOptions {
264
+ readonly position: number;
265
+ readonly color: string;
73
266
  }
74
267
  interface FillOptions {
75
- readonly type?: "solid" | "pattern";
268
+ readonly type?: "solid" | "pattern" | "gradient";
76
269
  readonly color?: string;
77
270
  readonly patternType?: string;
271
+ readonly bgColor?: string;
272
+ readonly colorIndexed?: number;
273
+ readonly stops?: readonly GradientStopOptions[];
274
+ readonly gradientType?: "linear" | "path";
275
+ readonly gradientDegree?: number;
276
+ readonly gradientLeft?: number;
277
+ readonly gradientRight?: number;
278
+ readonly gradientTop?: number;
279
+ readonly gradientBottom?: number;
78
280
  }
79
281
  interface BorderOptions {
80
282
  readonly style?: "thin" | "medium" | "thick" | "dotted" | "dashed" | "hair" | "none";
@@ -86,6 +288,12 @@ interface BorderSideOptions {
86
288
  readonly left?: BorderOptions;
87
289
  readonly right?: BorderOptions;
88
290
  readonly diagonal?: BorderOptions;
291
+ readonly diagonalUp?: boolean;
292
+ readonly diagonalDown?: boolean;
293
+ readonly start?: BorderOptions;
294
+ readonly end?: BorderOptions;
295
+ readonly vertical?: BorderOptions;
296
+ readonly horizontal?: BorderOptions;
89
297
  }
90
298
  interface AlignmentOptions {
91
299
  readonly horizontal?: "left" | "center" | "right" | "fill" | "justify";
@@ -93,6 +301,10 @@ interface AlignmentOptions {
93
301
  readonly wrapText?: boolean;
94
302
  readonly textRotation?: number;
95
303
  readonly indent?: number;
304
+ readonly relativeIndent?: number;
305
+ readonly justifyLastLine?: boolean;
306
+ readonly shrinkToFit?: boolean;
307
+ readonly readingOrder?: number;
96
308
  }
97
309
  interface StyleOptions {
98
310
  readonly font?: FontOptions;
@@ -100,6 +312,21 @@ interface StyleOptions {
100
312
  readonly border?: BorderSideOptions;
101
313
  readonly numFmt?: string;
102
314
  readonly alignment?: AlignmentOptions;
315
+ readonly quotePrefix?: boolean;
316
+ readonly pivotButton?: boolean;
317
+ readonly applyProtection?: boolean;
318
+ readonly protection?: CellProtectionOptions;
319
+ }
320
+ interface CellProtectionOptions {
321
+ readonly locked?: boolean;
322
+ readonly hidden?: boolean;
323
+ }
324
+ interface IndexedColorOptions {
325
+ readonly rgb: string;
326
+ }
327
+ interface ColorsOptions {
328
+ readonly indexedColors?: readonly IndexedColorOptions[];
329
+ readonly mruColors?: readonly string[];
103
330
  }
104
331
  interface DxfOptions {
105
332
  readonly font?: FontOptions;
@@ -107,6 +334,29 @@ interface DxfOptions {
107
334
  readonly border?: BorderSideOptions;
108
335
  readonly numFmt?: string;
109
336
  }
337
+ type TableStyleElementType = "wholeTable" | "headerRow" | "totalRow" | "firstColumn" | "lastColumn" | "firstRowStripe" | "secondRowStripe" | "firstColumnStripe" | "secondColumnStripe" | "firstHeaderCell" | "lastHeaderCell" | "firstTotalCell" | "lastTotalCell" | "subtotalRow1" | "subtotalRow2" | "subtotalRow3" | "subtotalColumn1" | "subtotalColumn2" | "subtotalColumn3" | "blankRow" | "firstColumnSubheading" | "secondColumnSubheading" | "thirdColumnSubheading" | "firstRowSubheading" | "secondRowSubheading" | "thirdRowSubheading" | "pageFieldLabels" | "pageFieldValues";
338
+ interface TableStyleElementOptions {
339
+ readonly type: TableStyleElementType;
340
+ readonly dxfId?: number;
341
+ readonly button?: boolean;
342
+ }
343
+ interface StyleExtensionOptions {
344
+ readonly uri: string;
345
+ readonly content?: string;
346
+ }
347
+ interface CustomTableStyleOptions {
348
+ readonly name: string;
349
+ readonly pivot?: boolean;
350
+ readonly elements?: readonly TableStyleElementOptions[];
351
+ }
352
+ interface CustomCellStyleOptions {
353
+ readonly name: string;
354
+ readonly xfId: number;
355
+ readonly builtinId?: number;
356
+ readonly customBuiltin?: boolean;
357
+ readonly iLevel?: number;
358
+ readonly hidden?: boolean;
359
+ }
110
360
  declare class Styles extends BaseXmlComponent {
111
361
  private readonly fonts;
112
362
  private readonly fontKeys;
@@ -119,9 +369,17 @@ declare class Styles extends BaseXmlComponent {
119
369
  private readonly cellXfs;
120
370
  private readonly cellXfKeys;
121
371
  private readonly dxfs;
372
+ private colors?;
373
+ private tableStyles?;
374
+ private customCellStyles?;
375
+ private styleExtensions?;
122
376
  constructor();
123
377
  register(opts: StyleOptions): number;
124
378
  registerDxf(opts: DxfOptions): number;
379
+ setColors(opts: ColorsOptions): void;
380
+ setTableStyles(styles: readonly CustomTableStyleOptions[]): void;
381
+ setExtensions(extensions: readonly StyleExtensionOptions[]): void;
382
+ setCustomCellStyles(styles: readonly CustomCellStyleOptions[]): void;
125
383
  private registerFont;
126
384
  private registerFill;
127
385
  private registerBorder;
@@ -131,30 +389,7 @@ declare class Styles extends BaseXmlComponent {
131
389
  private fontXmlStr;
132
390
  private borderXmlStr;
133
391
  private alignmentXmlStr;
134
- }
135
- //#endregion
136
- //#region src/file/theme.d.ts
137
- declare class DefaultTheme extends BaseXmlComponent {
138
- constructor();
139
- toXml(_context: Context): string;
140
- }
141
- //#endregion
142
- //#region src/file/workbook.d.ts
143
- interface SheetDefinition {
144
- readonly name: string;
145
- readonly sheetId: number;
146
- readonly rId: string;
147
- readonly state?: "visible" | "hidden" | "veryHidden";
148
- }
149
- interface PivotCacheReference {
150
- readonly cacheId: number;
151
- readonly rId: string;
152
- }
153
- declare class WorkbookXml extends BaseXmlComponent {
154
- private readonly sheets;
155
- private readonly pivotCaches;
156
- constructor(sheets: readonly SheetDefinition[], pivotCaches?: readonly PivotCacheReference[]);
157
- toXml(_context: Context): string;
392
+ private protectionXmlStr;
158
393
  }
159
394
  //#endregion
160
395
  //#region src/file/pivot/pivot-utils.d.ts
@@ -176,6 +411,122 @@ interface PivotDataField {
176
411
  readonly field: string;
177
412
  readonly summarize?: ConsolidateFunction;
178
413
  readonly name?: string;
414
+ readonly showDataAs?: string;
415
+ readonly baseField?: number;
416
+ readonly baseItem?: number;
417
+ readonly sortByTupleItems?: readonly number[];
418
+ }
419
+ interface PivotFieldOverrideOptions {
420
+ readonly field: string;
421
+ readonly allDrilled?: boolean;
422
+ readonly autoShow?: boolean;
423
+ readonly countSubtotal?: boolean;
424
+ readonly dataSourceSort?: boolean;
425
+ readonly defaultAttributeDrillState?: boolean;
426
+ readonly hiddenLevel?: boolean;
427
+ readonly hideNewItems?: boolean;
428
+ readonly insertBlankRow?: boolean;
429
+ readonly insertPageBreak?: boolean;
430
+ readonly itemPageCount?: boolean;
431
+ readonly measureFilter?: boolean;
432
+ readonly nonAutoSortDefault?: boolean;
433
+ readonly productSubtotal?: boolean;
434
+ readonly rankBy?: number;
435
+ readonly serverField?: boolean;
436
+ readonly showDropDowns?: boolean;
437
+ readonly showPropAsCaption?: boolean;
438
+ readonly showPropCell?: boolean;
439
+ readonly showPropTip?: boolean;
440
+ readonly stdDevPSubtotal?: boolean;
441
+ readonly stdDevSubtotal?: boolean;
442
+ readonly subtotalCaption?: string;
443
+ readonly topAutoShow?: boolean;
444
+ readonly uniqueMemberProperty?: boolean;
445
+ readonly varPSubtotal?: boolean;
446
+ readonly varSubtotal?: boolean;
447
+ readonly defaultItemSd?: boolean;
448
+ }
449
+ declare const PivotFilterType: {
450
+ readonly UNKNOWN: "unknown";
451
+ readonly COUNT: "count";
452
+ readonly PERCENT: "percent";
453
+ readonly SUM: "sum";
454
+ readonly CAPTION_EQUAL: "captionEqual";
455
+ readonly CAPTION_NOT_EQUAL: "captionNotEqual";
456
+ readonly CAPTION_BEGINS_WITH: "captionBeginsWith";
457
+ readonly CAPTION_NOT_BEGINS_WITH: "captionNotBeginsWith";
458
+ readonly CAPTION_ENDS_WITH: "captionEndsWith";
459
+ readonly CAPTION_NOT_ENDS_WITH: "captionNotEndsWith";
460
+ readonly CAPTION_CONTAINS: "captionContains";
461
+ readonly CAPTION_NOT_CONTAINS: "captionNotContains";
462
+ readonly CAPTION_GREATER_THAN: "captionGreaterThan";
463
+ readonly CAPTION_GREATER_THAN_OR_EQUAL: "captionGreaterThanOrEqual";
464
+ readonly CAPTION_LESS_THAN: "captionLessThan";
465
+ readonly CAPTION_LESS_THAN_OR_EQUAL: "captionLessThanOrEqual";
466
+ readonly CAPTION_BETWEEN: "captionBetween";
467
+ readonly CAPTION_NOT_BETWEEN: "captionNotBetween";
468
+ readonly VALUE_EQUAL: "valueEqual";
469
+ readonly VALUE_NOT_EQUAL: "valueNotEqual";
470
+ readonly VALUE_GREATER_THAN: "valueGreaterThan";
471
+ readonly VALUE_GREATER_THAN_OR_EQUAL: "valueGreaterThanOrEqual";
472
+ readonly VALUE_LESS_THAN: "valueLessThan";
473
+ readonly VALUE_LESS_THAN_OR_EQUAL: "valueLessThanOrEqual";
474
+ readonly VALUE_BETWEEN: "valueBetween";
475
+ readonly VALUE_NOT_BETWEEN: "valueNotBetween";
476
+ readonly DATE_EQUAL: "dateEqual";
477
+ readonly DATE_NOT_EQUAL: "dateNotEqual";
478
+ readonly DATE_OLDER_THAN: "dateOlderThan";
479
+ readonly DATE_OLDER_THAN_OR_EQUAL: "dateOlderThanOrEqual";
480
+ readonly DATE_NEWER_THAN: "dateNewerThan";
481
+ readonly DATE_NEWER_THAN_OR_EQUAL: "dateNewerThanOrEqual";
482
+ readonly DATE_BETWEEN: "dateBetween";
483
+ readonly DATE_NOT_BETWEEN: "dateNotBetween";
484
+ readonly TOMORROW: "tomorrow";
485
+ readonly TODAY: "today";
486
+ readonly YESTERDAY: "yesterday";
487
+ readonly NEXT_WEEK: "nextWeek";
488
+ readonly THIS_WEEK: "thisWeek";
489
+ readonly LAST_WEEK: "lastWeek";
490
+ readonly NEXT_MONTH: "nextMonth";
491
+ readonly THIS_MONTH: "thisMonth";
492
+ readonly LAST_MONTH: "lastMonth";
493
+ readonly NEXT_QUARTER: "nextQuarter";
494
+ readonly THIS_QUARTER: "thisQuarter";
495
+ readonly LAST_QUARTER: "lastQuarter";
496
+ readonly NEXT_YEAR: "nextYear";
497
+ readonly THIS_YEAR: "thisYear";
498
+ readonly LAST_YEAR: "lastYear";
499
+ readonly YEAR_TO_DATE: "yearToDate";
500
+ readonly Q1: "Q1";
501
+ readonly Q2: "Q2";
502
+ readonly Q3: "Q3";
503
+ readonly Q4: "Q4";
504
+ readonly M1: "M1";
505
+ readonly M2: "M2";
506
+ readonly M3: "M3";
507
+ readonly M4: "M4";
508
+ readonly M5: "M5";
509
+ readonly M6: "M6";
510
+ readonly M7: "M7";
511
+ readonly M8: "M8";
512
+ readonly M9: "M9";
513
+ readonly M10: "M10";
514
+ readonly M11: "M11";
515
+ readonly M12: "M12";
516
+ };
517
+ type PivotFilterType = (typeof PivotFilterType)[keyof typeof PivotFilterType];
518
+ interface PivotFilterOptions {
519
+ readonly fld: number;
520
+ readonly type: PivotFilterType;
521
+ readonly id: number;
522
+ readonly mpFld?: number;
523
+ readonly evalOrder?: number;
524
+ readonly iMeasureHier?: number;
525
+ readonly iMeasureFld?: number;
526
+ readonly name?: string;
527
+ readonly description?: string;
528
+ readonly stringValue1?: string;
529
+ readonly stringValue2?: string;
179
530
  }
180
531
  interface PivotTableOptions {
181
532
  readonly name?: string;
@@ -186,6 +537,233 @@ interface PivotTableOptions {
186
537
  readonly columns?: readonly string[];
187
538
  readonly data: readonly PivotDataField[];
188
539
  readonly style?: string;
540
+ readonly filters?: readonly PivotFilterOptions[];
541
+ readonly pages?: readonly string[];
542
+ readonly pageCaptions?: readonly string[];
543
+ readonly dataOnRows?: boolean;
544
+ readonly grandTotalCaption?: string;
545
+ readonly errorCaption?: string;
546
+ readonly showError?: boolean;
547
+ readonly missingCaption?: string;
548
+ readonly showMissing?: boolean;
549
+ readonly pageStyle?: string;
550
+ readonly pivotTableStyle?: string;
551
+ readonly tag?: string;
552
+ readonly showItems?: boolean;
553
+ readonly editData?: boolean;
554
+ readonly disableFieldList?: boolean;
555
+ readonly showCalcMbrs?: boolean;
556
+ readonly visualTotals?: boolean;
557
+ readonly showMultipleLabel?: boolean;
558
+ readonly showDataDropDown?: boolean;
559
+ readonly showDrill?: boolean;
560
+ readonly printDrill?: boolean;
561
+ readonly showMemberPropertyTips?: boolean;
562
+ readonly showDataTips?: boolean;
563
+ readonly enableWizard?: boolean;
564
+ readonly enableDrill?: boolean;
565
+ readonly enableFieldProperties?: boolean;
566
+ readonly pageWrap?: number;
567
+ readonly pageOverThenDown?: boolean;
568
+ readonly subtotalHiddenItems?: boolean;
569
+ readonly fieldPrintTitles?: boolean;
570
+ readonly mergeItem?: boolean;
571
+ readonly showDropZones?: boolean;
572
+ readonly showEmptyRow?: boolean;
573
+ readonly showEmptyCol?: boolean;
574
+ readonly showHeaders?: boolean;
575
+ readonly published?: boolean;
576
+ readonly gridDropZones?: boolean;
577
+ readonly multipleFieldFilters?: boolean;
578
+ readonly rowHeaderCaption?: string;
579
+ readonly colHeaderCaption?: string;
580
+ readonly fieldListSortAscending?: boolean;
581
+ readonly mdxSubqueries?: boolean;
582
+ readonly customListSort?: boolean;
583
+ readonly asteriskTotals?: boolean;
584
+ readonly dataPosition?: number;
585
+ readonly immersive?: boolean;
586
+ readonly vacatedStyle?: string;
587
+ readonly calculatedItems?: readonly CalculatedItemOptions[];
588
+ readonly calculatedMembers?: readonly CalculatedMemberOptions[];
589
+ readonly pivotHierarchies?: readonly PivotHierarchyOptions[];
590
+ readonly pivotConditionalFormats?: readonly PivotConditionalFormatOptions[];
591
+ readonly chartFormats?: readonly ChartFormatOptions[];
592
+ readonly autoSortScope?: PivotAreaOptions;
593
+ readonly memberProperties?: readonly MemberPropertyOptions[];
594
+ readonly formats?: readonly PivotFormatOptions[];
595
+ readonly rowHierarchiesUsage?: readonly HierarchyUsageOptions[];
596
+ readonly colHierarchiesUsage?: readonly HierarchyUsageOptions[];
597
+ readonly locationColPageCount?: number;
598
+ readonly locationRowPageCount?: number;
599
+ readonly fieldOverrides?: readonly PivotFieldOverrideOptions[];
600
+ }
601
+ interface PivotFormatOptions {
602
+ readonly action?: "formatting" | "drill" | "formula" | "blank" | "subtotal" | "report";
603
+ readonly dxfId?: number;
604
+ readonly pivotArea: PivotAreaOptions;
605
+ }
606
+ interface CalculatedItemOptions {
607
+ readonly field?: number;
608
+ readonly formula?: string;
609
+ readonly pivotArea?: PivotAreaOptions;
610
+ }
611
+ interface CalculatedMemberOptions {
612
+ readonly name: string;
613
+ readonly mdx: string;
614
+ readonly memberName?: string;
615
+ readonly hierarchy?: string;
616
+ readonly parent?: string;
617
+ readonly solveOrder?: number;
618
+ readonly set?: boolean;
619
+ }
620
+ interface PivotHierarchyOptions {
621
+ readonly outline?: boolean;
622
+ readonly multipleItemSelectionAllowed?: boolean;
623
+ readonly subtotalTop?: boolean;
624
+ readonly showInFieldList?: boolean;
625
+ readonly dragToRow?: boolean;
626
+ readonly dragToCol?: boolean;
627
+ readonly dragToPage?: boolean;
628
+ readonly dragToData?: boolean;
629
+ readonly dragOff?: boolean;
630
+ readonly includeNewItemsInFilter?: boolean;
631
+ readonly caption?: string;
632
+ readonly members?: readonly MemberOptions[];
633
+ readonly memberProperties?: readonly MemberPropertyOptions[];
634
+ }
635
+ interface MemberOptions {
636
+ readonly name: string;
637
+ readonly level?: number;
638
+ }
639
+ interface MemberPropertyOptions {
640
+ readonly field: number;
641
+ readonly name?: string;
642
+ readonly showCell?: boolean;
643
+ readonly showTip?: boolean;
644
+ readonly showAsCaption?: boolean;
645
+ readonly nameLen?: number;
646
+ readonly pPos?: number;
647
+ readonly pLen?: number;
648
+ }
649
+ interface PivotAreaOptions {
650
+ readonly field?: number;
651
+ readonly type?: "none" | "normal" | "data" | "all" | "origin" | "button" | "topEnd" | "topRight";
652
+ readonly dataOnly?: boolean;
653
+ readonly labelOnly?: boolean;
654
+ readonly grandRow?: boolean;
655
+ readonly grandCol?: boolean;
656
+ readonly cacheIndex?: boolean;
657
+ readonly outline?: boolean;
658
+ readonly offset?: string;
659
+ readonly collapsedLevelsAreSubtotals?: boolean;
660
+ readonly axis?: "axisRow" | "axisCol" | "axisPage" | "axisValues";
661
+ readonly fieldPosition?: number;
662
+ readonly references?: readonly PivotAreaReferenceOptions[];
663
+ }
664
+ interface PivotAreaReferenceOptions {
665
+ readonly field?: number;
666
+ readonly count?: number;
667
+ readonly selected?: boolean;
668
+ readonly byPosition?: boolean;
669
+ readonly relative?: boolean;
670
+ readonly defaultSubtotal?: boolean;
671
+ readonly sumSubtotal?: boolean;
672
+ readonly countASubtotal?: boolean;
673
+ readonly avgSubtotal?: boolean;
674
+ readonly maxSubtotal?: boolean;
675
+ readonly minSubtotal?: boolean;
676
+ readonly countSubtotal?: boolean;
677
+ readonly productSubtotal?: boolean;
678
+ readonly stdDevPSubtotal?: boolean;
679
+ readonly stdDevSubtotal?: boolean;
680
+ readonly varPSubtotal?: boolean;
681
+ readonly varSubtotal?: boolean;
682
+ readonly x?: readonly number[];
683
+ }
684
+ interface PivotConditionalFormatOptions {
685
+ readonly scope?: "selection" | "data" | "field";
686
+ readonly type?: "none" | "all" | "row" | "column";
687
+ readonly priority: number;
688
+ readonly pivotAreas?: readonly PivotAreaOptions[];
689
+ }
690
+ interface ChartFormatOptions {
691
+ readonly chart: number;
692
+ readonly format: number;
693
+ readonly series?: boolean;
694
+ readonly pivotArea?: PivotAreaOptions;
695
+ }
696
+ interface HierarchyUsageOptions {
697
+ readonly hierarchyUsage: number;
698
+ }
699
+ //#endregion
700
+ //#region src/file/table/table-xml.d.ts
701
+ declare const TotalsRowFunction: {
702
+ readonly NONE: "none";
703
+ readonly SUM: "sum";
704
+ readonly MIN: "min";
705
+ readonly MAX: "max";
706
+ readonly AVERAGE: "average";
707
+ readonly COUNT: "count";
708
+ readonly COUNT_NUMS: "countNums";
709
+ readonly STD_DEV: "stdDev";
710
+ readonly VAR: "var";
711
+ readonly CUSTOM: "custom";
712
+ };
713
+ type TotalsRowFunction = (typeof TotalsRowFunction)[keyof typeof TotalsRowFunction];
714
+ declare const TableType: {
715
+ readonly WORKSHEET: "worksheet";
716
+ readonly XML: "xml";
717
+ readonly QUERY_TABLE: "queryTable";
718
+ };
719
+ type TableType = (typeof TableType)[keyof typeof TableType];
720
+ interface TableStyleInfoOptions {
721
+ readonly name?: string;
722
+ readonly showFirstColumn?: boolean;
723
+ readonly showLastColumn?: boolean;
724
+ readonly showRowStripes?: boolean;
725
+ readonly showColumnStripes?: boolean;
726
+ }
727
+ interface TableColumnOptions {
728
+ readonly name: string;
729
+ readonly totalsRowFunction?: TotalsRowFunction;
730
+ readonly totalsRowLabel?: string;
731
+ readonly calculatedColumnFormula?: string;
732
+ readonly totalsRowFormula?: string;
733
+ readonly totalsRowFormulaArray?: boolean;
734
+ readonly calculatedColumnFormulaArray?: boolean;
735
+ readonly uniqueName?: string;
736
+ readonly queryTableFieldId?: number;
737
+ readonly headerRowDxfId?: number;
738
+ readonly dataDxfId?: number;
739
+ readonly totalsRowDxfId?: number;
740
+ readonly headerRowCellStyle?: string;
741
+ readonly dataCellStyle?: string;
742
+ readonly totalsRowCellStyle?: string;
743
+ }
744
+ interface TableOptions {
745
+ readonly id: number;
746
+ readonly name?: string;
747
+ readonly displayName: string;
748
+ readonly ref: string;
749
+ readonly columns: readonly TableColumnOptions[];
750
+ readonly headerRowCount?: number;
751
+ readonly totalsRowCount?: number;
752
+ readonly totalsRowShown?: boolean;
753
+ readonly tableType?: TableType;
754
+ readonly style?: TableStyleInfoOptions;
755
+ readonly autoFilter?: string;
756
+ readonly insertRowShift?: boolean;
757
+ readonly published?: boolean;
758
+ readonly headerRowDxfId?: number;
759
+ readonly dataDxfId?: number;
760
+ readonly totalsRowDxfId?: number;
761
+ readonly headerRowBorderDxfId?: number;
762
+ readonly tableBorderDxfId?: number;
763
+ readonly totalsRowBorderDxfId?: number;
764
+ readonly headerRowCellStyle?: string;
765
+ readonly dataCellStyle?: string;
766
+ readonly totalsRowCellStyle?: string;
189
767
  }
190
768
  //#endregion
191
769
  //#region src/file/worksheet.d.ts
@@ -197,15 +775,53 @@ interface ColumnOptions {
197
775
  readonly customWidth?: boolean;
198
776
  readonly outlineLevel?: number;
199
777
  readonly collapsed?: boolean;
778
+ readonly bestFit?: boolean;
779
+ readonly phonetic?: boolean;
200
780
  }
201
781
  interface RowOptions {
202
782
  readonly cells?: readonly CellOptions[];
203
783
  readonly height?: number;
204
784
  readonly hidden?: boolean;
205
785
  readonly rowNumber?: number;
786
+ readonly spans?: string;
787
+ readonly customFormat?: boolean;
788
+ readonly thickTop?: boolean;
789
+ readonly thickBot?: boolean;
790
+ readonly ph?: boolean;
791
+ }
792
+ interface RichTextRunPrOptions {
793
+ readonly font?: string;
794
+ readonly charset?: number;
795
+ readonly family?: number;
796
+ readonly bold?: boolean;
797
+ readonly italic?: boolean;
798
+ readonly strike?: boolean;
799
+ readonly outline?: boolean;
800
+ readonly shadow?: boolean;
801
+ readonly condense?: boolean;
802
+ readonly extend?: boolean;
803
+ readonly color?: string;
804
+ readonly size?: number;
805
+ readonly underline?: "single" | "double" | "singleAccounting" | "doubleAccounting" | "none";
806
+ readonly vertAlign?: "superscript" | "subscript" | "baseline";
807
+ readonly scheme?: "major" | "minor" | "none";
808
+ }
809
+ interface RichTextRunOptions {
810
+ readonly properties?: RichTextRunPrOptions;
811
+ readonly text: string;
812
+ }
813
+ interface PhoneticRunOptions {
814
+ readonly sb: number;
815
+ readonly eb: number;
816
+ readonly text: string;
817
+ }
818
+ interface RichTextOptions {
819
+ readonly text?: string;
820
+ readonly runs?: readonly RichTextRunOptions[];
821
+ readonly phonetics?: readonly PhoneticRunOptions[];
206
822
  }
207
823
  interface CellOptions {
208
- readonly value?: string | number | boolean | Date | null;
824
+ readonly value?: string | number | boolean | Date | RichTextOptions | null;
209
825
  readonly reference?: string;
210
826
  readonly styleIndex?: number;
211
827
  readonly style?: StyleOptions;
@@ -222,6 +838,35 @@ interface FormulaOptions {
222
838
  readonly type?: FormulaType;
223
839
  readonly reference?: string;
224
840
  readonly sharedIndex?: number;
841
+ readonly aca?: boolean;
842
+ readonly dt2D?: boolean;
843
+ readonly dtr?: boolean;
844
+ readonly del1?: boolean;
845
+ readonly del2?: boolean;
846
+ readonly r1?: string;
847
+ readonly r2?: string;
848
+ readonly ca?: boolean;
849
+ readonly bx?: boolean;
850
+ }
851
+ interface ScenarioCellOptions {
852
+ readonly r: string;
853
+ readonly val: string | number;
854
+ readonly deleted?: boolean;
855
+ readonly undone?: boolean;
856
+ }
857
+ interface ScenarioDefinition {
858
+ readonly name: string;
859
+ readonly inputCells: readonly ScenarioCellOptions[];
860
+ readonly count?: number;
861
+ readonly user?: string;
862
+ readonly comment?: string;
863
+ readonly hidden?: boolean;
864
+ readonly locked?: boolean;
865
+ }
866
+ interface ScenarioOptions {
867
+ readonly scenarios: readonly ScenarioDefinition[];
868
+ readonly current?: number;
869
+ readonly show?: number;
225
870
  }
226
871
  interface MergeCellOptions {
227
872
  readonly from: {
@@ -235,6 +880,10 @@ interface MergeCellOptions {
235
880
  }
236
881
  interface SheetProtectionOptions {
237
882
  readonly password?: string;
883
+ readonly algorithmName?: string;
884
+ readonly hashValue?: string;
885
+ readonly saltValue?: string;
886
+ readonly spinCount?: number;
238
887
  readonly sheet?: boolean;
239
888
  readonly objects?: boolean;
240
889
  readonly scenarios?: boolean;
@@ -252,6 +901,16 @@ interface SheetProtectionOptions {
252
901
  readonly pivotTables?: boolean;
253
902
  readonly selectUnlockedCells?: boolean;
254
903
  }
904
+ interface ProtectedRangeOptions {
905
+ readonly sqref: string;
906
+ readonly name: string;
907
+ readonly password?: string;
908
+ readonly algorithmName?: string;
909
+ readonly hashValue?: string;
910
+ readonly saltValue?: string;
911
+ readonly spinCount?: number;
912
+ readonly securityDescriptor?: string;
913
+ }
255
914
  interface FreezePaneOptions {
256
915
  readonly row?: number;
257
916
  readonly col?: number;
@@ -273,6 +932,37 @@ interface SheetViewOptions {
273
932
  readonly zoomScale?: number;
274
933
  readonly tabSelected?: boolean;
275
934
  readonly rightToLeft?: boolean;
935
+ readonly windowProtection?: boolean;
936
+ readonly showFormulas?: boolean;
937
+ readonly showRuler?: boolean;
938
+ readonly showOutlineSymbols?: boolean;
939
+ readonly defaultGridColor?: boolean;
940
+ readonly showWhiteSpace?: boolean;
941
+ readonly view?: "normal" | "pageBreakPreview" | "pageLayout";
942
+ readonly colorId?: number;
943
+ readonly zoomScaleNormal?: number;
944
+ readonly zoomScaleSheetLayoutView?: number;
945
+ readonly zoomScalePageLayoutView?: number;
946
+ readonly pivotSelections?: readonly PivotSelectionOptions[];
947
+ }
948
+ interface PivotSelectionOptions {
949
+ readonly pane?: "bottomRight" | "topRight" | "bottomLeft" | "topLeft";
950
+ readonly showHeader?: boolean;
951
+ readonly label?: boolean;
952
+ readonly data?: boolean;
953
+ readonly extendable?: boolean;
954
+ readonly count?: number;
955
+ readonly axis?: "axisRow" | "axisCol" | "axisPage" | "axisValues";
956
+ readonly dimension?: number;
957
+ readonly start?: number;
958
+ readonly min?: number;
959
+ readonly max?: number;
960
+ readonly activeRow?: number;
961
+ readonly activeCol?: number;
962
+ readonly previousRow?: number;
963
+ readonly previousCol?: number;
964
+ readonly click?: number;
965
+ readonly rId?: string;
276
966
  }
277
967
  type HyperlinkTarget = {
278
968
  readonly type: "external";
@@ -296,6 +986,8 @@ interface HeaderFooterOptions {
296
986
  readonly firstFooter?: string;
297
987
  readonly differentOddEven?: boolean;
298
988
  readonly differentFirst?: boolean;
989
+ readonly scaleWithDoc?: boolean;
990
+ readonly alignWithMargins?: boolean;
299
991
  }
300
992
  type PageOrientation = "default" | "portrait" | "landscape";
301
993
  interface PageSetupOptions {
@@ -307,16 +999,45 @@ interface PageSetupOptions {
307
999
  readonly pageOrder?: "downThenOver" | "overThenDown";
308
1000
  readonly useFirstPageNumber?: boolean;
309
1001
  readonly firstPageNumber?: number;
1002
+ readonly paperHeight?: number;
1003
+ readonly paperWidth?: number;
1004
+ readonly usePrinterDefaults?: boolean;
1005
+ readonly blackAndWhite?: boolean;
1006
+ readonly draft?: boolean;
1007
+ readonly cellComments?: "none" | "asDisplayed" | "atEnd";
1008
+ readonly errors?: "displayed" | "blank" | "dash" | "NA";
1009
+ readonly autoPageBreaks?: boolean;
310
1010
  }
311
1011
  interface TabColorOptions {
312
1012
  readonly rgb?: string;
313
1013
  readonly theme?: number;
314
1014
  readonly tint?: number;
1015
+ readonly indexed?: number;
1016
+ }
1017
+ interface ObjectAnchorOptions {
1018
+ readonly moveWithCells?: boolean;
1019
+ readonly sizeWithCells?: boolean;
1020
+ }
1021
+ interface CommentPrOptions {
1022
+ readonly locked?: boolean;
1023
+ readonly defaultSize?: boolean;
1024
+ readonly print?: boolean;
1025
+ readonly disabled?: boolean;
1026
+ readonly autoFill?: boolean;
1027
+ readonly autoLine?: boolean;
1028
+ readonly altText?: string;
1029
+ readonly textHAlign?: "left" | "center" | "right" | "justify" | "distributed";
1030
+ readonly textVAlign?: "top" | "center" | "bottom" | "justify" | "distributed";
1031
+ readonly lockText?: boolean;
1032
+ readonly justLastX?: boolean;
1033
+ readonly autoScale?: boolean;
1034
+ readonly anchor?: ObjectAnchorOptions;
315
1035
  }
316
1036
  interface CommentOptions {
317
1037
  readonly cell: string;
318
1038
  readonly author: string;
319
- readonly text: string;
1039
+ readonly text: string | RichTextOptions;
1040
+ readonly commentPr?: CommentPrOptions;
320
1041
  }
321
1042
  type DataValidationType = "none" | "whole" | "decimal" | "list" | "date" | "time" | "textLength" | "custom";
322
1043
  type DataValidationOperator = "between" | "notBetween" | "equal" | "notEqual" | "greaterThan" | "lessThan" | "greaterThanOrEqual" | "lessThanOrEqual";
@@ -333,15 +1054,50 @@ interface DataValidationOptions {
333
1054
  readonly showInputMessage?: boolean;
334
1055
  readonly promptTitle?: string;
335
1056
  readonly prompt?: string;
1057
+ readonly errorStyle?: "stop" | "warning" | "information";
1058
+ readonly imeMode?: "noControl" | "on" | "off" | "disabled" | "hiragana" | "fullKatakana" | "halfKatakana" | "fullAlpha" | "halfAlpha" | "fullHangul" | "halfHangul";
1059
+ readonly showDropDown?: boolean;
336
1060
  }
337
- type ConditionalFormatType = "cellIs" | "containsText" | "expression" | "top10" | "aboveAverage";
1061
+ type ConditionalFormatType = "cellIs" | "containsText" | "expression" | "top10" | "aboveAverage" | "colorScale" | "dataBar" | "iconSet";
338
1062
  type ConditionalFormatOperator = "lessThan" | "lessThanOrEqual" | "equal" | "notEqual" | "greaterThanOrEqual" | "greaterThan" | "between" | "notBetween" | "containsText" | "notContains" | "beginsWith" | "endsWith";
1063
+ type CfvoType = "num" | "percent" | "max" | "min" | "formula" | "percentile";
1064
+ interface CfvoOptions {
1065
+ readonly type: CfvoType;
1066
+ readonly val?: string | number;
1067
+ readonly gte?: boolean;
1068
+ }
1069
+ type IconSetType = "3Arrows" | "3ArrowsGray" | "3Flags" | "3TrafficLights1" | "3TrafficLights2" | "3Signs" | "3Symbols" | "3Symbols2" | "4Arrows" | "4ArrowsGray" | "4RedToBlack" | "4Rating" | "4TrafficLights" | "5Arrows" | "5ArrowsGray" | "5Rating" | "5Quarters";
1070
+ interface ColorScaleOptions {
1071
+ readonly cfvo: readonly CfvoOptions[];
1072
+ readonly colors: readonly string[];
1073
+ }
1074
+ interface DataBarOptions {
1075
+ readonly cfvo: readonly [CfvoOptions, CfvoOptions];
1076
+ readonly color: string;
1077
+ readonly minLength?: number;
1078
+ readonly maxLength?: number;
1079
+ readonly showValue?: boolean;
1080
+ }
1081
+ interface IconSetOptions {
1082
+ readonly cfvo: readonly CfvoOptions[];
1083
+ readonly iconSet?: IconSetType;
1084
+ readonly showValue?: boolean;
1085
+ readonly percent?: boolean;
1086
+ readonly reverse?: boolean;
1087
+ }
339
1088
  interface ConditionalFormatRule {
340
1089
  readonly type: ConditionalFormatType;
341
1090
  readonly operator?: ConditionalFormatOperator;
342
1091
  readonly formulas?: readonly string[];
343
1092
  readonly priority?: number;
344
1093
  readonly dxfId?: number;
1094
+ readonly colorScale?: ColorScaleOptions;
1095
+ readonly dataBar?: DataBarOptions;
1096
+ readonly iconSet?: IconSetOptions;
1097
+ readonly stopIfTrue?: boolean;
1098
+ readonly timePeriod?: "today" | "yesterday" | "tomorrow" | "last7Days" | "thisMonth" | "lastMonth" | "nextMonth" | "thisWeek" | "lastWeek" | "nextWeek";
1099
+ readonly rank?: number;
1100
+ readonly equalAverage?: boolean;
345
1101
  }
346
1102
  interface ConditionalFormatOptions {
347
1103
  readonly sqref: string;
@@ -352,6 +1108,9 @@ interface Top10FilterOptions {
352
1108
  readonly top?: boolean;
353
1109
  readonly percent?: boolean;
354
1110
  readonly val: number;
1111
+ readonly filterVal?: number;
1112
+ readonly hiddenButton?: boolean;
1113
+ readonly showButton?: boolean;
355
1114
  }
356
1115
  interface CustomFilterOptions {
357
1116
  readonly colId: number;
@@ -359,16 +1118,180 @@ interface CustomFilterOptions {
359
1118
  readonly val?: string;
360
1119
  readonly and?: boolean;
361
1120
  readonly val2?: string;
1121
+ readonly hiddenButton?: boolean;
1122
+ readonly showButton?: boolean;
362
1123
  }
363
1124
  interface SortCondition {
364
1125
  readonly ref: string;
365
1126
  readonly descending?: boolean;
1127
+ readonly sortBy?: "value" | "cellColor" | "fontColor" | "icon";
1128
+ readonly customList?: string;
1129
+ readonly iconId?: number;
366
1130
  }
367
1131
  interface AutoFilterOptions {
368
1132
  readonly ref: string;
369
1133
  readonly top10?: readonly Top10FilterOptions[];
370
1134
  readonly customFilters?: readonly CustomFilterOptions[];
371
1135
  readonly sort?: readonly SortCondition[];
1136
+ readonly sortState?: SortStateOptions;
1137
+ readonly colorFilters?: readonly ColorFilterOptions[];
1138
+ readonly iconFilters?: readonly IconFilterOptions[];
1139
+ readonly dynamicFilters?: readonly DynamicFilterOptions[];
1140
+ readonly dateGroupItems?: readonly DateGroupFilterOptions[];
1141
+ readonly filters?: readonly FilterItemsOptions[];
1142
+ }
1143
+ interface ColorFilterOptions {
1144
+ readonly colId: number;
1145
+ readonly dxfId?: number;
1146
+ readonly cellColor?: boolean;
1147
+ }
1148
+ interface IconFilterOptions {
1149
+ readonly colId: number;
1150
+ readonly iconSet: number;
1151
+ readonly iconId?: number;
1152
+ }
1153
+ interface FilterItemsOptions {
1154
+ readonly colId: number;
1155
+ readonly blank?: boolean;
1156
+ readonly calendarType?: string;
1157
+ readonly values?: readonly string[];
1158
+ }
1159
+ interface DynamicFilterOptions {
1160
+ readonly colId: number;
1161
+ readonly type: "null" | "aboveAverage" | "belowAverage" | "tomorrow" | "today" | "yesterday" | "nextWeek" | "thisWeek" | "lastWeek" | "nextMonth" | "thisMonth" | "lastMonth" | "nextQuarter" | "thisQuarter" | "lastQuarter" | "nextYear" | "thisYear" | "lastYear" | "yearToDate" | "Q1" | "Q2" | "Q3" | "Q4" | "M1" | "M2" | "M3" | "M4" | "M5" | "M6" | "M7" | "M8" | "M9" | "M10" | "M11" | "M12";
1162
+ readonly val?: number;
1163
+ readonly maxVal?: number;
1164
+ readonly valIso?: string;
1165
+ readonly maxValIso?: string;
1166
+ }
1167
+ interface DateGroupFilterOptions {
1168
+ readonly colId: number;
1169
+ readonly dateTimeGrouping: "year" | "month" | "day" | "hour" | "minute" | "second";
1170
+ readonly year?: number;
1171
+ readonly month?: number;
1172
+ readonly day?: number;
1173
+ readonly hour?: number;
1174
+ readonly minute?: number;
1175
+ readonly second?: number;
1176
+ }
1177
+ interface SortStateOptions {
1178
+ readonly columnSort?: boolean;
1179
+ readonly caseSensitive?: boolean;
1180
+ readonly sortMethod?: "pinYin" | "stroke";
1181
+ }
1182
+ interface PrintOptions {
1183
+ readonly horizontalCentered?: boolean;
1184
+ readonly verticalCentered?: boolean;
1185
+ readonly headings?: boolean;
1186
+ readonly gridLines?: boolean;
1187
+ readonly gridLinesSet?: boolean;
1188
+ }
1189
+ interface SheetFormatPrOptions {
1190
+ readonly baseColWidth?: number;
1191
+ readonly defaultColWidth?: number;
1192
+ readonly defaultRowHeight?: number;
1193
+ readonly zeroHeight?: boolean;
1194
+ readonly thickTop?: boolean;
1195
+ readonly thickBottom?: boolean;
1196
+ readonly outlineLevelRow?: number;
1197
+ readonly outlineLevelCol?: number;
1198
+ }
1199
+ interface SheetPrOptions {
1200
+ readonly syncHorizontal?: boolean;
1201
+ readonly syncVertical?: boolean;
1202
+ readonly syncRef?: string;
1203
+ readonly transitionEvaluation?: boolean;
1204
+ readonly transitionEntry?: boolean;
1205
+ readonly published?: boolean;
1206
+ readonly filterMode?: boolean;
1207
+ readonly enableFormatConditionsCalculation?: boolean;
1208
+ readonly outlineApplyStyles?: boolean;
1209
+ readonly outlineShowSymbols?: boolean;
1210
+ }
1211
+ interface IgnoredErrorOptions {
1212
+ readonly sqref: string;
1213
+ readonly evalError?: boolean;
1214
+ readonly twoDigitTextYear?: boolean;
1215
+ readonly numberStoredAsText?: boolean;
1216
+ readonly formula?: boolean;
1217
+ readonly formulaRange?: boolean;
1218
+ readonly unlockedFormula?: boolean;
1219
+ readonly emptyCellReference?: boolean;
1220
+ readonly listDataValidation?: boolean;
1221
+ readonly calculatedColumn?: boolean;
1222
+ }
1223
+ interface PhoneticPrOptions {
1224
+ readonly fontId: number;
1225
+ readonly type?: "fullwidthKatakana" | "halfwidthKatakana" | "Hiragana" | "noConversion";
1226
+ readonly alignment?: "left" | "center" | "distributed";
1227
+ }
1228
+ interface SheetBackgroundImageOptions {
1229
+ readonly data: Uint8Array;
1230
+ readonly type: "png" | "jpeg" | "jpg";
1231
+ }
1232
+ interface PageBreakOptions {
1233
+ readonly id: number;
1234
+ readonly min?: number;
1235
+ readonly max?: number;
1236
+ readonly manual?: boolean;
1237
+ readonly pivot?: boolean;
1238
+ }
1239
+ interface SelectionOptions {
1240
+ readonly pane?: "bottomRight" | "topRight" | "bottomLeft" | "topLeft";
1241
+ readonly activeCell?: string;
1242
+ readonly activeCellId?: number;
1243
+ readonly sqref?: string;
1244
+ }
1245
+ interface CustomSheetViewOptions {
1246
+ readonly guid: string;
1247
+ readonly scale?: number;
1248
+ readonly showPageBreaks?: boolean;
1249
+ readonly showFormulas?: boolean;
1250
+ readonly showGridLines?: boolean;
1251
+ readonly showRowColHeaders?: boolean;
1252
+ readonly outlineSymbols?: boolean;
1253
+ readonly zeroValues?: boolean;
1254
+ readonly fitToPage?: boolean;
1255
+ readonly printArea?: boolean;
1256
+ readonly filter?: boolean;
1257
+ readonly showAutoFilter?: boolean;
1258
+ readonly hiddenRows?: boolean;
1259
+ readonly hiddenColumns?: boolean;
1260
+ readonly state?: "visible" | "hidden" | "veryHidden";
1261
+ readonly filterUnique?: boolean;
1262
+ readonly view?: "normal" | "pageBreakPreview" | "pageLayout";
1263
+ }
1264
+ interface CellWatchOptions {
1265
+ readonly r: string;
1266
+ }
1267
+ interface DataConsolidateOptions {
1268
+ readonly function?: "average" | "count" | "countNums" | "max" | "min" | "product" | "stdDev" | "stdDevp" | "sum" | "var" | "varp";
1269
+ readonly topLabels?: boolean;
1270
+ readonly leftLabels?: boolean;
1271
+ readonly startLabels?: boolean;
1272
+ readonly link?: boolean;
1273
+ readonly refs?: readonly string[];
1274
+ }
1275
+ interface DrawingHfOptions {
1276
+ readonly rId: string;
1277
+ readonly lho?: number;
1278
+ readonly lhe?: number;
1279
+ readonly lhf?: number;
1280
+ readonly cho?: number;
1281
+ readonly che?: number;
1282
+ readonly chf?: number;
1283
+ readonly rho?: number;
1284
+ readonly rhe?: number;
1285
+ readonly rhf?: number;
1286
+ readonly lfo?: number;
1287
+ readonly lfe?: number;
1288
+ readonly lff?: number;
1289
+ readonly cfo?: number;
1290
+ readonly cfe?: number;
1291
+ readonly cff?: number;
1292
+ readonly rfo?: number;
1293
+ readonly rfe?: number;
1294
+ readonly rff?: number;
372
1295
  }
373
1296
  interface WorksheetOptions {
374
1297
  readonly name?: string;
@@ -377,10 +1300,13 @@ interface WorksheetOptions {
377
1300
  readonly mergeCells?: readonly MergeCellOptions[];
378
1301
  readonly freezePanes?: FreezePaneOptions;
379
1302
  readonly protection?: SheetProtectionOptions;
1303
+ readonly protectedRanges?: readonly ProtectedRangeOptions[];
1304
+ readonly scenarios?: ScenarioOptions;
380
1305
  readonly autoFilter?: string | AutoFilterOptions;
381
1306
  readonly images?: readonly WorksheetImageOptions[];
382
1307
  readonly charts?: readonly WorksheetChartOptions[];
383
1308
  readonly dataValidations?: readonly DataValidationOptions[];
1309
+ readonly dataValidationsDisablePrompts?: boolean;
384
1310
  readonly conditionalFormats?: readonly ConditionalFormatOptions[];
385
1311
  readonly hyperlinks?: readonly HyperlinkOptions[];
386
1312
  readonly comments?: readonly CommentOptions[];
@@ -389,6 +1315,80 @@ interface WorksheetOptions {
389
1315
  readonly tabColor?: TabColorOptions;
390
1316
  readonly sheetView?: SheetViewOptions;
391
1317
  readonly pivotTables?: readonly PivotTableOptions[];
1318
+ readonly tables?: readonly TableOptions[];
1319
+ readonly ignoredErrors?: readonly IgnoredErrorOptions[];
1320
+ readonly phoneticPr?: PhoneticPrOptions;
1321
+ readonly backgroundImage?: SheetBackgroundImageOptions;
1322
+ readonly printOptions?: PrintOptions;
1323
+ readonly sheetFormatPr?: SheetFormatPrOptions;
1324
+ readonly sheetPr?: SheetPrOptions;
1325
+ readonly rowBreaks?: readonly PageBreakOptions[];
1326
+ readonly colBreaks?: readonly PageBreakOptions[];
1327
+ readonly customSheetViews?: readonly CustomSheetViewOptions[];
1328
+ readonly cellWatches?: readonly CellWatchOptions[];
1329
+ readonly dataConsolidate?: DataConsolidateOptions;
1330
+ readonly oleSize?: string;
1331
+ readonly drawingHF?: DrawingHfOptions;
1332
+ readonly legacyDrawingHF?: string;
1333
+ readonly selection?: SelectionOptions;
1334
+ readonly sheetCalcPr?: SheetCalcPrOptions;
1335
+ readonly ext?: string;
1336
+ readonly controls?: readonly ControlOptions[];
1337
+ readonly customProperties?: readonly CustomPropertyOptions[];
1338
+ readonly oleObjects?: readonly OleObjectOptions[];
1339
+ readonly webPublishItems?: readonly WebPublishItemOptions[];
1340
+ }
1341
+ interface SheetCalcPrOptions {
1342
+ readonly fullCalcOnLoad?: boolean;
1343
+ }
1344
+ interface ControlOptions {
1345
+ readonly shapeId: number;
1346
+ readonly rId: string;
1347
+ readonly name?: string;
1348
+ readonly locked?: boolean;
1349
+ readonly uiObject?: boolean;
1350
+ readonly recalcAlways?: boolean;
1351
+ readonly linkedCell?: string;
1352
+ readonly listFillRange?: string;
1353
+ readonly cf?: string;
1354
+ }
1355
+ interface CustomPropertyOptions {
1356
+ readonly name: string;
1357
+ readonly rId: string;
1358
+ }
1359
+ interface OleObjectOptions {
1360
+ readonly progId?: string;
1361
+ readonly dvAspect?: "DVASPECT_CONTENT" | "DVASPECT_ICON";
1362
+ readonly link?: string;
1363
+ readonly oleUpdate?: "OLEUPDATE_ALWAYS" | "OLEUPDATE_ONCALL";
1364
+ readonly autoLoad?: boolean;
1365
+ readonly shapeId: number;
1366
+ readonly rId?: string;
1367
+ readonly objectPr?: OleObjectPrOptions;
1368
+ }
1369
+ interface OleObjectPrOptions {
1370
+ readonly locked?: boolean;
1371
+ readonly defaultSize?: boolean;
1372
+ readonly print?: boolean;
1373
+ readonly disabled?: boolean;
1374
+ readonly uiObject?: boolean;
1375
+ readonly autoFill?: boolean;
1376
+ readonly autoLine?: boolean;
1377
+ readonly autoPict?: boolean;
1378
+ readonly macro?: string;
1379
+ readonly altText?: string;
1380
+ readonly dde?: boolean;
1381
+ readonly rId?: string;
1382
+ }
1383
+ interface WebPublishItemOptions {
1384
+ readonly id: number;
1385
+ readonly divId: string;
1386
+ readonly sourceType: "sheet" | "printArea" | "autoFilter" | "range" | "chart" | "pivotTable" | "query" | "label";
1387
+ readonly sourceRef?: string;
1388
+ readonly sourceObject?: string;
1389
+ readonly destinationFile: string;
1390
+ readonly title?: string;
1391
+ readonly autoRepublish?: boolean;
392
1392
  }
393
1393
  declare class Worksheet extends IgnoreIfEmptyXmlComponent {
394
1394
  private readonly rows;
@@ -396,10 +1396,13 @@ declare class Worksheet extends IgnoreIfEmptyXmlComponent {
396
1396
  private readonly mergeCells;
397
1397
  private readonly freezePanes?;
398
1398
  private readonly protection?;
1399
+ private readonly protectedRanges;
1400
+ private readonly scenarioOpts?;
399
1401
  private readonly autoFilter?;
400
1402
  private readonly images;
401
1403
  private readonly chartOptions;
402
1404
  private readonly dataValidations;
1405
+ private readonly dataValidationsDisablePrompts?;
403
1406
  private readonly conditionalFormats;
404
1407
  private readonly hyperlinks;
405
1408
  private readonly comments;
@@ -408,6 +1411,28 @@ declare class Worksheet extends IgnoreIfEmptyXmlComponent {
408
1411
  private readonly tabColor?;
409
1412
  private readonly sheetView?;
410
1413
  private readonly pivotTableOptions;
1414
+ private readonly tableOptions;
1415
+ private readonly ignoredErrors;
1416
+ private readonly phoneticPr?;
1417
+ private readonly backgroundImage?;
1418
+ private readonly printOptions?;
1419
+ private readonly sheetFormatPr?;
1420
+ private readonly sheetPr?;
1421
+ private readonly rowBreaks;
1422
+ private readonly colBreaks;
1423
+ private readonly customSheetViews;
1424
+ private readonly cellWatches;
1425
+ private readonly dataConsolidate?;
1426
+ private readonly oleSize?;
1427
+ private readonly drawingHF?;
1428
+ private readonly legacyDrawingHF?;
1429
+ private readonly selection?;
1430
+ private readonly sheetCalcPr?;
1431
+ private readonly ext?;
1432
+ private readonly controls;
1433
+ private readonly customProperties;
1434
+ private readonly oleObjects;
1435
+ private readonly webPublishItems;
411
1436
  constructor(options: WorksheetOptions);
412
1437
  get imageOptions(): readonly WorksheetImageOptions[];
413
1438
  get charts(): readonly WorksheetChartOptions[];
@@ -415,8 +1440,13 @@ declare class Worksheet extends IgnoreIfEmptyXmlComponent {
415
1440
  get worksheetRows(): readonly RowOptions[];
416
1441
  get commentOptions(): readonly CommentOptions[];
417
1442
  get pivotTables(): readonly PivotTableOptions[];
1443
+ get tables(): readonly TableOptions[];
1444
+ get background(): SheetBackgroundImageOptions | undefined;
418
1445
  toXml(context: Context): string;
1446
+ private buildCfvoXml;
419
1447
  private buildSheetViewAttrs;
1448
+ private buildSelectionXml;
1449
+ private buildPivotSelectionXml;
420
1450
  private hashPassword;
421
1451
  private buildFormulaString;
422
1452
  private buildCellString;
@@ -425,15 +1455,137 @@ declare class Worksheet extends IgnoreIfEmptyXmlComponent {
425
1455
  private dateToSerialNumber;
426
1456
  }
427
1457
  //#endregion
1458
+ //#region src/file/shared-strings.d.ts
1459
+ declare class SharedStrings extends BaseXmlComponent {
1460
+ private readonly entries;
1461
+ private readonly indexMap;
1462
+ constructor();
1463
+ register(s: string): number;
1464
+ registerRich(rst: RichTextOptions): number;
1465
+ get count(): number;
1466
+ toXml(_context: Context): string;
1467
+ }
1468
+ //#endregion
1469
+ //#region src/file/chartsheet/chartsheet.d.ts
1470
+ interface ChartsheetPageMargins {
1471
+ readonly left?: number;
1472
+ readonly right?: number;
1473
+ readonly top?: number;
1474
+ readonly bottom?: number;
1475
+ readonly header?: number;
1476
+ readonly footer?: number;
1477
+ }
1478
+ interface ChartsheetPageSetup {
1479
+ readonly paperSize?: number;
1480
+ readonly orientation?: string;
1481
+ readonly horizontalDpi?: number;
1482
+ readonly verticalDpi?: number;
1483
+ readonly copies?: number;
1484
+ }
1485
+ interface ChartsheetProtectionOptions {
1486
+ readonly content?: boolean;
1487
+ readonly objects?: boolean;
1488
+ }
1489
+ interface ChartsheetHeaderFooterOptions {
1490
+ readonly differentFirst?: boolean;
1491
+ readonly differentOddEven?: boolean;
1492
+ readonly oddHeader?: string;
1493
+ readonly oddFooter?: string;
1494
+ }
1495
+ interface ChartsheetOptions {
1496
+ readonly name?: string;
1497
+ readonly tabColor?: string;
1498
+ readonly pageMargins?: ChartsheetPageMargins;
1499
+ readonly pageSetup?: ChartsheetPageSetup;
1500
+ readonly headerFooter?: ChartsheetHeaderFooterOptions;
1501
+ readonly sheetProtection?: ChartsheetProtectionOptions;
1502
+ readonly published?: boolean;
1503
+ readonly zoomToFit?: boolean;
1504
+ readonly chart: {
1505
+ readonly type: string;
1506
+ readonly title?: string;
1507
+ readonly categories?: readonly string[];
1508
+ readonly series: readonly {
1509
+ readonly name: string;
1510
+ readonly values: readonly number[];
1511
+ }[];
1512
+ };
1513
+ }
1514
+ //#endregion
1515
+ //#region src/file/external-link/external-link-xml.d.ts
1516
+ interface ExternalDefinedNameOptions {
1517
+ readonly name: string;
1518
+ readonly refersTo?: string;
1519
+ readonly sheetId?: number;
1520
+ readonly publishToServer?: boolean;
1521
+ readonly vbProcedure?: boolean;
1522
+ readonly workbookParameter?: boolean;
1523
+ readonly xlm?: boolean;
1524
+ }
1525
+ interface ExternalCellOptions {
1526
+ readonly reference: string;
1527
+ readonly type?: string;
1528
+ readonly value?: string;
1529
+ }
1530
+ interface ExternalBookOptions {
1531
+ readonly target?: string;
1532
+ readonly sheetNames?: readonly string[];
1533
+ readonly definedNames?: readonly ExternalDefinedNameOptions[];
1534
+ readonly sheetDataSet?: readonly ExternalSheetDataOptions[];
1535
+ }
1536
+ interface ExternalRowOptions {
1537
+ readonly rowNumber: number;
1538
+ readonly cells?: readonly ExternalCellOptions[];
1539
+ }
1540
+ interface ExternalSheetDataOptions {
1541
+ readonly sheetId: number;
1542
+ readonly refreshError?: boolean;
1543
+ readonly rows?: readonly ExternalRowOptions[];
1544
+ }
1545
+ interface ExternalLinkOptions {
1546
+ readonly externalBook?: ExternalBookOptions;
1547
+ readonly bookRId?: string;
1548
+ readonly oleLink?: OleLinkOptions;
1549
+ readonly oleRId?: string;
1550
+ }
1551
+ interface OleItemOptions {
1552
+ readonly name: string;
1553
+ readonly advise?: boolean;
1554
+ readonly prefer?: boolean;
1555
+ }
1556
+ interface OleLinkOptions {
1557
+ readonly oleItems?: readonly OleItemOptions[];
1558
+ }
1559
+ //#endregion
428
1560
  //#region src/file/file.d.ts
429
1561
  interface WorkbookOptions extends CorePropertiesOptions {
430
1562
  readonly worksheets?: readonly WorksheetOptions[];
1563
+ readonly chartsheets?: readonly ChartsheetOptions[];
431
1564
  readonly dxfs?: readonly DxfOptions[];
1565
+ readonly workbookProtection?: WorkbookProtectionOptions;
1566
+ readonly externalLinks?: readonly ExternalLinkOptions[];
1567
+ readonly customWorkbookViews?: readonly CustomWorkbookViewOptions[];
1568
+ readonly fileRecoveryPr?: FileRecoveryPrOptions;
1569
+ readonly functionGroups?: readonly string[];
1570
+ readonly webPublishing?: WebPublishingOptions;
1571
+ readonly fileSharing?: FileSharingOptions;
1572
+ readonly volTypes?: readonly VolTypeOptions[];
1573
+ readonly webPublishObjects?: readonly WebPublishObjectOptions[];
432
1574
  }
433
1575
  declare class File {
434
1576
  private readonly worksheetOptions;
1577
+ private readonly chartsheetOptions;
435
1578
  private readonly corePropsOptions;
436
1579
  private readonly dxfOptions;
1580
+ private readonly protectionOptions?;
1581
+ private readonly externalLinkOptions;
1582
+ private readonly customViewOptions?;
1583
+ private readonly fileRecoveryPrOpts?;
1584
+ private readonly functionGroupOpts?;
1585
+ private readonly webPublishingOpts?;
1586
+ private readonly fileSharingOpts?;
1587
+ private readonly volTypeOpts?;
1588
+ private readonly webPublishObjectOpts?;
437
1589
  private _coreProperties?;
438
1590
  private _appProperties?;
439
1591
  private _contentTypes?;
@@ -461,12 +1613,590 @@ declare class File {
461
1613
  get dxfEntries(): readonly DxfOptions[];
462
1614
  get pivotCacheRefs(): readonly PivotCacheReference[];
463
1615
  registerPivotCache(cacheId: number, rId: string): void;
1616
+ get externalLinks(): readonly ExternalLinkOptions[];
464
1617
  get worksheetConfigs(): readonly WorksheetOptions[];
1618
+ get chartsheetConfigs(): readonly ChartsheetOptions[];
465
1619
  get worksheets(): readonly Worksheet[];
466
1620
  get fileRelationships(): Relationships;
467
1621
  get workbookRelationships(): Relationships;
468
1622
  }
469
1623
  //#endregion
1624
+ //#region src/file/dialogsheet/dialogsheet.d.ts
1625
+ interface DialogsheetPageMargins {
1626
+ readonly left?: number;
1627
+ readonly right?: number;
1628
+ readonly top?: number;
1629
+ readonly bottom?: number;
1630
+ readonly header?: number;
1631
+ readonly footer?: number;
1632
+ }
1633
+ interface DialogsheetPageSetup {
1634
+ readonly paperSize?: number;
1635
+ readonly orientation?: string;
1636
+ readonly horizontalDpi?: number;
1637
+ readonly verticalDpi?: number;
1638
+ readonly copies?: number;
1639
+ }
1640
+ interface DialogsheetProtectionOptions {
1641
+ readonly content?: boolean;
1642
+ readonly objects?: boolean;
1643
+ readonly scenarios?: boolean;
1644
+ }
1645
+ interface DialogsheetOptions {
1646
+ readonly name?: string;
1647
+ readonly tabColor?: string;
1648
+ readonly pageMargins?: DialogsheetPageMargins;
1649
+ readonly pageSetup?: DialogsheetPageSetup;
1650
+ readonly sheetProtection?: DialogsheetProtectionOptions;
1651
+ }
1652
+ declare class Dialogsheet extends BaseXmlComponent {
1653
+ private readonly opts;
1654
+ constructor(options: DialogsheetOptions);
1655
+ toXml(_context: Context): string;
1656
+ }
1657
+ //#endregion
1658
+ //#region src/file/query-table/query-table-xml.d.ts
1659
+ interface QueryTableDeletedFieldOptions {
1660
+ readonly name: string;
1661
+ }
1662
+ interface QueryTableFieldOptions {
1663
+ readonly id: number;
1664
+ readonly name?: string;
1665
+ readonly tableColumnId?: number;
1666
+ readonly row?: number;
1667
+ readonly fillFormatting?: boolean;
1668
+ readonly textFormatting?: boolean;
1669
+ readonly numberFormatting?: boolean;
1670
+ readonly borderFormatting?: boolean;
1671
+ readonly width?: number;
1672
+ readonly clipped?: boolean;
1673
+ readonly dataBound?: boolean;
1674
+ }
1675
+ interface QueryTableRefreshOptions {
1676
+ readonly nextId?: number;
1677
+ readonly minimumVersion?: number;
1678
+ readonly preserveFormatting?: boolean;
1679
+ readonly adjustColumnWidth?: boolean;
1680
+ readonly refreshOnLoad?: boolean;
1681
+ readonly backgroundRefresh?: boolean;
1682
+ readonly deletedFields?: readonly QueryTableDeletedFieldOptions[];
1683
+ readonly queryTableFields?: readonly QueryTableFieldOptions[];
1684
+ readonly rowCount?: number;
1685
+ readonly fieldIdWrapped?: boolean;
1686
+ readonly headersInLastRefresh?: boolean;
1687
+ readonly preserveSortFilterLayout?: boolean;
1688
+ readonly unboundColumnsLeft?: number;
1689
+ readonly unboundColumnsRight?: number;
1690
+ }
1691
+ interface QueryTableOptions {
1692
+ readonly name?: string;
1693
+ readonly connectionId: number;
1694
+ readonly autoFormat?: boolean;
1695
+ readonly preserveFormatting?: boolean;
1696
+ readonly adjustColumnWidth?: boolean;
1697
+ readonly refreshOnLoad?: boolean;
1698
+ readonly backgroundRefresh?: boolean;
1699
+ readonly rowNumbers?: boolean;
1700
+ readonly disableRefresh?: boolean;
1701
+ readonly firstBackgroundRefresh?: boolean;
1702
+ readonly growShrinkType?: boolean;
1703
+ readonly fillFormulas?: boolean;
1704
+ readonly removeDataOnSave?: boolean;
1705
+ readonly disableEdit?: boolean;
1706
+ readonly intermediate?: boolean;
1707
+ readonly queryTableRefresh?: QueryTableRefreshOptions;
1708
+ }
1709
+ declare class QueryTableXml extends BaseXmlComponent {
1710
+ private readonly opts;
1711
+ constructor(options: QueryTableOptions);
1712
+ toXml(_context: Context): string;
1713
+ }
1714
+ //#endregion
1715
+ //#region src/file/metadata/metadata-xml.d.ts
1716
+ interface MetadataTypeOptions {
1717
+ readonly name: string;
1718
+ readonly minVersion?: number;
1719
+ readonly minSupportedVersion?: number;
1720
+ readonly ghostRow?: boolean;
1721
+ readonly ghostCol?: boolean;
1722
+ readonly edit?: boolean;
1723
+ readonly delete?: boolean;
1724
+ readonly copy?: boolean;
1725
+ readonly paste?: boolean;
1726
+ readonly pasteAll?: boolean;
1727
+ readonly pasteFormulas?: boolean;
1728
+ readonly pasteValues?: boolean;
1729
+ readonly pasteFormats?: boolean;
1730
+ readonly pasteComments?: boolean;
1731
+ readonly pasteDataValidation?: boolean;
1732
+ readonly pasteBorders?: boolean;
1733
+ readonly pasteColWidths?: boolean;
1734
+ readonly pasteNumberFormats?: boolean;
1735
+ readonly merge?: boolean;
1736
+ readonly splitFirst?: boolean;
1737
+ readonly splitAll?: boolean;
1738
+ readonly rowColShift?: boolean;
1739
+ readonly clearAll?: boolean;
1740
+ readonly clearFormats?: boolean;
1741
+ readonly clearContents?: boolean;
1742
+ readonly clearComments?: boolean;
1743
+ readonly assign?: boolean;
1744
+ readonly coerce?: boolean;
1745
+ readonly adjust?: boolean;
1746
+ readonly cellMeta?: boolean;
1747
+ }
1748
+ interface MetadataStringOptions {
1749
+ readonly value: string;
1750
+ }
1751
+ interface FutureMetadataOptions {
1752
+ readonly name: string;
1753
+ readonly type: string;
1754
+ }
1755
+ interface MetadataRecordOptions {
1756
+ readonly t: number;
1757
+ readonly v: number;
1758
+ }
1759
+ interface MetadataBlockOptions {
1760
+ readonly records?: readonly MetadataRecordOptions[];
1761
+ }
1762
+ interface MetadataOptions {
1763
+ readonly types?: readonly MetadataTypeOptions[];
1764
+ readonly strings?: readonly MetadataStringOptions[];
1765
+ readonly futureMetadata?: readonly FutureMetadataOptions[];
1766
+ readonly mdxMetadata?: readonly MdxOptions[];
1767
+ readonly cellMetadataBlocks?: readonly MetadataBlockOptions[];
1768
+ readonly valueMetadataBlocks?: readonly MetadataBlockOptions[];
1769
+ }
1770
+ interface MdxOptions {
1771
+ readonly f: string;
1772
+ readonly n: number;
1773
+ readonly tuple?: MdxTupleOptions;
1774
+ readonly set?: MdxSetOptions;
1775
+ readonly memberProp?: MdxMemberPropOptions;
1776
+ readonly kpi?: MdxKpiOptions;
1777
+ }
1778
+ interface MdxTupleOptions {
1779
+ readonly c?: number;
1780
+ }
1781
+ interface MdxSetOptions {
1782
+ readonly ns: number;
1783
+ }
1784
+ interface MdxMemberPropOptions {
1785
+ readonly n: number;
1786
+ readonly np: number;
1787
+ }
1788
+ interface MdxKpiOptions {
1789
+ readonly n: number;
1790
+ readonly np: number;
1791
+ readonly p: string;
1792
+ }
1793
+ declare class MetadataXml extends BaseXmlComponent {
1794
+ private readonly opts;
1795
+ constructor(options: MetadataOptions);
1796
+ toXml(_context: Context): string;
1797
+ }
1798
+ //#endregion
1799
+ //#region src/file/revision-log/revision-types.d.ts
1800
+ interface SheetIdEntry {
1801
+ readonly id: number;
1802
+ }
1803
+ interface RevisionHeaderEntry {
1804
+ readonly guid: string;
1805
+ readonly dateTime: string;
1806
+ readonly userName: string;
1807
+ readonly rId: string;
1808
+ readonly maxSheetId: number;
1809
+ readonly sheetIds?: readonly SheetIdEntry[];
1810
+ readonly minRId?: number;
1811
+ readonly maxRId?: number;
1812
+ }
1813
+ interface RevisionHeadersOptions {
1814
+ readonly guid: string;
1815
+ readonly lastGuid?: string;
1816
+ readonly headers: readonly RevisionHeaderEntry[];
1817
+ readonly shared?: boolean;
1818
+ readonly history?: boolean;
1819
+ readonly trackRevisions?: boolean;
1820
+ readonly revisionId?: number;
1821
+ readonly version?: number;
1822
+ readonly keepChangeHistory?: boolean;
1823
+ readonly protected?: boolean;
1824
+ readonly preserveHistory?: number;
1825
+ readonly diskRevisions?: boolean;
1826
+ readonly exclusive?: boolean;
1827
+ }
1828
+ type RowColumnAction = "insertRow" | "insertCol" | "deleteRow" | "deleteCol";
1829
+ interface RevisionRowColumnOptions {
1830
+ readonly action: RowColumnAction;
1831
+ readonly rId: number;
1832
+ readonly row?: number;
1833
+ readonly col?: number;
1834
+ readonly sheetIndex?: number;
1835
+ readonly edge?: boolean;
1836
+ readonly ra?: string;
1837
+ readonly ua?: string;
1838
+ readonly eol?: boolean;
1839
+ }
1840
+ interface RevisionCellChangeOptions {
1841
+ readonly rId: number;
1842
+ readonly ref: string;
1843
+ readonly sheetIndex?: number;
1844
+ readonly oldValue?: string | number;
1845
+ readonly oldType?: string;
1846
+ readonly newValue?: string | number;
1847
+ readonly newType?: string;
1848
+ readonly formula?: string;
1849
+ readonly numFmtId?: number;
1850
+ readonly xfDxf?: number;
1851
+ readonly quotePrefix?: boolean;
1852
+ readonly oldQuotePrefix?: boolean;
1853
+ readonly ph?: boolean;
1854
+ readonly oldPh?: boolean;
1855
+ readonly endOfListFormulaUpdate?: boolean;
1856
+ readonly ra?: string;
1857
+ readonly ua?: string;
1858
+ readonly newCellMeta?: number;
1859
+ readonly oldCellMeta?: number;
1860
+ }
1861
+ interface RevisionMoveOptions {
1862
+ readonly rId: number;
1863
+ readonly source: string;
1864
+ readonly destination: string;
1865
+ readonly sheetIndex?: number;
1866
+ readonly sourceSheetId?: number;
1867
+ readonly ra?: string;
1868
+ readonly ua?: string;
1869
+ }
1870
+ interface RevisionFormattingOptions {
1871
+ readonly rId: number;
1872
+ readonly ref: string;
1873
+ readonly sheetIndex?: number;
1874
+ readonly s?: number;
1875
+ readonly xfDxf?: number;
1876
+ }
1877
+ interface RevisionInsertSheetOptions {
1878
+ readonly rId: number;
1879
+ readonly name: string;
1880
+ readonly sheetIndex?: number;
1881
+ readonly sheetPosition?: number;
1882
+ readonly ra?: string;
1883
+ readonly ua?: string;
1884
+ }
1885
+ interface RevisionCommentOptions {
1886
+ readonly rId: number;
1887
+ readonly ref: string;
1888
+ readonly sheetIndex?: number;
1889
+ readonly text?: string;
1890
+ readonly author?: string;
1891
+ readonly alwaysShow?: boolean;
1892
+ readonly old?: boolean;
1893
+ readonly hiddenRow?: boolean;
1894
+ readonly hiddenColumn?: boolean;
1895
+ readonly oldLength?: number;
1896
+ readonly newLength?: number;
1897
+ }
1898
+ interface RevisionDefinedNameOptions {
1899
+ readonly rId: number;
1900
+ readonly name: string;
1901
+ readonly value?: string;
1902
+ readonly localSheetId?: number;
1903
+ readonly customView?: boolean;
1904
+ readonly function?: boolean;
1905
+ readonly oldFunction?: boolean;
1906
+ readonly functionGroupId?: number;
1907
+ readonly oldFunctionGroupId?: number;
1908
+ readonly shortcutKey?: string;
1909
+ readonly oldShortcutKey?: string;
1910
+ readonly oldHidden?: boolean;
1911
+ readonly customMenu?: string;
1912
+ readonly oldCustomMenu?: string;
1913
+ readonly oldDescription?: string;
1914
+ readonly help?: string;
1915
+ readonly oldHelp?: string;
1916
+ readonly statusBar?: string;
1917
+ readonly oldStatusBar?: string;
1918
+ readonly oldComment?: string;
1919
+ readonly ra?: string;
1920
+ readonly ua?: string;
1921
+ }
1922
+ interface RevisionReviewedOptions {
1923
+ readonly rId: number;
1924
+ }
1925
+ interface RevisionUndoOptions {
1926
+ readonly rId: number;
1927
+ readonly revisions?: readonly RevisionEntry[];
1928
+ readonly cs?: boolean;
1929
+ readonly dn?: boolean;
1930
+ readonly exp?: boolean;
1931
+ readonly nf?: boolean;
1932
+ readonly ref3D?: boolean;
1933
+ }
1934
+ interface RevisionAutoFormattingOptions {
1935
+ readonly rId: number;
1936
+ readonly sheetIndex?: number;
1937
+ readonly ref?: string;
1938
+ }
1939
+ interface RevisionCustomViewOptions {
1940
+ readonly rId: number;
1941
+ readonly guid?: string;
1942
+ }
1943
+ interface RevisionSheetRenameOptions {
1944
+ readonly rId: number;
1945
+ readonly sheetIndex?: number;
1946
+ readonly oldName?: string;
1947
+ readonly newName?: string;
1948
+ readonly ra?: string;
1949
+ readonly ua?: string;
1950
+ }
1951
+ interface RevisionQueryTableFieldOptions {
1952
+ readonly rId: number;
1953
+ readonly sheetIndex?: number;
1954
+ readonly fieldId?: number;
1955
+ readonly ra?: string;
1956
+ readonly ua?: string;
1957
+ }
1958
+ interface RevisionConflictOptions {
1959
+ readonly rId: number;
1960
+ readonly sheetIndex?: number;
1961
+ readonly ra?: string;
1962
+ readonly ua?: string;
1963
+ }
1964
+ type RevisionEntry = {
1965
+ readonly type: "rowColumn";
1966
+ readonly data: RevisionRowColumnOptions;
1967
+ } | {
1968
+ readonly type: "cellChange";
1969
+ readonly data: RevisionCellChangeOptions;
1970
+ } | {
1971
+ readonly type: "move";
1972
+ readonly data: RevisionMoveOptions;
1973
+ } | {
1974
+ readonly type: "formatting";
1975
+ readonly data: RevisionFormattingOptions;
1976
+ } | {
1977
+ readonly type: "insertSheet";
1978
+ readonly data: RevisionInsertSheetOptions;
1979
+ } | {
1980
+ readonly type: "comment";
1981
+ readonly data: RevisionCommentOptions;
1982
+ } | {
1983
+ readonly type: "definedName";
1984
+ readonly data: RevisionDefinedNameOptions;
1985
+ } | {
1986
+ readonly type: "reviewed";
1987
+ readonly data: RevisionReviewedOptions;
1988
+ } | {
1989
+ readonly type: "undo";
1990
+ readonly data: RevisionUndoOptions;
1991
+ } | {
1992
+ readonly type: "autoFormatting";
1993
+ readonly data: RevisionAutoFormattingOptions;
1994
+ } | {
1995
+ readonly type: "customView";
1996
+ readonly data: RevisionCustomViewOptions;
1997
+ } | {
1998
+ readonly type: "sheetRename";
1999
+ readonly data: RevisionSheetRenameOptions;
2000
+ } | {
2001
+ readonly type: "queryTableField";
2002
+ readonly data: RevisionQueryTableFieldOptions;
2003
+ } | {
2004
+ readonly type: "conflict";
2005
+ readonly data: RevisionConflictOptions;
2006
+ };
2007
+ interface RevisionLogOptions {
2008
+ readonly revisions?: readonly RevisionEntry[];
2009
+ }
2010
+ interface SharedUserOptions {
2011
+ readonly guid: string;
2012
+ readonly name: string;
2013
+ readonly id: number;
2014
+ readonly dateTime?: string;
2015
+ }
2016
+ interface UsersOptions {
2017
+ readonly users?: readonly SharedUserOptions[];
2018
+ }
2019
+ //#endregion
2020
+ //#region src/file/revision-log/revision-headers-xml.d.ts
2021
+ declare class RevisionHeadersXml extends BaseXmlComponent {
2022
+ private readonly opts;
2023
+ private readonly users?;
2024
+ constructor(options: RevisionHeadersOptions, users?: UsersOptions);
2025
+ toXml(_context: Context): string;
2026
+ buildUsersXml(): string;
2027
+ }
2028
+ //#endregion
2029
+ //#region src/file/revision-log/revision-xml.d.ts
2030
+ declare class RevisionLogXml extends BaseXmlComponent {
2031
+ private readonly entries;
2032
+ constructor(entries: readonly RevisionEntry[]);
2033
+ toXml(_context: Context): string;
2034
+ }
2035
+ //#endregion
2036
+ //#region src/file/connection/connection-xml.d.ts
2037
+ interface DbPrOptions {
2038
+ readonly connection: string;
2039
+ readonly command?: string;
2040
+ readonly commandType?: number;
2041
+ readonly serverCommand?: string;
2042
+ }
2043
+ interface WebPrOptions {
2044
+ readonly url: string;
2045
+ readonly sourceData?: boolean;
2046
+ readonly htmlFormat?: string;
2047
+ readonly htmlTables?: readonly string[];
2048
+ readonly consecutive?: boolean;
2049
+ readonly firstRowHeader?: boolean;
2050
+ readonly parsePre?: boolean;
2051
+ readonly xl2000?: boolean;
2052
+ readonly editPage?: string;
2053
+ readonly firstRow?: boolean;
2054
+ readonly post?: boolean;
2055
+ readonly textDates?: boolean;
2056
+ readonly xl97?: boolean;
2057
+ readonly textFields?: readonly TextFieldOptions[];
2058
+ }
2059
+ interface TextPrOptions {
2060
+ readonly textFields?: readonly TextFieldOptions[];
2061
+ readonly codePage?: number;
2062
+ readonly characterSet?: string;
2063
+ readonly sourceFile?: string;
2064
+ readonly delimited?: boolean;
2065
+ readonly tab?: boolean;
2066
+ readonly space?: boolean;
2067
+ readonly comma?: boolean;
2068
+ readonly semicolon?: boolean;
2069
+ readonly custom?: string;
2070
+ readonly decimal?: string;
2071
+ readonly thousands?: string;
2072
+ readonly trailingMinus?: boolean;
2073
+ readonly delimiter?: string;
2074
+ readonly fileType?: "mac" | "win" | "dos";
2075
+ readonly firstRow?: boolean;
2076
+ readonly qualifier?: "doubleQuote" | "singleQuote" | "none";
2077
+ }
2078
+ interface TextFieldOptions {
2079
+ readonly type: number;
2080
+ readonly dataType?: string;
2081
+ }
2082
+ interface ParameterOptions {
2083
+ readonly name: string;
2084
+ readonly sqlType?: number;
2085
+ readonly characterSet?: string;
2086
+ readonly stringValue?: string;
2087
+ readonly integerValue?: number;
2088
+ readonly booleanValue?: boolean;
2089
+ readonly refreshOnChange?: boolean;
2090
+ readonly prompt?: boolean;
2091
+ readonly integer?: boolean;
2092
+ readonly reference?: string;
2093
+ readonly parameterType?: string;
2094
+ }
2095
+ interface ConnectionOptions {
2096
+ readonly id: number;
2097
+ readonly name?: string;
2098
+ readonly type?: number;
2099
+ readonly refreshOnLoad?: boolean;
2100
+ readonly refreshedVersion?: number;
2101
+ readonly backgroundRefresh?: boolean;
2102
+ readonly saveData?: boolean;
2103
+ readonly savePassword?: boolean;
2104
+ readonly description?: string;
2105
+ readonly credentials?: string;
2106
+ readonly interval?: number;
2107
+ readonly keepAlive?: boolean;
2108
+ readonly new?: boolean;
2109
+ readonly odcFile?: string;
2110
+ readonly onlyUseConnectionFile?: boolean;
2111
+ readonly reconnectionMethod?: number;
2112
+ readonly singleSignOnId?: string;
2113
+ readonly dbPr?: DbPrOptions;
2114
+ readonly webPr?: WebPrOptions;
2115
+ readonly textPr?: TextPrOptions;
2116
+ readonly parameters?: readonly ParameterOptions[];
2117
+ }
2118
+ declare class ConnectionsXml extends BaseXmlComponent {
2119
+ private readonly connections;
2120
+ constructor(connections: readonly ConnectionOptions[]);
2121
+ toXml(_context: Context): string;
2122
+ }
2123
+ //#endregion
2124
+ //#region src/file/xml-mapping/xml-mapping-xml.d.ts
2125
+ interface SchemaOptions {
2126
+ readonly id: string;
2127
+ readonly schemaRef?: string;
2128
+ readonly namespace?: string;
2129
+ readonly schemaLanguage?: string;
2130
+ readonly schemaID?: string;
2131
+ readonly elementFormDefault?: string;
2132
+ readonly attributeFormDefault?: string;
2133
+ }
2134
+ interface DataBindingOptions {
2135
+ readonly dataBindingName?: string;
2136
+ readonly fileBinding?: boolean;
2137
+ readonly fileBindingName?: string;
2138
+ readonly connectionID?: number;
2139
+ readonly dataBindingLoadMode?: number;
2140
+ }
2141
+ interface MapOptions {
2142
+ readonly id: number;
2143
+ readonly name: string;
2144
+ readonly rootElement: string;
2145
+ readonly schemaID: string;
2146
+ readonly showImportExportValidationErrors?: boolean;
2147
+ readonly append?: boolean;
2148
+ readonly dataBindingLoadMode?: number;
2149
+ readonly autoFit?: boolean;
2150
+ readonly fileBinding?: boolean;
2151
+ readonly fileBindingName?: string;
2152
+ readonly preserveFormat?: boolean;
2153
+ readonly preserveSortAFLayout?: boolean;
2154
+ readonly dataBinding?: DataBindingOptions;
2155
+ }
2156
+ interface MapInfoOptions {
2157
+ readonly selectionNamespaces: string;
2158
+ readonly schemas: readonly SchemaOptions[];
2159
+ readonly maps: readonly MapOptions[];
2160
+ }
2161
+ interface XmlPrOptions {
2162
+ readonly xmlElement?: string;
2163
+ readonly mapId: number;
2164
+ readonly xpath: string;
2165
+ readonly xmlDataType: string;
2166
+ }
2167
+ interface XmlCellPrOptions {
2168
+ readonly id: number;
2169
+ readonly uniqueName?: string;
2170
+ readonly xmlPr: XmlPrOptions;
2171
+ }
2172
+ interface SingleXmlCellOptions {
2173
+ readonly id: number;
2174
+ readonly r: string;
2175
+ readonly connectionId: number;
2176
+ readonly xmlCellPr: XmlCellPrOptions;
2177
+ }
2178
+ interface XmlColumnPrOptions {
2179
+ readonly xpath: string;
2180
+ readonly xmlDataType: string;
2181
+ readonly mapId: number;
2182
+ readonly denormalized?: boolean;
2183
+ }
2184
+ declare class MapInfoXml extends BaseXmlComponent {
2185
+ private readonly options;
2186
+ constructor(options: MapInfoOptions);
2187
+ toXml(_context: Context): string;
2188
+ }
2189
+ declare class SingleXmlCellsXml extends BaseXmlComponent {
2190
+ private readonly cells;
2191
+ constructor(cells: readonly SingleXmlCellOptions[]);
2192
+ toXml(_context: Context): string;
2193
+ }
2194
+ declare class XmlColumnPrXml extends BaseXmlComponent {
2195
+ private readonly options;
2196
+ constructor(options: XmlColumnPrOptions);
2197
+ toXml(_context: Context): string;
2198
+ }
2199
+ //#endregion
470
2200
  //#region src/export/packer/packer.d.ts
471
2201
  declare const Packer: import("@office-open/core").Packer<File>;
472
2202
  //#endregion
@@ -521,5 +2251,5 @@ declare const patchWorkbook: <T extends PatchDocumentOutputType = PatchDocumentO
521
2251
  placeholderDelimiters
522
2252
  }: PatchWorkbookOptions<T>) => Promise<OutputByType$1[T]>;
523
2253
  //#endregion
524
- export { type AlignmentOptions, type BorderOptions, type BorderSideOptions, type CellOptions, type CellPatch, type ColumnOptions, type CompressionOptions, type ConditionalFormatOptions, type ConsolidateFunction, type CorePropertiesOptions, type DataValidationOptions, File, File as Workbook, type FillOptions, type FontOptions, type FormulaOptions, type FreezePaneOptions, type IPatch, type InputDataType, type MergeCellOptions, type OutputByType, type OutputType, Packer, type PackerOptions, type PatchDocumentOutputType, PatchType, type PatchWorkbookOptions, type PivotDataField, type PivotTableOptions, type RowOptions, SharedStrings, type StyleOptions, Styles, type WorkbookOptions, type WorksheetChartOptions, type WorksheetOptions, type XlsxDocument, type XlsxPartRefs, columnToLetter, dateToSerialNumber, letterToColumn, parseWorkbook, parseXlsx, patchWorkbook };
2254
+ export { type AlignmentOptions, type BorderOptions, type BorderSideOptions, type CellOptions, type CellPatch, type CfvoOptions, type CfvoType, type ChartsheetOptions, type ColorScaleOptions, type ColumnOptions, type CompressionOptions, type ConditionalFormatOptions, type ConditionalFormatRule, type ConnectionOptions, ConnectionsXml, type ConsolidateFunction, type CorePropertiesOptions, type CustomWorkbookViewOptions, type DataBarOptions, type DataBindingOptions, type DataValidationOptions, type DbPrOptions, Dialogsheet, type DialogsheetOptions, type ExternalBookOptions, type ExternalDefinedNameOptions, type ExternalLinkOptions, type ExternalSheetDataOptions, File, File as Workbook, type FileRecoveryPrOptions, type FileSharingOptions, type FillOptions, type FontOptions, type FormulaOptions, type FreezePaneOptions, type FutureMetadataOptions, type IPatch, type IconSetOptions, type IconSetType, type IgnoredErrorOptions, type InputDataType, type MapInfoOptions, MapInfoXml, type MapOptions, type MergeCellOptions, type MetadataOptions, type MetadataStringOptions, type MetadataTypeOptions, MetadataXml, type OutputByType, type OutputType, Packer, type PackerOptions, type ParameterOptions, type PatchDocumentOutputType, PatchType, type PatchWorkbookOptions, type PhoneticPrOptions, type PivotDataField, type PivotFilterOptions, PivotFilterType as PivotFilterTypeValue, type PivotTableOptions, type ProtectedRangeOptions, type QueryTableOptions, QueryTableXml, type RevisionCellChangeOptions, type RevisionCommentOptions, type RevisionDefinedNameOptions, type RevisionEntry, type RevisionFormattingOptions, type RevisionHeaderEntry, type RevisionHeadersOptions, RevisionHeadersXml, type RevisionInsertSheetOptions, type RevisionLogOptions, RevisionLogXml, type RevisionMoveOptions, type RevisionRowColumnOptions, type RowOptions, type ScenarioCellOptions, type ScenarioDefinition, type ScenarioOptions, type SchemaOptions, SharedStrings, type SheetBackgroundImageOptions, type SheetProtectionOptions, type SingleXmlCellOptions, SingleXmlCellsXml, type StyleOptions, Styles, type TableColumnOptions, type TableOptions, type TableStyleInfoOptions, TableType, TotalsRowFunction, type WebPrOptions, type WebPublishingOptions, type WorkbookOptions, type WorkbookProtectionOptions, type WorksheetChartOptions, type WorksheetOptions, type XlsxDocument, type XlsxPartRefs, type XmlCellPrOptions, type XmlColumnPrOptions, XmlColumnPrXml, type XmlPrOptions, columnToLetter, dateToSerialNumber, letterToColumn, parseWorkbook, parseXlsx, patchWorkbook };
525
2255
  //# sourceMappingURL=index.d.mts.map