@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/pptx.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 {
|
|
|
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[];
|
|
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;
|
|
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[];
|
|
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$1 {
|
|
|
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$1 {
|
|
|
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,37 @@ 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-BYMzwltM.d.ts
|
|
1480
1806
|
interface BlipBullet {
|
|
1481
1807
|
type: 'blip';
|
|
1482
1808
|
imagePath: string;
|
|
@@ -1486,11 +1812,20 @@ interface BlipBullet {
|
|
|
1486
1812
|
}
|
|
1487
1813
|
type Bullet = Bullet$1 | BlipBullet;
|
|
1488
1814
|
interface Paragraph extends Paragraph$1 {
|
|
1815
|
+
mathFallbacks?: {
|
|
1816
|
+
start: number;
|
|
1817
|
+
end: number;
|
|
1818
|
+
text: string;
|
|
1819
|
+
}[];
|
|
1489
1820
|
eaLnBrk: boolean;
|
|
1821
|
+
fontAlgn?: 't' | 'ctr' | 'b';
|
|
1490
1822
|
defTabSz?: number;
|
|
1491
1823
|
}
|
|
1492
1824
|
interface TextBody extends TextBody$1 {
|
|
1493
1825
|
rtlCol?: boolean;
|
|
1826
|
+
spcFirstLastPara?: boolean;
|
|
1827
|
+
anchorCtr?: boolean;
|
|
1828
|
+
compatLnSpc?: boolean;
|
|
1494
1829
|
textWarp?: {
|
|
1495
1830
|
preset: string;
|
|
1496
1831
|
adj?: number[];
|
|
@@ -1508,6 +1843,12 @@ interface Presentation {
|
|
|
1508
1843
|
folHlinkColor?: string;
|
|
1509
1844
|
}
|
|
1510
1845
|
interface Slide {
|
|
1846
|
+
theme?: {
|
|
1847
|
+
defaultTextColor: string | null;
|
|
1848
|
+
majorFont: string | null;
|
|
1849
|
+
minorFont: string | null;
|
|
1850
|
+
hlinkColor: string | null;
|
|
1851
|
+
};
|
|
1511
1852
|
index: number;
|
|
1512
1853
|
slideNumber: number;
|
|
1513
1854
|
partName?: string;
|
|
@@ -1580,7 +1921,13 @@ interface MediaElement {
|
|
|
1580
1921
|
mediaPath: string;
|
|
1581
1922
|
mimeType: string;
|
|
1582
1923
|
}
|
|
1924
|
+
interface EquationBranchFallback {
|
|
1925
|
+
elements: SlideElement[];
|
|
1926
|
+
before: number;
|
|
1927
|
+
after: number;
|
|
1928
|
+
}
|
|
1583
1929
|
interface ShapeElement {
|
|
1930
|
+
mathFallback?: EquationBranchFallback;
|
|
1584
1931
|
type: 'shape';
|
|
1585
1932
|
x: number;
|
|
1586
1933
|
y: number;
|
|
@@ -1595,6 +1942,10 @@ interface ShapeElement {
|
|
|
1595
1942
|
textBody: TextBody | null;
|
|
1596
1943
|
defaultTextColor: string | null;
|
|
1597
1944
|
custGeom: PathCmd[][] | null;
|
|
1945
|
+
custGeomPaint?: {
|
|
1946
|
+
fill: string | null;
|
|
1947
|
+
stroke: boolean;
|
|
1948
|
+
}[];
|
|
1598
1949
|
adj: number | null;
|
|
1599
1950
|
adj2: number | null;
|
|
1600
1951
|
adj3: number | null;
|
|
@@ -1658,6 +2009,8 @@ interface Sp3d {
|
|
|
1658
2009
|
bevelB?: Bevel3d;
|
|
1659
2010
|
}
|
|
1660
2011
|
interface TableElement {
|
|
2012
|
+
mathFallback?: EquationBranchFallback;
|
|
2013
|
+
background?: Fill;
|
|
1661
2014
|
type: 'table';
|
|
1662
2015
|
id?: string;
|
|
1663
2016
|
x: number;
|
|
@@ -1677,6 +2030,7 @@ interface TableRow {
|
|
|
1677
2030
|
}
|
|
1678
2031
|
interface TableCell {
|
|
1679
2032
|
textBody: TextBody | null;
|
|
2033
|
+
horzOverflow?: 'clip' | 'overflow';
|
|
1680
2034
|
fill: Fill | null;
|
|
1681
2035
|
textColor?: string;
|
|
1682
2036
|
borderL: Stroke | null;
|
|
@@ -1718,6 +2072,7 @@ interface PictureElement {
|
|
|
1718
2072
|
intrinsicWidthPx?: number;
|
|
1719
2073
|
intrinsicHeightPx?: number;
|
|
1720
2074
|
stroke: Stroke | null;
|
|
2075
|
+
fill?: Fill;
|
|
1721
2076
|
prstGeom?: string;
|
|
1722
2077
|
prstAdjust?: number[];
|
|
1723
2078
|
srcRect?: {
|
|
@@ -1728,6 +2083,7 @@ interface PictureElement {
|
|
|
1728
2083
|
};
|
|
1729
2084
|
alpha?: number;
|
|
1730
2085
|
duotone?: Duotone;
|
|
2086
|
+
blipEffects?: BlipEffect[];
|
|
1731
2087
|
custGeom?: PathCmd[][] | null;
|
|
1732
2088
|
shadow?: Shadow;
|
|
1733
2089
|
innerShadow?: Shadow;
|
|
@@ -1738,8 +2094,9 @@ interface PictureElement {
|
|
|
1738
2094
|
sp3d?: Sp3d;
|
|
1739
2095
|
}
|
|
1740
2096
|
//#endregion
|
|
1741
|
-
//#region dist/.types-work/pptx-
|
|
2097
|
+
//#region dist/.types-work/pptx-Fl1NT0GT.d.ts
|
|
1742
2098
|
interface PptxTextRunInfo {
|
|
2099
|
+
renderElementIndex?: number;
|
|
1743
2100
|
elementIndex?: number;
|
|
1744
2101
|
origin?: SlideElementOrigin;
|
|
1745
2102
|
shapeId?: string;
|
|
@@ -1761,6 +2118,7 @@ interface PptxTextRunInfo {
|
|
|
1761
2118
|
row: number;
|
|
1762
2119
|
column: number;
|
|
1763
2120
|
}>;
|
|
2121
|
+
cellHorzOverflow?: 'clip' | 'overflow';
|
|
1764
2122
|
textBodyRotation?: number;
|
|
1765
2123
|
hyperlink?: HyperlinkTarget;
|
|
1766
2124
|
}
|
|
@@ -1869,6 +2227,7 @@ interface PptxElementBounds {
|
|
|
1869
2227
|
}
|
|
1870
2228
|
type PptxSelectionContext = PptxTextSelectionContext | PptxCommentSelectionContext | PptxElementContext;
|
|
1871
2229
|
type LoadOptions = LoadOptions$1 & {
|
|
2230
|
+
legacyPpt?: ModelSource<'pptx'>;
|
|
1872
2231
|
mode?: 'main' | 'worker';
|
|
1873
2232
|
progressiveLayout?: boolean;
|
|
1874
2233
|
onLayoutProgress?: (progress: Readonly<ProgressiveLayoutProgress>) => void;
|
|
@@ -1895,6 +2254,7 @@ interface PresentSlideOptions extends Omit<RenderSlideOptions, 'skipMediaControl
|
|
|
1895
2254
|
}
|
|
1896
2255
|
declare class PptxPresentation {
|
|
1897
2256
|
private _cjkFallback;
|
|
2257
|
+
private _googleSubstitutes;
|
|
1898
2258
|
private _metrics;
|
|
1899
2259
|
private readonly _worker;
|
|
1900
2260
|
private readonly _bridge;
|
|
@@ -1915,10 +2275,12 @@ declare class PptxPresentation {
|
|
|
1915
2275
|
private _resourceFailure;
|
|
1916
2276
|
private _slidePartIndex;
|
|
1917
2277
|
private readonly _rawParts;
|
|
1918
|
-
private
|
|
2278
|
+
private _googleFonts;
|
|
2279
|
+
private readonly _officeFontLoads;
|
|
1919
2280
|
private _embeddedFontFaces;
|
|
1920
2281
|
private _embeddedFontAliases;
|
|
1921
2282
|
private _embeddedFontAuthoredFamilies;
|
|
2283
|
+
private _embeddedFontTuples;
|
|
1922
2284
|
private _destroyed;
|
|
1923
2285
|
private readonly _fetchImage;
|
|
1924
2286
|
private readonly _fetchMedia;
|
|
@@ -1931,6 +2293,7 @@ declare class PptxPresentation {
|
|
|
1931
2293
|
private _assertResourceHealthy;
|
|
1932
2294
|
private _rethrowWithResourceFailure;
|
|
1933
2295
|
static load(source: string | ArrayBuffer, opts?: LoadOptions): Promise<PptxPresentation>;
|
|
2296
|
+
private _ensureGoogleFonts;
|
|
1934
2297
|
private _parse;
|
|
1935
2298
|
private _parseMainProgressively;
|
|
1936
2299
|
private _parseWorkerProgressively;
|
|
@@ -1958,6 +2321,7 @@ declare class PptxPresentation {
|
|
|
1958
2321
|
private _partIndex;
|
|
1959
2322
|
getSlideIndexByPartName(partName: string): number | undefined;
|
|
1960
2323
|
resolveInternalTarget(ref: string, currentIndex?: number): number | undefined;
|
|
2324
|
+
private _officeRoutesForRequests;
|
|
1961
2325
|
renderSlide(canvas: HTMLCanvasElement | OffscreenCanvas, slideIndex: number, opts?: RenderSlideOptions): Promise<void>;
|
|
1962
2326
|
renderSlideToBitmap(slideIndex: number, opts?: RenderSlideToBitmapOptions): Promise<ImageBitmap>;
|
|
1963
2327
|
collectSlideRuns(slideIndex: number, width?: number): Promise<PptxTextRunInfo[]>;
|
|
@@ -2022,7 +2386,7 @@ declare class PptxViewer implements ZoomableViewer {
|
|
|
2022
2386
|
private elementContext;
|
|
2023
2387
|
private elementHitGeneration;
|
|
2024
2388
|
private readonly elementHitTolerance;
|
|
2025
|
-
private readonly
|
|
2389
|
+
private readonly _loadingIndicator;
|
|
2026
2390
|
private _layoutUnsubscribe;
|
|
2027
2391
|
private readonly _layoutWaiters;
|
|
2028
2392
|
private _layoutFailed;
|
|
@@ -2140,56 +2504,45 @@ declare class PptxScrollViewer implements ZoomableViewer {
|
|
|
2140
2504
|
private readonly _opts;
|
|
2141
2505
|
private readonly _errorRouter;
|
|
2142
2506
|
private readonly _container;
|
|
2143
|
-
private readonly
|
|
2144
|
-
private
|
|
2145
|
-
private
|
|
2507
|
+
private readonly _shell;
|
|
2508
|
+
private get _wrapper();
|
|
2509
|
+
private get _scrollHost();
|
|
2510
|
+
private get _spacer();
|
|
2146
2511
|
private _mode;
|
|
2147
|
-
private
|
|
2148
|
-
private
|
|
2149
|
-
private
|
|
2512
|
+
private readonly _viewport;
|
|
2513
|
+
private readonly _zoom;
|
|
2514
|
+
private get _scale();
|
|
2515
|
+
private get _scaleEstablished();
|
|
2516
|
+
private readonly _scroller;
|
|
2150
2517
|
private readonly _slots;
|
|
2151
|
-
private readonly
|
|
2518
|
+
private readonly _layout;
|
|
2519
|
+
private readonly _renderHooks;
|
|
2520
|
+
private readonly _bitmap;
|
|
2521
|
+
private readonly _main;
|
|
2522
|
+
private readonly _media;
|
|
2523
|
+
private readonly _commentNavigation;
|
|
2524
|
+
private readonly _navigation;
|
|
2525
|
+
private readonly _selection;
|
|
2152
2526
|
private _uniformSlideHeight;
|
|
2153
|
-
private
|
|
2154
|
-
private
|
|
2155
|
-
private _lastReportedTotal;
|
|
2156
|
-
private _lastReportedLayoutComplete;
|
|
2157
|
-
private _layoutUnsubscribe;
|
|
2158
|
-
private _scrollListener;
|
|
2159
|
-
private _selectionChangeListener;
|
|
2160
|
-
private _selectionContextKey;
|
|
2161
|
-
private _elementClickListener;
|
|
2162
|
-
private _contextMenuListener;
|
|
2163
|
-
private _commentOutsidePointerListener;
|
|
2164
|
-
private _elementContext;
|
|
2527
|
+
private readonly _visibleEvents;
|
|
2528
|
+
private readonly _loader;
|
|
2165
2529
|
private _activeCommentId;
|
|
2166
2530
|
private _activeCommentSlide;
|
|
2167
|
-
private _commentNavigationGeneration;
|
|
2168
2531
|
private _commentUi;
|
|
2169
|
-
private _commentGeometryScheduled;
|
|
2170
|
-
private _commentGeometryFrame;
|
|
2171
|
-
private readonly _pendingCommentGeometry;
|
|
2172
2532
|
private _hasComments;
|
|
2173
|
-
private
|
|
2533
|
+
private readonly _commentMargin;
|
|
2534
|
+
private readonly _layers;
|
|
2535
|
+
private readonly _commentOverlay;
|
|
2174
2536
|
private _commentScanFrontier;
|
|
2175
|
-
private readonly _layoutWaiters;
|
|
2176
|
-
private _layoutFailed;
|
|
2177
|
-
private _elementHitGeneration;
|
|
2178
2537
|
private readonly _elementHitTolerance;
|
|
2179
2538
|
private _destroyed;
|
|
2180
|
-
private
|
|
2181
|
-
private _renderEpoch;
|
|
2182
|
-
private _settleTimer;
|
|
2183
|
-
private _wheelListener;
|
|
2184
|
-
private _pendingZoomAnchor;
|
|
2185
|
-
private _resizeObserver;
|
|
2186
|
-
private _prevBase;
|
|
2187
|
-
private _lastFitWidth;
|
|
2539
|
+
private get _renderEpoch();
|
|
2540
|
+
private set _renderEpoch(value);
|
|
2188
2541
|
private readonly _pageShadow;
|
|
2189
2542
|
private readonly _find;
|
|
2190
2543
|
private _findGeneration;
|
|
2191
2544
|
private _findActive;
|
|
2192
|
-
private
|
|
2545
|
+
private readonly _highlights;
|
|
2193
2546
|
static fromPresentation(container: HTMLElement, presentation: PptxPresentation, opts?: Omit<PptxScrollViewerOptions, keyof LoadOptions>): Omit<PptxScrollViewer, 'load'>;
|
|
2194
2547
|
constructor(container: HTMLElement, opts?: PptxScrollViewerOptions);
|
|
2195
2548
|
load(source: string | ArrayBuffer): Promise<void>;
|
|
@@ -2199,25 +2552,15 @@ declare class PptxScrollViewer implements ZoomableViewer {
|
|
|
2199
2552
|
waitUntilLayoutComplete(): Promise<void>;
|
|
2200
2553
|
private _slideWidthPx;
|
|
2201
2554
|
private _slideHeightPx;
|
|
2202
|
-
private _fitWidthPx;
|
|
2203
|
-
private _commentMarginExtent;
|
|
2204
|
-
private _hasCommentMargin;
|
|
2205
|
-
private _commentZoom;
|
|
2206
2555
|
private _commentsEnabled;
|
|
2207
2556
|
private _commentsOptions;
|
|
2208
|
-
private _commentSide;
|
|
2209
|
-
private _syncCommentMarginGeometry;
|
|
2210
2557
|
private _scanAvailableComments;
|
|
2211
2558
|
private _refreshDiscoveredComments;
|
|
2212
2559
|
private _baseScale;
|
|
2213
2560
|
relayout(): void;
|
|
2214
2561
|
private _relayout;
|
|
2215
2562
|
private _recomputeHeights;
|
|
2216
|
-
private _gap;
|
|
2217
|
-
private _overscan;
|
|
2218
2563
|
private _mediaOverscan;
|
|
2219
|
-
private _pad;
|
|
2220
|
-
private _padH;
|
|
2221
2564
|
private _slideOffset;
|
|
2222
2565
|
private _slideIndexAtOffset;
|
|
2223
2566
|
private _rangeAt;
|
|
@@ -2228,44 +2571,30 @@ declare class PptxScrollViewer implements ZoomableViewer {
|
|
|
2228
2571
|
private _syncSpacerWidth;
|
|
2229
2572
|
private _onScroll;
|
|
2230
2573
|
private _mountVisible;
|
|
2231
|
-
private
|
|
2232
|
-
private _acquireSlot;
|
|
2574
|
+
private _createSlot;
|
|
2233
2575
|
private _recycleSlot;
|
|
2576
|
+
private _resetSlot;
|
|
2234
2577
|
private _positionSlot;
|
|
2235
|
-
private _dpr;
|
|
2236
2578
|
private _renderSlot;
|
|
2237
2579
|
private _trackSlotLoading;
|
|
2238
|
-
private _bindLayoutPresentation;
|
|
2239
|
-
private _unbindLayoutPresentation;
|
|
2240
|
-
private _onLayoutPublication;
|
|
2241
|
-
private _wakeLayoutWaiters;
|
|
2242
|
-
private _beginCommentNavigation;
|
|
2243
|
-
private _waitForSlideMetadata;
|
|
2244
2580
|
private _emitVisibleSlideChange;
|
|
2245
|
-
private _renderInteractiveSlot;
|
|
2246
|
-
private _syncMediaPlayback;
|
|
2247
2581
|
private _reportRenderError;
|
|
2582
|
+
private _commitRenderedRuns;
|
|
2248
2583
|
private _renderSlotBitmap;
|
|
2249
2584
|
setScale(scale: number): void;
|
|
2250
2585
|
getScale(): number;
|
|
2251
2586
|
zoomIn(): void;
|
|
2252
2587
|
zoomOut(): void;
|
|
2253
|
-
private _effectiveZoomMin;
|
|
2254
2588
|
fitWidth(): void;
|
|
2255
2589
|
fitPage(): void;
|
|
2256
|
-
private _fit;
|
|
2257
2590
|
private _previewVisible;
|
|
2258
2591
|
private _previewSlot;
|
|
2259
2592
|
private _clearTextLayerPreview;
|
|
2260
2593
|
private _scheduleSettle;
|
|
2261
|
-
private _settleRender;
|
|
2262
2594
|
private _settleSlot;
|
|
2263
|
-
private _settleInteractiveSlot;
|
|
2264
2595
|
scrollToSlide(index: number, opts?: {
|
|
2265
2596
|
behavior?: 'auto' | 'smooth';
|
|
2266
2597
|
}): void;
|
|
2267
|
-
private _scrollToSlideCommentTarget;
|
|
2268
|
-
private _resolveSlideCommentElementBounds;
|
|
2269
2598
|
goToComment(slideIndex: number, commentIndex: number, opts?: {
|
|
2270
2599
|
behavior?: 'auto' | 'smooth';
|
|
2271
2600
|
}): Promise<boolean>;
|
|
@@ -2274,32 +2603,16 @@ declare class PptxScrollViewer implements ZoomableViewer {
|
|
|
2274
2603
|
findPrev(): Promise<FindMatch<PptxMatchLocation> | null>;
|
|
2275
2604
|
clearFind(): void;
|
|
2276
2605
|
private _invalidateFind;
|
|
2277
|
-
private _activateMatch;
|
|
2278
2606
|
private _collectSlideRuns;
|
|
2279
|
-
private _redrawHighlights;
|
|
2280
|
-
private _refreshFindRuns;
|
|
2281
2607
|
private _redrawSlotComments;
|
|
2282
|
-
private _redrawSlotCommentConnectors;
|
|
2283
2608
|
private _commitSlotComments;
|
|
2284
2609
|
private _ensureSlotCommentAnchors;
|
|
2285
|
-
private _scheduleCommentGeometry;
|
|
2286
|
-
private _redrawSlotHighlights;
|
|
2287
|
-
private _measureForFind;
|
|
2288
2610
|
private _hyperlinkHandler;
|
|
2289
2611
|
private _onHyperlinkClick;
|
|
2290
2612
|
private _resolveInternalSlideIndex;
|
|
2291
|
-
private _onResize;
|
|
2292
2613
|
get topVisibleSlide(): number;
|
|
2293
2614
|
getResourceMetrics(): Promise<OoxmlResourceMetrics>;
|
|
2294
2615
|
getSelectionContext(options?: PptxSelectionContextOptions): PptxSelectionContext | null;
|
|
2295
|
-
private _emitSelectionContextChange;
|
|
2296
|
-
private _setElementContext;
|
|
2297
|
-
private _invalidateElementSelection;
|
|
2298
|
-
private _redrawElementOutlines;
|
|
2299
|
-
private _redrawElementOutlineForSlot;
|
|
2300
|
-
private _onElementClick;
|
|
2301
|
-
private _onContextMenu;
|
|
2302
|
-
private _resolveContextAt;
|
|
2303
2616
|
destroy(): void;
|
|
2304
2617
|
}
|
|
2305
2618
|
declare function buildPptxTextLayer(layer: HTMLDivElement, runs: PptxTextRunInfo[], cssWidth: number, cssHeight: number, onHyperlinkClick?: (target: HyperlinkTarget) => void, slideIndex?: number): void;
|
|
@@ -2310,4 +2623,4 @@ interface PptxHighlightMatch {
|
|
|
2310
2623
|
type PptxHighlightColors = FindHighlightColors;
|
|
2311
2624
|
declare function buildPptxHighlightLayer(layer: HTMLDivElement, runs: PptxTextRunInfo[], matches: PptxHighlightMatch[], cssWidth: number, cssHeight: number, measureForFont: (font: string) => (s: string) => number, colors?: PptxHighlightColors): void;
|
|
2312
2625
|
//#endregion
|
|
2313
|
-
export { type ArrowEnd, type AutoResizeOptions, type Bevel3d, type BlipBullet, type Bullet, type Camera3d, type ChartAreaGroupDecorations, type ChartBarGroupDecorations, type ChartDataLabelOverride, type ChartDataPointOverride, type ChartDataTable, type ChartDecorationLineStyle, type ChartDisplayUnits, type ChartDisplayUnitsLabel, type ChartElement, type ChartErrBars, type ChartExElementStyle, type ChartExRenderer, type ChartLabelBox, type ChartLegendEntryOverride, type ChartLineDashSegment, type ChartLineGroupDecorations, type ChartManualLayout, type ChartModel, type ChartOfPie, type ChartPlotGroup, type ChartPlotGroupAxisSlot, type ChartPlotGroupKind, type ChartRect, type ChartRegionMapRenderer, type ChartSeries, type ChartSeriesDataLabels, type ChartStockBarPaint, type ChartStockUpDownBarStyle, type ChartSurfaceBandFormat, type ChartTextBox, type ChartTextParagraph, type ChartTextRun, type ChartThreeD, type ChartThreeDPictureOptions, type ChartThreeDRenderer, type ChartThreeDSeriesAxis, type ChartThreeDSurface, type ChartTrendline, type ChartType, type ChartexBoxSeries, type ChartexBoxWhisker, type ChartexGeography, type ChartexHistogramBinning, type ChartexRegionMap, type ChartexRegionMapColors, type ChartexRegionMapRow, type ChartexSunburst, type ChartexSunburstRow, type ChartexTreemap, type ChartexValueColorStop, type CjkFallback, type DecodedImageBudgetStrategy, type DimOptions, type DrawingMLCustomDashSegment, type Duotone, type EquationRun, type Fill, type FillRect, type FindHighlightColors, type FindMatch, type FindMatchesOptions, type Glow, type GradientFill, type GradientStop, type HiddenSlideMode, type HyperlinkTarget, type ImageFill, type ImageResourceOptions, type LegendManualLayout, type LightRig, type LineBreak, type LoadOptions, type MatchRunSlice, type MathAccent, type MathArray, type MathBar, type MathBorderBox, type MathBox, type MathDelimiter, type MathFraction, type MathFunc, type MathGroup, type MathGroupChr, type MathLimit, type MathNary, type MathNode, type MathPhant, type MathRadical, type MathRenderer, type MathRun, type MathSPre, type MathScript, type MathStyle, type MathSvg, type MediaElement, type NoFill, OoxmlDecodedImageLimitError, type OoxmlDecodedImageLimitMetric, OoxmlError, type OoxmlErrorCode, type OoxmlErrorStage, type OoxmlFormat, type OoxmlResourceLimit, OoxmlResourceLimitError, type OoxmlResourceLimitErrorDetails, type OoxmlResourceLimits, type OoxmlResourceMetric, type OoxmlResourceMetrics, type OoxmlResourceMetricsCheckpoint, type OoxmlResourceName, type OoxmlResourcePolicySnapshot, type OoxmlResourceUsageSnapshot, type OoxmlResourceViolation, type Paragraph, type PathCmd, type PatternFill, type PictureElement, type PptxComment, type PptxCommentAnchor, type PptxCommentReply, type PptxCommentSelectionContext, type PptxCommentsOptions, type PptxElementBounds, type PptxElementContext, type PptxElementContextOptions, type PptxHighlightColors, type PptxHighlightMatch, type PptxMatchLocation, PptxPresentation, PptxScrollViewer, type PptxScrollViewerOptions, type PptxSelectionContext, type PptxSelectionContextOptions, type PptxSelectionRunLocator, type PptxSlidePoint, type PptxTextRunInfo, type PptxTextSelectionContext, PptxViewer, type PptxViewerOptions, type PresentSlideOptions, type Presentation, type PresentationHandle, type Reflection, type RenderOptions, type RenderSlideOptions, type RenderSlideToBitmapOptions, type Rot3d, type Scene3d, type SecondaryValueAxis, type Shadow, type ShapeElement, type Slide, type SlideElement, type SlideElementOrigin, type SlideElementSource, type SlideRenderOptions, type SoftEdge, type SolidFill, type Sp3d, type SpaceLine, type SrcRect, type Stroke, type TabStop, type TableCell, type TableElement, type TableRow, type TextBody, type TextOutline, type TextRect, type TextRun, type TextRunCallback, type TextRunData, type TextSelectionContextOptions, TiffDecodeError, type TiffRenderOptions, type TiffRenderer, type TileInfo, type ViewerCommentConnectorOptions, type ViewerCommentConnectorRoute, type ViewerCommentConnectorStroke, type ViewerCommentMessageContext, type ViewerCommentThreadContext, type ViewerContextMenuEvent, type ZoomableViewer, autoResize, buildPptxHighlightLayer, buildPptxTextLayer, isOoxmlDecodedImageLimitError, isTiffDecodeError, openExternalHyperlink, readPptxTextSelectionContext, renderSlide };
|
|
2626
|
+
export { type ArrowEnd, type AutoResizeOptions, type Bevel3d, type BlendMode, type BlipBullet, type BlipEffect, type BlipEffectContainer, type BlipEffectFill, type BlipEffectImageFill, type Bullet, type Camera3d, type ChartAreaGroupDecorations, type ChartAxisNumberFormat, type ChartBarGroupDecorations, type ChartClassicSurfaceBandStyles, type ChartDataLabelOverride, type ChartDataPointOverride, type ChartDataTable, type ChartDecorationLineStyle, type ChartDisplayUnits, type ChartDisplayUnitsLabel, type ChartElement, type ChartErrBars, type ChartExElementStyle, type ChartExRenderer, type ChartLabelBox, type ChartLegendEntryOverride, type ChartLineDashSegment, type ChartLineGroupDecorations, type ChartManualLayout, type ChartModel, type ChartOfPie, type ChartPlotGroup, type ChartPlotGroupAxisSlot, type ChartPlotGroupKind, type ChartRect, type ChartRegionMapRenderer, type ChartSeries, type ChartSeriesDataLabels, type ChartStockBarPaint, type ChartStockUpDownBarStyle, type ChartSurfaceBandFormat, type ChartTextBox, type ChartTextParagraph, type ChartTextRun, type ChartThreeD, type ChartThreeDPictureOptions, type ChartThreeDRenderer, type ChartThreeDSeriesAxis, type ChartThreeDSurface, type ChartTrendline, type ChartType, type ChartexBoxSeries, type ChartexBoxWhisker, type ChartexGeography, type ChartexHistogramBinning, type ChartexRegionMap, type ChartexRegionMapColors, type ChartexRegionMapRow, type ChartexSunburst, type ChartexSunburstRow, type ChartexTreemap, type ChartexValueColorStop, type CjkFallback, type DecodedImageBudgetStrategy, type DimOptions, type DrawingMLCustomDashSegment, type Duotone, type EquationBranchFallback, type EquationRun, type Fill, type FillRect, type FindHighlightColors, type FindMatch, type FindMatchesOptions, type Glow, type GradientFill, type GradientStop, type HiddenSlideMode, type HyperlinkTarget, type ImageFill, type ImageResourceOptions, type LegendManualLayout, type LightRig, type LineBreak, type LoadOptions, type MatchRunSlice, type MathAccent, type MathArray, type MathBar, type MathBorderBox, type MathBox, type MathDelimiter, type MathFraction, type MathFunc, type MathGroup, type MathGroupChr, type MathLimit, type MathNary, type MathNode, type MathPhant, type MathRadical, type MathRenderer, type MathRun, type MathSPre, type MathScript, type MathStyle, type MathSvg, type MediaElement, type ModelSource, type ModelSourceConfig, type ModelSourceConfigValue, type ModelSourceLoad, type ModelSourceModule, type ModelSourceModuleDescriptor, type ModelSourceTarget, type NoFill, OoxmlDecodedImageLimitError, type OoxmlDecodedImageLimitMetric, OoxmlError, type OoxmlErrorCode, type OoxmlErrorStage, type OoxmlFormat, type OoxmlResourceLimit, OoxmlResourceLimitError, type OoxmlResourceLimitErrorDetails, type OoxmlResourceLimits, type OoxmlResourceMetric, type OoxmlResourceMetrics, type OoxmlResourceMetricsCheckpoint, type OoxmlResourceName, type OoxmlResourcePolicySnapshot, type OoxmlResourceUsageSnapshot, type OoxmlResourceViolation, type OoxmlUnsupportedContentDetails, type OpenedModelSource, type Paragraph, type PathCmd, type PatternFill, type PictureElement, type PptxComment, type PptxCommentAnchor, type PptxCommentReply, type PptxCommentSelectionContext, type PptxCommentsOptions, type PptxElementBounds, type PptxElementContext, type PptxElementContextOptions, type PptxHighlightColors, type PptxHighlightMatch, type PptxMatchLocation, PptxPresentation, PptxScrollViewer, type PptxScrollViewerOptions, type PptxSelectionContext, type PptxSelectionContextOptions, type PptxSelectionRunLocator, type PptxSlidePoint, type PptxTextRunInfo, type PptxTextSelectionContext, PptxViewer, type PptxViewerOptions, type PresentSlideOptions, type Presentation, type PresentationHandle, type Reflection, type RenderOptions, type RenderSlideOptions, type RenderSlideToBitmapOptions, type Rot3d, type Scene3d, type SecondaryValueAxis, type Shadow, type ShapeElement, type Slide, type SlideElement, type SlideElementOrigin, type SlideElementSource, type SlideRenderOptions, type SoftEdge, type SolidFill, type Sp3d, type SpaceLine, type SrcRect, type Stroke, type TabStop, type TableCell, type TableElement, type TableRow, type TextBody, type TextOutline, type TextRect, type TextRun, type TextRunCallback, type TextRunData, type TextSelectionContextOptions, TiffDecodeError, type TiffRenderOptions, type TiffRenderer, type TileInfo, type ViewerCommentConnectorOptions, type ViewerCommentConnectorRoute, type ViewerCommentConnectorStroke, type ViewerCommentMessageContext, type ViewerCommentThreadContext, type ViewerContextMenuEvent, type XlsxWorksheetLimits, type ZoomableViewer, autoResize, buildPptxHighlightLayer, buildPptxTextLayer, isOoxmlDecodedImageLimitError, isTiffDecodeError, openExternalHyperlink, readPptxTextSelectionContext, renderSlide };
|