@silurus/ooxml 0.86.1 → 0.88.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 +42 -2
- package/dist/assets/render-worker-1uPAxMZr.js +31 -0
- package/dist/assets/render-worker-BlvJybji.js +10 -0
- package/dist/assets/render-worker-CzmiJfFL.js +11 -0
- package/dist/{canvas-viewer-mechanics-DN5SqWGS.js → canvas-viewer-mechanics-DbLz0rYW.js} +75 -66
- package/dist/chart-ex.mjs +581 -616
- package/dist/cjk-fallback-bLI3z70h.js +46 -0
- package/dist/comment-ui-runtime-BsK8pmUT.js +2 -0
- package/dist/{comment-ui-runtime-lXwVOgjW.js → comment-ui-runtime-CWGqn5Vr.js} +5 -5
- package/dist/{comment-ui-runtime-DEtgcmj7.js → comment-ui-runtime-DcJOYlw-.js} +5 -5
- package/dist/{comments-CAn2A_Xh.js → comments-Diid5ujN.js} +1 -1
- package/dist/{document-pull-client-uopDjRde.js → document-pull-client-B9PTM-pL.js} +4693 -4621
- package/dist/{docx-wPzeF76A.js → docx-BF9WXrYH.js} +503 -388
- package/dist/docx.mjs +6 -6
- package/dist/docx_parser_bg.wasm +0 -0
- package/dist/{dom-interaction-boundary-CswB9Tzi.js → dom-interaction-boundary-Cnm8DSBN.js} +22 -19
- package/dist/{hyperlink-BR1NCO7S.js → hyperlink-Cxzhet30.js} +842 -829
- package/dist/index.mjs +3 -3
- package/dist/{line-distribute-IsUGfHXm.js → line-distribute-D1WNHKz_.js} +2 -2
- package/dist/math.mjs +2 -2
- package/dist/node.mjs +356 -352
- package/dist/plot-area-frame-DLTYKHNP.js +4354 -0
- package/dist/{pptx-BxJ_RBSY.js → pptx-DkyYBYoL.js} +444 -435
- package/dist/pptx.mjs +7 -7
- package/dist/pptx_parser_bg.wasm +0 -0
- package/dist/region-map.mjs +5 -5
- package/dist/{render-DEiun_AH.js → render-D3iqVKCo.js} +31 -29
- package/dist/{render-worker-host-Ba6Fchqr.js → render-worker-host-B5wQfB7U.js} +1 -1
- package/dist/{render-worker-host-BEfLZvSL.js → render-worker-host-D4123J27.js} +1 -1
- package/dist/{render-worker-host-C3xwtHnv.js → render-worker-host-Di3LxLc0.js} +1 -1
- package/dist/renderer-B4GZb5We.js +6492 -0
- package/dist/{resource-measurement-CclArDRs.js → resource-measurement-SHQCbkh2.js} +3 -3
- package/dist/{session-BuJL_xcp.js → session-BGq81gRQ.js} +98 -98
- package/dist/{slide-pull-client-Ck8wfRT_.js → slide-pull-client-DiPnm240.js} +767 -738
- package/dist/{three-d-YYghQndN.js → three-d-DJBl8g8M.js} +251 -435
- package/dist/three-d.mjs +998 -906
- package/dist/tiff.mjs +2 -2
- package/dist/types/chart-ex.d.ts +142 -4
- package/dist/types/docx.d.ts +155 -13
- package/dist/types/index.d.ts +131 -19
- package/dist/types/math.d.ts +1 -1
- package/dist/types/node.d.ts +120 -8
- package/dist/types/pptx.d.ts +123 -13
- package/dist/types/region-map.d.ts +142 -4
- package/dist/types/three-d.d.ts +142 -4
- package/dist/types/tiff.d.ts +1 -1
- package/dist/types/xlsx.d.ts +155 -13
- package/dist/{worksheet-pull-client-CAvuf22q.js → worksheet-pull-client-BM8ywvbu.js} +51 -51
- package/dist/{xlsx-Bblm5r1h.js → xlsx-C9NVjgaV.js} +1592 -1564
- package/dist/xlsx.mjs +6 -6
- package/dist/xlsx_parser_bg.wasm +0 -0
- package/package.json +1 -1
- package/dist/assets/render-worker-D21h5TGR.js +0 -10
- package/dist/assets/render-worker-Dsfekaht.js +0 -11
- package/dist/assets/render-worker-DxU7IrKo.js +0 -31
- package/dist/comment-ui-runtime-TLHustXJ.js +0 -2
- package/dist/plot-area-frame-D5hEOgkJ.js +0 -2903
- package/dist/renderer-XFSCOT6m.js +0 -5857
- /package/dist/{bounded-raw-part-cache-BfbSxRIL.js → bounded-raw-part-cache-Cg1BsSZQ.js} +0 -0
- /package/dist/{comment-occurrence-CqejEuts.js → comment-occurrence-C8Y2uoVr.js} +0 -0
- /package/dist/{delimited-text-worker-host-DcHj_JZt.js → delimited-text-worker-host-BVY-Ecni.js} +0 -0
- /package/dist/{highlight-rect-FuUSmL3a.js → highlight-rect-C5hkRqUr.js} +0 -0
- /package/dist/{line-metrics-CBbw80Ko.js → line-metrics-B60C86uh.js} +0 -0
- /package/dist/{mathjax-DS69BmJd.js → mathjax-DoyWZbSp.js} +0 -0
- /package/dist/{pixel-budget-Dgjw269h.js → pixel-budget-9P63Bsk5.js} +0 -0
- /package/dist/{read-only-comment-decoration-BTnWEeo5.js → read-only-comment-decoration-Dz7eTQ4d.js} +0 -0
- /package/dist/{read-only-comment-margin-plStyGfE.js → read-only-comment-margin-DkgzASAl.js} +0 -0
- /package/dist/{renderer-module-contract-Cu-GKuPd.js → renderer-module-contract-D91rkYHH.js} +0 -0
- /package/dist/{source-key-Ktb1GRE5.js → source-key-DIJG8BA0.js} +0 -0
- /package/dist/{transfer-mIj7E7NB.js → transfer-p6iCC2R7.js} +0 -0
- /package/dist/{units-EJdC96r6.js → units-BzZ0gAxs.js} +0 -0
- /package/dist/{visible-index-DPoQYSDt.js → visible-index-BgiHEc1z.js} +0 -0
package/dist/types/node.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region dist/.types-work/chart-
|
|
1
|
+
//#region dist/.types-work/chart-BtUu4_7Y.d.ts
|
|
2
2
|
type MathStyle = 'roman' | 'italic' | 'bold' | 'boldItalic';
|
|
3
3
|
interface MathRun {
|
|
4
4
|
kind: 'run';
|
|
@@ -416,7 +416,9 @@ interface ChartSeries {
|
|
|
416
416
|
markerFill?: string | null;
|
|
417
417
|
markerFillPaint?: Fill | null;
|
|
418
418
|
markerFillPaintAuthored?: boolean | null;
|
|
419
|
+
markerStyle?: ChartExElementStyle | null;
|
|
419
420
|
markerLine?: string | null;
|
|
421
|
+
markerLinePaintAuthored?: boolean | null;
|
|
420
422
|
markerLineWidthEmu?: number | null;
|
|
421
423
|
dataPointOverrides?: ChartDataPointOverride[] | null;
|
|
422
424
|
dataLabelOverrides?: ChartDataLabelOverride[] | null;
|
|
@@ -430,6 +432,7 @@ interface ChartSeries {
|
|
|
430
432
|
lineHidden?: boolean | null;
|
|
431
433
|
}
|
|
432
434
|
interface ChartTrendline {
|
|
435
|
+
style?: ChartExElementStyle | null;
|
|
433
436
|
name?: string | null;
|
|
434
437
|
trendlineType: string;
|
|
435
438
|
order?: number | null;
|
|
@@ -468,6 +471,7 @@ interface ChartTrendline {
|
|
|
468
471
|
lineWidthEmu?: number | null;
|
|
469
472
|
lineDash?: string | null;
|
|
470
473
|
lineHidden?: boolean | null;
|
|
474
|
+
linePaintAuthored?: boolean | null;
|
|
471
475
|
}
|
|
472
476
|
interface ChartDataPointOverride {
|
|
473
477
|
idx: number;
|
|
@@ -483,7 +487,9 @@ interface ChartDataPointOverride {
|
|
|
483
487
|
markerFill?: string;
|
|
484
488
|
markerFillPaint?: Fill | null;
|
|
485
489
|
markerFillPaintAuthored?: boolean | null;
|
|
490
|
+
markerStyle?: ChartExElementStyle | null;
|
|
486
491
|
markerLine?: string;
|
|
492
|
+
markerLinePaintAuthored?: boolean | null;
|
|
487
493
|
markerLineWidthEmu?: number;
|
|
488
494
|
bubble3D?: boolean | null;
|
|
489
495
|
explosion?: number;
|
|
@@ -525,8 +531,12 @@ interface ChartDataLabelOverride {
|
|
|
525
531
|
deleted?: boolean;
|
|
526
532
|
}
|
|
527
533
|
interface ChartLabelBox {
|
|
534
|
+
style?: ChartExElementStyle | null;
|
|
535
|
+
effectFallbackStyle?: ChartExElementStyle | null;
|
|
536
|
+
effectStyleIndex?: number;
|
|
537
|
+
effectFallbackIndex?: number;
|
|
528
538
|
fill?: string;
|
|
529
|
-
fillPaint?:
|
|
539
|
+
fillPaint?: Fill | null;
|
|
530
540
|
fillHidden?: boolean | null;
|
|
531
541
|
fillPaintAuthored?: boolean | null;
|
|
532
542
|
borderColor?: string;
|
|
@@ -577,8 +587,11 @@ interface ChartSeriesDataLabels {
|
|
|
577
587
|
leaderLineWidthEmu?: number;
|
|
578
588
|
leaderLineHidden?: boolean;
|
|
579
589
|
leaderLineDash?: string;
|
|
590
|
+
leaderLinePaintAuthored?: boolean | null;
|
|
591
|
+
leaderLineStyle?: ChartExElementStyle | null;
|
|
580
592
|
}
|
|
581
593
|
interface ChartErrBars {
|
|
594
|
+
style?: ChartExElementStyle | null;
|
|
582
595
|
dir: string;
|
|
583
596
|
barType: string;
|
|
584
597
|
plus: (number | null)[];
|
|
@@ -588,6 +601,7 @@ interface ChartErrBars {
|
|
|
588
601
|
lineWidthEmu?: number;
|
|
589
602
|
dash?: string;
|
|
590
603
|
hidden?: boolean;
|
|
604
|
+
linePaintAuthored?: boolean | null;
|
|
591
605
|
}
|
|
592
606
|
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;
|
|
593
607
|
type ChartPlotGroupKind = 'area' | 'area3D' | 'line' | 'line3D' | 'stock' | 'radar' | 'scatter' | 'pie' | 'pie3D' | 'doughnut' | 'bar' | 'bar3D' | 'ofPie' | 'surface' | 'surface3D' | 'bubble';
|
|
@@ -604,6 +618,7 @@ interface ChartPlotGroup {
|
|
|
604
618
|
barDirection?: string | null;
|
|
605
619
|
scatterStyle?: string | null;
|
|
606
620
|
radarStyle?: string | null;
|
|
621
|
+
varyColors?: boolean | null;
|
|
607
622
|
gapWidth?: number | null;
|
|
608
623
|
overlap?: number | null;
|
|
609
624
|
bubbleScale?: number | null;
|
|
@@ -612,10 +627,16 @@ interface ChartPlotGroup {
|
|
|
612
627
|
}
|
|
613
628
|
type ChartLineDashSegment = DrawingMLCustomDashSegment;
|
|
614
629
|
interface ChartExElementStyle {
|
|
630
|
+
shapePropertiesPresent?: boolean | null;
|
|
631
|
+
allowNoFillOverride?: boolean | null;
|
|
632
|
+
allowNoLineOverride?: boolean | null;
|
|
615
633
|
fontSizeHpt?: number | null;
|
|
616
634
|
fontBold?: boolean | null;
|
|
617
635
|
fontItalic?: boolean | null;
|
|
618
636
|
fontColor?: string | null;
|
|
637
|
+
fontColors?: Array<string | null> | null;
|
|
638
|
+
fontColorIndex?: number | null;
|
|
639
|
+
fontFormattingIndices?: number[] | null;
|
|
619
640
|
fontPaintAuthored?: boolean | null;
|
|
620
641
|
fontHidden?: boolean | null;
|
|
621
642
|
fontFace?: string | null;
|
|
@@ -647,8 +668,22 @@ interface ChartExElementStyle {
|
|
|
647
668
|
lineCap?: string | null;
|
|
648
669
|
lineJoin?: string | null;
|
|
649
670
|
lineCompound?: string | null;
|
|
671
|
+
shadows?: Array<Shadow | null> | null;
|
|
672
|
+
innerShadows?: Array<Shadow | null> | null;
|
|
673
|
+
glows?: Array<Glow | null> | null;
|
|
674
|
+
softEdges?: Array<SoftEdge | null> | null;
|
|
675
|
+
reflections?: Array<Reflection | null> | null;
|
|
676
|
+
effectAuthored?: boolean | null;
|
|
677
|
+
effectNoStyle?: boolean | null;
|
|
678
|
+
effectUnsupported?: boolean | null;
|
|
650
679
|
fillColorIndex?: number | null;
|
|
680
|
+
fillFormattingIndices?: number[] | null;
|
|
681
|
+
fillSemanticFallbackIndices?: number[] | null;
|
|
651
682
|
lineColorIndex?: number | null;
|
|
683
|
+
lineFormattingIndices?: number[] | null;
|
|
684
|
+
lineSemanticFallbackIndices?: number[] | null;
|
|
685
|
+
effectFormattingIndices?: number[] | null;
|
|
686
|
+
effectColorIndex?: number | null;
|
|
652
687
|
}
|
|
653
688
|
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';
|
|
654
689
|
interface ChartSurfaceBandFormat {
|
|
@@ -660,7 +695,12 @@ interface ChartSurfaceBandFormat {
|
|
|
660
695
|
lineWidthEmu?: number | null;
|
|
661
696
|
lineHidden?: boolean | null;
|
|
662
697
|
}
|
|
698
|
+
interface ChartClassicSurfaceBandStyles {
|
|
699
|
+
fixed?: ChartExElementStyle | null;
|
|
700
|
+
byBandCount?: Array<ChartExElementStyle | null> | null;
|
|
701
|
+
}
|
|
663
702
|
interface ChartDataTable {
|
|
703
|
+
style?: ChartExElementStyle | null;
|
|
664
704
|
showHorizontalBorder: boolean;
|
|
665
705
|
showVerticalBorder: boolean;
|
|
666
706
|
showOutline: boolean;
|
|
@@ -668,6 +708,8 @@ interface ChartDataTable {
|
|
|
668
708
|
fontSizeHpt?: number | null;
|
|
669
709
|
fontFace?: string | null;
|
|
670
710
|
fontColor?: string | null;
|
|
711
|
+
fontPaintAuthored?: boolean | null;
|
|
712
|
+
fontHidden?: boolean | null;
|
|
671
713
|
fontBold?: boolean | null;
|
|
672
714
|
fontItalic?: boolean | null;
|
|
673
715
|
fillColor?: string | null;
|
|
@@ -678,6 +720,7 @@ interface ChartDataTable {
|
|
|
678
720
|
lineWidthEmu?: number | null;
|
|
679
721
|
lineDash?: string | null;
|
|
680
722
|
lineHidden?: boolean | null;
|
|
723
|
+
linePaintAuthored?: boolean | null;
|
|
681
724
|
}
|
|
682
725
|
interface ChartModel {
|
|
683
726
|
chartType: ChartType;
|
|
@@ -690,6 +733,19 @@ interface ChartModel {
|
|
|
690
733
|
series: ChartSeries[];
|
|
691
734
|
plotGroups?: ChartPlotGroup[] | null;
|
|
692
735
|
chartTextBoxes?: ChartTextBox[] | null;
|
|
736
|
+
chartTextStyle?: ChartExElementStyle | null;
|
|
737
|
+
chartAreaStyle?: ChartExElementStyle | null;
|
|
738
|
+
plotAreaStyle?: ChartExElementStyle | null;
|
|
739
|
+
legendStyle?: ChartExElementStyle | null;
|
|
740
|
+
titleStyle?: ChartExElementStyle | null;
|
|
741
|
+
catAxisStyle?: ChartExElementStyle | null;
|
|
742
|
+
valAxisStyle?: ChartExElementStyle | null;
|
|
743
|
+
catAxisTitleStyle?: ChartExElementStyle | null;
|
|
744
|
+
valAxisTitleStyle?: ChartExElementStyle | null;
|
|
745
|
+
catAxisMajorGridlineStyle?: ChartExElementStyle | null;
|
|
746
|
+
catAxisMinorGridlineStyle?: ChartExElementStyle | null;
|
|
747
|
+
valAxisMajorGridlineStyle?: ChartExElementStyle | null;
|
|
748
|
+
valAxisMinorGridlineStyle?: ChartExElementStyle | null;
|
|
693
749
|
varyColors?: boolean | null;
|
|
694
750
|
showDataLabels: boolean;
|
|
695
751
|
valMin: number | null;
|
|
@@ -734,13 +790,19 @@ interface ChartModel {
|
|
|
734
790
|
catAxisMinorTickMark?: 'cross' | 'out' | 'in' | 'none' | string | null;
|
|
735
791
|
titleFontSizeHpt: number | null;
|
|
736
792
|
titleFontColor: string | null;
|
|
793
|
+
titleFontPaintAuthored?: boolean | null;
|
|
737
794
|
titleFontFace: string | null;
|
|
738
795
|
catAxisFontSizeHpt: number | null;
|
|
739
796
|
valAxisFontSizeHpt: number | null;
|
|
740
797
|
catAxisFontColor?: string | null;
|
|
798
|
+
catAxisFontPaintAuthored?: boolean | null;
|
|
741
799
|
valAxisFontColor?: string | null;
|
|
800
|
+
valAxisFontPaintAuthored?: boolean | null;
|
|
742
801
|
dataLabelFontSizeHpt: number | null;
|
|
743
802
|
dataLabelFontBold?: boolean | null;
|
|
803
|
+
dataLabelFontItalic?: boolean | null;
|
|
804
|
+
dataLabelFontLanguage?: string | null;
|
|
805
|
+
dataLabelFontBaseline?: number | null;
|
|
744
806
|
subtotalIndices: number[];
|
|
745
807
|
legendManualLayout?: LegendManualLayout | null;
|
|
746
808
|
valAxisFormatCode?: string | null;
|
|
@@ -750,8 +812,12 @@ interface ChartModel {
|
|
|
750
812
|
barOverlap?: number | null;
|
|
751
813
|
dataLabelPosition?: string | null;
|
|
752
814
|
dataLabelFontColor?: string | null;
|
|
815
|
+
dataLabelFontPaintAuthored?: boolean | null;
|
|
753
816
|
dataLabelFormatCode?: string | null;
|
|
754
817
|
titleFontBold?: boolean | null;
|
|
818
|
+
titleFontItalic?: boolean | null;
|
|
819
|
+
titleFontLanguage?: string | null;
|
|
820
|
+
titleFontBaseline?: number | null;
|
|
755
821
|
catAxisFontBold?: boolean | null;
|
|
756
822
|
catAxisFontItalic?: boolean | null;
|
|
757
823
|
valAxisFontBold?: boolean | null;
|
|
@@ -760,6 +826,7 @@ interface ChartModel {
|
|
|
760
826
|
catAxisTitleFontBold?: boolean | null;
|
|
761
827
|
catAxisTitleFontItalic?: boolean | null;
|
|
762
828
|
catAxisTitleFontColor?: string | null;
|
|
829
|
+
catAxisTitleFontPaintAuthored?: boolean | null;
|
|
763
830
|
catAxisTitleRotation?: number | null;
|
|
764
831
|
catAxisTitleVerticalMode?: 'horz' | 'vert' | 'vert270' | 'wordArtVert' | 'eaVert' | 'mongolianVert' | 'wordArtVertRtl' | null;
|
|
765
832
|
catAxisTitleManualLayout?: ChartManualLayout | null;
|
|
@@ -768,6 +835,7 @@ interface ChartModel {
|
|
|
768
835
|
valAxisTitleFontBold?: boolean | null;
|
|
769
836
|
valAxisTitleFontItalic?: boolean | null;
|
|
770
837
|
valAxisTitleFontColor?: string | null;
|
|
838
|
+
valAxisTitleFontPaintAuthored?: boolean | null;
|
|
771
839
|
valAxisTitleRotation?: number | null;
|
|
772
840
|
valAxisTitleVerticalMode?: 'horz' | 'vert' | 'vert270' | 'wordArtVert' | 'eaVert' | 'mongolianVert' | 'wordArtVertRtl' | null;
|
|
773
841
|
valAxisTitleManualLayout?: ChartManualLayout | null;
|
|
@@ -779,8 +847,12 @@ interface ChartModel {
|
|
|
779
847
|
dataLabelFontFace?: string | null;
|
|
780
848
|
legendFontFace?: string | null;
|
|
781
849
|
legendFontColor?: string | null;
|
|
850
|
+
legendFontPaintAuthored?: boolean | null;
|
|
782
851
|
legendFontSizeHpt?: number | null;
|
|
783
852
|
legendFontBold?: boolean | null;
|
|
853
|
+
legendFontItalic?: boolean | null;
|
|
854
|
+
legendFontLanguage?: string | null;
|
|
855
|
+
legendFontBaseline?: number | null;
|
|
784
856
|
legendFillColor?: string | null;
|
|
785
857
|
legendFill?: Fill | null;
|
|
786
858
|
legendFillHidden?: boolean | null;
|
|
@@ -826,6 +898,7 @@ interface ChartModel {
|
|
|
826
898
|
catAxisMax?: number | null;
|
|
827
899
|
titleManualLayout?: ChartManualLayout | null;
|
|
828
900
|
plotAreaManualLayout?: ChartManualLayout | null;
|
|
901
|
+
cartesianAutoLayoutProfile?: 'wordClassicColumn' | null;
|
|
829
902
|
scatterStyle?: string | null;
|
|
830
903
|
bubbleScale?: number | null;
|
|
831
904
|
bubbleSizeRepresents?: 'area' | 'w' | null;
|
|
@@ -843,17 +916,21 @@ interface ChartModel {
|
|
|
843
916
|
valAxisGridlineColor?: string | null;
|
|
844
917
|
valAxisGridlineWidthEmu?: number | null;
|
|
845
918
|
valAxisGridlineDash?: string | null;
|
|
919
|
+
valAxisGridlinePaintAuthored?: boolean | null;
|
|
846
920
|
catAxisGridlineColor?: string | null;
|
|
847
921
|
catAxisGridlineWidthEmu?: number | null;
|
|
848
922
|
catAxisGridlineDash?: string | null;
|
|
923
|
+
catAxisGridlinePaintAuthored?: boolean | null;
|
|
849
924
|
valAxisMinorGridlines?: boolean | null;
|
|
850
925
|
valAxisMinorGridlineColor?: string | null;
|
|
851
926
|
valAxisMinorGridlineWidthEmu?: number | null;
|
|
852
927
|
valAxisMinorGridlineDash?: string | null;
|
|
928
|
+
valAxisMinorGridlinePaintAuthored?: boolean | null;
|
|
853
929
|
catAxisMinorGridlines?: boolean | null;
|
|
854
930
|
catAxisMinorGridlineColor?: string | null;
|
|
855
931
|
catAxisMinorGridlineWidthEmu?: number | null;
|
|
856
932
|
catAxisMinorGridlineDash?: string | null;
|
|
933
|
+
catAxisMinorGridlinePaintAuthored?: boolean | null;
|
|
857
934
|
valAxisMajorUnit?: number | null;
|
|
858
935
|
valAxisMinorUnit?: number | null;
|
|
859
936
|
catAxisMajorUnit?: number | null;
|
|
@@ -904,6 +981,13 @@ interface ChartModel {
|
|
|
904
981
|
chartexColorPalette?: Array<string | null> | null;
|
|
905
982
|
chartexColorStyleMethod?: string | null;
|
|
906
983
|
chartStyleRoles?: Partial<Record<ChartStyleRole, ChartExElementStyle>> | null;
|
|
984
|
+
classicChartStyleRoles?: Partial<Record<ChartStyleRole, ChartExElementStyle>> | null;
|
|
985
|
+
classicSurfaceBandStyles?: ChartClassicSurfaceBandStyles | null;
|
|
986
|
+
linkedChartStyleRoles?: Partial<Record<ChartStyleRole, ChartExElementStyle>> | null;
|
|
987
|
+
classicVaryingPointChartStyleRoles?: Partial<Record<ChartStyleRole, ChartExElementStyle>> | null;
|
|
988
|
+
classicVaryingPointChartStyleRolesByGroup?: Array<Partial<Record<ChartStyleRole, ChartExElementStyle>> | null> | null;
|
|
989
|
+
varyingPointChartStyleRoles?: Partial<Record<ChartStyleRole, ChartExElementStyle>> | null;
|
|
990
|
+
varyingPointChartStyleRolesByGroup?: Array<Partial<Record<ChartStyleRole, ChartExElementStyle>> | null> | null;
|
|
907
991
|
chartStyleColorPalette?: Array<string | null> | null;
|
|
908
992
|
chartStyleColorMethod?: string | null;
|
|
909
993
|
chartStyleMarkerSizePt?: number | null;
|
|
@@ -917,8 +1001,9 @@ interface ChartModel {
|
|
|
917
1001
|
chartexConnectorLines?: boolean | null;
|
|
918
1002
|
}
|
|
919
1003
|
interface ChartStockBarPaint {
|
|
1004
|
+
style?: ChartExElementStyle | null;
|
|
920
1005
|
fillColor?: string | null;
|
|
921
|
-
fill?:
|
|
1006
|
+
fill?: Fill | null;
|
|
922
1007
|
fillPaintAuthored?: boolean | null;
|
|
923
1008
|
fillHidden?: boolean | null;
|
|
924
1009
|
lineColor?: string | null;
|
|
@@ -935,7 +1020,9 @@ interface ChartStockUpDownBarStyle {
|
|
|
935
1020
|
down: ChartStockBarPaint;
|
|
936
1021
|
}
|
|
937
1022
|
interface ChartDecorationLineStyle {
|
|
1023
|
+
style?: ChartExElementStyle | null;
|
|
938
1024
|
color?: string | null;
|
|
1025
|
+
fill?: SolidFill | GradientFill | PatternFill | null;
|
|
939
1026
|
paintAuthored?: boolean | null;
|
|
940
1027
|
widthEmu?: number | null;
|
|
941
1028
|
dash?: string | null;
|
|
@@ -967,6 +1054,7 @@ interface ChartOfPie {
|
|
|
967
1054
|
secondPieSizePercent: number;
|
|
968
1055
|
gapWidthPercent: number;
|
|
969
1056
|
seriesLines: boolean;
|
|
1057
|
+
seriesLineStyle?: ChartDecorationLineStyle | null;
|
|
970
1058
|
}
|
|
971
1059
|
interface ChartThreeDSurface {
|
|
972
1060
|
style?: ChartExElementStyle | null;
|
|
@@ -1012,6 +1100,10 @@ interface ChartThreeD {
|
|
|
1012
1100
|
backWall?: ChartThreeDSurface | null;
|
|
1013
1101
|
}
|
|
1014
1102
|
interface ChartThreeDSeriesAxis {
|
|
1103
|
+
style?: ChartExElementStyle | null;
|
|
1104
|
+
titleStyle?: ChartExElementStyle | null;
|
|
1105
|
+
majorGridlineStyle?: ChartExElementStyle | null;
|
|
1106
|
+
minorGridlineStyle?: ChartExElementStyle | null;
|
|
1015
1107
|
title?: string | null;
|
|
1016
1108
|
hidden: boolean;
|
|
1017
1109
|
orientation?: 'minMax' | 'maxMin' | string | null;
|
|
@@ -1021,6 +1113,7 @@ interface ChartThreeDSeriesAxis {
|
|
|
1021
1113
|
majorTickMark: string;
|
|
1022
1114
|
minorTickMark?: string | null;
|
|
1023
1115
|
fontColor?: string | null;
|
|
1116
|
+
fontPaintAuthored?: boolean | null;
|
|
1024
1117
|
fontSizeHpt?: number | null;
|
|
1025
1118
|
fontBold?: boolean | null;
|
|
1026
1119
|
fontItalic?: boolean | null;
|
|
@@ -1034,6 +1127,7 @@ interface ChartThreeDSeriesAxis {
|
|
|
1034
1127
|
titleFontBold?: boolean | null;
|
|
1035
1128
|
titleFontItalic?: boolean | null;
|
|
1036
1129
|
titleFontColor?: string | null;
|
|
1130
|
+
titleFontPaintAuthored?: boolean | null;
|
|
1037
1131
|
titleFontFace?: string | null;
|
|
1038
1132
|
titleRotation?: number | null;
|
|
1039
1133
|
titleVerticalMode?: ChartModel['catAxisTitleVerticalMode'];
|
|
@@ -1140,6 +1234,10 @@ interface ChartexHistogramBinning {
|
|
|
1140
1234
|
overflow?: number | null;
|
|
1141
1235
|
}
|
|
1142
1236
|
interface SecondaryValueAxis {
|
|
1237
|
+
style?: ChartExElementStyle | null;
|
|
1238
|
+
titleStyle?: ChartExElementStyle | null;
|
|
1239
|
+
majorGridlineStyle?: ChartExElementStyle | null;
|
|
1240
|
+
minorGridlineStyle?: ChartExElementStyle | null;
|
|
1143
1241
|
min: number | null;
|
|
1144
1242
|
max: number | null;
|
|
1145
1243
|
title: string | null;
|
|
@@ -1147,6 +1245,7 @@ interface SecondaryValueAxis {
|
|
|
1147
1245
|
formatCode?: string | null;
|
|
1148
1246
|
displayUnits?: ChartDisplayUnits | null;
|
|
1149
1247
|
fontColor?: string | null;
|
|
1248
|
+
fontPaintAuthored?: boolean | null;
|
|
1150
1249
|
fontSizeHpt?: number | null;
|
|
1151
1250
|
fontItalic?: boolean | null;
|
|
1152
1251
|
fontBold?: boolean | null;
|
|
@@ -1154,6 +1253,7 @@ interface SecondaryValueAxis {
|
|
|
1154
1253
|
lineColor?: string | null;
|
|
1155
1254
|
lineWidthEmu?: number | null;
|
|
1156
1255
|
lineDash?: string | null;
|
|
1256
|
+
linePaintAuthored?: boolean | null;
|
|
1157
1257
|
lineHidden: boolean;
|
|
1158
1258
|
majorTickMark: string;
|
|
1159
1259
|
minorTickMark?: string | null;
|
|
@@ -1161,10 +1261,12 @@ interface SecondaryValueAxis {
|
|
|
1161
1261
|
minorGridlineColor?: string | null;
|
|
1162
1262
|
minorGridlineWidthEmu?: number | null;
|
|
1163
1263
|
minorGridlineDash?: string | null;
|
|
1264
|
+
minorGridlinePaintAuthored?: boolean | null;
|
|
1164
1265
|
majorGridlines?: boolean;
|
|
1165
1266
|
majorGridlineColor?: string | null;
|
|
1166
1267
|
majorGridlineWidthEmu?: number | null;
|
|
1167
1268
|
majorGridlineDash?: string | null;
|
|
1269
|
+
majorGridlinePaintAuthored?: boolean | null;
|
|
1168
1270
|
majorUnit?: number | null;
|
|
1169
1271
|
minorUnit?: number | null;
|
|
1170
1272
|
logBase?: number | null;
|
|
@@ -1180,6 +1282,7 @@ interface SecondaryValueAxis {
|
|
|
1180
1282
|
titleFontBold?: boolean | null;
|
|
1181
1283
|
titleFontItalic?: boolean | null;
|
|
1182
1284
|
titleFontColor?: string | null;
|
|
1285
|
+
titleFontPaintAuthored?: boolean | null;
|
|
1183
1286
|
titleFontFace?: string | null;
|
|
1184
1287
|
titleRotation?: number | null;
|
|
1185
1288
|
titleVerticalMode?: 'horz' | 'vert' | 'vert270' | 'wordArtVert' | 'eaVert' | 'mongolianVert' | 'wordArtVertRtl' | null;
|
|
@@ -1197,6 +1300,8 @@ interface ChartDisplayUnitsLabel {
|
|
|
1197
1300
|
fontBold?: boolean | null;
|
|
1198
1301
|
fontItalic?: boolean | null;
|
|
1199
1302
|
fontColor?: string | null;
|
|
1303
|
+
fontPaintAuthored?: boolean | null;
|
|
1304
|
+
fontHidden?: boolean | null;
|
|
1200
1305
|
fontFace?: string | null;
|
|
1201
1306
|
rotation?: number | null;
|
|
1202
1307
|
boxStyle?: ChartLabelBox | null;
|
|
@@ -1229,9 +1334,12 @@ interface ChartLegendEntryOverride {
|
|
|
1229
1334
|
fontColor?: string | null;
|
|
1230
1335
|
fontSizeHpt?: number | null;
|
|
1231
1336
|
fontBold?: boolean | null;
|
|
1337
|
+
fontItalic?: boolean | null;
|
|
1232
1338
|
}
|
|
1233
1339
|
//#endregion
|
|
1234
|
-
//#region dist/.types-work/hyperlink-
|
|
1340
|
+
//#region dist/.types-work/hyperlink-BUVsH0z0.d.ts
|
|
1341
|
+
type CjkLang = 'kr' | 'sc' | 'tc' | 'hk' | 'jp';
|
|
1342
|
+
type CjkFallback = 'auto' | CjkLang;
|
|
1235
1343
|
type OoxmlErrorStage = 'container' | 'decompression' | 'parsing' | 'serialization' | 'layout' | 'rendering' | 'worker';
|
|
1236
1344
|
type OoxmlFormat = 'docx' | 'xlsx' | 'pptx';
|
|
1237
1345
|
interface OoxmlResourceUsageSnapshot {
|
|
@@ -1317,7 +1425,7 @@ type HyperlinkTarget = {
|
|
|
1317
1425
|
slideIndex?: number;
|
|
1318
1426
|
};
|
|
1319
1427
|
//#endregion
|
|
1320
|
-
//#region dist/.types-work/types-
|
|
1428
|
+
//#region dist/.types-work/types-fEjGozew.d.ts
|
|
1321
1429
|
interface DocxDocumentModel {
|
|
1322
1430
|
section: SectionProps;
|
|
1323
1431
|
body: BodyElement[];
|
|
@@ -2054,7 +2162,7 @@ interface DocxTextRunInfo {
|
|
|
2054
2162
|
eastAsianVert?: boolean;
|
|
2055
2163
|
}
|
|
2056
2164
|
//#endregion
|
|
2057
|
-
//#region dist/.types-work/types-
|
|
2165
|
+
//#region dist/.types-work/types-B8-0I5kb.d.ts
|
|
2058
2166
|
interface Paragraph extends Paragraph$1 {
|
|
2059
2167
|
eaLnBrk: boolean;
|
|
2060
2168
|
defTabSz?: number;
|
|
@@ -2304,7 +2412,7 @@ interface PictureElement {
|
|
|
2304
2412
|
sp3d?: Sp3d;
|
|
2305
2413
|
}
|
|
2306
2414
|
//#endregion
|
|
2307
|
-
//#region dist/.types-work/types-
|
|
2415
|
+
//#region dist/.types-work/types-VRdpmXrR.d.ts
|
|
2308
2416
|
type ShapeFill = Exclude<Fill, {
|
|
2309
2417
|
fillType: 'image';
|
|
2310
2418
|
} | {
|
|
@@ -3054,11 +3162,14 @@ declare function installImageBitmapShim(factory: NodeCanvasFactory): () => void;
|
|
|
3054
3162
|
declare function renderSlideNode(canvas: NodeCanvasLike, presentation: Presentation, slideIndex: number, opts?: {
|
|
3055
3163
|
width?: number;
|
|
3056
3164
|
dpr?: number;
|
|
3165
|
+
cjkFallback?: CjkFallback;
|
|
3057
3166
|
factory?: NodeCanvasFactory;
|
|
3058
3167
|
fetchImage?: (path: string, mimeType: string) => Promise<Blob>;
|
|
3059
3168
|
fetchMedia?: (path: string) => Promise<Blob>;
|
|
3060
3169
|
}): Promise<void>;
|
|
3061
|
-
type OpenPptxPresentationOptions = OoxmlNodeSessionOptions
|
|
3170
|
+
type OpenPptxPresentationOptions = OoxmlNodeSessionOptions & {
|
|
3171
|
+
cjkFallback?: CjkFallback;
|
|
3172
|
+
};
|
|
3062
3173
|
interface PptxSessionRenderOptions {
|
|
3063
3174
|
readonly width?: number;
|
|
3064
3175
|
readonly dpr?: number;
|
|
@@ -3078,6 +3189,7 @@ interface PptxPresentationSession extends AsyncIterable<Slide> {
|
|
|
3078
3189
|
declare function openPptxPresentation(buffer: ArrayBuffer | Uint8Array, options?: OpenPptxPresentationOptions): Promise<PptxPresentationSession>;
|
|
3079
3190
|
declare function materializePptxPresentation(buffer: ArrayBuffer | Uint8Array, options?: OpenPptxPresentationOptions): Promise<Presentation>;
|
|
3080
3191
|
interface OpenDocxDocumentOptions extends OoxmlNodeSessionOptions {
|
|
3192
|
+
cjkFallback?: CjkFallback;
|
|
3081
3193
|
factory: NodeCanvasFactory;
|
|
3082
3194
|
currentDate?: Date | number;
|
|
3083
3195
|
}
|