@silurus/ooxml 0.80.2 → 0.81.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 +57 -77
- package/dist/assets/render-worker-C2ACcLes.js +11 -0
- package/dist/assets/render-worker-Cx5uR77k.js +10 -0
- package/dist/assets/render-worker-DtU8oQZ7.js +24 -0
- package/dist/{canvas-viewer-mechanics-D-r6wHY_.js → canvas-viewer-mechanics-CqxKRGCp.js} +1 -1
- package/dist/chart-ex.mjs +1017 -0
- package/dist/{document-pull-client-Cukkyojh.js → document-pull-client-Ux4a_ax8.js} +4540 -4412
- package/dist/{docx-BlELeDNF.js → docx-SEyQ4gS-.js} +79 -75
- package/dist/docx.mjs +5 -4
- package/dist/docx_parser_bg.wasm +0 -0
- package/dist/index.mjs +3 -3
- package/dist/{line-distribute-Bvtp0Gt6.js → line-distribute-BBGvvwLt.js} +17 -16
- package/dist/{line-metrics-DdEJYxjx.js → line-metrics-Baz31mML.js} +663 -7488
- package/dist/math.mjs +29 -24
- package/dist/node.mjs +248 -247
- package/dist/plot-area-frame-Dg1VIpUU.js +3669 -0
- package/dist/{pptx-JBkXh6Cy.js → pptx-5lQrMvMR.js} +236 -232
- package/dist/pptx.mjs +6 -5
- package/dist/pptx_parser_bg.wasm +0 -0
- package/dist/region-map.mjs +102 -97
- package/dist/{render-CoqMHcbF.js → render-DEHjijQD.js} +1 -1
- package/dist/{render-worker-host-CM1JXVqg.js → render-worker-host-B1nbV_k7.js} +1 -1
- package/dist/{render-worker-host-DFtd9Z-J.js → render-worker-host-Bze5M6k5.js} +1 -1
- package/dist/{render-worker-host-Br7ZDyGE.js → render-worker-host-Dg_74V64.js} +1 -1
- package/dist/renderer-DuopJE1K.js +5855 -0
- package/dist/{renderer-module-contract-BNGz8HvO.js → renderer-module-contract-0bO_5SC0.js} +4 -3
- package/dist/{resource-measurement-CgMubiAI.js → resource-measurement-DRLp4nFt.js} +12 -11
- package/dist/{session-DkPblDiq.js → session-CNVc3VJ4.js} +8 -8
- package/dist/{slide-pull-client-m2blvngt.js → slide-pull-client-CzutXnGc.js} +888 -1082
- package/dist/three-d-BYiWCNlz.js +1345 -0
- package/dist/three-d.mjs +1238 -798
- package/dist/types/chart-ex.d.ts +949 -0
- package/dist/types/docx.d.ts +325 -18
- package/dist/types/index.d.ts +325 -26
- package/dist/types/math.d.ts +1 -1
- package/dist/types/node.d.ts +303 -14
- package/dist/types/pptx.d.ts +314 -22
- package/dist/types/region-map.d.ts +318 -6
- package/dist/types/three-d.d.ts +318 -6
- package/dist/types/xlsx.d.ts +317 -18
- package/dist/{worksheet-pull-client-BntP6RiO.js → worksheet-pull-client-Cxj3Ej0s.js} +19 -19
- package/dist/{xlsx-dhsUXUpX.js → xlsx-Bl3TIEVu.js} +1313 -1279
- package/dist/xlsx.mjs +6 -5
- package/dist/xlsx_parser_bg.wasm +0 -0
- package/package.json +7 -1
- package/dist/assets/render-worker-BD1_LaFD.js +0 -9
- package/dist/assets/render-worker-BIqMQFkZ.js +0 -8
- package/dist/assets/render-worker-DuvX4_li.js +0 -22
- package/dist/chart-number-format-qLhnk6hj.js +0 -475
- package/dist/three-d-C28kqDym.js +0 -1086
- /package/dist/{highlight-rect-BuX5rWP4.js → highlight-rect-BqcZMHUE.js} +0 -0
- /package/dist/{mathjax-DgAl7Yi5.js → mathjax-DJa-Q93p.js} +0 -0
- /package/dist/{transfer-CKZ79zFw.js → transfer-D0U6Uhn4.js} +0 -0
- /package/dist/{visible-index-BjesVGhg.js → visible-index-DbDuGMCE.js} +0 -0
package/dist/types/math.d.ts
CHANGED
package/dist/types/node.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region dist/.types-work/chart-
|
|
1
|
+
//#region dist/.types-work/chart-Cf9PF1Kz.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[];
|
|
@@ -367,18 +379,24 @@ interface ChartSeries {
|
|
|
367
379
|
automaticNegativeStyle?: boolean | null;
|
|
368
380
|
invertedFill?: SolidFill | GradientFill | PatternFill | null;
|
|
369
381
|
invertedFillHidden?: boolean | null;
|
|
382
|
+
invertedFillAuthored?: boolean | null;
|
|
370
383
|
invertedLineColor?: string | null;
|
|
371
384
|
invertedLineWidthEmu?: number | null;
|
|
372
385
|
invertedLineHidden?: boolean | null;
|
|
386
|
+
invertedLineAuthored?: boolean | null;
|
|
373
387
|
chartexStyle?: ChartExElementStyle | null;
|
|
374
388
|
lineColor?: string | null;
|
|
375
389
|
lineWidthEmu?: number | null;
|
|
376
390
|
threeDShape?: 'box' | 'cylinder' | 'cone' | 'coneToMax' | 'pyramid' | 'pyramidToMax' | string | null;
|
|
377
391
|
values: (number | null)[];
|
|
392
|
+
sourceHidden?: boolean[] | null;
|
|
378
393
|
dataPointColors?: (string | null)[] | null;
|
|
394
|
+
explosion?: number | null;
|
|
379
395
|
dataLabelColors?: (string | null)[] | null;
|
|
380
396
|
labelColor?: string | null;
|
|
381
397
|
seriesType?: string | null;
|
|
398
|
+
lineGroupIndex?: number | null;
|
|
399
|
+
areaGroupIndex?: number | null;
|
|
382
400
|
barGroupIndex?: number | null;
|
|
383
401
|
barGroupDirection?: 'bar' | 'col' | string | null;
|
|
384
402
|
barGroupGrouping?: 'standard' | 'clustered' | 'stacked' | 'percentStacked' | string | null;
|
|
@@ -386,14 +404,18 @@ interface ChartSeries {
|
|
|
386
404
|
barGroupOverlap?: number | null;
|
|
387
405
|
useSecondaryAxis?: boolean | null;
|
|
388
406
|
categories?: string[] | null;
|
|
407
|
+
bubbleXSourceIsString?: boolean | null;
|
|
389
408
|
showMarker?: boolean | null;
|
|
390
409
|
valFormatCode?: string | null;
|
|
391
410
|
catFormatCode?: string | null;
|
|
392
411
|
catFormatBuiltinId?: number | null;
|
|
393
412
|
catFormatCodes?: (string | null)[] | null;
|
|
394
413
|
markerSymbol?: string | null;
|
|
414
|
+
automaticMarkerSymbol?: string | null;
|
|
395
415
|
markerSize?: number | null;
|
|
396
416
|
markerFill?: string | null;
|
|
417
|
+
markerFillPaint?: Fill | null;
|
|
418
|
+
markerFillPaintAuthored?: boolean | null;
|
|
397
419
|
markerLine?: string | null;
|
|
398
420
|
markerLineWidthEmu?: number | null;
|
|
399
421
|
dataPointOverrides?: ChartDataPointOverride[] | null;
|
|
@@ -401,6 +423,8 @@ interface ChartSeries {
|
|
|
401
423
|
seriesDataLabels?: ChartSeriesDataLabels | null;
|
|
402
424
|
errBars?: ChartErrBars[] | null;
|
|
403
425
|
bubbleSizes?: (number | null)[] | null;
|
|
426
|
+
bubble3DGroupDefault?: boolean | null;
|
|
427
|
+
bubble3D?: boolean | null;
|
|
404
428
|
smooth?: boolean | null;
|
|
405
429
|
trendLines?: ChartTrendline[] | null;
|
|
406
430
|
lineHidden?: boolean | null;
|
|
@@ -417,13 +441,27 @@ interface ChartTrendline {
|
|
|
417
441
|
dispEq?: boolean | null;
|
|
418
442
|
labelManualLayout?: ChartManualLayout | null;
|
|
419
443
|
labelText?: string | null;
|
|
444
|
+
labelRichRuns?: ChartTextRun[] | null;
|
|
420
445
|
labelFormatCode?: string | null;
|
|
421
446
|
labelFormatSourceLinked?: boolean | null;
|
|
422
447
|
labelFontSizeHpt?: number | null;
|
|
423
448
|
labelFontBold?: boolean | null;
|
|
424
449
|
labelFontItalic?: boolean | null;
|
|
425
450
|
labelFontColor?: string | null;
|
|
451
|
+
labelFontPaintAuthored?: boolean | null;
|
|
452
|
+
labelFontHidden?: boolean | null;
|
|
426
453
|
labelFontFace?: string | null;
|
|
454
|
+
labelFontLanguage?: string | null;
|
|
455
|
+
labelFontBaseline?: number | null;
|
|
456
|
+
labelTextRotation?: number | null;
|
|
457
|
+
labelTextWrap?: string | null;
|
|
458
|
+
labelTextVerticalAnchor?: string | null;
|
|
459
|
+
labelTextVerticalMode?: string | null;
|
|
460
|
+
labelTextLInsEmu?: number | null;
|
|
461
|
+
labelTextTInsEmu?: number | null;
|
|
462
|
+
labelTextRInsEmu?: number | null;
|
|
463
|
+
labelTextBInsEmu?: number | null;
|
|
464
|
+
labelTextBodyAuthored?: boolean | null;
|
|
427
465
|
labelBox?: ChartLabelBox | null;
|
|
428
466
|
labelTextAlign?: string | null;
|
|
429
467
|
lineColor?: string | null;
|
|
@@ -435,6 +473,7 @@ interface ChartDataPointOverride {
|
|
|
435
473
|
idx: number;
|
|
436
474
|
color?: string;
|
|
437
475
|
fillHidden?: boolean;
|
|
476
|
+
chartexStyle?: ChartExElementStyle | null;
|
|
438
477
|
lineColor?: string;
|
|
439
478
|
lineWidthEmu?: number;
|
|
440
479
|
lineDash?: string;
|
|
@@ -442,8 +481,11 @@ interface ChartDataPointOverride {
|
|
|
442
481
|
markerSymbol?: string;
|
|
443
482
|
markerSize?: number;
|
|
444
483
|
markerFill?: string;
|
|
484
|
+
markerFillPaint?: Fill | null;
|
|
485
|
+
markerFillPaintAuthored?: boolean | null;
|
|
445
486
|
markerLine?: string;
|
|
446
487
|
markerLineWidthEmu?: number;
|
|
488
|
+
bubble3D?: boolean | null;
|
|
447
489
|
explosion?: number;
|
|
448
490
|
}
|
|
449
491
|
interface ChartDataLabelOverride {
|
|
@@ -452,9 +494,24 @@ interface ChartDataLabelOverride {
|
|
|
452
494
|
richRuns?: ChartTextRun[];
|
|
453
495
|
position?: string;
|
|
454
496
|
fontColor?: string;
|
|
497
|
+
fontPaintAuthored?: boolean;
|
|
498
|
+
fontHidden?: boolean;
|
|
455
499
|
fontSizeHpt?: number;
|
|
456
500
|
fontFace?: string;
|
|
457
501
|
fontBold?: boolean;
|
|
502
|
+
fontItalic?: boolean;
|
|
503
|
+
fontLanguage?: string;
|
|
504
|
+
fontBaseline?: number;
|
|
505
|
+
textRotation?: number;
|
|
506
|
+
textWrap?: string;
|
|
507
|
+
textVerticalAnchor?: string;
|
|
508
|
+
textVerticalMode?: string;
|
|
509
|
+
textLInsEmu?: number;
|
|
510
|
+
textTInsEmu?: number;
|
|
511
|
+
textRInsEmu?: number;
|
|
512
|
+
textBInsEmu?: number;
|
|
513
|
+
textBodyAuthored?: boolean;
|
|
514
|
+
textAlign?: 'l' | 'ctr' | 'r' | 'just' | 'dist' | string;
|
|
458
515
|
formatCode?: string;
|
|
459
516
|
separator?: string;
|
|
460
517
|
manualLayout?: ChartManualLayout;
|
|
@@ -463,29 +520,63 @@ interface ChartDataLabelOverride {
|
|
|
463
520
|
showCatName?: boolean;
|
|
464
521
|
showSerName?: boolean;
|
|
465
522
|
showPercent?: boolean;
|
|
523
|
+
showBubbleSize?: boolean;
|
|
524
|
+
showLegendKey?: boolean;
|
|
466
525
|
deleted?: boolean;
|
|
467
526
|
}
|
|
468
527
|
interface ChartLabelBox {
|
|
469
528
|
fill?: string;
|
|
529
|
+
fillPaint?: SolidFill | GradientFill | PatternFill | null;
|
|
530
|
+
fillHidden?: boolean | null;
|
|
531
|
+
fillPaintAuthored?: boolean | null;
|
|
470
532
|
borderColor?: string;
|
|
533
|
+
borderFill?: SolidFill | GradientFill | PatternFill | null;
|
|
471
534
|
borderWidthEmu?: number;
|
|
535
|
+
borderHidden?: boolean | null;
|
|
536
|
+
borderPaintAuthored?: boolean | null;
|
|
537
|
+
borderDash?: string | null;
|
|
538
|
+
borderDashAuthored?: boolean | null;
|
|
539
|
+
borderCustomDash?: ChartLineDashSegment[] | null;
|
|
540
|
+
borderCap?: string | null;
|
|
541
|
+
borderJoin?: string | null;
|
|
542
|
+
borderCompound?: string | null;
|
|
472
543
|
}
|
|
473
544
|
interface ChartSeriesDataLabels {
|
|
545
|
+
deleted?: boolean | null;
|
|
474
546
|
showVal: boolean;
|
|
475
547
|
showCatName: boolean;
|
|
476
548
|
showSerName: boolean;
|
|
477
549
|
showPercent: boolean;
|
|
550
|
+
showBubbleSize?: boolean;
|
|
551
|
+
showLegendKey?: boolean;
|
|
478
552
|
position?: string;
|
|
479
553
|
fontColor?: string;
|
|
554
|
+
fontPaintAuthored?: boolean;
|
|
555
|
+
fontHidden?: boolean;
|
|
480
556
|
formatCode?: string;
|
|
481
557
|
separator?: string;
|
|
482
558
|
fontBold?: boolean;
|
|
559
|
+
fontItalic?: boolean;
|
|
560
|
+
fontLanguage?: string;
|
|
561
|
+
fontBaseline?: number;
|
|
483
562
|
fontSizeHpt?: number;
|
|
484
563
|
fontFace?: string;
|
|
564
|
+
textRotation?: number;
|
|
565
|
+
textWrap?: string;
|
|
566
|
+
textVerticalAnchor?: string;
|
|
567
|
+
textVerticalMode?: string;
|
|
568
|
+
textLInsEmu?: number;
|
|
569
|
+
textTInsEmu?: number;
|
|
570
|
+
textRInsEmu?: number;
|
|
571
|
+
textBInsEmu?: number;
|
|
572
|
+
textBodyAuthored?: boolean;
|
|
573
|
+
textAlign?: 'l' | 'ctr' | 'r' | 'just' | 'dist' | string;
|
|
485
574
|
labelBox?: ChartLabelBox;
|
|
486
575
|
showLeaderLines?: boolean;
|
|
487
576
|
leaderLineColor?: string;
|
|
488
577
|
leaderLineWidthEmu?: number;
|
|
578
|
+
leaderLineHidden?: boolean;
|
|
579
|
+
leaderLineDash?: string;
|
|
489
580
|
}
|
|
490
581
|
interface ChartErrBars {
|
|
491
582
|
dir: string;
|
|
@@ -496,25 +587,73 @@ interface ChartErrBars {
|
|
|
496
587
|
color?: string;
|
|
497
588
|
lineWidthEmu?: number;
|
|
498
589
|
dash?: string;
|
|
590
|
+
hidden?: boolean;
|
|
499
591
|
}
|
|
500
592
|
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
|
+
type ChartPlotGroupKind = 'area' | 'area3D' | 'line' | 'line3D' | 'stock' | 'radar' | 'scatter' | 'pie' | 'pie3D' | 'doughnut' | 'bar' | 'bar3D' | 'ofPie' | 'surface' | 'surface3D' | 'bubble';
|
|
594
|
+
type ChartPlotGroupAxisSlot = 'primary' | 'secondary' | 'none' | 'unresolved';
|
|
595
|
+
interface ChartPlotGroup {
|
|
596
|
+
kind: ChartPlotGroupKind;
|
|
597
|
+
seriesStart: number;
|
|
598
|
+
seriesCount: number;
|
|
599
|
+
categoryAxis: ChartPlotGroupAxisSlot;
|
|
600
|
+
valueAxis: ChartPlotGroupAxisSlot;
|
|
601
|
+
seriesAxis: ChartPlotGroupAxisSlot;
|
|
602
|
+
axisIds?: string[] | null;
|
|
603
|
+
grouping?: string | null;
|
|
604
|
+
barDirection?: string | null;
|
|
605
|
+
scatterStyle?: string | null;
|
|
606
|
+
radarStyle?: string | null;
|
|
607
|
+
gapWidth?: number | null;
|
|
608
|
+
overlap?: number | null;
|
|
609
|
+
bubbleScale?: number | null;
|
|
610
|
+
bubbleSizeRepresents?: 'area' | 'w' | null;
|
|
611
|
+
showNegativeBubbles?: boolean | null;
|
|
612
|
+
}
|
|
613
|
+
type ChartLineDashSegment = DrawingMLCustomDashSegment;
|
|
501
614
|
interface ChartExElementStyle {
|
|
502
|
-
|
|
615
|
+
fontSizeHpt?: number | null;
|
|
616
|
+
fontBold?: boolean | null;
|
|
617
|
+
fontItalic?: boolean | null;
|
|
618
|
+
fontColor?: string | null;
|
|
619
|
+
fontPaintAuthored?: boolean | null;
|
|
620
|
+
fontHidden?: boolean | null;
|
|
621
|
+
fontFace?: string | null;
|
|
622
|
+
fontLanguage?: string | null;
|
|
623
|
+
fontBaseline?: number | null;
|
|
624
|
+
textRotation?: number | null;
|
|
625
|
+
textWrap?: string | null;
|
|
626
|
+
textVerticalAnchor?: string | null;
|
|
627
|
+
textVerticalMode?: string | null;
|
|
628
|
+
textLInsEmu?: number | null;
|
|
629
|
+
textTInsEmu?: number | null;
|
|
630
|
+
textRInsEmu?: number | null;
|
|
631
|
+
textBInsEmu?: number | null;
|
|
632
|
+
textBodyAuthored?: boolean | null;
|
|
633
|
+
fillPaints?: Array<Fill | null> | null;
|
|
503
634
|
fillColors?: Array<string | null> | null;
|
|
504
635
|
fillHidden?: boolean | null;
|
|
636
|
+
fillPaintAuthored?: boolean | null;
|
|
505
637
|
fillNoStyle?: boolean | null;
|
|
506
638
|
lineColors?: Array<string | null> | null;
|
|
639
|
+
linePaints?: Array<SolidFill | GradientFill | PatternFill | null> | null;
|
|
640
|
+
linePaintAuthored?: boolean | null;
|
|
507
641
|
lineWidthEmu?: number | null;
|
|
508
642
|
lineHidden?: boolean | null;
|
|
509
643
|
lineNoStyle?: boolean | null;
|
|
510
644
|
lineDash?: string | null;
|
|
645
|
+
lineDashAuthored?: boolean | null;
|
|
646
|
+
lineCustomDash?: ChartLineDashSegment[] | null;
|
|
511
647
|
lineCap?: string | null;
|
|
512
648
|
lineJoin?: string | null;
|
|
649
|
+
lineCompound?: string | null;
|
|
513
650
|
fillColorIndex?: number | null;
|
|
514
651
|
lineColorIndex?: number | null;
|
|
515
652
|
}
|
|
653
|
+
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';
|
|
516
654
|
interface ChartSurfaceBandFormat {
|
|
517
655
|
idx: number;
|
|
656
|
+
style?: ChartExElementStyle | null;
|
|
518
657
|
fill?: SolidFill | GradientFill | PatternFill | null;
|
|
519
658
|
fillHidden?: boolean | null;
|
|
520
659
|
lineColor?: string | null;
|
|
@@ -531,8 +670,13 @@ interface ChartDataTable {
|
|
|
531
670
|
fontColor?: string | null;
|
|
532
671
|
fontBold?: boolean | null;
|
|
533
672
|
fontItalic?: boolean | null;
|
|
673
|
+
fillColor?: string | null;
|
|
674
|
+
fill?: SolidFill | GradientFill | PatternFill | null;
|
|
675
|
+
fillHidden?: boolean | null;
|
|
676
|
+
fillPaintAuthored?: boolean | null;
|
|
534
677
|
lineColor?: string | null;
|
|
535
678
|
lineWidthEmu?: number | null;
|
|
679
|
+
lineDash?: string | null;
|
|
536
680
|
lineHidden?: boolean | null;
|
|
537
681
|
}
|
|
538
682
|
interface ChartModel {
|
|
@@ -541,8 +685,10 @@ interface ChartModel {
|
|
|
541
685
|
titleRichRuns?: ChartTextRun[] | null;
|
|
542
686
|
titlePresent?: boolean;
|
|
543
687
|
categories: string[];
|
|
688
|
+
categorySourceHidden?: boolean[] | null;
|
|
544
689
|
categoryLevels?: string[][] | null;
|
|
545
690
|
series: ChartSeries[];
|
|
691
|
+
plotGroups?: ChartPlotGroup[] | null;
|
|
546
692
|
chartTextBoxes?: ChartTextBox[] | null;
|
|
547
693
|
varyColors?: boolean | null;
|
|
548
694
|
showDataLabels: boolean;
|
|
@@ -555,10 +701,32 @@ interface ChartModel {
|
|
|
555
701
|
catAxisLineHidden: boolean;
|
|
556
702
|
valAxisLineHidden: boolean;
|
|
557
703
|
plotAreaBg: string | null;
|
|
704
|
+
plotAreaFill?: Fill | null;
|
|
705
|
+
plotAreaFillHidden?: boolean | null;
|
|
706
|
+
plotAreaFillPaintAuthored?: boolean | null;
|
|
707
|
+
plotAreaFillAutomatic?: boolean | null;
|
|
708
|
+
plotAreaLineColor?: string | null;
|
|
709
|
+
plotAreaLineFill?: SolidFill | GradientFill | PatternFill | null;
|
|
710
|
+
plotAreaLineWidthEmu?: number | null;
|
|
711
|
+
plotAreaLineDash?: string | null;
|
|
712
|
+
plotAreaLineDashAuthored?: boolean | null;
|
|
713
|
+
plotAreaLineCustomDash?: ChartLineDashSegment[] | null;
|
|
714
|
+
plotAreaLineCap?: string | null;
|
|
715
|
+
plotAreaLineJoin?: string | null;
|
|
716
|
+
plotAreaLineCompound?: string | null;
|
|
717
|
+
plotAreaLineHidden?: boolean | null;
|
|
718
|
+
plotAreaLinePaintAuthored?: boolean | null;
|
|
558
719
|
chartBg: string | null;
|
|
720
|
+
chartFill?: Fill | null;
|
|
721
|
+
chartFillHidden?: boolean | null;
|
|
722
|
+
chartFillPaintAuthored?: boolean | null;
|
|
723
|
+
roundedCorners?: boolean | null;
|
|
724
|
+
plotVisibleOnly?: boolean | null;
|
|
559
725
|
showLegend: boolean;
|
|
560
726
|
dataTable?: ChartDataTable | null;
|
|
561
727
|
legendPos: 'r' | 'l' | 't' | 'b' | 'tr' | null;
|
|
728
|
+
legendOverlay?: boolean | null;
|
|
729
|
+
legendEntries?: ChartLegendEntryOverride[] | null;
|
|
562
730
|
catAxisCrossBetween: 'between' | 'midCat' | string;
|
|
563
731
|
valAxisMajorTickMark: 'cross' | 'out' | 'in' | 'none' | string;
|
|
564
732
|
catAxisMajorTickMark: 'cross' | 'out' | 'in' | 'none' | string;
|
|
@@ -595,6 +763,7 @@ interface ChartModel {
|
|
|
595
763
|
catAxisTitleRotation?: number | null;
|
|
596
764
|
catAxisTitleVerticalMode?: 'horz' | 'vert' | 'vert270' | 'wordArtVert' | 'eaVert' | 'mongolianVert' | 'wordArtVertRtl' | null;
|
|
597
765
|
catAxisTitleManualLayout?: ChartManualLayout | null;
|
|
766
|
+
catAxisTitleTextVerticalInsetEmu?: number | null;
|
|
598
767
|
valAxisTitleFontSizeHpt?: number | null;
|
|
599
768
|
valAxisTitleFontBold?: boolean | null;
|
|
600
769
|
valAxisTitleFontItalic?: boolean | null;
|
|
@@ -602,6 +771,7 @@ interface ChartModel {
|
|
|
602
771
|
valAxisTitleRotation?: number | null;
|
|
603
772
|
valAxisTitleVerticalMode?: 'horz' | 'vert' | 'vert270' | 'wordArtVert' | 'eaVert' | 'mongolianVert' | 'wordArtVertRtl' | null;
|
|
604
773
|
valAxisTitleManualLayout?: ChartManualLayout | null;
|
|
774
|
+
valAxisTitleTextVerticalInsetEmu?: number | null;
|
|
605
775
|
catAxisFontFace?: string | null;
|
|
606
776
|
valAxisFontFace?: string | null;
|
|
607
777
|
catAxisTitleFontFace?: string | null;
|
|
@@ -612,20 +782,45 @@ interface ChartModel {
|
|
|
612
782
|
legendFontSizeHpt?: number | null;
|
|
613
783
|
legendFontBold?: boolean | null;
|
|
614
784
|
legendFillColor?: string | null;
|
|
785
|
+
legendFill?: Fill | null;
|
|
786
|
+
legendFillHidden?: boolean | null;
|
|
787
|
+
legendFillPaintAuthored?: boolean | null;
|
|
615
788
|
legendLineColor?: string | null;
|
|
789
|
+
legendLineFill?: SolidFill | GradientFill | PatternFill | null;
|
|
616
790
|
legendLineWidthEmu?: number | null;
|
|
791
|
+
legendLineDash?: string | null;
|
|
792
|
+
legendLineDashAuthored?: boolean | null;
|
|
793
|
+
legendLineCustomDash?: ChartLineDashSegment[] | null;
|
|
794
|
+
legendLineCap?: string | null;
|
|
795
|
+
legendLineJoin?: string | null;
|
|
796
|
+
legendLineCompound?: string | null;
|
|
797
|
+
legendLineHidden?: boolean | null;
|
|
798
|
+
legendLinePaintAuthored?: boolean | null;
|
|
617
799
|
themeMajorFontLatin?: string | null;
|
|
618
800
|
themeMinorFontLatin?: string | null;
|
|
619
801
|
chartBorderColor?: string | null;
|
|
802
|
+
chartBorderLineFill?: SolidFill | GradientFill | PatternFill | null;
|
|
620
803
|
chartBorderWidthEmu?: number | null;
|
|
804
|
+
chartBorderDash?: string | null;
|
|
805
|
+
chartBorderDashAuthored?: boolean | null;
|
|
806
|
+
chartBorderCustomDash?: ChartLineDashSegment[] | null;
|
|
807
|
+
chartBorderCap?: string | null;
|
|
808
|
+
chartBorderJoin?: string | null;
|
|
809
|
+
chartBorderCompound?: string | null;
|
|
810
|
+
chartBorderHidden?: boolean | null;
|
|
811
|
+
chartBorderPaintAuthored?: boolean | null;
|
|
621
812
|
catAxisCrosses?: string | null;
|
|
622
813
|
catAxisCrossesAt?: number | null;
|
|
623
814
|
valAxisCrosses?: string | null;
|
|
624
815
|
valAxisCrossesAt?: number | null;
|
|
625
816
|
catAxisLineColor?: string | null;
|
|
626
817
|
catAxisLineWidthEmu?: number | null;
|
|
818
|
+
catAxisLineDash?: string | null;
|
|
819
|
+
catAxisLinePaintAuthored?: boolean | null;
|
|
627
820
|
valAxisLineColor?: string | null;
|
|
628
821
|
valAxisLineWidthEmu?: number | null;
|
|
822
|
+
valAxisLineDash?: string | null;
|
|
823
|
+
valAxisLinePaintAuthored?: boolean | null;
|
|
629
824
|
catAxisFormatCode?: string | null;
|
|
630
825
|
catAxisMin?: number | null;
|
|
631
826
|
catAxisMax?: number | null;
|
|
@@ -642,6 +837,7 @@ interface ChartModel {
|
|
|
642
837
|
holeSize?: number | null;
|
|
643
838
|
firstSliceAngle?: number | null;
|
|
644
839
|
dispBlanksAs?: string | null;
|
|
840
|
+
showDataLabelsOverMax?: boolean | null;
|
|
645
841
|
valAxisMajorGridlines?: boolean | null;
|
|
646
842
|
catAxisMajorGridlines?: boolean | null;
|
|
647
843
|
valAxisGridlineColor?: string | null;
|
|
@@ -674,12 +870,25 @@ interface ChartModel {
|
|
|
674
870
|
catAxisTickLabelPos?: string | null;
|
|
675
871
|
catAxisTickLabelSkip?: number | null;
|
|
676
872
|
catAxisTickMarkSkip?: number | null;
|
|
873
|
+
catAxisLabelAlignment?: 'l' | 'ctr' | 'r' | string | null;
|
|
874
|
+
catAxisLabelOffsetPercent?: number | null;
|
|
677
875
|
valAxisTickLabelPos?: string | null;
|
|
678
876
|
catAxisLabelRotation?: number | null;
|
|
877
|
+
lineGroupDecorations?: ChartLineGroupDecorations[] | null;
|
|
878
|
+
areaGroupDecorations?: ChartAreaGroupDecorations[] | null;
|
|
879
|
+
barGroupDecorations?: ChartBarGroupDecorations[] | null;
|
|
880
|
+
stockDropLines?: ChartDecorationLineStyle | null;
|
|
881
|
+
stockHiLowLineStyle?: ChartDecorationLineStyle | null;
|
|
679
882
|
stockHiLowLines?: boolean | null;
|
|
680
883
|
stockHiLowLineColor?: string | null;
|
|
681
884
|
stockUpDownBars?: boolean | null;
|
|
682
885
|
stockUpDownBarStyle?: ChartStockUpDownBarStyle | null;
|
|
886
|
+
stockAutomaticStyle?: {
|
|
887
|
+
lineColor: string;
|
|
888
|
+
lineWidthEmu: number;
|
|
889
|
+
upFillColor: string;
|
|
890
|
+
downFillColor: string;
|
|
891
|
+
} | null;
|
|
683
892
|
surfaceWireframe?: boolean | null;
|
|
684
893
|
surfaceBandFormats?: ChartSurfaceBandFormat[] | null;
|
|
685
894
|
legacyChartStyle?: number | null;
|
|
@@ -694,6 +903,11 @@ interface ChartModel {
|
|
|
694
903
|
chartexAccents?: string[] | null;
|
|
695
904
|
chartexColorPalette?: Array<string | null> | null;
|
|
696
905
|
chartexColorStyleMethod?: string | null;
|
|
906
|
+
chartStyleRoles?: Partial<Record<ChartStyleRole, ChartExElementStyle>> | null;
|
|
907
|
+
chartStyleColorPalette?: Array<string | null> | null;
|
|
908
|
+
chartStyleColorMethod?: string | null;
|
|
909
|
+
chartStyleMarkerSizePt?: number | null;
|
|
910
|
+
chartStyleMarkerSymbol?: string | null;
|
|
697
911
|
chartexDataPointStyle?: ChartExElementStyle | null;
|
|
698
912
|
chartexDataPointLineStyle?: ChartExElementStyle | null;
|
|
699
913
|
chartexSeriesLineStyle?: ChartExElementStyle | null;
|
|
@@ -704,9 +918,15 @@ interface ChartModel {
|
|
|
704
918
|
}
|
|
705
919
|
interface ChartStockBarPaint {
|
|
706
920
|
fillColor?: string | null;
|
|
921
|
+
fill?: SolidFill | GradientFill | PatternFill | null;
|
|
922
|
+
fillPaintAuthored?: boolean | null;
|
|
707
923
|
fillHidden?: boolean | null;
|
|
708
924
|
lineColor?: string | null;
|
|
925
|
+
linePaintAuthored?: boolean | null;
|
|
709
926
|
lineWidthEmu?: number | null;
|
|
927
|
+
lineDash?: string | null;
|
|
928
|
+
lineCap?: string | null;
|
|
929
|
+
lineJoin?: string | null;
|
|
710
930
|
lineHidden?: boolean | null;
|
|
711
931
|
}
|
|
712
932
|
interface ChartStockUpDownBarStyle {
|
|
@@ -714,31 +934,76 @@ interface ChartStockUpDownBarStyle {
|
|
|
714
934
|
up: ChartStockBarPaint;
|
|
715
935
|
down: ChartStockBarPaint;
|
|
716
936
|
}
|
|
937
|
+
interface ChartDecorationLineStyle {
|
|
938
|
+
color?: string | null;
|
|
939
|
+
paintAuthored?: boolean | null;
|
|
940
|
+
widthEmu?: number | null;
|
|
941
|
+
dash?: string | null;
|
|
942
|
+
cap?: string | null;
|
|
943
|
+
join?: string | null;
|
|
944
|
+
hidden?: boolean | null;
|
|
945
|
+
}
|
|
946
|
+
interface ChartLineGroupDecorations {
|
|
947
|
+
groupIndex: number;
|
|
948
|
+
dropLines?: ChartDecorationLineStyle | null;
|
|
949
|
+
hiLowLines?: ChartDecorationLineStyle | null;
|
|
950
|
+
upDownBars?: ChartStockUpDownBarStyle | null;
|
|
951
|
+
}
|
|
952
|
+
interface ChartAreaGroupDecorations {
|
|
953
|
+
groupIndex: number;
|
|
954
|
+
dropLines?: ChartDecorationLineStyle | null;
|
|
955
|
+
}
|
|
956
|
+
interface ChartBarGroupDecorations {
|
|
957
|
+
groupIndex: number;
|
|
958
|
+
seriesLines?: ChartDecorationLineStyle[] | null;
|
|
959
|
+
}
|
|
717
960
|
interface ChartOfPie {
|
|
718
961
|
type: 'pie' | 'bar';
|
|
719
962
|
splitType: 'auto' | 'cust' | 'percent' | 'pos' | 'val';
|
|
963
|
+
splitTypeAuthored?: boolean | null;
|
|
720
964
|
splitPos?: number | null;
|
|
965
|
+
splitPosAuthored?: boolean | null;
|
|
721
966
|
customSplitIndices?: number[] | null;
|
|
722
967
|
secondPieSizePercent: number;
|
|
723
968
|
gapWidthPercent: number;
|
|
724
969
|
seriesLines: boolean;
|
|
725
970
|
}
|
|
726
971
|
interface ChartThreeDSurface {
|
|
972
|
+
style?: ChartExElementStyle | null;
|
|
727
973
|
fillColor?: string | null;
|
|
728
974
|
fillHidden?: boolean | null;
|
|
729
975
|
lineColor?: string | null;
|
|
730
976
|
lineWidthEmu?: number | null;
|
|
731
977
|
lineDash?: string | null;
|
|
732
978
|
lineHidden?: boolean | null;
|
|
979
|
+
thicknessPercent?: number | null;
|
|
980
|
+
pictureOptions?: ChartThreeDPictureOptions | null;
|
|
981
|
+
}
|
|
982
|
+
interface ChartThreeDPictureOptions {
|
|
983
|
+
applyToFront?: boolean | null;
|
|
984
|
+
applyToSides?: boolean | null;
|
|
985
|
+
applyToEnd?: boolean | null;
|
|
986
|
+
pictureFormat?: 'stretch' | 'stack' | 'stackScale' | string | null;
|
|
987
|
+
pictureFormatAuthored?: boolean | null;
|
|
988
|
+
pictureStackUnit?: number | null;
|
|
989
|
+
pictureStackUnitAuthored?: boolean | null;
|
|
733
990
|
}
|
|
734
991
|
interface ChartThreeD {
|
|
992
|
+
view3DPresent?: boolean | null;
|
|
735
993
|
rotationX?: number | null;
|
|
994
|
+
rotationXAuthored?: boolean | null;
|
|
736
995
|
rotationY?: number | null;
|
|
996
|
+
rotationYAuthored?: boolean | null;
|
|
737
997
|
heightPercent?: number | null;
|
|
998
|
+
heightPercentAuthored?: boolean | null;
|
|
738
999
|
depthPercent?: number | null;
|
|
1000
|
+
depthPercentAuthored?: boolean | null;
|
|
739
1001
|
perspective?: number | null;
|
|
1002
|
+
perspectiveAuthored?: boolean | null;
|
|
740
1003
|
rightAngleAxes?: boolean | null;
|
|
1004
|
+
rightAngleAxesAuthored?: boolean | null;
|
|
741
1005
|
gapDepthPercent?: number | null;
|
|
1006
|
+
gapDepthPercentAuthored?: boolean | null;
|
|
742
1007
|
shape?: string | null;
|
|
743
1008
|
barGrouping?: 'standard' | 'clustered' | 'stacked' | 'percentStacked' | string | null;
|
|
744
1009
|
seriesAxis?: ChartThreeDSeriesAxis | null;
|
|
@@ -754,6 +1019,7 @@ interface ChartThreeDSeriesAxis {
|
|
|
754
1019
|
tickLabelSkip?: number | null;
|
|
755
1020
|
tickMarkSkip?: number | null;
|
|
756
1021
|
majorTickMark: string;
|
|
1022
|
+
minorTickMark?: string | null;
|
|
757
1023
|
fontColor?: string | null;
|
|
758
1024
|
fontSizeHpt?: number | null;
|
|
759
1025
|
fontBold?: boolean | null;
|
|
@@ -761,6 +1027,8 @@ interface ChartThreeDSeriesAxis {
|
|
|
761
1027
|
fontFace?: string | null;
|
|
762
1028
|
lineColor?: string | null;
|
|
763
1029
|
lineWidthEmu?: number | null;
|
|
1030
|
+
lineDash?: string | null;
|
|
1031
|
+
linePaintAuthored?: boolean | null;
|
|
764
1032
|
lineHidden: boolean;
|
|
765
1033
|
titleFontSizeHpt?: number | null;
|
|
766
1034
|
titleFontBold?: boolean | null;
|
|
@@ -777,7 +1045,12 @@ interface ChartTextRun {
|
|
|
777
1045
|
bold?: boolean | null;
|
|
778
1046
|
italic?: boolean | null;
|
|
779
1047
|
color?: string | null;
|
|
1048
|
+
colorPaintAuthored?: boolean | null;
|
|
1049
|
+
colorHidden?: boolean | null;
|
|
780
1050
|
fontFace?: string | null;
|
|
1051
|
+
language?: string | null;
|
|
1052
|
+
baseline?: number | null;
|
|
1053
|
+
paragraphAlign?: 'l' | 'ctr' | 'r' | 'just' | 'dist' | string | null;
|
|
781
1054
|
}
|
|
782
1055
|
interface ChartTextParagraph {
|
|
783
1056
|
runs: ChartTextRun[];
|
|
@@ -880,6 +1153,7 @@ interface SecondaryValueAxis {
|
|
|
880
1153
|
fontFace?: string | null;
|
|
881
1154
|
lineColor?: string | null;
|
|
882
1155
|
lineWidthEmu?: number | null;
|
|
1156
|
+
lineDash?: string | null;
|
|
883
1157
|
lineHidden: boolean;
|
|
884
1158
|
majorTickMark: string;
|
|
885
1159
|
minorTickMark?: string | null;
|
|
@@ -896,6 +1170,8 @@ interface SecondaryValueAxis {
|
|
|
896
1170
|
logBase?: number | null;
|
|
897
1171
|
orientation?: 'minMax' | 'maxMin' | string | null;
|
|
898
1172
|
tickLabelPos?: string | null;
|
|
1173
|
+
labelAlignment?: 'l' | 'ctr' | 'r' | null;
|
|
1174
|
+
labelOffsetPercent?: number | null;
|
|
899
1175
|
tickLabelSkip?: number | null;
|
|
900
1176
|
tickMarkSkip?: number | null;
|
|
901
1177
|
crosses?: string | null;
|
|
@@ -943,11 +1219,19 @@ interface LegendManualLayout {
|
|
|
943
1219
|
hMode?: string;
|
|
944
1220
|
x: number;
|
|
945
1221
|
y: number;
|
|
946
|
-
w
|
|
947
|
-
h
|
|
1222
|
+
w?: number;
|
|
1223
|
+
h?: number;
|
|
1224
|
+
}
|
|
1225
|
+
interface ChartLegendEntryOverride {
|
|
1226
|
+
idx: number;
|
|
1227
|
+
deleted?: boolean | null;
|
|
1228
|
+
fontFace?: string | null;
|
|
1229
|
+
fontColor?: string | null;
|
|
1230
|
+
fontSizeHpt?: number | null;
|
|
1231
|
+
fontBold?: boolean | null;
|
|
948
1232
|
}
|
|
949
1233
|
//#endregion
|
|
950
|
-
//#region dist/.types-work/hyperlink-
|
|
1234
|
+
//#region dist/.types-work/hyperlink-DfGyAVo-.d.ts
|
|
951
1235
|
type OoxmlErrorStage = 'container' | 'decompression' | 'parsing' | 'serialization' | 'layout' | 'rendering' | 'worker';
|
|
952
1236
|
type OoxmlFormat = 'docx' | 'xlsx' | 'pptx';
|
|
953
1237
|
interface OoxmlResourceUsageSnapshot {
|
|
@@ -2076,6 +2360,11 @@ interface Worksheet {
|
|
|
2076
2360
|
max: number;
|
|
2077
2361
|
width: number;
|
|
2078
2362
|
}>;
|
|
2363
|
+
colStyleRanges?: Array<{
|
|
2364
|
+
min: number;
|
|
2365
|
+
max: number;
|
|
2366
|
+
styleIndex: number;
|
|
2367
|
+
}>;
|
|
2079
2368
|
rowHeights: Record<number, number>;
|
|
2080
2369
|
colOutlineLevels?: Record<number, number>;
|
|
2081
2370
|
colCollapsed?: Record<number, boolean>;
|