@office-open/xlsx 0.10.15 → 0.12.0
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/README.md +29 -18
- package/dist/index.d.mts +2898 -408
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +11652 -9
- package/dist/index.mjs.map +1 -1
- package/package.json +15 -28
- package/dist/chart.d.mts +0 -1
- package/dist/chart.mjs +0 -2
- package/dist/comments-CUChd469.mjs +0 -1776
- package/dist/comments-CUChd469.mjs.map +0 -1
- package/dist/context-eqnGd7of.mjs +0 -4106
- package/dist/context-eqnGd7of.mjs.map +0 -1
- package/dist/drawingml.d.mts +0 -1
- package/dist/drawingml.mjs +0 -2
- package/dist/file-CaB6L83w.d.mts +0 -589
- package/dist/file-CaB6L83w.d.mts.map +0 -1
- package/dist/generate-CSB0G2BY.mjs +0 -842
- package/dist/generate-CSB0G2BY.mjs.map +0 -1
- package/dist/generate.d.mts +0 -10
- package/dist/generate.d.mts.map +0 -1
- package/dist/generate.mjs +0 -2
- package/dist/parse.d.mts +0 -27
- package/dist/parse.d.mts.map +0 -1
- package/dist/parse.mjs +0 -316
- package/dist/parse.mjs.map +0 -1
- package/dist/patch.d.mts +0 -29
- package/dist/patch.d.mts.map +0 -1
- package/dist/patch.mjs +0 -460
- package/dist/patch.mjs.map +0 -1
- package/dist/smartart.d.mts +0 -1
- package/dist/smartart.mjs +0 -2
- package/dist/worksheet-CY6qn25N.d.mts +0 -1448
- package/dist/worksheet-CY6qn25N.d.mts.map +0 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,21 +1,533 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { A as ChartsheetProtectionOptions, B as buildExternalReferencesXml, C as OleLinkOptions, D as ChartsheetOptions, E as ChartsheetHeaderFooterOptions, F as FileRecoveryPropertiesOptions, H as workbookDesc, I as FileSharingOptions, L as PivotCacheReference, M as CalcChainOptions, N as calcChainDesc, O as ChartsheetPageMargins, P as CustomWorkbookViewOptions, R as WebPublishingOptions, S as OleItemOptions, T as ChartsheetDescriptorOptions, V as buildTablePartsXml, _ as ExternalCellOptions, a as RevisionEntry, b as ExternalRowOptions, c as RevisionHeadersOptions, d as RevisionMoveOptions, f as RevisionRowColumnOptions, g as ExternalBookOptions, h as pivotCacheRecordsDesc, i as RevisionDefinedNameOptions, j as chartsheetDesc, k as ChartsheetPageSetup, l as RevisionInsertSheetOptions, m as pivotCacheDefDesc, n as RevisionCellChangeOptions, o as RevisionFormattingOptions, p as PivotCacheDefDescriptorOptions, r as RevisionCommentOptions, s as RevisionHeaderEntry, t as WorkbookOptions, u as RevisionLogOptions, v as ExternalDefinedNameOptions, w as externalLinkDesc, x as ExternalSheetDataOptions, y as ExternalLinkOptions, z as WorkbookProtectionOptions } from "./file-CaB6L83w.mjs";
|
|
3
|
-
import { generateWorkbook, generateWorkbookStream, generateWorkbookSync } from "./generate.mjs";
|
|
4
|
-
import { XlsxDocument, XlsxPartRefs, parseWorkbook, parseXlsx } from "./parse.mjs";
|
|
5
|
-
import { Patch, PatchWorkbookOptions, ScalarValue, patchWorkbook } from "./patch.mjs";
|
|
1
|
+
import { AppPropertiesOptions, ArgbHexColor, Base64, BaseConnectorOptions, BaseGroupOptions, BaseMediaEntry, BasePatchOptions, BasePictureOptions, ChartCollection, ChartSpaceOptions, CompressionOptions, ContentTypesInput, CorePropertiesOptions, CorePropertiesOptions as CorePropertiesOptions$1, CustomPropertyOptions, DataType, EncryptedContainerOptions, Guid, HexColor, Media, NonVisualDrawingPropertiesOptions, OutputByType, OutputByType as OutputByType$1, OutputType, OutputType as OutputType$1, PackerOptions, PackerOptions as PackerOptions$1, ParsedArchive, PositiveUniversalMeasure, RelationshipType, Relationships, UniversalMeasure, UnsignedShortHex, XmlifyedFile, Zippable } from "@office-open/core";
|
|
6
2
|
import { Element } from "@office-open/xml";
|
|
7
|
-
import {
|
|
8
|
-
import { createThemeXml } from "@office-open/core/theme";
|
|
9
|
-
import {
|
|
10
|
-
|
|
11
|
-
//#region src/parts/
|
|
12
|
-
|
|
13
|
-
|
|
3
|
+
import { BlackWhiteMode, BlipEffectsOptions, GraphicFrameLockingOptions, GroupTransform2DOptions, NonVisualDrawingPropertiesOptions as NonVisualDrawingPropertiesOptions$1, PictureLockingOptions, ShapeLockingOptions, ShapePropertiesOptions, SourceRectangleOptions, TextBodyOptions, TextHyperlinkOptions } from "@office-open/core/drawing";
|
|
4
|
+
import { DefaultShapeStyleOptions, ThemeOptions, createThemeXml } from "@office-open/core/theme";
|
|
5
|
+
import { ChartSpaceOptions as ChartSpaceOptions$1 } from "@office-open/core/chart";
|
|
6
|
+
import { CustomDescriptor, HyperlinkTarget, ReadContext, WriteContext } from "@office-open/core/descriptor";
|
|
7
|
+
//#region src/parts/styles/styles.d.ts
|
|
8
|
+
declare class Styles {
|
|
9
|
+
private fonts;
|
|
10
|
+
private fontKeys;
|
|
11
|
+
private fills;
|
|
12
|
+
private fillKeys;
|
|
13
|
+
private borders;
|
|
14
|
+
private borderKeys;
|
|
15
|
+
private customNumFmts;
|
|
16
|
+
private nextCustomNumFmtId;
|
|
17
|
+
private cellXfs;
|
|
18
|
+
private cellXfKeys;
|
|
19
|
+
private cellStyleXfs;
|
|
20
|
+
private dxfs;
|
|
21
|
+
private colors?;
|
|
22
|
+
private tableStyles?;
|
|
23
|
+
private customCellStyles?;
|
|
24
|
+
private styleExtensions?;
|
|
25
|
+
private roundTrip;
|
|
26
|
+
private dxfsDeclared;
|
|
27
|
+
private numFmtsDeclared;
|
|
28
|
+
constructor();
|
|
29
|
+
register(opts: StyleOptions): number;
|
|
30
|
+
registerDxf(opts: DxfOptions): number;
|
|
31
|
+
setDxfs(list: DxfOptions[]): void;
|
|
32
|
+
setColors(opts: ColorsOptions): void;
|
|
33
|
+
setTableStyles(styles: CustomTableStyleOptions[]): void;
|
|
34
|
+
setExtensions(extensions: StyleExtensionOptions[]): void;
|
|
35
|
+
setCustomCellStyles(styles: CustomCellStyleOptions[]): void;
|
|
36
|
+
setCellStyleXfs(entries: CellStyleXfOptions[]): void;
|
|
37
|
+
toDescriptorOptions(): StylesState;
|
|
38
|
+
private registerFont;
|
|
39
|
+
private registerFill;
|
|
40
|
+
private registerBorder;
|
|
41
|
+
private registerNumFmt;
|
|
42
|
+
private cellXfKey;
|
|
43
|
+
adopt(table: {
|
|
44
|
+
fonts?: FontOptions[];
|
|
45
|
+
fills?: CellFillOptions[];
|
|
46
|
+
borders?: BorderSideOptions[];
|
|
47
|
+
cellXfs?: IndexedXfEntry[];
|
|
48
|
+
numFmts?: NumFmtEntry[];
|
|
49
|
+
}): void;
|
|
50
|
+
serialize(): string;
|
|
51
|
+
private fontXmlStr;
|
|
52
|
+
private borderXmlStr;
|
|
53
|
+
private alignmentXmlStr;
|
|
54
|
+
private protectionXmlStr;
|
|
14
55
|
}
|
|
15
|
-
declare const commentsDesc: CustomDescriptor<CommentsDocOptions>;
|
|
16
|
-
declare const vmlNotesDesc: CustomDescriptor<CommentsDocOptions>;
|
|
17
56
|
//#endregion
|
|
18
|
-
//#region src/parts/
|
|
57
|
+
//#region src/parts/styles/types.d.ts
|
|
58
|
+
interface FontOptions {
|
|
59
|
+
bold?: boolean;
|
|
60
|
+
italic?: boolean;
|
|
61
|
+
underline?: boolean;
|
|
62
|
+
strike?: boolean;
|
|
63
|
+
size?: number;
|
|
64
|
+
color?: HexColor;
|
|
65
|
+
themeColor?: number;
|
|
66
|
+
tint?: number;
|
|
67
|
+
colorIndexed?: number;
|
|
68
|
+
autoColor?: boolean;
|
|
69
|
+
font?: string;
|
|
70
|
+
charset?: number;
|
|
71
|
+
family?: number;
|
|
72
|
+
condense?: boolean;
|
|
73
|
+
extend?: boolean;
|
|
74
|
+
vertAlign?: "superscript" | "subscript" | "baseline";
|
|
75
|
+
scheme?: "major" | "minor" | "none";
|
|
76
|
+
shadow?: boolean;
|
|
77
|
+
outline?: boolean;
|
|
78
|
+
}
|
|
79
|
+
interface CellGradientStopOptions {
|
|
80
|
+
position: number;
|
|
81
|
+
color: HexColor;
|
|
82
|
+
}
|
|
83
|
+
interface CellFillOptions {
|
|
84
|
+
type?: "solid" | "pattern" | "gradient";
|
|
85
|
+
color?: HexColor;
|
|
86
|
+
themeColor?: number;
|
|
87
|
+
tint?: number;
|
|
88
|
+
fgAutoColor?: boolean;
|
|
89
|
+
patternType?: "none" | "solid" | "mediumGray" | "darkGray" | "lightGray" | "darkHorizontal" | "darkVertical" | "darkDown" | "darkUp" | "darkGrid" | "darkTrellis" | "lightHorizontal" | "lightVertical" | "lightDown" | "lightUp" | "lightGrid" | "lightTrellis" | "gray125" | "gray0625";
|
|
90
|
+
bgColor?: HexColor;
|
|
91
|
+
bgThemeColor?: number;
|
|
92
|
+
bgTint?: number;
|
|
93
|
+
colorIndexed?: number;
|
|
94
|
+
bgColorIndexed?: number;
|
|
95
|
+
bgAutoColor?: boolean;
|
|
96
|
+
stops?: CellGradientStopOptions[];
|
|
97
|
+
gradientType?: "linear" | "path";
|
|
98
|
+
gradientDegree?: number;
|
|
99
|
+
gradientLeft?: number;
|
|
100
|
+
gradientRight?: number;
|
|
101
|
+
gradientTop?: number;
|
|
102
|
+
gradientBottom?: number;
|
|
103
|
+
}
|
|
104
|
+
interface BorderOptions {
|
|
105
|
+
style?: "none" | "thin" | "medium" | "dashed" | "dotted" | "thick" | "double" | "hair" | "mediumDashed" | "dashDot" | "mediumDashDot" | "dashDotDot" | "mediumDashDotDot" | "slantDashDot";
|
|
106
|
+
color?: string;
|
|
107
|
+
themeColor?: number;
|
|
108
|
+
tint?: number;
|
|
109
|
+
autoColor?: boolean;
|
|
110
|
+
colorIndexed?: number;
|
|
111
|
+
}
|
|
112
|
+
interface BorderSideOptions {
|
|
113
|
+
top?: BorderOptions;
|
|
114
|
+
bottom?: BorderOptions;
|
|
115
|
+
left?: BorderOptions;
|
|
116
|
+
right?: BorderOptions;
|
|
117
|
+
diagonal?: BorderOptions;
|
|
118
|
+
diagonalUp?: boolean;
|
|
119
|
+
diagonalDown?: boolean;
|
|
120
|
+
start?: BorderOptions;
|
|
121
|
+
end?: BorderOptions;
|
|
122
|
+
vertical?: BorderOptions;
|
|
123
|
+
horizontal?: BorderOptions;
|
|
124
|
+
}
|
|
125
|
+
interface AlignmentOptions {
|
|
126
|
+
horizontal?: "general" | "left" | "center" | "right" | "fill" | "justify" | "centerContinuous" | "distributed";
|
|
127
|
+
vertical?: "top" | "center" | "bottom" | "justify" | "distributed";
|
|
128
|
+
wrapText?: boolean;
|
|
129
|
+
textRotation?: number;
|
|
130
|
+
indent?: number;
|
|
131
|
+
relativeIndent?: number;
|
|
132
|
+
justifyLastLine?: boolean;
|
|
133
|
+
shrinkToFit?: boolean;
|
|
134
|
+
readingOrder?: number;
|
|
135
|
+
}
|
|
136
|
+
interface StyleOptions {
|
|
137
|
+
font?: FontOptions;
|
|
138
|
+
fill?: CellFillOptions;
|
|
139
|
+
border?: BorderSideOptions;
|
|
140
|
+
numFmt?: string;
|
|
141
|
+
alignment?: AlignmentOptions;
|
|
142
|
+
quotePrefix?: boolean;
|
|
143
|
+
pivotButton?: boolean;
|
|
144
|
+
applyProtection?: boolean;
|
|
145
|
+
protection?: CellProtectionOptions;
|
|
146
|
+
}
|
|
147
|
+
interface CellProtectionOptions {
|
|
148
|
+
locked?: boolean;
|
|
149
|
+
hidden?: boolean;
|
|
150
|
+
}
|
|
151
|
+
interface IndexedColorOptions {
|
|
152
|
+
rgb: ArgbHexColor;
|
|
153
|
+
}
|
|
154
|
+
interface ColorsOptions {
|
|
155
|
+
indexedColors?: IndexedColorOptions[];
|
|
156
|
+
mruColors?: HexColor[];
|
|
157
|
+
}
|
|
158
|
+
interface DxfNumFmtOptions {
|
|
159
|
+
numFmtId?: number;
|
|
160
|
+
formatCode: string;
|
|
161
|
+
}
|
|
162
|
+
interface DxfOptions {
|
|
163
|
+
font?: FontOptions;
|
|
164
|
+
fill?: CellFillOptions;
|
|
165
|
+
border?: BorderSideOptions;
|
|
166
|
+
numFmt?: string | DxfNumFmtOptions;
|
|
167
|
+
alignment?: AlignmentOptions;
|
|
168
|
+
protection?: CellProtectionOptions;
|
|
169
|
+
}
|
|
170
|
+
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";
|
|
171
|
+
interface TableStyleElementOptions {
|
|
172
|
+
type: TableStyleElementType;
|
|
173
|
+
dxfId?: number;
|
|
174
|
+
}
|
|
175
|
+
interface StyleExtensionOptions {
|
|
176
|
+
uri: string;
|
|
177
|
+
namespaces?: Record<string, string>;
|
|
178
|
+
content?: string;
|
|
179
|
+
}
|
|
180
|
+
interface CustomTableStyleOptions {
|
|
181
|
+
name: string;
|
|
182
|
+
pivot?: boolean;
|
|
183
|
+
table?: boolean;
|
|
184
|
+
elements?: TableStyleElementOptions[];
|
|
185
|
+
}
|
|
186
|
+
interface CustomCellStyleOptions {
|
|
187
|
+
name: string;
|
|
188
|
+
xfId: number;
|
|
189
|
+
builtinId?: number;
|
|
190
|
+
customBuiltin?: boolean;
|
|
191
|
+
iLevel?: number;
|
|
192
|
+
hidden?: boolean;
|
|
193
|
+
}
|
|
194
|
+
interface CellXfEntry {
|
|
195
|
+
fontId: number;
|
|
196
|
+
fillId: number;
|
|
197
|
+
borderId: number;
|
|
198
|
+
numFmtId: number;
|
|
199
|
+
alignment?: AlignmentOptions;
|
|
200
|
+
quotePrefix?: boolean;
|
|
201
|
+
pivotButton?: boolean;
|
|
202
|
+
applyProtection?: boolean;
|
|
203
|
+
protection?: CellProtectionOptions;
|
|
204
|
+
}
|
|
205
|
+
interface CellStyleXfOptions {
|
|
206
|
+
font?: FontOptions;
|
|
207
|
+
fill?: CellFillOptions;
|
|
208
|
+
border?: BorderSideOptions;
|
|
209
|
+
numFmt?: string;
|
|
210
|
+
alignment?: AlignmentOptions;
|
|
211
|
+
protection?: CellProtectionOptions;
|
|
212
|
+
quotePrefix?: boolean;
|
|
213
|
+
pivotButton?: boolean;
|
|
214
|
+
applyNumberFormat?: boolean;
|
|
215
|
+
applyFont?: boolean;
|
|
216
|
+
applyFill?: boolean;
|
|
217
|
+
applyBorder?: boolean;
|
|
218
|
+
applyAlignment?: boolean;
|
|
219
|
+
applyProtection?: boolean;
|
|
220
|
+
}
|
|
221
|
+
interface StylesState {
|
|
222
|
+
customNumFmts: ReadonlyMap<string, number>;
|
|
223
|
+
fonts: FontOptions[];
|
|
224
|
+
fills: CellFillOptions[];
|
|
225
|
+
borders: BorderSideOptions[];
|
|
226
|
+
cellXfs: CellXfEntry[];
|
|
227
|
+
dxfs: DxfOptions[];
|
|
228
|
+
colors?: ColorsOptions;
|
|
229
|
+
tableStyles?: CustomTableStyleOptions[];
|
|
230
|
+
customCellStyles?: CustomCellStyleOptions[];
|
|
231
|
+
styleExtensions?: StyleExtensionOptions[];
|
|
232
|
+
}
|
|
233
|
+
interface IndexedXfEntry {
|
|
234
|
+
fontId?: number;
|
|
235
|
+
fillId?: number;
|
|
236
|
+
borderId?: number;
|
|
237
|
+
numFmtId?: number;
|
|
238
|
+
xfId?: number;
|
|
239
|
+
alignment?: AlignmentOptions;
|
|
240
|
+
protection?: CellProtectionOptions;
|
|
241
|
+
quotePrefix?: boolean;
|
|
242
|
+
pivotButton?: boolean;
|
|
243
|
+
applyFont?: boolean;
|
|
244
|
+
applyFill?: boolean;
|
|
245
|
+
applyBorder?: boolean;
|
|
246
|
+
applyNumberFormat?: boolean;
|
|
247
|
+
applyAlignment?: boolean;
|
|
248
|
+
applyProtection?: boolean;
|
|
249
|
+
}
|
|
250
|
+
interface TableStylesInfo {
|
|
251
|
+
count?: number;
|
|
252
|
+
defaultTableStyle?: string;
|
|
253
|
+
defaultPivotStyle?: string;
|
|
254
|
+
tableStyles?: CustomTableStyleOptions[];
|
|
255
|
+
}
|
|
256
|
+
interface NumFmtEntry {
|
|
257
|
+
numFmtId: number;
|
|
258
|
+
formatCode: string;
|
|
259
|
+
}
|
|
260
|
+
interface StylesParseResult {
|
|
261
|
+
numFmts?: NumFmtEntry[];
|
|
262
|
+
fonts?: FontOptions[];
|
|
263
|
+
fills?: CellFillOptions[];
|
|
264
|
+
borders?: BorderSideOptions[];
|
|
265
|
+
cellStyleXfs?: CellStyleXfOptions[];
|
|
266
|
+
cellXfs?: IndexedXfEntry[];
|
|
267
|
+
customCellStyles?: CustomCellStyleOptions[];
|
|
268
|
+
dxfs?: DxfOptions[];
|
|
269
|
+
tableStylesInfo?: TableStylesInfo;
|
|
270
|
+
colors?: ColorsOptions;
|
|
271
|
+
styleExtensions?: StyleExtensionOptions[];
|
|
272
|
+
}
|
|
273
|
+
interface StylesDocOptions {
|
|
274
|
+
styles: Styles;
|
|
275
|
+
}
|
|
276
|
+
//#endregion
|
|
277
|
+
//#region src/parts/styles/descriptor.d.ts
|
|
278
|
+
declare const stylesDesc: CustomDescriptor<StylesDocOptions, WriteContext, StylesParseResult>;
|
|
279
|
+
//#endregion
|
|
280
|
+
//#region src/parts/workbook/types.d.ts
|
|
281
|
+
interface WorkbookExtensionOptions {
|
|
282
|
+
uri: string;
|
|
283
|
+
namespaces?: Record<string, string>;
|
|
284
|
+
content?: string;
|
|
285
|
+
}
|
|
286
|
+
interface SheetDefinition {
|
|
287
|
+
name: string;
|
|
288
|
+
sheetId: number;
|
|
289
|
+
rId: string;
|
|
290
|
+
state?: "visible" | "hidden" | "veryHidden";
|
|
291
|
+
}
|
|
292
|
+
interface PivotCacheReference {
|
|
293
|
+
cacheId: number;
|
|
294
|
+
rId: string;
|
|
295
|
+
}
|
|
296
|
+
interface TablePartReference {
|
|
297
|
+
rId: string;
|
|
298
|
+
}
|
|
299
|
+
interface CustomWorkbookViewOptions {
|
|
300
|
+
name: string;
|
|
301
|
+
guid: Guid;
|
|
302
|
+
windowWidth: number;
|
|
303
|
+
windowHeight: number;
|
|
304
|
+
activeSheetId: number;
|
|
305
|
+
xWindow?: number;
|
|
306
|
+
yWindow?: number;
|
|
307
|
+
showFormulaBar?: boolean;
|
|
308
|
+
showStatusbar?: boolean;
|
|
309
|
+
showHorizontalScroll?: boolean;
|
|
310
|
+
showVerticalScroll?: boolean;
|
|
311
|
+
showSheetTabs?: boolean;
|
|
312
|
+
tabRatio?: number;
|
|
313
|
+
showObjects?: "all" | "placeholders" | "none";
|
|
314
|
+
includeHiddenRowCol?: boolean;
|
|
315
|
+
includePrintSettings?: boolean;
|
|
316
|
+
personalView?: boolean;
|
|
317
|
+
maximized?: boolean;
|
|
318
|
+
minimized?: boolean;
|
|
319
|
+
autoUpdate?: boolean;
|
|
320
|
+
mergeInterval?: number;
|
|
321
|
+
changesSavedWin?: boolean;
|
|
322
|
+
onlySync?: boolean;
|
|
323
|
+
showComments?: "none" | "indicator" | "comment";
|
|
324
|
+
}
|
|
325
|
+
interface WorkbookProtectionOptions {
|
|
326
|
+
lockStructure?: boolean;
|
|
327
|
+
lockWindows?: boolean;
|
|
328
|
+
lockRevision?: boolean;
|
|
329
|
+
workbookPassword?: string;
|
|
330
|
+
workbookAlgorithmName?: string;
|
|
331
|
+
workbookHashValue?: Base64;
|
|
332
|
+
workbookSaltValue?: Base64;
|
|
333
|
+
workbookSpinCount?: number;
|
|
334
|
+
revisionsPassword?: string;
|
|
335
|
+
revisionsAlgorithmName?: string;
|
|
336
|
+
revisionsHashValue?: Base64;
|
|
337
|
+
revisionsSaltValue?: Base64;
|
|
338
|
+
revisionsSpinCount?: number;
|
|
339
|
+
workbookPasswordCharacterSet?: string;
|
|
340
|
+
revisionsPasswordCharacterSet?: string;
|
|
341
|
+
}
|
|
342
|
+
type WorkbookConformance = "strict" | "transitional";
|
|
343
|
+
interface FileRecoveryPropertiesOptions {
|
|
344
|
+
autoRecover?: boolean;
|
|
345
|
+
crashSave?: boolean;
|
|
346
|
+
dataExtractLoad?: boolean;
|
|
347
|
+
repairLoad?: boolean;
|
|
348
|
+
}
|
|
349
|
+
interface WebPublishingOptions {
|
|
350
|
+
css?: boolean;
|
|
351
|
+
thicket?: boolean;
|
|
352
|
+
longFileNames?: boolean;
|
|
353
|
+
vml?: boolean;
|
|
354
|
+
allowPng?: boolean;
|
|
355
|
+
targetScreenSize?: "544x376" | "640x480" | "720x512" | "800x600" | "1024x768" | "1152x882" | "1152x900" | "1280x1024" | "1600x1200" | "1800x1440" | "1920x1200";
|
|
356
|
+
dpi?: number;
|
|
357
|
+
codePage?: number;
|
|
358
|
+
characterSet?: string;
|
|
359
|
+
}
|
|
360
|
+
interface FileSharingOptions {
|
|
361
|
+
readOnlyRecommended?: boolean;
|
|
362
|
+
userName?: string;
|
|
363
|
+
reservationPassword?: UnsignedShortHex;
|
|
364
|
+
algorithmName?: string;
|
|
365
|
+
hashValue?: Base64;
|
|
366
|
+
saltValue?: Base64;
|
|
367
|
+
spinCount?: number;
|
|
368
|
+
}
|
|
369
|
+
interface WorkbookPropertiesOptions {
|
|
370
|
+
date1904?: boolean;
|
|
371
|
+
defaultThemeVersion?: number;
|
|
372
|
+
showObjects?: "all" | "placeholders" | "none";
|
|
373
|
+
hidePivotFieldList?: boolean;
|
|
374
|
+
allowRefreshQuery?: boolean;
|
|
375
|
+
filterPrivacy?: boolean;
|
|
376
|
+
backupFile?: boolean;
|
|
377
|
+
codeName?: string;
|
|
378
|
+
showBorderUnselectedTables?: boolean;
|
|
379
|
+
promptedSolutions?: boolean;
|
|
380
|
+
showInkAnnotation?: boolean;
|
|
381
|
+
saveExternalLinkValues?: boolean;
|
|
382
|
+
updateLinks?: "userSet" | "never" | "always";
|
|
383
|
+
showPivotChartFilter?: boolean;
|
|
384
|
+
publishItems?: boolean;
|
|
385
|
+
checkCompatibility?: boolean;
|
|
386
|
+
autoCompressPictures?: boolean;
|
|
387
|
+
refreshAllConnections?: boolean;
|
|
388
|
+
}
|
|
389
|
+
interface VolTypeOptions {
|
|
390
|
+
type?: "realTimeData" | "olapFunctions";
|
|
391
|
+
mains?: VolMainOptions[];
|
|
392
|
+
}
|
|
393
|
+
interface VolMainOptions {
|
|
394
|
+
first: string;
|
|
395
|
+
topics?: VolTopicOptions[];
|
|
396
|
+
}
|
|
397
|
+
interface VolTopicOptions {
|
|
398
|
+
value: string;
|
|
399
|
+
valueType?: string;
|
|
400
|
+
stringTopics?: string[];
|
|
401
|
+
refs?: VolTopicRefOptions[];
|
|
402
|
+
}
|
|
403
|
+
interface VolTopicRefOptions {
|
|
404
|
+
reference: string;
|
|
405
|
+
sheetIndex: number;
|
|
406
|
+
}
|
|
407
|
+
interface WebPublishObjectOptions {
|
|
408
|
+
id: number;
|
|
409
|
+
divId: string;
|
|
410
|
+
destinationFile: string;
|
|
411
|
+
sourceObject?: string;
|
|
412
|
+
title?: string;
|
|
413
|
+
autoRepublish?: boolean;
|
|
414
|
+
}
|
|
415
|
+
interface CalculationPropertiesOptions {
|
|
416
|
+
calcMode?: "manual" | "auto" | "autoNoTable";
|
|
417
|
+
calcId?: number;
|
|
418
|
+
fullCalcOnLoad?: boolean;
|
|
419
|
+
calcOnSave?: boolean;
|
|
420
|
+
forceFullCalc?: boolean;
|
|
421
|
+
concurrentCalc?: boolean;
|
|
422
|
+
concurrentManualCount?: number;
|
|
423
|
+
iterate?: boolean;
|
|
424
|
+
iterateCount?: number;
|
|
425
|
+
iterateDelta?: number;
|
|
426
|
+
refMode?: "A1" | "R1C1";
|
|
427
|
+
fullPrecision?: boolean;
|
|
428
|
+
calcCompleted?: boolean;
|
|
429
|
+
}
|
|
430
|
+
interface WorkbookViewOptions {
|
|
431
|
+
activeTab?: number;
|
|
432
|
+
autoFilterDateGrouping?: boolean;
|
|
433
|
+
firstSheet?: number;
|
|
434
|
+
showHorizontalScroll?: boolean;
|
|
435
|
+
showSheetTabs?: boolean;
|
|
436
|
+
showVerticalScroll?: boolean;
|
|
437
|
+
tabRatio?: number;
|
|
438
|
+
visibility?: "visible" | "hidden" | "veryHidden";
|
|
439
|
+
windowWidth?: number;
|
|
440
|
+
windowHeight?: number;
|
|
441
|
+
xWindow?: number;
|
|
442
|
+
yWindow?: number;
|
|
443
|
+
}
|
|
444
|
+
interface DefinedNameOptions {
|
|
445
|
+
value: string;
|
|
446
|
+
name: string;
|
|
447
|
+
comment?: string;
|
|
448
|
+
customMenu?: string;
|
|
449
|
+
description?: string;
|
|
450
|
+
help?: string;
|
|
451
|
+
statusBar?: string;
|
|
452
|
+
localSheetId?: number;
|
|
453
|
+
hidden?: boolean;
|
|
454
|
+
function?: boolean;
|
|
455
|
+
vbProcedure?: boolean;
|
|
456
|
+
xlm?: boolean;
|
|
457
|
+
functionGroupId?: number;
|
|
458
|
+
shortcutKey?: string;
|
|
459
|
+
publishToServer?: boolean;
|
|
460
|
+
workbookParameter?: boolean;
|
|
461
|
+
}
|
|
462
|
+
interface FileVersionOptions {
|
|
463
|
+
appName?: string;
|
|
464
|
+
lastEdited?: number;
|
|
465
|
+
lowestEdited?: number;
|
|
466
|
+
rupBuild?: number;
|
|
467
|
+
}
|
|
468
|
+
interface RevisionPtrOptions {
|
|
469
|
+
revisionIdLastSave?: number;
|
|
470
|
+
documentId?: string;
|
|
471
|
+
coauthVersionLast?: number;
|
|
472
|
+
coauthVersionMax?: number;
|
|
473
|
+
uidLastSave?: Guid;
|
|
474
|
+
}
|
|
475
|
+
type SmartTagShow = "all" | "none" | "noIndicator";
|
|
476
|
+
interface SmartTagPropertiesOptions {
|
|
477
|
+
embed?: boolean;
|
|
478
|
+
show?: SmartTagShow;
|
|
479
|
+
}
|
|
480
|
+
interface SmartTagTypeOptions {
|
|
481
|
+
namespaceUri?: string;
|
|
482
|
+
name?: string;
|
|
483
|
+
url?: string;
|
|
484
|
+
}
|
|
485
|
+
interface WorkbookDescriptorOptions {
|
|
486
|
+
fileVersion?: FileVersionOptions;
|
|
487
|
+
absPath?: string;
|
|
488
|
+
revisionPtr?: RevisionPtrOptions;
|
|
489
|
+
extensions?: WorkbookExtensionOptions[];
|
|
490
|
+
sheets: SheetDefinition[];
|
|
491
|
+
pivotCaches?: PivotCacheReference[];
|
|
492
|
+
protection?: WorkbookProtectionOptions;
|
|
493
|
+
customViews?: CustomWorkbookViewOptions[];
|
|
494
|
+
smartTagPr?: SmartTagPropertiesOptions;
|
|
495
|
+
smartTagTypes?: SmartTagTypeOptions[];
|
|
496
|
+
fileRecoveryPr?: FileRecoveryPropertiesOptions;
|
|
497
|
+
functionGroups?: string[];
|
|
498
|
+
webPublishing?: WebPublishingOptions;
|
|
499
|
+
fileSharing?: FileSharingOptions;
|
|
500
|
+
workbookPr?: WorkbookPropertiesOptions;
|
|
501
|
+
calcPr?: CalculationPropertiesOptions;
|
|
502
|
+
oleSize?: string;
|
|
503
|
+
bookView?: WorkbookViewOptions;
|
|
504
|
+
webPublishObjects?: WebPublishObjectOptions[];
|
|
505
|
+
definedNames?: DefinedNameOptions[];
|
|
506
|
+
conformance?: WorkbookConformance;
|
|
507
|
+
}
|
|
508
|
+
//#endregion
|
|
509
|
+
//#region src/parts/workbook/descriptor.d.ts
|
|
510
|
+
declare const workbookDesc: CustomDescriptor<WorkbookDescriptorOptions>;
|
|
511
|
+
//#endregion
|
|
512
|
+
//#region src/parts/workbook/stringify.d.ts
|
|
513
|
+
declare function buildTablePartsXml(tableParts: TablePartReference[]): string;
|
|
514
|
+
declare function buildExternalReferencesXml(refs: {
|
|
515
|
+
rId: string;
|
|
516
|
+
}[]): string;
|
|
517
|
+
//#endregion
|
|
518
|
+
//#region src/parts/calc-chain.d.ts
|
|
519
|
+
interface CalcCell {
|
|
520
|
+
reference: string;
|
|
521
|
+
sheetIndex: number;
|
|
522
|
+
array?: boolean;
|
|
523
|
+
childChain?: boolean;
|
|
524
|
+
}
|
|
525
|
+
interface CalcChainOptions {
|
|
526
|
+
cells: CalcCell[];
|
|
527
|
+
}
|
|
528
|
+
declare const calcChainDesc: CustomDescriptor<CalcChainOptions>;
|
|
529
|
+
//#endregion
|
|
530
|
+
//#region src/parts/drawing/types.d.ts
|
|
19
531
|
declare const ANCHOR_TYPES: {
|
|
20
532
|
readonly twoCell: "twoCell";
|
|
21
533
|
readonly oneCell: "oneCell";
|
|
@@ -28,7 +540,7 @@ declare const EDIT_AS_TYPES: {
|
|
|
28
540
|
readonly absolute: "absolute";
|
|
29
541
|
};
|
|
30
542
|
type EditAsType = (typeof EDIT_AS_TYPES)[keyof typeof EDIT_AS_TYPES];
|
|
31
|
-
interface
|
|
543
|
+
interface DrawingAnchorOptions {
|
|
32
544
|
col: number;
|
|
33
545
|
colOffset?: number | UniversalMeasure;
|
|
34
546
|
row: number;
|
|
@@ -37,7 +549,6 @@ interface DrawingImageOptions {
|
|
|
37
549
|
toRow?: number;
|
|
38
550
|
toColOffset?: number | UniversalMeasure;
|
|
39
551
|
toRowOffset?: number | UniversalMeasure;
|
|
40
|
-
rId: string;
|
|
41
552
|
anchorType?: AnchorType;
|
|
42
553
|
editAs?: EditAsType;
|
|
43
554
|
absoluteX?: number | UniversalMeasure;
|
|
@@ -46,117 +557,249 @@ interface DrawingImageOptions {
|
|
|
46
557
|
extentCy?: number | UniversalMeasure;
|
|
47
558
|
locksWithSheet?: boolean;
|
|
48
559
|
printsWithSheet?: boolean;
|
|
560
|
+
zOrder?: number;
|
|
561
|
+
shapeId?: number;
|
|
49
562
|
}
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
563
|
+
declare function pickAnchorOptions<T extends DrawingAnchorOptions>(source: T): DrawingAnchorOptions;
|
|
564
|
+
interface DrawingPictureOptions extends DrawingAnchorOptions, NonVisualDrawingPropertiesOptions$1 {
|
|
565
|
+
rId: string;
|
|
566
|
+
linkRId?: string;
|
|
567
|
+
spPr?: ShapePropertiesOptions;
|
|
568
|
+
hyperlink?: TextHyperlinkOptions;
|
|
569
|
+
sourceRectangle?: SourceRectangleOptions;
|
|
570
|
+
blackWhiteMode?: BlackWhiteMode;
|
|
571
|
+
locking?: PictureLockingOptions;
|
|
572
|
+
preferRelativeResize?: boolean;
|
|
573
|
+
blipEffects?: BlipEffectsOptions;
|
|
574
|
+
useLocalDpi?: boolean;
|
|
575
|
+
blipExt?: string;
|
|
576
|
+
}
|
|
577
|
+
interface DrawingChartOptions extends DrawingAnchorOptions, NonVisualDrawingPropertiesOptions$1 {
|
|
578
|
+
rId: string;
|
|
579
|
+
hyperlink?: TextHyperlinkOptions;
|
|
580
|
+
frameLocks?: GraphicFrameLockingOptions;
|
|
581
|
+
macro?: string;
|
|
582
|
+
}
|
|
583
|
+
interface DrawingSmartArtOptions extends DrawingAnchorOptions, NonVisualDrawingPropertiesOptions$1 {
|
|
584
|
+
dataRId: string;
|
|
585
|
+
layoutRId: string;
|
|
586
|
+
quickStyleRId: string;
|
|
587
|
+
colorsRId: string;
|
|
588
|
+
frameLocks?: GraphicFrameLockingOptions;
|
|
589
|
+
macro?: string;
|
|
590
|
+
}
|
|
591
|
+
interface ShapeOptions extends DrawingAnchorOptions, NonVisualDrawingPropertiesOptions$1 {
|
|
592
|
+
hyperlink?: TextHyperlinkOptions;
|
|
593
|
+
locking?: ShapeLockingOptions;
|
|
594
|
+
spPr: ShapePropertiesOptions;
|
|
595
|
+
textBody?: TextBodyOptions;
|
|
596
|
+
style?: DefaultShapeStyleOptions;
|
|
597
|
+
macro?: string;
|
|
598
|
+
textlink?: string;
|
|
599
|
+
textBox?: boolean;
|
|
600
|
+
}
|
|
601
|
+
interface ConnectorOptions extends DrawingAnchorOptions, BaseConnectorOptions {
|
|
602
|
+
hyperlink?: TextHyperlinkOptions;
|
|
603
|
+
spPr: ShapePropertiesOptions;
|
|
604
|
+
style?: DefaultShapeStyleOptions;
|
|
605
|
+
macro?: string;
|
|
606
|
+
}
|
|
607
|
+
interface GroupShapeChildOptions extends NonVisualDrawingPropertiesOptions$1 {
|
|
608
|
+
hyperlink?: TextHyperlinkOptions;
|
|
609
|
+
spPr: ShapePropertiesOptions;
|
|
610
|
+
textBody?: TextBodyOptions;
|
|
611
|
+
style?: DefaultShapeStyleOptions;
|
|
612
|
+
macro?: string;
|
|
613
|
+
textlink?: string;
|
|
614
|
+
locking?: ShapeLockingOptions;
|
|
615
|
+
textBox?: boolean;
|
|
616
|
+
}
|
|
617
|
+
interface GroupConnectorChildOptions extends BaseConnectorOptions {
|
|
618
|
+
hyperlink?: TextHyperlinkOptions;
|
|
619
|
+
spPr: ShapePropertiesOptions;
|
|
620
|
+
style?: DefaultShapeStyleOptions;
|
|
621
|
+
macro?: string;
|
|
622
|
+
}
|
|
623
|
+
interface GroupOptions extends DrawingAnchorOptions, BaseGroupOptions {
|
|
624
|
+
hyperlink?: TextHyperlinkOptions;
|
|
625
|
+
grpSpPr: GroupTransform2DOptions;
|
|
626
|
+
shapes?: GroupShapeChildOptions[];
|
|
627
|
+
connectors?: GroupConnectorChildOptions[];
|
|
628
|
+
}
|
|
629
|
+
interface DrawingContentPartOptions extends DrawingAnchorOptions {
|
|
55
630
|
rId: string;
|
|
56
|
-
locksWithSheet?: boolean;
|
|
57
|
-
printsWithSheet?: boolean;
|
|
58
631
|
}
|
|
59
632
|
interface DrawingOptions {
|
|
60
|
-
images?:
|
|
633
|
+
images?: DrawingPictureOptions[];
|
|
61
634
|
charts?: DrawingChartOptions[];
|
|
635
|
+
smartArts?: DrawingSmartArtOptions[];
|
|
636
|
+
shapes?: ShapeOptions[];
|
|
637
|
+
connectors?: ConnectorOptions[];
|
|
638
|
+
groups?: GroupOptions[];
|
|
639
|
+
contentParts?: DrawingContentPartOptions[];
|
|
62
640
|
}
|
|
641
|
+
//#endregion
|
|
642
|
+
//#region src/parts/drawing/descriptor.d.ts
|
|
63
643
|
declare const drawingDesc: CustomDescriptor<DrawingOptions>;
|
|
64
644
|
//#endregion
|
|
65
|
-
//#region src/parts/pivot-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
showPropCell?: boolean;
|
|
84
|
-
showPropTip?: boolean;
|
|
85
|
-
showPropAsCaption?: boolean;
|
|
86
|
-
compact?: boolean;
|
|
87
|
-
outline?: boolean;
|
|
88
|
-
subtotalTop?: boolean;
|
|
89
|
-
includeNewItemsInFilter?: boolean;
|
|
90
|
-
}
|
|
91
|
-
interface DataFieldParseResult {
|
|
645
|
+
//#region src/parts/pivot/pivot-utils.d.ts
|
|
646
|
+
declare const ConsolidateFunction: {
|
|
647
|
+
readonly SUM: "sum";
|
|
648
|
+
readonly COUNT: "count";
|
|
649
|
+
readonly AVERAGE: "average";
|
|
650
|
+
readonly MAX: "max";
|
|
651
|
+
readonly MIN: "min";
|
|
652
|
+
readonly PRODUCT: "product";
|
|
653
|
+
readonly COUNT_NUMS: "countNumbers";
|
|
654
|
+
readonly STD_DEV: "standardDeviation";
|
|
655
|
+
readonly STD_DEV_P: "standardDeviationPopulation";
|
|
656
|
+
readonly VAR: "variance";
|
|
657
|
+
readonly VAR_P: "variancePopulation";
|
|
658
|
+
};
|
|
659
|
+
type ConsolidateFunction = (typeof ConsolidateFunction)[keyof typeof ConsolidateFunction];
|
|
660
|
+
interface PivotDataField {
|
|
661
|
+
field: string;
|
|
662
|
+
summarize?: ConsolidateFunction;
|
|
92
663
|
name?: string;
|
|
93
|
-
|
|
94
|
-
subtotal?: string;
|
|
95
|
-
showDataAs?: string;
|
|
664
|
+
showDataAs?: "normal" | "difference" | "percent" | "percentDiff" | "runTotal" | "percentOfRow" | "percentOfCol" | "percentOfTotal" | "index";
|
|
96
665
|
baseField?: number;
|
|
97
666
|
baseItem?: number;
|
|
98
|
-
|
|
99
|
-
}
|
|
100
|
-
interface PageFieldParseResult {
|
|
101
|
-
fld?: number;
|
|
102
|
-
hier?: number;
|
|
103
|
-
cap?: string;
|
|
104
|
-
}
|
|
105
|
-
interface PivotFormatParseResult {
|
|
106
|
-
action?: string;
|
|
107
|
-
dxfId?: number;
|
|
108
|
-
pivotArea?: Partial<PivotAreaOptions>;
|
|
109
|
-
}
|
|
110
|
-
interface ChartFormatParseResult {
|
|
111
|
-
chart?: number;
|
|
112
|
-
format?: number;
|
|
113
|
-
series?: boolean;
|
|
114
|
-
pivotArea?: Partial<PivotAreaOptions>;
|
|
667
|
+
sortByTupleItems?: number[];
|
|
115
668
|
}
|
|
116
|
-
interface
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
669
|
+
interface PivotFieldOverrideOptions {
|
|
670
|
+
field: string;
|
|
671
|
+
allDrilled?: boolean;
|
|
672
|
+
autoShow?: boolean;
|
|
673
|
+
countSubtotal?: boolean;
|
|
674
|
+
avgSubtotal?: boolean;
|
|
675
|
+
countASubtotal?: boolean;
|
|
676
|
+
maxSubtotal?: boolean;
|
|
677
|
+
minSubtotal?: boolean;
|
|
678
|
+
sumSubtotal?: boolean;
|
|
679
|
+
dataSourceSort?: boolean;
|
|
680
|
+
defaultAttributeDrillState?: boolean;
|
|
681
|
+
hiddenLevel?: boolean;
|
|
682
|
+
hideNewItems?: boolean;
|
|
683
|
+
insertBlankRow?: boolean;
|
|
684
|
+
insertPageBreak?: boolean;
|
|
685
|
+
itemPageCount?: boolean;
|
|
686
|
+
measureFilter?: boolean;
|
|
687
|
+
nonAutoSortDefault?: boolean;
|
|
688
|
+
productSubtotal?: boolean;
|
|
689
|
+
rankBy?: number;
|
|
690
|
+
serverField?: boolean;
|
|
691
|
+
showDropDowns?: boolean;
|
|
692
|
+
showPropAsCaption?: boolean;
|
|
693
|
+
showPropCell?: boolean;
|
|
694
|
+
showPropTip?: boolean;
|
|
695
|
+
stdDevPSubtotal?: boolean;
|
|
696
|
+
stdDevSubtotal?: boolean;
|
|
697
|
+
subtotalCaption?: string;
|
|
698
|
+
topAutoShow?: boolean;
|
|
699
|
+
uniqueMemberProperty?: boolean;
|
|
700
|
+
varPSubtotal?: boolean;
|
|
701
|
+
varSubtotal?: boolean;
|
|
702
|
+
defaultItemSd?: boolean;
|
|
128
703
|
}
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
704
|
+
declare const PivotFilterType: {
|
|
705
|
+
readonly UNKNOWN: "unknown";
|
|
706
|
+
readonly COUNT: "count";
|
|
707
|
+
readonly PERCENT: "percent";
|
|
708
|
+
readonly SUM: "sum";
|
|
709
|
+
readonly CAPTION_EQUAL: "captionEqual";
|
|
710
|
+
readonly CAPTION_NOT_EQUAL: "captionNotEqual";
|
|
711
|
+
readonly CAPTION_BEGINS_WITH: "captionBeginsWith";
|
|
712
|
+
readonly CAPTION_NOT_BEGINS_WITH: "captionNotBeginsWith";
|
|
713
|
+
readonly CAPTION_ENDS_WITH: "captionEndsWith";
|
|
714
|
+
readonly CAPTION_NOT_ENDS_WITH: "captionNotEndsWith";
|
|
715
|
+
readonly CAPTION_CONTAINS: "captionContains";
|
|
716
|
+
readonly CAPTION_NOT_CONTAINS: "captionNotContains";
|
|
717
|
+
readonly CAPTION_GREATER_THAN: "captionGreaterThan";
|
|
718
|
+
readonly CAPTION_GREATER_THAN_OR_EQUAL: "captionGreaterThanOrEqual";
|
|
719
|
+
readonly CAPTION_LESS_THAN: "captionLessThan";
|
|
720
|
+
readonly CAPTION_LESS_THAN_OR_EQUAL: "captionLessThanOrEqual";
|
|
721
|
+
readonly CAPTION_BETWEEN: "captionBetween";
|
|
722
|
+
readonly CAPTION_NOT_BETWEEN: "captionNotBetween";
|
|
723
|
+
readonly VALUE_EQUAL: "valueEqual";
|
|
724
|
+
readonly VALUE_NOT_EQUAL: "valueNotEqual";
|
|
725
|
+
readonly VALUE_GREATER_THAN: "valueGreaterThan";
|
|
726
|
+
readonly VALUE_GREATER_THAN_OR_EQUAL: "valueGreaterThanOrEqual";
|
|
727
|
+
readonly VALUE_LESS_THAN: "valueLessThan";
|
|
728
|
+
readonly VALUE_LESS_THAN_OR_EQUAL: "valueLessThanOrEqual";
|
|
729
|
+
readonly VALUE_BETWEEN: "valueBetween";
|
|
730
|
+
readonly VALUE_NOT_BETWEEN: "valueNotBetween";
|
|
731
|
+
readonly DATE_EQUAL: "dateEqual";
|
|
732
|
+
readonly DATE_NOT_EQUAL: "dateNotEqual";
|
|
733
|
+
readonly DATE_OLDER_THAN: "dateOlderThan";
|
|
734
|
+
readonly DATE_OLDER_THAN_OR_EQUAL: "dateOlderThanOrEqual";
|
|
735
|
+
readonly DATE_NEWER_THAN: "dateNewerThan";
|
|
736
|
+
readonly DATE_NEWER_THAN_OR_EQUAL: "dateNewerThanOrEqual";
|
|
737
|
+
readonly DATE_BETWEEN: "dateBetween";
|
|
738
|
+
readonly DATE_NOT_BETWEEN: "dateNotBetween";
|
|
739
|
+
readonly TOMORROW: "tomorrow";
|
|
740
|
+
readonly TODAY: "today";
|
|
741
|
+
readonly YESTERDAY: "yesterday";
|
|
742
|
+
readonly NEXT_WEEK: "nextWeek";
|
|
743
|
+
readonly THIS_WEEK: "thisWeek";
|
|
744
|
+
readonly LAST_WEEK: "lastWeek";
|
|
745
|
+
readonly NEXT_MONTH: "nextMonth";
|
|
746
|
+
readonly THIS_MONTH: "thisMonth";
|
|
747
|
+
readonly LAST_MONTH: "lastMonth";
|
|
748
|
+
readonly NEXT_QUARTER: "nextQuarter";
|
|
749
|
+
readonly THIS_QUARTER: "thisQuarter";
|
|
750
|
+
readonly LAST_QUARTER: "lastQuarter";
|
|
751
|
+
readonly NEXT_YEAR: "nextYear";
|
|
752
|
+
readonly THIS_YEAR: "thisYear";
|
|
753
|
+
readonly LAST_YEAR: "lastYear";
|
|
754
|
+
readonly YEAR_TO_DATE: "yearToDate";
|
|
755
|
+
readonly Q1: "Q1";
|
|
756
|
+
readonly Q2: "Q2";
|
|
757
|
+
readonly Q3: "Q3";
|
|
758
|
+
readonly Q4: "Q4";
|
|
759
|
+
readonly M1: "M1";
|
|
760
|
+
readonly M2: "M2";
|
|
761
|
+
readonly M3: "M3";
|
|
762
|
+
readonly M4: "M4";
|
|
763
|
+
readonly M5: "M5";
|
|
764
|
+
readonly M6: "M6";
|
|
765
|
+
readonly M7: "M7";
|
|
766
|
+
readonly M8: "M8";
|
|
767
|
+
readonly M9: "M9";
|
|
768
|
+
readonly M10: "M10";
|
|
769
|
+
readonly M11: "M11";
|
|
770
|
+
readonly M12: "M12";
|
|
771
|
+
};
|
|
772
|
+
type PivotFilterType = (typeof PivotFilterType)[keyof typeof PivotFilterType];
|
|
773
|
+
interface PivotFilterOptions {
|
|
774
|
+
fld: number;
|
|
775
|
+
type: PivotFilterType;
|
|
132
776
|
id?: number;
|
|
133
777
|
mpFld?: number;
|
|
134
778
|
evalOrder?: number;
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
hierarchyUsage: number;
|
|
138
|
-
}
|
|
139
|
-
interface CalculatedItemParseResult {
|
|
140
|
-
field?: number;
|
|
141
|
-
formula?: string;
|
|
142
|
-
pivotArea?: Partial<PivotAreaOptions>;
|
|
143
|
-
}
|
|
144
|
-
interface CalculatedMemberParseResult {
|
|
779
|
+
iMeasureHier?: number;
|
|
780
|
+
iMeasureFld?: number;
|
|
145
781
|
name?: string;
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
parent?: string;
|
|
150
|
-
solveOrder?: number;
|
|
151
|
-
set?: boolean;
|
|
782
|
+
description?: string;
|
|
783
|
+
stringValue1?: string;
|
|
784
|
+
stringValue2?: string;
|
|
152
785
|
}
|
|
153
|
-
interface
|
|
786
|
+
interface PivotPageFieldOptions {
|
|
787
|
+
field: string;
|
|
788
|
+
caption?: string;
|
|
789
|
+
item?: number;
|
|
790
|
+
}
|
|
791
|
+
interface PivotTableOptions {
|
|
154
792
|
name?: string;
|
|
155
|
-
|
|
793
|
+
source: string;
|
|
794
|
+
sourceSheet?: string;
|
|
795
|
+
location?: string;
|
|
796
|
+
rows: string[];
|
|
797
|
+
columns?: string[];
|
|
798
|
+
data: PivotDataField[];
|
|
799
|
+
style?: string;
|
|
800
|
+
filters?: PivotFilterOptions[];
|
|
801
|
+
pages?: PivotPageFieldOptions[];
|
|
156
802
|
dataOnRows?: boolean;
|
|
157
|
-
showHeaders?: boolean;
|
|
158
|
-
showEmptyRow?: boolean;
|
|
159
|
-
showEmptyCol?: boolean;
|
|
160
803
|
grandTotalCaption?: string;
|
|
161
804
|
errorCaption?: string;
|
|
162
805
|
showError?: boolean;
|
|
@@ -185,6 +828,9 @@ interface PivotTableParseResult {
|
|
|
185
828
|
fieldPrintTitles?: boolean;
|
|
186
829
|
mergeItem?: boolean;
|
|
187
830
|
showDropZones?: boolean;
|
|
831
|
+
showEmptyRow?: boolean;
|
|
832
|
+
showEmptyCol?: boolean;
|
|
833
|
+
showHeaders?: boolean;
|
|
188
834
|
published?: boolean;
|
|
189
835
|
gridDropZones?: boolean;
|
|
190
836
|
multipleFieldFilters?: boolean;
|
|
@@ -197,54 +843,322 @@ interface PivotTableParseResult {
|
|
|
197
843
|
dataPosition?: number;
|
|
198
844
|
immersive?: boolean;
|
|
199
845
|
vacatedStyle?: string;
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
846
|
+
calculatedItems?: CalculatedItemOptions[];
|
|
847
|
+
calculatedMembers?: CalculatedMemberOptions[];
|
|
848
|
+
pivotHierarchies?: PivotHierarchyOptions[];
|
|
849
|
+
pivotConditionalFormats?: PivotConditionalFormatOptions[];
|
|
850
|
+
chartFormats?: ChartFormatOptions[];
|
|
851
|
+
chartFormat?: boolean;
|
|
852
|
+
preserveFormatting?: boolean;
|
|
853
|
+
autoSortScope?: PivotAreaOptions;
|
|
854
|
+
memberProperties?: MemberPropertyOptions[];
|
|
855
|
+
formats?: PivotFormatOptions[];
|
|
856
|
+
rowHierarchiesUsage?: HierarchyUsageOptions[];
|
|
857
|
+
colHierarchiesUsage?: HierarchyUsageOptions[];
|
|
203
858
|
locationColPageCount?: number;
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
rowFields?: number[];
|
|
207
|
-
colFields?: number[];
|
|
208
|
-
pageFields?: PageFieldParseResult[];
|
|
209
|
-
formats?: PivotFormatParseResult[];
|
|
210
|
-
chartFormats?: ChartFormatParseResult[];
|
|
211
|
-
pivotHierarchies?: PivotHierarchyParseResult[];
|
|
212
|
-
filters?: PivotFilterParseResult[];
|
|
213
|
-
rowHierarchiesUsage?: HierarchyUsageParseResult[];
|
|
214
|
-
colHierarchiesUsage?: HierarchyUsageParseResult[];
|
|
215
|
-
calculatedItems?: CalculatedItemParseResult[];
|
|
216
|
-
calculatedMembers?: CalculatedMemberParseResult[];
|
|
217
|
-
style?: string;
|
|
859
|
+
locationRowPageCount?: number;
|
|
860
|
+
fieldOverrides?: PivotFieldOverrideOptions[];
|
|
218
861
|
}
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
left?: number | UniversalMeasure;
|
|
224
|
-
right?: number | UniversalMeasure;
|
|
225
|
-
top?: number | UniversalMeasure;
|
|
226
|
-
bottom?: number | UniversalMeasure;
|
|
227
|
-
header?: number | UniversalMeasure;
|
|
228
|
-
footer?: number | UniversalMeasure;
|
|
862
|
+
interface PivotFormatOptions {
|
|
863
|
+
action?: "formatting" | "drill" | "formula" | "blank" | "subtotal" | "report";
|
|
864
|
+
dxfId?: number;
|
|
865
|
+
pivotArea: PivotAreaOptions;
|
|
229
866
|
}
|
|
230
|
-
interface
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
verticalDpi?: number;
|
|
235
|
-
copies?: number;
|
|
867
|
+
interface CalculatedItemOptions {
|
|
868
|
+
field?: number;
|
|
869
|
+
formula?: string;
|
|
870
|
+
pivotArea?: PivotAreaOptions;
|
|
236
871
|
}
|
|
237
|
-
interface
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
872
|
+
interface CalculatedMemberOptions {
|
|
873
|
+
name: string;
|
|
874
|
+
mdx: string;
|
|
875
|
+
memberName?: string;
|
|
876
|
+
hierarchy?: string;
|
|
877
|
+
parent?: string;
|
|
878
|
+
solveOrder?: number;
|
|
879
|
+
set?: boolean;
|
|
241
880
|
}
|
|
242
|
-
interface
|
|
881
|
+
interface PivotHierarchyOptions {
|
|
882
|
+
outline?: boolean;
|
|
883
|
+
multipleItemSelectionAllowed?: boolean;
|
|
884
|
+
subtotalTop?: boolean;
|
|
885
|
+
showInFieldList?: boolean;
|
|
886
|
+
dragToRow?: boolean;
|
|
887
|
+
dragToCol?: boolean;
|
|
888
|
+
dragToPage?: boolean;
|
|
889
|
+
dragToData?: boolean;
|
|
890
|
+
dragOff?: boolean;
|
|
891
|
+
includeNewItemsInFilter?: boolean;
|
|
892
|
+
caption?: string;
|
|
893
|
+
members?: MemberOptions[];
|
|
894
|
+
memberProperties?: MemberPropertyOptions[];
|
|
895
|
+
}
|
|
896
|
+
interface MemberOptions {
|
|
897
|
+
name: string;
|
|
898
|
+
level?: number;
|
|
899
|
+
}
|
|
900
|
+
interface MemberPropertyOptions {
|
|
901
|
+
field: number;
|
|
243
902
|
name?: string;
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
903
|
+
showCell?: boolean;
|
|
904
|
+
showTip?: boolean;
|
|
905
|
+
showAsCaption?: boolean;
|
|
906
|
+
nameLen?: number;
|
|
907
|
+
pPos?: number;
|
|
908
|
+
pLen?: number;
|
|
909
|
+
}
|
|
910
|
+
interface PivotAreaOptions {
|
|
911
|
+
field?: number;
|
|
912
|
+
type?: "none" | "normal" | "data" | "all" | "origin" | "button" | "topEnd" | "topRight";
|
|
913
|
+
dataOnly?: boolean;
|
|
914
|
+
labelOnly?: boolean;
|
|
915
|
+
grandRow?: boolean;
|
|
916
|
+
grandCol?: boolean;
|
|
917
|
+
cacheIndex?: boolean;
|
|
918
|
+
outline?: boolean;
|
|
919
|
+
offset?: string;
|
|
920
|
+
collapsedLevelsAreSubtotals?: boolean;
|
|
921
|
+
axis?: "axisRow" | "axisCol" | "axisPage" | "axisValues";
|
|
922
|
+
fieldPosition?: number;
|
|
923
|
+
references?: PivotAreaReferenceOptions[];
|
|
924
|
+
}
|
|
925
|
+
interface PivotAreaReferenceOptions {
|
|
926
|
+
field?: number;
|
|
927
|
+
count?: number;
|
|
928
|
+
selected?: boolean;
|
|
929
|
+
byPosition?: boolean;
|
|
930
|
+
relative?: boolean;
|
|
931
|
+
defaultSubtotal?: boolean;
|
|
932
|
+
sumSubtotal?: boolean;
|
|
933
|
+
countASubtotal?: boolean;
|
|
934
|
+
avgSubtotal?: boolean;
|
|
935
|
+
maxSubtotal?: boolean;
|
|
936
|
+
minSubtotal?: boolean;
|
|
937
|
+
countSubtotal?: boolean;
|
|
938
|
+
productSubtotal?: boolean;
|
|
939
|
+
stdDevPSubtotal?: boolean;
|
|
940
|
+
stdDevSubtotal?: boolean;
|
|
941
|
+
varPSubtotal?: boolean;
|
|
942
|
+
varSubtotal?: boolean;
|
|
943
|
+
x?: number[];
|
|
944
|
+
}
|
|
945
|
+
interface PivotConditionalFormatOptions {
|
|
946
|
+
scope?: "selection" | "data" | "field";
|
|
947
|
+
type?: "none" | "all" | "row" | "column";
|
|
948
|
+
priority: number;
|
|
949
|
+
pivotAreas?: PivotAreaOptions[];
|
|
950
|
+
}
|
|
951
|
+
interface ChartFormatOptions {
|
|
952
|
+
chart: number;
|
|
953
|
+
format: number;
|
|
954
|
+
series?: boolean;
|
|
955
|
+
pivotArea?: PivotAreaOptions;
|
|
956
|
+
}
|
|
957
|
+
interface CacheHierarchyOptions {
|
|
958
|
+
uniqueName: string;
|
|
959
|
+
caption?: string;
|
|
960
|
+
measure?: boolean;
|
|
961
|
+
set?: boolean;
|
|
962
|
+
parentSet?: number;
|
|
963
|
+
iconSet?: number;
|
|
964
|
+
attribute?: boolean;
|
|
965
|
+
time?: boolean;
|
|
966
|
+
keyAttribute?: boolean;
|
|
967
|
+
defaultMemberUniqueName?: string;
|
|
968
|
+
allUniqueName?: string;
|
|
969
|
+
allCaption?: string;
|
|
970
|
+
dimensionUniqueName?: string;
|
|
971
|
+
displayFolder?: string;
|
|
972
|
+
measureGroup?: string;
|
|
973
|
+
measures?: boolean;
|
|
974
|
+
count: number;
|
|
975
|
+
oneField?: boolean;
|
|
976
|
+
hidden?: boolean;
|
|
977
|
+
memberValueDatatype?: "string" | "number" | "integer" | "boolean" | "error";
|
|
978
|
+
unbalanced?: boolean;
|
|
979
|
+
unbalancedGroup?: boolean;
|
|
980
|
+
groupLevels?: GroupLevelOptions[];
|
|
981
|
+
fieldsUsage?: FieldUsageOptions[];
|
|
982
|
+
}
|
|
983
|
+
interface KpiOptions {
|
|
984
|
+
uniqueName: string;
|
|
985
|
+
caption?: string;
|
|
986
|
+
displayFolder?: string;
|
|
987
|
+
measureGroup?: string;
|
|
988
|
+
parent?: string;
|
|
989
|
+
value: string;
|
|
990
|
+
goal?: string;
|
|
991
|
+
status?: string;
|
|
992
|
+
trend?: string;
|
|
993
|
+
weight?: string;
|
|
994
|
+
time?: string;
|
|
995
|
+
}
|
|
996
|
+
interface MeasureGroupOptions {
|
|
997
|
+
name: string;
|
|
998
|
+
caption: string;
|
|
999
|
+
}
|
|
1000
|
+
interface SetOptions {
|
|
1001
|
+
count?: number;
|
|
1002
|
+
maxRank: number;
|
|
1003
|
+
setDefinition: string;
|
|
1004
|
+
sortType?: "none" | "ascending" | "descending" | "ascendingAlpha" | "descendingAlpha" | "ascendingNatural" | "descendingNatural";
|
|
1005
|
+
queryFailed?: boolean;
|
|
1006
|
+
tpls?: TupleOptions[];
|
|
1007
|
+
sortByTuple?: TupleOptions[];
|
|
1008
|
+
}
|
|
1009
|
+
interface ServerFormatOptions {
|
|
1010
|
+
culture?: string;
|
|
1011
|
+
format?: string;
|
|
1012
|
+
}
|
|
1013
|
+
interface FieldGroupOptions {
|
|
1014
|
+
parent?: number;
|
|
1015
|
+
base?: number;
|
|
1016
|
+
rangePr?: RangePropertiesOptions;
|
|
1017
|
+
discretePr?: number[];
|
|
1018
|
+
groupItems?: string[];
|
|
1019
|
+
}
|
|
1020
|
+
interface RangePropertiesOptions {
|
|
1021
|
+
autoStart?: boolean;
|
|
1022
|
+
autoEnd?: boolean;
|
|
1023
|
+
groupBy?: "range" | "seconds" | "minutes" | "hours" | "days" | "months" | "quarters" | "years";
|
|
1024
|
+
startNum?: number;
|
|
1025
|
+
endNum?: number;
|
|
1026
|
+
startDate?: string;
|
|
1027
|
+
endDate?: string;
|
|
1028
|
+
groupInterval?: number;
|
|
1029
|
+
}
|
|
1030
|
+
interface PivotDimensionOptions {
|
|
1031
|
+
measure?: boolean;
|
|
1032
|
+
name: string;
|
|
1033
|
+
uniqueName: string;
|
|
1034
|
+
caption: string;
|
|
1035
|
+
}
|
|
1036
|
+
interface RangeSetOptions {
|
|
1037
|
+
pageFieldIndex1?: number;
|
|
1038
|
+
pageFieldIndex2?: number;
|
|
1039
|
+
pageFieldIndex3?: number;
|
|
1040
|
+
pageFieldIndex4?: number;
|
|
1041
|
+
ref?: string;
|
|
1042
|
+
name?: string;
|
|
1043
|
+
sheet?: string;
|
|
1044
|
+
rId?: string;
|
|
1045
|
+
}
|
|
1046
|
+
interface ConsolidationPageItemOptions {
|
|
1047
|
+
name: string;
|
|
1048
|
+
}
|
|
1049
|
+
interface ConsolidationPageOptions {
|
|
1050
|
+
items?: ConsolidationPageItemOptions[];
|
|
1051
|
+
}
|
|
1052
|
+
interface ConsolidationOptions {
|
|
1053
|
+
autoPage?: boolean;
|
|
1054
|
+
pages?: ConsolidationPageOptions[];
|
|
1055
|
+
rangeSets: RangeSetOptions[];
|
|
1056
|
+
}
|
|
1057
|
+
interface TupleCacheEntryOptions {
|
|
1058
|
+
type: "m" | "n" | "e" | "s";
|
|
1059
|
+
value?: number | string;
|
|
1060
|
+
captionIndex?: number;
|
|
1061
|
+
propertyIndex?: number;
|
|
1062
|
+
underline?: boolean;
|
|
1063
|
+
}
|
|
1064
|
+
interface GroupMemberOptions {
|
|
1065
|
+
uniqueName: string;
|
|
1066
|
+
group?: boolean;
|
|
1067
|
+
}
|
|
1068
|
+
interface LevelGroupOptions {
|
|
1069
|
+
name: string;
|
|
1070
|
+
uniqueName: string;
|
|
1071
|
+
caption: string;
|
|
1072
|
+
uniqueParent?: string;
|
|
1073
|
+
id?: number;
|
|
1074
|
+
members: GroupMemberOptions[];
|
|
1075
|
+
}
|
|
1076
|
+
interface GroupLevelOptions {
|
|
1077
|
+
uniqueName: string;
|
|
1078
|
+
caption: string;
|
|
1079
|
+
user?: boolean;
|
|
1080
|
+
customRollUp?: boolean;
|
|
1081
|
+
groups?: LevelGroupOptions[];
|
|
1082
|
+
}
|
|
1083
|
+
interface FieldUsageOptions {
|
|
1084
|
+
value: number;
|
|
1085
|
+
}
|
|
1086
|
+
interface HierarchyUsageOptions {
|
|
1087
|
+
hierarchyUsage: number;
|
|
1088
|
+
}
|
|
1089
|
+
interface QueryCacheEntryOptions {
|
|
1090
|
+
mdx: string;
|
|
1091
|
+
tpls?: TupleOptions[];
|
|
1092
|
+
}
|
|
1093
|
+
interface TupleOptions {
|
|
1094
|
+
items?: number[];
|
|
1095
|
+
}
|
|
1096
|
+
interface MpMapOptions {
|
|
1097
|
+
x: number;
|
|
1098
|
+
}
|
|
1099
|
+
interface MeasureDimensionMapOptions {
|
|
1100
|
+
measureGroup?: number;
|
|
1101
|
+
dimension?: number;
|
|
1102
|
+
}
|
|
1103
|
+
interface OLAPPropertiesOptions {
|
|
1104
|
+
local?: boolean;
|
|
1105
|
+
localConnection?: string;
|
|
1106
|
+
sendLocale?: boolean;
|
|
1107
|
+
rowDrillCount?: number;
|
|
1108
|
+
localRefresh?: boolean;
|
|
1109
|
+
serverFill?: boolean;
|
|
1110
|
+
serverNumberFormat?: boolean;
|
|
1111
|
+
serverFont?: boolean;
|
|
1112
|
+
serverFontColor?: boolean;
|
|
1113
|
+
}
|
|
1114
|
+
interface PivotSourceData {
|
|
1115
|
+
fieldNames: string[];
|
|
1116
|
+
records: (string | number | null | Date)[][];
|
|
1117
|
+
}
|
|
1118
|
+
interface CacheFieldExtraAttrs {
|
|
1119
|
+
databaseField?: boolean;
|
|
1120
|
+
level?: number;
|
|
1121
|
+
mappingCount?: number;
|
|
1122
|
+
memberPropertyField?: number;
|
|
1123
|
+
propertyName?: string;
|
|
1124
|
+
serverField?: boolean;
|
|
1125
|
+
uniqueList?: boolean;
|
|
1126
|
+
sqlType?: number;
|
|
1127
|
+
containsMixedTypes?: boolean;
|
|
1128
|
+
containsNonDate?: boolean;
|
|
1129
|
+
longText?: boolean;
|
|
1130
|
+
maxDate?: string;
|
|
1131
|
+
minDate?: string;
|
|
1132
|
+
}
|
|
1133
|
+
interface PivotCacheDefinitionOptions {
|
|
1134
|
+
invalid?: boolean;
|
|
1135
|
+
saveData?: boolean;
|
|
1136
|
+
optimizeMemory?: boolean;
|
|
1137
|
+
enableRefresh?: boolean;
|
|
1138
|
+
refreshedBy?: string;
|
|
1139
|
+
refreshedDate?: number;
|
|
1140
|
+
refreshedDateIso?: string;
|
|
1141
|
+
backgroundQuery?: boolean;
|
|
1142
|
+
missingItemsLimit?: number;
|
|
1143
|
+
upgradeOnRefresh?: boolean;
|
|
1144
|
+
supportSubquery?: boolean;
|
|
1145
|
+
supportAdvancedDrill?: boolean;
|
|
1146
|
+
refreshOnLoad?: boolean;
|
|
1147
|
+
tupleCache?: boolean;
|
|
1148
|
+
cacheHierarchies?: CacheHierarchyOptions[];
|
|
1149
|
+
kpis?: KpiOptions[];
|
|
1150
|
+
measureGroups?: MeasureGroupOptions[];
|
|
1151
|
+
dimensions?: PivotDimensionOptions[];
|
|
1152
|
+
sets?: SetOptions[];
|
|
1153
|
+
serverFormats?: ServerFormatOptions[];
|
|
1154
|
+
fieldGroups?: ReadonlyMap<number, FieldGroupOptions>;
|
|
1155
|
+
consolidation?: ConsolidationOptions;
|
|
1156
|
+
entries?: TupleCacheEntryOptions[];
|
|
1157
|
+
queryCache?: QueryCacheEntryOptions[];
|
|
1158
|
+
mpMaps?: MpMapOptions[];
|
|
1159
|
+
measureDimensionMaps?: MeasureDimensionMapOptions[];
|
|
1160
|
+
cacheFieldOverrides?: ReadonlyMap<number, CacheFieldExtraAttrs>;
|
|
1161
|
+
olapPr?: OLAPPropertiesOptions;
|
|
248
1162
|
}
|
|
249
1163
|
//#endregion
|
|
250
1164
|
//#region src/parts/query-table.d.ts
|
|
@@ -254,212 +1168,152 @@ interface QueryTableDeletedFieldOptions {
|
|
|
254
1168
|
interface QueryTableFieldOptions {
|
|
255
1169
|
id: number;
|
|
256
1170
|
name?: string;
|
|
257
|
-
tableColumnId?: number;
|
|
258
|
-
row?: number;
|
|
259
|
-
fillFormatting?: boolean;
|
|
260
|
-
textFormatting?: boolean;
|
|
261
|
-
numberFormatting?: boolean;
|
|
262
|
-
borderFormatting?: boolean;
|
|
263
|
-
width?: number;
|
|
264
|
-
clipped?: boolean;
|
|
265
1171
|
dataBound?: boolean;
|
|
1172
|
+
rowNumbers?: boolean;
|
|
1173
|
+
fillFormulas?: boolean;
|
|
1174
|
+
clipped?: boolean;
|
|
1175
|
+
tableColumnId?: number;
|
|
266
1176
|
}
|
|
267
1177
|
interface QueryTableRefreshOptions {
|
|
268
|
-
|
|
269
|
-
minimumVersion?: number;
|
|
270
|
-
preserveFormatting?: boolean;
|
|
271
|
-
adjustColumnWidth?: boolean;
|
|
272
|
-
refreshOnLoad?: boolean;
|
|
273
|
-
backgroundRefresh?: boolean;
|
|
274
|
-
deletedFields?: QueryTableDeletedFieldOptions[];
|
|
275
|
-
queryTableFields?: QueryTableFieldOptions[];
|
|
276
|
-
rowCount?: number;
|
|
1178
|
+
preserveSortFilterLayout?: boolean;
|
|
277
1179
|
fieldIdWrapped?: boolean;
|
|
278
1180
|
headersInLastRefresh?: boolean;
|
|
279
|
-
|
|
1181
|
+
minimumVersion?: number;
|
|
1182
|
+
nextId?: number;
|
|
280
1183
|
unboundColumnsLeft?: number;
|
|
281
1184
|
unboundColumnsRight?: number;
|
|
1185
|
+
queryTableFields?: QueryTableFieldOptions[];
|
|
1186
|
+
deletedFields?: QueryTableDeletedFieldOptions[];
|
|
282
1187
|
}
|
|
283
1188
|
interface QueryTableOptions {
|
|
284
1189
|
name?: string;
|
|
285
|
-
|
|
286
|
-
autoFormat?: boolean;
|
|
287
|
-
preserveFormatting?: boolean;
|
|
288
|
-
adjustColumnWidth?: boolean;
|
|
289
|
-
refreshOnLoad?: boolean;
|
|
290
|
-
backgroundRefresh?: boolean;
|
|
1190
|
+
headers?: boolean;
|
|
291
1191
|
rowNumbers?: boolean;
|
|
292
1192
|
disableRefresh?: boolean;
|
|
1193
|
+
backgroundRefresh?: boolean;
|
|
293
1194
|
firstBackgroundRefresh?: boolean;
|
|
294
|
-
|
|
1195
|
+
refreshOnLoad?: boolean;
|
|
1196
|
+
growShrinkType?: "insertDelete" | "insertWhole" | "overwriteWhole";
|
|
295
1197
|
fillFormulas?: boolean;
|
|
296
1198
|
removeDataOnSave?: boolean;
|
|
297
1199
|
disableEdit?: boolean;
|
|
1200
|
+
preserveFormatting?: boolean;
|
|
1201
|
+
adjustColumnWidth?: boolean;
|
|
1202
|
+
connectionId: number;
|
|
1203
|
+
autoFormat?: boolean;
|
|
298
1204
|
intermediate?: boolean;
|
|
299
1205
|
queryTableRefresh?: QueryTableRefreshOptions;
|
|
300
1206
|
}
|
|
1207
|
+
declare const queryTableDesc: CustomDescriptor<QueryTableOptions>;
|
|
301
1208
|
//#endregion
|
|
302
|
-
//#region src/parts/
|
|
303
|
-
|
|
304
|
-
name: string;
|
|
305
|
-
minVersion?: number;
|
|
306
|
-
minSupportedVersion?: number;
|
|
307
|
-
ghostRow?: boolean;
|
|
308
|
-
ghostCol?: boolean;
|
|
309
|
-
edit?: boolean;
|
|
310
|
-
delete?: boolean;
|
|
311
|
-
copy?: boolean;
|
|
312
|
-
paste?: boolean;
|
|
313
|
-
pasteAll?: boolean;
|
|
314
|
-
pasteFormulas?: boolean;
|
|
315
|
-
pasteValues?: boolean;
|
|
316
|
-
pasteFormats?: boolean;
|
|
317
|
-
pasteComments?: boolean;
|
|
318
|
-
pasteDataValidation?: boolean;
|
|
319
|
-
pasteBorders?: boolean;
|
|
320
|
-
pasteColWidths?: boolean;
|
|
321
|
-
pasteNumberFormats?: boolean;
|
|
322
|
-
merge?: boolean;
|
|
323
|
-
splitFirst?: boolean;
|
|
324
|
-
splitAll?: boolean;
|
|
325
|
-
rowColShift?: boolean;
|
|
326
|
-
clearAll?: boolean;
|
|
327
|
-
clearFormats?: boolean;
|
|
328
|
-
clearContents?: boolean;
|
|
329
|
-
clearComments?: boolean;
|
|
330
|
-
assign?: boolean;
|
|
331
|
-
coerce?: boolean;
|
|
332
|
-
adjust?: boolean;
|
|
333
|
-
cellMeta?: boolean;
|
|
334
|
-
}
|
|
335
|
-
interface MetadataStringOptions {
|
|
336
|
-
value: string;
|
|
337
|
-
}
|
|
338
|
-
interface FutureMetadataOptions {
|
|
339
|
-
name: string;
|
|
340
|
-
type: string;
|
|
341
|
-
}
|
|
342
|
-
interface MetadataOptions {
|
|
343
|
-
types?: MetadataTypeOptions[];
|
|
344
|
-
strings?: MetadataStringOptions[];
|
|
345
|
-
futureMetadata?: FutureMetadataOptions[];
|
|
346
|
-
mdxMetadata?: MdxOptions[];
|
|
347
|
-
cellMetadataBlocks?: MetadataBlockOptions[];
|
|
348
|
-
valueMetadataBlocks?: MetadataBlockOptions[];
|
|
349
|
-
}
|
|
350
|
-
interface MdxOptions {
|
|
351
|
-
f: string;
|
|
352
|
-
n: number;
|
|
353
|
-
tuple?: MdxTupleOptions;
|
|
354
|
-
set?: MdxSetOptions;
|
|
355
|
-
memberProp?: MdxMemberPropOptions;
|
|
356
|
-
kpi?: MdxKpiOptions;
|
|
357
|
-
}
|
|
358
|
-
interface MdxTupleOptions {
|
|
359
|
-
c?: number;
|
|
360
|
-
}
|
|
361
|
-
interface MdxSetOptions {
|
|
362
|
-
ns: number;
|
|
363
|
-
}
|
|
364
|
-
interface MdxMemberPropOptions {
|
|
365
|
-
n: number;
|
|
366
|
-
np: number;
|
|
367
|
-
}
|
|
368
|
-
interface MdxKpiOptions {
|
|
369
|
-
n: number;
|
|
370
|
-
np: number;
|
|
371
|
-
p: string;
|
|
372
|
-
}
|
|
373
|
-
interface MetadataRecordOptions {
|
|
374
|
-
t: number;
|
|
375
|
-
v: number;
|
|
376
|
-
}
|
|
377
|
-
interface MetadataBlockOptions {
|
|
378
|
-
records?: MetadataRecordOptions[];
|
|
379
|
-
}
|
|
1209
|
+
//#region src/parts/worksheet/descriptor.d.ts
|
|
1210
|
+
declare const worksheetDesc: CustomDescriptor<WorksheetOptions>;
|
|
380
1211
|
//#endregion
|
|
381
|
-
//#region src/parts/
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
firstRow?: boolean;
|
|
399
|
-
post?: boolean;
|
|
400
|
-
textDates?: boolean;
|
|
401
|
-
xl97?: boolean;
|
|
402
|
-
textFields?: TextFieldOptions[];
|
|
1212
|
+
//#region src/parts/worksheet/stringify.d.ts
|
|
1213
|
+
declare function stringifyWorksheet(opts: WorksheetOptions, ctx: WorksheetContext): string;
|
|
1214
|
+
//#endregion
|
|
1215
|
+
//#region src/parts/shared-strings.d.ts
|
|
1216
|
+
type SstEntry = string | RichTextOptions;
|
|
1217
|
+
declare class SharedStrings {
|
|
1218
|
+
private entries;
|
|
1219
|
+
private indexMap;
|
|
1220
|
+
private richIndexMap;
|
|
1221
|
+
register(s: string): number;
|
|
1222
|
+
registerRich(rst: RichTextOptions): number;
|
|
1223
|
+
loadEntries(entries: SharedStringsDocOptions["entries"]): void;
|
|
1224
|
+
get count(): number;
|
|
1225
|
+
toDescriptorOptions(): {
|
|
1226
|
+
entries: SstEntry[];
|
|
1227
|
+
};
|
|
1228
|
+
serialize(): string;
|
|
403
1229
|
}
|
|
404
|
-
interface
|
|
405
|
-
|
|
406
|
-
codePage?: number;
|
|
407
|
-
characterSet?: string;
|
|
408
|
-
sourceFile?: string;
|
|
409
|
-
delimited?: boolean;
|
|
410
|
-
tab?: boolean;
|
|
411
|
-
space?: boolean;
|
|
412
|
-
comma?: boolean;
|
|
413
|
-
semicolon?: boolean;
|
|
414
|
-
custom?: string;
|
|
415
|
-
decimal?: string;
|
|
416
|
-
thousands?: string;
|
|
417
|
-
trailingMinus?: boolean;
|
|
418
|
-
delimiter?: string;
|
|
419
|
-
fileType?: "mac" | "win" | "dos";
|
|
420
|
-
firstRow?: boolean;
|
|
421
|
-
qualifier?: "doubleQuote" | "singleQuote" | "none";
|
|
1230
|
+
interface SharedStringsDocOptions {
|
|
1231
|
+
entries: (string | RichTextOptions)[];
|
|
422
1232
|
}
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
1233
|
+
declare const sharedStringsDesc: CustomDescriptor<SharedStringsDocOptions>;
|
|
1234
|
+
//#endregion
|
|
1235
|
+
//#region src/parts/table.d.ts
|
|
1236
|
+
declare const TotalsRowFunction: {
|
|
1237
|
+
readonly NONE: "none";
|
|
1238
|
+
readonly SUM: "sum";
|
|
1239
|
+
readonly MIN: "min";
|
|
1240
|
+
readonly MAX: "max";
|
|
1241
|
+
readonly AVERAGE: "average";
|
|
1242
|
+
readonly COUNT: "count";
|
|
1243
|
+
readonly COUNT_NUMS: "countNumbers";
|
|
1244
|
+
readonly STD_DEV: "standardDeviation";
|
|
1245
|
+
readonly VAR: "variance";
|
|
1246
|
+
readonly CUSTOM: "custom";
|
|
1247
|
+
};
|
|
1248
|
+
type TotalsRowFunction = (typeof TotalsRowFunction)[keyof typeof TotalsRowFunction];
|
|
1249
|
+
declare const TableType: {
|
|
1250
|
+
readonly WORKSHEET: "worksheet";
|
|
1251
|
+
readonly XML: "xml";
|
|
1252
|
+
readonly QUERY_TABLE: "queryTable";
|
|
1253
|
+
};
|
|
1254
|
+
type TableType = (typeof TableType)[keyof typeof TableType];
|
|
1255
|
+
interface TableStyleInfoOptions {
|
|
1256
|
+
name?: string;
|
|
1257
|
+
showFirstColumn?: boolean;
|
|
1258
|
+
showLastColumn?: boolean;
|
|
1259
|
+
showRowStripes?: boolean;
|
|
1260
|
+
showColumnStripes?: boolean;
|
|
426
1261
|
}
|
|
427
|
-
interface
|
|
1262
|
+
interface TableColumnOptions {
|
|
428
1263
|
name: string;
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
1264
|
+
totalsRowFunction?: TotalsRowFunction;
|
|
1265
|
+
totalsRowLabel?: string;
|
|
1266
|
+
calculatedColumnFormula?: string;
|
|
1267
|
+
totalsRowFormula?: string;
|
|
1268
|
+
totalsRowFormulaArray?: boolean;
|
|
1269
|
+
calculatedColumnFormulaArray?: boolean;
|
|
1270
|
+
uniqueName?: string;
|
|
1271
|
+
queryTableFieldId?: number;
|
|
1272
|
+
headerRowDxfId?: number;
|
|
1273
|
+
dataDxfId?: number;
|
|
1274
|
+
totalsRowDxfId?: number;
|
|
1275
|
+
headerRowCellStyle?: string;
|
|
1276
|
+
dataCellStyle?: string;
|
|
1277
|
+
totalsRowCellStyle?: string;
|
|
1278
|
+
xmlColumnPr?: XmlColumnPrOptions;
|
|
439
1279
|
}
|
|
440
|
-
interface
|
|
441
|
-
|
|
1280
|
+
interface XmlColumnPrOptions {
|
|
1281
|
+
mapId: number;
|
|
1282
|
+
xpath: string;
|
|
1283
|
+
denormalized?: boolean;
|
|
1284
|
+
xmlDataType: string;
|
|
1285
|
+
}
|
|
1286
|
+
interface TableOptions {
|
|
1287
|
+
id?: number;
|
|
442
1288
|
name?: string;
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
1289
|
+
displayName: string;
|
|
1290
|
+
comment?: string;
|
|
1291
|
+
ref: string;
|
|
1292
|
+
columns: TableColumnOptions[];
|
|
1293
|
+
headerRowCount?: number;
|
|
1294
|
+
insertRow?: boolean;
|
|
1295
|
+
totalsRowCount?: number;
|
|
1296
|
+
totalsRowShown?: boolean;
|
|
1297
|
+
tableType?: TableType;
|
|
1298
|
+
style?: TableStyleInfoOptions;
|
|
1299
|
+
ext?: string;
|
|
1300
|
+
altText?: string;
|
|
1301
|
+
altTextSummary?: string;
|
|
1302
|
+
autoFilter?: string | AutoFilterOptions;
|
|
1303
|
+
insertRowShift?: boolean;
|
|
1304
|
+
published?: boolean;
|
|
1305
|
+
headerRowDxfId?: number;
|
|
1306
|
+
dataDxfId?: number;
|
|
1307
|
+
totalsRowDxfId?: number;
|
|
1308
|
+
headerRowBorderDxfId?: number;
|
|
1309
|
+
tableBorderDxfId?: number;
|
|
1310
|
+
totalsRowBorderDxfId?: number;
|
|
1311
|
+
headerRowCellStyle?: string;
|
|
1312
|
+
dataCellStyle?: string;
|
|
1313
|
+
totalsRowCellStyle?: string;
|
|
1314
|
+
connectionId?: number;
|
|
462
1315
|
}
|
|
1316
|
+
declare const tableDesc: CustomDescriptor<TableOptions>;
|
|
463
1317
|
//#endregion
|
|
464
1318
|
//#region src/parts/xml-mapping.d.ts
|
|
465
1319
|
interface SchemaOptions {
|
|
@@ -467,30 +1321,25 @@ interface SchemaOptions {
|
|
|
467
1321
|
schemaRef?: string;
|
|
468
1322
|
namespace?: string;
|
|
469
1323
|
schemaLanguage?: string;
|
|
470
|
-
|
|
471
|
-
elementFormDefault?: string;
|
|
472
|
-
attributeFormDefault?: string;
|
|
1324
|
+
content?: string;
|
|
473
1325
|
}
|
|
474
1326
|
interface DataBindingOptions {
|
|
475
1327
|
dataBindingName?: string;
|
|
476
1328
|
fileBinding?: boolean;
|
|
1329
|
+
connectionId?: number;
|
|
477
1330
|
fileBindingName?: string;
|
|
478
|
-
|
|
479
|
-
dataBindingLoadMode?: number;
|
|
1331
|
+
dataBindingLoadMode: number;
|
|
480
1332
|
}
|
|
481
1333
|
interface MapOptions {
|
|
482
1334
|
id: number;
|
|
483
1335
|
name: string;
|
|
484
1336
|
rootElement: string;
|
|
485
|
-
|
|
1337
|
+
schemaId: string;
|
|
486
1338
|
showImportExportValidationErrors?: boolean;
|
|
487
|
-
append?: boolean;
|
|
488
|
-
dataBindingLoadMode?: number;
|
|
489
1339
|
autoFit?: boolean;
|
|
490
|
-
|
|
491
|
-
fileBindingName?: string;
|
|
492
|
-
preserveFormat?: boolean;
|
|
1340
|
+
append?: boolean;
|
|
493
1341
|
preserveSortAFLayout?: boolean;
|
|
1342
|
+
preserveFormat?: boolean;
|
|
494
1343
|
dataBinding?: DataBindingOptions;
|
|
495
1344
|
}
|
|
496
1345
|
interface MapInfoOptions {
|
|
@@ -499,7 +1348,6 @@ interface MapInfoOptions {
|
|
|
499
1348
|
maps: MapOptions[];
|
|
500
1349
|
}
|
|
501
1350
|
interface XmlPropertiesOptions {
|
|
502
|
-
xmlElement?: string;
|
|
503
1351
|
mapId: number;
|
|
504
1352
|
xpath: string;
|
|
505
1353
|
xmlDataType: string;
|
|
@@ -511,90 +1359,1732 @@ interface XmlCellPropertiesOptions {
|
|
|
511
1359
|
}
|
|
512
1360
|
interface SingleXmlCellOptions {
|
|
513
1361
|
id: number;
|
|
514
|
-
|
|
1362
|
+
reference: string;
|
|
515
1363
|
connectionId: number;
|
|
516
1364
|
xmlCellPr: XmlCellPropertiesOptions;
|
|
517
1365
|
}
|
|
1366
|
+
interface SingleXmlCellsOptions {
|
|
1367
|
+
cells: SingleXmlCellOptions[];
|
|
1368
|
+
}
|
|
518
1369
|
interface XmlColumnPropertiesOptions {
|
|
519
1370
|
xpath: string;
|
|
520
1371
|
xmlDataType: string;
|
|
521
1372
|
mapId: number;
|
|
522
1373
|
denormalized?: boolean;
|
|
523
1374
|
}
|
|
1375
|
+
declare const mapInfoDesc: CustomDescriptor<MapInfoOptions>;
|
|
1376
|
+
declare const singleXmlCellsDesc: CustomDescriptor<SingleXmlCellsOptions>;
|
|
524
1377
|
//#endregion
|
|
525
|
-
//#region src/
|
|
526
|
-
interface
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
1378
|
+
//#region src/parts/worksheet/types.d.ts
|
|
1379
|
+
interface ColumnOptions {
|
|
1380
|
+
min: number;
|
|
1381
|
+
max: number;
|
|
1382
|
+
width?: number;
|
|
1383
|
+
hidden?: boolean;
|
|
1384
|
+
customWidth?: boolean;
|
|
1385
|
+
outlineLevel?: number;
|
|
1386
|
+
collapsed?: boolean;
|
|
1387
|
+
bestFit?: boolean;
|
|
1388
|
+
phonetic?: boolean;
|
|
532
1389
|
}
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
addStyles(): void;
|
|
547
|
-
addSharedStrings(): void;
|
|
548
|
-
addTheme(index?: number): void;
|
|
549
|
-
addCustomProperties(): void;
|
|
550
|
-
addChart(index: number): void;
|
|
551
|
-
addDrawing(index: number): void;
|
|
552
|
-
addComments(index: number): void;
|
|
553
|
-
addVmlDrawing(): void;
|
|
554
|
-
addImageType(extension: "png" | "jpeg"): void;
|
|
555
|
-
addPivotTable(index: number): void;
|
|
556
|
-
addPivotCacheDefinition(index: number): void;
|
|
557
|
-
addPivotCacheRecords(index: number): void;
|
|
558
|
-
addTable(index: number): void;
|
|
559
|
-
addExternalLink(index: number): void;
|
|
560
|
-
addCalcChain(): void;
|
|
561
|
-
addDialogsheet(index: number): void;
|
|
562
|
-
addRevisionHeaders(): void;
|
|
563
|
-
addRevisionLog(index: number): void;
|
|
564
|
-
addUsers(): void;
|
|
565
|
-
addQueryTable(index: number): void;
|
|
566
|
-
addMetadata(): void;
|
|
567
|
-
serialize(): string;
|
|
1390
|
+
interface RowOptions {
|
|
1391
|
+
cells?: CellOptions[];
|
|
1392
|
+
height?: number | UniversalMeasure;
|
|
1393
|
+
hidden?: boolean;
|
|
1394
|
+
rowNumber?: number;
|
|
1395
|
+
spans?: string;
|
|
1396
|
+
customFormat?: boolean;
|
|
1397
|
+
thickTop?: boolean;
|
|
1398
|
+
thickBot?: boolean;
|
|
1399
|
+
phonetic?: boolean;
|
|
1400
|
+
outlineLevel?: number;
|
|
1401
|
+
collapsed?: boolean;
|
|
1402
|
+
style?: StyleOptions | number;
|
|
568
1403
|
}
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
1404
|
+
type RichTextColor = string;
|
|
1405
|
+
interface RichTextRunPropertiesOptions {
|
|
1406
|
+
font?: string;
|
|
1407
|
+
charset?: number;
|
|
1408
|
+
family?: number;
|
|
1409
|
+
bold?: boolean;
|
|
1410
|
+
italic?: boolean;
|
|
1411
|
+
strike?: boolean;
|
|
1412
|
+
outline?: boolean;
|
|
1413
|
+
shadow?: boolean;
|
|
1414
|
+
condense?: boolean;
|
|
1415
|
+
extend?: boolean;
|
|
1416
|
+
color?: RichTextColor;
|
|
1417
|
+
size?: number;
|
|
1418
|
+
underline?: "single" | "double" | "singleAccounting" | "doubleAccounting" | "none";
|
|
1419
|
+
vertAlign?: "superscript" | "subscript" | "baseline";
|
|
1420
|
+
scheme?: "major" | "minor" | "none";
|
|
582
1421
|
}
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
1422
|
+
interface RichTextRunOptions {
|
|
1423
|
+
properties?: RichTextRunPropertiesOptions;
|
|
1424
|
+
text: string;
|
|
1425
|
+
}
|
|
1426
|
+
interface PhoneticRunOptions {
|
|
1427
|
+
startByte: number;
|
|
1428
|
+
endByte: number;
|
|
1429
|
+
text: string;
|
|
1430
|
+
}
|
|
1431
|
+
interface RichTextOptions {
|
|
1432
|
+
text?: string;
|
|
1433
|
+
runs?: RichTextRunOptions[];
|
|
1434
|
+
phonetics?: PhoneticRunOptions[];
|
|
1435
|
+
phoneticProperties?: PhoneticPropertiesOptions;
|
|
1436
|
+
}
|
|
1437
|
+
interface CellOptions {
|
|
1438
|
+
value?: string | number | boolean | Date | RichTextOptions | null;
|
|
1439
|
+
reference?: string;
|
|
1440
|
+
style?: StyleOptions | number;
|
|
1441
|
+
formula?: string | FormulaOptions;
|
|
1442
|
+
cellMetadataId?: number;
|
|
1443
|
+
valueMetadataId?: number;
|
|
1444
|
+
error?: string;
|
|
1445
|
+
}
|
|
1446
|
+
declare const FormulaType: {
|
|
1447
|
+
readonly NORMAL: "normal";
|
|
1448
|
+
readonly ARRAY: "array";
|
|
1449
|
+
readonly SHARED: "shared";
|
|
1450
|
+
};
|
|
1451
|
+
type FormulaType = (typeof FormulaType)[keyof typeof FormulaType];
|
|
1452
|
+
interface FormulaOptions {
|
|
1453
|
+
formula: string;
|
|
1454
|
+
type?: FormulaType;
|
|
1455
|
+
reference?: string;
|
|
1456
|
+
sharedIndex?: number;
|
|
1457
|
+
aca?: boolean;
|
|
1458
|
+
dt2D?: boolean;
|
|
1459
|
+
dtr?: boolean;
|
|
1460
|
+
del1?: boolean;
|
|
1461
|
+
del2?: boolean;
|
|
1462
|
+
inputCell1?: string;
|
|
1463
|
+
inputCell2?: string;
|
|
1464
|
+
calculateCell?: boolean;
|
|
1465
|
+
arrayContext?: boolean;
|
|
1466
|
+
}
|
|
1467
|
+
interface ScenarioCellOptions {
|
|
1468
|
+
reference: string;
|
|
1469
|
+
val: string | number;
|
|
1470
|
+
deleted?: boolean;
|
|
1471
|
+
undone?: boolean;
|
|
1472
|
+
}
|
|
1473
|
+
interface ScenarioDefinition {
|
|
1474
|
+
name: string;
|
|
1475
|
+
inputCells: ScenarioCellOptions[];
|
|
1476
|
+
count?: number;
|
|
1477
|
+
user?: string;
|
|
1478
|
+
comment?: string;
|
|
1479
|
+
hidden?: boolean;
|
|
1480
|
+
locked?: boolean;
|
|
1481
|
+
}
|
|
1482
|
+
interface ScenarioOptions {
|
|
1483
|
+
scenarios: ScenarioDefinition[];
|
|
1484
|
+
current?: number;
|
|
1485
|
+
show?: number;
|
|
1486
|
+
}
|
|
1487
|
+
interface MergeCellOptions {
|
|
1488
|
+
ref: string;
|
|
1489
|
+
}
|
|
1490
|
+
interface SheetProtectionOptions {
|
|
1491
|
+
password?: string;
|
|
1492
|
+
algorithmName?: string;
|
|
1493
|
+
hashValue?: Base64;
|
|
1494
|
+
saltValue?: Base64;
|
|
1495
|
+
spinCount?: number;
|
|
1496
|
+
sheet?: boolean;
|
|
1497
|
+
objects?: boolean;
|
|
1498
|
+
scenarios?: boolean;
|
|
1499
|
+
formatCells?: boolean;
|
|
1500
|
+
formatColumns?: boolean;
|
|
1501
|
+
formatRows?: boolean;
|
|
1502
|
+
insertColumns?: boolean;
|
|
1503
|
+
insertRows?: boolean;
|
|
1504
|
+
insertHyperlinks?: boolean;
|
|
1505
|
+
deleteColumns?: boolean;
|
|
1506
|
+
deleteRows?: boolean;
|
|
1507
|
+
selectLockedCells?: boolean;
|
|
1508
|
+
sort?: boolean;
|
|
1509
|
+
autoFilter?: boolean;
|
|
1510
|
+
pivotTables?: boolean;
|
|
1511
|
+
selectUnlockedCells?: boolean;
|
|
1512
|
+
}
|
|
1513
|
+
interface ProtectedRangeOptions {
|
|
1514
|
+
sqref: string;
|
|
1515
|
+
name: string;
|
|
1516
|
+
password?: string;
|
|
1517
|
+
algorithmName?: string;
|
|
1518
|
+
hashValue?: Base64;
|
|
1519
|
+
saltValue?: Base64;
|
|
1520
|
+
spinCount?: number;
|
|
1521
|
+
securityDescriptor?: string;
|
|
1522
|
+
}
|
|
1523
|
+
interface FreezePaneOptions {
|
|
1524
|
+
row?: number;
|
|
1525
|
+
col?: number;
|
|
1526
|
+
split?: boolean;
|
|
1527
|
+
topLeftCell?: string;
|
|
1528
|
+
activePane?: "bottomRight" | "topRight" | "bottomLeft" | "topLeft";
|
|
1529
|
+
}
|
|
1530
|
+
interface PictureOptions extends Omit<BasePictureOptions, "type">, DrawingAnchorOptions {
|
|
1531
|
+
type: "png" | "jpg" | "wmf" | "emf";
|
|
1532
|
+
spPr?: ShapePropertiesOptions;
|
|
1533
|
+
sourceRectangle?: SourceRectangleOptions;
|
|
1534
|
+
blackWhiteMode?: BlackWhiteMode;
|
|
1535
|
+
preferRelativeResize?: boolean;
|
|
1536
|
+
blipEffects?: BlipEffectsOptions;
|
|
1537
|
+
useLocalDpi?: boolean;
|
|
1538
|
+
blipExt?: string;
|
|
1539
|
+
locking?: PictureLockingOptions;
|
|
1540
|
+
hyperlink?: TextHyperlinkOptions;
|
|
1541
|
+
zOrder?: number;
|
|
1542
|
+
shapeId?: number;
|
|
1543
|
+
}
|
|
1544
|
+
interface WorksheetChartOptions extends ChartSpaceOptions, DrawingAnchorOptions, Omit<NonVisualDrawingPropertiesOptions, "title"> {
|
|
1545
|
+
frameLocks?: GraphicFrameLockingOptions;
|
|
1546
|
+
hyperlink?: TextHyperlinkOptions;
|
|
1547
|
+
zOrder?: number;
|
|
1548
|
+
shapeId?: number;
|
|
1549
|
+
macro?: string;
|
|
1550
|
+
}
|
|
1551
|
+
interface WorksheetSmartArtOptions extends DrawingAnchorOptions, NonVisualDrawingPropertiesOptions {
|
|
1552
|
+
dataPath: string;
|
|
1553
|
+
layoutPath: string;
|
|
1554
|
+
quickStylePath: string;
|
|
1555
|
+
colorsPath: string;
|
|
1556
|
+
frameLocks?: GraphicFrameLockingOptions;
|
|
1557
|
+
zOrder?: number;
|
|
1558
|
+
shapeId?: number;
|
|
1559
|
+
macro?: string;
|
|
1560
|
+
}
|
|
1561
|
+
interface SheetViewOptions {
|
|
1562
|
+
showGridLines?: boolean;
|
|
1563
|
+
showRowColHeaders?: boolean;
|
|
1564
|
+
showZeros?: boolean;
|
|
1565
|
+
zoomScale?: number;
|
|
1566
|
+
tabSelected?: boolean;
|
|
1567
|
+
rightToLeft?: boolean;
|
|
1568
|
+
windowProtection?: boolean;
|
|
1569
|
+
showFormulas?: boolean;
|
|
1570
|
+
showRuler?: boolean;
|
|
1571
|
+
showOutlineSymbols?: boolean;
|
|
1572
|
+
defaultGridColor?: boolean;
|
|
1573
|
+
showWhiteSpace?: boolean;
|
|
1574
|
+
view?: "normal" | "pageBreakPreview" | "pageLayout";
|
|
1575
|
+
topLeftCell?: string;
|
|
1576
|
+
colorId?: number;
|
|
1577
|
+
zoomScaleNormal?: number;
|
|
1578
|
+
zoomScaleSheetLayoutView?: number;
|
|
1579
|
+
zoomScalePageLayoutView?: number;
|
|
1580
|
+
}
|
|
1581
|
+
interface HyperlinkOptions {
|
|
1582
|
+
cell: string;
|
|
1583
|
+
url?: string;
|
|
1584
|
+
location?: string;
|
|
1585
|
+
tooltip?: string;
|
|
1586
|
+
display?: string;
|
|
1587
|
+
}
|
|
1588
|
+
interface HeaderFooterOptions {
|
|
1589
|
+
oddHeader?: string;
|
|
1590
|
+
oddFooter?: string;
|
|
1591
|
+
evenHeader?: string;
|
|
1592
|
+
evenFooter?: string;
|
|
1593
|
+
firstHeader?: string;
|
|
1594
|
+
firstFooter?: string;
|
|
1595
|
+
differentOddEven?: boolean;
|
|
1596
|
+
differentFirst?: boolean;
|
|
1597
|
+
scaleWithDoc?: boolean;
|
|
1598
|
+
alignWithMargins?: boolean;
|
|
1599
|
+
}
|
|
1600
|
+
type PageOrientation = "default" | "portrait" | "landscape";
|
|
1601
|
+
interface PageSetupOptions {
|
|
1602
|
+
paperSize?: number;
|
|
1603
|
+
orientation?: PageOrientation;
|
|
1604
|
+
scale?: number;
|
|
1605
|
+
fitToWidth?: number;
|
|
1606
|
+
fitToHeight?: number;
|
|
1607
|
+
pageOrder?: "downThenOver" | "overThenDown";
|
|
1608
|
+
useFirstPageNumber?: boolean;
|
|
1609
|
+
firstPageNumber?: number;
|
|
1610
|
+
paperHeight?: number | PositiveUniversalMeasure;
|
|
1611
|
+
paperWidth?: number | PositiveUniversalMeasure;
|
|
1612
|
+
usePrinterDefaults?: boolean;
|
|
1613
|
+
blackAndWhite?: boolean;
|
|
1614
|
+
draft?: boolean;
|
|
1615
|
+
cellComments?: "none" | "asDisplayed" | "atEnd";
|
|
1616
|
+
errors?: "displayed" | "blank" | "dash" | "NA";
|
|
1617
|
+
horizontalDpi?: number;
|
|
1618
|
+
verticalDpi?: number;
|
|
1619
|
+
copies?: number;
|
|
1620
|
+
autoPageBreaks?: boolean;
|
|
1621
|
+
fitToPage?: boolean;
|
|
1622
|
+
printerSettingsRId?: string;
|
|
1623
|
+
}
|
|
1624
|
+
interface TabColorOptions {
|
|
1625
|
+
rgb?: ArgbHexColor;
|
|
1626
|
+
theme?: number;
|
|
1627
|
+
tint?: number;
|
|
1628
|
+
indexed?: number;
|
|
1629
|
+
}
|
|
1630
|
+
interface AnchorMarkerOptions {
|
|
1631
|
+
col: number;
|
|
1632
|
+
colOff?: number;
|
|
1633
|
+
row: number;
|
|
1634
|
+
rowOff?: number;
|
|
1635
|
+
}
|
|
1636
|
+
interface ObjectAnchorOptions {
|
|
1637
|
+
moveWithCells?: boolean;
|
|
1638
|
+
sizeWithCells?: boolean;
|
|
1639
|
+
from: AnchorMarkerOptions;
|
|
1640
|
+
to: AnchorMarkerOptions;
|
|
1641
|
+
}
|
|
1642
|
+
interface CommentPropertiesOptions {
|
|
1643
|
+
locked?: boolean;
|
|
1644
|
+
defaultSize?: boolean;
|
|
1645
|
+
print?: boolean;
|
|
1646
|
+
disabled?: boolean;
|
|
1647
|
+
autoFill?: boolean;
|
|
1648
|
+
autoLine?: boolean;
|
|
1649
|
+
altText?: string;
|
|
1650
|
+
textHAlign?: "left" | "center" | "right" | "justify" | "distributed";
|
|
1651
|
+
textVAlign?: "top" | "center" | "bottom" | "justify" | "distributed";
|
|
1652
|
+
lockText?: boolean;
|
|
1653
|
+
justLastX?: boolean;
|
|
1654
|
+
autoScale?: boolean;
|
|
1655
|
+
anchor?: ObjectAnchorOptions;
|
|
1656
|
+
}
|
|
1657
|
+
interface CommentOptions {
|
|
1658
|
+
cell: string;
|
|
1659
|
+
author: string;
|
|
1660
|
+
text: string | RichTextOptions;
|
|
1661
|
+
commentPr?: CommentPropertiesOptions;
|
|
1662
|
+
anchor?: NoteAnchorOptions;
|
|
1663
|
+
visible?: boolean;
|
|
1664
|
+
size?: {
|
|
1665
|
+
width: number;
|
|
1666
|
+
height: number;
|
|
1667
|
+
};
|
|
1668
|
+
}
|
|
1669
|
+
interface NoteAnchorOptions {
|
|
1670
|
+
from: AnchorMarkerOptions;
|
|
1671
|
+
to: AnchorMarkerOptions;
|
|
1672
|
+
}
|
|
1673
|
+
type DataValidationType = "none" | "whole" | "decimal" | "list" | "date" | "time" | "textLength" | "custom";
|
|
1674
|
+
type DataValidationOperator = "between" | "notBetween" | "equal" | "notEqual" | "greaterThan" | "lessThan" | "greaterThanOrEqual" | "lessThanOrEqual";
|
|
1675
|
+
interface DataValidationOptions {
|
|
1676
|
+
sqref: string;
|
|
1677
|
+
type?: DataValidationType;
|
|
1678
|
+
operator?: DataValidationOperator;
|
|
1679
|
+
formula1?: string;
|
|
1680
|
+
formula2?: string;
|
|
1681
|
+
allowBlank?: boolean;
|
|
1682
|
+
showErrorMessage?: boolean;
|
|
1683
|
+
errorTitle?: string;
|
|
1684
|
+
error?: string;
|
|
1685
|
+
showInputMessage?: boolean;
|
|
1686
|
+
promptTitle?: string;
|
|
1687
|
+
prompt?: string;
|
|
1688
|
+
errorStyle?: "stop" | "warning" | "information";
|
|
1689
|
+
imeMode?: "noControl" | "on" | "off" | "disabled" | "hiragana" | "fullKatakana" | "halfKatakana" | "fullAlpha" | "halfAlpha" | "fullHangul" | "halfHangul";
|
|
1690
|
+
showDropDown?: boolean;
|
|
1691
|
+
}
|
|
1692
|
+
type ConditionalFormatType = "cellIs" | "containsText" | "expression" | "top10" | "aboveAverage" | "colorScale" | "dataBar" | "iconSet";
|
|
1693
|
+
type ConditionalFormatOperator = "lessThan" | "lessThanOrEqual" | "equal" | "notEqual" | "greaterThanOrEqual" | "greaterThan" | "between" | "notBetween" | "containsText" | "notContains" | "beginsWith" | "endsWith";
|
|
1694
|
+
type CfvoType = "num" | "percent" | "max" | "min" | "formula" | "percentile";
|
|
1695
|
+
interface CfvoOptions {
|
|
1696
|
+
type: CfvoType;
|
|
1697
|
+
val?: string | number;
|
|
1698
|
+
gte?: boolean;
|
|
1699
|
+
}
|
|
1700
|
+
type IconSetType = "3Arrows" | "3ArrowsGray" | "3Flags" | "3TrafficLights1" | "3TrafficLights2" | "3Signs" | "3Symbols" | "3Symbols2" | "4Arrows" | "4ArrowsGray" | "4RedToBlack" | "4Rating" | "4TrafficLights" | "5Arrows" | "5ArrowsGray" | "5Rating" | "5Quarters";
|
|
1701
|
+
interface CfColorOptions {
|
|
1702
|
+
rgb?: HexColor;
|
|
1703
|
+
theme?: number;
|
|
1704
|
+
tint?: number;
|
|
1705
|
+
indexed?: number;
|
|
1706
|
+
}
|
|
1707
|
+
interface ColorScaleOptions {
|
|
1708
|
+
cfvo: CfvoOptions[];
|
|
1709
|
+
colors: CfColorOptions[];
|
|
1710
|
+
}
|
|
1711
|
+
interface DataBarOptions {
|
|
1712
|
+
cfvo: [CfvoOptions, CfvoOptions];
|
|
1713
|
+
color: CfColorOptions;
|
|
1714
|
+
minLength?: number;
|
|
1715
|
+
maxLength?: number;
|
|
1716
|
+
showValue?: boolean;
|
|
1717
|
+
}
|
|
1718
|
+
interface IconSetOptions {
|
|
1719
|
+
cfvo: CfvoOptions[];
|
|
1720
|
+
iconSet?: IconSetType;
|
|
1721
|
+
showValue?: boolean;
|
|
1722
|
+
percent?: boolean;
|
|
1723
|
+
reverse?: boolean;
|
|
1724
|
+
}
|
|
1725
|
+
interface ConditionalFormatRule {
|
|
1726
|
+
type: ConditionalFormatType;
|
|
1727
|
+
operator?: ConditionalFormatOperator;
|
|
1728
|
+
formulas?: string[];
|
|
1729
|
+
priority?: number;
|
|
1730
|
+
dxfId?: number;
|
|
1731
|
+
colorScale?: ColorScaleOptions;
|
|
1732
|
+
dataBar?: DataBarOptions;
|
|
1733
|
+
iconSet?: IconSetOptions;
|
|
1734
|
+
stopIfTrue?: boolean;
|
|
1735
|
+
timePeriod?: "today" | "yesterday" | "tomorrow" | "last7Days" | "thisMonth" | "lastMonth" | "nextMonth" | "thisWeek" | "lastWeek" | "nextWeek";
|
|
1736
|
+
rank?: number;
|
|
1737
|
+
bottom?: boolean;
|
|
1738
|
+
percent?: boolean;
|
|
1739
|
+
text?: string;
|
|
1740
|
+
equalAverage?: boolean;
|
|
1741
|
+
aboveAverage?: boolean;
|
|
1742
|
+
stdDev?: number;
|
|
1743
|
+
}
|
|
1744
|
+
interface ConditionalFormatOptions {
|
|
1745
|
+
sqref: string;
|
|
1746
|
+
pivot?: boolean;
|
|
1747
|
+
rules: ConditionalFormatRule[];
|
|
1748
|
+
}
|
|
1749
|
+
interface Top10FilterOptions {
|
|
1750
|
+
top?: boolean;
|
|
1751
|
+
percent?: boolean;
|
|
1752
|
+
val: number;
|
|
1753
|
+
filterVal?: number;
|
|
1754
|
+
}
|
|
1755
|
+
type CustomFilterOperator = "equal" | "notEqual" | "greaterThan" | "greaterThanOrEqual" | "lessThan" | "lessThanOrEqual";
|
|
1756
|
+
interface CustomFilterEntry {
|
|
1757
|
+
operator?: CustomFilterOperator;
|
|
1758
|
+
val: string;
|
|
1759
|
+
}
|
|
1760
|
+
interface CustomFiltersOptions {
|
|
1761
|
+
and?: boolean;
|
|
1762
|
+
entries: CustomFilterEntry[];
|
|
1763
|
+
}
|
|
1764
|
+
interface SortCondition {
|
|
1765
|
+
ref: string;
|
|
1766
|
+
descending?: boolean;
|
|
1767
|
+
sortBy?: "value" | "cellColor" | "fontColor" | "icon";
|
|
1768
|
+
customList?: string;
|
|
1769
|
+
dxfId?: number;
|
|
1770
|
+
iconSet?: IconSetType;
|
|
1771
|
+
iconId?: number;
|
|
1772
|
+
}
|
|
1773
|
+
interface SortStateOptions {
|
|
1774
|
+
ref: string;
|
|
1775
|
+
columnSort?: boolean;
|
|
1776
|
+
caseSensitive?: boolean;
|
|
1777
|
+
sortMethod?: "pinYin" | "stroke" | "none";
|
|
1778
|
+
conditions: SortCondition[];
|
|
1779
|
+
}
|
|
1780
|
+
interface AutoFilterOptions {
|
|
1781
|
+
ref: string;
|
|
1782
|
+
columns?: FilterColumnOptions[];
|
|
1783
|
+
sortState?: SortStateOptions;
|
|
1784
|
+
}
|
|
1785
|
+
interface FilterColumnOptions {
|
|
1786
|
+
colId: number;
|
|
1787
|
+
hiddenButton?: boolean;
|
|
1788
|
+
showButton?: boolean;
|
|
1789
|
+
top10?: Top10FilterOptions;
|
|
1790
|
+
customFilters?: CustomFiltersOptions;
|
|
1791
|
+
filters?: FilterItemsOptions;
|
|
1792
|
+
colorFilter?: ColorFilterOptions;
|
|
1793
|
+
iconFilter?: IconFilterOptions;
|
|
1794
|
+
dynamicFilter?: DynamicFilterOptions;
|
|
1795
|
+
}
|
|
1796
|
+
interface ColorFilterOptions {
|
|
1797
|
+
dxfId?: number;
|
|
1798
|
+
cellColor?: boolean;
|
|
1799
|
+
}
|
|
1800
|
+
interface IconFilterOptions {
|
|
1801
|
+
iconSet: IconSetType;
|
|
1802
|
+
iconId?: number;
|
|
1803
|
+
}
|
|
1804
|
+
interface FilterItemsOptions {
|
|
1805
|
+
blank?: boolean;
|
|
1806
|
+
calendarType?: "gregorian" | "gregorianUs" | "gregorianMeFrench" | "gregorianArabic" | "hijri" | "hebrew" | "taiwan" | "japan" | "thai" | "korea" | "saka" | "gregorianXlitEnglish" | "gregorianXlitFrench" | "none";
|
|
1807
|
+
values?: string[];
|
|
1808
|
+
dateGroupItems?: DateGroupFilterOptions[];
|
|
1809
|
+
}
|
|
1810
|
+
interface DynamicFilterOptions {
|
|
1811
|
+
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";
|
|
1812
|
+
val?: number;
|
|
1813
|
+
maxVal?: number;
|
|
1814
|
+
valIso?: string;
|
|
1815
|
+
maxValIso?: string;
|
|
1816
|
+
}
|
|
1817
|
+
interface DateGroupFilterOptions {
|
|
1818
|
+
dateTimeGrouping: "year" | "month" | "day" | "hour" | "minute" | "second";
|
|
1819
|
+
year?: number;
|
|
1820
|
+
month?: number;
|
|
1821
|
+
day?: number;
|
|
1822
|
+
hour?: number;
|
|
1823
|
+
minute?: number;
|
|
1824
|
+
second?: number;
|
|
1825
|
+
}
|
|
1826
|
+
interface PrintOptions {
|
|
1827
|
+
horizontalCentered?: boolean;
|
|
1828
|
+
verticalCentered?: boolean;
|
|
1829
|
+
headings?: boolean;
|
|
1830
|
+
gridLines?: boolean;
|
|
1831
|
+
gridLinesSet?: boolean;
|
|
1832
|
+
}
|
|
1833
|
+
interface SheetFormatPropertiesOptions {
|
|
1834
|
+
baseColWidth?: number;
|
|
1835
|
+
defaultColWidth?: number;
|
|
1836
|
+
defaultRowHeight?: number;
|
|
1837
|
+
zeroHeight?: boolean;
|
|
1838
|
+
thickTop?: boolean;
|
|
1839
|
+
thickBottom?: boolean;
|
|
1840
|
+
outlineLevelRow?: number;
|
|
1841
|
+
outlineLevelCol?: number;
|
|
1842
|
+
}
|
|
1843
|
+
interface SheetPropertiesOptions {
|
|
1844
|
+
codeName?: string;
|
|
1845
|
+
syncHorizontal?: boolean;
|
|
1846
|
+
syncVertical?: boolean;
|
|
1847
|
+
syncRef?: string;
|
|
1848
|
+
transitionEvaluation?: boolean;
|
|
1849
|
+
transitionEntry?: boolean;
|
|
1850
|
+
published?: boolean;
|
|
1851
|
+
filterMode?: boolean;
|
|
1852
|
+
enableFormatConditionsCalculation?: boolean;
|
|
1853
|
+
outlineApplyStyles?: boolean;
|
|
1854
|
+
outlineShowSymbols?: boolean;
|
|
1855
|
+
outlineSummaryBelow?: boolean;
|
|
1856
|
+
outlineSummaryRight?: boolean;
|
|
1857
|
+
}
|
|
1858
|
+
interface IgnoredErrorOptions {
|
|
1859
|
+
sqref: string;
|
|
1860
|
+
evalError?: boolean;
|
|
1861
|
+
twoDigitTextYear?: boolean;
|
|
1862
|
+
numberStoredAsText?: boolean;
|
|
1863
|
+
formula?: boolean;
|
|
1864
|
+
formulaRange?: boolean;
|
|
1865
|
+
unlockedFormula?: boolean;
|
|
1866
|
+
emptyCellReference?: boolean;
|
|
1867
|
+
listDataValidation?: boolean;
|
|
1868
|
+
calculatedColumn?: boolean;
|
|
1869
|
+
}
|
|
1870
|
+
interface PhoneticPropertiesOptions {
|
|
1871
|
+
fontId: number;
|
|
1872
|
+
type?: "fullwidthKatakana" | "halfwidthKatakana" | "Hiragana" | "noConversion";
|
|
1873
|
+
alignment?: "noControl" | "left" | "center" | "distributed";
|
|
1874
|
+
}
|
|
1875
|
+
interface SheetBackgroundImageOptions {
|
|
1876
|
+
data: DataType;
|
|
1877
|
+
type: "png" | "jpg";
|
|
1878
|
+
}
|
|
1879
|
+
interface PageBreakOptions {
|
|
1880
|
+
id: number;
|
|
1881
|
+
min?: number;
|
|
1882
|
+
max?: number;
|
|
1883
|
+
manual?: boolean;
|
|
1884
|
+
pivot?: boolean;
|
|
1885
|
+
}
|
|
1886
|
+
interface SelectionOptions {
|
|
1887
|
+
pane?: "bottomRight" | "topRight" | "bottomLeft" | "topLeft";
|
|
1888
|
+
activeCell?: string;
|
|
1889
|
+
activeCellId?: number;
|
|
1890
|
+
sqref?: string;
|
|
1891
|
+
}
|
|
1892
|
+
interface PivotSelectionOptions {
|
|
1893
|
+
pane?: "bottomRight" | "topRight" | "bottomLeft" | "topLeft";
|
|
1894
|
+
showHeader?: boolean;
|
|
1895
|
+
label?: boolean;
|
|
1896
|
+
data?: boolean;
|
|
1897
|
+
extendable?: boolean;
|
|
1898
|
+
count?: number;
|
|
1899
|
+
axis?: "axisRow" | "axisCol" | "axisPage" | "axisValues";
|
|
1900
|
+
dimension?: number;
|
|
1901
|
+
start?: number;
|
|
1902
|
+
min?: number;
|
|
1903
|
+
max?: number;
|
|
1904
|
+
activeRow?: number;
|
|
1905
|
+
activeCol?: number;
|
|
1906
|
+
previousRow?: number;
|
|
1907
|
+
previousCol?: number;
|
|
1908
|
+
click?: number;
|
|
1909
|
+
rId?: string;
|
|
1910
|
+
pivotArea?: PivotAreaOptions;
|
|
1911
|
+
}
|
|
1912
|
+
interface CellSmartTagPropertyOptions {
|
|
1913
|
+
key: string;
|
|
1914
|
+
val: string;
|
|
1915
|
+
}
|
|
1916
|
+
interface CellSmartTagOptions {
|
|
1917
|
+
type: number;
|
|
1918
|
+
deleted?: boolean;
|
|
1919
|
+
xmlBased?: boolean;
|
|
1920
|
+
properties?: CellSmartTagPropertyOptions[];
|
|
1921
|
+
}
|
|
1922
|
+
interface CellSmartTagsOptions {
|
|
1923
|
+
reference: string;
|
|
1924
|
+
smartTags: CellSmartTagOptions[];
|
|
1925
|
+
}
|
|
1926
|
+
interface CustomSheetViewOptions {
|
|
1927
|
+
guid: string;
|
|
1928
|
+
scale?: number;
|
|
1929
|
+
showPageBreaks?: boolean;
|
|
1930
|
+
showFormulas?: boolean;
|
|
1931
|
+
showGridLines?: boolean;
|
|
1932
|
+
showRowColHeaders?: boolean;
|
|
1933
|
+
outlineSymbols?: boolean;
|
|
1934
|
+
zeroValues?: boolean;
|
|
1935
|
+
fitToPage?: boolean;
|
|
1936
|
+
printArea?: boolean;
|
|
1937
|
+
filter?: boolean;
|
|
1938
|
+
showAutoFilter?: boolean;
|
|
1939
|
+
hiddenRows?: boolean;
|
|
1940
|
+
hiddenColumns?: boolean;
|
|
1941
|
+
state?: "visible" | "hidden" | "veryHidden";
|
|
1942
|
+
filterUnique?: boolean;
|
|
1943
|
+
view?: "normal" | "pageBreakPreview" | "pageLayout";
|
|
1944
|
+
}
|
|
1945
|
+
interface CellWatchOptions {
|
|
1946
|
+
reference: string;
|
|
1947
|
+
}
|
|
1948
|
+
interface DataConsolidateOptions {
|
|
1949
|
+
function?: "average" | "count" | "countNumbers" | "max" | "min" | "product" | "standardDeviation" | "standardDeviationPopulation" | "sum" | "variance" | "variancePopulation";
|
|
1950
|
+
topLabels?: boolean;
|
|
1951
|
+
leftLabels?: boolean;
|
|
1952
|
+
startLabels?: boolean;
|
|
1953
|
+
link?: boolean;
|
|
1954
|
+
refs?: string[];
|
|
1955
|
+
}
|
|
1956
|
+
interface DrawingHfOptions {
|
|
1957
|
+
rId: string;
|
|
1958
|
+
lho?: number;
|
|
1959
|
+
lhe?: number;
|
|
1960
|
+
lhf?: number;
|
|
1961
|
+
cho?: number;
|
|
1962
|
+
che?: number;
|
|
1963
|
+
chf?: number;
|
|
1964
|
+
rho?: number;
|
|
1965
|
+
rhe?: number;
|
|
1966
|
+
rhf?: number;
|
|
1967
|
+
lfo?: number;
|
|
1968
|
+
lfe?: number;
|
|
1969
|
+
lff?: number;
|
|
1970
|
+
cfo?: number;
|
|
1971
|
+
cfe?: number;
|
|
1972
|
+
cff?: number;
|
|
1973
|
+
rfo?: number;
|
|
1974
|
+
rfe?: number;
|
|
1975
|
+
rff?: number;
|
|
1976
|
+
}
|
|
1977
|
+
interface WorksheetOptions {
|
|
1978
|
+
name?: string;
|
|
1979
|
+
sheetId?: number;
|
|
1980
|
+
state?: "visible" | "hidden" | "veryHidden";
|
|
1981
|
+
rows?: RowOptions[];
|
|
1982
|
+
columns?: ColumnOptions[];
|
|
1983
|
+
mergeCells?: MergeCellOptions[];
|
|
1984
|
+
freezePanes?: FreezePaneOptions;
|
|
1985
|
+
protection?: SheetProtectionOptions;
|
|
1986
|
+
protectedRanges?: ProtectedRangeOptions[];
|
|
1987
|
+
scenarios?: ScenarioOptions;
|
|
1988
|
+
autoFilter?: string | AutoFilterOptions;
|
|
1989
|
+
sortState?: SortStateOptions;
|
|
1990
|
+
images?: PictureOptions[];
|
|
1991
|
+
charts?: WorksheetChartOptions[];
|
|
1992
|
+
smartArts?: WorksheetSmartArtOptions[];
|
|
1993
|
+
shapes?: ShapeOptions[];
|
|
1994
|
+
connectors?: ConnectorOptions[];
|
|
1995
|
+
groups?: GroupOptions[];
|
|
1996
|
+
dataValidations?: DataValidationOptions[];
|
|
1997
|
+
dataValidationsDisablePrompts?: boolean;
|
|
1998
|
+
conditionalFormats?: ConditionalFormatOptions[];
|
|
1999
|
+
hyperlinks?: HyperlinkOptions[];
|
|
2000
|
+
comments?: CommentOptions[];
|
|
2001
|
+
headerFooter?: HeaderFooterOptions;
|
|
2002
|
+
pageSetup?: PageSetupOptions;
|
|
2003
|
+
tabColor?: TabColorOptions;
|
|
2004
|
+
sheetView?: SheetViewOptions;
|
|
2005
|
+
pivotTables?: PivotTableOptions[];
|
|
2006
|
+
tables?: TableOptions[];
|
|
2007
|
+
ignoredErrors?: IgnoredErrorOptions[];
|
|
2008
|
+
phoneticPr?: PhoneticPropertiesOptions;
|
|
2009
|
+
backgroundImage?: SheetBackgroundImageOptions;
|
|
2010
|
+
printOptions?: PrintOptions;
|
|
2011
|
+
sheetFormatPr?: SheetFormatPropertiesOptions;
|
|
2012
|
+
sheetPr?: SheetPropertiesOptions;
|
|
2013
|
+
rowBreaks?: PageBreakOptions[];
|
|
2014
|
+
colBreaks?: PageBreakOptions[];
|
|
2015
|
+
customSheetViews?: CustomSheetViewOptions[];
|
|
2016
|
+
cellWatches?: CellWatchOptions[];
|
|
2017
|
+
dataConsolidate?: DataConsolidateOptions;
|
|
2018
|
+
drawingHF?: DrawingHfOptions;
|
|
2019
|
+
legacyDrawingHF?: string;
|
|
2020
|
+
drawingRid?: string;
|
|
2021
|
+
legacyDrawingRid?: string;
|
|
2022
|
+
selection?: SelectionOptions[];
|
|
2023
|
+
pivotSelection?: PivotSelectionOptions;
|
|
2024
|
+
smartTags?: CellSmartTagsOptions[];
|
|
2025
|
+
queryTables?: QueryTableOptions[];
|
|
2026
|
+
singleXmlCells?: SingleXmlCellOptions[];
|
|
2027
|
+
sheetCalcPr?: SheetCalculationPropertiesOptions;
|
|
2028
|
+
ext?: string;
|
|
2029
|
+
controls?: ControlOptions[];
|
|
2030
|
+
customProperties?: CustomSheetPropertyOptions[];
|
|
2031
|
+
oleObjects?: OleObjectOptions[];
|
|
2032
|
+
webPublishItems?: WebPublishItemOptions[];
|
|
2033
|
+
pageMargins?: PageMarginsOptions;
|
|
2034
|
+
dimension?: string;
|
|
2035
|
+
}
|
|
2036
|
+
interface PageMarginsOptions {
|
|
2037
|
+
left?: number | UniversalMeasure;
|
|
2038
|
+
right?: number | UniversalMeasure;
|
|
2039
|
+
top?: number | UniversalMeasure;
|
|
2040
|
+
bottom?: number | UniversalMeasure;
|
|
2041
|
+
header?: number | UniversalMeasure;
|
|
2042
|
+
footer?: number | UniversalMeasure;
|
|
2043
|
+
}
|
|
2044
|
+
interface SheetCalculationPropertiesOptions {
|
|
2045
|
+
fullCalcOnLoad?: boolean;
|
|
2046
|
+
}
|
|
2047
|
+
interface ControlOptions {
|
|
2048
|
+
shapeId: number;
|
|
2049
|
+
rId: string;
|
|
2050
|
+
name?: string;
|
|
2051
|
+
locked?: boolean;
|
|
2052
|
+
uiObject?: boolean;
|
|
2053
|
+
recalcAlways?: boolean;
|
|
2054
|
+
linkedCell?: string;
|
|
2055
|
+
listFillRange?: string;
|
|
2056
|
+
formula?: string;
|
|
2057
|
+
defaultSize?: boolean;
|
|
2058
|
+
autoLine?: boolean;
|
|
2059
|
+
autoPict?: boolean;
|
|
2060
|
+
iconRid?: string;
|
|
2061
|
+
anchor?: ObjectAnchorOptions;
|
|
2062
|
+
alternateContent?: boolean;
|
|
2063
|
+
}
|
|
2064
|
+
interface CustomSheetPropertyOptions {
|
|
2065
|
+
name: string;
|
|
2066
|
+
rId: string;
|
|
2067
|
+
}
|
|
2068
|
+
interface OleObjectOptions {
|
|
2069
|
+
progId?: string;
|
|
2070
|
+
dvAspect?: "DVASPECT_CONTENT" | "DVASPECT_ICON";
|
|
2071
|
+
link?: string;
|
|
2072
|
+
oleUpdate?: "OLEUPDATE_ALWAYS" | "OLEUPDATE_ONCALL";
|
|
2073
|
+
autoLoad?: boolean;
|
|
2074
|
+
shapeId: number;
|
|
2075
|
+
rId?: string;
|
|
2076
|
+
objectPr?: OleObjectPropertiesOptions;
|
|
2077
|
+
alternateContent?: boolean;
|
|
2078
|
+
}
|
|
2079
|
+
interface OleObjectPropertiesOptions {
|
|
2080
|
+
locked?: boolean;
|
|
2081
|
+
defaultSize?: boolean;
|
|
2082
|
+
print?: boolean;
|
|
2083
|
+
disabled?: boolean;
|
|
2084
|
+
uiObject?: boolean;
|
|
2085
|
+
autoFill?: boolean;
|
|
2086
|
+
autoLine?: boolean;
|
|
2087
|
+
autoPict?: boolean;
|
|
2088
|
+
macro?: string;
|
|
2089
|
+
altText?: string;
|
|
2090
|
+
dde?: boolean;
|
|
2091
|
+
iconRid?: string;
|
|
2092
|
+
anchor?: ObjectAnchorOptions;
|
|
2093
|
+
}
|
|
2094
|
+
interface WebPublishItemOptions {
|
|
2095
|
+
id: number;
|
|
2096
|
+
divId: string;
|
|
2097
|
+
sourceType: "sheet" | "printArea" | "autoFilter" | "range" | "chart" | "pivotTable" | "query" | "label";
|
|
2098
|
+
sourceRef?: string;
|
|
2099
|
+
sourceObject?: string;
|
|
2100
|
+
destinationFile: string;
|
|
2101
|
+
title?: string;
|
|
2102
|
+
autoRepublish?: boolean;
|
|
2103
|
+
}
|
|
2104
|
+
interface WorksheetContext {
|
|
2105
|
+
sharedStrings?: SharedStrings;
|
|
2106
|
+
styles?: Styles;
|
|
2107
|
+
}
|
|
2108
|
+
//#endregion
|
|
2109
|
+
//#region src/parts/chartsheet.d.ts
|
|
2110
|
+
interface ChartsheetPageSetup {
|
|
2111
|
+
paperSize?: number;
|
|
2112
|
+
paperHeight?: number | PositiveUniversalMeasure;
|
|
2113
|
+
paperWidth?: number | PositiveUniversalMeasure;
|
|
2114
|
+
firstPageNumber?: number;
|
|
2115
|
+
orientation?: PageOrientation;
|
|
2116
|
+
usePrinterDefaults?: boolean;
|
|
2117
|
+
blackAndWhite?: boolean;
|
|
2118
|
+
draft?: boolean;
|
|
2119
|
+
useFirstPageNumber?: boolean;
|
|
2120
|
+
horizontalDpi?: number;
|
|
2121
|
+
verticalDpi?: number;
|
|
2122
|
+
copies?: number;
|
|
2123
|
+
printerSettingsRId?: string;
|
|
2124
|
+
}
|
|
2125
|
+
interface ChartsheetProtectionOptions {
|
|
2126
|
+
password?: string;
|
|
2127
|
+
algorithmName?: string;
|
|
2128
|
+
hashValue?: Base64;
|
|
2129
|
+
saltValue?: Base64;
|
|
2130
|
+
spinCount?: number;
|
|
2131
|
+
content?: boolean;
|
|
2132
|
+
objects?: boolean;
|
|
2133
|
+
}
|
|
2134
|
+
interface ChartsheetOptions {
|
|
2135
|
+
name?: string;
|
|
2136
|
+
sheetId?: number;
|
|
2137
|
+
state?: "visible" | "hidden" | "veryHidden";
|
|
2138
|
+
tabColor?: ArgbHexColor;
|
|
2139
|
+
pageMargins?: PageMarginsOptions;
|
|
2140
|
+
pageSetup?: ChartsheetPageSetup;
|
|
2141
|
+
headerFooter?: HeaderFooterOptions;
|
|
2142
|
+
sheetProtection?: ChartsheetProtectionOptions;
|
|
2143
|
+
published?: boolean;
|
|
2144
|
+
codeName?: string;
|
|
2145
|
+
zoomToFit?: boolean;
|
|
2146
|
+
tabSelected?: boolean;
|
|
2147
|
+
zoomScale?: number;
|
|
2148
|
+
chart?: ChartSpaceOptions$1;
|
|
2149
|
+
macro?: string;
|
|
2150
|
+
frameLocks?: GraphicFrameLockingOptions;
|
|
2151
|
+
absoluteX?: number;
|
|
2152
|
+
absoluteY?: number;
|
|
2153
|
+
extentCx?: number;
|
|
2154
|
+
extentCy?: number;
|
|
2155
|
+
shapeId?: number;
|
|
2156
|
+
}
|
|
2157
|
+
interface ChartsheetDescriptorOptions extends ChartsheetOptions {
|
|
2158
|
+
drawingRId: string;
|
|
2159
|
+
}
|
|
2160
|
+
declare const chartsheetDesc: CustomDescriptor<ChartsheetDescriptorOptions>;
|
|
2161
|
+
//#endregion
|
|
2162
|
+
//#region src/parts/connection.d.ts
|
|
2163
|
+
interface DatabasePropertiesOptions {
|
|
2164
|
+
connection: string;
|
|
2165
|
+
command?: string;
|
|
2166
|
+
serverCommand?: string;
|
|
2167
|
+
commandType?: number;
|
|
2168
|
+
}
|
|
2169
|
+
type WebTableSelection = string | number | null;
|
|
2170
|
+
interface WebPropertiesOptions {
|
|
2171
|
+
url?: string;
|
|
2172
|
+
xml?: boolean;
|
|
2173
|
+
sourceData?: boolean;
|
|
2174
|
+
parsePre?: boolean;
|
|
2175
|
+
consecutive?: boolean;
|
|
2176
|
+
firstRow?: boolean;
|
|
2177
|
+
xl97?: boolean;
|
|
2178
|
+
textDates?: boolean;
|
|
2179
|
+
xl2000?: boolean;
|
|
2180
|
+
post?: string;
|
|
2181
|
+
htmlTables?: boolean;
|
|
2182
|
+
htmlFormat?: "none" | "rtf" | "all";
|
|
2183
|
+
editPage?: string;
|
|
2184
|
+
tables?: WebTableSelection[];
|
|
2185
|
+
}
|
|
2186
|
+
interface ConnectionTextFieldOptions {
|
|
2187
|
+
type?: "general" | "text" | "MDY" | "DMY" | "YMD" | "MYD" | "DYM" | "YDM" | "skip" | "EMD";
|
|
2188
|
+
position?: number;
|
|
2189
|
+
}
|
|
2190
|
+
interface TextPropertiesOptions {
|
|
2191
|
+
prompt?: boolean;
|
|
2192
|
+
fileType?: "mac" | "win" | "dos";
|
|
2193
|
+
codePage?: number;
|
|
2194
|
+
characterSet?: string;
|
|
2195
|
+
firstRow?: number;
|
|
2196
|
+
sourceFile?: string;
|
|
2197
|
+
delimited?: boolean;
|
|
2198
|
+
delimiter?: string;
|
|
2199
|
+
decimal?: string;
|
|
2200
|
+
thousands?: string;
|
|
2201
|
+
tab?: boolean;
|
|
2202
|
+
space?: boolean;
|
|
2203
|
+
comma?: boolean;
|
|
2204
|
+
semicolon?: boolean;
|
|
2205
|
+
consecutive?: boolean;
|
|
2206
|
+
qualifier?: "doubleQuote" | "singleQuote" | "none";
|
|
2207
|
+
textFields?: ConnectionTextFieldOptions[];
|
|
2208
|
+
}
|
|
2209
|
+
interface ParameterOptions {
|
|
2210
|
+
name?: string;
|
|
2211
|
+
sqlType?: number;
|
|
2212
|
+
parameterType?: "prompt" | "value" | "cell";
|
|
2213
|
+
refreshOnChange?: boolean;
|
|
2214
|
+
prompt?: string;
|
|
2215
|
+
boolean?: boolean;
|
|
2216
|
+
double?: number;
|
|
2217
|
+
integer?: number;
|
|
2218
|
+
string?: string;
|
|
2219
|
+
cell?: string;
|
|
2220
|
+
}
|
|
2221
|
+
interface ConnectionOptions {
|
|
2222
|
+
id: number;
|
|
2223
|
+
name?: string;
|
|
2224
|
+
type?: number;
|
|
2225
|
+
refreshedVersion: number;
|
|
2226
|
+
minRefreshableVersion?: number;
|
|
2227
|
+
refreshOnLoad?: boolean;
|
|
2228
|
+
backgroundRefresh?: boolean;
|
|
2229
|
+
saveData?: boolean;
|
|
2230
|
+
savePassword?: boolean;
|
|
2231
|
+
description?: string;
|
|
2232
|
+
credentials?: string;
|
|
2233
|
+
interval?: number;
|
|
2234
|
+
keepAlive?: boolean;
|
|
2235
|
+
new?: boolean;
|
|
2236
|
+
deleted?: boolean;
|
|
2237
|
+
sourceFile?: string;
|
|
2238
|
+
odcFile?: string;
|
|
2239
|
+
onlyUseConnectionFile?: boolean;
|
|
2240
|
+
reconnectionMethod?: number;
|
|
2241
|
+
singleSignOnId?: string;
|
|
2242
|
+
dbPr?: DatabasePropertiesOptions;
|
|
2243
|
+
olapPr?: OLAPPropertiesOptions;
|
|
2244
|
+
webPr?: WebPropertiesOptions;
|
|
2245
|
+
textPr?: TextPropertiesOptions;
|
|
2246
|
+
parameters?: ParameterOptions[];
|
|
2247
|
+
}
|
|
2248
|
+
interface ConnectionsOptions {
|
|
2249
|
+
connections: ConnectionOptions[];
|
|
2250
|
+
}
|
|
2251
|
+
declare const connectionsDesc: CustomDescriptor<ConnectionsOptions>;
|
|
2252
|
+
//#endregion
|
|
2253
|
+
//#region src/parts/dialogsheet.d.ts
|
|
2254
|
+
interface DialogsheetOptions {
|
|
2255
|
+
name?: string;
|
|
2256
|
+
sheetId?: number;
|
|
2257
|
+
state?: "visible" | "hidden" | "veryHidden";
|
|
2258
|
+
tabColor?: string;
|
|
2259
|
+
published?: boolean;
|
|
2260
|
+
codeName?: string;
|
|
2261
|
+
pageMargins?: PageMarginsOptions;
|
|
2262
|
+
pageSetup?: PageSetupOptions;
|
|
2263
|
+
sheetProtection?: SheetProtectionOptions;
|
|
2264
|
+
printOptions?: PrintOptions;
|
|
2265
|
+
headerFooter?: HeaderFooterOptions;
|
|
2266
|
+
drawingRId?: string;
|
|
2267
|
+
legacyDrawingRId?: string;
|
|
2268
|
+
extLst?: string;
|
|
2269
|
+
}
|
|
2270
|
+
declare const dialogsheetDesc: CustomDescriptor<DialogsheetOptions>;
|
|
2271
|
+
//#endregion
|
|
2272
|
+
//#region src/parts/external-link.d.ts
|
|
2273
|
+
interface ExternalDefinedNameOptions {
|
|
2274
|
+
name: string;
|
|
2275
|
+
refersTo?: string;
|
|
2276
|
+
sheetId?: number;
|
|
2277
|
+
}
|
|
2278
|
+
interface ExternalCellOptions {
|
|
2279
|
+
reference: string;
|
|
2280
|
+
type?: "b" | "n" | "e" | "str";
|
|
2281
|
+
value?: string;
|
|
2282
|
+
valueMetadataIndex?: number;
|
|
2283
|
+
}
|
|
2284
|
+
interface ExternalBookOptions {
|
|
2285
|
+
target?: string;
|
|
2286
|
+
sheetNames?: string[];
|
|
2287
|
+
definedNames?: ExternalDefinedNameOptions[];
|
|
2288
|
+
sheetDataSet?: ExternalSheetDataOptions[];
|
|
2289
|
+
}
|
|
2290
|
+
interface ExternalRowOptions {
|
|
2291
|
+
rowNumber: number;
|
|
2292
|
+
cells?: ExternalCellOptions[];
|
|
2293
|
+
}
|
|
2294
|
+
interface ExternalSheetDataOptions {
|
|
2295
|
+
sheetId: number;
|
|
2296
|
+
refreshError?: boolean;
|
|
2297
|
+
rows?: ExternalRowOptions[];
|
|
2298
|
+
}
|
|
2299
|
+
interface ExternalLinkOptions {
|
|
2300
|
+
externalBook?: ExternalBookOptions;
|
|
2301
|
+
bookRId?: string;
|
|
2302
|
+
ddeLink?: DdeLinkOptions;
|
|
2303
|
+
oleLink?: OleLinkOptions;
|
|
2304
|
+
oleRId?: string;
|
|
2305
|
+
}
|
|
2306
|
+
interface DdeValueOptions {
|
|
2307
|
+
type?: "nil" | "b" | "n" | "e" | "str";
|
|
2308
|
+
value: string;
|
|
2309
|
+
}
|
|
2310
|
+
interface DdeValuesOptions {
|
|
2311
|
+
rows?: number;
|
|
2312
|
+
cols?: number;
|
|
2313
|
+
values: DdeValueOptions[];
|
|
2314
|
+
}
|
|
2315
|
+
interface DdeItemOptions {
|
|
2316
|
+
name?: string;
|
|
2317
|
+
ole?: boolean;
|
|
2318
|
+
advise?: boolean;
|
|
2319
|
+
preferPic?: boolean;
|
|
2320
|
+
values?: DdeValuesOptions;
|
|
2321
|
+
}
|
|
2322
|
+
interface DdeLinkOptions {
|
|
2323
|
+
ddeService: string;
|
|
2324
|
+
ddeTopic: string;
|
|
2325
|
+
ddeItems?: DdeItemOptions[];
|
|
2326
|
+
}
|
|
2327
|
+
interface OleItemOptions {
|
|
2328
|
+
name: string;
|
|
2329
|
+
icon?: boolean;
|
|
2330
|
+
advise?: boolean;
|
|
2331
|
+
preferPic?: boolean;
|
|
2332
|
+
}
|
|
2333
|
+
interface OleLinkOptions {
|
|
2334
|
+
progId?: string;
|
|
2335
|
+
oleItems?: OleItemOptions[];
|
|
2336
|
+
}
|
|
2337
|
+
declare const externalLinkDesc: CustomDescriptor<ExternalLinkOptions>;
|
|
2338
|
+
//#endregion
|
|
2339
|
+
//#region src/parts/metadata.d.ts
|
|
2340
|
+
interface MetadataTypeOptions {
|
|
2341
|
+
name: string;
|
|
2342
|
+
minSupportedVersion: number;
|
|
2343
|
+
ghostRow?: boolean;
|
|
2344
|
+
ghostCol?: boolean;
|
|
2345
|
+
edit?: boolean;
|
|
2346
|
+
delete?: boolean;
|
|
2347
|
+
copy?: boolean;
|
|
2348
|
+
pasteAll?: boolean;
|
|
2349
|
+
pasteFormulas?: boolean;
|
|
2350
|
+
pasteValues?: boolean;
|
|
2351
|
+
pasteFormats?: boolean;
|
|
2352
|
+
pasteComments?: boolean;
|
|
2353
|
+
pasteDataValidation?: boolean;
|
|
2354
|
+
pasteBorders?: boolean;
|
|
2355
|
+
pasteColWidths?: boolean;
|
|
2356
|
+
pasteNumberFormats?: boolean;
|
|
2357
|
+
merge?: boolean;
|
|
2358
|
+
splitFirst?: boolean;
|
|
2359
|
+
splitAll?: boolean;
|
|
2360
|
+
rowColShift?: boolean;
|
|
2361
|
+
clearAll?: boolean;
|
|
2362
|
+
clearFormats?: boolean;
|
|
2363
|
+
clearContents?: boolean;
|
|
2364
|
+
clearComments?: boolean;
|
|
2365
|
+
assign?: boolean;
|
|
2366
|
+
coerce?: boolean;
|
|
2367
|
+
adjust?: boolean;
|
|
2368
|
+
cellMeta?: boolean;
|
|
2369
|
+
}
|
|
2370
|
+
interface MetadataStringOptions {
|
|
2371
|
+
value: string;
|
|
2372
|
+
}
|
|
2373
|
+
interface MetadataStringIndexOptions {
|
|
2374
|
+
index: number;
|
|
2375
|
+
show?: boolean;
|
|
2376
|
+
}
|
|
2377
|
+
interface MdxTupleOptions {
|
|
2378
|
+
count?: number;
|
|
2379
|
+
culture?: string;
|
|
2380
|
+
styleIndex?: number;
|
|
2381
|
+
formatIndex?: number;
|
|
2382
|
+
backgroundColor?: string;
|
|
2383
|
+
foregroundColor?: string;
|
|
2384
|
+
italic?: boolean;
|
|
2385
|
+
underline?: boolean;
|
|
2386
|
+
strikethrough?: boolean;
|
|
2387
|
+
bold?: boolean;
|
|
2388
|
+
stringIndexes?: MetadataStringIndexOptions[];
|
|
2389
|
+
}
|
|
2390
|
+
interface MdxSetOptions {
|
|
2391
|
+
namespaceCount: number;
|
|
2392
|
+
count?: number;
|
|
2393
|
+
order?: "u" | "a" | "d" | "aa" | "ad" | "na" | "nd";
|
|
2394
|
+
stringIndexes?: MetadataStringIndexOptions[];
|
|
2395
|
+
}
|
|
2396
|
+
type MdxFunctionType = "m" | "v" | "s" | "c" | "r" | "p" | "k";
|
|
2397
|
+
type MdxKpiProperty = "v" | "g" | "s" | "t" | "w" | "m";
|
|
2398
|
+
interface MdxMemberPropOptions {
|
|
2399
|
+
nameIndex: number;
|
|
2400
|
+
namePairIndex: number;
|
|
2401
|
+
}
|
|
2402
|
+
interface MdxKpiOptions {
|
|
2403
|
+
nameIndex: number;
|
|
2404
|
+
namePairIndex: number;
|
|
2405
|
+
property: MdxKpiProperty;
|
|
2406
|
+
}
|
|
2407
|
+
interface MdxOptions {
|
|
2408
|
+
functionType: MdxFunctionType;
|
|
2409
|
+
stringIndex: number;
|
|
2410
|
+
tuple?: MdxTupleOptions;
|
|
2411
|
+
set?: MdxSetOptions;
|
|
2412
|
+
memberProp?: MdxMemberPropOptions;
|
|
2413
|
+
kpi?: MdxKpiOptions;
|
|
2414
|
+
}
|
|
2415
|
+
interface FutureMetadataBlockOptions {
|
|
2416
|
+
extLst?: string;
|
|
2417
|
+
}
|
|
2418
|
+
interface FutureMetadataOptions {
|
|
2419
|
+
name: string;
|
|
2420
|
+
blocks?: FutureMetadataBlockOptions[];
|
|
2421
|
+
}
|
|
2422
|
+
interface MetadataRecordOptions {
|
|
2423
|
+
typeIndex: number;
|
|
2424
|
+
valueIndex: number;
|
|
2425
|
+
}
|
|
2426
|
+
interface MetadataBlockOptions {
|
|
2427
|
+
records?: MetadataRecordOptions[];
|
|
2428
|
+
}
|
|
2429
|
+
interface MetadataOptions {
|
|
2430
|
+
types?: MetadataTypeOptions[];
|
|
2431
|
+
strings?: MetadataStringOptions[];
|
|
2432
|
+
mdx?: MdxOptions[];
|
|
2433
|
+
futureMetadata?: FutureMetadataOptions[];
|
|
2434
|
+
cellMetadata?: MetadataBlockOptions[];
|
|
2435
|
+
valueMetadata?: MetadataBlockOptions[];
|
|
2436
|
+
}
|
|
2437
|
+
declare const metadataDesc: CustomDescriptor<MetadataOptions>;
|
|
2438
|
+
//#endregion
|
|
2439
|
+
//#region src/parts/pivot-cache.d.ts
|
|
2440
|
+
type PivotCacheRecordEntry = {
|
|
2441
|
+
type: "string";
|
|
2442
|
+
v: number;
|
|
2443
|
+
} | {
|
|
2444
|
+
type: "number";
|
|
2445
|
+
v: number;
|
|
2446
|
+
} | {
|
|
2447
|
+
type: "date";
|
|
2448
|
+
v: string;
|
|
2449
|
+
} | {
|
|
2450
|
+
type: "error";
|
|
2451
|
+
v: string;
|
|
2452
|
+
} | {
|
|
2453
|
+
type: "missing";
|
|
2454
|
+
};
|
|
2455
|
+
interface PivotCacheRecordsDescriptorOptions {
|
|
2456
|
+
sourceData: PivotSourceData;
|
|
2457
|
+
records?: PivotCacheRecordEntry[][];
|
|
2458
|
+
}
|
|
2459
|
+
interface PivotCacheDefDescriptorOptions {
|
|
2460
|
+
sourceRef: string;
|
|
2461
|
+
sourceSheet: string;
|
|
2462
|
+
sourceData: PivotSourceData;
|
|
2463
|
+
recordsRid: string;
|
|
2464
|
+
cacheDefOpts?: PivotCacheDefinitionOptions;
|
|
2465
|
+
}
|
|
2466
|
+
interface PivotCacheDefWorksheetSource {
|
|
2467
|
+
ref?: string;
|
|
2468
|
+
sheet?: string;
|
|
2469
|
+
}
|
|
2470
|
+
interface PivotCacheDefCacheField {
|
|
2471
|
+
name?: string;
|
|
2472
|
+
numFmtId?: number;
|
|
2473
|
+
sharedItems?: (string | number)[];
|
|
2474
|
+
}
|
|
2475
|
+
interface PivotCacheDefParseResult {
|
|
2476
|
+
invalid?: boolean;
|
|
2477
|
+
saveData?: boolean;
|
|
2478
|
+
optimizeMemory?: boolean;
|
|
2479
|
+
enableRefresh?: boolean;
|
|
2480
|
+
refreshedBy?: string;
|
|
2481
|
+
refreshedDate?: number;
|
|
2482
|
+
refreshedDateIso?: string;
|
|
2483
|
+
backgroundQuery?: boolean;
|
|
2484
|
+
missingItemsLimit?: number;
|
|
2485
|
+
upgradeOnRefresh?: boolean;
|
|
2486
|
+
supportSubquery?: boolean;
|
|
2487
|
+
supportAdvancedDrill?: boolean;
|
|
2488
|
+
refreshOnLoad?: boolean;
|
|
2489
|
+
tupleCache?: boolean;
|
|
2490
|
+
recordCount?: number;
|
|
2491
|
+
sourceType?: string;
|
|
2492
|
+
worksheetSource?: PivotCacheDefWorksheetSource;
|
|
2493
|
+
cacheFields?: PivotCacheDefCacheField[];
|
|
2494
|
+
}
|
|
2495
|
+
interface PivotCacheRecordsParseResult {
|
|
2496
|
+
records: PivotCacheRecordEntry[][];
|
|
2497
|
+
}
|
|
2498
|
+
declare const pivotCacheDefDesc: CustomDescriptor<PivotCacheDefDescriptorOptions, WriteContext, PivotCacheDefParseResult>;
|
|
2499
|
+
declare const pivotCacheRecordsDesc: CustomDescriptor<PivotCacheRecordsDescriptorOptions, WriteContext, PivotCacheRecordsParseResult>;
|
|
2500
|
+
//#endregion
|
|
2501
|
+
//#region src/parts/revision-log/types.d.ts
|
|
2502
|
+
type RowColumnAction = "insertRow" | "deleteRow" | "insertCol" | "deleteCol";
|
|
2503
|
+
type RevisionAction = "add" | "delete";
|
|
2504
|
+
interface RevisionHeaderEntry {
|
|
2505
|
+
guid: Guid;
|
|
2506
|
+
dateTime: string;
|
|
2507
|
+
userName: string;
|
|
2508
|
+
rId: string;
|
|
2509
|
+
maxSheetId: number;
|
|
2510
|
+
sheetIds: number[];
|
|
2511
|
+
reviewed?: number[];
|
|
2512
|
+
minRId?: number;
|
|
2513
|
+
maxRId?: number;
|
|
2514
|
+
}
|
|
2515
|
+
interface RevisionHeadersOptions {
|
|
2516
|
+
guid: Guid;
|
|
2517
|
+
headers: RevisionHeaderEntry[];
|
|
2518
|
+
lastGuid?: Guid;
|
|
2519
|
+
shared?: boolean;
|
|
2520
|
+
diskRevisions?: boolean;
|
|
2521
|
+
history?: boolean;
|
|
2522
|
+
trackRevisions?: boolean;
|
|
2523
|
+
exclusive?: boolean;
|
|
2524
|
+
revisionId?: number;
|
|
2525
|
+
version?: number;
|
|
2526
|
+
keepChangeHistory?: boolean;
|
|
2527
|
+
protected?: boolean;
|
|
2528
|
+
preserveHistory?: number;
|
|
2529
|
+
}
|
|
2530
|
+
interface SharedUserOptions {
|
|
2531
|
+
guid: Guid;
|
|
2532
|
+
name: string;
|
|
2533
|
+
id: number;
|
|
2534
|
+
dateTime: string;
|
|
2535
|
+
}
|
|
2536
|
+
interface UsersOptions {
|
|
2537
|
+
users?: SharedUserOptions[];
|
|
2538
|
+
}
|
|
2539
|
+
interface RevisionUndoOptions {
|
|
2540
|
+
index: number;
|
|
2541
|
+
expression: "ref" | "refError" | "area" | "areaError" | "computedArea";
|
|
2542
|
+
undoRange: string;
|
|
2543
|
+
ref3D?: boolean;
|
|
2544
|
+
array?: boolean;
|
|
2545
|
+
value?: boolean;
|
|
2546
|
+
numberFormat?: boolean;
|
|
2547
|
+
conditionalStyle?: boolean;
|
|
2548
|
+
definedName?: string;
|
|
2549
|
+
reference?: string;
|
|
2550
|
+
sId?: number;
|
|
2551
|
+
}
|
|
2552
|
+
type RevisionNestedChild = {
|
|
2553
|
+
kind: "undo";
|
|
2554
|
+
data: RevisionUndoOptions;
|
|
2555
|
+
} | {
|
|
2556
|
+
kind: "cellChange";
|
|
2557
|
+
data: RevisionCellChangeOptions;
|
|
2558
|
+
} | {
|
|
2559
|
+
kind: "formatting";
|
|
2560
|
+
data: RevisionFormattingOptions;
|
|
2561
|
+
};
|
|
2562
|
+
interface RevisionRowColumnOptions {
|
|
2563
|
+
rId: number;
|
|
2564
|
+
sheetId: number;
|
|
2565
|
+
ref: string;
|
|
2566
|
+
action: RowColumnAction;
|
|
2567
|
+
endOfList?: boolean;
|
|
2568
|
+
edge?: boolean;
|
|
2569
|
+
undo?: boolean;
|
|
2570
|
+
rejected?: boolean;
|
|
2571
|
+
children?: RevisionNestedChild[];
|
|
2572
|
+
}
|
|
2573
|
+
interface RevisionMoveOptions {
|
|
2574
|
+
rId: number;
|
|
2575
|
+
sheetId: number;
|
|
2576
|
+
source: string;
|
|
2577
|
+
destination: string;
|
|
2578
|
+
sourceSheetId?: number;
|
|
2579
|
+
undo?: boolean;
|
|
2580
|
+
rejected?: boolean;
|
|
2581
|
+
children?: RevisionNestedChild[];
|
|
2582
|
+
}
|
|
2583
|
+
interface RevisionCustomViewOptions {
|
|
2584
|
+
guid: Guid;
|
|
2585
|
+
action: RevisionAction;
|
|
2586
|
+
}
|
|
2587
|
+
interface RevisionSheetRenameOptions {
|
|
2588
|
+
rId: number;
|
|
2589
|
+
sheetId: number;
|
|
2590
|
+
oldName: string;
|
|
2591
|
+
newName: string;
|
|
2592
|
+
undo?: boolean;
|
|
2593
|
+
rejected?: boolean;
|
|
2594
|
+
}
|
|
2595
|
+
interface RevisionInsertSheetOptions {
|
|
2596
|
+
rId: number;
|
|
2597
|
+
sheetId: number;
|
|
2598
|
+
name: string;
|
|
2599
|
+
sheetPosition: number;
|
|
2600
|
+
undo?: boolean;
|
|
2601
|
+
rejected?: boolean;
|
|
2602
|
+
}
|
|
2603
|
+
interface RevisionCellChangeOptions {
|
|
2604
|
+
rId: number;
|
|
2605
|
+
sheetId: number;
|
|
2606
|
+
hasOldDxf?: boolean;
|
|
2607
|
+
xfDxf?: boolean;
|
|
2608
|
+
style?: boolean;
|
|
2609
|
+
hasDxf?: boolean;
|
|
2610
|
+
numFmtId?: number;
|
|
2611
|
+
quotePrefix?: boolean;
|
|
2612
|
+
oldQuotePrefix?: boolean;
|
|
2613
|
+
phonetic?: boolean;
|
|
2614
|
+
oldPhonetic?: boolean;
|
|
2615
|
+
endOfListFormulaUpdate?: boolean;
|
|
2616
|
+
undo?: boolean;
|
|
2617
|
+
rejected?: boolean;
|
|
2618
|
+
oldCellXml?: string;
|
|
2619
|
+
newCellXml: string;
|
|
2620
|
+
oldDxfXml?: string;
|
|
2621
|
+
newDxfXml?: string;
|
|
2622
|
+
}
|
|
2623
|
+
interface RevisionFormattingOptions {
|
|
2624
|
+
sheetId: number;
|
|
2625
|
+
sqref: string;
|
|
2626
|
+
xfDxf?: boolean;
|
|
2627
|
+
style?: boolean;
|
|
2628
|
+
start?: number;
|
|
2629
|
+
length?: number;
|
|
2630
|
+
dxfXml?: string;
|
|
2631
|
+
}
|
|
2632
|
+
interface RevisionAutoFormattingOptions {
|
|
2633
|
+
sheetId: number;
|
|
2634
|
+
ref: string;
|
|
2635
|
+
autoFormatXml?: string;
|
|
2636
|
+
}
|
|
2637
|
+
interface RevisionDefinedNameOptions {
|
|
2638
|
+
rId: number;
|
|
2639
|
+
name: string;
|
|
2640
|
+
localSheetId?: number;
|
|
2641
|
+
customView?: boolean;
|
|
2642
|
+
formula?: string;
|
|
2643
|
+
oldFormula?: string;
|
|
2644
|
+
function?: boolean;
|
|
2645
|
+
oldFunction?: boolean;
|
|
2646
|
+
functionGroupId?: number;
|
|
2647
|
+
oldFunctionGroupId?: number;
|
|
2648
|
+
shortcutKey?: number;
|
|
2649
|
+
oldShortcutKey?: number;
|
|
2650
|
+
hidden?: boolean;
|
|
2651
|
+
oldHidden?: boolean;
|
|
2652
|
+
customMenu?: string;
|
|
2653
|
+
oldCustomMenu?: string;
|
|
2654
|
+
description?: string;
|
|
2655
|
+
oldDescription?: string;
|
|
2656
|
+
help?: string;
|
|
2657
|
+
oldHelp?: string;
|
|
2658
|
+
statusBar?: string;
|
|
2659
|
+
oldStatusBar?: string;
|
|
2660
|
+
comment?: string;
|
|
2661
|
+
oldComment?: string;
|
|
2662
|
+
undo?: boolean;
|
|
2663
|
+
rejected?: boolean;
|
|
2664
|
+
}
|
|
2665
|
+
interface RevisionCommentOptions {
|
|
2666
|
+
sheetId: number;
|
|
2667
|
+
cell: string;
|
|
2668
|
+
guid: Guid;
|
|
2669
|
+
action?: RevisionAction;
|
|
2670
|
+
alwaysShow?: boolean;
|
|
2671
|
+
old?: boolean;
|
|
2672
|
+
hiddenRow?: boolean;
|
|
2673
|
+
hiddenColumn?: boolean;
|
|
2674
|
+
author: string;
|
|
2675
|
+
oldLength?: number;
|
|
2676
|
+
newLength?: number;
|
|
2677
|
+
}
|
|
2678
|
+
interface RevisionQueryTableFieldOptions {
|
|
2679
|
+
sheetId: number;
|
|
2680
|
+
ref: string;
|
|
2681
|
+
fieldId: number;
|
|
2682
|
+
}
|
|
2683
|
+
interface RevisionConflictOptions {
|
|
2684
|
+
rId: number;
|
|
2685
|
+
undo?: boolean;
|
|
2686
|
+
rejected?: boolean;
|
|
2687
|
+
sheetId?: number;
|
|
2688
|
+
}
|
|
2689
|
+
type RevisionEntry = {
|
|
2690
|
+
type: "rowColumn";
|
|
2691
|
+
data: RevisionRowColumnOptions;
|
|
2692
|
+
} | {
|
|
2693
|
+
type: "move";
|
|
2694
|
+
data: RevisionMoveOptions;
|
|
2695
|
+
} | {
|
|
2696
|
+
type: "customView";
|
|
2697
|
+
data: RevisionCustomViewOptions;
|
|
2698
|
+
} | {
|
|
2699
|
+
type: "sheetRename";
|
|
2700
|
+
data: RevisionSheetRenameOptions;
|
|
2701
|
+
} | {
|
|
2702
|
+
type: "insertSheet";
|
|
2703
|
+
data: RevisionInsertSheetOptions;
|
|
2704
|
+
} | {
|
|
2705
|
+
type: "cellChange";
|
|
2706
|
+
data: RevisionCellChangeOptions;
|
|
2707
|
+
} | {
|
|
2708
|
+
type: "formatting";
|
|
2709
|
+
data: RevisionFormattingOptions;
|
|
2710
|
+
} | {
|
|
2711
|
+
type: "autoFormatting";
|
|
2712
|
+
data: RevisionAutoFormattingOptions;
|
|
2713
|
+
} | {
|
|
2714
|
+
type: "definedName";
|
|
2715
|
+
data: RevisionDefinedNameOptions;
|
|
2716
|
+
} | {
|
|
2717
|
+
type: "comment";
|
|
2718
|
+
data: RevisionCommentOptions;
|
|
2719
|
+
} | {
|
|
2720
|
+
type: "queryTableField";
|
|
2721
|
+
data: RevisionQueryTableFieldOptions;
|
|
2722
|
+
} | {
|
|
2723
|
+
type: "conflict";
|
|
2724
|
+
data: RevisionConflictOptions;
|
|
2725
|
+
};
|
|
2726
|
+
interface RevisionLogOptions {
|
|
2727
|
+
revisions: RevisionEntry[];
|
|
2728
|
+
}
|
|
2729
|
+
//#endregion
|
|
2730
|
+
//#region src/parts/file.d.ts
|
|
2731
|
+
interface WorkbookOptions extends CorePropertiesOptions$1 {
|
|
2732
|
+
worksheets?: WorksheetOptions[];
|
|
2733
|
+
encrypted?: EncryptedContainerOptions;
|
|
2734
|
+
absPath?: string;
|
|
2735
|
+
revisionPtr?: RevisionPtrOptions;
|
|
2736
|
+
extensions?: WorkbookExtensionOptions[];
|
|
2737
|
+
chartsheets?: ChartsheetOptions[];
|
|
2738
|
+
dialogsheets?: DialogsheetOptions[];
|
|
2739
|
+
dxfs?: DxfOptions[];
|
|
2740
|
+
fonts?: FontOptions[];
|
|
2741
|
+
fills?: CellFillOptions[];
|
|
2742
|
+
borders?: BorderSideOptions[];
|
|
2743
|
+
cellXfs?: IndexedXfEntry[];
|
|
2744
|
+
numFmts?: NumFmtEntry[];
|
|
2745
|
+
colors?: ColorsOptions;
|
|
2746
|
+
tableStyles?: CustomTableStyleOptions[];
|
|
2747
|
+
theme?: ThemeOptions;
|
|
2748
|
+
cellStyles?: CustomCellStyleOptions[];
|
|
2749
|
+
cellStyleXfs?: CellStyleXfOptions[];
|
|
2750
|
+
styleExtensions?: StyleExtensionOptions[];
|
|
2751
|
+
workbookProtection?: WorkbookProtectionOptions;
|
|
2752
|
+
externalLinks?: ExternalLinkOptions[];
|
|
2753
|
+
connections?: ConnectionOptions[];
|
|
2754
|
+
metadata?: MetadataOptions;
|
|
2755
|
+
xmlMaps?: MapInfoOptions;
|
|
2756
|
+
customWorkbookViews?: CustomWorkbookViewOptions[];
|
|
2757
|
+
fileRecoveryPr?: FileRecoveryPropertiesOptions;
|
|
2758
|
+
functionGroups?: string[];
|
|
2759
|
+
webPublishing?: WebPublishingOptions;
|
|
2760
|
+
fileSharing?: FileSharingOptions;
|
|
2761
|
+
volTypes?: VolTypeOptions[];
|
|
2762
|
+
webPublishObjects?: WebPublishObjectOptions[];
|
|
2763
|
+
definedNames?: DefinedNameOptions[];
|
|
2764
|
+
bookView?: WorkbookViewOptions;
|
|
2765
|
+
calcPr?: CalculationPropertiesOptions;
|
|
2766
|
+
oleSize?: string;
|
|
2767
|
+
workbookPr?: WorkbookPropertiesOptions;
|
|
2768
|
+
calcChain?: CalcCell[];
|
|
2769
|
+
pivotCaches?: PivotCacheDefParseResult[];
|
|
2770
|
+
pivotCacheRefs?: PivotCacheReference[];
|
|
2771
|
+
pivotCacheRecords?: PivotCacheRecordsParseResult[];
|
|
2772
|
+
sharedStrings?: (string | RichTextOptions)[];
|
|
2773
|
+
appProperties?: AppPropertiesOptions;
|
|
2774
|
+
customProperties?: CustomPropertyOptions[];
|
|
2775
|
+
revisionLog?: SharedWorkbookOptions;
|
|
2776
|
+
contentTypes?: ContentTypesInput;
|
|
2777
|
+
rawParts?: {
|
|
2778
|
+
path: string;
|
|
2779
|
+
data: DataType;
|
|
2780
|
+
contentType?: string;
|
|
2781
|
+
}[];
|
|
2782
|
+
passthroughRelationships?: {
|
|
2783
|
+
source: string;
|
|
2784
|
+
relationshipType: string;
|
|
2785
|
+
target: string;
|
|
2786
|
+
rId: string;
|
|
2787
|
+
targetMode?: "External";
|
|
2788
|
+
}[];
|
|
2789
|
+
}
|
|
2790
|
+
interface SharedWorkbookOptions {
|
|
2791
|
+
headers: RevisionHeadersOptions;
|
|
2792
|
+
logs: RevisionLogOptions[];
|
|
2793
|
+
users?: UsersOptions;
|
|
2794
|
+
}
|
|
2795
|
+
//#endregion
|
|
2796
|
+
//#region src/parts/comments.d.ts
|
|
2797
|
+
interface CommentsDocOptions {
|
|
2798
|
+
comments: CommentOptions[];
|
|
2799
|
+
}
|
|
2800
|
+
declare const commentsDesc: CustomDescriptor<CommentsDocOptions>;
|
|
2801
|
+
interface VmlNoteAnchor {
|
|
2802
|
+
row: number;
|
|
2803
|
+
column: number;
|
|
2804
|
+
anchor?: NoteAnchorOptions;
|
|
2805
|
+
visible: boolean;
|
|
2806
|
+
width?: number;
|
|
2807
|
+
height?: number;
|
|
2808
|
+
}
|
|
2809
|
+
declare const vmlNotesDesc: CustomDescriptor<CommentsDocOptions, WriteContext, VmlNoteAnchor[]>;
|
|
2810
|
+
//#endregion
|
|
2811
|
+
//#region src/parts/pivot-table/types.d.ts
|
|
2812
|
+
interface PivotTableDescriptorOptions {
|
|
2813
|
+
options: PivotTableOptions;
|
|
2814
|
+
sourceData: PivotSourceData;
|
|
2815
|
+
cacheId: number;
|
|
2816
|
+
}
|
|
2817
|
+
interface PivotFieldParseResult {
|
|
2818
|
+
axis?: string;
|
|
2819
|
+
showAll?: boolean;
|
|
2820
|
+
dataField?: boolean;
|
|
2821
|
+
hierarchy?: string;
|
|
2822
|
+
dragToRow?: boolean;
|
|
2823
|
+
dragToCol?: boolean;
|
|
2824
|
+
dragToPage?: boolean;
|
|
2825
|
+
dragToData?: boolean;
|
|
2826
|
+
dragOff?: boolean;
|
|
2827
|
+
showDropDowns?: boolean;
|
|
2828
|
+
insertBlankRow?: boolean;
|
|
2829
|
+
showPropCell?: boolean;
|
|
2830
|
+
showPropTip?: boolean;
|
|
2831
|
+
showPropAsCaption?: boolean;
|
|
2832
|
+
compact?: boolean;
|
|
2833
|
+
outline?: boolean;
|
|
2834
|
+
subtotalTop?: boolean;
|
|
2835
|
+
includeNewItemsInFilter?: boolean;
|
|
2836
|
+
avgSubtotal?: boolean;
|
|
2837
|
+
countASubtotal?: boolean;
|
|
2838
|
+
maxSubtotal?: boolean;
|
|
2839
|
+
minSubtotal?: boolean;
|
|
2840
|
+
sumSubtotal?: boolean;
|
|
2841
|
+
}
|
|
2842
|
+
interface DataFieldParseResult {
|
|
2843
|
+
name?: string;
|
|
2844
|
+
fld?: number;
|
|
2845
|
+
subtotal?: string;
|
|
2846
|
+
showDataAs?: string;
|
|
2847
|
+
baseField?: number;
|
|
2848
|
+
baseItem?: number;
|
|
2849
|
+
numFmtId?: string;
|
|
2850
|
+
}
|
|
2851
|
+
interface PageFieldParseResult {
|
|
2852
|
+
fld?: number;
|
|
2853
|
+
hier?: number;
|
|
2854
|
+
cap?: string;
|
|
2855
|
+
item?: number;
|
|
2856
|
+
}
|
|
2857
|
+
interface PivotFormatParseResult {
|
|
2858
|
+
action?: string;
|
|
2859
|
+
dxfId?: number;
|
|
2860
|
+
pivotArea?: Partial<PivotAreaOptions>;
|
|
2861
|
+
}
|
|
2862
|
+
interface ConditionalFormatParseResult {
|
|
2863
|
+
scope?: string;
|
|
2864
|
+
type?: string;
|
|
2865
|
+
priority?: number;
|
|
2866
|
+
pivotAreas?: Partial<PivotAreaOptions>[];
|
|
2867
|
+
}
|
|
2868
|
+
interface ChartFormatParseResult {
|
|
2869
|
+
chart?: number;
|
|
2870
|
+
format?: number;
|
|
2871
|
+
series?: boolean;
|
|
2872
|
+
pivotArea?: Partial<PivotAreaOptions>;
|
|
2873
|
+
}
|
|
2874
|
+
interface PivotHierarchyParseResult {
|
|
2875
|
+
outline?: boolean;
|
|
2876
|
+
multipleItemSelectionAllowed?: boolean;
|
|
2877
|
+
subtotalTop?: boolean;
|
|
2878
|
+
showInFieldList?: boolean;
|
|
2879
|
+
dragToRow?: boolean;
|
|
2880
|
+
dragToCol?: boolean;
|
|
2881
|
+
dragToPage?: boolean;
|
|
2882
|
+
dragToData?: boolean;
|
|
2883
|
+
dragOff?: boolean;
|
|
2884
|
+
includeNewItemsInFilter?: boolean;
|
|
2885
|
+
caption?: string;
|
|
2886
|
+
}
|
|
2887
|
+
interface PivotFilterParseResult {
|
|
2888
|
+
fld?: number;
|
|
2889
|
+
type?: string;
|
|
2890
|
+
id?: number;
|
|
2891
|
+
mpFld?: number;
|
|
2892
|
+
evalOrder?: number;
|
|
2893
|
+
iMeasureHier?: number;
|
|
2894
|
+
iMeasureFld?: number;
|
|
2895
|
+
stringValue1?: string;
|
|
2896
|
+
stringValue2?: string;
|
|
2897
|
+
}
|
|
2898
|
+
interface HierarchyUsageParseResult {
|
|
2899
|
+
hierarchyUsage: number;
|
|
2900
|
+
}
|
|
2901
|
+
interface CalculatedItemParseResult {
|
|
2902
|
+
field?: number;
|
|
2903
|
+
formula?: string;
|
|
2904
|
+
pivotArea?: Partial<PivotAreaOptions>;
|
|
2905
|
+
}
|
|
2906
|
+
interface CalculatedMemberParseResult {
|
|
2907
|
+
name?: string;
|
|
2908
|
+
mdx?: string;
|
|
2909
|
+
memberName?: string;
|
|
2910
|
+
hierarchy?: string;
|
|
2911
|
+
parent?: string;
|
|
2912
|
+
solveOrder?: number;
|
|
2913
|
+
set?: boolean;
|
|
2914
|
+
}
|
|
2915
|
+
interface PivotTableParseResult {
|
|
2916
|
+
name?: string;
|
|
2917
|
+
cacheId?: number;
|
|
2918
|
+
dataOnRows?: boolean;
|
|
2919
|
+
showHeaders?: boolean;
|
|
2920
|
+
showEmptyRow?: boolean;
|
|
2921
|
+
showEmptyCol?: boolean;
|
|
2922
|
+
grandTotalCaption?: string;
|
|
2923
|
+
errorCaption?: string;
|
|
2924
|
+
showError?: boolean;
|
|
2925
|
+
missingCaption?: string;
|
|
2926
|
+
showMissing?: boolean;
|
|
2927
|
+
pageStyle?: string;
|
|
2928
|
+
pivotTableStyle?: string;
|
|
2929
|
+
tag?: string;
|
|
2930
|
+
showItems?: boolean;
|
|
2931
|
+
editData?: boolean;
|
|
2932
|
+
disableFieldList?: boolean;
|
|
2933
|
+
showCalcMbrs?: boolean;
|
|
2934
|
+
visualTotals?: boolean;
|
|
2935
|
+
showMultipleLabel?: boolean;
|
|
2936
|
+
showDataDropDown?: boolean;
|
|
2937
|
+
showDrill?: boolean;
|
|
2938
|
+
printDrill?: boolean;
|
|
2939
|
+
showMemberPropertyTips?: boolean;
|
|
2940
|
+
showDataTips?: boolean;
|
|
2941
|
+
enableWizard?: boolean;
|
|
2942
|
+
enableDrill?: boolean;
|
|
2943
|
+
enableFieldProperties?: boolean;
|
|
2944
|
+
pageWrap?: number;
|
|
2945
|
+
pageOverThenDown?: boolean;
|
|
2946
|
+
subtotalHiddenItems?: boolean;
|
|
2947
|
+
fieldPrintTitles?: boolean;
|
|
2948
|
+
mergeItem?: boolean;
|
|
2949
|
+
showDropZones?: boolean;
|
|
2950
|
+
published?: boolean;
|
|
2951
|
+
gridDropZones?: boolean;
|
|
2952
|
+
multipleFieldFilters?: boolean;
|
|
2953
|
+
rowHeaderCaption?: string;
|
|
2954
|
+
colHeaderCaption?: string;
|
|
2955
|
+
fieldListSortAscending?: boolean;
|
|
2956
|
+
mdxSubqueries?: boolean;
|
|
2957
|
+
customListSort?: boolean;
|
|
2958
|
+
asteriskTotals?: boolean;
|
|
2959
|
+
dataPosition?: number;
|
|
2960
|
+
immersive?: boolean;
|
|
2961
|
+
vacatedStyle?: string;
|
|
2962
|
+
chartFormat?: boolean;
|
|
2963
|
+
preserveFormatting?: boolean;
|
|
2964
|
+
dataCaption?: string;
|
|
2965
|
+
location?: string;
|
|
2966
|
+
locationRowPageCount?: number;
|
|
2967
|
+
locationColPageCount?: number;
|
|
2968
|
+
pivotFields?: PivotFieldParseResult[];
|
|
2969
|
+
dataFields?: DataFieldParseResult[];
|
|
2970
|
+
rowFields?: number[];
|
|
2971
|
+
colFields?: number[];
|
|
2972
|
+
pageFields?: PageFieldParseResult[];
|
|
2973
|
+
formats?: PivotFormatParseResult[];
|
|
2974
|
+
conditionalFormats?: ConditionalFormatParseResult[];
|
|
2975
|
+
chartFormats?: ChartFormatParseResult[];
|
|
2976
|
+
pivotHierarchies?: PivotHierarchyParseResult[];
|
|
2977
|
+
filters?: PivotFilterParseResult[];
|
|
2978
|
+
rowHierarchiesUsage?: HierarchyUsageParseResult[];
|
|
2979
|
+
colHierarchiesUsage?: HierarchyUsageParseResult[];
|
|
2980
|
+
calculatedItems?: CalculatedItemParseResult[];
|
|
2981
|
+
calculatedMembers?: CalculatedMemberParseResult[];
|
|
2982
|
+
style?: string;
|
|
2983
|
+
}
|
|
2984
|
+
//#endregion
|
|
2985
|
+
//#region src/parts/pivot-table/descriptor.d.ts
|
|
2986
|
+
declare const pivotTableDesc: CustomDescriptor<PivotTableDescriptorOptions, WriteContext, PivotTableParseResult>;
|
|
2987
|
+
//#endregion
|
|
2988
|
+
//#region src/shared/media.d.ts
|
|
2989
|
+
interface MediaData extends BaseMediaEntry {
|
|
2990
|
+
width: number;
|
|
2991
|
+
height: number;
|
|
2992
|
+
}
|
|
2993
|
+
//#endregion
|
|
2994
|
+
//#region src/shared/formula-lint.d.ts
|
|
2995
|
+
interface FormulaIssue {
|
|
2996
|
+
location: string;
|
|
2997
|
+
formula: string;
|
|
2998
|
+
message: string;
|
|
2999
|
+
}
|
|
3000
|
+
declare function lintWorkbookFormulas(options: WorkbookOptions): FormulaIssue[];
|
|
3001
|
+
//#endregion
|
|
3002
|
+
//#region src/util/index.d.ts
|
|
3003
|
+
declare function columnToLetter(col: number): string;
|
|
3004
|
+
declare function letterToColumn(letters: string): number;
|
|
3005
|
+
declare function dateToSerialNumber(date: Date): number;
|
|
3006
|
+
declare function hashPassword(password: string): string;
|
|
3007
|
+
//#endregion
|
|
3008
|
+
//#region src/parse.d.ts
|
|
3009
|
+
interface XlsxPartRefs {
|
|
3010
|
+
worksheets: string[];
|
|
3011
|
+
charts: string[];
|
|
3012
|
+
media: string[];
|
|
3013
|
+
drawings: string[];
|
|
3014
|
+
}
|
|
3015
|
+
interface XlsxDocument {
|
|
3016
|
+
doc: ParsedArchive;
|
|
3017
|
+
workbook?: Element;
|
|
3018
|
+
worksheets: string[];
|
|
3019
|
+
styles?: Element;
|
|
3020
|
+
sharedStrings?: Element;
|
|
3021
|
+
theme?: string;
|
|
3022
|
+
partRefs: XlsxPartRefs;
|
|
3023
|
+
coreProps?: string;
|
|
3024
|
+
appProps?: string;
|
|
3025
|
+
customProps?: string;
|
|
3026
|
+
}
|
|
3027
|
+
declare function parseXlsx(data: DataType): XlsxDocument;
|
|
3028
|
+
declare function parseWorkbook(data: DataType): WorkbookOptions;
|
|
3029
|
+
//#endregion
|
|
3030
|
+
//#region src/patch.d.ts
|
|
3031
|
+
type ScalarValue = string | number | boolean | Date;
|
|
3032
|
+
type Patch = ScalarValue;
|
|
3033
|
+
interface PatchWorkbookOptions<T extends OutputType$1 = OutputType$1> extends BasePatchOptions<T, ScalarValue> {
|
|
3034
|
+
worksheets?: {
|
|
3035
|
+
replace?: Readonly<Record<string, WorksheetOptions>>;
|
|
3036
|
+
append?: Readonly<WorksheetOptions[]>;
|
|
3037
|
+
remove?: readonly string[];
|
|
3038
|
+
};
|
|
3039
|
+
comments?: Readonly<Record<string, CommentOptions[]>>;
|
|
3040
|
+
}
|
|
3041
|
+
declare const patchWorkbook: <T extends OutputType$1 = OutputType$1>({ outputType, data, placeholders, findReplace, coreProperties, worksheets, comments, placeholderDelimiters }: PatchWorkbookOptions<T>) => Promise<OutputByType$1[T]>;
|
|
3042
|
+
//#endregion
|
|
3043
|
+
//#region src/compiler.d.ts
|
|
3044
|
+
declare function compileWorkbook(options: WorkbookOptions, overrides?: XmlifyedFile[], mediaLevel?: number): Zippable;
|
|
3045
|
+
//#endregion
|
|
3046
|
+
//#region src/context.d.ts
|
|
3047
|
+
interface HyperlinkEntry {
|
|
3048
|
+
key: string;
|
|
3049
|
+
url: string;
|
|
3050
|
+
tooltip?: string;
|
|
3051
|
+
}
|
|
3052
|
+
declare class XlsxWriteContext implements WriteContext {
|
|
3053
|
+
sharedStrings: SharedStrings;
|
|
3054
|
+
styles: Styles;
|
|
3055
|
+
media: Media<MediaData>;
|
|
3056
|
+
charts: ChartCollection;
|
|
3057
|
+
workbookRels: Relationships;
|
|
3058
|
+
pivotCacheRefs: PivotCacheReference[];
|
|
3059
|
+
private _hyperlinks;
|
|
3060
|
+
addRelationship(type: RelationshipType, target: string, _mode?: string): string;
|
|
3061
|
+
addMedia(data: Uint8Array, type: string): string;
|
|
3062
|
+
addHyperlink(key: string, target: HyperlinkTarget): void;
|
|
3063
|
+
registerDxf(opts: DxfOptions): number;
|
|
3064
|
+
get hyperlinks(): HyperlinkEntry[];
|
|
3065
|
+
}
|
|
3066
|
+
declare class XlsxReadContext implements ReadContext {
|
|
3067
|
+
private xlsx;
|
|
3068
|
+
readonly sharedStrings: (string | RichTextOptions)[];
|
|
3069
|
+
currentPart: string;
|
|
3070
|
+
private readonly partRels;
|
|
3071
|
+
constructor(xlsx: XlsxDocument, sharedStrings?: (string | RichTextOptions)[]);
|
|
3072
|
+
private loadPartRels;
|
|
3073
|
+
withPart<T>(partPath: string, fn: () => T): T;
|
|
3074
|
+
resolveRelationship(rId: string): string | undefined;
|
|
3075
|
+
resolveWorksheetRel(wsPath: string, rId: string): string | undefined;
|
|
3076
|
+
getWorksheetRelsByType(wsPath: string, typeFragment: string): Array<{
|
|
3077
|
+
rId: string;
|
|
3078
|
+
target: string;
|
|
593
3079
|
}>;
|
|
594
3080
|
getPart(path: string): Element | undefined;
|
|
595
3081
|
getRaw(path: string): Uint8Array | undefined;
|
|
596
|
-
resolveStyle(styleIndex: number): StyleOptions | undefined;
|
|
597
3082
|
}
|
|
598
3083
|
//#endregion
|
|
599
|
-
|
|
3084
|
+
//#region src/generate.d.ts
|
|
3085
|
+
declare function generateWorkbook<T extends OutputType$1 = "nodebuffer">(options: WorkbookOptions, packerOptions?: PackerOptions$1<T>): Promise<OutputByType$1[T]>;
|
|
3086
|
+
declare function generateWorkbookSync<T extends OutputType$1 = "nodebuffer">(options: WorkbookOptions, packerOptions?: PackerOptions$1<T>): OutputByType$1[T];
|
|
3087
|
+
declare function generateWorkbookStream(options: WorkbookOptions, packerOptions?: PackerOptions$1): ReadableStream<Uint8Array>;
|
|
3088
|
+
//#endregion
|
|
3089
|
+
export { type AlignmentOptions, type AnchorType, type AutoFilterOptions, type BorderOptions, type BorderSideOptions, type CalcChainOptions, type CellFillOptions, type CellOptions, type CellStyleXfOptions, type CfvoOptions, type CfvoType, type ChartsheetDescriptorOptions, type ChartsheetOptions, type ChartsheetPageSetup, type ChartsheetProtectionOptions, type ColorFilterOptions, type ColorScaleOptions, type ColumnOptions, type CommentOptions, type CommentsDocOptions, type CompressionOptions, type ConditionalFormatOptions, type ConditionalFormatRule, type ConnectionOptions, type ConnectionTextFieldOptions, type ConnectionsOptions, type ConnectorOptions, type ConsolidateFunction, type CorePropertiesOptions, type CustomCellStyleOptions, type CustomFilterEntry, type CustomFilterOperator, type CustomFiltersOptions, type CustomTableStyleOptions, type CustomWorkbookViewOptions, type DataBarOptions, type DataBindingOptions, type DataValidationOptions, type DatabasePropertiesOptions, type DateGroupFilterOptions, type DefinedNameOptions, type DialogsheetOptions, type DrawingAnchorOptions, type DrawingChartOptions, type DrawingContentPartOptions, type DrawingOptions, type DrawingPictureOptions, type DynamicFilterOptions, type EditAsType, type ExternalBookOptions, type ExternalCellOptions, type ExternalDefinedNameOptions, type ExternalLinkOptions, type ExternalRowOptions, type ExternalSheetDataOptions, type FileRecoveryPropertiesOptions, type FileSharingOptions, type FilterColumnOptions, type FilterItemsOptions, type FontOptions, type FormulaIssue, type FormulaOptions, type FreezePaneOptions, type FutureMetadataBlockOptions, type FutureMetadataOptions, type GroupConnectorChildOptions, type GroupOptions, type GroupShapeChildOptions, type HeaderFooterOptions, type HyperlinkOptions, type IconFilterOptions, type IconSetOptions, type IconSetType, type IgnoredErrorOptions, type MapInfoOptions, type MapOptions, type MdxFunctionType, type MdxKpiOptions, type MdxKpiProperty, type MdxMemberPropOptions, type MdxOptions, type MdxSetOptions, type MdxTupleOptions, Media, type MediaData, type MergeCellOptions, type MetadataBlockOptions, type MetadataOptions, type MetadataRecordOptions, type MetadataStringIndexOptions, type MetadataStringOptions, type MetadataTypeOptions, type NoteAnchorOptions, type OleItemOptions, type OleLinkOptions, type OutputByType, type OutputType, type PackerOptions, type PageMarginsOptions, type PageSetupOptions, type ParameterOptions, type Patch, type PatchWorkbookOptions, type PhoneticPropertiesOptions, type PictureOptions, type PivotCacheDefDescriptorOptions, type PivotDataField, type PivotFilterOptions, PivotFilterType as PivotFilterTypeValue, type PivotPageFieldOptions, type PivotTableDescriptorOptions, type PivotTableOptions, type PrintOptions, type ProtectedRangeOptions, type QueryTableDeletedFieldOptions, type QueryTableFieldOptions, type QueryTableOptions, type QueryTableRefreshOptions, type RevisionCellChangeOptions, type RevisionCommentOptions, type RevisionDefinedNameOptions, type RevisionEntry, type RevisionFormattingOptions, type RevisionHeaderEntry, type RevisionHeadersOptions, type RevisionInsertSheetOptions, type RevisionLogOptions, type RevisionMoveOptions, type RevisionRowColumnOptions, type RowOptions, type ScalarValue, type ScenarioCellOptions, type ScenarioDefinition, type ScenarioOptions, type SchemaOptions, type ShapeOptions, SharedStrings, type SharedStringsDocOptions, type SheetBackgroundImageOptions, type SheetProtectionOptions, type SheetViewOptions, type SingleXmlCellOptions, type SingleXmlCellsOptions, type SortCondition, type SortStateOptions, type StyleExtensionOptions, type StyleOptions, Styles, type StylesDocOptions, type TableColumnOptions, type TableOptions, type TableStyleInfoOptions, TableType, type TextPropertiesOptions, type Top10FilterOptions, TotalsRowFunction, type WebPropertiesOptions, type WebPublishingOptions, type WebTableSelection, type WorkbookOptions, type WorkbookProtectionOptions, type WorksheetChartOptions, type WorksheetContext, type WorksheetOptions, type XlsxDocument, type XlsxPartRefs, XlsxReadContext, XlsxWriteContext, type XmlCellPropertiesOptions, type XmlColumnPropertiesOptions, type XmlPropertiesOptions, buildExternalReferencesXml, buildTablePartsXml, stringifyWorksheet as buildWorksheetXml, stringifyWorksheet, calcChainDesc, chartsheetDesc, columnToLetter, commentsDesc, compileWorkbook, connectionsDesc, createThemeXml, dateToSerialNumber, dialogsheetDesc, drawingDesc, externalLinkDesc, generateWorkbook, generateWorkbookStream, generateWorkbookSync, hashPassword, letterToColumn, lintWorkbookFormulas, mapInfoDesc, metadataDesc, parseWorkbook, parseXlsx, patchWorkbook, pickAnchorOptions, pivotCacheDefDesc, pivotCacheRecordsDesc, pivotTableDesc, queryTableDesc, sharedStringsDesc, singleXmlCellsDesc, stylesDesc, tableDesc, vmlNotesDesc, workbookDesc, worksheetDesc };
|
|
600
3090
|
//# sourceMappingURL=index.d.mts.map
|