@silurus/ooxml 0.78.1 → 0.79.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +39 -1
- package/THIRD_PARTY_NOTICES.md +13 -0
- package/dist/{canvas-viewer-mechanics-B4K_t5X_.js → canvas-viewer-mechanics-DJ9yfiLN.js} +1 -1
- package/dist/chart-number-format-tjYUR9eS.js +435 -0
- package/dist/dash-CMzZIDz_.js +824 -0
- package/dist/{document-pull-client-5AakVD6e.js → document-pull-client-DYoybVCn.js} +2119 -2113
- package/dist/{docx-bjhRwb2u.js → docx-CSk_-kj_.js} +65 -56
- package/dist/docx.mjs +4 -4
- package/dist/docx_parser_bg.wasm +0 -0
- package/dist/index.mjs +3 -3
- package/dist/{line-distribute-BVFW1-Hs.js → line-distribute-CU7vu7XS.js} +1 -1
- package/dist/{line-metrics-DS0NS2Iq.js → line-metrics-A77J_KRx.js} +4229 -3233
- package/dist/math.mjs +1 -1
- package/dist/node.mjs +322 -322
- package/dist/{pptx-D1rCrHGR.js → pptx-CO1Ut97p.js} +192 -183
- package/dist/pptx.mjs +5 -5
- package/dist/pptx_parser_bg.wasm +0 -0
- package/dist/region-map.mjs +12708 -0
- package/dist/{render-DhlT5jxZ.js → render-C5m7Ddwx.js} +1 -1
- package/dist/render-worker-host-BhMT5U73.js +27 -0
- package/dist/render-worker-host-DNMxGh5s.js +27 -0
- package/dist/render-worker-host-DWyg7wio.js +27 -0
- package/dist/{resource-measurement-BA-4Q-II.js → resource-measurement-COxqtfGk.js} +1 -1
- package/dist/{session-C_HGxbRD.js → session-CJwZaquG.js} +10 -10
- package/dist/{slide-pull-client-BiC4sVGi.js → slide-pull-client-CFHNk0ek.js} +584 -583
- package/dist/three-d.mjs +2426 -0
- package/dist/types/docx.d.ts +251 -16
- package/dist/types/index.d.ts +266 -20
- package/dist/types/math.d.ts +1 -1
- package/dist/types/node.d.ts +225 -1
- package/dist/types/pptx.d.ts +253 -16
- package/dist/types/region-map.d.ts +586 -0
- package/dist/types/three-d.d.ts +586 -0
- package/dist/types/xlsx.d.ts +256 -16
- package/dist/{worksheet-pull-client-BnvgeqfG.js → worksheet-pull-client-CziyJf24.js} +13 -13
- package/dist/{xlsx-BG_WYSc0.js → xlsx-DHQmjAfh.js} +1246 -1073
- package/dist/xlsx.mjs +5 -5
- package/dist/xlsx_parser_bg.wasm +0 -0
- package/package.json +13 -1
- package/dist/render-worker-host-CtJo7hc9.js +0 -27
- package/dist/render-worker-host-D8vv-Asx.js +0 -27
- package/dist/render-worker-host-DAjG9nmw.js +0 -27
- /package/dist/{highlight-rect-CAkCWJ37.js → highlight-rect-cCvVU-MW.js} +0 -0
- /package/dist/{mathjax-CMjda8Ip.js → mathjax-Dqo857oC.js} +0 -0
- /package/dist/{transfer-DCu4c2BL.js → transfer-3QEJrsJa.js} +0 -0
- /package/dist/{visible-index-CgyJLAS_.js → visible-index-CKvgpUrf.js} +0 -0
package/dist/types/index.d.ts
CHANGED
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
//#region dist/.types-work/
|
|
2
|
-
interface MathSvg {
|
|
3
|
-
svg: string;
|
|
4
|
-
widthEm: number;
|
|
5
|
-
ascentEm: number;
|
|
6
|
-
descentEm: number;
|
|
7
|
-
}
|
|
8
|
-
interface MathRenderer {
|
|
9
|
-
loadMathJax(): Promise<void>;
|
|
10
|
-
mathMLToSvg(mathml: string): Promise<MathSvg>;
|
|
11
|
-
}
|
|
12
|
-
//#endregion
|
|
13
|
-
//#region dist/.types-work/hyperlink-DpimohAS.d.ts
|
|
1
|
+
//#region dist/.types-work/chart-BFzw-erU.d.ts
|
|
14
2
|
type MathStyle = 'roman' | 'italic' | 'bold' | 'boldItalic';
|
|
15
3
|
interface MathRun {
|
|
16
4
|
kind: 'run';
|
|
@@ -383,10 +371,13 @@ interface RenderOptions {
|
|
|
383
371
|
}
|
|
384
372
|
interface ChartSeries {
|
|
385
373
|
name: string;
|
|
374
|
+
chartexFormatIdx?: number | null;
|
|
386
375
|
color: string | null;
|
|
387
376
|
fillPattern?: PatternFill | null;
|
|
377
|
+
chartexStyle?: ChartExElementStyle | null;
|
|
388
378
|
lineColor?: string | null;
|
|
389
379
|
lineWidthEmu?: number | null;
|
|
380
|
+
threeDShape?: 'box' | 'cylinder' | 'cone' | 'coneToMax' | 'pyramid' | 'pyramidToMax' | string | null;
|
|
390
381
|
values: (number | null)[];
|
|
391
382
|
dataPointColors?: (string | null)[] | null;
|
|
392
383
|
dataLabelColors?: (string | null)[] | null;
|
|
@@ -402,6 +393,7 @@ interface ChartSeries {
|
|
|
402
393
|
markerSize?: number | null;
|
|
403
394
|
markerFill?: string | null;
|
|
404
395
|
markerLine?: string | null;
|
|
396
|
+
markerLineWidthEmu?: number | null;
|
|
405
397
|
dataPointOverrides?: ChartDataPointOverride[] | null;
|
|
406
398
|
dataLabelOverrides?: ChartDataLabelOverride[] | null;
|
|
407
399
|
seriesDataLabels?: ChartSeriesDataLabels | null;
|
|
@@ -420,25 +412,47 @@ interface ChartTrendline {
|
|
|
420
412
|
intercept?: number | null;
|
|
421
413
|
dispRSqr?: boolean | null;
|
|
422
414
|
dispEq?: boolean | null;
|
|
415
|
+
labelManualLayout?: ChartManualLayout | null;
|
|
416
|
+
labelText?: string | null;
|
|
417
|
+
labelFontSizeHpt?: number | null;
|
|
418
|
+
labelFontBold?: boolean | null;
|
|
419
|
+
labelFontItalic?: boolean | null;
|
|
420
|
+
labelFontColor?: string | null;
|
|
421
|
+
labelFontFace?: string | null;
|
|
422
|
+
labelBox?: ChartLabelBox | null;
|
|
423
|
+
labelTextAlign?: string | null;
|
|
423
424
|
lineColor?: string | null;
|
|
424
425
|
lineWidthEmu?: number | null;
|
|
426
|
+
lineDash?: string | null;
|
|
427
|
+
lineHidden?: boolean | null;
|
|
425
428
|
}
|
|
426
429
|
interface ChartDataPointOverride {
|
|
427
430
|
idx: number;
|
|
428
431
|
color?: string;
|
|
432
|
+
fillHidden?: boolean;
|
|
433
|
+
lineColor?: string;
|
|
434
|
+
lineWidthEmu?: number;
|
|
435
|
+
lineDash?: string;
|
|
436
|
+
lineHidden?: boolean;
|
|
429
437
|
markerSymbol?: string;
|
|
430
438
|
markerSize?: number;
|
|
431
439
|
markerFill?: string;
|
|
432
440
|
markerLine?: string;
|
|
441
|
+
markerLineWidthEmu?: number;
|
|
433
442
|
explosion?: number;
|
|
434
443
|
}
|
|
435
444
|
interface ChartDataLabelOverride {
|
|
436
445
|
idx: number;
|
|
437
446
|
text: string;
|
|
447
|
+
richRuns?: ChartTextRun[];
|
|
438
448
|
position?: string;
|
|
439
449
|
fontColor?: string;
|
|
440
450
|
fontSizeHpt?: number;
|
|
451
|
+
fontFace?: string;
|
|
441
452
|
fontBold?: boolean;
|
|
453
|
+
formatCode?: string;
|
|
454
|
+
separator?: string;
|
|
455
|
+
manualLayout?: ChartManualLayout;
|
|
442
456
|
labelBox?: ChartLabelBox;
|
|
443
457
|
showVal?: boolean;
|
|
444
458
|
showCatName?: boolean;
|
|
@@ -462,6 +476,7 @@ interface ChartSeriesDataLabels {
|
|
|
462
476
|
separator?: string;
|
|
463
477
|
fontBold?: boolean;
|
|
464
478
|
fontSizeHpt?: number;
|
|
479
|
+
fontFace?: string;
|
|
465
480
|
labelBox?: ChartLabelBox;
|
|
466
481
|
showLeaderLines?: boolean;
|
|
467
482
|
leaderLineColor?: string;
|
|
@@ -482,9 +497,11 @@ interface ChartExElementStyle {
|
|
|
482
497
|
fillPaints?: Array<SolidFill | GradientFill | PatternFill | null> | null;
|
|
483
498
|
fillColors?: Array<string | null> | null;
|
|
484
499
|
fillHidden?: boolean | null;
|
|
500
|
+
fillNoStyle?: boolean | null;
|
|
485
501
|
lineColors?: Array<string | null> | null;
|
|
486
502
|
lineWidthEmu?: number | null;
|
|
487
503
|
lineHidden?: boolean | null;
|
|
504
|
+
lineNoStyle?: boolean | null;
|
|
488
505
|
lineDash?: string | null;
|
|
489
506
|
lineCap?: string | null;
|
|
490
507
|
lineJoin?: string | null;
|
|
@@ -529,6 +546,8 @@ interface ChartModel {
|
|
|
529
546
|
subtotalIndices: number[];
|
|
530
547
|
legendManualLayout?: LegendManualLayout | null;
|
|
531
548
|
valAxisFormatCode?: string | null;
|
|
549
|
+
valAxisDisplayUnits?: ChartDisplayUnits | null;
|
|
550
|
+
catAxisDisplayUnits?: ChartDisplayUnits | null;
|
|
532
551
|
barGapWidth?: number | null;
|
|
533
552
|
barOverlap?: number | null;
|
|
534
553
|
dataLabelPosition?: string | null;
|
|
@@ -536,13 +555,23 @@ interface ChartModel {
|
|
|
536
555
|
dataLabelFormatCode?: string | null;
|
|
537
556
|
titleFontBold?: boolean | null;
|
|
538
557
|
catAxisFontBold?: boolean | null;
|
|
558
|
+
catAxisFontItalic?: boolean | null;
|
|
539
559
|
valAxisFontBold?: boolean | null;
|
|
560
|
+
valAxisFontItalic?: boolean | null;
|
|
540
561
|
catAxisTitleFontSizeHpt?: number | null;
|
|
541
562
|
catAxisTitleFontBold?: boolean | null;
|
|
563
|
+
catAxisTitleFontItalic?: boolean | null;
|
|
542
564
|
catAxisTitleFontColor?: string | null;
|
|
565
|
+
catAxisTitleRotation?: number | null;
|
|
566
|
+
catAxisTitleVerticalMode?: 'horz' | 'vert' | 'vert270' | 'wordArtVert' | 'eaVert' | 'mongolianVert' | 'wordArtVertRtl' | null;
|
|
567
|
+
catAxisTitleManualLayout?: ChartManualLayout | null;
|
|
543
568
|
valAxisTitleFontSizeHpt?: number | null;
|
|
544
569
|
valAxisTitleFontBold?: boolean | null;
|
|
570
|
+
valAxisTitleFontItalic?: boolean | null;
|
|
545
571
|
valAxisTitleFontColor?: string | null;
|
|
572
|
+
valAxisTitleRotation?: number | null;
|
|
573
|
+
valAxisTitleVerticalMode?: 'horz' | 'vert' | 'vert270' | 'wordArtVert' | 'eaVert' | 'mongolianVert' | 'wordArtVertRtl' | null;
|
|
574
|
+
valAxisTitleManualLayout?: ChartManualLayout | null;
|
|
546
575
|
catAxisFontFace?: string | null;
|
|
547
576
|
valAxisFontFace?: string | null;
|
|
548
577
|
catAxisTitleFontFace?: string | null;
|
|
@@ -552,6 +581,9 @@ interface ChartModel {
|
|
|
552
581
|
legendFontColor?: string | null;
|
|
553
582
|
legendFontSizeHpt?: number | null;
|
|
554
583
|
legendFontBold?: boolean | null;
|
|
584
|
+
legendFillColor?: string | null;
|
|
585
|
+
legendLineColor?: string | null;
|
|
586
|
+
legendLineWidthEmu?: number | null;
|
|
555
587
|
themeMajorFontLatin?: string | null;
|
|
556
588
|
themeMinorFontLatin?: string | null;
|
|
557
589
|
chartBorderColor?: string | null;
|
|
@@ -584,12 +616,24 @@ interface ChartModel {
|
|
|
584
616
|
catAxisMajorGridlines?: boolean | null;
|
|
585
617
|
valAxisGridlineColor?: string | null;
|
|
586
618
|
valAxisGridlineWidthEmu?: number | null;
|
|
619
|
+
valAxisGridlineDash?: string | null;
|
|
587
620
|
catAxisGridlineColor?: string | null;
|
|
588
621
|
catAxisGridlineWidthEmu?: number | null;
|
|
622
|
+
catAxisGridlineDash?: string | null;
|
|
589
623
|
valAxisMinorGridlines?: boolean | null;
|
|
624
|
+
valAxisMinorGridlineColor?: string | null;
|
|
625
|
+
valAxisMinorGridlineWidthEmu?: number | null;
|
|
626
|
+
valAxisMinorGridlineDash?: string | null;
|
|
627
|
+
catAxisMinorGridlines?: boolean | null;
|
|
628
|
+
catAxisMinorGridlineColor?: string | null;
|
|
629
|
+
catAxisMinorGridlineWidthEmu?: number | null;
|
|
630
|
+
catAxisMinorGridlineDash?: string | null;
|
|
590
631
|
valAxisMajorUnit?: number | null;
|
|
591
632
|
valAxisMinorUnit?: number | null;
|
|
633
|
+
catAxisMajorUnit?: number | null;
|
|
634
|
+
catAxisMinorUnit?: number | null;
|
|
592
635
|
valAxisLogBase?: number | null;
|
|
636
|
+
catAxisLogBase?: number | null;
|
|
593
637
|
valAxisOrientation?: 'minMax' | 'maxMin' | string | null;
|
|
594
638
|
catAxisOrientation?: 'minMax' | 'maxMin' | string | null;
|
|
595
639
|
catAxisTickLabelPos?: string | null;
|
|
@@ -600,15 +644,93 @@ interface ChartModel {
|
|
|
600
644
|
stockHiLowLines?: boolean | null;
|
|
601
645
|
stockHiLowLineColor?: string | null;
|
|
602
646
|
stockUpDownBars?: boolean | null;
|
|
647
|
+
stockUpDownBarStyle?: ChartStockUpDownBarStyle | null;
|
|
648
|
+
ofPie?: ChartOfPie | null;
|
|
649
|
+
threeD?: ChartThreeD | null;
|
|
603
650
|
chartexBox?: ChartexBoxWhisker | null;
|
|
604
651
|
chartexSunburst?: ChartexSunburst | null;
|
|
605
652
|
chartexTreemap?: ChartexTreemap | null;
|
|
653
|
+
chartexRegionMap?: ChartexRegionMap | null;
|
|
654
|
+
chartexHistogramBinning?: ChartexHistogramBinning | null;
|
|
606
655
|
chartexAccents?: string[] | null;
|
|
607
656
|
chartexColorPalette?: Array<string | null> | null;
|
|
608
657
|
chartexColorStyleMethod?: string | null;
|
|
609
658
|
chartexDataPointStyle?: ChartExElementStyle | null;
|
|
610
659
|
chartexDataPointLineStyle?: ChartExElementStyle | null;
|
|
660
|
+
chartexSeriesLineStyle?: ChartExElementStyle | null;
|
|
611
661
|
chartexDataPointMarkerStyle?: ChartExElementStyle | null;
|
|
662
|
+
chartexMarkerSizePt?: number | null;
|
|
663
|
+
chartexMarkerSymbol?: string | null;
|
|
664
|
+
chartexConnectorLines?: boolean | null;
|
|
665
|
+
}
|
|
666
|
+
interface ChartStockBarPaint {
|
|
667
|
+
fillColor?: string | null;
|
|
668
|
+
fillHidden?: boolean | null;
|
|
669
|
+
lineColor?: string | null;
|
|
670
|
+
lineWidthEmu?: number | null;
|
|
671
|
+
lineHidden?: boolean | null;
|
|
672
|
+
}
|
|
673
|
+
interface ChartStockUpDownBarStyle {
|
|
674
|
+
gapWidthPercent: number;
|
|
675
|
+
up: ChartStockBarPaint;
|
|
676
|
+
down: ChartStockBarPaint;
|
|
677
|
+
}
|
|
678
|
+
interface ChartOfPie {
|
|
679
|
+
type: 'pie' | 'bar';
|
|
680
|
+
splitType: 'auto' | 'cust' | 'percent' | 'pos' | 'val';
|
|
681
|
+
splitPos?: number | null;
|
|
682
|
+
customSplitIndices?: number[] | null;
|
|
683
|
+
secondPieSizePercent: number;
|
|
684
|
+
gapWidthPercent: number;
|
|
685
|
+
seriesLines: boolean;
|
|
686
|
+
}
|
|
687
|
+
interface ChartThreeDSurface {
|
|
688
|
+
fillColor?: string | null;
|
|
689
|
+
fillHidden?: boolean | null;
|
|
690
|
+
lineColor?: string | null;
|
|
691
|
+
lineWidthEmu?: number | null;
|
|
692
|
+
lineDash?: string | null;
|
|
693
|
+
lineHidden?: boolean | null;
|
|
694
|
+
}
|
|
695
|
+
interface ChartThreeD {
|
|
696
|
+
rotationX?: number | null;
|
|
697
|
+
rotationY?: number | null;
|
|
698
|
+
heightPercent?: number | null;
|
|
699
|
+
depthPercent?: number | null;
|
|
700
|
+
perspective?: number | null;
|
|
701
|
+
rightAngleAxes?: boolean | null;
|
|
702
|
+
gapDepthPercent?: number | null;
|
|
703
|
+
shape?: string | null;
|
|
704
|
+
barGrouping?: 'standard' | 'clustered' | 'stacked' | 'percentStacked' | string | null;
|
|
705
|
+
seriesAxis?: ChartThreeDSeriesAxis | null;
|
|
706
|
+
floor?: ChartThreeDSurface | null;
|
|
707
|
+
sideWall?: ChartThreeDSurface | null;
|
|
708
|
+
backWall?: ChartThreeDSurface | null;
|
|
709
|
+
}
|
|
710
|
+
interface ChartThreeDSeriesAxis {
|
|
711
|
+
title?: string | null;
|
|
712
|
+
hidden: boolean;
|
|
713
|
+
orientation?: 'minMax' | 'maxMin' | string | null;
|
|
714
|
+
tickLabelPos?: string | null;
|
|
715
|
+
tickLabelSkip?: number | null;
|
|
716
|
+
tickMarkSkip?: number | null;
|
|
717
|
+
majorTickMark: string;
|
|
718
|
+
fontColor?: string | null;
|
|
719
|
+
fontSizeHpt?: number | null;
|
|
720
|
+
fontBold?: boolean | null;
|
|
721
|
+
fontItalic?: boolean | null;
|
|
722
|
+
fontFace?: string | null;
|
|
723
|
+
lineColor?: string | null;
|
|
724
|
+
lineWidthEmu?: number | null;
|
|
725
|
+
lineHidden: boolean;
|
|
726
|
+
titleFontSizeHpt?: number | null;
|
|
727
|
+
titleFontBold?: boolean | null;
|
|
728
|
+
titleFontItalic?: boolean | null;
|
|
729
|
+
titleFontColor?: string | null;
|
|
730
|
+
titleFontFace?: string | null;
|
|
731
|
+
titleRotation?: number | null;
|
|
732
|
+
titleVerticalMode?: ChartModel['catAxisTitleVerticalMode'];
|
|
733
|
+
titleManualLayout?: ChartManualLayout | null;
|
|
612
734
|
}
|
|
613
735
|
interface ChartTextRun {
|
|
614
736
|
text: string;
|
|
@@ -636,9 +758,11 @@ interface ChartTextBox {
|
|
|
636
758
|
}
|
|
637
759
|
interface ChartexBoxSeries {
|
|
638
760
|
name: string;
|
|
761
|
+
chartexFormatIdx?: number | null;
|
|
639
762
|
color?: string | null;
|
|
640
763
|
lineColor?: string | null;
|
|
641
764
|
lineWidthEmu?: number | null;
|
|
765
|
+
chartexStyle?: ChartExElementStyle | null;
|
|
642
766
|
valuesByCategory: number[][];
|
|
643
767
|
meanMarker: boolean;
|
|
644
768
|
meanLine: boolean;
|
|
@@ -647,6 +771,7 @@ interface ChartexBoxSeries {
|
|
|
647
771
|
quartileMethod: string;
|
|
648
772
|
}
|
|
649
773
|
interface ChartexBoxWhisker {
|
|
774
|
+
oneBoxPerSeries?: boolean;
|
|
650
775
|
categories: string[];
|
|
651
776
|
series: ChartexBoxSeries[];
|
|
652
777
|
}
|
|
@@ -661,22 +786,104 @@ interface ChartexTreemap {
|
|
|
661
786
|
rows: ChartexSunburstRow[];
|
|
662
787
|
parentLabelLayout?: string | null;
|
|
663
788
|
}
|
|
789
|
+
interface ChartexRegionMapRow {
|
|
790
|
+
label: string;
|
|
791
|
+
entityId?: string | null;
|
|
792
|
+
value?: number | null;
|
|
793
|
+
}
|
|
794
|
+
interface ChartexGeography {
|
|
795
|
+
projectionType?: 'mercator' | 'miller' | 'robinson' | 'albers' | string | null;
|
|
796
|
+
viewedRegionType?: string | null;
|
|
797
|
+
cultureLanguage?: string | null;
|
|
798
|
+
cultureRegion?: string | null;
|
|
799
|
+
attribution?: string | null;
|
|
800
|
+
cacheProvider?: string | null;
|
|
801
|
+
cachePresent: boolean;
|
|
802
|
+
}
|
|
803
|
+
interface ChartexValueColorStop {
|
|
804
|
+
kind: 'extremeValue' | 'number' | 'percent' | string;
|
|
805
|
+
value?: number | null;
|
|
806
|
+
}
|
|
807
|
+
interface ChartexRegionMapColors {
|
|
808
|
+
stopCount?: 2 | 3 | null;
|
|
809
|
+
minColor?: string | null;
|
|
810
|
+
midColor?: string | null;
|
|
811
|
+
maxColor?: string | null;
|
|
812
|
+
minPosition?: ChartexValueColorStop | null;
|
|
813
|
+
midPosition?: ChartexValueColorStop | null;
|
|
814
|
+
maxPosition?: ChartexValueColorStop | null;
|
|
815
|
+
}
|
|
816
|
+
interface ChartexRegionMap {
|
|
817
|
+
rows: ChartexRegionMapRow[];
|
|
818
|
+
regionLabelLayout?: 'none' | 'bestFitOnly' | 'showAll' | null;
|
|
819
|
+
geography?: ChartexGeography | null;
|
|
820
|
+
colors?: ChartexRegionMapColors | null;
|
|
821
|
+
}
|
|
822
|
+
interface ChartexHistogramBinning {
|
|
823
|
+
binSize?: number | null;
|
|
824
|
+
binCount?: number | null;
|
|
825
|
+
intervalClosed?: 'l' | 'r' | null;
|
|
826
|
+
underflow?: number | null;
|
|
827
|
+
overflow?: number | null;
|
|
828
|
+
}
|
|
664
829
|
interface SecondaryValueAxis {
|
|
665
830
|
min: number | null;
|
|
666
831
|
max: number | null;
|
|
667
832
|
title: string | null;
|
|
668
833
|
hidden: boolean;
|
|
669
834
|
formatCode?: string | null;
|
|
835
|
+
displayUnits?: ChartDisplayUnits | null;
|
|
670
836
|
fontColor?: string | null;
|
|
671
837
|
fontSizeHpt?: number | null;
|
|
838
|
+
fontItalic?: boolean | null;
|
|
839
|
+
fontBold?: boolean | null;
|
|
840
|
+
fontFace?: string | null;
|
|
672
841
|
lineColor?: string | null;
|
|
673
842
|
lineWidthEmu?: number | null;
|
|
674
843
|
lineHidden: boolean;
|
|
675
844
|
majorTickMark: string;
|
|
845
|
+
minorTickMark?: string | null;
|
|
846
|
+
minorGridlines?: boolean;
|
|
847
|
+
minorGridlineColor?: string | null;
|
|
848
|
+
minorGridlineWidthEmu?: number | null;
|
|
849
|
+
minorGridlineDash?: string | null;
|
|
850
|
+
majorGridlines?: boolean;
|
|
851
|
+
majorGridlineColor?: string | null;
|
|
852
|
+
majorGridlineWidthEmu?: number | null;
|
|
853
|
+
majorGridlineDash?: string | null;
|
|
676
854
|
majorUnit?: number | null;
|
|
855
|
+
minorUnit?: number | null;
|
|
856
|
+
logBase?: number | null;
|
|
857
|
+
orientation?: 'minMax' | 'maxMin' | string | null;
|
|
858
|
+
tickLabelPos?: string | null;
|
|
859
|
+
tickLabelSkip?: number | null;
|
|
860
|
+
tickMarkSkip?: number | null;
|
|
861
|
+
crosses?: string | null;
|
|
862
|
+
crossesAt?: number | null;
|
|
677
863
|
titleFontSizeHpt?: number | null;
|
|
678
864
|
titleFontBold?: boolean | null;
|
|
865
|
+
titleFontItalic?: boolean | null;
|
|
679
866
|
titleFontColor?: string | null;
|
|
867
|
+
titleFontFace?: string | null;
|
|
868
|
+
titleRotation?: number | null;
|
|
869
|
+
titleVerticalMode?: 'horz' | 'vert' | 'vert270' | 'wordArtVert' | 'eaVert' | 'mongolianVert' | 'wordArtVertRtl' | null;
|
|
870
|
+
titleManualLayout?: ChartManualLayout | null;
|
|
871
|
+
}
|
|
872
|
+
interface ChartDisplayUnits {
|
|
873
|
+
divisor: number;
|
|
874
|
+
builtInUnit?: string | null;
|
|
875
|
+
label?: ChartDisplayUnitsLabel | null;
|
|
876
|
+
}
|
|
877
|
+
interface ChartDisplayUnitsLabel {
|
|
878
|
+
text?: string | null;
|
|
879
|
+
manualLayout?: ChartManualLayout | null;
|
|
880
|
+
fontSizeHpt?: number | null;
|
|
881
|
+
fontBold?: boolean | null;
|
|
882
|
+
fontItalic?: boolean | null;
|
|
883
|
+
fontColor?: string | null;
|
|
884
|
+
fontFace?: string | null;
|
|
885
|
+
rotation?: number | null;
|
|
886
|
+
boxStyle?: ChartLabelBox | null;
|
|
680
887
|
}
|
|
681
888
|
interface ChartManualLayout {
|
|
682
889
|
xMode?: string;
|
|
@@ -705,6 +912,30 @@ interface ChartRect {
|
|
|
705
912
|
w: number;
|
|
706
913
|
h: number;
|
|
707
914
|
}
|
|
915
|
+
//#endregion
|
|
916
|
+
//#region dist/.types-work/mathjax-rjjokY7u.d.ts
|
|
917
|
+
interface MathSvg {
|
|
918
|
+
svg: string;
|
|
919
|
+
widthEm: number;
|
|
920
|
+
ascentEm: number;
|
|
921
|
+
descentEm: number;
|
|
922
|
+
}
|
|
923
|
+
interface MathRenderer {
|
|
924
|
+
loadMathJax(): Promise<void>;
|
|
925
|
+
mathMLToSvg(mathml: string): Promise<MathSvg>;
|
|
926
|
+
}
|
|
927
|
+
//#endregion
|
|
928
|
+
//#region dist/.types-work/three-d-contract-EE62eNRv.d.ts
|
|
929
|
+
interface ChartThreeDRenderer {
|
|
930
|
+
render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number): boolean;
|
|
931
|
+
}
|
|
932
|
+
//#endregion
|
|
933
|
+
//#region dist/.types-work/region-map-contract-D3eTzib8.d.ts
|
|
934
|
+
interface ChartRegionMapRenderer {
|
|
935
|
+
render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number): boolean;
|
|
936
|
+
}
|
|
937
|
+
//#endregion
|
|
938
|
+
//#region dist/.types-work/hyperlink-qwS_UhA7.d.ts
|
|
708
939
|
type OoxmlErrorCode = 'encrypted' | 'invalid-password' | 'unsupported-encryption' | 'legacy-binary-format' | 'not-ooxml';
|
|
709
940
|
type OoxmlErrorStage = 'container' | 'decompression' | 'parsing' | 'serialization' | 'layout' | 'rendering' | 'worker';
|
|
710
941
|
declare class OoxmlError extends Error {
|
|
@@ -787,6 +1018,8 @@ interface LoadOptions$3 {
|
|
|
787
1018
|
onResourceMetrics?: (metrics: OoxmlResourceMetrics) => void;
|
|
788
1019
|
workerTimeoutMs?: number;
|
|
789
1020
|
math?: MathRenderer;
|
|
1021
|
+
threeD?: ChartThreeDRenderer;
|
|
1022
|
+
regionMap?: ChartRegionMapRenderer;
|
|
790
1023
|
}
|
|
791
1024
|
type OoxmlDecodedImageLimitMetric = 'image-pixels' | 'active-decoded-bytes';
|
|
792
1025
|
declare class OoxmlDecodedImageLimitError extends RangeError {
|
|
@@ -807,7 +1040,7 @@ type HyperlinkTarget = {
|
|
|
807
1040
|
};
|
|
808
1041
|
declare function openExternalHyperlink(url: string, allowed?: readonly string[], win?: Pick<Window, 'open'> | undefined): boolean;
|
|
809
1042
|
//#endregion
|
|
810
|
-
//#region dist/.types-work/find-highlight-
|
|
1043
|
+
//#region dist/.types-work/find-highlight-lh8Qagl7.d.ts
|
|
811
1044
|
interface TextSelectionContextOptions {
|
|
812
1045
|
readonly maxTextCharacters?: number;
|
|
813
1046
|
readonly maxRunLocators?: number;
|
|
@@ -846,7 +1079,7 @@ interface FindHighlightColors {
|
|
|
846
1079
|
active?: string;
|
|
847
1080
|
}
|
|
848
1081
|
//#endregion
|
|
849
|
-
//#region dist/.types-work/docx-
|
|
1082
|
+
//#region dist/.types-work/docx-C1SmQK-v.d.ts
|
|
850
1083
|
interface DocxDocumentModel {
|
|
851
1084
|
section: SectionProps;
|
|
852
1085
|
body: BodyElement[];
|
|
@@ -1637,6 +1870,8 @@ declare class DocxDocument {
|
|
|
1637
1870
|
private _meta;
|
|
1638
1871
|
private _bookmarkPages;
|
|
1639
1872
|
private _mode;
|
|
1873
|
+
private _threeD;
|
|
1874
|
+
private _regionMap;
|
|
1640
1875
|
private _worker;
|
|
1641
1876
|
private _bridge;
|
|
1642
1877
|
private readonly _rawParts;
|
|
@@ -1903,10 +2138,10 @@ interface DocxHighlightMatch {
|
|
|
1903
2138
|
type DocxHighlightColors = FindHighlightColors;
|
|
1904
2139
|
declare function buildDocxHighlightLayer(layer: HTMLDivElement, runs: DocxTextRunInfo[], matches: DocxHighlightMatch[], cssWidth: number, cssHeight: number, measureForFont: (font: string) => (s: string) => number, colors?: DocxHighlightColors): void;
|
|
1905
2140
|
declare namespace docx_d_exports {
|
|
1906
|
-
export { AnchorHostMetrics, AutoResizeOptions, BodyElement, BorderSpec, CellBorders, CellElement, ChartDataLabelOverride, ChartDataPointOverride, ChartErrBars, ChartExElementStyle, ChartLabelBox, ChartManualLayout, ChartModel, ChartRect, ChartRun, ChartSeries, ChartSeriesDataLabels, ChartTextBox, ChartTextParagraph, ChartTextRun, ChartTrendline, ChartType, ChartexBoxSeries, ChartexBoxWhisker, ChartexSunburst, ChartexSunburstRow, ChartexTreemap, 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 };
|
|
2141
|
+
export { AnchorHostMetrics, AutoResizeOptions, BodyElement, BorderSpec, CellBorders, CellElement, ChartDataLabelOverride, ChartDataPointOverride, ChartDisplayUnits, ChartDisplayUnitsLabel, ChartErrBars, ChartExElementStyle, ChartLabelBox, ChartManualLayout, ChartModel, ChartOfPie, ChartRect, ChartRegionMapRenderer, ChartRun, ChartSeries, ChartSeriesDataLabels, ChartStockBarPaint, ChartStockUpDownBarStyle, 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 };
|
|
1907
2142
|
}
|
|
1908
2143
|
//#endregion
|
|
1909
|
-
//#region dist/.types-work/pptx-
|
|
2144
|
+
//#region dist/.types-work/pptx-CCAe_LXl.d.ts
|
|
1910
2145
|
interface BlipBullet {
|
|
1911
2146
|
type: 'blip';
|
|
1912
2147
|
imagePath: string;
|
|
@@ -2154,6 +2389,8 @@ interface PptxTextRunInfo {
|
|
|
2154
2389
|
type TextRunCallback = (run: PptxTextRunInfo) => void;
|
|
2155
2390
|
type SlideRenderOptions = RenderOptions & {
|
|
2156
2391
|
math?: MathRenderer;
|
|
2392
|
+
threeD?: ChartThreeDRenderer;
|
|
2393
|
+
regionMap?: ChartRegionMapRenderer;
|
|
2157
2394
|
dim?: DimOptions;
|
|
2158
2395
|
};
|
|
2159
2396
|
declare function renderSlide(canvas: HTMLCanvasElement | OffscreenCanvas, slide: Slide, slideWidth: number, slideHeight: number, opts?: SlideRenderOptions, onTextRun?: TextRunCallback): Promise<HTMLCanvasElement | OffscreenCanvas>;
|
|
@@ -2261,6 +2498,8 @@ declare class PptxPresentation {
|
|
|
2261
2498
|
private readonly _fetchImage;
|
|
2262
2499
|
private readonly _fetchMedia;
|
|
2263
2500
|
private _math;
|
|
2501
|
+
private _threeD;
|
|
2502
|
+
private _regionMap;
|
|
2264
2503
|
private constructor();
|
|
2265
2504
|
private _assertResourceHealthy;
|
|
2266
2505
|
private _rethrowWithResourceFailure;
|
|
@@ -2541,10 +2780,10 @@ interface PptxHighlightMatch {
|
|
|
2541
2780
|
type PptxHighlightColors = FindHighlightColors;
|
|
2542
2781
|
declare function buildPptxHighlightLayer(layer: HTMLDivElement, runs: PptxTextRunInfo[], matches: PptxHighlightMatch[], cssWidth: number, cssHeight: number, measureForFont: (font: string) => (s: string) => number, colors?: PptxHighlightColors): void;
|
|
2543
2782
|
declare namespace pptx_d_exports {
|
|
2544
|
-
export { ArrowEnd, AutoResizeOptions, Bevel3d, BlipBullet, Bullet, Camera3d, ChartDataLabelOverride, ChartDataPointOverride, ChartElement, ChartErrBars, ChartExElementStyle, ChartLabelBox, ChartManualLayout, ChartModel, ChartRect, ChartSeries, ChartSeriesDataLabels, ChartTextBox, ChartTextParagraph, ChartTextRun, ChartTrendline, ChartType, ChartexBoxSeries, ChartexBoxWhisker, ChartexSunburst, ChartexSunburstRow, ChartexTreemap, 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 };
|
|
2783
|
+
export { ArrowEnd, AutoResizeOptions, Bevel3d, BlipBullet, Bullet, Camera3d, ChartDataLabelOverride, ChartDataPointOverride, ChartDisplayUnits, ChartDisplayUnitsLabel, ChartElement, ChartErrBars, ChartExElementStyle, ChartLabelBox, ChartManualLayout, ChartModel, ChartOfPie, ChartRect, ChartRegionMapRenderer, ChartSeries, ChartSeriesDataLabels, ChartStockBarPaint, ChartStockUpDownBarStyle, 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 };
|
|
2545
2784
|
}
|
|
2546
2785
|
//#endregion
|
|
2547
|
-
//#region dist/.types-work/xlsx-
|
|
2786
|
+
//#region dist/.types-work/xlsx-CUoAZmBw.d.ts
|
|
2548
2787
|
type ShapeFill = Exclude<Fill, {
|
|
2549
2788
|
fillType: 'image';
|
|
2550
2789
|
} | {
|
|
@@ -2571,6 +2810,7 @@ interface MergeCell {
|
|
|
2571
2810
|
}
|
|
2572
2811
|
interface Worksheet {
|
|
2573
2812
|
name: string;
|
|
2813
|
+
isChartSheet?: boolean;
|
|
2574
2814
|
rows: Row[];
|
|
2575
2815
|
colWidths: Record<number, number>;
|
|
2576
2816
|
colWidthRanges?: Array<{
|
|
@@ -2584,6 +2824,7 @@ interface Worksheet {
|
|
|
2584
2824
|
colHidden?: Record<number, boolean>;
|
|
2585
2825
|
defaultColWidth: number;
|
|
2586
2826
|
defaultRowHeight: number;
|
|
2827
|
+
defaultRowHeightCustom?: boolean;
|
|
2587
2828
|
mergeCells: MergeCell[];
|
|
2588
2829
|
freezeRows: number;
|
|
2589
2830
|
freezeCols: number;
|
|
@@ -3082,6 +3323,7 @@ interface CfValue {
|
|
|
3082
3323
|
interface Row {
|
|
3083
3324
|
index: number;
|
|
3084
3325
|
height: number | null;
|
|
3326
|
+
customHeight?: boolean;
|
|
3085
3327
|
cells: Cell[];
|
|
3086
3328
|
outlineLevel?: number;
|
|
3087
3329
|
collapsed?: boolean;
|
|
@@ -3298,6 +3540,8 @@ declare class XlsxWorkbook {
|
|
|
3298
3540
|
private readonly _fetchImage;
|
|
3299
3541
|
private resourcePolicy;
|
|
3300
3542
|
private math;
|
|
3543
|
+
private threeD;
|
|
3544
|
+
private regionMap;
|
|
3301
3545
|
private googleFontNames;
|
|
3302
3546
|
private readonly retainedFontSets;
|
|
3303
3547
|
private fontsDestroyed;
|
|
@@ -3599,6 +3843,7 @@ declare class XlsxViewerEngine implements ZoomableViewer {
|
|
|
3599
3843
|
private setBandHidden;
|
|
3600
3844
|
private recordSizeOverride;
|
|
3601
3845
|
private wireSizeOverrides;
|
|
3846
|
+
private syncAutomaticRowOverrides;
|
|
3602
3847
|
private setBandCollapsed;
|
|
3603
3848
|
private afterOutlineMutation;
|
|
3604
3849
|
private buildOutlineLayoutOnly;
|
|
@@ -3642,6 +3887,7 @@ declare class XlsxViewerEngine implements ZoomableViewer {
|
|
|
3642
3887
|
private getHeaderHit;
|
|
3643
3888
|
private getResizeTarget;
|
|
3644
3889
|
private applyResize;
|
|
3890
|
+
private refitAutoRowsAfterColumnResize;
|
|
3645
3891
|
setSelectionColor(color: string): void;
|
|
3646
3892
|
setHiddenSheetMode(mode: HiddenSheetMode): Promise<void>;
|
|
3647
3893
|
get hiddenSheetMode(): HiddenSheetMode;
|
|
@@ -3765,7 +4011,7 @@ declare class XlsxSheetViewer implements ZoomableViewer {
|
|
|
3765
4011
|
}
|
|
3766
4012
|
declare function resolveSharedStrings(ws: Worksheet, sharedStrings: SharedString[]): Worksheet;
|
|
3767
4013
|
declare namespace xlsx_d_exports {
|
|
3768
|
-
export { ArrowEnd, AutoResizeOptions, Border, BorderEdge, Cell, CellAddress, CellFill, CellFont, CellValue, CellXf, CfIcon, CfRule, CfStop, CfValue, ChartAnchor, ChartDataLabelOverride, ChartDataPointOverride, ChartErrBars, ChartExElementStyle, ChartLabelBox, ChartManualLayout, ChartModel, ChartRect, ChartSeries, ChartSeriesDataLabels, ChartTextBox, ChartTextParagraph, ChartTextRun, ChartTrendline, ChartType, ChartexBoxSeries, ChartexBoxWhisker, ChartexSunburst, ChartexSunburstRow, ChartexTreemap, 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 };
|
|
4014
|
+
export { ArrowEnd, AutoResizeOptions, Border, BorderEdge, Cell, CellAddress, CellFill, CellFont, CellValue, CellXf, CfIcon, CfRule, CfStop, CfValue, ChartAnchor, ChartDataLabelOverride, ChartDataPointOverride, ChartDisplayUnits, ChartDisplayUnitsLabel, ChartErrBars, ChartExElementStyle, ChartLabelBox, ChartManualLayout, ChartModel, ChartOfPie, ChartRect, ChartRegionMapRenderer, ChartSeries, ChartSeriesDataLabels, ChartStockBarPaint, ChartStockUpDownBarStyle, 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 };
|
|
3769
4015
|
}
|
|
3770
4016
|
//#endregion
|
|
3771
4017
|
export { docx_d_exports as docx, pptx_d_exports as pptx, xlsx_d_exports as xlsx };
|
package/dist/types/math.d.ts
CHANGED