@silurus/ooxml 0.87.0 → 0.89.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 +118 -23
- package/THIRD_PARTY_NOTICES.md +7 -6
- package/dist/abort-VrnK7mdP.js +10 -0
- package/dist/assets/render-worker-CUOU6mL2.js +16 -0
- package/dist/assets/render-worker-DOqrFhSU.js +15 -0
- package/dist/assets/render-worker-DvWUdZUN.js +35 -0
- package/dist/bounded-raw-part-cache-B7JoC1CD.js +64586 -0
- package/dist/bundled-asset-url-E2nXURF9.js +15 -0
- package/dist/canvas-viewer-mechanics-DfQqRKkD.js +675 -0
- package/dist/cfb-guard-9QTRTg7f.js +528 -0
- package/dist/chart-ex.mjs +708 -739
- package/dist/comment-overlay-controller-B5_zGgG5.js +994 -0
- package/dist/comment-ui-runtime-B7ZvovcS.js +2 -0
- package/dist/{comment-ui-runtime-DcJOYlw-.js → comment-ui-runtime-D_sb2K6s.js} +5 -5
- package/dist/{comment-ui-runtime-BfE7MJZn.js → comment-ui-runtime-Jy-3goA9.js} +5 -5
- package/dist/delimited-text-worker-host-CikWU6_m.js +27 -0
- package/dist/document-model-source-BKNrXjAL.js +249 -0
- package/dist/document-pull-client-CxONDGbk.js +37833 -0
- package/dist/document-pull-worker-AMyXYpPq.js +104 -0
- package/dist/docx-D91ER1_S.js +495 -0
- package/dist/docx-DhDnKEI6.js +3563 -0
- package/dist/docx-model-source-CdrSt3hF.js +98 -0
- package/dist/docx-source-worker.mjs +455 -0
- package/dist/docx.mjs +7 -7
- package/dist/docx_parser_bg.wasm +0 -0
- package/dist/drawingml-shape-ChcGZNd8.js +310 -0
- package/dist/duotone-ekYik4ix.js +126 -0
- package/dist/emf-UT6I8rVi.js +1790 -0
- package/dist/font-preload-demand-CdJZUMCT.js +2058 -0
- package/dist/grid-geometry-uQOgViJU.js +384 -0
- package/dist/host-layout-DVMw8hDY.js +56 -0
- package/dist/host-layout-measure-CCEgaC_v.js +7 -0
- package/dist/in-process-pull-transport-DuXcPZng.js +29 -0
- package/dist/index.mjs +4 -4
- package/dist/internal-companion.mjs +12 -0
- package/dist/line-distribute-CPOV6csk.js +2716 -0
- package/dist/math.mjs +2 -2
- package/dist/mathjax-stix2.js +10 -10
- package/dist/model-source-DJGzDtGb.js +61 -0
- package/dist/model-source-kz_NkZqT.js +179 -0
- package/dist/model-source-session-Bu9CHFHc.js +71 -0
- package/dist/model-source-session-CDuijwv1.js +85 -0
- package/dist/model-source-session-sKpNiIJI.js +58 -0
- package/dist/node.mjs +7 -1327
- package/dist/{pixel-budget-Dgjw269h.js → pixel-budget-BpTYrepD.js} +13 -10
- package/dist/plot-area-frame-CaJFvZ7p.js +8502 -0
- package/dist/pptx-CDP9dZHe.js +2936 -0
- package/dist/pptx-C_uxLVKB.js +183 -0
- package/dist/pptx-model-source-O7LhpOjz.js +37 -0
- package/dist/pptx-source-worker.mjs +446 -0
- package/dist/pptx.mjs +8 -7
- package/dist/pptx_parser_bg.wasm +0 -0
- package/dist/presentation-model-source-tmROzteR.js +77 -0
- package/dist/raster-target-YQ4G6rxo.js +42 -0
- package/dist/region-map.mjs +114 -150
- package/dist/{render-8Zo7dnds.js → render-CJVglUHl.js} +3 -3
- package/dist/{render-worker-host-BfbnEChF.js → render-worker-host-BseIaVvm.js} +1 -1
- package/dist/{render-worker-host-DNL9dWRh.js → render-worker-host-CyxPU4JU.js} +1 -1
- package/dist/{render-worker-host-IkHrYOci.js → render-worker-host-aF6aWkC0.js} +1 -1
- package/dist/renderer-CkGLj0CC.js +5170 -0
- package/dist/renderer-Czw1cCC7.js +5823 -0
- package/dist/resource-measurement-mXw-WjMF.js +771 -0
- package/dist/session-Csv9maad.js +656 -0
- package/dist/slide-pull-client-DRZYwBTu.js +6515 -0
- package/dist/three-d-BK5siJgJ.js +878 -0
- package/dist/three-d.mjs +871 -764
- package/dist/{raster-target-ojDdQizC.js → tiff-contract-C6M3QcPp.js} +1 -42
- package/dist/tiff.mjs +401 -248
- package/dist/types/chart-ex.d.ts +289 -4
- package/dist/types/docx.d.ts +473 -98
- package/dist/types/index.d.ts +674 -303
- package/dist/types/internal-companion.d.ts +11 -0
- package/dist/types/math.d.ts +1 -1
- package/dist/types/node.d.ts +530 -11
- package/dist/types/pptx.d.ts +410 -97
- package/dist/types/region-map.d.ts +289 -4
- package/dist/types/three-d.d.ts +289 -4
- package/dist/types/tiff.d.ts +1 -1
- package/dist/types/xlsx.d.ts +483 -134
- package/dist/wasm-loader-rlgHmcSv.js +35 -0
- package/dist/wasm-runtime-generation-DX4y0Ecl.js +97 -0
- package/dist/workbook-model-source-BTC4ISTS.js +94 -0
- package/dist/worker-source-I1cIYBel.js +22 -0
- package/dist/worker-source-SbudzjYL.js +22 -0
- package/dist/worker-source-UAi3GNcM.js +22 -0
- package/dist/worksheet-pull-client-CkHgbtyM.js +579 -0
- package/dist/xlsx-CpSDPAEU.js +5809 -0
- package/dist/xlsx-D5569TPf.js +534 -0
- package/dist/xlsx-model-source-DPSkjFic.js +309 -0
- package/dist/xlsx-source-worker.mjs +525 -0
- package/dist/xlsx.mjs +8 -7
- package/dist/xlsx_parser_bg.wasm +0 -0
- package/package.json +42 -16
- package/dist/assets/render-worker-CeK_iqK3.js +0 -10
- package/dist/assets/render-worker-DusrDhPk.js +0 -11
- package/dist/assets/render-worker-n2ZG0lrQ.js +0 -31
- package/dist/bounded-raw-part-cache-Cg1BsSZQ.js +0 -119
- package/dist/canvas-viewer-mechanics-Cpk0YFvM.js +0 -1384
- package/dist/cjk-fallback-bLI3z70h.js +0 -46
- package/dist/comment-occurrence-C8Y2uoVr.js +0 -6
- package/dist/comment-ui-runtime-BsK8pmUT.js +0 -2
- package/dist/comments-Diid5ujN.js +0 -246
- package/dist/delimited-text-worker-host-BVY-Ecni.js +0 -27
- package/dist/document-pull-client-yKxI8aDH.js +0 -27251
- package/dist/docx-BkSRiy07.js +0 -2995
- package/dist/dom-interaction-boundary-CBUQJsIM.js +0 -223
- package/dist/highlight-rect-C5hkRqUr.js +0 -13
- package/dist/hyperlink-ArrU3ArU.js +0 -36447
- package/dist/line-distribute-Dtudnqhs.js +0 -1023
- package/dist/line-metrics-B60C86uh.js +0 -60
- package/dist/plot-area-frame-D5hEOgkJ.js +0 -2903
- package/dist/pptx-62MmVbYB.js +0 -3063
- package/dist/renderer-XFSCOT6m.js +0 -5857
- package/dist/resource-measurement-CJsgolre.js +0 -150
- package/dist/session-CrU8f8DI.js +0 -743
- package/dist/slide-pull-client-B9KA8bU6.js +0 -6253
- package/dist/source-key-DIJG8BA0.js +0 -42
- package/dist/three-d-YYghQndN.js +0 -1346
- package/dist/transfer-p6iCC2R7.js +0 -6
- package/dist/units-EJdC96r6.js +0 -4
- package/dist/worksheet-pull-client-eIcQ-xlD.js +0 -458
- package/dist/xlsx-CRcSzZNq.js +0 -8482
- /package/dist/{chunk-DmhlhrBa.js → chunk-Dy4uBu1J.js} +0 -0
- /package/dist/{mathjax-DoyWZbSp.js → mathjax-BhwN6ilc.js} +0 -0
- /package/dist/{read-only-comment-decoration-Dz7eTQ4d.js → read-only-comment-decoration-PidH0wnP.js} +0 -0
- /package/dist/{read-only-comment-margin-DkgzASAl.js → read-only-comment-margin-B52rDVKo.js} +0 -0
- /package/dist/{renderer-module-contract-D91rkYHH.js → renderer-module-contract-CWM7jv6d.js} +0 -0
- /package/dist/{visible-index-BgiHEc1z.js → visible-index-FeVA0mGE.js} +0 -0
package/dist/types/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region dist/.types-work/chart-
|
|
1
|
+
//#region dist/.types-work/chart-BX4Zli_Z.d.ts
|
|
2
2
|
type DecodedImageBudgetStrategy = 'adaptive' | 'strict';
|
|
3
3
|
interface ImageResourceOptions {
|
|
4
4
|
decodedByteBudget?: number;
|
|
@@ -113,6 +113,136 @@ interface Duotone$1 {
|
|
|
113
113
|
clr1: string;
|
|
114
114
|
clr2: string;
|
|
115
115
|
}
|
|
116
|
+
type BlendMode = 'darken' | 'lighten' | 'mult' | 'over' | 'screen';
|
|
117
|
+
type BlipEffect = {
|
|
118
|
+
type: 'grayscale';
|
|
119
|
+
} | {
|
|
120
|
+
type: 'biLevel';
|
|
121
|
+
thresh: number;
|
|
122
|
+
} | {
|
|
123
|
+
type: 'colorChange';
|
|
124
|
+
from: string;
|
|
125
|
+
fromAlpha: number;
|
|
126
|
+
to: string;
|
|
127
|
+
toAlpha: number;
|
|
128
|
+
useAlpha: boolean;
|
|
129
|
+
} | {
|
|
130
|
+
type: 'luminance';
|
|
131
|
+
bright: number;
|
|
132
|
+
contrast: number;
|
|
133
|
+
} | {
|
|
134
|
+
type: 'duotone';
|
|
135
|
+
clr1?: string;
|
|
136
|
+
clr2?: string;
|
|
137
|
+
} | {
|
|
138
|
+
type: 'alphaBiLevel';
|
|
139
|
+
thresh: number;
|
|
140
|
+
} | {
|
|
141
|
+
type: 'alphaCeiling' | 'alphaFloor';
|
|
142
|
+
} | {
|
|
143
|
+
type: 'alphaInv';
|
|
144
|
+
color?: string;
|
|
145
|
+
} | {
|
|
146
|
+
type: 'hsl';
|
|
147
|
+
hue: number;
|
|
148
|
+
sat: number;
|
|
149
|
+
lum: number;
|
|
150
|
+
} | {
|
|
151
|
+
type: 'tint';
|
|
152
|
+
hue: number;
|
|
153
|
+
amt: number;
|
|
154
|
+
} | {
|
|
155
|
+
type: 'blur';
|
|
156
|
+
radius: number;
|
|
157
|
+
grow: boolean;
|
|
158
|
+
} | {
|
|
159
|
+
type: 'alphaMod';
|
|
160
|
+
container: BlipEffectContainer;
|
|
161
|
+
} | {
|
|
162
|
+
type: 'container';
|
|
163
|
+
container: BlipEffectContainer;
|
|
164
|
+
} | {
|
|
165
|
+
type: 'reference';
|
|
166
|
+
reference: string;
|
|
167
|
+
} | {
|
|
168
|
+
type: 'definitions';
|
|
169
|
+
containers: readonly BlipEffectContainer[];
|
|
170
|
+
work: number;
|
|
171
|
+
} | {
|
|
172
|
+
type: 'effectCountLimit';
|
|
173
|
+
observed: number;
|
|
174
|
+
} | {
|
|
175
|
+
type: 'alphaOutset';
|
|
176
|
+
radius: number;
|
|
177
|
+
} | {
|
|
178
|
+
type: 'blend';
|
|
179
|
+
container: BlipEffectContainer;
|
|
180
|
+
blend: BlendMode;
|
|
181
|
+
} | {
|
|
182
|
+
type: 'fill';
|
|
183
|
+
fill: BlipEffectFill;
|
|
184
|
+
} | {
|
|
185
|
+
type: 'glow';
|
|
186
|
+
glow: Glow;
|
|
187
|
+
} | {
|
|
188
|
+
type: 'shadow';
|
|
189
|
+
shadow: Shadow;
|
|
190
|
+
inner: boolean;
|
|
191
|
+
} | {
|
|
192
|
+
type: 'softEdge';
|
|
193
|
+
radius: number;
|
|
194
|
+
} | {
|
|
195
|
+
type: 'reflection';
|
|
196
|
+
reflection: Reflection & {
|
|
197
|
+
kx?: number;
|
|
198
|
+
ky?: number;
|
|
199
|
+
algn?: Shadow['algn'];
|
|
200
|
+
fadeDir?: number;
|
|
201
|
+
rotWithShape?: boolean;
|
|
202
|
+
};
|
|
203
|
+
} | {
|
|
204
|
+
type: 'transform';
|
|
205
|
+
sx: number;
|
|
206
|
+
sy: number;
|
|
207
|
+
kx: number;
|
|
208
|
+
ky: number;
|
|
209
|
+
tx: number;
|
|
210
|
+
ty: number;
|
|
211
|
+
} | {
|
|
212
|
+
type: 'relativeOffset';
|
|
213
|
+
tx: number;
|
|
214
|
+
ty: number;
|
|
215
|
+
} | {
|
|
216
|
+
type: 'presetShadow';
|
|
217
|
+
shadows: readonly Shadow[];
|
|
218
|
+
} | {
|
|
219
|
+
type: 'fillOverlay';
|
|
220
|
+
fill: BlipEffectFill;
|
|
221
|
+
blend: BlendMode;
|
|
222
|
+
} | {
|
|
223
|
+
type: 'alphaModFix';
|
|
224
|
+
amt: number;
|
|
225
|
+
} | {
|
|
226
|
+
type: 'alphaRepl';
|
|
227
|
+
alpha: number;
|
|
228
|
+
} | {
|
|
229
|
+
type: 'colorReplace';
|
|
230
|
+
color: string;
|
|
231
|
+
} | {
|
|
232
|
+
type: 'unsupported';
|
|
233
|
+
effect: string;
|
|
234
|
+
};
|
|
235
|
+
type BlipEffectImageFill = Omit<ImageFill, 'blipEffects'> & {
|
|
236
|
+
readonly blipEffects?: readonly BlipEffect[];
|
|
237
|
+
};
|
|
238
|
+
type BlipEffectFill = SolidFill | NoFill | PatternFill | (Omit<GradientFill, 'stops'> & {
|
|
239
|
+
readonly stops: readonly GradientStop$1[];
|
|
240
|
+
}) | BlipEffectImageFill;
|
|
241
|
+
interface BlipEffectContainer {
|
|
242
|
+
readonly kind: 'sib' | 'tree';
|
|
243
|
+
readonly name?: string;
|
|
244
|
+
readonly effects: readonly BlipEffect[];
|
|
245
|
+
}
|
|
116
246
|
interface SrcRect {
|
|
117
247
|
l: number;
|
|
118
248
|
t: number;
|
|
@@ -207,6 +337,7 @@ interface ImageFill {
|
|
|
207
337
|
tile?: TileInfo;
|
|
208
338
|
alpha?: number;
|
|
209
339
|
duotone?: Duotone$1;
|
|
340
|
+
blipEffects?: BlipEffect[];
|
|
210
341
|
}
|
|
211
342
|
interface Shadow {
|
|
212
343
|
color: string;
|
|
@@ -323,6 +454,8 @@ interface Paragraph$1 {
|
|
|
323
454
|
indent: number;
|
|
324
455
|
spaceBefore: number | null;
|
|
325
456
|
spaceAfter: number | null;
|
|
457
|
+
spaceBeforePct?: number;
|
|
458
|
+
spaceAfterPct?: number;
|
|
326
459
|
spaceLine: SpaceLine | null;
|
|
327
460
|
lvl: number;
|
|
328
461
|
bullet: Bullet$1;
|
|
@@ -334,9 +467,11 @@ interface Paragraph$1 {
|
|
|
334
467
|
tabStops: TabStop$1[];
|
|
335
468
|
rtl?: boolean;
|
|
336
469
|
runs: TextRun[];
|
|
470
|
+
endRunProperties?: TextRunData;
|
|
337
471
|
}
|
|
338
472
|
type TextRun = TextRunData | LineBreak | EquationRun;
|
|
339
473
|
interface EquationRun {
|
|
474
|
+
fallbackText?: string;
|
|
340
475
|
type: 'math';
|
|
341
476
|
nodes: MathNode[];
|
|
342
477
|
display: boolean;
|
|
@@ -345,36 +480,57 @@ interface EquationRun {
|
|
|
345
480
|
}
|
|
346
481
|
interface TextRunData {
|
|
347
482
|
type: 'text';
|
|
483
|
+
hyperlinkUsesTextFill?: boolean;
|
|
348
484
|
text: string;
|
|
349
485
|
bold: boolean | null;
|
|
350
486
|
italic: boolean | null;
|
|
351
487
|
underline: boolean;
|
|
352
488
|
underlineStyle?: string;
|
|
353
489
|
underlineColor?: string;
|
|
490
|
+
underlineFill?: Fill;
|
|
491
|
+
underlineLine?: TextOutline;
|
|
492
|
+
underlineLineNoFill?: boolean;
|
|
354
493
|
strikethrough: boolean;
|
|
355
494
|
strikeDouble?: boolean;
|
|
356
495
|
fontSize: number | null;
|
|
357
496
|
color: string | null;
|
|
497
|
+
patternFill?: PatternFill;
|
|
498
|
+
glyphFill?: Fill;
|
|
499
|
+
noFill?: boolean;
|
|
358
500
|
fontFamily: string | null;
|
|
359
501
|
fontFamilyEa?: string;
|
|
502
|
+
fontFamilyCs?: string;
|
|
360
503
|
fontFamilySym?: string;
|
|
504
|
+
lang?: string;
|
|
505
|
+
altLang?: string;
|
|
361
506
|
baseline?: number;
|
|
362
507
|
caps?: 'none' | 'small' | 'all';
|
|
363
508
|
letterSpacing?: number;
|
|
364
509
|
fieldType?: string;
|
|
365
510
|
hyperlink?: string;
|
|
366
511
|
hyperlinkAction?: string;
|
|
512
|
+
hyperlinkMouseOver?: string;
|
|
513
|
+
hyperlinkMouseOverAction?: string;
|
|
367
514
|
shadow?: Shadow;
|
|
368
515
|
reflection?: Reflection;
|
|
369
516
|
outline?: TextOutline;
|
|
370
517
|
highlight?: string;
|
|
518
|
+
characterAttributes?: Record<string, string>;
|
|
519
|
+
characterChildAttributes?: Record<string, Record<string, string>>;
|
|
371
520
|
}
|
|
372
521
|
interface TextOutline {
|
|
373
522
|
width: number;
|
|
374
523
|
color?: string;
|
|
524
|
+
fill?: Fill;
|
|
375
525
|
}
|
|
376
526
|
interface LineBreak {
|
|
377
527
|
type: 'break';
|
|
528
|
+
fontSize?: number;
|
|
529
|
+
fontFamily?: string;
|
|
530
|
+
bold?: boolean;
|
|
531
|
+
italic?: boolean;
|
|
532
|
+
characterAttributes?: Record<string, string>;
|
|
533
|
+
characterChildAttributes?: Record<string, Record<string, string>>;
|
|
378
534
|
}
|
|
379
535
|
interface RenderOptions {
|
|
380
536
|
width?: number;
|
|
@@ -434,7 +590,9 @@ interface ChartSeries {
|
|
|
434
590
|
markerFill?: string | null;
|
|
435
591
|
markerFillPaint?: Fill | null;
|
|
436
592
|
markerFillPaintAuthored?: boolean | null;
|
|
593
|
+
markerStyle?: ChartExElementStyle | null;
|
|
437
594
|
markerLine?: string | null;
|
|
595
|
+
markerLinePaintAuthored?: boolean | null;
|
|
438
596
|
markerLineWidthEmu?: number | null;
|
|
439
597
|
dataPointOverrides?: ChartDataPointOverride[] | null;
|
|
440
598
|
dataLabelOverrides?: ChartDataLabelOverride[] | null;
|
|
@@ -448,6 +606,7 @@ interface ChartSeries {
|
|
|
448
606
|
lineHidden?: boolean | null;
|
|
449
607
|
}
|
|
450
608
|
interface ChartTrendline {
|
|
609
|
+
style?: ChartExElementStyle | null;
|
|
451
610
|
name?: string | null;
|
|
452
611
|
trendlineType: string;
|
|
453
612
|
order?: number | null;
|
|
@@ -486,6 +645,7 @@ interface ChartTrendline {
|
|
|
486
645
|
lineWidthEmu?: number | null;
|
|
487
646
|
lineDash?: string | null;
|
|
488
647
|
lineHidden?: boolean | null;
|
|
648
|
+
linePaintAuthored?: boolean | null;
|
|
489
649
|
}
|
|
490
650
|
interface ChartDataPointOverride {
|
|
491
651
|
idx: number;
|
|
@@ -501,7 +661,9 @@ interface ChartDataPointOverride {
|
|
|
501
661
|
markerFill?: string;
|
|
502
662
|
markerFillPaint?: Fill | null;
|
|
503
663
|
markerFillPaintAuthored?: boolean | null;
|
|
664
|
+
markerStyle?: ChartExElementStyle | null;
|
|
504
665
|
markerLine?: string;
|
|
666
|
+
markerLinePaintAuthored?: boolean | null;
|
|
505
667
|
markerLineWidthEmu?: number;
|
|
506
668
|
bubble3D?: boolean | null;
|
|
507
669
|
explosion?: number;
|
|
@@ -543,8 +705,12 @@ interface ChartDataLabelOverride {
|
|
|
543
705
|
deleted?: boolean;
|
|
544
706
|
}
|
|
545
707
|
interface ChartLabelBox {
|
|
708
|
+
style?: ChartExElementStyle | null;
|
|
709
|
+
effectFallbackStyle?: ChartExElementStyle | null;
|
|
710
|
+
effectStyleIndex?: number;
|
|
711
|
+
effectFallbackIndex?: number;
|
|
546
712
|
fill?: string;
|
|
547
|
-
fillPaint?:
|
|
713
|
+
fillPaint?: Fill | null;
|
|
548
714
|
fillHidden?: boolean | null;
|
|
549
715
|
fillPaintAuthored?: boolean | null;
|
|
550
716
|
borderColor?: string;
|
|
@@ -595,8 +761,11 @@ interface ChartSeriesDataLabels {
|
|
|
595
761
|
leaderLineWidthEmu?: number;
|
|
596
762
|
leaderLineHidden?: boolean;
|
|
597
763
|
leaderLineDash?: string;
|
|
764
|
+
leaderLinePaintAuthored?: boolean | null;
|
|
765
|
+
leaderLineStyle?: ChartExElementStyle | null;
|
|
598
766
|
}
|
|
599
767
|
interface ChartErrBars {
|
|
768
|
+
style?: ChartExElementStyle | null;
|
|
600
769
|
dir: string;
|
|
601
770
|
barType: string;
|
|
602
771
|
plus: (number | null)[];
|
|
@@ -606,6 +775,7 @@ interface ChartErrBars {
|
|
|
606
775
|
lineWidthEmu?: number;
|
|
607
776
|
dash?: string;
|
|
608
777
|
hidden?: boolean;
|
|
778
|
+
linePaintAuthored?: boolean | null;
|
|
609
779
|
}
|
|
610
780
|
type ChartType = 'line' | 'stackedLine' | 'stackedLinePct' | 'clusteredBar' | 'clusteredBarH' | 'stackedBar' | 'stackedBarH' | 'stackedBarPct' | 'stackedBarHPct' | 'area' | 'stackedArea' | 'stackedAreaPct' | 'pie' | 'doughnut' | 'scatter' | 'bubble' | 'radar' | 'waterfall' | 'stock' | 'surface' | 'surface3D' | 'boxWhisker' | 'sunburst' | 'treemap' | string;
|
|
611
781
|
type ChartPlotGroupKind = 'area' | 'area3D' | 'line' | 'line3D' | 'stock' | 'radar' | 'scatter' | 'pie' | 'pie3D' | 'doughnut' | 'bar' | 'bar3D' | 'ofPie' | 'surface' | 'surface3D' | 'bubble';
|
|
@@ -622,6 +792,7 @@ interface ChartPlotGroup {
|
|
|
622
792
|
barDirection?: string | null;
|
|
623
793
|
scatterStyle?: string | null;
|
|
624
794
|
radarStyle?: string | null;
|
|
795
|
+
varyColors?: boolean | null;
|
|
625
796
|
gapWidth?: number | null;
|
|
626
797
|
overlap?: number | null;
|
|
627
798
|
bubbleScale?: number | null;
|
|
@@ -630,10 +801,16 @@ interface ChartPlotGroup {
|
|
|
630
801
|
}
|
|
631
802
|
type ChartLineDashSegment = DrawingMLCustomDashSegment;
|
|
632
803
|
interface ChartExElementStyle {
|
|
804
|
+
shapePropertiesPresent?: boolean | null;
|
|
805
|
+
allowNoFillOverride?: boolean | null;
|
|
806
|
+
allowNoLineOverride?: boolean | null;
|
|
633
807
|
fontSizeHpt?: number | null;
|
|
634
808
|
fontBold?: boolean | null;
|
|
635
809
|
fontItalic?: boolean | null;
|
|
636
810
|
fontColor?: string | null;
|
|
811
|
+
fontColors?: Array<string | null> | null;
|
|
812
|
+
fontColorIndex?: number | null;
|
|
813
|
+
fontFormattingIndices?: number[] | null;
|
|
637
814
|
fontPaintAuthored?: boolean | null;
|
|
638
815
|
fontHidden?: boolean | null;
|
|
639
816
|
fontFace?: string | null;
|
|
@@ -665,8 +842,22 @@ interface ChartExElementStyle {
|
|
|
665
842
|
lineCap?: string | null;
|
|
666
843
|
lineJoin?: string | null;
|
|
667
844
|
lineCompound?: string | null;
|
|
845
|
+
shadows?: Array<Shadow | null> | null;
|
|
846
|
+
innerShadows?: Array<Shadow | null> | null;
|
|
847
|
+
glows?: Array<Glow | null> | null;
|
|
848
|
+
softEdges?: Array<SoftEdge | null> | null;
|
|
849
|
+
reflections?: Array<Reflection | null> | null;
|
|
850
|
+
effectAuthored?: boolean | null;
|
|
851
|
+
effectNoStyle?: boolean | null;
|
|
852
|
+
effectUnsupported?: boolean | null;
|
|
668
853
|
fillColorIndex?: number | null;
|
|
854
|
+
fillFormattingIndices?: number[] | null;
|
|
855
|
+
fillSemanticFallbackIndices?: number[] | null;
|
|
669
856
|
lineColorIndex?: number | null;
|
|
857
|
+
lineFormattingIndices?: number[] | null;
|
|
858
|
+
lineSemanticFallbackIndices?: number[] | null;
|
|
859
|
+
effectFormattingIndices?: number[] | null;
|
|
860
|
+
effectColorIndex?: number | null;
|
|
670
861
|
}
|
|
671
862
|
type ChartStyleRole = 'axisTitle' | 'categoryAxis' | 'chartArea' | 'dataLabel' | 'dataLabelCallout' | 'dataPoint' | 'dataPoint3D' | 'dataPointLine' | 'dataPointMarker' | 'dataPointWireframe' | 'dataTable' | 'downBar' | 'dropLine' | 'errorBar' | 'floor' | 'gridlineMajor' | 'gridlineMinor' | 'hiLoLine' | 'leaderLine' | 'legend' | 'plotArea' | 'plotArea3D' | 'seriesAxis' | 'seriesLine' | 'title' | 'trendline' | 'trendlineLabel' | 'upBar' | 'valueAxis' | 'wall';
|
|
672
863
|
interface ChartSurfaceBandFormat {
|
|
@@ -678,7 +869,12 @@ interface ChartSurfaceBandFormat {
|
|
|
678
869
|
lineWidthEmu?: number | null;
|
|
679
870
|
lineHidden?: boolean | null;
|
|
680
871
|
}
|
|
872
|
+
interface ChartClassicSurfaceBandStyles {
|
|
873
|
+
fixed?: ChartExElementStyle | null;
|
|
874
|
+
byBandCount?: Array<ChartExElementStyle | null> | null;
|
|
875
|
+
}
|
|
681
876
|
interface ChartDataTable {
|
|
877
|
+
style?: ChartExElementStyle | null;
|
|
682
878
|
showHorizontalBorder: boolean;
|
|
683
879
|
showVerticalBorder: boolean;
|
|
684
880
|
showOutline: boolean;
|
|
@@ -686,6 +882,8 @@ interface ChartDataTable {
|
|
|
686
882
|
fontSizeHpt?: number | null;
|
|
687
883
|
fontFace?: string | null;
|
|
688
884
|
fontColor?: string | null;
|
|
885
|
+
fontPaintAuthored?: boolean | null;
|
|
886
|
+
fontHidden?: boolean | null;
|
|
689
887
|
fontBold?: boolean | null;
|
|
690
888
|
fontItalic?: boolean | null;
|
|
691
889
|
fillColor?: string | null;
|
|
@@ -696,18 +894,33 @@ interface ChartDataTable {
|
|
|
696
894
|
lineWidthEmu?: number | null;
|
|
697
895
|
lineDash?: string | null;
|
|
698
896
|
lineHidden?: boolean | null;
|
|
897
|
+
linePaintAuthored?: boolean | null;
|
|
699
898
|
}
|
|
700
899
|
interface ChartModel {
|
|
701
900
|
chartType: ChartType;
|
|
702
901
|
title: string | null;
|
|
703
902
|
titleRichRuns?: ChartTextRun[] | null;
|
|
704
903
|
titlePresent?: boolean;
|
|
904
|
+
authoredWithoutSeries?: boolean;
|
|
705
905
|
categories: string[];
|
|
706
906
|
categorySourceHidden?: boolean[] | null;
|
|
707
907
|
categoryLevels?: string[][] | null;
|
|
708
908
|
series: ChartSeries[];
|
|
709
909
|
plotGroups?: ChartPlotGroup[] | null;
|
|
710
910
|
chartTextBoxes?: ChartTextBox[] | null;
|
|
911
|
+
chartTextStyle?: ChartExElementStyle | null;
|
|
912
|
+
chartAreaStyle?: ChartExElementStyle | null;
|
|
913
|
+
plotAreaStyle?: ChartExElementStyle | null;
|
|
914
|
+
legendStyle?: ChartExElementStyle | null;
|
|
915
|
+
titleStyle?: ChartExElementStyle | null;
|
|
916
|
+
catAxisStyle?: ChartExElementStyle | null;
|
|
917
|
+
valAxisStyle?: ChartExElementStyle | null;
|
|
918
|
+
catAxisTitleStyle?: ChartExElementStyle | null;
|
|
919
|
+
valAxisTitleStyle?: ChartExElementStyle | null;
|
|
920
|
+
catAxisMajorGridlineStyle?: ChartExElementStyle | null;
|
|
921
|
+
catAxisMinorGridlineStyle?: ChartExElementStyle | null;
|
|
922
|
+
valAxisMajorGridlineStyle?: ChartExElementStyle | null;
|
|
923
|
+
valAxisMinorGridlineStyle?: ChartExElementStyle | null;
|
|
711
924
|
varyColors?: boolean | null;
|
|
712
925
|
showDataLabels: boolean;
|
|
713
926
|
valMin: number | null;
|
|
@@ -752,24 +965,35 @@ interface ChartModel {
|
|
|
752
965
|
catAxisMinorTickMark?: 'cross' | 'out' | 'in' | 'none' | string | null;
|
|
753
966
|
titleFontSizeHpt: number | null;
|
|
754
967
|
titleFontColor: string | null;
|
|
968
|
+
titleFontPaintAuthored?: boolean | null;
|
|
755
969
|
titleFontFace: string | null;
|
|
756
970
|
catAxisFontSizeHpt: number | null;
|
|
757
971
|
valAxisFontSizeHpt: number | null;
|
|
758
972
|
catAxisFontColor?: string | null;
|
|
973
|
+
catAxisFontPaintAuthored?: boolean | null;
|
|
759
974
|
valAxisFontColor?: string | null;
|
|
975
|
+
valAxisFontPaintAuthored?: boolean | null;
|
|
760
976
|
dataLabelFontSizeHpt: number | null;
|
|
761
977
|
dataLabelFontBold?: boolean | null;
|
|
978
|
+
dataLabelFontItalic?: boolean | null;
|
|
979
|
+
dataLabelFontLanguage?: string | null;
|
|
980
|
+
dataLabelFontBaseline?: number | null;
|
|
762
981
|
subtotalIndices: number[];
|
|
763
982
|
legendManualLayout?: LegendManualLayout | null;
|
|
764
983
|
valAxisFormatCode?: string | null;
|
|
984
|
+
valAxisNumberFormat?: ChartAxisNumberFormat | null;
|
|
765
985
|
valAxisDisplayUnits?: ChartDisplayUnits | null;
|
|
766
986
|
catAxisDisplayUnits?: ChartDisplayUnits | null;
|
|
767
987
|
barGapWidth?: number | null;
|
|
768
988
|
barOverlap?: number | null;
|
|
769
989
|
dataLabelPosition?: string | null;
|
|
770
990
|
dataLabelFontColor?: string | null;
|
|
991
|
+
dataLabelFontPaintAuthored?: boolean | null;
|
|
771
992
|
dataLabelFormatCode?: string | null;
|
|
772
993
|
titleFontBold?: boolean | null;
|
|
994
|
+
titleFontItalic?: boolean | null;
|
|
995
|
+
titleFontLanguage?: string | null;
|
|
996
|
+
titleFontBaseline?: number | null;
|
|
773
997
|
catAxisFontBold?: boolean | null;
|
|
774
998
|
catAxisFontItalic?: boolean | null;
|
|
775
999
|
valAxisFontBold?: boolean | null;
|
|
@@ -778,6 +1002,7 @@ interface ChartModel {
|
|
|
778
1002
|
catAxisTitleFontBold?: boolean | null;
|
|
779
1003
|
catAxisTitleFontItalic?: boolean | null;
|
|
780
1004
|
catAxisTitleFontColor?: string | null;
|
|
1005
|
+
catAxisTitleFontPaintAuthored?: boolean | null;
|
|
781
1006
|
catAxisTitleRotation?: number | null;
|
|
782
1007
|
catAxisTitleVerticalMode?: 'horz' | 'vert' | 'vert270' | 'wordArtVert' | 'eaVert' | 'mongolianVert' | 'wordArtVertRtl' | null;
|
|
783
1008
|
catAxisTitleManualLayout?: ChartManualLayout | null;
|
|
@@ -786,6 +1011,7 @@ interface ChartModel {
|
|
|
786
1011
|
valAxisTitleFontBold?: boolean | null;
|
|
787
1012
|
valAxisTitleFontItalic?: boolean | null;
|
|
788
1013
|
valAxisTitleFontColor?: string | null;
|
|
1014
|
+
valAxisTitleFontPaintAuthored?: boolean | null;
|
|
789
1015
|
valAxisTitleRotation?: number | null;
|
|
790
1016
|
valAxisTitleVerticalMode?: 'horz' | 'vert' | 'vert270' | 'wordArtVert' | 'eaVert' | 'mongolianVert' | 'wordArtVertRtl' | null;
|
|
791
1017
|
valAxisTitleManualLayout?: ChartManualLayout | null;
|
|
@@ -797,8 +1023,12 @@ interface ChartModel {
|
|
|
797
1023
|
dataLabelFontFace?: string | null;
|
|
798
1024
|
legendFontFace?: string | null;
|
|
799
1025
|
legendFontColor?: string | null;
|
|
1026
|
+
legendFontPaintAuthored?: boolean | null;
|
|
800
1027
|
legendFontSizeHpt?: number | null;
|
|
801
1028
|
legendFontBold?: boolean | null;
|
|
1029
|
+
legendFontItalic?: boolean | null;
|
|
1030
|
+
legendFontLanguage?: string | null;
|
|
1031
|
+
legendFontBaseline?: number | null;
|
|
802
1032
|
legendFillColor?: string | null;
|
|
803
1033
|
legendFill?: Fill | null;
|
|
804
1034
|
legendFillHidden?: boolean | null;
|
|
@@ -840,10 +1070,12 @@ interface ChartModel {
|
|
|
840
1070
|
valAxisLineDash?: string | null;
|
|
841
1071
|
valAxisLinePaintAuthored?: boolean | null;
|
|
842
1072
|
catAxisFormatCode?: string | null;
|
|
1073
|
+
catAxisNumberFormat?: ChartAxisNumberFormat | null;
|
|
843
1074
|
catAxisMin?: number | null;
|
|
844
1075
|
catAxisMax?: number | null;
|
|
845
1076
|
titleManualLayout?: ChartManualLayout | null;
|
|
846
1077
|
plotAreaManualLayout?: ChartManualLayout | null;
|
|
1078
|
+
cartesianAutoLayoutProfile?: 'wordClassicColumn' | null;
|
|
847
1079
|
scatterStyle?: string | null;
|
|
848
1080
|
bubbleScale?: number | null;
|
|
849
1081
|
bubbleSizeRepresents?: 'area' | 'w' | null;
|
|
@@ -861,17 +1093,21 @@ interface ChartModel {
|
|
|
861
1093
|
valAxisGridlineColor?: string | null;
|
|
862
1094
|
valAxisGridlineWidthEmu?: number | null;
|
|
863
1095
|
valAxisGridlineDash?: string | null;
|
|
1096
|
+
valAxisGridlinePaintAuthored?: boolean | null;
|
|
864
1097
|
catAxisGridlineColor?: string | null;
|
|
865
1098
|
catAxisGridlineWidthEmu?: number | null;
|
|
866
1099
|
catAxisGridlineDash?: string | null;
|
|
1100
|
+
catAxisGridlinePaintAuthored?: boolean | null;
|
|
867
1101
|
valAxisMinorGridlines?: boolean | null;
|
|
868
1102
|
valAxisMinorGridlineColor?: string | null;
|
|
869
1103
|
valAxisMinorGridlineWidthEmu?: number | null;
|
|
870
1104
|
valAxisMinorGridlineDash?: string | null;
|
|
1105
|
+
valAxisMinorGridlinePaintAuthored?: boolean | null;
|
|
871
1106
|
catAxisMinorGridlines?: boolean | null;
|
|
872
1107
|
catAxisMinorGridlineColor?: string | null;
|
|
873
1108
|
catAxisMinorGridlineWidthEmu?: number | null;
|
|
874
1109
|
catAxisMinorGridlineDash?: string | null;
|
|
1110
|
+
catAxisMinorGridlinePaintAuthored?: boolean | null;
|
|
875
1111
|
valAxisMajorUnit?: number | null;
|
|
876
1112
|
valAxisMinorUnit?: number | null;
|
|
877
1113
|
catAxisMajorUnit?: number | null;
|
|
@@ -918,10 +1154,24 @@ interface ChartModel {
|
|
|
918
1154
|
chartexTreemap?: ChartexTreemap | null;
|
|
919
1155
|
chartexRegionMap?: ChartexRegionMap | null;
|
|
920
1156
|
chartexHistogramBinning?: ChartexHistogramBinning | null;
|
|
1157
|
+
chartexParetoOwnerIndex?: number | null;
|
|
1158
|
+
chartexParetoSortDescending?: boolean | null;
|
|
1159
|
+
chartexParetoFlatEndpoint?: boolean | null;
|
|
1160
|
+
chartexSuppressGeometry?: boolean | null;
|
|
1161
|
+
chartexParetoOutlineOwner?: boolean | null;
|
|
1162
|
+
chartexPrimaryAxisRight?: boolean | null;
|
|
1163
|
+
chartexShowUnpairedPercentageAxis?: boolean | null;
|
|
921
1164
|
chartexAccents?: string[] | null;
|
|
922
1165
|
chartexColorPalette?: Array<string | null> | null;
|
|
923
1166
|
chartexColorStyleMethod?: string | null;
|
|
924
1167
|
chartStyleRoles?: Partial<Record<ChartStyleRole, ChartExElementStyle>> | null;
|
|
1168
|
+
classicChartStyleRoles?: Partial<Record<ChartStyleRole, ChartExElementStyle>> | null;
|
|
1169
|
+
classicSurfaceBandStyles?: ChartClassicSurfaceBandStyles | null;
|
|
1170
|
+
linkedChartStyleRoles?: Partial<Record<ChartStyleRole, ChartExElementStyle>> | null;
|
|
1171
|
+
classicVaryingPointChartStyleRoles?: Partial<Record<ChartStyleRole, ChartExElementStyle>> | null;
|
|
1172
|
+
classicVaryingPointChartStyleRolesByGroup?: Array<Partial<Record<ChartStyleRole, ChartExElementStyle>> | null> | null;
|
|
1173
|
+
varyingPointChartStyleRoles?: Partial<Record<ChartStyleRole, ChartExElementStyle>> | null;
|
|
1174
|
+
varyingPointChartStyleRolesByGroup?: Array<Partial<Record<ChartStyleRole, ChartExElementStyle>> | null> | null;
|
|
925
1175
|
chartStyleColorPalette?: Array<string | null> | null;
|
|
926
1176
|
chartStyleColorMethod?: string | null;
|
|
927
1177
|
chartStyleMarkerSizePt?: number | null;
|
|
@@ -935,8 +1185,9 @@ interface ChartModel {
|
|
|
935
1185
|
chartexConnectorLines?: boolean | null;
|
|
936
1186
|
}
|
|
937
1187
|
interface ChartStockBarPaint {
|
|
1188
|
+
style?: ChartExElementStyle | null;
|
|
938
1189
|
fillColor?: string | null;
|
|
939
|
-
fill?:
|
|
1190
|
+
fill?: Fill | null;
|
|
940
1191
|
fillPaintAuthored?: boolean | null;
|
|
941
1192
|
fillHidden?: boolean | null;
|
|
942
1193
|
lineColor?: string | null;
|
|
@@ -953,7 +1204,9 @@ interface ChartStockUpDownBarStyle {
|
|
|
953
1204
|
down: ChartStockBarPaint;
|
|
954
1205
|
}
|
|
955
1206
|
interface ChartDecorationLineStyle {
|
|
1207
|
+
style?: ChartExElementStyle | null;
|
|
956
1208
|
color?: string | null;
|
|
1209
|
+
fill?: SolidFill | GradientFill | PatternFill | null;
|
|
957
1210
|
paintAuthored?: boolean | null;
|
|
958
1211
|
widthEmu?: number | null;
|
|
959
1212
|
dash?: string | null;
|
|
@@ -985,6 +1238,7 @@ interface ChartOfPie {
|
|
|
985
1238
|
secondPieSizePercent: number;
|
|
986
1239
|
gapWidthPercent: number;
|
|
987
1240
|
seriesLines: boolean;
|
|
1241
|
+
seriesLineStyle?: ChartDecorationLineStyle | null;
|
|
988
1242
|
}
|
|
989
1243
|
interface ChartThreeDSurface {
|
|
990
1244
|
style?: ChartExElementStyle | null;
|
|
@@ -1030,6 +1284,10 @@ interface ChartThreeD {
|
|
|
1030
1284
|
backWall?: ChartThreeDSurface | null;
|
|
1031
1285
|
}
|
|
1032
1286
|
interface ChartThreeDSeriesAxis {
|
|
1287
|
+
style?: ChartExElementStyle | null;
|
|
1288
|
+
titleStyle?: ChartExElementStyle | null;
|
|
1289
|
+
majorGridlineStyle?: ChartExElementStyle | null;
|
|
1290
|
+
minorGridlineStyle?: ChartExElementStyle | null;
|
|
1033
1291
|
title?: string | null;
|
|
1034
1292
|
hidden: boolean;
|
|
1035
1293
|
orientation?: 'minMax' | 'maxMin' | string | null;
|
|
@@ -1039,6 +1297,7 @@ interface ChartThreeDSeriesAxis {
|
|
|
1039
1297
|
majorTickMark: string;
|
|
1040
1298
|
minorTickMark?: string | null;
|
|
1041
1299
|
fontColor?: string | null;
|
|
1300
|
+
fontPaintAuthored?: boolean | null;
|
|
1042
1301
|
fontSizeHpt?: number | null;
|
|
1043
1302
|
fontBold?: boolean | null;
|
|
1044
1303
|
fontItalic?: boolean | null;
|
|
@@ -1052,6 +1311,7 @@ interface ChartThreeDSeriesAxis {
|
|
|
1052
1311
|
titleFontBold?: boolean | null;
|
|
1053
1312
|
titleFontItalic?: boolean | null;
|
|
1054
1313
|
titleFontColor?: string | null;
|
|
1314
|
+
titleFontPaintAuthored?: boolean | null;
|
|
1055
1315
|
titleFontFace?: string | null;
|
|
1056
1316
|
titleRotation?: number | null;
|
|
1057
1317
|
titleVerticalMode?: ChartModel['catAxisTitleVerticalMode'];
|
|
@@ -1156,15 +1416,26 @@ interface ChartexHistogramBinning {
|
|
|
1156
1416
|
intervalClosed?: 'l' | 'r' | null;
|
|
1157
1417
|
underflow?: number | null;
|
|
1158
1418
|
overflow?: number | null;
|
|
1419
|
+
edgeFormatCode?: string | null;
|
|
1420
|
+
}
|
|
1421
|
+
interface ChartAxisNumberFormat {
|
|
1422
|
+
authoredCode: string;
|
|
1423
|
+
sourceLinked?: boolean | null;
|
|
1159
1424
|
}
|
|
1160
1425
|
interface SecondaryValueAxis {
|
|
1426
|
+
style?: ChartExElementStyle | null;
|
|
1427
|
+
titleStyle?: ChartExElementStyle | null;
|
|
1428
|
+
majorGridlineStyle?: ChartExElementStyle | null;
|
|
1429
|
+
minorGridlineStyle?: ChartExElementStyle | null;
|
|
1161
1430
|
min: number | null;
|
|
1162
1431
|
max: number | null;
|
|
1163
1432
|
title: string | null;
|
|
1164
1433
|
hidden: boolean;
|
|
1165
1434
|
formatCode?: string | null;
|
|
1435
|
+
numberFormat?: ChartAxisNumberFormat | null;
|
|
1166
1436
|
displayUnits?: ChartDisplayUnits | null;
|
|
1167
1437
|
fontColor?: string | null;
|
|
1438
|
+
fontPaintAuthored?: boolean | null;
|
|
1168
1439
|
fontSizeHpt?: number | null;
|
|
1169
1440
|
fontItalic?: boolean | null;
|
|
1170
1441
|
fontBold?: boolean | null;
|
|
@@ -1172,6 +1443,7 @@ interface SecondaryValueAxis {
|
|
|
1172
1443
|
lineColor?: string | null;
|
|
1173
1444
|
lineWidthEmu?: number | null;
|
|
1174
1445
|
lineDash?: string | null;
|
|
1446
|
+
linePaintAuthored?: boolean | null;
|
|
1175
1447
|
lineHidden: boolean;
|
|
1176
1448
|
majorTickMark: string;
|
|
1177
1449
|
minorTickMark?: string | null;
|
|
@@ -1179,10 +1451,12 @@ interface SecondaryValueAxis {
|
|
|
1179
1451
|
minorGridlineColor?: string | null;
|
|
1180
1452
|
minorGridlineWidthEmu?: number | null;
|
|
1181
1453
|
minorGridlineDash?: string | null;
|
|
1454
|
+
minorGridlinePaintAuthored?: boolean | null;
|
|
1182
1455
|
majorGridlines?: boolean;
|
|
1183
1456
|
majorGridlineColor?: string | null;
|
|
1184
1457
|
majorGridlineWidthEmu?: number | null;
|
|
1185
1458
|
majorGridlineDash?: string | null;
|
|
1459
|
+
majorGridlinePaintAuthored?: boolean | null;
|
|
1186
1460
|
majorUnit?: number | null;
|
|
1187
1461
|
minorUnit?: number | null;
|
|
1188
1462
|
logBase?: number | null;
|
|
@@ -1198,6 +1472,7 @@ interface SecondaryValueAxis {
|
|
|
1198
1472
|
titleFontBold?: boolean | null;
|
|
1199
1473
|
titleFontItalic?: boolean | null;
|
|
1200
1474
|
titleFontColor?: string | null;
|
|
1475
|
+
titleFontPaintAuthored?: boolean | null;
|
|
1201
1476
|
titleFontFace?: string | null;
|
|
1202
1477
|
titleRotation?: number | null;
|
|
1203
1478
|
titleVerticalMode?: 'horz' | 'vert' | 'vert270' | 'wordArtVert' | 'eaVert' | 'mongolianVert' | 'wordArtVertRtl' | null;
|
|
@@ -1215,6 +1490,8 @@ interface ChartDisplayUnitsLabel {
|
|
|
1215
1490
|
fontBold?: boolean | null;
|
|
1216
1491
|
fontItalic?: boolean | null;
|
|
1217
1492
|
fontColor?: string | null;
|
|
1493
|
+
fontPaintAuthored?: boolean | null;
|
|
1494
|
+
fontHidden?: boolean | null;
|
|
1218
1495
|
fontFace?: string | null;
|
|
1219
1496
|
rotation?: number | null;
|
|
1220
1497
|
boxStyle?: ChartLabelBox | null;
|
|
@@ -1247,6 +1524,7 @@ interface ChartLegendEntryOverride {
|
|
|
1247
1524
|
fontColor?: string | null;
|
|
1248
1525
|
fontSizeHpt?: number | null;
|
|
1249
1526
|
fontBold?: boolean | null;
|
|
1527
|
+
fontItalic?: boolean | null;
|
|
1250
1528
|
}
|
|
1251
1529
|
interface ChartRect {
|
|
1252
1530
|
x: number;
|
|
@@ -1255,12 +1533,12 @@ interface ChartRect {
|
|
|
1255
1533
|
h: number;
|
|
1256
1534
|
}
|
|
1257
1535
|
//#endregion
|
|
1258
|
-
//#region dist/.types-work/chart-ex-contract-
|
|
1536
|
+
//#region dist/.types-work/chart-ex-contract-uCVPGn_g.d.ts
|
|
1259
1537
|
interface ChartExRenderer {
|
|
1260
1538
|
render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number, shapeRotationDeg?: number): boolean;
|
|
1261
1539
|
}
|
|
1262
1540
|
//#endregion
|
|
1263
|
-
//#region dist/.types-work/mathjax-
|
|
1541
|
+
//#region dist/.types-work/mathjax-Cs1A6yAm.d.ts
|
|
1264
1542
|
interface MathSvg {
|
|
1265
1543
|
svg: string;
|
|
1266
1544
|
widthEm: number;
|
|
@@ -1272,17 +1550,17 @@ interface MathRenderer {
|
|
|
1272
1550
|
mathMLToSvg(mathml: string): Promise<MathSvg>;
|
|
1273
1551
|
}
|
|
1274
1552
|
//#endregion
|
|
1275
|
-
//#region dist/.types-work/three-d-contract-
|
|
1553
|
+
//#region dist/.types-work/three-d-contract-BAX9ecoe.d.ts
|
|
1276
1554
|
interface ChartThreeDRenderer {
|
|
1277
1555
|
render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number, shapeRotationDeg?: number): boolean;
|
|
1278
1556
|
}
|
|
1279
1557
|
//#endregion
|
|
1280
|
-
//#region dist/.types-work/region-map-contract-
|
|
1558
|
+
//#region dist/.types-work/region-map-contract-J2ruXmu1.d.ts
|
|
1281
1559
|
interface ChartRegionMapRenderer {
|
|
1282
1560
|
render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number, shapeRotationDeg?: number): boolean;
|
|
1283
1561
|
}
|
|
1284
1562
|
//#endregion
|
|
1285
|
-
//#region dist/.types-work/tiff-contract-
|
|
1563
|
+
//#region dist/.types-work/tiff-contract-bt8L_KEc.d.ts
|
|
1286
1564
|
interface TiffRenderOptions {
|
|
1287
1565
|
targetWidthPx?: number;
|
|
1288
1566
|
targetHeightPx?: number;
|
|
@@ -1297,14 +1575,19 @@ interface TiffRenderer {
|
|
|
1297
1575
|
render(bytes: Uint8Array, options?: Readonly<TiffRenderOptions>): Promise<ImageBitmap | null>;
|
|
1298
1576
|
}
|
|
1299
1577
|
//#endregion
|
|
1300
|
-
//#region dist/.types-work/hyperlink-
|
|
1578
|
+
//#region dist/.types-work/hyperlink-BER006VA.d.ts
|
|
1301
1579
|
type CjkLang = 'kr' | 'sc' | 'tc' | 'hk' | 'jp';
|
|
1302
1580
|
type CjkFallback = 'auto' | CjkLang;
|
|
1303
|
-
type OoxmlErrorCode = 'encrypted' | 'invalid-password' | 'unsupported-encryption' | 'legacy-binary-format' | 'not-ooxml';
|
|
1581
|
+
type OoxmlErrorCode = 'encrypted' | 'invalid-password' | 'unsupported-encryption' | 'legacy-binary-format' | 'not-ooxml' | 'unsupported-image-effect' | 'invalid-numbering' | 'unsupported-content';
|
|
1304
1582
|
type OoxmlErrorStage = 'container' | 'decompression' | 'parsing' | 'serialization' | 'layout' | 'rendering' | 'worker';
|
|
1583
|
+
interface OoxmlUnsupportedContentDetails {
|
|
1584
|
+
readonly format: string;
|
|
1585
|
+
readonly reason: 'source-subset';
|
|
1586
|
+
}
|
|
1305
1587
|
declare class OoxmlError extends Error {
|
|
1306
1588
|
readonly code: OoxmlErrorCode;
|
|
1307
|
-
|
|
1589
|
+
readonly details?: OoxmlUnsupportedContentDetails;
|
|
1590
|
+
constructor(code: OoxmlErrorCode, message: string, details?: OoxmlUnsupportedContentDetails);
|
|
1308
1591
|
}
|
|
1309
1592
|
type OoxmlFormat = 'docx' | 'xlsx' | 'pptx';
|
|
1310
1593
|
interface OoxmlResourceUsageSnapshot {
|
|
@@ -1341,6 +1624,12 @@ interface OoxmlResourcePolicySnapshot {
|
|
|
1341
1624
|
readonly maxArchiveEntryBytes: number | null;
|
|
1342
1625
|
readonly maxTotalInflatedBytes: number | null;
|
|
1343
1626
|
readonly maxArchiveEntries: number | null;
|
|
1627
|
+
readonly xlsxWorksheetLimits?: Readonly<{
|
|
1628
|
+
readonly maxRows: number;
|
|
1629
|
+
readonly maxCells: number;
|
|
1630
|
+
readonly maxOwnedUtf8Bytes: number;
|
|
1631
|
+
readonly maxJsonBytes: number;
|
|
1632
|
+
}>;
|
|
1344
1633
|
}
|
|
1345
1634
|
interface OoxmlResourceMetricsCheckpoint {
|
|
1346
1635
|
readonly name: string;
|
|
@@ -1372,6 +1661,12 @@ interface OoxmlResourceLimits {
|
|
|
1372
1661
|
maxTotalInflatedBytes?: OoxmlResourceLimit;
|
|
1373
1662
|
maxArchiveEntries?: OoxmlResourceLimit;
|
|
1374
1663
|
}
|
|
1664
|
+
interface XlsxWorksheetLimits {
|
|
1665
|
+
maxRows?: number;
|
|
1666
|
+
maxCells?: number;
|
|
1667
|
+
maxOwnedUtf8Bytes?: number;
|
|
1668
|
+
maxJsonBytes?: number;
|
|
1669
|
+
}
|
|
1375
1670
|
interface ProgressiveLayoutProgress {
|
|
1376
1671
|
committedUnits: number;
|
|
1377
1672
|
}
|
|
@@ -1387,6 +1682,7 @@ interface LoadOptions$3 {
|
|
|
1387
1682
|
wasmUrl?: string | URL;
|
|
1388
1683
|
maxZipEntryBytes?: number;
|
|
1389
1684
|
resourceLimits?: OoxmlResourceLimits;
|
|
1685
|
+
xlsxWorksheetLimits?: XlsxWorksheetLimits;
|
|
1390
1686
|
debug?: boolean;
|
|
1391
1687
|
onResourceMetrics?: (metrics: OoxmlResourceMetrics) => void;
|
|
1392
1688
|
workerTimeoutMs?: number;
|
|
@@ -1396,7 +1692,7 @@ interface LoadOptions$3 {
|
|
|
1396
1692
|
chartEx?: ChartExRenderer;
|
|
1397
1693
|
tiff?: TiffRenderer;
|
|
1398
1694
|
}
|
|
1399
|
-
type OoxmlDecodedImageLimitMetric = 'image-dimension' | 'image-pixels' | 'active-decoded-bytes';
|
|
1695
|
+
type OoxmlDecodedImageLimitMetric = 'image-dimension' | 'image-pixels' | 'active-decoded-bytes' | 'image-effect-count' | 'image-effect-work' | 'tiff-lzw-work' | 'metafile-path-commands' | 'metafile-record-points' | 'metafile-record-polygons' | 'metafile-record-rectangles' | 'metafile-record-text-units';
|
|
1400
1696
|
declare class OoxmlDecodedImageLimitError extends RangeError {
|
|
1401
1697
|
readonly metric: OoxmlDecodedImageLimitMetric;
|
|
1402
1698
|
readonly limit: number;
|
|
@@ -1415,7 +1711,7 @@ type HyperlinkTarget = {
|
|
|
1415
1711
|
};
|
|
1416
1712
|
declare function openExternalHyperlink(url: string, allowed?: readonly string[], win?: Pick<Window, 'open'> | undefined): boolean;
|
|
1417
1713
|
//#endregion
|
|
1418
|
-
//#region dist/.types-work/find-highlight-
|
|
1714
|
+
//#region dist/.types-work/find-highlight-CT_JWmHP.d.ts
|
|
1419
1715
|
interface TextSelectionContextOptions {
|
|
1420
1716
|
readonly maxTextCharacters?: number;
|
|
1421
1717
|
readonly maxRunLocators?: number;
|
|
@@ -1476,7 +1772,44 @@ interface FindHighlightColors {
|
|
|
1476
1772
|
active?: string;
|
|
1477
1773
|
}
|
|
1478
1774
|
//#endregion
|
|
1479
|
-
//#region dist/.types-work/
|
|
1775
|
+
//#region dist/.types-work/model-source-BvlR3Xr6.d.ts
|
|
1776
|
+
type ModelSourceTarget = 'docx' | 'xlsx' | 'pptx';
|
|
1777
|
+
type ModelSourceConfigValue = string | number | boolean | null;
|
|
1778
|
+
type ModelSourceConfig = Readonly<Record<string, ModelSourceConfigValue>>;
|
|
1779
|
+
declare const MODEL_SOURCE_MODULE_PROTOCOL = "ooxml-model-source-module/v2";
|
|
1780
|
+
interface ModelSourceModuleDescriptor {
|
|
1781
|
+
readonly protocol: typeof MODEL_SOURCE_MODULE_PROTOCOL;
|
|
1782
|
+
readonly target: ModelSourceTarget;
|
|
1783
|
+
readonly moduleUrl: string;
|
|
1784
|
+
readonly config: ModelSourceConfig;
|
|
1785
|
+
}
|
|
1786
|
+
interface ModelSourceLoad {
|
|
1787
|
+
readonly module: ModelSourceModuleDescriptor;
|
|
1788
|
+
readonly transfer?: readonly Transferable[];
|
|
1789
|
+
release(): void;
|
|
1790
|
+
}
|
|
1791
|
+
interface ModelSource<T extends ModelSourceTarget = ModelSourceTarget> {
|
|
1792
|
+
readonly target: T;
|
|
1793
|
+
claim(bytes: Uint8Array): boolean;
|
|
1794
|
+
beginLoad(): ModelSourceLoad;
|
|
1795
|
+
}
|
|
1796
|
+
interface OpenedModelSource<TArchive> {
|
|
1797
|
+
readonly archive: TArchive;
|
|
1798
|
+
readonly viewDefaults?: Readonly<Record<string, boolean>>;
|
|
1799
|
+
close(): void;
|
|
1800
|
+
}
|
|
1801
|
+
interface ModelSourceModule<TArchive = unknown> {
|
|
1802
|
+
openModelSource(bytes: Uint8Array, config: ModelSourceConfig, signal?: AbortSignal, transfer?: readonly Transferable[]): Promise<OpenedModelSource<TArchive>>;
|
|
1803
|
+
}
|
|
1804
|
+
//#endregion
|
|
1805
|
+
//#region dist/.types-work/types-DD7HF1Wg.d.ts
|
|
1806
|
+
type DocxDiagnosticCode = 'FLOW_OVERLAP' | 'BOTTOM_MARGIN_INVASION' | 'FLOW_DOMAIN_INVASION' | 'INVALID_REFERENCE' | 'INVALID_GEOMETRY' | 'INVALID_VALUE' | 'MISSING_RESOURCE' | 'NON_CONVERGENCE' | 'UNSUPPORTED_FEATURE';
|
|
1807
|
+
interface DocxDiagnostic {
|
|
1808
|
+
readonly code: DocxDiagnosticCode;
|
|
1809
|
+
readonly severity: 'warning' | 'error';
|
|
1810
|
+
readonly source?: Readonly<DocxStorySource>;
|
|
1811
|
+
readonly message: string;
|
|
1812
|
+
}
|
|
1480
1813
|
interface DocxDocumentModel {
|
|
1481
1814
|
section: SectionProps;
|
|
1482
1815
|
body: BodyElement[];
|
|
@@ -1501,15 +1834,19 @@ interface EmbeddedFontRef {
|
|
|
1501
1834
|
fontKey: string;
|
|
1502
1835
|
}
|
|
1503
1836
|
interface DocSettings {
|
|
1837
|
+
doNotUseHtmlParagraphAutoSpacing?: boolean;
|
|
1504
1838
|
kinsoku?: boolean;
|
|
1505
1839
|
noLineBreaksBefore?: string;
|
|
1506
1840
|
noLineBreaksAfter?: string;
|
|
1507
1841
|
mathDefJc?: string;
|
|
1508
1842
|
defaultTabStop?: number;
|
|
1509
1843
|
characterSpacingControl?: string;
|
|
1844
|
+
lineWrapLikeWord6?: boolean;
|
|
1845
|
+
enableOpenTypeFeatures?: boolean;
|
|
1510
1846
|
useFeLayout?: boolean;
|
|
1511
1847
|
balanceSingleByteDoubleByteWidth?: boolean;
|
|
1512
1848
|
adjustLineHeightInTable?: boolean;
|
|
1849
|
+
compatibilityMode?: number;
|
|
1513
1850
|
}
|
|
1514
1851
|
interface DocRevision {
|
|
1515
1852
|
kind: 'insertion' | 'deletion' | 'moveFrom' | 'moveTo' | string;
|
|
@@ -1620,6 +1957,7 @@ type BodyElement = ({
|
|
|
1620
1957
|
type: 'table';
|
|
1621
1958
|
} & DocTable) | {
|
|
1622
1959
|
type: 'pageBreak';
|
|
1960
|
+
origin?: 'authored' | 'coverPageSynthetic';
|
|
1623
1961
|
parity?: 'odd' | 'even';
|
|
1624
1962
|
sameParagraphAsPrevious?: boolean;
|
|
1625
1963
|
} | {
|
|
@@ -1643,6 +1981,8 @@ interface DocParagraph {
|
|
|
1643
1981
|
indentFirst: number;
|
|
1644
1982
|
spaceBefore: number;
|
|
1645
1983
|
spaceAfter: number;
|
|
1984
|
+
beforeAutospacing?: boolean;
|
|
1985
|
+
afterAutospacing?: boolean;
|
|
1646
1986
|
lineSpacing: LineSpacing | null;
|
|
1647
1987
|
numbering: NumberingInfo | null;
|
|
1648
1988
|
tabStops: TabStop[];
|
|
@@ -1657,6 +1997,8 @@ interface DocParagraph {
|
|
|
1657
1997
|
markVanish?: boolean;
|
|
1658
1998
|
widowControl?: boolean;
|
|
1659
1999
|
overflowPunct?: boolean;
|
|
2000
|
+
autoSpaceDE?: boolean;
|
|
2001
|
+
autoSpaceDN?: boolean;
|
|
1660
2002
|
adjustRightInd?: boolean;
|
|
1661
2003
|
borders?: ParagraphBorders | null;
|
|
1662
2004
|
styleId?: string | null;
|
|
@@ -1730,6 +2072,7 @@ interface NumberingInfo {
|
|
|
1730
2072
|
picBulletMimeType?: string;
|
|
1731
2073
|
picBulletWidthPt?: number;
|
|
1732
2074
|
picBulletHeightPt?: number;
|
|
2075
|
+
picBulletTransform?: Pick<ImageRun, 'srcRect' | 'rotation' | 'flipH' | 'flipV'>;
|
|
1733
2076
|
}
|
|
1734
2077
|
type DocRunContent = ({
|
|
1735
2078
|
type: 'text';
|
|
@@ -1825,6 +2168,8 @@ interface AnchorHostMetrics {
|
|
|
1825
2168
|
}
|
|
1826
2169
|
interface ShapeRun {
|
|
1827
2170
|
inline?: boolean;
|
|
2171
|
+
inlineOffsetXPt?: number;
|
|
2172
|
+
inlineOffsetYPt?: number;
|
|
1828
2173
|
widthPt: number;
|
|
1829
2174
|
heightPt: number;
|
|
1830
2175
|
anchorXPt: number;
|
|
@@ -1845,9 +2190,37 @@ interface ShapeRun {
|
|
|
1845
2190
|
groupHeightPt?: number | null;
|
|
1846
2191
|
behindDoc?: boolean;
|
|
1847
2192
|
zOrder: number;
|
|
2193
|
+
vmlShadow?: {
|
|
2194
|
+
kind: 'single' | 'double' | 'emboss' | 'perspective';
|
|
2195
|
+
color: string;
|
|
2196
|
+
color2: string;
|
|
2197
|
+
offset: {
|
|
2198
|
+
xPt: number;
|
|
2199
|
+
yPt: number;
|
|
2200
|
+
xFraction: number;
|
|
2201
|
+
yFraction: number;
|
|
2202
|
+
};
|
|
2203
|
+
offset2: {
|
|
2204
|
+
xPt: number;
|
|
2205
|
+
yPt: number;
|
|
2206
|
+
xFraction: number;
|
|
2207
|
+
yFraction: number;
|
|
2208
|
+
};
|
|
2209
|
+
opacity: number;
|
|
2210
|
+
obscured: boolean;
|
|
2211
|
+
origin: [number, number];
|
|
2212
|
+
matrix: [number, number, number, number, number, number];
|
|
2213
|
+
absolutePerspective: boolean;
|
|
2214
|
+
};
|
|
1848
2215
|
subpaths: PathCmd$1[][];
|
|
2216
|
+
subpathPaint?: Array<{
|
|
2217
|
+
fillRule?: 'nonzero' | 'evenodd';
|
|
2218
|
+
fill?: 'none' | 'lighten' | 'lightenLess' | 'darken' | 'darkenLess';
|
|
2219
|
+
stroke?: false;
|
|
2220
|
+
}>;
|
|
1849
2221
|
presetGeometry?: string | null;
|
|
1850
2222
|
adjValues?: Array<number | null>;
|
|
2223
|
+
vmlPicture?: Pick<ImageRun, 'imagePath' | 'mimeType' | 'srcRect' | 'colorReplaceFrom' | 'duotone'>;
|
|
1851
2224
|
fill: ShapeFill$1 | null;
|
|
1852
2225
|
stroke: string | null;
|
|
1853
2226
|
strokeWidth?: number;
|
|
@@ -1877,11 +2250,13 @@ interface ShapeRun {
|
|
|
1877
2250
|
defaultTextColor?: string | null;
|
|
1878
2251
|
textAnchor?: string | null;
|
|
1879
2252
|
textAutofit?: string | null;
|
|
2253
|
+
textWrap?: string | null;
|
|
1880
2254
|
textInsetL?: number;
|
|
1881
2255
|
textInsetT?: number;
|
|
1882
2256
|
textInsetR?: number;
|
|
1883
2257
|
textInsetB?: number;
|
|
1884
2258
|
textVert?: string | null;
|
|
2259
|
+
textUpright?: boolean | null;
|
|
1885
2260
|
textPath?: TextPath | null;
|
|
1886
2261
|
fillOpacity?: number | null;
|
|
1887
2262
|
}
|
|
@@ -1909,6 +2284,7 @@ interface ShapeTextRun$1 {
|
|
|
1909
2284
|
interface ShapeText$1 {
|
|
1910
2285
|
text: string;
|
|
1911
2286
|
fontSizePt: number;
|
|
2287
|
+
defaultFontSize?: number;
|
|
1912
2288
|
color?: string | null;
|
|
1913
2289
|
paragraphMarkColor?: string | null;
|
|
1914
2290
|
fontFamily?: string | null;
|
|
@@ -1919,6 +2295,8 @@ interface ShapeText$1 {
|
|
|
1919
2295
|
alignment: string;
|
|
1920
2296
|
spaceBefore?: number;
|
|
1921
2297
|
spaceAfter?: number;
|
|
2298
|
+
beforeAutospacing?: boolean;
|
|
2299
|
+
afterAutospacing?: boolean;
|
|
1922
2300
|
lineSpacingVal?: number;
|
|
1923
2301
|
lineSpacingRule?: string;
|
|
1924
2302
|
indentLeft?: number;
|
|
@@ -1955,6 +2333,20 @@ type ShapeFill$1 = {
|
|
|
1955
2333
|
preset: string;
|
|
1956
2334
|
} | {
|
|
1957
2335
|
fillType: 'image';
|
|
2336
|
+
vml?: {
|
|
2337
|
+
repeat: boolean;
|
|
2338
|
+
size: [{
|
|
2339
|
+
value: number;
|
|
2340
|
+
fraction: boolean;
|
|
2341
|
+
}, {
|
|
2342
|
+
value: number;
|
|
2343
|
+
fraction: boolean;
|
|
2344
|
+
}] | null;
|
|
2345
|
+
origin: [number, number];
|
|
2346
|
+
position: [number, number];
|
|
2347
|
+
aspect: string;
|
|
2348
|
+
alignShape: boolean;
|
|
2349
|
+
};
|
|
1958
2350
|
imagePath: string;
|
|
1959
2351
|
mimeType: string;
|
|
1960
2352
|
svgImagePath?: string;
|
|
@@ -1968,6 +2360,7 @@ type ShapeFill$1 = {
|
|
|
1968
2360
|
tile?: TileInfo;
|
|
1969
2361
|
alpha?: number;
|
|
1970
2362
|
duotone?: Duotone$1;
|
|
2363
|
+
blipEffects?: BlipEffect[];
|
|
1971
2364
|
};
|
|
1972
2365
|
type ShapeStrokeFill = {
|
|
1973
2366
|
fillType: 'gradient';
|
|
@@ -2058,6 +2451,7 @@ interface DocxTextRun {
|
|
|
2058
2451
|
interface NoteRef {
|
|
2059
2452
|
kind: 'footnote' | 'endnote' | string;
|
|
2060
2453
|
id: string;
|
|
2454
|
+
customMarkFollows?: boolean;
|
|
2061
2455
|
}
|
|
2062
2456
|
interface RunRevision {
|
|
2063
2457
|
kind: 'insertion' | 'deletion' | 'moveFrom' | 'moveTo' | string;
|
|
@@ -2093,6 +2487,7 @@ interface ImageRun {
|
|
|
2093
2487
|
anchorYFromPara?: boolean;
|
|
2094
2488
|
colorReplaceFrom?: string;
|
|
2095
2489
|
duotone?: Duotone$1;
|
|
2490
|
+
blipEffects?: BlipEffect[];
|
|
2096
2491
|
alpha?: number;
|
|
2097
2492
|
wrapMode?: string;
|
|
2098
2493
|
distTop?: number;
|
|
@@ -2172,10 +2567,13 @@ interface DocTableCell {
|
|
|
2172
2567
|
vAlign: 'top' | 'center' | 'bottom';
|
|
2173
2568
|
widthPt: number | null;
|
|
2174
2569
|
widthPct?: number;
|
|
2570
|
+
noWrap?: boolean;
|
|
2175
2571
|
marginTop?: number | null;
|
|
2176
2572
|
marginBottom?: number | null;
|
|
2177
2573
|
marginLeft?: number | null;
|
|
2178
2574
|
marginRight?: number | null;
|
|
2575
|
+
textDirection?: string;
|
|
2576
|
+
hideMark?: boolean;
|
|
2179
2577
|
}
|
|
2180
2578
|
interface CellBorders {
|
|
2181
2579
|
top: BorderSpec | null;
|
|
@@ -2184,6 +2582,8 @@ interface CellBorders {
|
|
|
2184
2582
|
right: BorderSpec | null;
|
|
2185
2583
|
insideH: BorderSpec | null;
|
|
2186
2584
|
insideV: BorderSpec | null;
|
|
2585
|
+
tl2br?: BorderSpec;
|
|
2586
|
+
tr2bl?: BorderSpec;
|
|
2187
2587
|
}
|
|
2188
2588
|
interface DocxStorySource {
|
|
2189
2589
|
story: 'body' | 'header' | 'footer' | 'footnote' | 'endnote' | 'textbox';
|
|
@@ -2195,10 +2595,12 @@ interface DocxTextRunInfo {
|
|
|
2195
2595
|
paragraphId?: string;
|
|
2196
2596
|
sourceRunIndex?: number;
|
|
2197
2597
|
direction?: 'ltr' | 'rtl';
|
|
2598
|
+
optionalHyphenGlyph?: true;
|
|
2198
2599
|
text: string;
|
|
2199
2600
|
x: number;
|
|
2200
2601
|
y: number;
|
|
2201
2602
|
w: number;
|
|
2603
|
+
trailingSpaceCompressionPx?: number;
|
|
2202
2604
|
h: number;
|
|
2203
2605
|
highlightBounds?: Readonly<{
|
|
2204
2606
|
x: number;
|
|
@@ -2223,7 +2625,7 @@ interface RenderPageOptions {
|
|
|
2223
2625
|
showTrackedChanges?: boolean;
|
|
2224
2626
|
}
|
|
2225
2627
|
//#endregion
|
|
2226
|
-
//#region dist/.types-work/docx-
|
|
2628
|
+
//#region dist/.types-work/docx-Ch9sglGX.d.ts
|
|
2227
2629
|
interface CommentAnchorRange {
|
|
2228
2630
|
readonly commentId: string;
|
|
2229
2631
|
readonly source: Readonly<DocxStorySource>;
|
|
@@ -2345,6 +2747,8 @@ interface RevisionAnchorGeometryFallback {
|
|
|
2345
2747
|
}
|
|
2346
2748
|
declare function resolveRevisionAnchorRuns(anchor: Readonly<RevisionAnchorRange>, runs: readonly Readonly<DocxTextRunInfo>[]): readonly Readonly<DocxTextRunInfo>[];
|
|
2347
2749
|
interface LoadOptions$2 extends LoadOptions$3 {
|
|
2750
|
+
allowFootnoteContinuation?: boolean;
|
|
2751
|
+
legacyDoc?: ModelSource<'docx'>;
|
|
2348
2752
|
math?: MathRenderer;
|
|
2349
2753
|
mode?: 'main' | 'worker';
|
|
2350
2754
|
sliceLayout?: boolean;
|
|
@@ -2361,8 +2765,10 @@ type RenderPageToBitmapOptions = Omit<RenderPageOptions, 'onTextRun'> & {
|
|
|
2361
2765
|
onTextRun?: (run: DocxTextRunInfo) => void;
|
|
2362
2766
|
};
|
|
2363
2767
|
declare class DocxDocument {
|
|
2768
|
+
get diagnostics(): readonly DocxDiagnostic[];
|
|
2364
2769
|
private _metrics;
|
|
2365
2770
|
private _cjkFallback;
|
|
2771
|
+
private _allowFootnoteContinuation;
|
|
2366
2772
|
private _document;
|
|
2367
2773
|
private _source;
|
|
2368
2774
|
private _meta;
|
|
@@ -2389,6 +2795,10 @@ declare class DocxDocument {
|
|
|
2389
2795
|
private _bridge;
|
|
2390
2796
|
private readonly _rawParts;
|
|
2391
2797
|
private _embeddedFontFaces;
|
|
2798
|
+
private _officeFontFaces;
|
|
2799
|
+
private _mainThreadFallbackReason;
|
|
2800
|
+
private _nativeRouteFaces;
|
|
2801
|
+
private _nativeRouteFacesReleased;
|
|
2392
2802
|
private _googleFontFaces;
|
|
2393
2803
|
private readonly _fetchImage;
|
|
2394
2804
|
private constructor();
|
|
@@ -2437,6 +2847,7 @@ declare class DocxDocument {
|
|
|
2437
2847
|
};
|
|
2438
2848
|
private _withActiveView;
|
|
2439
2849
|
renderPage(target: HTMLCanvasElement | OffscreenCanvas, pageIndex: number, opts?: RenderPageOptions): Promise<void>;
|
|
2850
|
+
private _renderPageWithTargetOwnership;
|
|
2440
2851
|
renderPageToBitmap(pageIndex: number, opts?: RenderPageToBitmapOptions): Promise<ImageBitmap>;
|
|
2441
2852
|
collectPageRuns(pageIndex: number, opts?: CollectPageRunsOptions): Promise<DocxTextRunInfo[]>;
|
|
2442
2853
|
getCommentThreads(pageIndex: number, options?: DocxPageCommentThreadsOptions): Promise<readonly Readonly<ResolvedDocxCommentThread>[]>;
|
|
@@ -2461,6 +2872,9 @@ interface DocxViewerOptions extends Omit<RenderPageOptions, 'onTextRun'>, LoadOp
|
|
|
2461
2872
|
onError?: (err: Error) => void;
|
|
2462
2873
|
}
|
|
2463
2874
|
declare class DocxViewer implements ZoomableViewer {
|
|
2875
|
+
private _pendingLoadAbort;
|
|
2876
|
+
private _pendingRequestedView;
|
|
2877
|
+
private _pendingViewChanged;
|
|
2464
2878
|
private readonly _documentOwner;
|
|
2465
2879
|
private get _doc();
|
|
2466
2880
|
private readonly _borrowed;
|
|
@@ -2477,6 +2891,7 @@ declare class DocxViewer implements ZoomableViewer {
|
|
|
2477
2891
|
private _findRequestGeneration;
|
|
2478
2892
|
private _measureCtx;
|
|
2479
2893
|
private _opts;
|
|
2894
|
+
private _showTrackedChangesExplicit;
|
|
2480
2895
|
private readonly _mode;
|
|
2481
2896
|
private readonly _renderDispatcher;
|
|
2482
2897
|
private readonly _errorRouter;
|
|
@@ -2492,7 +2907,7 @@ declare class DocxViewer implements ZoomableViewer {
|
|
|
2492
2907
|
private _internalHyperlinkGeneration;
|
|
2493
2908
|
private readonly _layoutWaiters;
|
|
2494
2909
|
private _layoutFailed;
|
|
2495
|
-
private readonly
|
|
2910
|
+
private readonly _loadingIndicator;
|
|
2496
2911
|
private _elementClickListener;
|
|
2497
2912
|
private _contextMenuListener;
|
|
2498
2913
|
static fromDocument(canvas: HTMLCanvasElement, document: DocxDocument, opts?: Omit<DocxViewerOptions, keyof LoadOptions$2>): Omit<DocxViewer, 'load'>;
|
|
@@ -2537,6 +2952,7 @@ declare class DocxViewer implements ZoomableViewer {
|
|
|
2537
2952
|
private _render;
|
|
2538
2953
|
private _reportRenderError;
|
|
2539
2954
|
private _renderPage;
|
|
2955
|
+
private _clearPresentedPage;
|
|
2540
2956
|
private _bindLayoutDocument;
|
|
2541
2957
|
private _unbindLayoutDocument;
|
|
2542
2958
|
private _onLayoutPublication;
|
|
@@ -2589,102 +3005,77 @@ interface DocxScrollViewerOptions extends Omit<RenderPageOptions, 'onTextRun'>,
|
|
|
2589
3005
|
onError?: (err: Error) => void;
|
|
2590
3006
|
}
|
|
2591
3007
|
declare class DocxScrollViewer implements ZoomableViewer {
|
|
3008
|
+
private _pendingLoadAbort;
|
|
3009
|
+
private _pendingRequestedView;
|
|
3010
|
+
private _pendingViewChanged;
|
|
2592
3011
|
private readonly _documentOwner;
|
|
2593
3012
|
private get _doc();
|
|
2594
3013
|
private readonly _borrowed;
|
|
2595
3014
|
private readonly _opts;
|
|
2596
3015
|
private readonly _errorRouter;
|
|
2597
3016
|
private readonly _container;
|
|
2598
|
-
private readonly
|
|
2599
|
-
private
|
|
2600
|
-
private
|
|
3017
|
+
private readonly _shell;
|
|
3018
|
+
private get _wrapper();
|
|
3019
|
+
private get _scrollHost();
|
|
3020
|
+
private get _spacer();
|
|
2601
3021
|
private _mode;
|
|
2602
|
-
private
|
|
2603
|
-
private
|
|
2604
|
-
private
|
|
3022
|
+
private readonly _viewport;
|
|
3023
|
+
private readonly _zoom;
|
|
3024
|
+
private get _scale();
|
|
3025
|
+
private get _scaleEstablished();
|
|
3026
|
+
private readonly _scroller;
|
|
2605
3027
|
private readonly _slots;
|
|
2606
|
-
private readonly
|
|
3028
|
+
private readonly _layout;
|
|
3029
|
+
private readonly _renderHooks;
|
|
3030
|
+
private readonly _bitmap;
|
|
3031
|
+
private readonly _main;
|
|
3032
|
+
private readonly _navigation;
|
|
3033
|
+
private readonly _selection;
|
|
2607
3034
|
private _heights;
|
|
2608
3035
|
private _scrollGeometry;
|
|
2609
|
-
private
|
|
2610
|
-
private
|
|
2611
|
-
private _lastReportedTotal;
|
|
2612
|
-
private _lastReportedLayoutComplete;
|
|
2613
|
-
private _layoutUnsubscribe;
|
|
2614
|
-
private _presentedPageCount;
|
|
2615
|
-
private _scrollListener;
|
|
2616
|
-
private _selectionChangeListener;
|
|
2617
|
-
private _selectionContextKey;
|
|
2618
|
-
private _elementClickListener;
|
|
2619
|
-
private _contextMenuListener;
|
|
2620
|
-
private _commentOutsidePointerListener;
|
|
2621
|
-
private _elementContext;
|
|
3036
|
+
private readonly _visibleEvents;
|
|
3037
|
+
private readonly _loader;
|
|
2622
3038
|
private _activeCommentId;
|
|
2623
3039
|
private _activeCommentPage;
|
|
2624
3040
|
private _commentUi;
|
|
2625
|
-
private readonly _commentPageById;
|
|
2626
|
-
private readonly _commentRunsByPage;
|
|
2627
|
-
private readonly _commentIndexedPages;
|
|
2628
|
-
private _commentScanFrontier;
|
|
2629
|
-
private _commentNavigationGeneration;
|
|
2630
3041
|
private _internalHyperlinkGeneration;
|
|
2631
3042
|
private _commentAnchorRangesForMargin;
|
|
2632
3043
|
private _commentAnchorIds;
|
|
2633
|
-
private
|
|
2634
|
-
private
|
|
2635
|
-
private
|
|
2636
|
-
private readonly
|
|
2637
|
-
private _elementHitGeneration;
|
|
3044
|
+
private readonly _commentMargin;
|
|
3045
|
+
private readonly _layers;
|
|
3046
|
+
private readonly _commentNavigation;
|
|
3047
|
+
private readonly _commentOverlay;
|
|
2638
3048
|
private _destroyed;
|
|
2639
|
-
private
|
|
2640
|
-
private
|
|
2641
|
-
private
|
|
2642
|
-
private
|
|
2643
|
-
private _wheelListener;
|
|
2644
|
-
private _pendingZoomAnchor;
|
|
2645
|
-
private _resizeObserver;
|
|
2646
|
-
private _prevBase;
|
|
2647
|
-
private _lastFitWidth;
|
|
3049
|
+
private get _renderEpoch();
|
|
3050
|
+
private set _renderEpoch(value);
|
|
3051
|
+
private get _prevBase();
|
|
3052
|
+
private set _prevBase(value);
|
|
2648
3053
|
private readonly _pageShadow;
|
|
2649
3054
|
private readonly _find;
|
|
2650
3055
|
private _findActive;
|
|
3056
|
+
private readonly _highlights;
|
|
2651
3057
|
private _findRequestGeneration;
|
|
2652
3058
|
private _showTrackedChanges;
|
|
3059
|
+
private _requestedShowTrackedChanges;
|
|
2653
3060
|
private _currentDate;
|
|
2654
3061
|
private _layoutViewGeneration;
|
|
2655
|
-
private _layoutViewPublicationGeneration;
|
|
2656
3062
|
static fromDocument(container: HTMLElement, document: DocxDocument, opts?: Omit<DocxScrollViewerOptions, keyof LoadOptions$2>): Omit<DocxScrollViewer, 'load'>;
|
|
2657
3063
|
constructor(container: HTMLElement, opts?: DocxScrollViewerOptions);
|
|
2658
3064
|
load(source: string | ArrayBuffer): Promise<void>;
|
|
2659
3065
|
get pageCount(): number;
|
|
2660
3066
|
get layoutComplete(): boolean;
|
|
2661
3067
|
waitUntilLayoutComplete(): Promise<void>;
|
|
2662
|
-
private _bindLayoutDocument;
|
|
2663
|
-
private _unbindLayoutDocument;
|
|
2664
|
-
private _onLayoutPublication;
|
|
2665
|
-
private _onLayoutViewPublication;
|
|
2666
3068
|
private _refreshCommentSurface;
|
|
2667
|
-
private _applyLayoutPublication;
|
|
2668
3069
|
private _pageWidthPx;
|
|
2669
3070
|
private _pageHeightPx;
|
|
2670
|
-
private _fitWidthPx;
|
|
2671
|
-
private _hasCommentMargin;
|
|
2672
3071
|
private _hasDisplayableComments;
|
|
2673
|
-
private _commentMarginExtent;
|
|
2674
|
-
private _commentZoom;
|
|
2675
3072
|
private _commentsEnabled;
|
|
2676
3073
|
private _commentsOptions;
|
|
2677
|
-
private _commentSide;
|
|
2678
|
-
private _syncCommentMarginGeometry;
|
|
2679
3074
|
private _widestPageWidthPt;
|
|
2680
3075
|
private _baseScale;
|
|
2681
3076
|
relayout(): void;
|
|
2682
3077
|
private _relayout;
|
|
2683
3078
|
private _recomputeHeights;
|
|
2684
|
-
private _gap;
|
|
2685
|
-
private _overscan;
|
|
2686
|
-
private _pad;
|
|
2687
|
-
private _padH;
|
|
2688
3079
|
private _pageIndexAtOffset;
|
|
2689
3080
|
private _range;
|
|
2690
3081
|
private _syncSpacer;
|
|
@@ -2692,41 +3083,33 @@ declare class DocxScrollViewer implements ZoomableViewer {
|
|
|
2692
3083
|
private _onScroll;
|
|
2693
3084
|
private _mountVisible;
|
|
2694
3085
|
private _emitVisiblePageChange;
|
|
2695
|
-
private
|
|
2696
|
-
private _acquireSlot;
|
|
3086
|
+
private _createSlot;
|
|
2697
3087
|
private _recycleSlot;
|
|
3088
|
+
private _resetSlot;
|
|
2698
3089
|
private _positionSlot;
|
|
2699
|
-
private _dpr;
|
|
2700
3090
|
private _renderSlot;
|
|
2701
3091
|
private _hyperlinkHandler;
|
|
2702
3092
|
private _navigateInternalHyperlink;
|
|
2703
|
-
private _measureForFont;
|
|
2704
3093
|
private _canvasCssPx;
|
|
3094
|
+
private _commitRenderedRuns;
|
|
2705
3095
|
private _reportRenderError;
|
|
2706
3096
|
private _renderSlotBitmap;
|
|
2707
3097
|
setScale(scale: number): void;
|
|
2708
3098
|
getScale(): number;
|
|
2709
3099
|
zoomIn(): void;
|
|
2710
3100
|
zoomOut(): void;
|
|
2711
|
-
private _effectiveZoomMin;
|
|
2712
3101
|
fitWidth(): void;
|
|
2713
3102
|
fitPage(): void;
|
|
2714
|
-
private _fit;
|
|
2715
3103
|
private _previewVisible;
|
|
2716
3104
|
private _previewSlot;
|
|
2717
3105
|
private _clearTextLayerPreview;
|
|
2718
3106
|
private _scheduleSettle;
|
|
2719
|
-
private _settleRender;
|
|
2720
3107
|
private _refreshSlotAtomically;
|
|
2721
3108
|
setShowTrackedChanges(value: boolean): Promise<void>;
|
|
2722
3109
|
scrollToPage(index: number, opts?: {
|
|
2723
3110
|
behavior?: 'auto' | 'smooth';
|
|
2724
3111
|
}): void;
|
|
2725
3112
|
private _scrollToPageTarget;
|
|
2726
|
-
private _resetCommentNavigation;
|
|
2727
|
-
private _advanceCommentScanFrontier;
|
|
2728
|
-
private _indexCommentPages;
|
|
2729
|
-
private _commentRunsForPage;
|
|
2730
3113
|
goToComment(commentId: string, opts?: {
|
|
2731
3114
|
pageIndex?: number;
|
|
2732
3115
|
behavior?: 'auto' | 'smooth';
|
|
@@ -2735,27 +3118,12 @@ declare class DocxScrollViewer implements ZoomableViewer {
|
|
|
2735
3118
|
findNext(): Promise<FindMatch<DocxMatchLocation> | null>;
|
|
2736
3119
|
findPrev(): Promise<FindMatch<DocxMatchLocation> | null>;
|
|
2737
3120
|
clearFind(): void;
|
|
2738
|
-
private _activateMatch;
|
|
2739
3121
|
private _collectPageRuns;
|
|
2740
|
-
private _redrawHighlights;
|
|
2741
|
-
private _refreshFindRuns;
|
|
2742
3122
|
private _commitCommentRuns;
|
|
2743
3123
|
private _redrawSlotComments;
|
|
2744
|
-
private _redrawSlotCommentConnectors;
|
|
2745
|
-
private _scheduleCommentGeometry;
|
|
2746
|
-
private _redrawSlotHighlights;
|
|
2747
|
-
private _onResize;
|
|
2748
3124
|
get topVisiblePage(): number;
|
|
2749
3125
|
getResourceMetrics(): Promise<OoxmlResourceMetrics>;
|
|
2750
3126
|
getSelectionContext(options?: DocxSelectionContextOptions): DocxSelectionContext | null;
|
|
2751
|
-
private _emitSelectionContextChange;
|
|
2752
|
-
private _setElementContext;
|
|
2753
|
-
private _invalidateElementContext;
|
|
2754
|
-
private _redrawElementOutlines;
|
|
2755
|
-
private _redrawElementOutlineForSlot;
|
|
2756
|
-
private _onElementClick;
|
|
2757
|
-
private _onContextMenu;
|
|
2758
|
-
private _resolveContextAt;
|
|
2759
3127
|
destroy(): void;
|
|
2760
3128
|
}
|
|
2761
3129
|
declare function buildDocxTextLayer(layer: HTMLDivElement, runs: DocxTextRunInfo[], cssWidth: number, cssHeight: number, onHyperlinkClick?: (target: HyperlinkTarget) => void, measureForFont?: (font: string) => (s: string) => number, pageIndex?: number): void;
|
|
@@ -2766,10 +3134,10 @@ interface DocxHighlightMatch {
|
|
|
2766
3134
|
type DocxHighlightColors = FindHighlightColors;
|
|
2767
3135
|
declare function buildDocxHighlightLayer(layer: HTMLDivElement, runs: DocxTextRunInfo[], matches: DocxHighlightMatch[], cssWidth: number, cssHeight: number, measureForFont: (font: string) => (s: string) => number, colors?: DocxHighlightColors): void;
|
|
2768
3136
|
declare namespace docx_d_exports {
|
|
2769
|
-
export { AnchorHostMetrics, AutoResizeOptions, BodyElement, BorderSpec, CellBorders, CellElement, ChartAreaGroupDecorations, ChartBarGroupDecorations, ChartDataLabelOverride, ChartDataPointOverride, ChartDataTable, ChartDecorationLineStyle, ChartDisplayUnits, ChartDisplayUnitsLabel, ChartErrBars, ChartExElementStyle, ChartExRenderer, ChartLabelBox, ChartLegendEntryOverride, ChartLineDashSegment, ChartLineGroupDecorations, ChartManualLayout, ChartModel, ChartOfPie, ChartPlotGroup, ChartPlotGroupAxisSlot, ChartPlotGroupKind, ChartRect, ChartRegionMapRenderer, ChartRun, ChartSeries, ChartSeriesDataLabels, ChartStockBarPaint, ChartStockUpDownBarStyle, ChartSurfaceBandFormat, ChartTextBox, ChartTextParagraph, ChartTextRun, ChartThreeD, ChartThreeDPictureOptions, ChartThreeDRenderer, ChartThreeDSeriesAxis, ChartThreeDSurface, ChartTrendline, ChartType, ChartexBoxSeries, ChartexBoxWhisker, ChartexGeography, ChartexHistogramBinning, ChartexRegionMap, ChartexRegionMapColors, ChartexRegionMapRow, ChartexSunburst, ChartexSunburstRow, ChartexTreemap, ChartexValueColorStop, CjkFallback, ColSpec, CollectPageRunsOptions, ColumnsSpec, CommentAnchorGeometryFallback, CommentAnchorPoint, CommentAnchorRange, DecodedImageBudgetStrategy, DocComment, DocNote, DocParagraph, DocRevision, DocRun, DocSettings, DocTable, DocTableCell, DocTableRow, DocxCommentAnchorKind, DocxCommentHighlightRect, DocxCommentMark, DocxCommentSelectionContext, DocxCommentsOptions, DocxDocument, DocxDocumentModel, DocxElementContext, DocxElementContextOptions, DocxHighlightColors, DocxHighlightMatch, DocxMatchLocation, DocxPageCommentThreadsOptions, DocxPagePoint, DocxRunBorder, DocxScrollViewer, DocxScrollViewerOptions, DocxSelectionContext, DocxSelectionContextOptions, DocxSelectionRunLocator, DocxSelectionSourceLocator, DocxStorySource, DocxTextRun, DocxTextRunInfo, DocxTextSelectionContext, DocxViewer, DocxViewerOptions, DrawingMLCustomDashSegment, Duotone$1 as Duotone, EmbeddedFontRef, FieldRun, FillRect, FindHighlightColors, FindMatch, FindMatchesOptions, FramePr, GradientFill, GradientStop, HeaderFooter, HeadersFooters, HyperlinkTarget, ImageFill, ImageResourceOptions, ImageRun, LegendManualLayout, LineEnd, LineNumbering, LineSpacing, LoadOptions$2 as LoadOptions, MatchRunSlice, MathAccent, MathArray, MathBar, MathBorderBox, MathBox, MathDelimiter, MathFraction, MathFunc, MathGroup, MathGroupChr, MathLimit, MathNary, MathNode, MathPhant, MathRadical, MathRenderer, MathRun, MathSPre, MathScript, MathStyle, MathSvg, NoFill, NoteRef, NumberingInfo, OoxmlDecodedImageLimitError, OoxmlDecodedImageLimitMetric, OoxmlError, OoxmlErrorCode, OoxmlErrorStage, OoxmlFormat, OoxmlResourceLimit, OoxmlResourceLimitError, OoxmlResourceLimitErrorDetails, OoxmlResourceLimits, OoxmlResourceMetric, OoxmlResourceMetrics, OoxmlResourceMetricsCheckpoint, OoxmlResourceName, OoxmlResourcePolicySnapshot, OoxmlResourceUsageSnapshot, OoxmlResourceViolation, PTabRun, PageBorderEdge, PageBorders, PageNumType, ParaBorderEdge, ParagraphBorders, PathCmd$1 as PathCmd, PatternFill, RenderPageOptions, RenderPageToBitmapOptions, ResolveDocxCommentThreadsOptions, ResolvedDocxCommentAnchor, ResolvedDocxCommentThread, RevisionAnchorGeometryFallback, RevisionAnchorRange, RubyAnnotation, RunRevision, SecondaryValueAxis, SectionGeom, SectionProps, ShapeFill$1 as ShapeFill, ShapeRun, ShapeStrokeFill, ShapeText$1 as ShapeText, ShapeTextRun$1 as ShapeTextRun, SolidFill, SrcRect, TabStop, TableBorders, TblpPr, TextPath, TextSelectionContextOptions, TiffDecodeError, TiffRenderOptions, TiffRenderer, TileInfo, ViewerCommentConnectorOptions, ViewerCommentConnectorRoute, ViewerCommentConnectorStroke, ViewerCommentMessageContext, ViewerCommentThreadContext, ViewerContextMenuEvent, ZoomableViewer, autoResize, buildDocxHighlightLayer, buildDocxTextLayer, isOoxmlDecodedImageLimitError, isTiffDecodeError, noteText, openExternalHyperlink, readDocxTextSelectionContext, resolveCommentAnchorRuns, resolveDocxCommentThreads, resolveRevisionAnchorRuns };
|
|
3137
|
+
export { AnchorHostMetrics, AutoResizeOptions, BlendMode, BlipEffect, BlipEffectContainer, BlipEffectFill, BlipEffectImageFill, BodyElement, BorderSpec, CellBorders, CellElement, ChartAreaGroupDecorations, ChartAxisNumberFormat, ChartBarGroupDecorations, ChartClassicSurfaceBandStyles, ChartDataLabelOverride, ChartDataPointOverride, ChartDataTable, ChartDecorationLineStyle, ChartDisplayUnits, ChartDisplayUnitsLabel, ChartErrBars, ChartExElementStyle, ChartExRenderer, ChartLabelBox, ChartLegendEntryOverride, ChartLineDashSegment, ChartLineGroupDecorations, ChartManualLayout, ChartModel, ChartOfPie, ChartPlotGroup, ChartPlotGroupAxisSlot, ChartPlotGroupKind, ChartRect, ChartRegionMapRenderer, ChartRun, ChartSeries, ChartSeriesDataLabels, ChartStockBarPaint, ChartStockUpDownBarStyle, ChartSurfaceBandFormat, ChartTextBox, ChartTextParagraph, ChartTextRun, ChartThreeD, ChartThreeDPictureOptions, ChartThreeDRenderer, ChartThreeDSeriesAxis, ChartThreeDSurface, ChartTrendline, ChartType, ChartexBoxSeries, ChartexBoxWhisker, ChartexGeography, ChartexHistogramBinning, ChartexRegionMap, ChartexRegionMapColors, ChartexRegionMapRow, ChartexSunburst, ChartexSunburstRow, ChartexTreemap, ChartexValueColorStop, CjkFallback, ColSpec, CollectPageRunsOptions, ColumnsSpec, CommentAnchorGeometryFallback, CommentAnchorPoint, CommentAnchorRange, DecodedImageBudgetStrategy, DocComment, DocNote, DocParagraph, DocRevision, DocRun, DocSettings, DocTable, DocTableCell, DocTableRow, DocxCommentAnchorKind, DocxCommentHighlightRect, DocxCommentMark, DocxCommentSelectionContext, DocxCommentsOptions, DocxDiagnostic, DocxDiagnosticCode, DocxDocument, DocxDocumentModel, DocxElementContext, DocxElementContextOptions, DocxHighlightColors, DocxHighlightMatch, DocxMatchLocation, DocxPageCommentThreadsOptions, DocxPagePoint, DocxRunBorder, DocxScrollViewer, DocxScrollViewerOptions, DocxSelectionContext, DocxSelectionContextOptions, DocxSelectionRunLocator, DocxSelectionSourceLocator, DocxStorySource, DocxTextRun, DocxTextRunInfo, DocxTextSelectionContext, DocxViewer, DocxViewerOptions, DrawingMLCustomDashSegment, Duotone$1 as Duotone, EmbeddedFontRef, FieldRun, FillRect, FindHighlightColors, FindMatch, FindMatchesOptions, FramePr, Glow, GradientFill, GradientStop, HeaderFooter, HeadersFooters, HyperlinkTarget, ImageFill, ImageResourceOptions, ImageRun, LegendManualLayout, LineEnd, LineNumbering, LineSpacing, LoadOptions$2 as LoadOptions, MatchRunSlice, MathAccent, MathArray, MathBar, MathBorderBox, MathBox, MathDelimiter, MathFraction, MathFunc, MathGroup, MathGroupChr, MathLimit, MathNary, MathNode, MathPhant, MathRadical, MathRenderer, MathRun, MathSPre, MathScript, MathStyle, MathSvg, ModelSource, ModelSourceConfig, ModelSourceConfigValue, ModelSourceLoad, ModelSourceModule, ModelSourceModuleDescriptor, ModelSourceTarget, NoFill, NoteRef, NumberingInfo, OoxmlDecodedImageLimitError, OoxmlDecodedImageLimitMetric, OoxmlError, OoxmlErrorCode, OoxmlErrorStage, OoxmlFormat, OoxmlResourceLimit, OoxmlResourceLimitError, OoxmlResourceLimitErrorDetails, OoxmlResourceLimits, OoxmlResourceMetric, OoxmlResourceMetrics, OoxmlResourceMetricsCheckpoint, OoxmlResourceName, OoxmlResourcePolicySnapshot, OoxmlResourceUsageSnapshot, OoxmlResourceViolation, OoxmlUnsupportedContentDetails, OpenedModelSource, PTabRun, PageBorderEdge, PageBorders, PageNumType, ParaBorderEdge, ParagraphBorders, PathCmd$1 as PathCmd, PatternFill, Reflection, RenderPageOptions, RenderPageToBitmapOptions, ResolveDocxCommentThreadsOptions, ResolvedDocxCommentAnchor, ResolvedDocxCommentThread, RevisionAnchorGeometryFallback, RevisionAnchorRange, RubyAnnotation, RunRevision, SecondaryValueAxis, SectionGeom, SectionProps, Shadow, ShapeFill$1 as ShapeFill, ShapeRun, ShapeStrokeFill, ShapeText$1 as ShapeText, ShapeTextRun$1 as ShapeTextRun, SoftEdge, SolidFill, SrcRect, TabStop, TableBorders, TblpPr, TextPath, TextSelectionContextOptions, TiffDecodeError, TiffRenderOptions, TiffRenderer, TileInfo, ViewerCommentConnectorOptions, ViewerCommentConnectorRoute, ViewerCommentConnectorStroke, ViewerCommentMessageContext, ViewerCommentThreadContext, ViewerContextMenuEvent, XlsxWorksheetLimits, ZoomableViewer, autoResize, buildDocxHighlightLayer, buildDocxTextLayer, isOoxmlDecodedImageLimitError, isTiffDecodeError, noteText, openExternalHyperlink, readDocxTextSelectionContext, resolveCommentAnchorRuns, resolveDocxCommentThreads, resolveRevisionAnchorRuns };
|
|
2770
3138
|
}
|
|
2771
3139
|
//#endregion
|
|
2772
|
-
//#region dist/.types-work/types-
|
|
3140
|
+
//#region dist/.types-work/types-BYMzwltM.d.ts
|
|
2773
3141
|
interface BlipBullet {
|
|
2774
3142
|
type: 'blip';
|
|
2775
3143
|
imagePath: string;
|
|
@@ -2779,11 +3147,20 @@ interface BlipBullet {
|
|
|
2779
3147
|
}
|
|
2780
3148
|
type Bullet = Bullet$1 | BlipBullet;
|
|
2781
3149
|
interface Paragraph extends Paragraph$1 {
|
|
3150
|
+
mathFallbacks?: {
|
|
3151
|
+
start: number;
|
|
3152
|
+
end: number;
|
|
3153
|
+
text: string;
|
|
3154
|
+
}[];
|
|
2782
3155
|
eaLnBrk: boolean;
|
|
3156
|
+
fontAlgn?: 't' | 'ctr' | 'b';
|
|
2783
3157
|
defTabSz?: number;
|
|
2784
3158
|
}
|
|
2785
3159
|
interface TextBody extends TextBody$1 {
|
|
2786
3160
|
rtlCol?: boolean;
|
|
3161
|
+
spcFirstLastPara?: boolean;
|
|
3162
|
+
anchorCtr?: boolean;
|
|
3163
|
+
compatLnSpc?: boolean;
|
|
2787
3164
|
textWarp?: {
|
|
2788
3165
|
preset: string;
|
|
2789
3166
|
adj?: number[];
|
|
@@ -2801,6 +3178,12 @@ interface Presentation {
|
|
|
2801
3178
|
folHlinkColor?: string;
|
|
2802
3179
|
}
|
|
2803
3180
|
interface Slide {
|
|
3181
|
+
theme?: {
|
|
3182
|
+
defaultTextColor: string | null;
|
|
3183
|
+
majorFont: string | null;
|
|
3184
|
+
minorFont: string | null;
|
|
3185
|
+
hlinkColor: string | null;
|
|
3186
|
+
};
|
|
2804
3187
|
index: number;
|
|
2805
3188
|
slideNumber: number;
|
|
2806
3189
|
partName?: string;
|
|
@@ -2873,7 +3256,13 @@ interface MediaElement {
|
|
|
2873
3256
|
mediaPath: string;
|
|
2874
3257
|
mimeType: string;
|
|
2875
3258
|
}
|
|
3259
|
+
interface EquationBranchFallback {
|
|
3260
|
+
elements: SlideElement[];
|
|
3261
|
+
before: number;
|
|
3262
|
+
after: number;
|
|
3263
|
+
}
|
|
2876
3264
|
interface ShapeElement {
|
|
3265
|
+
mathFallback?: EquationBranchFallback;
|
|
2877
3266
|
type: 'shape';
|
|
2878
3267
|
x: number;
|
|
2879
3268
|
y: number;
|
|
@@ -2888,6 +3277,10 @@ interface ShapeElement {
|
|
|
2888
3277
|
textBody: TextBody | null;
|
|
2889
3278
|
defaultTextColor: string | null;
|
|
2890
3279
|
custGeom: PathCmd$2[][] | null;
|
|
3280
|
+
custGeomPaint?: {
|
|
3281
|
+
fill: string | null;
|
|
3282
|
+
stroke: boolean;
|
|
3283
|
+
}[];
|
|
2891
3284
|
adj: number | null;
|
|
2892
3285
|
adj2: number | null;
|
|
2893
3286
|
adj3: number | null;
|
|
@@ -2951,6 +3344,8 @@ interface Sp3d {
|
|
|
2951
3344
|
bevelB?: Bevel3d;
|
|
2952
3345
|
}
|
|
2953
3346
|
interface TableElement {
|
|
3347
|
+
mathFallback?: EquationBranchFallback;
|
|
3348
|
+
background?: Fill;
|
|
2954
3349
|
type: 'table';
|
|
2955
3350
|
id?: string;
|
|
2956
3351
|
x: number;
|
|
@@ -2970,6 +3365,7 @@ interface TableRow {
|
|
|
2970
3365
|
}
|
|
2971
3366
|
interface TableCell {
|
|
2972
3367
|
textBody: TextBody | null;
|
|
3368
|
+
horzOverflow?: 'clip' | 'overflow';
|
|
2973
3369
|
fill: Fill | null;
|
|
2974
3370
|
textColor?: string;
|
|
2975
3371
|
borderL: Stroke | null;
|
|
@@ -3011,6 +3407,7 @@ interface PictureElement {
|
|
|
3011
3407
|
intrinsicWidthPx?: number;
|
|
3012
3408
|
intrinsicHeightPx?: number;
|
|
3013
3409
|
stroke: Stroke | null;
|
|
3410
|
+
fill?: Fill;
|
|
3014
3411
|
prstGeom?: string;
|
|
3015
3412
|
prstAdjust?: number[];
|
|
3016
3413
|
srcRect?: {
|
|
@@ -3021,6 +3418,7 @@ interface PictureElement {
|
|
|
3021
3418
|
};
|
|
3022
3419
|
alpha?: number;
|
|
3023
3420
|
duotone?: Duotone$1;
|
|
3421
|
+
blipEffects?: BlipEffect[];
|
|
3024
3422
|
custGeom?: PathCmd$2[][] | null;
|
|
3025
3423
|
shadow?: Shadow;
|
|
3026
3424
|
innerShadow?: Shadow;
|
|
@@ -3031,8 +3429,9 @@ interface PictureElement {
|
|
|
3031
3429
|
sp3d?: Sp3d;
|
|
3032
3430
|
}
|
|
3033
3431
|
//#endregion
|
|
3034
|
-
//#region dist/.types-work/pptx-
|
|
3432
|
+
//#region dist/.types-work/pptx-Fl1NT0GT.d.ts
|
|
3035
3433
|
interface PptxTextRunInfo {
|
|
3434
|
+
renderElementIndex?: number;
|
|
3036
3435
|
elementIndex?: number;
|
|
3037
3436
|
origin?: SlideElementOrigin;
|
|
3038
3437
|
shapeId?: string;
|
|
@@ -3054,6 +3453,7 @@ interface PptxTextRunInfo {
|
|
|
3054
3453
|
row: number;
|
|
3055
3454
|
column: number;
|
|
3056
3455
|
}>;
|
|
3456
|
+
cellHorzOverflow?: 'clip' | 'overflow';
|
|
3057
3457
|
textBodyRotation?: number;
|
|
3058
3458
|
hyperlink?: HyperlinkTarget;
|
|
3059
3459
|
}
|
|
@@ -3162,6 +3562,7 @@ interface PptxElementBounds {
|
|
|
3162
3562
|
}
|
|
3163
3563
|
type PptxSelectionContext = PptxTextSelectionContext | PptxCommentSelectionContext | PptxElementContext;
|
|
3164
3564
|
type LoadOptions$1 = LoadOptions$3 & {
|
|
3565
|
+
legacyPpt?: ModelSource<'pptx'>;
|
|
3165
3566
|
mode?: 'main' | 'worker';
|
|
3166
3567
|
progressiveLayout?: boolean;
|
|
3167
3568
|
onLayoutProgress?: (progress: Readonly<ProgressiveLayoutProgress>) => void;
|
|
@@ -3188,6 +3589,7 @@ interface PresentSlideOptions extends Omit<RenderSlideOptions, 'skipMediaControl
|
|
|
3188
3589
|
}
|
|
3189
3590
|
declare class PptxPresentation {
|
|
3190
3591
|
private _cjkFallback;
|
|
3592
|
+
private _googleSubstitutes;
|
|
3191
3593
|
private _metrics;
|
|
3192
3594
|
private readonly _worker;
|
|
3193
3595
|
private readonly _bridge;
|
|
@@ -3208,10 +3610,12 @@ declare class PptxPresentation {
|
|
|
3208
3610
|
private _resourceFailure;
|
|
3209
3611
|
private _slidePartIndex;
|
|
3210
3612
|
private readonly _rawParts;
|
|
3211
|
-
private
|
|
3613
|
+
private _googleFonts;
|
|
3614
|
+
private readonly _officeFontLoads;
|
|
3212
3615
|
private _embeddedFontFaces;
|
|
3213
3616
|
private _embeddedFontAliases;
|
|
3214
3617
|
private _embeddedFontAuthoredFamilies;
|
|
3618
|
+
private _embeddedFontTuples;
|
|
3215
3619
|
private _destroyed;
|
|
3216
3620
|
private readonly _fetchImage;
|
|
3217
3621
|
private readonly _fetchMedia;
|
|
@@ -3224,6 +3628,7 @@ declare class PptxPresentation {
|
|
|
3224
3628
|
private _assertResourceHealthy;
|
|
3225
3629
|
private _rethrowWithResourceFailure;
|
|
3226
3630
|
static load(source: string | ArrayBuffer, opts?: LoadOptions$1): Promise<PptxPresentation>;
|
|
3631
|
+
private _ensureGoogleFonts;
|
|
3227
3632
|
private _parse;
|
|
3228
3633
|
private _parseMainProgressively;
|
|
3229
3634
|
private _parseWorkerProgressively;
|
|
@@ -3251,6 +3656,7 @@ declare class PptxPresentation {
|
|
|
3251
3656
|
private _partIndex;
|
|
3252
3657
|
getSlideIndexByPartName(partName: string): number | undefined;
|
|
3253
3658
|
resolveInternalTarget(ref: string, currentIndex?: number): number | undefined;
|
|
3659
|
+
private _officeRoutesForRequests;
|
|
3254
3660
|
renderSlide(canvas: HTMLCanvasElement | OffscreenCanvas, slideIndex: number, opts?: RenderSlideOptions): Promise<void>;
|
|
3255
3661
|
renderSlideToBitmap(slideIndex: number, opts?: RenderSlideToBitmapOptions): Promise<ImageBitmap>;
|
|
3256
3662
|
collectSlideRuns(slideIndex: number, width?: number): Promise<PptxTextRunInfo[]>;
|
|
@@ -3315,7 +3721,7 @@ declare class PptxViewer implements ZoomableViewer {
|
|
|
3315
3721
|
private elementContext;
|
|
3316
3722
|
private elementHitGeneration;
|
|
3317
3723
|
private readonly elementHitTolerance;
|
|
3318
|
-
private readonly
|
|
3724
|
+
private readonly _loadingIndicator;
|
|
3319
3725
|
private _layoutUnsubscribe;
|
|
3320
3726
|
private readonly _layoutWaiters;
|
|
3321
3727
|
private _layoutFailed;
|
|
@@ -3433,56 +3839,45 @@ declare class PptxScrollViewer implements ZoomableViewer {
|
|
|
3433
3839
|
private readonly _opts;
|
|
3434
3840
|
private readonly _errorRouter;
|
|
3435
3841
|
private readonly _container;
|
|
3436
|
-
private readonly
|
|
3437
|
-
private
|
|
3438
|
-
private
|
|
3842
|
+
private readonly _shell;
|
|
3843
|
+
private get _wrapper();
|
|
3844
|
+
private get _scrollHost();
|
|
3845
|
+
private get _spacer();
|
|
3439
3846
|
private _mode;
|
|
3440
|
-
private
|
|
3441
|
-
private
|
|
3442
|
-
private
|
|
3847
|
+
private readonly _viewport;
|
|
3848
|
+
private readonly _zoom;
|
|
3849
|
+
private get _scale();
|
|
3850
|
+
private get _scaleEstablished();
|
|
3851
|
+
private readonly _scroller;
|
|
3443
3852
|
private readonly _slots;
|
|
3444
|
-
private readonly
|
|
3853
|
+
private readonly _layout;
|
|
3854
|
+
private readonly _renderHooks;
|
|
3855
|
+
private readonly _bitmap;
|
|
3856
|
+
private readonly _main;
|
|
3857
|
+
private readonly _media;
|
|
3858
|
+
private readonly _commentNavigation;
|
|
3859
|
+
private readonly _navigation;
|
|
3860
|
+
private readonly _selection;
|
|
3445
3861
|
private _uniformSlideHeight;
|
|
3446
|
-
private
|
|
3447
|
-
private
|
|
3448
|
-
private _lastReportedTotal;
|
|
3449
|
-
private _lastReportedLayoutComplete;
|
|
3450
|
-
private _layoutUnsubscribe;
|
|
3451
|
-
private _scrollListener;
|
|
3452
|
-
private _selectionChangeListener;
|
|
3453
|
-
private _selectionContextKey;
|
|
3454
|
-
private _elementClickListener;
|
|
3455
|
-
private _contextMenuListener;
|
|
3456
|
-
private _commentOutsidePointerListener;
|
|
3457
|
-
private _elementContext;
|
|
3862
|
+
private readonly _visibleEvents;
|
|
3863
|
+
private readonly _loader;
|
|
3458
3864
|
private _activeCommentId;
|
|
3459
3865
|
private _activeCommentSlide;
|
|
3460
|
-
private _commentNavigationGeneration;
|
|
3461
3866
|
private _commentUi;
|
|
3462
|
-
private _commentGeometryScheduled;
|
|
3463
|
-
private _commentGeometryFrame;
|
|
3464
|
-
private readonly _pendingCommentGeometry;
|
|
3465
3867
|
private _hasComments;
|
|
3466
|
-
private
|
|
3868
|
+
private readonly _commentMargin;
|
|
3869
|
+
private readonly _layers;
|
|
3870
|
+
private readonly _commentOverlay;
|
|
3467
3871
|
private _commentScanFrontier;
|
|
3468
|
-
private readonly _layoutWaiters;
|
|
3469
|
-
private _layoutFailed;
|
|
3470
|
-
private _elementHitGeneration;
|
|
3471
3872
|
private readonly _elementHitTolerance;
|
|
3472
3873
|
private _destroyed;
|
|
3473
|
-
private
|
|
3474
|
-
private _renderEpoch;
|
|
3475
|
-
private _settleTimer;
|
|
3476
|
-
private _wheelListener;
|
|
3477
|
-
private _pendingZoomAnchor;
|
|
3478
|
-
private _resizeObserver;
|
|
3479
|
-
private _prevBase;
|
|
3480
|
-
private _lastFitWidth;
|
|
3874
|
+
private get _renderEpoch();
|
|
3875
|
+
private set _renderEpoch(value);
|
|
3481
3876
|
private readonly _pageShadow;
|
|
3482
3877
|
private readonly _find;
|
|
3483
3878
|
private _findGeneration;
|
|
3484
3879
|
private _findActive;
|
|
3485
|
-
private
|
|
3880
|
+
private readonly _highlights;
|
|
3486
3881
|
static fromPresentation(container: HTMLElement, presentation: PptxPresentation, opts?: Omit<PptxScrollViewerOptions, keyof LoadOptions$1>): Omit<PptxScrollViewer, 'load'>;
|
|
3487
3882
|
constructor(container: HTMLElement, opts?: PptxScrollViewerOptions);
|
|
3488
3883
|
load(source: string | ArrayBuffer): Promise<void>;
|
|
@@ -3492,25 +3887,15 @@ declare class PptxScrollViewer implements ZoomableViewer {
|
|
|
3492
3887
|
waitUntilLayoutComplete(): Promise<void>;
|
|
3493
3888
|
private _slideWidthPx;
|
|
3494
3889
|
private _slideHeightPx;
|
|
3495
|
-
private _fitWidthPx;
|
|
3496
|
-
private _commentMarginExtent;
|
|
3497
|
-
private _hasCommentMargin;
|
|
3498
|
-
private _commentZoom;
|
|
3499
3890
|
private _commentsEnabled;
|
|
3500
3891
|
private _commentsOptions;
|
|
3501
|
-
private _commentSide;
|
|
3502
|
-
private _syncCommentMarginGeometry;
|
|
3503
3892
|
private _scanAvailableComments;
|
|
3504
3893
|
private _refreshDiscoveredComments;
|
|
3505
3894
|
private _baseScale;
|
|
3506
3895
|
relayout(): void;
|
|
3507
3896
|
private _relayout;
|
|
3508
3897
|
private _recomputeHeights;
|
|
3509
|
-
private _gap;
|
|
3510
|
-
private _overscan;
|
|
3511
3898
|
private _mediaOverscan;
|
|
3512
|
-
private _pad;
|
|
3513
|
-
private _padH;
|
|
3514
3899
|
private _slideOffset;
|
|
3515
3900
|
private _slideIndexAtOffset;
|
|
3516
3901
|
private _rangeAt;
|
|
@@ -3521,44 +3906,30 @@ declare class PptxScrollViewer implements ZoomableViewer {
|
|
|
3521
3906
|
private _syncSpacerWidth;
|
|
3522
3907
|
private _onScroll;
|
|
3523
3908
|
private _mountVisible;
|
|
3524
|
-
private
|
|
3525
|
-
private _acquireSlot;
|
|
3909
|
+
private _createSlot;
|
|
3526
3910
|
private _recycleSlot;
|
|
3911
|
+
private _resetSlot;
|
|
3527
3912
|
private _positionSlot;
|
|
3528
|
-
private _dpr;
|
|
3529
3913
|
private _renderSlot;
|
|
3530
3914
|
private _trackSlotLoading;
|
|
3531
|
-
private _bindLayoutPresentation;
|
|
3532
|
-
private _unbindLayoutPresentation;
|
|
3533
|
-
private _onLayoutPublication;
|
|
3534
|
-
private _wakeLayoutWaiters;
|
|
3535
|
-
private _beginCommentNavigation;
|
|
3536
|
-
private _waitForSlideMetadata;
|
|
3537
3915
|
private _emitVisibleSlideChange;
|
|
3538
|
-
private _renderInteractiveSlot;
|
|
3539
|
-
private _syncMediaPlayback;
|
|
3540
3916
|
private _reportRenderError;
|
|
3917
|
+
private _commitRenderedRuns;
|
|
3541
3918
|
private _renderSlotBitmap;
|
|
3542
3919
|
setScale(scale: number): void;
|
|
3543
3920
|
getScale(): number;
|
|
3544
3921
|
zoomIn(): void;
|
|
3545
3922
|
zoomOut(): void;
|
|
3546
|
-
private _effectiveZoomMin;
|
|
3547
3923
|
fitWidth(): void;
|
|
3548
3924
|
fitPage(): void;
|
|
3549
|
-
private _fit;
|
|
3550
3925
|
private _previewVisible;
|
|
3551
3926
|
private _previewSlot;
|
|
3552
3927
|
private _clearTextLayerPreview;
|
|
3553
3928
|
private _scheduleSettle;
|
|
3554
|
-
private _settleRender;
|
|
3555
3929
|
private _settleSlot;
|
|
3556
|
-
private _settleInteractiveSlot;
|
|
3557
3930
|
scrollToSlide(index: number, opts?: {
|
|
3558
3931
|
behavior?: 'auto' | 'smooth';
|
|
3559
3932
|
}): void;
|
|
3560
|
-
private _scrollToSlideCommentTarget;
|
|
3561
|
-
private _resolveSlideCommentElementBounds;
|
|
3562
3933
|
goToComment(slideIndex: number, commentIndex: number, opts?: {
|
|
3563
3934
|
behavior?: 'auto' | 'smooth';
|
|
3564
3935
|
}): Promise<boolean>;
|
|
@@ -3567,32 +3938,16 @@ declare class PptxScrollViewer implements ZoomableViewer {
|
|
|
3567
3938
|
findPrev(): Promise<FindMatch<PptxMatchLocation> | null>;
|
|
3568
3939
|
clearFind(): void;
|
|
3569
3940
|
private _invalidateFind;
|
|
3570
|
-
private _activateMatch;
|
|
3571
3941
|
private _collectSlideRuns;
|
|
3572
|
-
private _redrawHighlights;
|
|
3573
|
-
private _refreshFindRuns;
|
|
3574
3942
|
private _redrawSlotComments;
|
|
3575
|
-
private _redrawSlotCommentConnectors;
|
|
3576
3943
|
private _commitSlotComments;
|
|
3577
3944
|
private _ensureSlotCommentAnchors;
|
|
3578
|
-
private _scheduleCommentGeometry;
|
|
3579
|
-
private _redrawSlotHighlights;
|
|
3580
|
-
private _measureForFind;
|
|
3581
3945
|
private _hyperlinkHandler;
|
|
3582
3946
|
private _onHyperlinkClick;
|
|
3583
3947
|
private _resolveInternalSlideIndex;
|
|
3584
|
-
private _onResize;
|
|
3585
3948
|
get topVisibleSlide(): number;
|
|
3586
3949
|
getResourceMetrics(): Promise<OoxmlResourceMetrics>;
|
|
3587
3950
|
getSelectionContext(options?: PptxSelectionContextOptions): PptxSelectionContext | null;
|
|
3588
|
-
private _emitSelectionContextChange;
|
|
3589
|
-
private _setElementContext;
|
|
3590
|
-
private _invalidateElementSelection;
|
|
3591
|
-
private _redrawElementOutlines;
|
|
3592
|
-
private _redrawElementOutlineForSlot;
|
|
3593
|
-
private _onElementClick;
|
|
3594
|
-
private _onContextMenu;
|
|
3595
|
-
private _resolveContextAt;
|
|
3596
3951
|
destroy(): void;
|
|
3597
3952
|
}
|
|
3598
3953
|
declare function buildPptxTextLayer(layer: HTMLDivElement, runs: PptxTextRunInfo[], cssWidth: number, cssHeight: number, onHyperlinkClick?: (target: HyperlinkTarget) => void, slideIndex?: number): void;
|
|
@@ -3603,10 +3958,10 @@ interface PptxHighlightMatch {
|
|
|
3603
3958
|
type PptxHighlightColors = FindHighlightColors;
|
|
3604
3959
|
declare function buildPptxHighlightLayer(layer: HTMLDivElement, runs: PptxTextRunInfo[], matches: PptxHighlightMatch[], cssWidth: number, cssHeight: number, measureForFont: (font: string) => (s: string) => number, colors?: PptxHighlightColors): void;
|
|
3605
3960
|
declare namespace pptx_d_exports {
|
|
3606
|
-
export { ArrowEnd, AutoResizeOptions, Bevel3d, BlipBullet, Bullet, Camera3d, ChartAreaGroupDecorations, ChartBarGroupDecorations, ChartDataLabelOverride, ChartDataPointOverride, ChartDataTable, ChartDecorationLineStyle, ChartDisplayUnits, ChartDisplayUnitsLabel, ChartElement, ChartErrBars, ChartExElementStyle, ChartExRenderer, ChartLabelBox, ChartLegendEntryOverride, ChartLineDashSegment, ChartLineGroupDecorations, ChartManualLayout, ChartModel, ChartOfPie, ChartPlotGroup, ChartPlotGroupAxisSlot, ChartPlotGroupKind, ChartRect, ChartRegionMapRenderer, ChartSeries, ChartSeriesDataLabels, ChartStockBarPaint, ChartStockUpDownBarStyle, ChartSurfaceBandFormat, ChartTextBox, ChartTextParagraph, ChartTextRun, ChartThreeD, ChartThreeDPictureOptions, ChartThreeDRenderer, ChartThreeDSeriesAxis, ChartThreeDSurface, ChartTrendline, ChartType, ChartexBoxSeries, ChartexBoxWhisker, ChartexGeography, ChartexHistogramBinning, ChartexRegionMap, ChartexRegionMapColors, ChartexRegionMapRow, ChartexSunburst, ChartexSunburstRow, ChartexTreemap, ChartexValueColorStop, CjkFallback, DecodedImageBudgetStrategy, DimOptions, DrawingMLCustomDashSegment, Duotone$1 as Duotone, EquationRun, Fill, FillRect, FindHighlightColors, FindMatch, FindMatchesOptions, Glow, GradientFill, GradientStop$1 as GradientStop, HiddenSlideMode, HyperlinkTarget, ImageFill, ImageResourceOptions, LegendManualLayout, LightRig, LineBreak, LoadOptions$1 as LoadOptions, MatchRunSlice, MathAccent, MathArray, MathBar, MathBorderBox, MathBox, MathDelimiter, MathFraction, MathFunc, MathGroup, MathGroupChr, MathLimit, MathNary, MathNode, MathPhant, MathRadical, MathRenderer, MathRun, MathSPre, MathScript, MathStyle, MathSvg, MediaElement, NoFill, OoxmlDecodedImageLimitError, OoxmlDecodedImageLimitMetric, OoxmlError, OoxmlErrorCode, OoxmlErrorStage, OoxmlFormat, OoxmlResourceLimit, OoxmlResourceLimitError, OoxmlResourceLimitErrorDetails, OoxmlResourceLimits, OoxmlResourceMetric, OoxmlResourceMetrics, OoxmlResourceMetricsCheckpoint, OoxmlResourceName, OoxmlResourcePolicySnapshot, OoxmlResourceUsageSnapshot, OoxmlResourceViolation, Paragraph, PathCmd$2 as PathCmd, PatternFill, PictureElement, PptxComment, PptxCommentAnchor, PptxCommentReply, PptxCommentSelectionContext, PptxCommentsOptions, PptxElementBounds, PptxElementContext, PptxElementContextOptions, PptxHighlightColors, PptxHighlightMatch, PptxMatchLocation, PptxPresentation, PptxScrollViewer, PptxScrollViewerOptions, PptxSelectionContext, PptxSelectionContextOptions, PptxSelectionRunLocator, PptxSlidePoint, PptxTextRunInfo, PptxTextSelectionContext, PptxViewer, PptxViewerOptions, PresentSlideOptions, Presentation, PresentationHandle, Reflection, RenderOptions, RenderSlideOptions, RenderSlideToBitmapOptions, Rot3d, Scene3d, SecondaryValueAxis, Shadow, ShapeElement, Slide, SlideElement, SlideElementOrigin, SlideElementSource, SlideRenderOptions, SoftEdge, SolidFill, Sp3d, SpaceLine, SrcRect, Stroke, TabStop$1 as TabStop, TableCell, TableElement, TableRow, TextBody, TextOutline, TextRect, TextRun, TextRunCallback, TextRunData, TextSelectionContextOptions, TiffDecodeError, TiffRenderOptions, TiffRenderer, TileInfo, ViewerCommentConnectorOptions, ViewerCommentConnectorRoute, ViewerCommentConnectorStroke, ViewerCommentMessageContext, ViewerCommentThreadContext, ViewerContextMenuEvent, ZoomableViewer, autoResize, buildPptxHighlightLayer, buildPptxTextLayer, isOoxmlDecodedImageLimitError, isTiffDecodeError, openExternalHyperlink, readPptxTextSelectionContext, renderSlide };
|
|
3961
|
+
export { ArrowEnd, AutoResizeOptions, Bevel3d, BlendMode, BlipBullet, BlipEffect, BlipEffectContainer, BlipEffectFill, BlipEffectImageFill, Bullet, Camera3d, ChartAreaGroupDecorations, ChartAxisNumberFormat, ChartBarGroupDecorations, ChartClassicSurfaceBandStyles, ChartDataLabelOverride, ChartDataPointOverride, ChartDataTable, ChartDecorationLineStyle, ChartDisplayUnits, ChartDisplayUnitsLabel, ChartElement, ChartErrBars, ChartExElementStyle, ChartExRenderer, ChartLabelBox, ChartLegendEntryOverride, ChartLineDashSegment, ChartLineGroupDecorations, ChartManualLayout, ChartModel, ChartOfPie, ChartPlotGroup, ChartPlotGroupAxisSlot, ChartPlotGroupKind, ChartRect, ChartRegionMapRenderer, ChartSeries, ChartSeriesDataLabels, ChartStockBarPaint, ChartStockUpDownBarStyle, ChartSurfaceBandFormat, ChartTextBox, ChartTextParagraph, ChartTextRun, ChartThreeD, ChartThreeDPictureOptions, ChartThreeDRenderer, ChartThreeDSeriesAxis, ChartThreeDSurface, ChartTrendline, ChartType, ChartexBoxSeries, ChartexBoxWhisker, ChartexGeography, ChartexHistogramBinning, ChartexRegionMap, ChartexRegionMapColors, ChartexRegionMapRow, ChartexSunburst, ChartexSunburstRow, ChartexTreemap, ChartexValueColorStop, CjkFallback, DecodedImageBudgetStrategy, DimOptions, DrawingMLCustomDashSegment, Duotone$1 as Duotone, EquationBranchFallback, EquationRun, Fill, FillRect, FindHighlightColors, FindMatch, FindMatchesOptions, Glow, GradientFill, GradientStop$1 as GradientStop, HiddenSlideMode, HyperlinkTarget, ImageFill, ImageResourceOptions, LegendManualLayout, LightRig, LineBreak, LoadOptions$1 as LoadOptions, MatchRunSlice, MathAccent, MathArray, MathBar, MathBorderBox, MathBox, MathDelimiter, MathFraction, MathFunc, MathGroup, MathGroupChr, MathLimit, MathNary, MathNode, MathPhant, MathRadical, MathRenderer, MathRun, MathSPre, MathScript, MathStyle, MathSvg, MediaElement, ModelSource, ModelSourceConfig, ModelSourceConfigValue, ModelSourceLoad, ModelSourceModule, ModelSourceModuleDescriptor, ModelSourceTarget, NoFill, OoxmlDecodedImageLimitError, OoxmlDecodedImageLimitMetric, OoxmlError, OoxmlErrorCode, OoxmlErrorStage, OoxmlFormat, OoxmlResourceLimit, OoxmlResourceLimitError, OoxmlResourceLimitErrorDetails, OoxmlResourceLimits, OoxmlResourceMetric, OoxmlResourceMetrics, OoxmlResourceMetricsCheckpoint, OoxmlResourceName, OoxmlResourcePolicySnapshot, OoxmlResourceUsageSnapshot, OoxmlResourceViolation, OoxmlUnsupportedContentDetails, OpenedModelSource, Paragraph, PathCmd$2 as PathCmd, PatternFill, PictureElement, PptxComment, PptxCommentAnchor, PptxCommentReply, PptxCommentSelectionContext, PptxCommentsOptions, PptxElementBounds, PptxElementContext, PptxElementContextOptions, PptxHighlightColors, PptxHighlightMatch, PptxMatchLocation, PptxPresentation, PptxScrollViewer, PptxScrollViewerOptions, PptxSelectionContext, PptxSelectionContextOptions, PptxSelectionRunLocator, PptxSlidePoint, PptxTextRunInfo, PptxTextSelectionContext, PptxViewer, PptxViewerOptions, PresentSlideOptions, Presentation, PresentationHandle, Reflection, RenderOptions, RenderSlideOptions, RenderSlideToBitmapOptions, Rot3d, Scene3d, SecondaryValueAxis, Shadow, ShapeElement, Slide, SlideElement, SlideElementOrigin, SlideElementSource, SlideRenderOptions, SoftEdge, SolidFill, Sp3d, SpaceLine, SrcRect, Stroke, TabStop$1 as TabStop, TableCell, TableElement, TableRow, TextBody, TextOutline, TextRect, TextRun, TextRunCallback, TextRunData, TextSelectionContextOptions, TiffDecodeError, TiffRenderOptions, TiffRenderer, TileInfo, ViewerCommentConnectorOptions, ViewerCommentConnectorRoute, ViewerCommentConnectorStroke, ViewerCommentMessageContext, ViewerCommentThreadContext, ViewerContextMenuEvent, XlsxWorksheetLimits, ZoomableViewer, autoResize, buildPptxHighlightLayer, buildPptxTextLayer, isOoxmlDecodedImageLimitError, isTiffDecodeError, openExternalHyperlink, readPptxTextSelectionContext, renderSlide };
|
|
3607
3962
|
}
|
|
3608
3963
|
//#endregion
|
|
3609
|
-
//#region dist/.types-work/types-
|
|
3964
|
+
//#region dist/.types-work/types-_hQx9Nud.d.ts
|
|
3610
3965
|
type ShapeFill = Exclude<Fill, {
|
|
3611
3966
|
fillType: 'image';
|
|
3612
3967
|
} | {
|
|
@@ -3652,6 +4007,8 @@ interface Worksheet {
|
|
|
3652
4007
|
colCollapsed?: Record<number, boolean>;
|
|
3653
4008
|
colHidden?: Record<number, boolean>;
|
|
3654
4009
|
defaultColWidth: number;
|
|
4010
|
+
baseColWidth?: number;
|
|
4011
|
+
defaultColWidthIsUi?: boolean;
|
|
3655
4012
|
defaultRowHeight: number;
|
|
3656
4013
|
defaultRowHeightCustom?: boolean;
|
|
3657
4014
|
mergeCells: MergeCell[];
|
|
@@ -3679,6 +4036,11 @@ interface Worksheet {
|
|
|
3679
4036
|
sparklineGroups?: SparklineGroup[];
|
|
3680
4037
|
defaultFontFamily?: string;
|
|
3681
4038
|
defaultFontSize?: number;
|
|
4039
|
+
defaultFontBold?: boolean;
|
|
4040
|
+
defaultFontItalic?: boolean;
|
|
4041
|
+
normalFontSize?: number;
|
|
4042
|
+
themeJapaneseMajorFont?: string;
|
|
4043
|
+
themeJapaneseMinorFont?: string;
|
|
3682
4044
|
date1904?: boolean;
|
|
3683
4045
|
parseError?: string;
|
|
3684
4046
|
}
|
|
@@ -3696,6 +4058,27 @@ interface PivotTableMetadata {
|
|
|
3696
4058
|
cacheSource?: PivotCacheSource;
|
|
3697
4059
|
status: PivotMetadataStatus;
|
|
3698
4060
|
extensionUris?: string[];
|
|
4061
|
+
style?: PivotTableStyle;
|
|
4062
|
+
rowItems?: PivotAxisItem[];
|
|
4063
|
+
columnItems?: PivotAxisItem[];
|
|
4064
|
+
}
|
|
4065
|
+
interface PivotTableStyle {
|
|
4066
|
+
name: string;
|
|
4067
|
+
showRowHeaders: boolean;
|
|
4068
|
+
showColumnHeaders: boolean;
|
|
4069
|
+
showRowStripes: boolean;
|
|
4070
|
+
showColumnStripes: boolean;
|
|
4071
|
+
showLastColumn: boolean;
|
|
4072
|
+
elements: PivotTableStyleElement[];
|
|
4073
|
+
}
|
|
4074
|
+
interface PivotTableStyleElement {
|
|
4075
|
+
kind: string;
|
|
4076
|
+
size: number;
|
|
4077
|
+
dxf: Dxf;
|
|
4078
|
+
}
|
|
4079
|
+
interface PivotAxisItem {
|
|
4080
|
+
kind: string;
|
|
4081
|
+
depth: number;
|
|
3699
4082
|
}
|
|
3700
4083
|
interface PivotLocation extends WorksheetCellRange {
|
|
3701
4084
|
firstHeaderRow: number;
|
|
@@ -3857,6 +4240,8 @@ interface TableInfo {
|
|
|
3857
4240
|
lastColumnDxf?: number;
|
|
3858
4241
|
band1HorizontalDxf?: number;
|
|
3859
4242
|
band2HorizontalDxf?: number;
|
|
4243
|
+
styleElements?: PivotTableStyleElement[];
|
|
4244
|
+
styleError?: string;
|
|
3860
4245
|
columns: TableColumnInfo[];
|
|
3861
4246
|
}
|
|
3862
4247
|
interface TableColumnInfo {
|
|
@@ -3913,6 +4298,7 @@ interface ChartAnchor {
|
|
|
3913
4298
|
toRowOff: number;
|
|
3914
4299
|
chart: ChartModel;
|
|
3915
4300
|
}
|
|
4301
|
+
type DrawingAnchorTag = 'oneCellAnchor' | 'twoCellAnchor';
|
|
3916
4302
|
interface ShapeAnchor {
|
|
3917
4303
|
fromCol: number;
|
|
3918
4304
|
fromColOff: number;
|
|
@@ -3925,6 +4311,9 @@ interface ShapeAnchor {
|
|
|
3925
4311
|
editAs?: string;
|
|
3926
4312
|
nativeExtCx: number;
|
|
3927
4313
|
nativeExtCy: number;
|
|
4314
|
+
anchorTag?: DrawingAnchorTag;
|
|
4315
|
+
anchorExtCx?: number;
|
|
4316
|
+
anchorExtCy?: number;
|
|
3928
4317
|
shapes: ShapeInfo[];
|
|
3929
4318
|
}
|
|
3930
4319
|
interface ShapeInfo {
|
|
@@ -3961,6 +4350,9 @@ interface ShapeInfo {
|
|
|
3961
4350
|
text?: ShapeText;
|
|
3962
4351
|
}
|
|
3963
4352
|
interface ShapeText {
|
|
4353
|
+
vert?: string;
|
|
4354
|
+
anchorCtr?: boolean;
|
|
4355
|
+
spcFirstLastPara?: boolean;
|
|
3964
4356
|
anchor: string;
|
|
3965
4357
|
wrap: string;
|
|
3966
4358
|
autoFit?: string;
|
|
@@ -3978,7 +4370,14 @@ interface ShapeParagraph {
|
|
|
3978
4370
|
marL?: number;
|
|
3979
4371
|
marR?: number;
|
|
3980
4372
|
indent?: number;
|
|
4373
|
+
defTabSz?: number;
|
|
4374
|
+
tabStops?: {
|
|
4375
|
+
pos: number;
|
|
4376
|
+
algn: string;
|
|
4377
|
+
}[];
|
|
3981
4378
|
spaceLine?: SpaceLine | null;
|
|
4379
|
+
spaceBefore?: SpaceLine | null;
|
|
4380
|
+
spaceAfter?: SpaceLine | null;
|
|
3982
4381
|
runs: ShapeTextRun[];
|
|
3983
4382
|
}
|
|
3984
4383
|
type ShapeTextRun = {
|
|
@@ -3987,6 +4386,7 @@ type ShapeTextRun = {
|
|
|
3987
4386
|
bold: boolean;
|
|
3988
4387
|
italic: boolean;
|
|
3989
4388
|
size: number;
|
|
4389
|
+
spacing?: number;
|
|
3990
4390
|
color?: string;
|
|
3991
4391
|
fontFace?: string;
|
|
3992
4392
|
fontFaceEa?: string;
|
|
@@ -4020,6 +4420,7 @@ type ShapeGeom = {
|
|
|
4020
4420
|
};
|
|
4021
4421
|
alpha?: number;
|
|
4022
4422
|
duotone?: Duotone;
|
|
4423
|
+
blipEffects?: BlipEffect[];
|
|
4023
4424
|
};
|
|
4024
4425
|
interface Duotone {
|
|
4025
4426
|
clr1: string;
|
|
@@ -4028,6 +4429,8 @@ interface Duotone {
|
|
|
4028
4429
|
interface PathInfo {
|
|
4029
4430
|
w: number;
|
|
4030
4431
|
h: number;
|
|
4432
|
+
fill?: 'none' | 'lighten' | 'lightenLess' | 'darken' | 'darkenLess';
|
|
4433
|
+
stroke?: false;
|
|
4031
4434
|
commands: PathCmd[];
|
|
4032
4435
|
}
|
|
4033
4436
|
type PathCmd = {
|
|
@@ -4072,8 +4475,14 @@ interface ImageAnchor {
|
|
|
4072
4475
|
toRow: number;
|
|
4073
4476
|
toRowOff: number;
|
|
4074
4477
|
editAs?: string;
|
|
4478
|
+
anchorTag?: DrawingAnchorTag;
|
|
4479
|
+
anchorExtCx?: number;
|
|
4480
|
+
anchorExtCy?: number;
|
|
4075
4481
|
nativeExtCx: number;
|
|
4076
4482
|
nativeExtCy: number;
|
|
4483
|
+
rotation?: number;
|
|
4484
|
+
flipH?: boolean;
|
|
4485
|
+
flipV?: boolean;
|
|
4077
4486
|
imagePath: string;
|
|
4078
4487
|
mimeType: string;
|
|
4079
4488
|
svgImagePath?: string;
|
|
@@ -4085,6 +4494,7 @@ interface ImageAnchor {
|
|
|
4085
4494
|
};
|
|
4086
4495
|
alpha?: number;
|
|
4087
4496
|
duotone?: Duotone;
|
|
4497
|
+
blipEffects?: BlipEffect[];
|
|
4088
4498
|
}
|
|
4089
4499
|
interface WorksheetCellRange {
|
|
4090
4500
|
top: number;
|
|
@@ -4109,6 +4519,7 @@ type CfRule = {
|
|
|
4109
4519
|
formulas: string[];
|
|
4110
4520
|
dxfId: number | null;
|
|
4111
4521
|
priority: number;
|
|
4522
|
+
stopIfTrue?: boolean;
|
|
4112
4523
|
} | {
|
|
4113
4524
|
type: 'expression';
|
|
4114
4525
|
formula: string;
|
|
@@ -4119,6 +4530,8 @@ type CfRule = {
|
|
|
4119
4530
|
type: 'colorScale';
|
|
4120
4531
|
stops: CfStop[];
|
|
4121
4532
|
priority: number;
|
|
4533
|
+
activeFormula?: string;
|
|
4534
|
+
stopIfTrue?: boolean;
|
|
4122
4535
|
} | {
|
|
4123
4536
|
type: 'dataBar';
|
|
4124
4537
|
color: string;
|
|
@@ -4126,6 +4539,9 @@ type CfRule = {
|
|
|
4126
4539
|
max: CfValue;
|
|
4127
4540
|
priority: number;
|
|
4128
4541
|
gradient: boolean;
|
|
4542
|
+
activeFormula?: string;
|
|
4543
|
+
extThresholdFormula?: boolean;
|
|
4544
|
+
stopIfTrue?: boolean;
|
|
4129
4545
|
} | {
|
|
4130
4546
|
type: 'top10';
|
|
4131
4547
|
top: boolean;
|
|
@@ -4133,6 +4549,7 @@ type CfRule = {
|
|
|
4133
4549
|
rank: number;
|
|
4134
4550
|
dxfId: number | null;
|
|
4135
4551
|
priority: number;
|
|
4552
|
+
stopIfTrue?: boolean;
|
|
4136
4553
|
} | {
|
|
4137
4554
|
type: 'aboveAverage';
|
|
4138
4555
|
aboveAverage: boolean;
|
|
@@ -4140,6 +4557,7 @@ type CfRule = {
|
|
|
4140
4557
|
stdDev?: number;
|
|
4141
4558
|
dxfId: number | null;
|
|
4142
4559
|
priority: number;
|
|
4560
|
+
stopIfTrue?: boolean;
|
|
4143
4561
|
} | {
|
|
4144
4562
|
type: 'iconSet';
|
|
4145
4563
|
iconSet: string;
|
|
@@ -4147,10 +4565,14 @@ type CfRule = {
|
|
|
4147
4565
|
reverse: boolean;
|
|
4148
4566
|
priority: number;
|
|
4149
4567
|
customIcons?: CfIcon[];
|
|
4568
|
+
activeFormula?: string;
|
|
4569
|
+
stopIfTrue?: boolean;
|
|
4150
4570
|
} | {
|
|
4151
4571
|
type: 'other';
|
|
4152
4572
|
kind: string;
|
|
4153
4573
|
priority: number;
|
|
4574
|
+
unsupportedFormulaPhases?: number;
|
|
4575
|
+
stopIfTrue?: boolean;
|
|
4154
4576
|
};
|
|
4155
4577
|
interface CfIcon {
|
|
4156
4578
|
iconSet: string;
|
|
@@ -4233,6 +4655,7 @@ interface RunFont {
|
|
|
4233
4655
|
name?: string | null;
|
|
4234
4656
|
underlineStyle?: string;
|
|
4235
4657
|
vertAlign?: 'superscript' | 'subscript';
|
|
4658
|
+
normalColor?: boolean;
|
|
4236
4659
|
}
|
|
4237
4660
|
interface SharedString {
|
|
4238
4661
|
text: string;
|
|
@@ -4257,6 +4680,14 @@ interface Dxf {
|
|
|
4257
4680
|
fill: CellFill | null;
|
|
4258
4681
|
border: Border | null;
|
|
4259
4682
|
numFmt?: NumFmt | null;
|
|
4683
|
+
fontToggles?: DxfFontToggles;
|
|
4684
|
+
}
|
|
4685
|
+
interface DxfFontToggles {
|
|
4686
|
+
bold?: boolean;
|
|
4687
|
+
italic?: boolean;
|
|
4688
|
+
underline?: boolean;
|
|
4689
|
+
strike?: boolean;
|
|
4690
|
+
automaticColor?: boolean;
|
|
4260
4691
|
}
|
|
4261
4692
|
interface CellFont {
|
|
4262
4693
|
bold: boolean;
|
|
@@ -4266,6 +4697,8 @@ interface CellFont {
|
|
|
4266
4697
|
size: number;
|
|
4267
4698
|
color: string | null;
|
|
4268
4699
|
name: string | null;
|
|
4700
|
+
scheme?: 'major' | 'minor';
|
|
4701
|
+
charset?: number;
|
|
4269
4702
|
underlineStyle?: string;
|
|
4270
4703
|
vertAlign?: 'superscript' | 'subscript';
|
|
4271
4704
|
}
|
|
@@ -4313,11 +4746,15 @@ interface CellXf {
|
|
|
4313
4746
|
textRotation?: number;
|
|
4314
4747
|
shrinkToFit?: boolean;
|
|
4315
4748
|
readingOrder?: number;
|
|
4749
|
+
ownFontColor?: boolean;
|
|
4316
4750
|
}
|
|
4317
4751
|
interface ParsedWorkbook {
|
|
4318
4752
|
workbook: Workbook;
|
|
4319
4753
|
styles: Styles;
|
|
4320
4754
|
sharedStrings: SharedString[];
|
|
4755
|
+
layoutMetrics?: {
|
|
4756
|
+
maximumDigitWidth: number;
|
|
4757
|
+
};
|
|
4321
4758
|
}
|
|
4322
4759
|
interface ViewportRange {
|
|
4323
4760
|
row: number;
|
|
@@ -4361,7 +4798,7 @@ interface XlsxRenderViewportOptions {
|
|
|
4361
4798
|
} | null;
|
|
4362
4799
|
}
|
|
4363
4800
|
//#endregion
|
|
4364
|
-
//#region dist/.types-work/xlsx-
|
|
4801
|
+
//#region dist/.types-work/xlsx-CEbhcCVw.d.ts
|
|
4365
4802
|
type ResolvedList = {
|
|
4366
4803
|
kind: 'values';
|
|
4367
4804
|
values: string[];
|
|
@@ -4388,18 +4825,24 @@ type RenderViewportToBitmapOptions = Omit<XlsxRenderViewportOptions, 'onTextRun'
|
|
|
4388
4825
|
};
|
|
4389
4826
|
interface LoadOptions extends LoadOptions$3 {
|
|
4390
4827
|
mode?: 'main' | 'worker';
|
|
4828
|
+
legacyXls?: ModelSource<'xlsx'>;
|
|
4391
4829
|
}
|
|
4392
4830
|
declare class XlsxWorkbook {
|
|
4393
4831
|
private metrics;
|
|
4394
4832
|
private bridge;
|
|
4395
4833
|
private delimitedTextBacked;
|
|
4834
|
+
private readonly japaneseCellFonts;
|
|
4396
4835
|
private parsedWorkbook;
|
|
4397
4836
|
private sheetCache;
|
|
4837
|
+
private sheetCacheUsage;
|
|
4838
|
+
private sheetLeases;
|
|
4839
|
+
private evictingSheets;
|
|
4398
4840
|
private sheetLoads;
|
|
4841
|
+
private sheetPreviews;
|
|
4399
4842
|
private readonly rawParts;
|
|
4400
4843
|
private queuedImageLoads;
|
|
4401
4844
|
private readonly _fetchImage;
|
|
4402
|
-
private
|
|
4845
|
+
private worksheetPolicy;
|
|
4403
4846
|
private cjkFallback;
|
|
4404
4847
|
private math;
|
|
4405
4848
|
private threeD;
|
|
@@ -4407,6 +4850,8 @@ declare class XlsxWorkbook {
|
|
|
4407
4850
|
private chartEx;
|
|
4408
4851
|
private tiff;
|
|
4409
4852
|
private googleFontNames;
|
|
4853
|
+
private googleSubstitutes;
|
|
4854
|
+
private officeFontRequests;
|
|
4410
4855
|
private readonly retainedFontSets;
|
|
4411
4856
|
private fontsDestroyed;
|
|
4412
4857
|
private _mode;
|
|
@@ -4423,12 +4868,19 @@ declare class XlsxWorkbook {
|
|
|
4423
4868
|
private _load;
|
|
4424
4869
|
private _loadDelimitedText;
|
|
4425
4870
|
private retainFontsInSet;
|
|
4871
|
+
private retainWorksheetOfficeFonts;
|
|
4426
4872
|
get sheetNames(): string[];
|
|
4427
4873
|
get sheetCount(): number;
|
|
4428
4874
|
get tabColors(): (string | null)[];
|
|
4429
4875
|
sheetVisibility(sheetIndex: number): SheetVisibility;
|
|
4430
4876
|
isHidden(sheetIndex: number): boolean;
|
|
4431
4877
|
getWorksheet(sheetIndex: number): Promise<Worksheet>;
|
|
4878
|
+
private getOrLoadWorksheet;
|
|
4879
|
+
private touchWorksheet;
|
|
4880
|
+
private pinWorksheet;
|
|
4881
|
+
private completePendingEvictions;
|
|
4882
|
+
private acquireWorksheetLease;
|
|
4883
|
+
private acquireWorksheetPreviewLease;
|
|
4432
4884
|
getComments(sheetIndex: number): Promise<readonly Readonly<XlsxComment>[]>;
|
|
4433
4885
|
getResourceMetrics(): Promise<OoxmlResourceMetrics>;
|
|
4434
4886
|
private loadWorksheet;
|
|
@@ -4443,9 +4895,12 @@ declare class XlsxWorkbook {
|
|
|
4443
4895
|
cellText(ws: Worksheet, cell: Cell): string;
|
|
4444
4896
|
renderViewport(target: HTMLCanvasElement | OffscreenCanvas, sheetIndex: number, viewport: ViewportRange, opts?: XlsxRenderViewportOptions): Promise<void>;
|
|
4445
4897
|
renderViewportToBitmap(sheetIndex: number, viewport: ViewportRange, opts: RenderViewportToBitmapOptions): Promise<ImageBitmap>;
|
|
4898
|
+
private retainWorksheetReference;
|
|
4446
4899
|
private withWorksheetArchiveOperation;
|
|
4900
|
+
private withPinnedWorksheetArchiveOperation;
|
|
4447
4901
|
destroy(): void;
|
|
4448
4902
|
private assertResourceHealthy;
|
|
4903
|
+
private latchFatalResourceFailure;
|
|
4449
4904
|
private requireBridge;
|
|
4450
4905
|
private requireArchiveBridge;
|
|
4451
4906
|
}
|
|
@@ -4550,6 +5005,10 @@ interface XlsxSheetViewerOptions extends LoadOptions {
|
|
|
4550
5005
|
cellScale?: number;
|
|
4551
5006
|
resizable?: boolean;
|
|
4552
5007
|
showScrollbars?: boolean;
|
|
5008
|
+
minRows?: number;
|
|
5009
|
+
minCols?: number;
|
|
5010
|
+
marginRows?: number;
|
|
5011
|
+
marginCols?: number;
|
|
4553
5012
|
zoomMin?: number;
|
|
4554
5013
|
zoomMax?: number;
|
|
4555
5014
|
onScaleChange?: (scale: number) => void;
|
|
@@ -4617,42 +5076,35 @@ declare class XlsxViewerEngine implements ZoomableViewer {
|
|
|
4617
5076
|
private wrapper;
|
|
4618
5077
|
private canvas;
|
|
4619
5078
|
private gridRegion;
|
|
4620
|
-
private
|
|
4621
|
-
private
|
|
4622
|
-
private cornerGutter;
|
|
4623
|
-
private gutter;
|
|
4624
|
-
private rowOutline;
|
|
4625
|
-
private colOutline;
|
|
4626
|
-
private rowOutlineBands;
|
|
4627
|
-
private colOutlineBands;
|
|
4628
|
-
private stashedRowHeights;
|
|
4629
|
-
private stashedColWidths;
|
|
4630
|
-
private sizeOverrideStore;
|
|
5079
|
+
private readonly outlineGutter;
|
|
5080
|
+
private readonly viewEdits;
|
|
4631
5081
|
private readonly projectionId;
|
|
4632
5082
|
private canvasArea;
|
|
4633
5083
|
private scrollHost;
|
|
4634
5084
|
private spacer;
|
|
4635
5085
|
private readonly surface;
|
|
4636
5086
|
private readonly overlayHost;
|
|
4637
|
-
private
|
|
4638
|
-
private
|
|
4639
|
-
private tabList;
|
|
4640
|
-
private navPrev;
|
|
4641
|
-
private navNext;
|
|
4642
|
-
private tabs;
|
|
4643
|
-
private tabColors;
|
|
4644
|
-
private zoomSlider;
|
|
4645
|
-
private zoomLabel;
|
|
5087
|
+
private readonly sheetTabs;
|
|
5088
|
+
private readonly zoomControl;
|
|
4646
5089
|
private currentSheet;
|
|
4647
5090
|
private sheetRequestGeneration;
|
|
4648
5091
|
private fontBindingGeneration;
|
|
4649
5092
|
private fontBinding;
|
|
4650
5093
|
private _hiddenSheetMode;
|
|
4651
5094
|
private currentWorksheet;
|
|
5095
|
+
private previewCompletion;
|
|
5096
|
+
private firstPreviewRender;
|
|
5097
|
+
private committedFrameCount;
|
|
5098
|
+
private previewPreparedViewport;
|
|
5099
|
+
private previewFallbackReason;
|
|
5100
|
+
private releaseCurrentWorksheet;
|
|
4652
5101
|
private currentSourceComments;
|
|
4653
5102
|
private commentNavigationGeneration;
|
|
4654
5103
|
private sourceCommentMap;
|
|
4655
5104
|
private sheetViews;
|
|
5105
|
+
private initialAnchorWorkbook;
|
|
5106
|
+
private readonly initialAnchorReferences;
|
|
5107
|
+
private currentAutoRowHeightsPrepared;
|
|
4656
5108
|
private opts;
|
|
4657
5109
|
private readonly _mountKind;
|
|
4658
5110
|
private readonly _nativeScrollbars;
|
|
@@ -4661,59 +5113,25 @@ declare class XlsxViewerEngine implements ZoomableViewer {
|
|
|
4661
5113
|
private preparedWorkbook;
|
|
4662
5114
|
private _destroyed;
|
|
4663
5115
|
private resizeObserver;
|
|
4664
|
-
private
|
|
4665
|
-
private
|
|
4666
|
-
private chromeSchemeMedia;
|
|
4667
|
-
private chromeSchemeListener;
|
|
5116
|
+
private chromeTheme;
|
|
5117
|
+
private get chromeColors();
|
|
4668
5118
|
private _lastViewportNotification;
|
|
4669
|
-
private get anchorCell();
|
|
4670
5119
|
private get activeCell();
|
|
4671
5120
|
private get selectionMode();
|
|
4672
|
-
private get isSelecting();
|
|
4673
|
-
private get selectionPointerId();
|
|
4674
|
-
private beginSelectionDrag;
|
|
4675
5121
|
private _pendingZoomAnchor;
|
|
4676
5122
|
private readonly selectionController;
|
|
4677
|
-
private
|
|
4678
|
-
private
|
|
4679
|
-
private
|
|
4680
|
-
private selectionNotificationScheduled;
|
|
4681
|
-
private selectionNotificationCount;
|
|
4682
|
-
private selectionContextNotificationFrame;
|
|
4683
|
-
private selectionContextNotificationMicrotask;
|
|
4684
|
-
private readonly selectionContextRows;
|
|
4685
|
-
private readonly selectionContextCells;
|
|
5123
|
+
private readonly notifier;
|
|
5124
|
+
private readonly contextReader;
|
|
5125
|
+
private readonly gridExtent;
|
|
4686
5126
|
private elementContext;
|
|
4687
|
-
private
|
|
4688
|
-
private
|
|
4689
|
-
private
|
|
4690
|
-
private
|
|
4691
|
-
private
|
|
4692
|
-
private
|
|
4693
|
-
private
|
|
4694
|
-
private resizeDrag;
|
|
4695
|
-
private selectionAutoScrollPointer;
|
|
4696
|
-
private selectionAutoScrollFrame;
|
|
4697
|
-
private selectionAutoScrollLastTime;
|
|
4698
|
-
private commentPopup;
|
|
4699
|
-
private commentMap;
|
|
4700
|
-
private hyperlinkMap;
|
|
4701
|
-
private commentPopupKey;
|
|
4702
|
-
private commentPopupTimer;
|
|
4703
|
-
private commentPopupCell;
|
|
4704
|
-
private commentPopupPositionScheduled;
|
|
4705
|
-
private commentPopupResizeObserver;
|
|
4706
|
-
private commentUi;
|
|
4707
|
-
private commentPopupRenderGeneration;
|
|
4708
|
-
private validationPanel;
|
|
4709
|
-
private validationPanelKey;
|
|
4710
|
-
private validationRequestGeneration;
|
|
4711
|
-
private validationArrowRect;
|
|
4712
|
-
private validationOutsideHandler;
|
|
5127
|
+
private readonly selectionPaint;
|
|
5128
|
+
private readonly finder;
|
|
5129
|
+
private readonly copier;
|
|
5130
|
+
private selectionInput;
|
|
5131
|
+
private readonly comments;
|
|
5132
|
+
private readonly hyperlinks;
|
|
5133
|
+
private readonly validation;
|
|
4713
5134
|
constructor(container: HTMLElement, opts: XlsxViewerOptions | XlsxSheetViewerOptions | undefined, mount: XlsxViewerMount);
|
|
4714
|
-
private refreshChromeTheme;
|
|
4715
|
-
private installChromeThemeRefresh;
|
|
4716
|
-
private _collectSheetCells;
|
|
4717
5135
|
[loadXlsxViewerSource](source: string | ArrayBuffer, sourceOptions?: XlsxSheetLoadOptions): Promise<void>;
|
|
4718
5136
|
private activateWorkbook;
|
|
4719
5137
|
private ensureHostFonts;
|
|
@@ -4724,24 +5142,19 @@ declare class XlsxViewerEngine implements ZoomableViewer {
|
|
|
4724
5142
|
private set wb(value);
|
|
4725
5143
|
private showSheet;
|
|
4726
5144
|
private isCurrentSheetRequest;
|
|
5145
|
+
private initialAnchorReferenceFor;
|
|
5146
|
+
private installInitialAnchorReference;
|
|
5147
|
+
private releaseInitialAnchorReferences;
|
|
5148
|
+
private restoreDisplayedWorksheetLease;
|
|
4727
5149
|
private buildOutline;
|
|
4728
5150
|
private layoutGutters;
|
|
4729
5151
|
private renderGutters;
|
|
4730
|
-
private paintAxisGutter;
|
|
4731
|
-
private drawToggleBox;
|
|
4732
|
-
private drawLevelButton;
|
|
4733
|
-
private paintCornerGutter;
|
|
4734
|
-
private onGutterPointerDown;
|
|
4735
|
-
private applyGroupToggle;
|
|
4736
5152
|
private scrollOutlineSummaryToStart;
|
|
4737
|
-
private applyLevelButton;
|
|
4738
5153
|
private setBandHidden;
|
|
4739
5154
|
private recordSizeOverride;
|
|
4740
5155
|
private wireSizeOverrides;
|
|
4741
|
-
private syncAutomaticRowOverrides;
|
|
4742
5156
|
private setBandCollapsed;
|
|
4743
5157
|
private afterOutlineMutation;
|
|
4744
|
-
private buildOutlineLayoutOnly;
|
|
4745
5158
|
private get isRtl();
|
|
4746
5159
|
private updateFooterDirection;
|
|
4747
5160
|
private get maxScrollLeft();
|
|
@@ -4780,11 +5193,6 @@ declare class XlsxViewerEngine implements ZoomableViewer {
|
|
|
4780
5193
|
private setElementContext;
|
|
4781
5194
|
private scheduleSelectionContextNotification;
|
|
4782
5195
|
private emitSelectionChange;
|
|
4783
|
-
private scheduleSelectionNotification;
|
|
4784
|
-
private finishSelectionNotificationChain;
|
|
4785
|
-
private getHeaderHit;
|
|
4786
|
-
private getResizeTarget;
|
|
4787
|
-
private applyResize;
|
|
4788
5196
|
private refitAutoRowsAfterColumnResize;
|
|
4789
5197
|
setSelectionColor(color: string): void;
|
|
4790
5198
|
setHiddenSheetMode(mode: HiddenSheetMode): Promise<void>;
|
|
@@ -4792,56 +5200,19 @@ declare class XlsxViewerEngine implements ZoomableViewer {
|
|
|
4792
5200
|
get visibleSheetCount(): number;
|
|
4793
5201
|
copySelection(): Promise<XlsxCopyResult>;
|
|
4794
5202
|
private updateSelectionOverlay;
|
|
4795
|
-
private drawElementContextOverlay;
|
|
4796
|
-
private maybeDrawValidationDropdown;
|
|
4797
5203
|
private updateFindOverlay;
|
|
4798
5204
|
findText(query: string, opts?: FindMatchesOptions): Promise<FindMatch<XlsxMatchLocation>[]>;
|
|
4799
5205
|
findNext(): Promise<FindMatch<XlsxMatchLocation> | null>;
|
|
4800
5206
|
findPrev(): Promise<FindMatch<XlsxMatchLocation> | null>;
|
|
4801
5207
|
clearFind(): void;
|
|
4802
|
-
private _activateMatch;
|
|
4803
5208
|
private _scrollCellIntoView;
|
|
4804
|
-
private toggleValidationPanel;
|
|
4805
|
-
private openValidationPanel;
|
|
4806
|
-
private isCurrentValidationRequest;
|
|
4807
|
-
private renderValidationPanel;
|
|
4808
|
-
private positionValidationPanel;
|
|
4809
|
-
private installValidationOutsideHandler;
|
|
4810
5209
|
private hideValidationPanel;
|
|
4811
5210
|
private buildCommentMap;
|
|
4812
|
-
private createCommentMap;
|
|
4813
5211
|
private createVisibleSheetView;
|
|
4814
5212
|
private buildHyperlinkMap;
|
|
4815
|
-
private hyperlinkAtCell;
|
|
4816
|
-
private dispatchHyperlink;
|
|
4817
|
-
private navigateInternalHyperlink;
|
|
4818
|
-
private scheduleCommentPopup;
|
|
4819
|
-
private loadCommentUi;
|
|
4820
|
-
private renderCommentPopup;
|
|
4821
|
-
private scheduleCommentPopupPosition;
|
|
4822
|
-
private positionCommentPopup;
|
|
4823
5213
|
private hideCommentPopup;
|
|
4824
|
-
private applyPointerSelection;
|
|
4825
|
-
private viewportInputBounds;
|
|
4826
|
-
private extendDragSelection;
|
|
4827
|
-
private selectionAutoScrollSpeed;
|
|
4828
|
-
private trackSelectionAutoScroll;
|
|
4829
|
-
private runSelectionAutoScroll;
|
|
4830
|
-
private stopSelectionAutoScroll;
|
|
4831
|
-
private contextMenuTargetIsSelected;
|
|
4832
|
-
private resolveContextMenuContext;
|
|
4833
|
-
private setupSelectionEvents;
|
|
4834
5214
|
private buildTabs;
|
|
4835
|
-
private makeNavButton;
|
|
4836
|
-
private navButtonStyle;
|
|
4837
|
-
private scrollTabs;
|
|
4838
|
-
private updateNavButtons;
|
|
4839
5215
|
private updateTabActive;
|
|
4840
|
-
private tabStyle;
|
|
4841
|
-
private tabCss;
|
|
4842
|
-
private buildZoomControl;
|
|
4843
|
-
private zoomPosToScale;
|
|
4844
|
-
private zoomScaleToPos;
|
|
4845
5216
|
setScale(scale: number): void;
|
|
4846
5217
|
getScale(): number;
|
|
4847
5218
|
zoomIn(): void;
|
|
@@ -4918,7 +5289,7 @@ declare class XlsxSheetViewer implements ZoomableViewer {
|
|
|
4918
5289
|
}
|
|
4919
5290
|
declare function resolveSharedStrings(ws: Worksheet, sharedStrings: SharedString[]): Worksheet;
|
|
4920
5291
|
declare namespace xlsx_d_exports {
|
|
4921
|
-
export { ArrowEnd, AutoResizeOptions, Border, BorderEdge, Cell, CellAddress, CellFill, CellFont, CellValue, CellXf, CfIcon, CfRule, CfStop, CfValue, ChartAnchor, ChartAreaGroupDecorations, ChartBarGroupDecorations, ChartDataLabelOverride, ChartDataPointOverride, ChartDataTable, ChartDecorationLineStyle, ChartDisplayUnits, ChartDisplayUnitsLabel, ChartErrBars, ChartExElementStyle, ChartExRenderer, ChartLabelBox, ChartLegendEntryOverride, ChartLineDashSegment, ChartLineGroupDecorations, ChartManualLayout, ChartModel, ChartOfPie, ChartPlotGroup, ChartPlotGroupAxisSlot, ChartPlotGroupKind, ChartRect, ChartRegionMapRenderer, ChartSeries, ChartSeriesDataLabels, ChartStockBarPaint, ChartStockUpDownBarStyle, ChartSurfaceBandFormat, ChartTextBox, ChartTextParagraph, ChartTextRun, ChartThreeD, ChartThreeDPictureOptions, ChartThreeDRenderer, ChartThreeDSeriesAxis, ChartThreeDSurface, ChartTrendline, ChartType, ChartexBoxSeries, ChartexBoxWhisker, ChartexGeography, ChartexHistogramBinning, ChartexRegionMap, ChartexRegionMapColors, ChartexRegionMapRow, ChartexSunburst, ChartexSunburstRow, ChartexTreemap, ChartexValueColorStop, CjkFallback, ConditionalFormat, DataValidation, DecodedImageBudgetStrategy, DefinedName, DrawingMLCustomDashSegment, Duotone, Dxf, FillRect, FindHighlightColors, FindMatch, FindMatchesOptions, GradientFill, GradientFillSpec, GradientStop$1 as GradientStop, HiddenSheetMode, Hyperlink, HyperlinkTarget, ImageAnchor, ImageFill, ImageResourceOptions, LegendManualLayout, LoadOptions, MAX_SELECTION_AREAS, MAX_SELECTION_CONTEXT_CELLS, MAX_SELECTION_CONTEXT_TEXT_CHARACTERS, MathAccent, MathArray, MathBar, MathBorderBox, MathBox, MathDelimiter, MathFraction, MathFunc, MathGroup, MathGroupChr, MathLimit, MathNary, MathNode, MathPhant, MathRadical, MathRenderer, MathRun, MathSPre, MathScript, MathStyle, MathSvg, MergeCell, NoFill, NumFmt, OoxmlDecodedImageLimitError, OoxmlDecodedImageLimitMetric, OoxmlError, OoxmlErrorCode, OoxmlErrorStage, OoxmlFormat, OoxmlResourceLimit, OoxmlResourceLimitError, OoxmlResourceLimitErrorDetails, OoxmlResourceLimits, OoxmlResourceMetric, OoxmlResourceMetrics, OoxmlResourceMetricsCheckpoint, OoxmlResourceName, OoxmlResourcePolicySnapshot, OoxmlResourceUsageSnapshot, OoxmlResourceViolation, OutlinePr, ParsedWorkbook, PathCmd, PathInfo, PatternFill, PhoneticAlignment, PhoneticProperties, PhoneticRun, PhoneticType, PivotCacheSource, PivotDataField, PivotDiagnostic, PivotLocation, PivotMetadataStatus, PivotPageField, PivotPartialReason, PivotTableMetadata, RenderViewportToBitmapOptions, ResolvedList, Row, Run, RunFont, SecondaryValueAxis, ShapeAnchor, ShapeFill, ShapeGeom, ShapeInfo, ShapeParagraph, ShapeText, ShapeTextRun, SharedString, SheetMeta, SheetVisibility, SlicerAnchor, SlicerElementStyle, SlicerItem, SlicerStyle, SolidFill, SpaceLine, Sparkline, SparklineGroup, SrcRect, Styles, TableColumnInfo, TableInfo, TiffDecodeError, TiffRenderOptions, TiffRenderer, TileInfo, ViewerCommentMessageContext, ViewerCommentThreadContext, ViewerContextMenuEvent, ViewportRange, Workbook, Worksheet, WorksheetCellRange, XlsxCellViewportRect, XlsxComment, XlsxCommentReply, XlsxCommentsOptions, XlsxCopyResult, XlsxElementAnchorMarker, XlsxElementContext, XlsxMatchLocation, XlsxRangeSelectionContext, XlsxRenderViewportOptions, XlsxScrollToCellOptions, XlsxSelectionArea, XlsxSelectionContext, XlsxSelectionContextCell, XlsxSelectionContextOptions, XlsxSelectionInput, XlsxSelectionState, XlsxSheetLoadOptions, XlsxSheetViewer, XlsxSheetViewerOptions, XlsxTextRunInfo, XlsxViewer, XlsxViewerOptions, XlsxViewportOffset, XlsxWorkbook, ZoomableViewer, autoResize, isOoxmlDecodedImageLimitError, isTiffDecodeError, openExternalHyperlink, resolveSharedStrings };
|
|
5292
|
+
export { ArrowEnd, AutoResizeOptions, BlendMode, BlipEffect, BlipEffectContainer, BlipEffectFill, BlipEffectImageFill, Border, BorderEdge, Cell, CellAddress, CellFill, CellFont, CellValue, CellXf, CfIcon, CfRule, CfStop, CfValue, ChartAnchor, ChartAreaGroupDecorations, ChartAxisNumberFormat, ChartBarGroupDecorations, ChartClassicSurfaceBandStyles, ChartDataLabelOverride, ChartDataPointOverride, ChartDataTable, ChartDecorationLineStyle, ChartDisplayUnits, ChartDisplayUnitsLabel, ChartErrBars, ChartExElementStyle, ChartExRenderer, ChartLabelBox, ChartLegendEntryOverride, ChartLineDashSegment, ChartLineGroupDecorations, ChartManualLayout, ChartModel, ChartOfPie, ChartPlotGroup, ChartPlotGroupAxisSlot, ChartPlotGroupKind, ChartRect, ChartRegionMapRenderer, ChartSeries, ChartSeriesDataLabels, ChartStockBarPaint, ChartStockUpDownBarStyle, ChartSurfaceBandFormat, ChartTextBox, ChartTextParagraph, ChartTextRun, ChartThreeD, ChartThreeDPictureOptions, ChartThreeDRenderer, ChartThreeDSeriesAxis, ChartThreeDSurface, ChartTrendline, ChartType, ChartexBoxSeries, ChartexBoxWhisker, ChartexGeography, ChartexHistogramBinning, ChartexRegionMap, ChartexRegionMapColors, ChartexRegionMapRow, ChartexSunburst, ChartexSunburstRow, ChartexTreemap, ChartexValueColorStop, CjkFallback, ConditionalFormat, DataValidation, DecodedImageBudgetStrategy, DefinedName, DrawingMLCustomDashSegment, Duotone, Dxf, DxfFontToggles, FillRect, FindHighlightColors, FindMatch, FindMatchesOptions, Glow, GradientFill, GradientFillSpec, GradientStop$1 as GradientStop, HiddenSheetMode, Hyperlink, HyperlinkTarget, ImageAnchor, ImageFill, ImageResourceOptions, LegendManualLayout, LoadOptions, MAX_SELECTION_AREAS, MAX_SELECTION_CONTEXT_CELLS, MAX_SELECTION_CONTEXT_TEXT_CHARACTERS, MathAccent, MathArray, MathBar, MathBorderBox, MathBox, MathDelimiter, MathFraction, MathFunc, MathGroup, MathGroupChr, MathLimit, MathNary, MathNode, MathPhant, MathRadical, MathRenderer, MathRun, MathSPre, MathScript, MathStyle, MathSvg, MergeCell, ModelSource, ModelSourceConfig, ModelSourceConfigValue, ModelSourceLoad, ModelSourceModule, ModelSourceModuleDescriptor, ModelSourceTarget, NoFill, NumFmt, OoxmlDecodedImageLimitError, OoxmlDecodedImageLimitMetric, OoxmlError, OoxmlErrorCode, OoxmlErrorStage, OoxmlFormat, OoxmlResourceLimit, OoxmlResourceLimitError, OoxmlResourceLimitErrorDetails, OoxmlResourceLimits, OoxmlResourceMetric, OoxmlResourceMetrics, OoxmlResourceMetricsCheckpoint, OoxmlResourceName, OoxmlResourcePolicySnapshot, OoxmlResourceUsageSnapshot, OoxmlResourceViolation, OoxmlUnsupportedContentDetails, OpenedModelSource, OutlinePr, ParsedWorkbook, PathCmd, PathInfo, PatternFill, PhoneticAlignment, PhoneticProperties, PhoneticRun, PhoneticType, PivotAxisItem, PivotCacheSource, PivotDataField, PivotDiagnostic, PivotLocation, PivotMetadataStatus, PivotPageField, PivotPartialReason, PivotTableMetadata, PivotTableStyle, PivotTableStyleElement, Reflection, RenderViewportToBitmapOptions, ResolvedList, Row, Run, RunFont, SecondaryValueAxis, Shadow, ShapeAnchor, ShapeFill, ShapeGeom, ShapeInfo, ShapeParagraph, ShapeText, ShapeTextRun, SharedString, SheetMeta, SheetVisibility, SlicerAnchor, SlicerElementStyle, SlicerItem, SlicerStyle, SoftEdge, SolidFill, SpaceLine, Sparkline, SparklineGroup, SrcRect, Styles, TableColumnInfo, TableInfo, TiffDecodeError, TiffRenderOptions, TiffRenderer, TileInfo, ViewerCommentMessageContext, ViewerCommentThreadContext, ViewerContextMenuEvent, ViewportRange, Workbook, Worksheet, WorksheetCellRange, XlsxCellViewportRect, XlsxComment, XlsxCommentReply, XlsxCommentsOptions, XlsxCopyResult, XlsxElementAnchorMarker, XlsxElementContext, XlsxMatchLocation, XlsxRangeSelectionContext, XlsxRenderViewportOptions, XlsxScrollToCellOptions, XlsxSelectionArea, XlsxSelectionContext, XlsxSelectionContextCell, XlsxSelectionContextOptions, XlsxSelectionInput, XlsxSelectionState, XlsxSheetLoadOptions, XlsxSheetViewer, XlsxSheetViewerOptions, XlsxTextRunInfo, XlsxViewer, XlsxViewerOptions, XlsxViewportOffset, XlsxWorkbook, XlsxWorksheetLimits, ZoomableViewer, autoResize, isOoxmlDecodedImageLimitError, isTiffDecodeError, openExternalHyperlink, resolveSharedStrings };
|
|
4922
5293
|
}
|
|
4923
5294
|
//#endregion
|
|
4924
5295
|
export { docx_d_exports as docx, pptx_d_exports as pptx, xlsx_d_exports as xlsx };
|