@silurus/ooxml 0.80.3 → 0.82.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 +61 -85
- package/dist/assets/render-worker-7-Zr7fSw.js +10 -0
- package/dist/assets/render-worker-B5gsW6b5.js +11 -0
- package/dist/assets/render-worker-Dw_wQRIh.js +24 -0
- package/dist/{canvas-viewer-mechanics-D-r6wHY_.js → canvas-viewer-mechanics-CS_qbr6T.js} +1 -1
- package/dist/chart-ex.mjs +1017 -0
- package/dist/comment-occurrence-C34fWs_F.js +6 -0
- package/dist/comment-ui-runtime-BAe30Ct9.js +112 -0
- package/dist/comment-ui-runtime-BUCj4hWn.js +171 -0
- package/dist/comment-ui-runtime-F4a3te6p.js +2 -0
- package/dist/comments-Cf9W7r3M.js +241 -0
- package/dist/{document-pull-client-vxk-Aomu.js → document-pull-client-BCgmytqI.js} +4682 -4541
- package/dist/docx-wokGKYfi.js +2162 -0
- package/dist/docx.mjs +6 -4
- package/dist/docx_parser_bg.wasm +0 -0
- package/dist/dom-interaction-boundary-C8F6HO5x.js +119 -0
- package/dist/highlight-rect-MaCt0om0.js +13 -0
- package/dist/index.mjs +3 -3
- package/dist/{line-distribute-Bvtp0Gt6.js → line-distribute-iXsUCIH-.js} +17 -16
- package/dist/{line-metrics-DdEJYxjx.js → line-metrics-B3syvDn2.js} +667 -7492
- package/dist/math.mjs +2 -2
- package/dist/node.mjs +248 -247
- package/dist/plot-area-frame-DHV02PJU.js +3670 -0
- package/dist/pptx-DU8L8I2T.js +2432 -0
- package/dist/pptx.mjs +6 -5
- package/dist/pptx_parser_bg.wasm +0 -0
- package/dist/read-only-comment-decoration-DcFevX_Q.js +96 -0
- package/dist/read-only-comment-margin-Dn2y55W6.js +189 -0
- package/dist/region-map.mjs +102 -97
- package/dist/{render-CoqMHcbF.js → render-CenWM4g1.js} +1 -1
- package/dist/{render-worker-host-IuQFpoJM.js → render-worker-host-BNENN3qP.js} +1 -1
- package/dist/{render-worker-host-CYPhmBtX.js → render-worker-host-BmH3kGSj.js} +1 -1
- package/dist/{render-worker-host-GlLR1rtF.js → render-worker-host-CmPBviYJ.js} +1 -1
- package/dist/renderer-CYr9YTXM.js +5856 -0
- package/dist/{renderer-module-contract-BNGz8HvO.js → renderer-module-contract-DLbb7zY0.js} +4 -3
- package/dist/{resource-measurement-CgMubiAI.js → resource-measurement-CsW4_eYt.js} +12 -11
- package/dist/{session-DkPblDiq.js → session-Cky_swUj.js} +8 -8
- package/dist/{slide-pull-client-m2blvngt.js → slide-pull-client-CqTVFb3W.js} +1004 -1091
- package/dist/source-key-BklvnEyQ.js +42 -0
- package/dist/three-d-7MaVzQuZ.js +1346 -0
- package/dist/three-d.mjs +1238 -797
- package/dist/types/chart-ex.d.ts +949 -0
- package/dist/types/docx.d.ts +497 -28
- package/dist/types/index.d.ts +649 -39
- package/dist/types/math.d.ts +1 -1
- package/dist/types/node.d.ts +385 -22
- package/dist/types/pptx.d.ts +435 -24
- package/dist/types/region-map.d.ts +318 -6
- package/dist/types/three-d.d.ts +318 -6
- package/dist/types/xlsx.d.ts +384 -19
- package/dist/units-BzZ0gAxs.js +4 -0
- package/dist/{worksheet-pull-client-BntP6RiO.js → worksheet-pull-client-CYtwXP5D.js} +19 -19
- package/dist/{xlsx-DqMe7J2C.js → xlsx-DlV37-0j.js} +1594 -1349
- package/dist/xlsx.mjs +6 -5
- package/dist/xlsx_parser_bg.wasm +0 -0
- package/package.json +7 -1
- package/dist/assets/render-worker-CRaEOHkw.js +0 -9
- package/dist/assets/render-worker-DQGLj5Zv.js +0 -22
- package/dist/assets/render-worker-rnrSLmqL.js +0 -8
- package/dist/chart-number-format-qLhnk6hj.js +0 -475
- package/dist/docx-DN0PRx2f.js +0 -1733
- package/dist/highlight-rect-BuX5rWP4.js +0 -48
- package/dist/pptx-B-Laftl1.js +0 -2134
- package/dist/three-d-C28kqDym.js +0 -1086
- /package/dist/{mathjax-DgAl7Yi5.js → mathjax-DwIrafQ6.js} +0 -0
- /package/dist/{transfer-CKZ79zFw.js → transfer-R6NjgBKD.js} +0 -0
- /package/dist/{visible-index-BjesVGhg.js → visible-index-BFE3PWiY.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-qJPl2r8m.d.ts
|
|
2
2
|
type MathStyle = 'roman' | 'italic' | 'bold' | 'boldItalic';
|
|
3
3
|
interface MathRun {
|
|
4
4
|
kind: 'run';
|
|
@@ -107,6 +107,12 @@ interface Duotone$1 {
|
|
|
107
107
|
clr1: string;
|
|
108
108
|
clr2: string;
|
|
109
109
|
}
|
|
110
|
+
interface SrcRect {
|
|
111
|
+
l: number;
|
|
112
|
+
t: number;
|
|
113
|
+
r: number;
|
|
114
|
+
b: number;
|
|
115
|
+
}
|
|
110
116
|
type PathCmd$2 = {
|
|
111
117
|
cmd: 'moveTo';
|
|
112
118
|
x: number;
|
|
@@ -175,18 +181,23 @@ interface FillRect {
|
|
|
175
181
|
b?: number;
|
|
176
182
|
}
|
|
177
183
|
interface TileInfo {
|
|
178
|
-
tx
|
|
179
|
-
ty
|
|
180
|
-
sx
|
|
181
|
-
sy
|
|
182
|
-
flip
|
|
184
|
+
tx?: number;
|
|
185
|
+
ty?: number;
|
|
186
|
+
sx?: number;
|
|
187
|
+
sy?: number;
|
|
188
|
+
flip?: string;
|
|
183
189
|
algn?: string;
|
|
184
190
|
}
|
|
185
191
|
interface ImageFill {
|
|
186
192
|
fillType: 'image';
|
|
187
193
|
imagePath: string;
|
|
194
|
+
svgImagePath?: string;
|
|
188
195
|
mimeType: string;
|
|
196
|
+
dpi?: number;
|
|
197
|
+
rotWithShape?: boolean;
|
|
198
|
+
srcRect?: SrcRect;
|
|
189
199
|
fillRect?: FillRect;
|
|
200
|
+
stretch?: boolean;
|
|
190
201
|
tile?: TileInfo;
|
|
191
202
|
alpha?: number;
|
|
192
203
|
duotone?: Duotone$1;
|
|
@@ -237,10 +248,7 @@ interface Stroke {
|
|
|
237
248
|
fillType: 'none';
|
|
238
249
|
}>;
|
|
239
250
|
dashStyle?: string;
|
|
240
|
-
customDash?: ReadonlyArray<
|
|
241
|
-
dash: number;
|
|
242
|
-
space: number;
|
|
243
|
-
}>;
|
|
251
|
+
customDash?: ReadonlyArray<DrawingMLCustomDashSegment>;
|
|
244
252
|
lineCap?: 'butt' | 'round' | 'square';
|
|
245
253
|
lineJoin?: 'round' | 'bevel' | 'miter';
|
|
246
254
|
miterLimit?: number;
|
|
@@ -249,6 +257,10 @@ interface Stroke {
|
|
|
249
257
|
tailEnd?: ArrowEnd;
|
|
250
258
|
cmpd?: string;
|
|
251
259
|
}
|
|
260
|
+
interface DrawingMLCustomDashSegment {
|
|
261
|
+
dash: number;
|
|
262
|
+
space: number;
|
|
263
|
+
}
|
|
252
264
|
interface TextBody$1 {
|
|
253
265
|
verticalAnchor: string;
|
|
254
266
|
paragraphs: Paragraph$1[];
|
|
@@ -378,18 +390,24 @@ interface ChartSeries {
|
|
|
378
390
|
automaticNegativeStyle?: boolean | null;
|
|
379
391
|
invertedFill?: SolidFill | GradientFill | PatternFill | null;
|
|
380
392
|
invertedFillHidden?: boolean | null;
|
|
393
|
+
invertedFillAuthored?: boolean | null;
|
|
381
394
|
invertedLineColor?: string | null;
|
|
382
395
|
invertedLineWidthEmu?: number | null;
|
|
383
396
|
invertedLineHidden?: boolean | null;
|
|
397
|
+
invertedLineAuthored?: boolean | null;
|
|
384
398
|
chartexStyle?: ChartExElementStyle | null;
|
|
385
399
|
lineColor?: string | null;
|
|
386
400
|
lineWidthEmu?: number | null;
|
|
387
401
|
threeDShape?: 'box' | 'cylinder' | 'cone' | 'coneToMax' | 'pyramid' | 'pyramidToMax' | string | null;
|
|
388
402
|
values: (number | null)[];
|
|
403
|
+
sourceHidden?: boolean[] | null;
|
|
389
404
|
dataPointColors?: (string | null)[] | null;
|
|
405
|
+
explosion?: number | null;
|
|
390
406
|
dataLabelColors?: (string | null)[] | null;
|
|
391
407
|
labelColor?: string | null;
|
|
392
408
|
seriesType?: string | null;
|
|
409
|
+
lineGroupIndex?: number | null;
|
|
410
|
+
areaGroupIndex?: number | null;
|
|
393
411
|
barGroupIndex?: number | null;
|
|
394
412
|
barGroupDirection?: 'bar' | 'col' | string | null;
|
|
395
413
|
barGroupGrouping?: 'standard' | 'clustered' | 'stacked' | 'percentStacked' | string | null;
|
|
@@ -397,14 +415,18 @@ interface ChartSeries {
|
|
|
397
415
|
barGroupOverlap?: number | null;
|
|
398
416
|
useSecondaryAxis?: boolean | null;
|
|
399
417
|
categories?: string[] | null;
|
|
418
|
+
bubbleXSourceIsString?: boolean | null;
|
|
400
419
|
showMarker?: boolean | null;
|
|
401
420
|
valFormatCode?: string | null;
|
|
402
421
|
catFormatCode?: string | null;
|
|
403
422
|
catFormatBuiltinId?: number | null;
|
|
404
423
|
catFormatCodes?: (string | null)[] | null;
|
|
405
424
|
markerSymbol?: string | null;
|
|
425
|
+
automaticMarkerSymbol?: string | null;
|
|
406
426
|
markerSize?: number | null;
|
|
407
427
|
markerFill?: string | null;
|
|
428
|
+
markerFillPaint?: Fill | null;
|
|
429
|
+
markerFillPaintAuthored?: boolean | null;
|
|
408
430
|
markerLine?: string | null;
|
|
409
431
|
markerLineWidthEmu?: number | null;
|
|
410
432
|
dataPointOverrides?: ChartDataPointOverride[] | null;
|
|
@@ -412,6 +434,8 @@ interface ChartSeries {
|
|
|
412
434
|
seriesDataLabels?: ChartSeriesDataLabels | null;
|
|
413
435
|
errBars?: ChartErrBars[] | null;
|
|
414
436
|
bubbleSizes?: (number | null)[] | null;
|
|
437
|
+
bubble3DGroupDefault?: boolean | null;
|
|
438
|
+
bubble3D?: boolean | null;
|
|
415
439
|
smooth?: boolean | null;
|
|
416
440
|
trendLines?: ChartTrendline[] | null;
|
|
417
441
|
lineHidden?: boolean | null;
|
|
@@ -428,13 +452,27 @@ interface ChartTrendline {
|
|
|
428
452
|
dispEq?: boolean | null;
|
|
429
453
|
labelManualLayout?: ChartManualLayout | null;
|
|
430
454
|
labelText?: string | null;
|
|
455
|
+
labelRichRuns?: ChartTextRun[] | null;
|
|
431
456
|
labelFormatCode?: string | null;
|
|
432
457
|
labelFormatSourceLinked?: boolean | null;
|
|
433
458
|
labelFontSizeHpt?: number | null;
|
|
434
459
|
labelFontBold?: boolean | null;
|
|
435
460
|
labelFontItalic?: boolean | null;
|
|
436
461
|
labelFontColor?: string | null;
|
|
462
|
+
labelFontPaintAuthored?: boolean | null;
|
|
463
|
+
labelFontHidden?: boolean | null;
|
|
437
464
|
labelFontFace?: string | null;
|
|
465
|
+
labelFontLanguage?: string | null;
|
|
466
|
+
labelFontBaseline?: number | null;
|
|
467
|
+
labelTextRotation?: number | null;
|
|
468
|
+
labelTextWrap?: string | null;
|
|
469
|
+
labelTextVerticalAnchor?: string | null;
|
|
470
|
+
labelTextVerticalMode?: string | null;
|
|
471
|
+
labelTextLInsEmu?: number | null;
|
|
472
|
+
labelTextTInsEmu?: number | null;
|
|
473
|
+
labelTextRInsEmu?: number | null;
|
|
474
|
+
labelTextBInsEmu?: number | null;
|
|
475
|
+
labelTextBodyAuthored?: boolean | null;
|
|
438
476
|
labelBox?: ChartLabelBox | null;
|
|
439
477
|
labelTextAlign?: string | null;
|
|
440
478
|
lineColor?: string | null;
|
|
@@ -446,6 +484,7 @@ interface ChartDataPointOverride {
|
|
|
446
484
|
idx: number;
|
|
447
485
|
color?: string;
|
|
448
486
|
fillHidden?: boolean;
|
|
487
|
+
chartexStyle?: ChartExElementStyle | null;
|
|
449
488
|
lineColor?: string;
|
|
450
489
|
lineWidthEmu?: number;
|
|
451
490
|
lineDash?: string;
|
|
@@ -453,8 +492,11 @@ interface ChartDataPointOverride {
|
|
|
453
492
|
markerSymbol?: string;
|
|
454
493
|
markerSize?: number;
|
|
455
494
|
markerFill?: string;
|
|
495
|
+
markerFillPaint?: Fill | null;
|
|
496
|
+
markerFillPaintAuthored?: boolean | null;
|
|
456
497
|
markerLine?: string;
|
|
457
498
|
markerLineWidthEmu?: number;
|
|
499
|
+
bubble3D?: boolean | null;
|
|
458
500
|
explosion?: number;
|
|
459
501
|
}
|
|
460
502
|
interface ChartDataLabelOverride {
|
|
@@ -463,9 +505,24 @@ interface ChartDataLabelOverride {
|
|
|
463
505
|
richRuns?: ChartTextRun[];
|
|
464
506
|
position?: string;
|
|
465
507
|
fontColor?: string;
|
|
508
|
+
fontPaintAuthored?: boolean;
|
|
509
|
+
fontHidden?: boolean;
|
|
466
510
|
fontSizeHpt?: number;
|
|
467
511
|
fontFace?: string;
|
|
468
512
|
fontBold?: boolean;
|
|
513
|
+
fontItalic?: boolean;
|
|
514
|
+
fontLanguage?: string;
|
|
515
|
+
fontBaseline?: number;
|
|
516
|
+
textRotation?: number;
|
|
517
|
+
textWrap?: string;
|
|
518
|
+
textVerticalAnchor?: string;
|
|
519
|
+
textVerticalMode?: string;
|
|
520
|
+
textLInsEmu?: number;
|
|
521
|
+
textTInsEmu?: number;
|
|
522
|
+
textRInsEmu?: number;
|
|
523
|
+
textBInsEmu?: number;
|
|
524
|
+
textBodyAuthored?: boolean;
|
|
525
|
+
textAlign?: 'l' | 'ctr' | 'r' | 'just' | 'dist' | string;
|
|
469
526
|
formatCode?: string;
|
|
470
527
|
separator?: string;
|
|
471
528
|
manualLayout?: ChartManualLayout;
|
|
@@ -474,29 +531,63 @@ interface ChartDataLabelOverride {
|
|
|
474
531
|
showCatName?: boolean;
|
|
475
532
|
showSerName?: boolean;
|
|
476
533
|
showPercent?: boolean;
|
|
534
|
+
showBubbleSize?: boolean;
|
|
535
|
+
showLegendKey?: boolean;
|
|
477
536
|
deleted?: boolean;
|
|
478
537
|
}
|
|
479
538
|
interface ChartLabelBox {
|
|
480
539
|
fill?: string;
|
|
540
|
+
fillPaint?: SolidFill | GradientFill | PatternFill | null;
|
|
541
|
+
fillHidden?: boolean | null;
|
|
542
|
+
fillPaintAuthored?: boolean | null;
|
|
481
543
|
borderColor?: string;
|
|
544
|
+
borderFill?: SolidFill | GradientFill | PatternFill | null;
|
|
482
545
|
borderWidthEmu?: number;
|
|
546
|
+
borderHidden?: boolean | null;
|
|
547
|
+
borderPaintAuthored?: boolean | null;
|
|
548
|
+
borderDash?: string | null;
|
|
549
|
+
borderDashAuthored?: boolean | null;
|
|
550
|
+
borderCustomDash?: ChartLineDashSegment[] | null;
|
|
551
|
+
borderCap?: string | null;
|
|
552
|
+
borderJoin?: string | null;
|
|
553
|
+
borderCompound?: string | null;
|
|
483
554
|
}
|
|
484
555
|
interface ChartSeriesDataLabels {
|
|
556
|
+
deleted?: boolean | null;
|
|
485
557
|
showVal: boolean;
|
|
486
558
|
showCatName: boolean;
|
|
487
559
|
showSerName: boolean;
|
|
488
560
|
showPercent: boolean;
|
|
561
|
+
showBubbleSize?: boolean;
|
|
562
|
+
showLegendKey?: boolean;
|
|
489
563
|
position?: string;
|
|
490
564
|
fontColor?: string;
|
|
565
|
+
fontPaintAuthored?: boolean;
|
|
566
|
+
fontHidden?: boolean;
|
|
491
567
|
formatCode?: string;
|
|
492
568
|
separator?: string;
|
|
493
569
|
fontBold?: boolean;
|
|
570
|
+
fontItalic?: boolean;
|
|
571
|
+
fontLanguage?: string;
|
|
572
|
+
fontBaseline?: number;
|
|
494
573
|
fontSizeHpt?: number;
|
|
495
574
|
fontFace?: string;
|
|
575
|
+
textRotation?: number;
|
|
576
|
+
textWrap?: string;
|
|
577
|
+
textVerticalAnchor?: string;
|
|
578
|
+
textVerticalMode?: string;
|
|
579
|
+
textLInsEmu?: number;
|
|
580
|
+
textTInsEmu?: number;
|
|
581
|
+
textRInsEmu?: number;
|
|
582
|
+
textBInsEmu?: number;
|
|
583
|
+
textBodyAuthored?: boolean;
|
|
584
|
+
textAlign?: 'l' | 'ctr' | 'r' | 'just' | 'dist' | string;
|
|
496
585
|
labelBox?: ChartLabelBox;
|
|
497
586
|
showLeaderLines?: boolean;
|
|
498
587
|
leaderLineColor?: string;
|
|
499
588
|
leaderLineWidthEmu?: number;
|
|
589
|
+
leaderLineHidden?: boolean;
|
|
590
|
+
leaderLineDash?: string;
|
|
500
591
|
}
|
|
501
592
|
interface ChartErrBars {
|
|
502
593
|
dir: string;
|
|
@@ -507,25 +598,73 @@ interface ChartErrBars {
|
|
|
507
598
|
color?: string;
|
|
508
599
|
lineWidthEmu?: number;
|
|
509
600
|
dash?: string;
|
|
601
|
+
hidden?: boolean;
|
|
510
602
|
}
|
|
511
603
|
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;
|
|
604
|
+
type ChartPlotGroupKind = 'area' | 'area3D' | 'line' | 'line3D' | 'stock' | 'radar' | 'scatter' | 'pie' | 'pie3D' | 'doughnut' | 'bar' | 'bar3D' | 'ofPie' | 'surface' | 'surface3D' | 'bubble';
|
|
605
|
+
type ChartPlotGroupAxisSlot = 'primary' | 'secondary' | 'none' | 'unresolved';
|
|
606
|
+
interface ChartPlotGroup {
|
|
607
|
+
kind: ChartPlotGroupKind;
|
|
608
|
+
seriesStart: number;
|
|
609
|
+
seriesCount: number;
|
|
610
|
+
categoryAxis: ChartPlotGroupAxisSlot;
|
|
611
|
+
valueAxis: ChartPlotGroupAxisSlot;
|
|
612
|
+
seriesAxis: ChartPlotGroupAxisSlot;
|
|
613
|
+
axisIds?: string[] | null;
|
|
614
|
+
grouping?: string | null;
|
|
615
|
+
barDirection?: string | null;
|
|
616
|
+
scatterStyle?: string | null;
|
|
617
|
+
radarStyle?: string | null;
|
|
618
|
+
gapWidth?: number | null;
|
|
619
|
+
overlap?: number | null;
|
|
620
|
+
bubbleScale?: number | null;
|
|
621
|
+
bubbleSizeRepresents?: 'area' | 'w' | null;
|
|
622
|
+
showNegativeBubbles?: boolean | null;
|
|
623
|
+
}
|
|
624
|
+
type ChartLineDashSegment = DrawingMLCustomDashSegment;
|
|
512
625
|
interface ChartExElementStyle {
|
|
513
|
-
|
|
626
|
+
fontSizeHpt?: number | null;
|
|
627
|
+
fontBold?: boolean | null;
|
|
628
|
+
fontItalic?: boolean | null;
|
|
629
|
+
fontColor?: string | null;
|
|
630
|
+
fontPaintAuthored?: boolean | null;
|
|
631
|
+
fontHidden?: boolean | null;
|
|
632
|
+
fontFace?: string | null;
|
|
633
|
+
fontLanguage?: string | null;
|
|
634
|
+
fontBaseline?: number | null;
|
|
635
|
+
textRotation?: number | null;
|
|
636
|
+
textWrap?: string | null;
|
|
637
|
+
textVerticalAnchor?: string | null;
|
|
638
|
+
textVerticalMode?: string | null;
|
|
639
|
+
textLInsEmu?: number | null;
|
|
640
|
+
textTInsEmu?: number | null;
|
|
641
|
+
textRInsEmu?: number | null;
|
|
642
|
+
textBInsEmu?: number | null;
|
|
643
|
+
textBodyAuthored?: boolean | null;
|
|
644
|
+
fillPaints?: Array<Fill | null> | null;
|
|
514
645
|
fillColors?: Array<string | null> | null;
|
|
515
646
|
fillHidden?: boolean | null;
|
|
647
|
+
fillPaintAuthored?: boolean | null;
|
|
516
648
|
fillNoStyle?: boolean | null;
|
|
517
649
|
lineColors?: Array<string | null> | null;
|
|
650
|
+
linePaints?: Array<SolidFill | GradientFill | PatternFill | null> | null;
|
|
651
|
+
linePaintAuthored?: boolean | null;
|
|
518
652
|
lineWidthEmu?: number | null;
|
|
519
653
|
lineHidden?: boolean | null;
|
|
520
654
|
lineNoStyle?: boolean | null;
|
|
521
655
|
lineDash?: string | null;
|
|
656
|
+
lineDashAuthored?: boolean | null;
|
|
657
|
+
lineCustomDash?: ChartLineDashSegment[] | null;
|
|
522
658
|
lineCap?: string | null;
|
|
523
659
|
lineJoin?: string | null;
|
|
660
|
+
lineCompound?: string | null;
|
|
524
661
|
fillColorIndex?: number | null;
|
|
525
662
|
lineColorIndex?: number | null;
|
|
526
663
|
}
|
|
664
|
+
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';
|
|
527
665
|
interface ChartSurfaceBandFormat {
|
|
528
666
|
idx: number;
|
|
667
|
+
style?: ChartExElementStyle | null;
|
|
529
668
|
fill?: SolidFill | GradientFill | PatternFill | null;
|
|
530
669
|
fillHidden?: boolean | null;
|
|
531
670
|
lineColor?: string | null;
|
|
@@ -542,8 +681,13 @@ interface ChartDataTable {
|
|
|
542
681
|
fontColor?: string | null;
|
|
543
682
|
fontBold?: boolean | null;
|
|
544
683
|
fontItalic?: boolean | null;
|
|
684
|
+
fillColor?: string | null;
|
|
685
|
+
fill?: SolidFill | GradientFill | PatternFill | null;
|
|
686
|
+
fillHidden?: boolean | null;
|
|
687
|
+
fillPaintAuthored?: boolean | null;
|
|
545
688
|
lineColor?: string | null;
|
|
546
689
|
lineWidthEmu?: number | null;
|
|
690
|
+
lineDash?: string | null;
|
|
547
691
|
lineHidden?: boolean | null;
|
|
548
692
|
}
|
|
549
693
|
interface ChartModel {
|
|
@@ -552,8 +696,10 @@ interface ChartModel {
|
|
|
552
696
|
titleRichRuns?: ChartTextRun[] | null;
|
|
553
697
|
titlePresent?: boolean;
|
|
554
698
|
categories: string[];
|
|
699
|
+
categorySourceHidden?: boolean[] | null;
|
|
555
700
|
categoryLevels?: string[][] | null;
|
|
556
701
|
series: ChartSeries[];
|
|
702
|
+
plotGroups?: ChartPlotGroup[] | null;
|
|
557
703
|
chartTextBoxes?: ChartTextBox[] | null;
|
|
558
704
|
varyColors?: boolean | null;
|
|
559
705
|
showDataLabels: boolean;
|
|
@@ -566,10 +712,32 @@ interface ChartModel {
|
|
|
566
712
|
catAxisLineHidden: boolean;
|
|
567
713
|
valAxisLineHidden: boolean;
|
|
568
714
|
plotAreaBg: string | null;
|
|
715
|
+
plotAreaFill?: Fill | null;
|
|
716
|
+
plotAreaFillHidden?: boolean | null;
|
|
717
|
+
plotAreaFillPaintAuthored?: boolean | null;
|
|
718
|
+
plotAreaFillAutomatic?: boolean | null;
|
|
719
|
+
plotAreaLineColor?: string | null;
|
|
720
|
+
plotAreaLineFill?: SolidFill | GradientFill | PatternFill | null;
|
|
721
|
+
plotAreaLineWidthEmu?: number | null;
|
|
722
|
+
plotAreaLineDash?: string | null;
|
|
723
|
+
plotAreaLineDashAuthored?: boolean | null;
|
|
724
|
+
plotAreaLineCustomDash?: ChartLineDashSegment[] | null;
|
|
725
|
+
plotAreaLineCap?: string | null;
|
|
726
|
+
plotAreaLineJoin?: string | null;
|
|
727
|
+
plotAreaLineCompound?: string | null;
|
|
728
|
+
plotAreaLineHidden?: boolean | null;
|
|
729
|
+
plotAreaLinePaintAuthored?: boolean | null;
|
|
569
730
|
chartBg: string | null;
|
|
731
|
+
chartFill?: Fill | null;
|
|
732
|
+
chartFillHidden?: boolean | null;
|
|
733
|
+
chartFillPaintAuthored?: boolean | null;
|
|
734
|
+
roundedCorners?: boolean | null;
|
|
735
|
+
plotVisibleOnly?: boolean | null;
|
|
570
736
|
showLegend: boolean;
|
|
571
737
|
dataTable?: ChartDataTable | null;
|
|
572
738
|
legendPos: 'r' | 'l' | 't' | 'b' | 'tr' | null;
|
|
739
|
+
legendOverlay?: boolean | null;
|
|
740
|
+
legendEntries?: ChartLegendEntryOverride[] | null;
|
|
573
741
|
catAxisCrossBetween: 'between' | 'midCat' | string;
|
|
574
742
|
valAxisMajorTickMark: 'cross' | 'out' | 'in' | 'none' | string;
|
|
575
743
|
catAxisMajorTickMark: 'cross' | 'out' | 'in' | 'none' | string;
|
|
@@ -606,6 +774,7 @@ interface ChartModel {
|
|
|
606
774
|
catAxisTitleRotation?: number | null;
|
|
607
775
|
catAxisTitleVerticalMode?: 'horz' | 'vert' | 'vert270' | 'wordArtVert' | 'eaVert' | 'mongolianVert' | 'wordArtVertRtl' | null;
|
|
608
776
|
catAxisTitleManualLayout?: ChartManualLayout | null;
|
|
777
|
+
catAxisTitleTextVerticalInsetEmu?: number | null;
|
|
609
778
|
valAxisTitleFontSizeHpt?: number | null;
|
|
610
779
|
valAxisTitleFontBold?: boolean | null;
|
|
611
780
|
valAxisTitleFontItalic?: boolean | null;
|
|
@@ -613,6 +782,7 @@ interface ChartModel {
|
|
|
613
782
|
valAxisTitleRotation?: number | null;
|
|
614
783
|
valAxisTitleVerticalMode?: 'horz' | 'vert' | 'vert270' | 'wordArtVert' | 'eaVert' | 'mongolianVert' | 'wordArtVertRtl' | null;
|
|
615
784
|
valAxisTitleManualLayout?: ChartManualLayout | null;
|
|
785
|
+
valAxisTitleTextVerticalInsetEmu?: number | null;
|
|
616
786
|
catAxisFontFace?: string | null;
|
|
617
787
|
valAxisFontFace?: string | null;
|
|
618
788
|
catAxisTitleFontFace?: string | null;
|
|
@@ -623,20 +793,45 @@ interface ChartModel {
|
|
|
623
793
|
legendFontSizeHpt?: number | null;
|
|
624
794
|
legendFontBold?: boolean | null;
|
|
625
795
|
legendFillColor?: string | null;
|
|
796
|
+
legendFill?: Fill | null;
|
|
797
|
+
legendFillHidden?: boolean | null;
|
|
798
|
+
legendFillPaintAuthored?: boolean | null;
|
|
626
799
|
legendLineColor?: string | null;
|
|
800
|
+
legendLineFill?: SolidFill | GradientFill | PatternFill | null;
|
|
627
801
|
legendLineWidthEmu?: number | null;
|
|
802
|
+
legendLineDash?: string | null;
|
|
803
|
+
legendLineDashAuthored?: boolean | null;
|
|
804
|
+
legendLineCustomDash?: ChartLineDashSegment[] | null;
|
|
805
|
+
legendLineCap?: string | null;
|
|
806
|
+
legendLineJoin?: string | null;
|
|
807
|
+
legendLineCompound?: string | null;
|
|
808
|
+
legendLineHidden?: boolean | null;
|
|
809
|
+
legendLinePaintAuthored?: boolean | null;
|
|
628
810
|
themeMajorFontLatin?: string | null;
|
|
629
811
|
themeMinorFontLatin?: string | null;
|
|
630
812
|
chartBorderColor?: string | null;
|
|
813
|
+
chartBorderLineFill?: SolidFill | GradientFill | PatternFill | null;
|
|
631
814
|
chartBorderWidthEmu?: number | null;
|
|
815
|
+
chartBorderDash?: string | null;
|
|
816
|
+
chartBorderDashAuthored?: boolean | null;
|
|
817
|
+
chartBorderCustomDash?: ChartLineDashSegment[] | null;
|
|
818
|
+
chartBorderCap?: string | null;
|
|
819
|
+
chartBorderJoin?: string | null;
|
|
820
|
+
chartBorderCompound?: string | null;
|
|
821
|
+
chartBorderHidden?: boolean | null;
|
|
822
|
+
chartBorderPaintAuthored?: boolean | null;
|
|
632
823
|
catAxisCrosses?: string | null;
|
|
633
824
|
catAxisCrossesAt?: number | null;
|
|
634
825
|
valAxisCrosses?: string | null;
|
|
635
826
|
valAxisCrossesAt?: number | null;
|
|
636
827
|
catAxisLineColor?: string | null;
|
|
637
828
|
catAxisLineWidthEmu?: number | null;
|
|
829
|
+
catAxisLineDash?: string | null;
|
|
830
|
+
catAxisLinePaintAuthored?: boolean | null;
|
|
638
831
|
valAxisLineColor?: string | null;
|
|
639
832
|
valAxisLineWidthEmu?: number | null;
|
|
833
|
+
valAxisLineDash?: string | null;
|
|
834
|
+
valAxisLinePaintAuthored?: boolean | null;
|
|
640
835
|
catAxisFormatCode?: string | null;
|
|
641
836
|
catAxisMin?: number | null;
|
|
642
837
|
catAxisMax?: number | null;
|
|
@@ -653,6 +848,7 @@ interface ChartModel {
|
|
|
653
848
|
holeSize?: number | null;
|
|
654
849
|
firstSliceAngle?: number | null;
|
|
655
850
|
dispBlanksAs?: string | null;
|
|
851
|
+
showDataLabelsOverMax?: boolean | null;
|
|
656
852
|
valAxisMajorGridlines?: boolean | null;
|
|
657
853
|
catAxisMajorGridlines?: boolean | null;
|
|
658
854
|
valAxisGridlineColor?: string | null;
|
|
@@ -685,12 +881,25 @@ interface ChartModel {
|
|
|
685
881
|
catAxisTickLabelPos?: string | null;
|
|
686
882
|
catAxisTickLabelSkip?: number | null;
|
|
687
883
|
catAxisTickMarkSkip?: number | null;
|
|
884
|
+
catAxisLabelAlignment?: 'l' | 'ctr' | 'r' | string | null;
|
|
885
|
+
catAxisLabelOffsetPercent?: number | null;
|
|
688
886
|
valAxisTickLabelPos?: string | null;
|
|
689
887
|
catAxisLabelRotation?: number | null;
|
|
888
|
+
lineGroupDecorations?: ChartLineGroupDecorations[] | null;
|
|
889
|
+
areaGroupDecorations?: ChartAreaGroupDecorations[] | null;
|
|
890
|
+
barGroupDecorations?: ChartBarGroupDecorations[] | null;
|
|
891
|
+
stockDropLines?: ChartDecorationLineStyle | null;
|
|
892
|
+
stockHiLowLineStyle?: ChartDecorationLineStyle | null;
|
|
690
893
|
stockHiLowLines?: boolean | null;
|
|
691
894
|
stockHiLowLineColor?: string | null;
|
|
692
895
|
stockUpDownBars?: boolean | null;
|
|
693
896
|
stockUpDownBarStyle?: ChartStockUpDownBarStyle | null;
|
|
897
|
+
stockAutomaticStyle?: {
|
|
898
|
+
lineColor: string;
|
|
899
|
+
lineWidthEmu: number;
|
|
900
|
+
upFillColor: string;
|
|
901
|
+
downFillColor: string;
|
|
902
|
+
} | null;
|
|
694
903
|
surfaceWireframe?: boolean | null;
|
|
695
904
|
surfaceBandFormats?: ChartSurfaceBandFormat[] | null;
|
|
696
905
|
legacyChartStyle?: number | null;
|
|
@@ -705,6 +914,11 @@ interface ChartModel {
|
|
|
705
914
|
chartexAccents?: string[] | null;
|
|
706
915
|
chartexColorPalette?: Array<string | null> | null;
|
|
707
916
|
chartexColorStyleMethod?: string | null;
|
|
917
|
+
chartStyleRoles?: Partial<Record<ChartStyleRole, ChartExElementStyle>> | null;
|
|
918
|
+
chartStyleColorPalette?: Array<string | null> | null;
|
|
919
|
+
chartStyleColorMethod?: string | null;
|
|
920
|
+
chartStyleMarkerSizePt?: number | null;
|
|
921
|
+
chartStyleMarkerSymbol?: string | null;
|
|
708
922
|
chartexDataPointStyle?: ChartExElementStyle | null;
|
|
709
923
|
chartexDataPointLineStyle?: ChartExElementStyle | null;
|
|
710
924
|
chartexSeriesLineStyle?: ChartExElementStyle | null;
|
|
@@ -715,9 +929,15 @@ interface ChartModel {
|
|
|
715
929
|
}
|
|
716
930
|
interface ChartStockBarPaint {
|
|
717
931
|
fillColor?: string | null;
|
|
932
|
+
fill?: SolidFill | GradientFill | PatternFill | null;
|
|
933
|
+
fillPaintAuthored?: boolean | null;
|
|
718
934
|
fillHidden?: boolean | null;
|
|
719
935
|
lineColor?: string | null;
|
|
936
|
+
linePaintAuthored?: boolean | null;
|
|
720
937
|
lineWidthEmu?: number | null;
|
|
938
|
+
lineDash?: string | null;
|
|
939
|
+
lineCap?: string | null;
|
|
940
|
+
lineJoin?: string | null;
|
|
721
941
|
lineHidden?: boolean | null;
|
|
722
942
|
}
|
|
723
943
|
interface ChartStockUpDownBarStyle {
|
|
@@ -725,31 +945,76 @@ interface ChartStockUpDownBarStyle {
|
|
|
725
945
|
up: ChartStockBarPaint;
|
|
726
946
|
down: ChartStockBarPaint;
|
|
727
947
|
}
|
|
948
|
+
interface ChartDecorationLineStyle {
|
|
949
|
+
color?: string | null;
|
|
950
|
+
paintAuthored?: boolean | null;
|
|
951
|
+
widthEmu?: number | null;
|
|
952
|
+
dash?: string | null;
|
|
953
|
+
cap?: string | null;
|
|
954
|
+
join?: string | null;
|
|
955
|
+
hidden?: boolean | null;
|
|
956
|
+
}
|
|
957
|
+
interface ChartLineGroupDecorations {
|
|
958
|
+
groupIndex: number;
|
|
959
|
+
dropLines?: ChartDecorationLineStyle | null;
|
|
960
|
+
hiLowLines?: ChartDecorationLineStyle | null;
|
|
961
|
+
upDownBars?: ChartStockUpDownBarStyle | null;
|
|
962
|
+
}
|
|
963
|
+
interface ChartAreaGroupDecorations {
|
|
964
|
+
groupIndex: number;
|
|
965
|
+
dropLines?: ChartDecorationLineStyle | null;
|
|
966
|
+
}
|
|
967
|
+
interface ChartBarGroupDecorations {
|
|
968
|
+
groupIndex: number;
|
|
969
|
+
seriesLines?: ChartDecorationLineStyle[] | null;
|
|
970
|
+
}
|
|
728
971
|
interface ChartOfPie {
|
|
729
972
|
type: 'pie' | 'bar';
|
|
730
973
|
splitType: 'auto' | 'cust' | 'percent' | 'pos' | 'val';
|
|
974
|
+
splitTypeAuthored?: boolean | null;
|
|
731
975
|
splitPos?: number | null;
|
|
976
|
+
splitPosAuthored?: boolean | null;
|
|
732
977
|
customSplitIndices?: number[] | null;
|
|
733
978
|
secondPieSizePercent: number;
|
|
734
979
|
gapWidthPercent: number;
|
|
735
980
|
seriesLines: boolean;
|
|
736
981
|
}
|
|
737
982
|
interface ChartThreeDSurface {
|
|
983
|
+
style?: ChartExElementStyle | null;
|
|
738
984
|
fillColor?: string | null;
|
|
739
985
|
fillHidden?: boolean | null;
|
|
740
986
|
lineColor?: string | null;
|
|
741
987
|
lineWidthEmu?: number | null;
|
|
742
988
|
lineDash?: string | null;
|
|
743
989
|
lineHidden?: boolean | null;
|
|
990
|
+
thicknessPercent?: number | null;
|
|
991
|
+
pictureOptions?: ChartThreeDPictureOptions | null;
|
|
992
|
+
}
|
|
993
|
+
interface ChartThreeDPictureOptions {
|
|
994
|
+
applyToFront?: boolean | null;
|
|
995
|
+
applyToSides?: boolean | null;
|
|
996
|
+
applyToEnd?: boolean | null;
|
|
997
|
+
pictureFormat?: 'stretch' | 'stack' | 'stackScale' | string | null;
|
|
998
|
+
pictureFormatAuthored?: boolean | null;
|
|
999
|
+
pictureStackUnit?: number | null;
|
|
1000
|
+
pictureStackUnitAuthored?: boolean | null;
|
|
744
1001
|
}
|
|
745
1002
|
interface ChartThreeD {
|
|
1003
|
+
view3DPresent?: boolean | null;
|
|
746
1004
|
rotationX?: number | null;
|
|
1005
|
+
rotationXAuthored?: boolean | null;
|
|
747
1006
|
rotationY?: number | null;
|
|
1007
|
+
rotationYAuthored?: boolean | null;
|
|
748
1008
|
heightPercent?: number | null;
|
|
1009
|
+
heightPercentAuthored?: boolean | null;
|
|
749
1010
|
depthPercent?: number | null;
|
|
1011
|
+
depthPercentAuthored?: boolean | null;
|
|
750
1012
|
perspective?: number | null;
|
|
1013
|
+
perspectiveAuthored?: boolean | null;
|
|
751
1014
|
rightAngleAxes?: boolean | null;
|
|
1015
|
+
rightAngleAxesAuthored?: boolean | null;
|
|
752
1016
|
gapDepthPercent?: number | null;
|
|
1017
|
+
gapDepthPercentAuthored?: boolean | null;
|
|
753
1018
|
shape?: string | null;
|
|
754
1019
|
barGrouping?: 'standard' | 'clustered' | 'stacked' | 'percentStacked' | string | null;
|
|
755
1020
|
seriesAxis?: ChartThreeDSeriesAxis | null;
|
|
@@ -765,6 +1030,7 @@ interface ChartThreeDSeriesAxis {
|
|
|
765
1030
|
tickLabelSkip?: number | null;
|
|
766
1031
|
tickMarkSkip?: number | null;
|
|
767
1032
|
majorTickMark: string;
|
|
1033
|
+
minorTickMark?: string | null;
|
|
768
1034
|
fontColor?: string | null;
|
|
769
1035
|
fontSizeHpt?: number | null;
|
|
770
1036
|
fontBold?: boolean | null;
|
|
@@ -772,6 +1038,8 @@ interface ChartThreeDSeriesAxis {
|
|
|
772
1038
|
fontFace?: string | null;
|
|
773
1039
|
lineColor?: string | null;
|
|
774
1040
|
lineWidthEmu?: number | null;
|
|
1041
|
+
lineDash?: string | null;
|
|
1042
|
+
linePaintAuthored?: boolean | null;
|
|
775
1043
|
lineHidden: boolean;
|
|
776
1044
|
titleFontSizeHpt?: number | null;
|
|
777
1045
|
titleFontBold?: boolean | null;
|
|
@@ -788,7 +1056,12 @@ interface ChartTextRun {
|
|
|
788
1056
|
bold?: boolean | null;
|
|
789
1057
|
italic?: boolean | null;
|
|
790
1058
|
color?: string | null;
|
|
1059
|
+
colorPaintAuthored?: boolean | null;
|
|
1060
|
+
colorHidden?: boolean | null;
|
|
791
1061
|
fontFace?: string | null;
|
|
1062
|
+
language?: string | null;
|
|
1063
|
+
baseline?: number | null;
|
|
1064
|
+
paragraphAlign?: 'l' | 'ctr' | 'r' | 'just' | 'dist' | string | null;
|
|
792
1065
|
}
|
|
793
1066
|
interface ChartTextParagraph {
|
|
794
1067
|
runs: ChartTextRun[];
|
|
@@ -891,6 +1164,7 @@ interface SecondaryValueAxis {
|
|
|
891
1164
|
fontFace?: string | null;
|
|
892
1165
|
lineColor?: string | null;
|
|
893
1166
|
lineWidthEmu?: number | null;
|
|
1167
|
+
lineDash?: string | null;
|
|
894
1168
|
lineHidden: boolean;
|
|
895
1169
|
majorTickMark: string;
|
|
896
1170
|
minorTickMark?: string | null;
|
|
@@ -907,6 +1181,8 @@ interface SecondaryValueAxis {
|
|
|
907
1181
|
logBase?: number | null;
|
|
908
1182
|
orientation?: 'minMax' | 'maxMin' | string | null;
|
|
909
1183
|
tickLabelPos?: string | null;
|
|
1184
|
+
labelAlignment?: 'l' | 'ctr' | 'r' | null;
|
|
1185
|
+
labelOffsetPercent?: number | null;
|
|
910
1186
|
tickLabelSkip?: number | null;
|
|
911
1187
|
tickMarkSkip?: number | null;
|
|
912
1188
|
crosses?: string | null;
|
|
@@ -954,8 +1230,16 @@ interface LegendManualLayout {
|
|
|
954
1230
|
hMode?: string;
|
|
955
1231
|
x: number;
|
|
956
1232
|
y: number;
|
|
957
|
-
w
|
|
958
|
-
h
|
|
1233
|
+
w?: number;
|
|
1234
|
+
h?: number;
|
|
1235
|
+
}
|
|
1236
|
+
interface ChartLegendEntryOverride {
|
|
1237
|
+
idx: number;
|
|
1238
|
+
deleted?: boolean | null;
|
|
1239
|
+
fontFace?: string | null;
|
|
1240
|
+
fontColor?: string | null;
|
|
1241
|
+
fontSizeHpt?: number | null;
|
|
1242
|
+
fontBold?: boolean | null;
|
|
959
1243
|
}
|
|
960
1244
|
interface ChartRect {
|
|
961
1245
|
x: number;
|
|
@@ -964,7 +1248,12 @@ interface ChartRect {
|
|
|
964
1248
|
h: number;
|
|
965
1249
|
}
|
|
966
1250
|
//#endregion
|
|
967
|
-
//#region dist/.types-work/
|
|
1251
|
+
//#region dist/.types-work/chart-ex-contract-Ba0xG5gE.d.ts
|
|
1252
|
+
interface ChartExRenderer {
|
|
1253
|
+
render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number, shapeRotationDeg?: number): boolean;
|
|
1254
|
+
}
|
|
1255
|
+
//#endregion
|
|
1256
|
+
//#region dist/.types-work/mathjax-DwKoKmdb.d.ts
|
|
968
1257
|
interface MathSvg {
|
|
969
1258
|
svg: string;
|
|
970
1259
|
widthEm: number;
|
|
@@ -976,17 +1265,17 @@ interface MathRenderer {
|
|
|
976
1265
|
mathMLToSvg(mathml: string): Promise<MathSvg>;
|
|
977
1266
|
}
|
|
978
1267
|
//#endregion
|
|
979
|
-
//#region dist/.types-work/three-d-contract-
|
|
1268
|
+
//#region dist/.types-work/three-d-contract-D5bEzjMw.d.ts
|
|
980
1269
|
interface ChartThreeDRenderer {
|
|
981
|
-
render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number): boolean;
|
|
1270
|
+
render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number, shapeRotationDeg?: number): boolean;
|
|
982
1271
|
}
|
|
983
1272
|
//#endregion
|
|
984
|
-
//#region dist/.types-work/region-map-contract-
|
|
1273
|
+
//#region dist/.types-work/region-map-contract-BFIR10oz.d.ts
|
|
985
1274
|
interface ChartRegionMapRenderer {
|
|
986
|
-
render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number): boolean;
|
|
1275
|
+
render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number, shapeRotationDeg?: number): boolean;
|
|
987
1276
|
}
|
|
988
1277
|
//#endregion
|
|
989
|
-
//#region dist/.types-work/hyperlink-
|
|
1278
|
+
//#region dist/.types-work/hyperlink-CZoV-4B8.d.ts
|
|
990
1279
|
type OoxmlErrorCode = 'encrypted' | 'invalid-password' | 'unsupported-encryption' | 'legacy-binary-format' | 'not-ooxml';
|
|
991
1280
|
type OoxmlErrorStage = 'container' | 'decompression' | 'parsing' | 'serialization' | 'layout' | 'rendering' | 'worker';
|
|
992
1281
|
declare class OoxmlError extends Error {
|
|
@@ -1071,6 +1360,7 @@ interface LoadOptions$3 {
|
|
|
1071
1360
|
math?: MathRenderer;
|
|
1072
1361
|
threeD?: ChartThreeDRenderer;
|
|
1073
1362
|
regionMap?: ChartRegionMapRenderer;
|
|
1363
|
+
chartEx?: ChartExRenderer;
|
|
1074
1364
|
}
|
|
1075
1365
|
type OoxmlDecodedImageLimitMetric = 'image-pixels' | 'active-decoded-bytes';
|
|
1076
1366
|
declare class OoxmlDecodedImageLimitError extends RangeError {
|
|
@@ -1091,7 +1381,7 @@ type HyperlinkTarget = {
|
|
|
1091
1381
|
};
|
|
1092
1382
|
declare function openExternalHyperlink(url: string, allowed?: readonly string[], win?: Pick<Window, 'open'> | undefined): boolean;
|
|
1093
1383
|
//#endregion
|
|
1094
|
-
//#region dist/.types-work/find-highlight-
|
|
1384
|
+
//#region dist/.types-work/find-highlight-DdGGQ_H7.d.ts
|
|
1095
1385
|
interface TextSelectionContextOptions {
|
|
1096
1386
|
readonly maxTextCharacters?: number;
|
|
1097
1387
|
readonly maxRunLocators?: number;
|
|
@@ -1100,6 +1390,28 @@ interface ViewerContextMenuEvent<TContext> {
|
|
|
1100
1390
|
readonly originalEvent: MouseEvent;
|
|
1101
1391
|
getContext(): Promise<TContext | null>;
|
|
1102
1392
|
}
|
|
1393
|
+
interface ViewerCommentsOptions {
|
|
1394
|
+
readonly includeResolved?: boolean;
|
|
1395
|
+
}
|
|
1396
|
+
type ViewerCommentConnectorRoute = 'bezier' | 'orthogonal';
|
|
1397
|
+
type ViewerCommentConnectorStroke = 'solid' | 'dashed';
|
|
1398
|
+
interface ViewerCommentConnectorOptions {
|
|
1399
|
+
readonly route?: ViewerCommentConnectorRoute;
|
|
1400
|
+
readonly stroke?: ViewerCommentConnectorStroke;
|
|
1401
|
+
readonly color?: string;
|
|
1402
|
+
readonly activeColor?: string;
|
|
1403
|
+
}
|
|
1404
|
+
interface ViewerCommentMessageContext {
|
|
1405
|
+
readonly id?: string;
|
|
1406
|
+
readonly author?: string;
|
|
1407
|
+
readonly date?: string;
|
|
1408
|
+
readonly text: string;
|
|
1409
|
+
readonly status?: 'active' | 'resolved' | 'closed';
|
|
1410
|
+
}
|
|
1411
|
+
interface ViewerCommentThreadContext {
|
|
1412
|
+
readonly root: ViewerCommentMessageContext;
|
|
1413
|
+
readonly replies: readonly ViewerCommentMessageContext[];
|
|
1414
|
+
}
|
|
1103
1415
|
interface AutoResizeOptions {
|
|
1104
1416
|
pauseWhenHidden?: boolean;
|
|
1105
1417
|
}
|
|
@@ -1130,7 +1442,7 @@ interface FindHighlightColors {
|
|
|
1130
1442
|
active?: string;
|
|
1131
1443
|
}
|
|
1132
1444
|
//#endregion
|
|
1133
|
-
//#region dist/.types-work/docx-
|
|
1445
|
+
//#region dist/.types-work/docx-Cz7hTdgv.d.ts
|
|
1134
1446
|
interface DocxDocumentModel {
|
|
1135
1447
|
section: SectionProps;
|
|
1136
1448
|
body: BodyElement[];
|
|
@@ -1166,7 +1478,8 @@ interface DocSettings {
|
|
|
1166
1478
|
adjustLineHeightInTable?: boolean;
|
|
1167
1479
|
}
|
|
1168
1480
|
interface DocRevision {
|
|
1169
|
-
kind: 'insertion' | 'deletion' | string;
|
|
1481
|
+
kind: 'insertion' | 'deletion' | 'moveFrom' | 'moveTo' | string;
|
|
1482
|
+
id?: string;
|
|
1170
1483
|
author?: string;
|
|
1171
1484
|
date?: string;
|
|
1172
1485
|
text: string;
|
|
@@ -1177,6 +1490,14 @@ interface DocComment {
|
|
|
1177
1490
|
initials?: string;
|
|
1178
1491
|
date?: string;
|
|
1179
1492
|
text: string;
|
|
1493
|
+
parentId?: string;
|
|
1494
|
+
resolved?: boolean;
|
|
1495
|
+
paragraphs?: string[];
|
|
1496
|
+
}
|
|
1497
|
+
interface DocxCommentMark {
|
|
1498
|
+
id: string;
|
|
1499
|
+
kind: 'rangeStart' | 'rangeEnd' | 'reference' | string;
|
|
1500
|
+
runIndex: number;
|
|
1180
1501
|
}
|
|
1181
1502
|
interface DocNote {
|
|
1182
1503
|
id: string;
|
|
@@ -1293,6 +1614,7 @@ interface DocParagraph {
|
|
|
1293
1614
|
tabStops: TabStop[];
|
|
1294
1615
|
runs: DocRun[];
|
|
1295
1616
|
bookmarks?: string[];
|
|
1617
|
+
commentMarks?: DocxCommentMark[];
|
|
1296
1618
|
shading?: string | null;
|
|
1297
1619
|
pageBreakBefore?: boolean;
|
|
1298
1620
|
contextualSpacing?: boolean;
|
|
@@ -1375,7 +1697,7 @@ interface NumberingInfo {
|
|
|
1375
1697
|
picBulletWidthPt?: number;
|
|
1376
1698
|
picBulletHeightPt?: number;
|
|
1377
1699
|
}
|
|
1378
|
-
type
|
|
1700
|
+
type DocRunContent = ({
|
|
1379
1701
|
type: 'text';
|
|
1380
1702
|
} & DocxTextRun) | ({
|
|
1381
1703
|
type: 'anchorHost';
|
|
@@ -1399,6 +1721,9 @@ type DocRun = ({
|
|
|
1399
1721
|
} | ({
|
|
1400
1722
|
type: 'ptab';
|
|
1401
1723
|
} & PTabRun);
|
|
1724
|
+
type DocRun = DocRunContent & {
|
|
1725
|
+
revision?: RunRevision;
|
|
1726
|
+
};
|
|
1402
1727
|
interface ChartRun {
|
|
1403
1728
|
chart: ChartModel;
|
|
1404
1729
|
widthPt: number;
|
|
@@ -1701,7 +2026,8 @@ interface NoteRef {
|
|
|
1701
2026
|
id: string;
|
|
1702
2027
|
}
|
|
1703
2028
|
interface RunRevision {
|
|
1704
|
-
kind: 'insertion' | 'deletion' | string;
|
|
2029
|
+
kind: 'insertion' | 'deletion' | 'moveFrom' | 'moveTo' | string;
|
|
2030
|
+
id?: string;
|
|
1705
2031
|
author?: string;
|
|
1706
2032
|
date?: string;
|
|
1707
2033
|
}
|
|
@@ -1825,18 +2151,27 @@ interface CellBorders {
|
|
|
1825
2151
|
insideH: BorderSpec | null;
|
|
1826
2152
|
insideV: BorderSpec | null;
|
|
1827
2153
|
}
|
|
2154
|
+
interface DocxStorySource {
|
|
2155
|
+
story: 'body' | 'header' | 'footer' | 'footnote' | 'endnote' | 'textbox';
|
|
2156
|
+
storyInstance: string;
|
|
2157
|
+
path: readonly number[];
|
|
2158
|
+
}
|
|
1828
2159
|
interface DocxTextRunInfo {
|
|
1829
|
-
source?: Readonly<
|
|
1830
|
-
story: 'body' | 'header' | 'footer' | 'footnote' | 'endnote' | 'textbox';
|
|
1831
|
-
storyInstance: string;
|
|
1832
|
-
path: readonly number[];
|
|
1833
|
-
}>;
|
|
2160
|
+
source?: Readonly<DocxStorySource>;
|
|
1834
2161
|
paragraphId?: string;
|
|
2162
|
+
sourceRunIndex?: number;
|
|
2163
|
+
direction?: 'ltr' | 'rtl';
|
|
1835
2164
|
text: string;
|
|
1836
2165
|
x: number;
|
|
1837
2166
|
y: number;
|
|
1838
2167
|
w: number;
|
|
1839
2168
|
h: number;
|
|
2169
|
+
highlightBounds?: Readonly<{
|
|
2170
|
+
x: number;
|
|
2171
|
+
y: number;
|
|
2172
|
+
width: number;
|
|
2173
|
+
height: number;
|
|
2174
|
+
}>;
|
|
1840
2175
|
fontSize: number;
|
|
1841
2176
|
font: string;
|
|
1842
2177
|
letterSpacingPx?: number;
|
|
@@ -1851,6 +2186,46 @@ interface RenderPageOptions {
|
|
|
1851
2186
|
onTextRun?: (run: DocxTextRunInfo) => void;
|
|
1852
2187
|
currentDate?: Date | number;
|
|
1853
2188
|
}
|
|
2189
|
+
interface CommentAnchorRange {
|
|
2190
|
+
readonly commentId: string;
|
|
2191
|
+
readonly source: Readonly<DocxStorySource>;
|
|
2192
|
+
readonly startRunIndex: number;
|
|
2193
|
+
readonly endRunIndex: number;
|
|
2194
|
+
readonly reference: CommentAnchorPoint;
|
|
2195
|
+
readonly geometryFallback?: CommentAnchorGeometryFallback;
|
|
2196
|
+
}
|
|
2197
|
+
interface CommentAnchorPoint {
|
|
2198
|
+
readonly source: Readonly<DocxStorySource>;
|
|
2199
|
+
readonly runIndex: number;
|
|
2200
|
+
readonly affinity: 'following' | 'preceding';
|
|
2201
|
+
}
|
|
2202
|
+
interface CommentAnchorGeometryFallback {
|
|
2203
|
+
readonly source: Readonly<DocxStorySource>;
|
|
2204
|
+
readonly sourceRunIndex: number;
|
|
2205
|
+
}
|
|
2206
|
+
type DocxCommentAnchorKind = 'range' | 'point' | 'fallback';
|
|
2207
|
+
interface DocxCommentHighlightRect {
|
|
2208
|
+
readonly x: number;
|
|
2209
|
+
readonly y: number;
|
|
2210
|
+
readonly width: number;
|
|
2211
|
+
readonly height: number;
|
|
2212
|
+
readonly transform?: string;
|
|
2213
|
+
}
|
|
2214
|
+
interface ResolvedDocxCommentAnchor {
|
|
2215
|
+
readonly anchor: Readonly<CommentAnchorRange>;
|
|
2216
|
+
readonly kind: DocxCommentAnchorKind;
|
|
2217
|
+
readonly rects: readonly Readonly<DocxCommentHighlightRect>[];
|
|
2218
|
+
}
|
|
2219
|
+
interface ResolvedDocxCommentThread {
|
|
2220
|
+
readonly root: Readonly<DocComment>;
|
|
2221
|
+
readonly replies: readonly Readonly<DocComment>[];
|
|
2222
|
+
readonly anchors: readonly Readonly<ResolvedDocxCommentAnchor>[];
|
|
2223
|
+
}
|
|
2224
|
+
interface ResolveDocxCommentThreadsOptions {
|
|
2225
|
+
readonly includeResolved?: boolean;
|
|
2226
|
+
}
|
|
2227
|
+
declare function resolveCommentAnchorRuns(anchor: Readonly<CommentAnchorRange>, runs: readonly Readonly<DocxTextRunInfo>[]): readonly Readonly<DocxTextRunInfo>[];
|
|
2228
|
+
declare function resolveDocxCommentThreads(comments: readonly Readonly<DocComment>[], anchors: readonly Readonly<CommentAnchorRange>[], runs: readonly Readonly<DocxTextRunInfo>[], options?: ResolveDocxCommentThreadsOptions): readonly Readonly<ResolvedDocxCommentThread>[];
|
|
1854
2229
|
type DocxSelectionContextOptions = TextSelectionContextOptions;
|
|
1855
2230
|
interface DocxSelectionSourceLocator {
|
|
1856
2231
|
readonly story: 'body' | 'header' | 'footer' | 'footnote' | 'endnote' | 'textbox';
|
|
@@ -1900,17 +2275,42 @@ interface DocxElementContext {
|
|
|
1900
2275
|
readonly textCharacters: number;
|
|
1901
2276
|
readonly maxTextCharacters: number;
|
|
1902
2277
|
}
|
|
1903
|
-
|
|
2278
|
+
interface DocxCommentSelectionContext {
|
|
2279
|
+
readonly format: 'docx';
|
|
2280
|
+
readonly kind: 'comment';
|
|
2281
|
+
readonly pageIndex: number;
|
|
2282
|
+
readonly commentId: string;
|
|
2283
|
+
readonly source?: DocxSelectionSourceLocator;
|
|
2284
|
+
readonly thread: ViewerCommentThreadContext;
|
|
2285
|
+
readonly truncated: boolean;
|
|
2286
|
+
readonly truncationReasons: readonly ('text')[];
|
|
2287
|
+
readonly textCharacters: number;
|
|
2288
|
+
readonly maxTextCharacters: number;
|
|
2289
|
+
}
|
|
2290
|
+
type DocxSelectionContext = DocxTextSelectionContext | DocxElementContext | DocxCommentSelectionContext;
|
|
1904
2291
|
declare function readDocxTextSelectionContext(root: HTMLElement, selection: Selection | null, options?: DocxSelectionContextOptions): DocxTextSelectionContext | null;
|
|
1905
2292
|
interface DocxElementContextOptions {
|
|
1906
2293
|
readonly maxTextCharacters?: number;
|
|
1907
2294
|
readonly currentDate?: Date | number;
|
|
1908
2295
|
}
|
|
2296
|
+
interface RevisionAnchorRange {
|
|
2297
|
+
readonly revisionIndex: number;
|
|
2298
|
+
readonly source: Readonly<DocxStorySource>;
|
|
2299
|
+
readonly startRunIndex: number;
|
|
2300
|
+
readonly endRunIndex: number;
|
|
2301
|
+
readonly geometryFallback?: RevisionAnchorGeometryFallback;
|
|
2302
|
+
}
|
|
2303
|
+
interface RevisionAnchorGeometryFallback {
|
|
2304
|
+
readonly source: Readonly<DocxStorySource>;
|
|
2305
|
+
readonly sourceRunIndex: number;
|
|
2306
|
+
}
|
|
2307
|
+
declare function resolveRevisionAnchorRuns(anchor: Readonly<RevisionAnchorRange>, runs: readonly Readonly<DocxTextRunInfo>[]): readonly Readonly<DocxTextRunInfo>[];
|
|
1909
2308
|
interface LoadOptions$2 extends LoadOptions$3 {
|
|
1910
2309
|
math?: MathRenderer;
|
|
1911
2310
|
mode?: 'main' | 'worker';
|
|
1912
2311
|
}
|
|
1913
2312
|
type CollectPageRunsOptions = Pick<RenderPageOptions, 'width' | 'currentDate'>;
|
|
2313
|
+
interface DocxPageCommentThreadsOptions extends CollectPageRunsOptions, ResolveDocxCommentThreadsOptions {}
|
|
1914
2314
|
type RenderPageToBitmapOptions = Omit<RenderPageOptions, 'onTextRun'> & {
|
|
1915
2315
|
onTextRun?: (run: DocxTextRunInfo) => void;
|
|
1916
2316
|
};
|
|
@@ -1919,10 +2319,15 @@ declare class DocxDocument {
|
|
|
1919
2319
|
private _document;
|
|
1920
2320
|
private _source;
|
|
1921
2321
|
private _meta;
|
|
2322
|
+
private _review;
|
|
1922
2323
|
private _bookmarkPages;
|
|
2324
|
+
private _commentAnchorRanges;
|
|
2325
|
+
private _revisionAnchorRanges;
|
|
2326
|
+
private _reviewTextRunSourceIndex;
|
|
1923
2327
|
private _mode;
|
|
1924
2328
|
private _threeD;
|
|
1925
2329
|
private _regionMap;
|
|
2330
|
+
private _chartEx;
|
|
1926
2331
|
private _worker;
|
|
1927
2332
|
private _bridge;
|
|
1928
2333
|
private readonly _rawParts;
|
|
@@ -1942,7 +2347,11 @@ declare class DocxDocument {
|
|
|
1942
2347
|
get pageCount(): number;
|
|
1943
2348
|
get mode(): 'main' | 'worker';
|
|
1944
2349
|
get document(): DocxDocumentModel;
|
|
1945
|
-
get comments(): DocComment[];
|
|
2350
|
+
get comments(): readonly Readonly<DocComment>[];
|
|
2351
|
+
get revisions(): readonly Readonly<DocRevision>[];
|
|
2352
|
+
commentAnchorRanges(): readonly CommentAnchorRange[];
|
|
2353
|
+
revisionAnchorRanges(): readonly RevisionAnchorRange[];
|
|
2354
|
+
private _reviewSnapshot;
|
|
1946
2355
|
get footnotes(): DocNote[];
|
|
1947
2356
|
get endnotes(): DocNote[];
|
|
1948
2357
|
private _getLayout;
|
|
@@ -1955,6 +2364,7 @@ declare class DocxDocument {
|
|
|
1955
2364
|
renderPage(target: HTMLCanvasElement | OffscreenCanvas, pageIndex: number, opts?: RenderPageOptions): Promise<void>;
|
|
1956
2365
|
renderPageToBitmap(pageIndex: number, opts?: RenderPageToBitmapOptions): Promise<ImageBitmap>;
|
|
1957
2366
|
collectPageRuns(pageIndex: number, opts?: CollectPageRunsOptions): Promise<DocxTextRunInfo[]>;
|
|
2367
|
+
getCommentThreads(pageIndex: number, options?: DocxPageCommentThreadsOptions): Promise<readonly Readonly<ResolvedDocxCommentThread>[]>;
|
|
1958
2368
|
getElementContextAt(pageIndex: number, point: DocxPagePoint, opts?: DocxElementContextOptions): Promise<DocxElementContext | null>;
|
|
1959
2369
|
}
|
|
1960
2370
|
interface DocxMatchLocation {
|
|
@@ -2048,6 +2458,12 @@ declare class DocxViewer implements ZoomableViewer {
|
|
|
2048
2458
|
private _buildTextLayer;
|
|
2049
2459
|
private _hyperlinkHandler;
|
|
2050
2460
|
}
|
|
2461
|
+
interface DocxCommentsOptions extends ViewerCommentsOptions {
|
|
2462
|
+
readonly cards?: boolean;
|
|
2463
|
+
readonly side?: 'auto' | 'left' | 'right';
|
|
2464
|
+
readonly markers?: boolean;
|
|
2465
|
+
readonly connectors?: ViewerCommentConnectorOptions;
|
|
2466
|
+
}
|
|
2051
2467
|
interface DocxScrollViewerOptions extends Omit<RenderPageOptions, 'onTextRun'>, LoadOptions$2 {
|
|
2052
2468
|
width?: number;
|
|
2053
2469
|
gap?: number;
|
|
@@ -2057,6 +2473,7 @@ interface DocxScrollViewerOptions extends Omit<RenderPageOptions, 'onTextRun'>,
|
|
|
2057
2473
|
paddingRight?: number;
|
|
2058
2474
|
overscan?: number;
|
|
2059
2475
|
enableTextSelection?: boolean;
|
|
2476
|
+
comments?: boolean | DocxCommentsOptions;
|
|
2060
2477
|
enableElementSelection?: boolean;
|
|
2061
2478
|
onSelectionContextChange?: (context: DocxSelectionContext | null) => void;
|
|
2062
2479
|
onContextMenu?: (event: ViewerContextMenuEvent<DocxSelectionContext>) => void;
|
|
@@ -2089,6 +2506,7 @@ declare class DocxScrollViewer implements ZoomableViewer {
|
|
|
2089
2506
|
private readonly _slots;
|
|
2090
2507
|
private readonly _free;
|
|
2091
2508
|
private _heights;
|
|
2509
|
+
private _scrollGeometry;
|
|
2092
2510
|
private _lastRange;
|
|
2093
2511
|
private _lastTopIndex;
|
|
2094
2512
|
private _scrollListener;
|
|
@@ -2096,7 +2514,21 @@ declare class DocxScrollViewer implements ZoomableViewer {
|
|
|
2096
2514
|
private _selectionContextKey;
|
|
2097
2515
|
private _elementClickListener;
|
|
2098
2516
|
private _contextMenuListener;
|
|
2517
|
+
private _commentOutsidePointerListener;
|
|
2099
2518
|
private _elementContext;
|
|
2519
|
+
private _activeCommentId;
|
|
2520
|
+
private _activeCommentPage;
|
|
2521
|
+
private _commentUi;
|
|
2522
|
+
private readonly _commentPageById;
|
|
2523
|
+
private readonly _commentRunsByPage;
|
|
2524
|
+
private readonly _commentIndexedPages;
|
|
2525
|
+
private _commentScanFrontier;
|
|
2526
|
+
private _commentNavigationGeneration;
|
|
2527
|
+
private _commentAnchorRangesForMargin;
|
|
2528
|
+
private _commentAnchorIds;
|
|
2529
|
+
private _commentGeometryScheduled;
|
|
2530
|
+
private _commentGeometryFrame;
|
|
2531
|
+
private readonly _pendingCommentGeometry;
|
|
2100
2532
|
private _elementHitGeneration;
|
|
2101
2533
|
private _destroyed;
|
|
2102
2534
|
private _measureCtx;
|
|
@@ -2118,6 +2550,14 @@ declare class DocxScrollViewer implements ZoomableViewer {
|
|
|
2118
2550
|
private _pageWidthPx;
|
|
2119
2551
|
private _pageHeightPx;
|
|
2120
2552
|
private _fitWidthPx;
|
|
2553
|
+
private _hasCommentMargin;
|
|
2554
|
+
private _hasDisplayableComments;
|
|
2555
|
+
private _commentMarginExtent;
|
|
2556
|
+
private _commentZoom;
|
|
2557
|
+
private _commentsEnabled;
|
|
2558
|
+
private _commentsOptions;
|
|
2559
|
+
private _commentSide;
|
|
2560
|
+
private _syncCommentMarginGeometry;
|
|
2121
2561
|
private _baseScale;
|
|
2122
2562
|
relayout(): void;
|
|
2123
2563
|
private _relayout;
|
|
@@ -2158,6 +2598,15 @@ declare class DocxScrollViewer implements ZoomableViewer {
|
|
|
2158
2598
|
scrollToPage(index: number, opts?: {
|
|
2159
2599
|
behavior?: 'auto' | 'smooth';
|
|
2160
2600
|
}): void;
|
|
2601
|
+
private _scrollToPageTarget;
|
|
2602
|
+
private _resetCommentNavigation;
|
|
2603
|
+
private _advanceCommentScanFrontier;
|
|
2604
|
+
private _indexCommentPages;
|
|
2605
|
+
private _commentRunsForPage;
|
|
2606
|
+
goToComment(commentId: string, opts?: {
|
|
2607
|
+
pageIndex?: number;
|
|
2608
|
+
behavior?: 'auto' | 'smooth';
|
|
2609
|
+
}): Promise<boolean>;
|
|
2161
2610
|
findText(query: string, opts?: FindMatchesOptions): Promise<FindMatch<DocxMatchLocation>[]>;
|
|
2162
2611
|
findNext(): Promise<FindMatch<DocxMatchLocation> | null>;
|
|
2163
2612
|
findPrev(): Promise<FindMatch<DocxMatchLocation> | null>;
|
|
@@ -2166,6 +2615,10 @@ declare class DocxScrollViewer implements ZoomableViewer {
|
|
|
2166
2615
|
private _collectPageRuns;
|
|
2167
2616
|
private _redrawHighlights;
|
|
2168
2617
|
private _refreshFindRuns;
|
|
2618
|
+
private _commitCommentRuns;
|
|
2619
|
+
private _redrawSlotComments;
|
|
2620
|
+
private _redrawSlotCommentConnectors;
|
|
2621
|
+
private _scheduleCommentGeometry;
|
|
2169
2622
|
private _redrawSlotHighlights;
|
|
2170
2623
|
private _onResize;
|
|
2171
2624
|
get topVisiblePage(): number;
|
|
@@ -2189,10 +2642,10 @@ interface DocxHighlightMatch {
|
|
|
2189
2642
|
type DocxHighlightColors = FindHighlightColors;
|
|
2190
2643
|
declare function buildDocxHighlightLayer(layer: HTMLDivElement, runs: DocxTextRunInfo[], matches: DocxHighlightMatch[], cssWidth: number, cssHeight: number, measureForFont: (font: string) => (s: string) => number, colors?: DocxHighlightColors): void;
|
|
2191
2644
|
declare namespace docx_d_exports {
|
|
2192
|
-
export { AnchorHostMetrics, AutoResizeOptions, BodyElement, BorderSpec, CellBorders, CellElement, ChartDataLabelOverride, ChartDataPointOverride, ChartDataTable, ChartDisplayUnits, ChartDisplayUnitsLabel, ChartErrBars, ChartExElementStyle, ChartLabelBox, ChartManualLayout, ChartModel, ChartOfPie, ChartRect, ChartRegionMapRenderer, ChartRun, ChartSeries, ChartSeriesDataLabels, ChartStockBarPaint, ChartStockUpDownBarStyle, ChartSurfaceBandFormat, ChartTextBox, ChartTextParagraph, ChartTextRun, ChartThreeD, ChartThreeDRenderer, ChartThreeDSeriesAxis, ChartThreeDSurface, ChartTrendline, ChartType, ChartexBoxSeries, ChartexBoxWhisker, ChartexGeography, ChartexHistogramBinning, ChartexRegionMap, ChartexRegionMapColors, ChartexRegionMapRow, ChartexSunburst, ChartexSunburstRow, ChartexTreemap, ChartexValueColorStop, ColSpec, CollectPageRunsOptions, ColumnsSpec, DocComment, DocNote, DocParagraph, DocRevision, DocRun, DocSettings, DocTable, DocTableCell, DocTableRow, DocxDocument, DocxDocumentModel, DocxElementContext, DocxElementContextOptions, DocxHighlightColors, DocxHighlightMatch, DocxMatchLocation, DocxPagePoint, DocxRunBorder, DocxScrollViewer, DocxScrollViewerOptions, DocxSelectionContext, DocxSelectionContextOptions, DocxSelectionRunLocator, DocxSelectionSourceLocator, DocxTextRun, DocxTextRunInfo, DocxTextSelectionContext, DocxViewer, DocxViewerOptions, Duotone$1 as Duotone, EmbeddedFontRef, FieldRun, FillRect, FindHighlightColors, FindMatch, FindMatchesOptions, FramePr, GradientFill, GradientStop, HeaderFooter, HeadersFooters, HyperlinkTarget, 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, 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, RubyAnnotation, RunRevision, SecondaryValueAxis, SectionGeom, SectionProps, ShapeFill$1 as ShapeFill, ShapeRun, ShapeStrokeFill, ShapeText$1 as ShapeText, ShapeTextRun$1 as ShapeTextRun, SolidFill, TabStop, TableBorders, TblpPr, TextPath, TextSelectionContextOptions, TileInfo, ViewerContextMenuEvent, ZoomableViewer, autoResize, buildDocxHighlightLayer, buildDocxTextLayer, isOoxmlDecodedImageLimitError, noteText, openExternalHyperlink, readDocxTextSelectionContext };
|
|
2645
|
+
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, ColSpec, CollectPageRunsOptions, ColumnsSpec, CommentAnchorGeometryFallback, CommentAnchorPoint, CommentAnchorRange, 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, 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, TileInfo, ViewerCommentConnectorOptions, ViewerCommentConnectorRoute, ViewerCommentConnectorStroke, ViewerCommentMessageContext, ViewerCommentThreadContext, ViewerContextMenuEvent, ZoomableViewer, autoResize, buildDocxHighlightLayer, buildDocxTextLayer, isOoxmlDecodedImageLimitError, noteText, openExternalHyperlink, readDocxTextSelectionContext, resolveCommentAnchorRuns, resolveDocxCommentThreads, resolveRevisionAnchorRuns };
|
|
2193
2646
|
}
|
|
2194
2647
|
//#endregion
|
|
2195
|
-
//#region dist/.types-work/pptx-
|
|
2648
|
+
//#region dist/.types-work/pptx-B0JHj0n1.d.ts
|
|
2196
2649
|
interface BlipBullet {
|
|
2197
2650
|
type: 'blip';
|
|
2198
2651
|
imagePath: string;
|
|
@@ -2243,14 +2696,46 @@ interface DimOptions {
|
|
|
2243
2696
|
color: string;
|
|
2244
2697
|
opacity: number;
|
|
2245
2698
|
}
|
|
2699
|
+
type PptxCommentAnchor = Readonly<{
|
|
2700
|
+
type: 'slide';
|
|
2701
|
+
}> | Readonly<{
|
|
2702
|
+
type: 'drawingElement';
|
|
2703
|
+
elementId?: string;
|
|
2704
|
+
creationId?: string;
|
|
2705
|
+
}> | Readonly<{
|
|
2706
|
+
type: 'textRange';
|
|
2707
|
+
elementId?: string;
|
|
2708
|
+
start?: number;
|
|
2709
|
+
length?: number;
|
|
2710
|
+
}> | Readonly<{
|
|
2711
|
+
type: 'unknown';
|
|
2712
|
+
}>;
|
|
2246
2713
|
interface PptxComment {
|
|
2714
|
+
authorId?: number;
|
|
2715
|
+
modernAuthorId?: string;
|
|
2716
|
+
id?: string;
|
|
2717
|
+
index?: number;
|
|
2718
|
+
author?: string;
|
|
2719
|
+
date?: string;
|
|
2720
|
+
x?: number;
|
|
2721
|
+
y?: number;
|
|
2722
|
+
anchors?: readonly Readonly<PptxCommentAnchor>[];
|
|
2723
|
+
status?: 'active' | 'resolved' | 'closed';
|
|
2724
|
+
text: string;
|
|
2725
|
+
replies?: readonly Readonly<PptxCommentReply>[];
|
|
2726
|
+
}
|
|
2727
|
+
interface PptxCommentReply {
|
|
2728
|
+
id?: string;
|
|
2729
|
+
authorId?: string;
|
|
2247
2730
|
author?: string;
|
|
2248
2731
|
date?: string;
|
|
2732
|
+
status?: 'active' | 'resolved' | 'closed';
|
|
2249
2733
|
text: string;
|
|
2250
2734
|
}
|
|
2251
2735
|
type SlideElement = ShapeElement | PictureElement | TableElement | ChartElement | MediaElement;
|
|
2252
2736
|
interface MediaElement {
|
|
2253
2737
|
type: 'media';
|
|
2738
|
+
id?: string;
|
|
2254
2739
|
x: number;
|
|
2255
2740
|
y: number;
|
|
2256
2741
|
width: number;
|
|
@@ -2343,6 +2828,7 @@ interface Sp3d {
|
|
|
2343
2828
|
}
|
|
2344
2829
|
interface TableElement {
|
|
2345
2830
|
type: 'table';
|
|
2831
|
+
id?: string;
|
|
2346
2832
|
x: number;
|
|
2347
2833
|
y: number;
|
|
2348
2834
|
width: number;
|
|
@@ -2375,6 +2861,7 @@ interface TableCell {
|
|
|
2375
2861
|
}
|
|
2376
2862
|
interface ChartElement {
|
|
2377
2863
|
type: 'chart';
|
|
2864
|
+
id?: string;
|
|
2378
2865
|
x: number;
|
|
2379
2866
|
y: number;
|
|
2380
2867
|
width: number;
|
|
@@ -2386,6 +2873,7 @@ interface ChartElement {
|
|
|
2386
2873
|
}
|
|
2387
2874
|
interface PictureElement {
|
|
2388
2875
|
type: 'picture';
|
|
2876
|
+
id?: string;
|
|
2389
2877
|
x: number;
|
|
2390
2878
|
y: number;
|
|
2391
2879
|
width: number;
|
|
@@ -2442,6 +2930,7 @@ type SlideRenderOptions = RenderOptions & {
|
|
|
2442
2930
|
math?: MathRenderer;
|
|
2443
2931
|
threeD?: ChartThreeDRenderer;
|
|
2444
2932
|
regionMap?: ChartRegionMapRenderer;
|
|
2933
|
+
chartEx?: ChartExRenderer;
|
|
2445
2934
|
dim?: DimOptions;
|
|
2446
2935
|
};
|
|
2447
2936
|
declare function renderSlide(canvas: HTMLCanvasElement | OffscreenCanvas, slide: Slide, slideWidth: number, slideHeight: number, opts?: SlideRenderOptions, onTextRun?: TextRunCallback): Promise<HTMLCanvasElement | OffscreenCanvas>;
|
|
@@ -2473,6 +2962,23 @@ interface PptxTextSelectionContext {
|
|
|
2473
2962
|
readonly maxTextCharacters: number;
|
|
2474
2963
|
readonly maxRunLocators: number;
|
|
2475
2964
|
}
|
|
2965
|
+
interface PptxCommentSelectionContext {
|
|
2966
|
+
readonly format: 'pptx';
|
|
2967
|
+
readonly kind: 'comment';
|
|
2968
|
+
readonly slideIndex: number;
|
|
2969
|
+
readonly commentIndex: number;
|
|
2970
|
+
readonly occurrenceId: string;
|
|
2971
|
+
readonly commentId?: string;
|
|
2972
|
+
readonly point?: Readonly<{
|
|
2973
|
+
x: number;
|
|
2974
|
+
y: number;
|
|
2975
|
+
}>;
|
|
2976
|
+
readonly thread: ViewerCommentThreadContext;
|
|
2977
|
+
readonly truncated: boolean;
|
|
2978
|
+
readonly truncationReasons: readonly ('text')[];
|
|
2979
|
+
readonly textCharacters: number;
|
|
2980
|
+
readonly maxTextCharacters: number;
|
|
2981
|
+
}
|
|
2476
2982
|
declare function readPptxTextSelectionContext(root: HTMLElement, selection: Selection | null, options?: TextSelectionContextOptions): PptxTextSelectionContext | null;
|
|
2477
2983
|
type PptxSelectionContextOptions = TextSelectionContextOptions;
|
|
2478
2984
|
interface PptxSlidePoint {
|
|
@@ -2514,7 +3020,14 @@ interface PptxElementContext {
|
|
|
2514
3020
|
readonly textCharacters: number;
|
|
2515
3021
|
readonly maxTextCharacters: number;
|
|
2516
3022
|
}
|
|
2517
|
-
|
|
3023
|
+
interface PptxElementBounds {
|
|
3024
|
+
readonly elementId: string;
|
|
3025
|
+
readonly elementIndex: number;
|
|
3026
|
+
readonly origin: SlideElementOrigin | 'unknown';
|
|
3027
|
+
readonly elementType: SlideElement['type'];
|
|
3028
|
+
readonly bounds: PptxElementContext['bounds'];
|
|
3029
|
+
}
|
|
3030
|
+
type PptxSelectionContext = PptxTextSelectionContext | PptxCommentSelectionContext | PptxElementContext;
|
|
2518
3031
|
type LoadOptions$1 = LoadOptions$3 & {
|
|
2519
3032
|
mode?: 'main' | 'worker';
|
|
2520
3033
|
};
|
|
@@ -2551,6 +3064,7 @@ declare class PptxPresentation {
|
|
|
2551
3064
|
private _math;
|
|
2552
3065
|
private _threeD;
|
|
2553
3066
|
private _regionMap;
|
|
3067
|
+
private _chartEx;
|
|
2554
3068
|
private constructor();
|
|
2555
3069
|
private _assertResourceHealthy;
|
|
2556
3070
|
private _rethrowWithResourceFailure;
|
|
@@ -2561,6 +3075,7 @@ declare class PptxPresentation {
|
|
|
2561
3075
|
get slideHeight(): number;
|
|
2562
3076
|
get mode(): 'main' | 'worker';
|
|
2563
3077
|
getNotes(slideIndex: number): string | null;
|
|
3078
|
+
getComments(slideIndex: number): readonly Readonly<PptxComment>[];
|
|
2564
3079
|
isHidden(slideIndex: number): boolean;
|
|
2565
3080
|
private _partNames;
|
|
2566
3081
|
private _partIndex;
|
|
@@ -2570,6 +3085,7 @@ declare class PptxPresentation {
|
|
|
2570
3085
|
renderSlideToBitmap(slideIndex: number, opts?: RenderSlideToBitmapOptions): Promise<ImageBitmap>;
|
|
2571
3086
|
collectSlideRuns(slideIndex: number, width?: number): Promise<PptxTextRunInfo[]>;
|
|
2572
3087
|
getElementContextAt(slideIndex: number, point: PptxSlidePoint, options?: PptxElementContextOptions): Promise<PptxElementContext | null>;
|
|
3088
|
+
getElementBoundsByIds(slideIndex: number, elementIds: readonly string[]): Promise<readonly PptxElementBounds[]>;
|
|
2573
3089
|
getMedia(mediaPath: string): Promise<Blob>;
|
|
2574
3090
|
private _findMimeTypeForPath;
|
|
2575
3091
|
getImage(imagePath: string, mimeType: string): Promise<Blob>;
|
|
@@ -2679,6 +3195,12 @@ declare class PptxViewer implements ZoomableViewer {
|
|
|
2679
3195
|
private _resolveContextAt;
|
|
2680
3196
|
destroy(): void;
|
|
2681
3197
|
}
|
|
3198
|
+
interface PptxCommentsOptions extends ViewerCommentsOptions {
|
|
3199
|
+
readonly cards?: boolean;
|
|
3200
|
+
readonly side?: 'auto' | 'left' | 'right';
|
|
3201
|
+
readonly markers?: boolean;
|
|
3202
|
+
readonly connectors?: ViewerCommentConnectorOptions;
|
|
3203
|
+
}
|
|
2682
3204
|
interface PptxScrollViewerOptions extends Pick<RenderSlideOptions, 'width' | 'dpr'>, LoadOptions$1 {
|
|
2683
3205
|
width?: number;
|
|
2684
3206
|
gap?: number;
|
|
@@ -2688,6 +3210,7 @@ interface PptxScrollViewerOptions extends Pick<RenderSlideOptions, 'width' | 'dp
|
|
|
2688
3210
|
paddingRight?: number;
|
|
2689
3211
|
overscan?: number;
|
|
2690
3212
|
enableTextSelection?: boolean;
|
|
3213
|
+
comments?: boolean | PptxCommentsOptions;
|
|
2691
3214
|
enableElementSelection?: boolean;
|
|
2692
3215
|
elementHitTolerance?: number;
|
|
2693
3216
|
onSelectionContextChange?: (context: PptxSelectionContext | null) => void;
|
|
@@ -2722,7 +3245,7 @@ declare class PptxScrollViewer implements ZoomableViewer {
|
|
|
2722
3245
|
private _pendingScale;
|
|
2723
3246
|
private readonly _slots;
|
|
2724
3247
|
private readonly _free;
|
|
2725
|
-
private
|
|
3248
|
+
private _uniformSlideHeight;
|
|
2726
3249
|
private _lastRange;
|
|
2727
3250
|
private _lastTopIndex;
|
|
2728
3251
|
private _scrollListener;
|
|
@@ -2730,7 +3253,16 @@ declare class PptxScrollViewer implements ZoomableViewer {
|
|
|
2730
3253
|
private _selectionContextKey;
|
|
2731
3254
|
private _elementClickListener;
|
|
2732
3255
|
private _contextMenuListener;
|
|
3256
|
+
private _commentOutsidePointerListener;
|
|
2733
3257
|
private _elementContext;
|
|
3258
|
+
private _activeCommentId;
|
|
3259
|
+
private _activeCommentSlide;
|
|
3260
|
+
private _commentNavigationGeneration;
|
|
3261
|
+
private _commentUi;
|
|
3262
|
+
private _commentGeometryScheduled;
|
|
3263
|
+
private _commentGeometryFrame;
|
|
3264
|
+
private readonly _pendingCommentGeometry;
|
|
3265
|
+
private _hasComments;
|
|
2734
3266
|
private _elementHitGeneration;
|
|
2735
3267
|
private readonly _elementHitTolerance;
|
|
2736
3268
|
private _destroyed;
|
|
@@ -2753,6 +3285,14 @@ declare class PptxScrollViewer implements ZoomableViewer {
|
|
|
2753
3285
|
private _slideWidthPx;
|
|
2754
3286
|
private _slideHeightPx;
|
|
2755
3287
|
private _fitWidthPx;
|
|
3288
|
+
private _commentMarginExtent;
|
|
3289
|
+
private _hasCommentMargin;
|
|
3290
|
+
private _commentZoom;
|
|
3291
|
+
private _commentsEnabled;
|
|
3292
|
+
private _commentsOptions;
|
|
3293
|
+
private _commentSide;
|
|
3294
|
+
private _syncCommentMarginGeometry;
|
|
3295
|
+
private _presentationHasComments;
|
|
2756
3296
|
private _baseScale;
|
|
2757
3297
|
relayout(): void;
|
|
2758
3298
|
private _relayout;
|
|
@@ -2762,7 +3302,9 @@ declare class PptxScrollViewer implements ZoomableViewer {
|
|
|
2762
3302
|
private _mediaOverscan;
|
|
2763
3303
|
private _pad;
|
|
2764
3304
|
private _padH;
|
|
3305
|
+
private _slideOffset;
|
|
2765
3306
|
private _slideIndexAtOffset;
|
|
3307
|
+
private _rangeAt;
|
|
2766
3308
|
private _range;
|
|
2767
3309
|
private _mediaRange;
|
|
2768
3310
|
private _rangeContains;
|
|
@@ -2796,6 +3338,11 @@ declare class PptxScrollViewer implements ZoomableViewer {
|
|
|
2796
3338
|
scrollToSlide(index: number, opts?: {
|
|
2797
3339
|
behavior?: 'auto' | 'smooth';
|
|
2798
3340
|
}): void;
|
|
3341
|
+
private _scrollToSlideCommentTarget;
|
|
3342
|
+
private _resolveSlideCommentElementBounds;
|
|
3343
|
+
goToComment(slideIndex: number, commentIndex: number, opts?: {
|
|
3344
|
+
behavior?: 'auto' | 'smooth';
|
|
3345
|
+
}): Promise<boolean>;
|
|
2799
3346
|
findText(query: string, opts?: FindMatchesOptions): Promise<FindMatch<PptxMatchLocation>[]>;
|
|
2800
3347
|
findNext(): Promise<FindMatch<PptxMatchLocation> | null>;
|
|
2801
3348
|
findPrev(): Promise<FindMatch<PptxMatchLocation> | null>;
|
|
@@ -2804,6 +3351,11 @@ declare class PptxScrollViewer implements ZoomableViewer {
|
|
|
2804
3351
|
private _collectSlideRuns;
|
|
2805
3352
|
private _redrawHighlights;
|
|
2806
3353
|
private _refreshFindRuns;
|
|
3354
|
+
private _redrawSlotComments;
|
|
3355
|
+
private _redrawSlotCommentConnectors;
|
|
3356
|
+
private _commitSlotComments;
|
|
3357
|
+
private _ensureSlotCommentAnchors;
|
|
3358
|
+
private _scheduleCommentGeometry;
|
|
2807
3359
|
private _redrawSlotHighlights;
|
|
2808
3360
|
private _measureForFind;
|
|
2809
3361
|
private _hyperlinkHandler;
|
|
@@ -2831,10 +3383,10 @@ interface PptxHighlightMatch {
|
|
|
2831
3383
|
type PptxHighlightColors = FindHighlightColors;
|
|
2832
3384
|
declare function buildPptxHighlightLayer(layer: HTMLDivElement, runs: PptxTextRunInfo[], matches: PptxHighlightMatch[], cssWidth: number, cssHeight: number, measureForFont: (font: string) => (s: string) => number, colors?: PptxHighlightColors): void;
|
|
2833
3385
|
declare namespace pptx_d_exports {
|
|
2834
|
-
export { ArrowEnd, AutoResizeOptions, Bevel3d, BlipBullet, Bullet, Camera3d, ChartDataLabelOverride, ChartDataPointOverride, ChartDataTable, ChartDisplayUnits, ChartDisplayUnitsLabel, ChartElement, ChartErrBars, ChartExElementStyle, ChartLabelBox, ChartManualLayout, ChartModel, ChartOfPie, ChartRect, ChartRegionMapRenderer, ChartSeries, ChartSeriesDataLabels, ChartStockBarPaint, ChartStockUpDownBarStyle, ChartSurfaceBandFormat, ChartTextBox, ChartTextParagraph, ChartTextRun, ChartThreeD, ChartThreeDRenderer, ChartThreeDSeriesAxis, ChartThreeDSurface, ChartTrendline, ChartType, ChartexBoxSeries, ChartexBoxWhisker, ChartexGeography, ChartexHistogramBinning, ChartexRegionMap, ChartexRegionMapColors, ChartexRegionMapRow, ChartexSunburst, ChartexSunburstRow, ChartexTreemap, ChartexValueColorStop, DimOptions, Duotone$1 as Duotone, EquationRun, Fill, FillRect, FindHighlightColors, FindMatch, FindMatchesOptions, Glow, GradientFill, GradientStop$1 as GradientStop, HiddenSlideMode, HyperlinkTarget, ImageFill, 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, 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, Stroke, TabStop$1 as TabStop, TableCell, TableElement, TableRow, TextBody, TextOutline, TextRect, TextRun, TextRunCallback, TextRunData, TextSelectionContextOptions, TileInfo, ViewerContextMenuEvent, ZoomableViewer, autoResize, buildPptxHighlightLayer, buildPptxTextLayer, isOoxmlDecodedImageLimitError, openExternalHyperlink, readPptxTextSelectionContext, renderSlide };
|
|
3386
|
+
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, DimOptions, DrawingMLCustomDashSegment, Duotone$1 as Duotone, EquationRun, Fill, FillRect, FindHighlightColors, FindMatch, FindMatchesOptions, Glow, GradientFill, GradientStop$1 as GradientStop, HiddenSlideMode, HyperlinkTarget, ImageFill, 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, TileInfo, ViewerCommentConnectorOptions, ViewerCommentConnectorRoute, ViewerCommentConnectorStroke, ViewerCommentMessageContext, ViewerCommentThreadContext, ViewerContextMenuEvent, ZoomableViewer, autoResize, buildPptxHighlightLayer, buildPptxTextLayer, isOoxmlDecodedImageLimitError, openExternalHyperlink, readPptxTextSelectionContext, renderSlide };
|
|
2835
3387
|
}
|
|
2836
3388
|
//#endregion
|
|
2837
|
-
//#region dist/.types-work/xlsx-
|
|
3389
|
+
//#region dist/.types-work/xlsx-Dx2KTVG5.d.ts
|
|
2838
3390
|
type ShapeFill = Exclude<Fill, {
|
|
2839
3391
|
fillType: 'image';
|
|
2840
3392
|
} | {
|
|
@@ -2869,6 +3421,11 @@ interface Worksheet {
|
|
|
2869
3421
|
max: number;
|
|
2870
3422
|
width: number;
|
|
2871
3423
|
}>;
|
|
3424
|
+
colStyleRanges?: Array<{
|
|
3425
|
+
min: number;
|
|
3426
|
+
max: number;
|
|
3427
|
+
styleIndex: number;
|
|
3428
|
+
}>;
|
|
2872
3429
|
rowHeights: Record<number, number>;
|
|
2873
3430
|
colOutlineLevels?: Record<number, number>;
|
|
2874
3431
|
colCollapsed?: Record<number, boolean>;
|
|
@@ -3091,9 +3648,25 @@ interface DefinedName {
|
|
|
3091
3648
|
formula: string;
|
|
3092
3649
|
}
|
|
3093
3650
|
interface XlsxComment {
|
|
3651
|
+
kind?: 'note' | 'thread';
|
|
3094
3652
|
cellRef: string;
|
|
3653
|
+
id?: string;
|
|
3654
|
+
personId?: string;
|
|
3095
3655
|
author?: string;
|
|
3656
|
+
date?: string;
|
|
3657
|
+
rootText?: string;
|
|
3096
3658
|
text: string;
|
|
3659
|
+
resolved?: boolean;
|
|
3660
|
+
replies?: XlsxCommentReply[];
|
|
3661
|
+
}
|
|
3662
|
+
interface XlsxCommentReply {
|
|
3663
|
+
id: string;
|
|
3664
|
+
parentId: string;
|
|
3665
|
+
personId: string;
|
|
3666
|
+
author?: string;
|
|
3667
|
+
date?: string;
|
|
3668
|
+
text: string;
|
|
3669
|
+
resolved?: boolean;
|
|
3097
3670
|
}
|
|
3098
3671
|
interface DataValidation {
|
|
3099
3672
|
sqref: string;
|
|
@@ -3593,6 +4166,7 @@ declare class XlsxWorkbook {
|
|
|
3593
4166
|
private math;
|
|
3594
4167
|
private threeD;
|
|
3595
4168
|
private regionMap;
|
|
4169
|
+
private chartEx;
|
|
3596
4170
|
private googleFontNames;
|
|
3597
4171
|
private readonly retainedFontSets;
|
|
3598
4172
|
private fontsDestroyed;
|
|
@@ -3614,6 +4188,7 @@ declare class XlsxWorkbook {
|
|
|
3614
4188
|
sheetVisibility(sheetIndex: number): SheetVisibility;
|
|
3615
4189
|
isHidden(sheetIndex: number): boolean;
|
|
3616
4190
|
getWorksheet(sheetIndex: number): Promise<Worksheet>;
|
|
4191
|
+
getComments(sheetIndex: number): Promise<readonly Readonly<XlsxComment>[]>;
|
|
3617
4192
|
getResourceMetrics(): Promise<OoxmlResourceMetrics>;
|
|
3618
4193
|
private loadWorksheet;
|
|
3619
4194
|
private loadWorksheetStream;
|
|
@@ -3670,6 +4245,7 @@ interface XlsxSelectionContextCell {
|
|
|
3670
4245
|
readonly valueType: 'empty' | 'text' | 'number' | 'bool' | 'error' | 'shared';
|
|
3671
4246
|
readonly value: string | number | boolean | null;
|
|
3672
4247
|
readonly formula?: string;
|
|
4248
|
+
readonly comment?: ViewerCommentThreadContext;
|
|
3673
4249
|
}
|
|
3674
4250
|
interface XlsxRangeSelectionContext {
|
|
3675
4251
|
readonly format: 'xlsx';
|
|
@@ -3723,6 +4299,7 @@ interface XlsxMatchLocation {
|
|
|
3723
4299
|
row: number;
|
|
3724
4300
|
col: number;
|
|
3725
4301
|
}
|
|
4302
|
+
interface XlsxCommentsOptions extends ViewerCommentsOptions {}
|
|
3726
4303
|
type HiddenSheetMode = 'show' | 'skip' | 'dim';
|
|
3727
4304
|
interface XlsxSheetViewerOptions extends LoadOptions {
|
|
3728
4305
|
cellScale?: number;
|
|
@@ -3742,6 +4319,7 @@ interface XlsxSheetViewerOptions extends LoadOptions {
|
|
|
3742
4319
|
enableHyperlinks?: boolean;
|
|
3743
4320
|
selectionColor?: string;
|
|
3744
4321
|
findHighlightColors?: FindHighlightColors;
|
|
4322
|
+
comments?: boolean | XlsxCommentsOptions;
|
|
3745
4323
|
hiddenSheetMode?: HiddenSheetMode;
|
|
3746
4324
|
onViewportChange?: (offset: XlsxViewportOffset) => void;
|
|
3747
4325
|
}
|
|
@@ -3752,6 +4330,12 @@ interface XlsxViewportOffset {
|
|
|
3752
4330
|
readonly x: number;
|
|
3753
4331
|
readonly y: number;
|
|
3754
4332
|
}
|
|
4333
|
+
interface XlsxCellViewportRect {
|
|
4334
|
+
readonly x: number;
|
|
4335
|
+
readonly y: number;
|
|
4336
|
+
readonly width: number;
|
|
4337
|
+
readonly height: number;
|
|
4338
|
+
}
|
|
3755
4339
|
interface XlsxScrollToCellOptions {
|
|
3756
4340
|
readonly align?: 'nearest' | 'start' | 'center' | 'end';
|
|
3757
4341
|
}
|
|
@@ -3779,6 +4363,7 @@ type XlsxViewerMount = {
|
|
|
3779
4363
|
readonly mode: CanvasViewerRenderMode;
|
|
3780
4364
|
};
|
|
3781
4365
|
declare class XlsxViewerEngine implements ZoomableViewer {
|
|
4366
|
+
private readonly container;
|
|
3782
4367
|
private readonly hostDocument;
|
|
3783
4368
|
private readonly hostWindow;
|
|
3784
4369
|
private readonly acquisition;
|
|
@@ -3819,6 +4404,9 @@ declare class XlsxViewerEngine implements ZoomableViewer {
|
|
|
3819
4404
|
private fontBinding;
|
|
3820
4405
|
private _hiddenSheetMode;
|
|
3821
4406
|
private currentWorksheet;
|
|
4407
|
+
private currentSourceComments;
|
|
4408
|
+
private commentNavigationGeneration;
|
|
4409
|
+
private sourceCommentMap;
|
|
3822
4410
|
private sheetViews;
|
|
3823
4411
|
private opts;
|
|
3824
4412
|
private readonly _mountKind;
|
|
@@ -3828,6 +4416,10 @@ declare class XlsxViewerEngine implements ZoomableViewer {
|
|
|
3828
4416
|
private preparedWorkbook;
|
|
3829
4417
|
private _destroyed;
|
|
3830
4418
|
private resizeObserver;
|
|
4419
|
+
private chromeColors;
|
|
4420
|
+
private chromeStyleObserver;
|
|
4421
|
+
private chromeSchemeMedia;
|
|
4422
|
+
private chromeSchemeListener;
|
|
3831
4423
|
private _lastViewportNotification;
|
|
3832
4424
|
private get anchorCell();
|
|
3833
4425
|
private get activeCell();
|
|
@@ -3863,12 +4455,19 @@ declare class XlsxViewerEngine implements ZoomableViewer {
|
|
|
3863
4455
|
private hyperlinkMap;
|
|
3864
4456
|
private commentPopupKey;
|
|
3865
4457
|
private commentPopupTimer;
|
|
4458
|
+
private commentPopupCell;
|
|
4459
|
+
private commentPopupPositionScheduled;
|
|
4460
|
+
private commentPopupResizeObserver;
|
|
4461
|
+
private commentUi;
|
|
4462
|
+
private commentPopupRenderGeneration;
|
|
3866
4463
|
private validationPanel;
|
|
3867
4464
|
private validationPanelKey;
|
|
3868
4465
|
private validationRequestGeneration;
|
|
3869
4466
|
private validationArrowRect;
|
|
3870
4467
|
private validationOutsideHandler;
|
|
3871
4468
|
constructor(container: HTMLElement, opts: XlsxViewerOptions | XlsxSheetViewerOptions | undefined, mount: XlsxViewerMount);
|
|
4469
|
+
private refreshChromeTheme;
|
|
4470
|
+
private installChromeThemeRefresh;
|
|
3872
4471
|
private _collectSheetCells;
|
|
3873
4472
|
load(source: string | ArrayBuffer): Promise<void>;
|
|
3874
4473
|
private activateWorkbook;
|
|
@@ -3925,7 +4524,10 @@ declare class XlsxViewerEngine implements ZoomableViewer {
|
|
|
3925
4524
|
getCellAt(clientX: number, clientY: number): CellAddress | null;
|
|
3926
4525
|
private elementContextViewport;
|
|
3927
4526
|
private elementContextAt;
|
|
3928
|
-
private
|
|
4527
|
+
private _cellRect;
|
|
4528
|
+
getCellViewportRect(cell: CellAddress | string): XlsxCellViewportRect | null;
|
|
4529
|
+
getComments(): readonly Readonly<XlsxComment>[];
|
|
4530
|
+
goToComment(sheetIndex: number, cellRef: string, options?: XlsxScrollToCellOptions): Promise<boolean>;
|
|
3929
4531
|
get selectionState(): XlsxSelectionState | null;
|
|
3930
4532
|
setSelection(input: XlsxSelectionInput): void;
|
|
3931
4533
|
getSelectionContext(options?: XlsxSelectionContextOptions): XlsxSelectionContext | null;
|
|
@@ -3962,12 +4564,17 @@ declare class XlsxViewerEngine implements ZoomableViewer {
|
|
|
3962
4564
|
private installValidationOutsideHandler;
|
|
3963
4565
|
private hideValidationPanel;
|
|
3964
4566
|
private buildCommentMap;
|
|
4567
|
+
private createCommentMap;
|
|
4568
|
+
private createVisibleSheetView;
|
|
3965
4569
|
private buildHyperlinkMap;
|
|
3966
4570
|
private hyperlinkAtCell;
|
|
3967
4571
|
private dispatchHyperlink;
|
|
3968
4572
|
private navigateInternalHyperlink;
|
|
3969
4573
|
private scheduleCommentPopup;
|
|
4574
|
+
private loadCommentUi;
|
|
3970
4575
|
private renderCommentPopup;
|
|
4576
|
+
private scheduleCommentPopupPosition;
|
|
4577
|
+
private positionCommentPopup;
|
|
3971
4578
|
private hideCommentPopup;
|
|
3972
4579
|
private applyPointerSelection;
|
|
3973
4580
|
private viewportInputBounds;
|
|
@@ -4042,6 +4649,9 @@ declare class XlsxSheetViewer implements ZoomableViewer {
|
|
|
4042
4649
|
fitWidth(): void;
|
|
4043
4650
|
fitPage(): void;
|
|
4044
4651
|
getCellAt(clientX: number, clientY: number): CellAddress | null;
|
|
4652
|
+
getCellViewportRect(cell: CellAddress | string): XlsxCellViewportRect | null;
|
|
4653
|
+
getComments(): readonly Readonly<XlsxComment>[];
|
|
4654
|
+
goToComment(sheetIndex: number, cellRef: string, options?: XlsxScrollToCellOptions): Promise<boolean>;
|
|
4045
4655
|
get selectionState(): XlsxSelectionState | null;
|
|
4046
4656
|
setSelection(selection: XlsxSelectionInput): void;
|
|
4047
4657
|
getSelectionContext(options?: XlsxSelectionContextOptions): XlsxSelectionContext | null;
|
|
@@ -4062,7 +4672,7 @@ declare class XlsxSheetViewer implements ZoomableViewer {
|
|
|
4062
4672
|
}
|
|
4063
4673
|
declare function resolveSharedStrings(ws: Worksheet, sharedStrings: SharedString[]): Worksheet;
|
|
4064
4674
|
declare namespace xlsx_d_exports {
|
|
4065
|
-
export { ArrowEnd, AutoResizeOptions, Border, BorderEdge, Cell, CellAddress, CellFill, CellFont, CellValue, CellXf, CfIcon, CfRule, CfStop, CfValue, ChartAnchor, ChartDataLabelOverride, ChartDataPointOverride, ChartDataTable, ChartDisplayUnits, ChartDisplayUnitsLabel, ChartErrBars, ChartExElementStyle, ChartLabelBox, ChartManualLayout, ChartModel, ChartOfPie, ChartRect, ChartRegionMapRenderer, ChartSeries, ChartSeriesDataLabels, ChartStockBarPaint, ChartStockUpDownBarStyle, ChartSurfaceBandFormat, ChartTextBox, ChartTextParagraph, ChartTextRun, ChartThreeD, ChartThreeDRenderer, ChartThreeDSeriesAxis, ChartThreeDSurface, ChartTrendline, ChartType, ChartexBoxSeries, ChartexBoxWhisker, ChartexGeography, ChartexHistogramBinning, ChartexRegionMap, ChartexRegionMapColors, ChartexRegionMapRow, ChartexSunburst, ChartexSunburstRow, ChartexTreemap, ChartexValueColorStop, ConditionalFormat, DataValidation, DefinedName, Duotone, Dxf, FillRect, FindHighlightColors, FindMatch, FindMatchesOptions, GradientFill, GradientFillSpec, GradientStop$1 as GradientStop, HiddenSheetMode, Hyperlink, HyperlinkTarget, ImageAnchor, 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, 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, Styles, TableColumnInfo, TableInfo, ViewerContextMenuEvent, ViewportRange, Workbook, Worksheet, WorksheetCellRange, XlsxComment, XlsxCopyResult, XlsxElementAnchorMarker, XlsxElementContext, XlsxMatchLocation, XlsxRangeSelectionContext, XlsxRenderViewportOptions, XlsxScrollToCellOptions, XlsxSelectionArea, XlsxSelectionContext, XlsxSelectionContextCell, XlsxSelectionContextOptions, XlsxSelectionInput, XlsxSelectionState, XlsxSheetViewer, XlsxSheetViewerOptions, XlsxTextRunInfo, XlsxViewer, XlsxViewerOptions, XlsxViewportOffset, XlsxWorkbook, ZoomableViewer, autoResize, isOoxmlDecodedImageLimitError, openExternalHyperlink, resolveSharedStrings };
|
|
4675
|
+
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, ConditionalFormat, DataValidation, DefinedName, DrawingMLCustomDashSegment, Duotone, Dxf, FillRect, FindHighlightColors, FindMatch, FindMatchesOptions, GradientFill, GradientFillSpec, GradientStop$1 as GradientStop, HiddenSheetMode, Hyperlink, HyperlinkTarget, ImageAnchor, ImageFill, 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, 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, XlsxSheetViewer, XlsxSheetViewerOptions, XlsxTextRunInfo, XlsxViewer, XlsxViewerOptions, XlsxViewportOffset, XlsxWorkbook, ZoomableViewer, autoResize, isOoxmlDecodedImageLimitError, openExternalHyperlink, resolveSharedStrings };
|
|
4066
4676
|
}
|
|
4067
4677
|
//#endregion
|
|
4068
4678
|
export { docx_d_exports as docx, pptx_d_exports as pptx, xlsx_d_exports as xlsx };
|