@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/pptx.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 {
|
|
|
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 = {
|
|
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;
|
|
@@ -237,10 +248,7 @@ interface Stroke {
|
|
|
237
248
|
fillType: 'none';
|
|
238
249
|
}>;
|
|
239
250
|
dashStyle?: string;
|
|
240
|
-
customDash?: ReadonlyArray<
|
|
241
|
-
dash: number;
|
|
242
|
-
space: number;
|
|
243
|
-
}>;
|
|
251
|
+
customDash?: ReadonlyArray<DrawingMLCustomDashSegment>;
|
|
244
252
|
lineCap?: 'butt' | 'round' | 'square';
|
|
245
253
|
lineJoin?: 'round' | 'bevel' | 'miter';
|
|
246
254
|
miterLimit?: number;
|
|
@@ -249,6 +257,10 @@ interface Stroke {
|
|
|
249
257
|
tailEnd?: ArrowEnd;
|
|
250
258
|
cmpd?: string;
|
|
251
259
|
}
|
|
260
|
+
interface DrawingMLCustomDashSegment {
|
|
261
|
+
dash: number;
|
|
262
|
+
space: number;
|
|
263
|
+
}
|
|
252
264
|
interface TextBody$1 {
|
|
253
265
|
verticalAnchor: string;
|
|
254
266
|
paragraphs: Paragraph$1[];
|
|
@@ -378,18 +390,24 @@ interface ChartSeries {
|
|
|
378
390
|
automaticNegativeStyle?: boolean | null;
|
|
379
391
|
invertedFill?: SolidFill | GradientFill | PatternFill | null;
|
|
380
392
|
invertedFillHidden?: boolean | null;
|
|
393
|
+
invertedFillAuthored?: boolean | null;
|
|
381
394
|
invertedLineColor?: string | null;
|
|
382
395
|
invertedLineWidthEmu?: number | null;
|
|
383
396
|
invertedLineHidden?: boolean | null;
|
|
397
|
+
invertedLineAuthored?: boolean | null;
|
|
384
398
|
chartexStyle?: ChartExElementStyle | null;
|
|
385
399
|
lineColor?: string | null;
|
|
386
400
|
lineWidthEmu?: number | null;
|
|
387
401
|
threeDShape?: 'box' | 'cylinder' | 'cone' | 'coneToMax' | 'pyramid' | 'pyramidToMax' | string | null;
|
|
388
402
|
values: (number | null)[];
|
|
403
|
+
sourceHidden?: boolean[] | null;
|
|
389
404
|
dataPointColors?: (string | null)[] | null;
|
|
405
|
+
explosion?: number | null;
|
|
390
406
|
dataLabelColors?: (string | null)[] | null;
|
|
391
407
|
labelColor?: string | null;
|
|
392
408
|
seriesType?: string | null;
|
|
409
|
+
lineGroupIndex?: number | null;
|
|
410
|
+
areaGroupIndex?: number | null;
|
|
393
411
|
barGroupIndex?: number | null;
|
|
394
412
|
barGroupDirection?: 'bar' | 'col' | string | null;
|
|
395
413
|
barGroupGrouping?: 'standard' | 'clustered' | 'stacked' | 'percentStacked' | string | null;
|
|
@@ -397,14 +415,18 @@ interface ChartSeries {
|
|
|
397
415
|
barGroupOverlap?: number | null;
|
|
398
416
|
useSecondaryAxis?: boolean | null;
|
|
399
417
|
categories?: string[] | null;
|
|
418
|
+
bubbleXSourceIsString?: boolean | null;
|
|
400
419
|
showMarker?: boolean | null;
|
|
401
420
|
valFormatCode?: string | null;
|
|
402
421
|
catFormatCode?: string | null;
|
|
403
422
|
catFormatBuiltinId?: number | null;
|
|
404
423
|
catFormatCodes?: (string | null)[] | null;
|
|
405
424
|
markerSymbol?: string | null;
|
|
425
|
+
automaticMarkerSymbol?: string | null;
|
|
406
426
|
markerSize?: number | null;
|
|
407
427
|
markerFill?: string | null;
|
|
428
|
+
markerFillPaint?: Fill | null;
|
|
429
|
+
markerFillPaintAuthored?: boolean | null;
|
|
408
430
|
markerLine?: string | null;
|
|
409
431
|
markerLineWidthEmu?: number | null;
|
|
410
432
|
dataPointOverrides?: ChartDataPointOverride[] | null;
|
|
@@ -412,6 +434,8 @@ interface ChartSeries {
|
|
|
412
434
|
seriesDataLabels?: ChartSeriesDataLabels | null;
|
|
413
435
|
errBars?: ChartErrBars[] | null;
|
|
414
436
|
bubbleSizes?: (number | null)[] | null;
|
|
437
|
+
bubble3DGroupDefault?: boolean | null;
|
|
438
|
+
bubble3D?: boolean | null;
|
|
415
439
|
smooth?: boolean | null;
|
|
416
440
|
trendLines?: ChartTrendline[] | null;
|
|
417
441
|
lineHidden?: boolean | null;
|
|
@@ -428,13 +452,27 @@ interface ChartTrendline {
|
|
|
428
452
|
dispEq?: boolean | null;
|
|
429
453
|
labelManualLayout?: ChartManualLayout | null;
|
|
430
454
|
labelText?: string | null;
|
|
455
|
+
labelRichRuns?: ChartTextRun[] | null;
|
|
431
456
|
labelFormatCode?: string | null;
|
|
432
457
|
labelFormatSourceLinked?: boolean | null;
|
|
433
458
|
labelFontSizeHpt?: number | null;
|
|
434
459
|
labelFontBold?: boolean | null;
|
|
435
460
|
labelFontItalic?: boolean | null;
|
|
436
461
|
labelFontColor?: string | null;
|
|
462
|
+
labelFontPaintAuthored?: boolean | null;
|
|
463
|
+
labelFontHidden?: boolean | null;
|
|
437
464
|
labelFontFace?: string | null;
|
|
465
|
+
labelFontLanguage?: string | null;
|
|
466
|
+
labelFontBaseline?: number | null;
|
|
467
|
+
labelTextRotation?: number | null;
|
|
468
|
+
labelTextWrap?: string | null;
|
|
469
|
+
labelTextVerticalAnchor?: string | null;
|
|
470
|
+
labelTextVerticalMode?: string | null;
|
|
471
|
+
labelTextLInsEmu?: number | null;
|
|
472
|
+
labelTextTInsEmu?: number | null;
|
|
473
|
+
labelTextRInsEmu?: number | null;
|
|
474
|
+
labelTextBInsEmu?: number | null;
|
|
475
|
+
labelTextBodyAuthored?: boolean | null;
|
|
438
476
|
labelBox?: ChartLabelBox | null;
|
|
439
477
|
labelTextAlign?: string | null;
|
|
440
478
|
lineColor?: string | null;
|
|
@@ -446,6 +484,7 @@ interface ChartDataPointOverride {
|
|
|
446
484
|
idx: number;
|
|
447
485
|
color?: string;
|
|
448
486
|
fillHidden?: boolean;
|
|
487
|
+
chartexStyle?: ChartExElementStyle | null;
|
|
449
488
|
lineColor?: string;
|
|
450
489
|
lineWidthEmu?: number;
|
|
451
490
|
lineDash?: string;
|
|
@@ -453,8 +492,11 @@ interface ChartDataPointOverride {
|
|
|
453
492
|
markerSymbol?: string;
|
|
454
493
|
markerSize?: number;
|
|
455
494
|
markerFill?: string;
|
|
495
|
+
markerFillPaint?: Fill | null;
|
|
496
|
+
markerFillPaintAuthored?: boolean | null;
|
|
456
497
|
markerLine?: string;
|
|
457
498
|
markerLineWidthEmu?: number;
|
|
499
|
+
bubble3D?: boolean | null;
|
|
458
500
|
explosion?: number;
|
|
459
501
|
}
|
|
460
502
|
interface ChartDataLabelOverride {
|
|
@@ -463,9 +505,24 @@ interface ChartDataLabelOverride {
|
|
|
463
505
|
richRuns?: ChartTextRun[];
|
|
464
506
|
position?: string;
|
|
465
507
|
fontColor?: string;
|
|
508
|
+
fontPaintAuthored?: boolean;
|
|
509
|
+
fontHidden?: boolean;
|
|
466
510
|
fontSizeHpt?: number;
|
|
467
511
|
fontFace?: string;
|
|
468
512
|
fontBold?: boolean;
|
|
513
|
+
fontItalic?: boolean;
|
|
514
|
+
fontLanguage?: string;
|
|
515
|
+
fontBaseline?: number;
|
|
516
|
+
textRotation?: number;
|
|
517
|
+
textWrap?: string;
|
|
518
|
+
textVerticalAnchor?: string;
|
|
519
|
+
textVerticalMode?: string;
|
|
520
|
+
textLInsEmu?: number;
|
|
521
|
+
textTInsEmu?: number;
|
|
522
|
+
textRInsEmu?: number;
|
|
523
|
+
textBInsEmu?: number;
|
|
524
|
+
textBodyAuthored?: boolean;
|
|
525
|
+
textAlign?: 'l' | 'ctr' | 'r' | 'just' | 'dist' | string;
|
|
469
526
|
formatCode?: string;
|
|
470
527
|
separator?: string;
|
|
471
528
|
manualLayout?: ChartManualLayout;
|
|
@@ -474,29 +531,63 @@ interface ChartDataLabelOverride {
|
|
|
474
531
|
showCatName?: boolean;
|
|
475
532
|
showSerName?: boolean;
|
|
476
533
|
showPercent?: boolean;
|
|
534
|
+
showBubbleSize?: boolean;
|
|
535
|
+
showLegendKey?: boolean;
|
|
477
536
|
deleted?: boolean;
|
|
478
537
|
}
|
|
479
538
|
interface ChartLabelBox {
|
|
480
539
|
fill?: string;
|
|
540
|
+
fillPaint?: SolidFill | GradientFill | PatternFill | null;
|
|
541
|
+
fillHidden?: boolean | null;
|
|
542
|
+
fillPaintAuthored?: boolean | null;
|
|
481
543
|
borderColor?: string;
|
|
544
|
+
borderFill?: SolidFill | GradientFill | PatternFill | null;
|
|
482
545
|
borderWidthEmu?: number;
|
|
546
|
+
borderHidden?: boolean | null;
|
|
547
|
+
borderPaintAuthored?: boolean | null;
|
|
548
|
+
borderDash?: string | null;
|
|
549
|
+
borderDashAuthored?: boolean | null;
|
|
550
|
+
borderCustomDash?: ChartLineDashSegment[] | null;
|
|
551
|
+
borderCap?: string | null;
|
|
552
|
+
borderJoin?: string | null;
|
|
553
|
+
borderCompound?: string | null;
|
|
483
554
|
}
|
|
484
555
|
interface ChartSeriesDataLabels {
|
|
556
|
+
deleted?: boolean | null;
|
|
485
557
|
showVal: boolean;
|
|
486
558
|
showCatName: boolean;
|
|
487
559
|
showSerName: boolean;
|
|
488
560
|
showPercent: boolean;
|
|
561
|
+
showBubbleSize?: boolean;
|
|
562
|
+
showLegendKey?: boolean;
|
|
489
563
|
position?: string;
|
|
490
564
|
fontColor?: string;
|
|
565
|
+
fontPaintAuthored?: boolean;
|
|
566
|
+
fontHidden?: boolean;
|
|
491
567
|
formatCode?: string;
|
|
492
568
|
separator?: string;
|
|
493
569
|
fontBold?: boolean;
|
|
570
|
+
fontItalic?: boolean;
|
|
571
|
+
fontLanguage?: string;
|
|
572
|
+
fontBaseline?: number;
|
|
494
573
|
fontSizeHpt?: number;
|
|
495
574
|
fontFace?: string;
|
|
575
|
+
textRotation?: number;
|
|
576
|
+
textWrap?: string;
|
|
577
|
+
textVerticalAnchor?: string;
|
|
578
|
+
textVerticalMode?: string;
|
|
579
|
+
textLInsEmu?: number;
|
|
580
|
+
textTInsEmu?: number;
|
|
581
|
+
textRInsEmu?: number;
|
|
582
|
+
textBInsEmu?: number;
|
|
583
|
+
textBodyAuthored?: boolean;
|
|
584
|
+
textAlign?: 'l' | 'ctr' | 'r' | 'just' | 'dist' | string;
|
|
496
585
|
labelBox?: ChartLabelBox;
|
|
497
586
|
showLeaderLines?: boolean;
|
|
498
587
|
leaderLineColor?: string;
|
|
499
588
|
leaderLineWidthEmu?: number;
|
|
589
|
+
leaderLineHidden?: boolean;
|
|
590
|
+
leaderLineDash?: string;
|
|
500
591
|
}
|
|
501
592
|
interface ChartErrBars {
|
|
502
593
|
dir: string;
|
|
@@ -507,25 +598,73 @@ interface ChartErrBars {
|
|
|
507
598
|
color?: string;
|
|
508
599
|
lineWidthEmu?: number;
|
|
509
600
|
dash?: string;
|
|
601
|
+
hidden?: boolean;
|
|
510
602
|
}
|
|
511
603
|
type ChartType = 'line' | 'stackedLine' | 'stackedLinePct' | 'clusteredBar' | 'clusteredBarH' | 'stackedBar' | 'stackedBarH' | 'stackedBarPct' | 'stackedBarHPct' | 'area' | 'stackedArea' | 'stackedAreaPct' | 'pie' | 'doughnut' | 'scatter' | 'bubble' | 'radar' | 'waterfall' | 'stock' | 'surface' | 'surface3D' | 'boxWhisker' | 'sunburst' | 'treemap' | string;
|
|
604
|
+
type ChartPlotGroupKind = 'area' | 'area3D' | 'line' | 'line3D' | 'stock' | 'radar' | 'scatter' | 'pie' | 'pie3D' | 'doughnut' | 'bar' | 'bar3D' | 'ofPie' | 'surface' | 'surface3D' | 'bubble';
|
|
605
|
+
type ChartPlotGroupAxisSlot = 'primary' | 'secondary' | 'none' | 'unresolved';
|
|
606
|
+
interface ChartPlotGroup {
|
|
607
|
+
kind: ChartPlotGroupKind;
|
|
608
|
+
seriesStart: number;
|
|
609
|
+
seriesCount: number;
|
|
610
|
+
categoryAxis: ChartPlotGroupAxisSlot;
|
|
611
|
+
valueAxis: ChartPlotGroupAxisSlot;
|
|
612
|
+
seriesAxis: ChartPlotGroupAxisSlot;
|
|
613
|
+
axisIds?: string[] | null;
|
|
614
|
+
grouping?: string | null;
|
|
615
|
+
barDirection?: string | null;
|
|
616
|
+
scatterStyle?: string | null;
|
|
617
|
+
radarStyle?: string | null;
|
|
618
|
+
gapWidth?: number | null;
|
|
619
|
+
overlap?: number | null;
|
|
620
|
+
bubbleScale?: number | null;
|
|
621
|
+
bubbleSizeRepresents?: 'area' | 'w' | null;
|
|
622
|
+
showNegativeBubbles?: boolean | null;
|
|
623
|
+
}
|
|
624
|
+
type ChartLineDashSegment = DrawingMLCustomDashSegment;
|
|
512
625
|
interface ChartExElementStyle {
|
|
513
|
-
|
|
626
|
+
fontSizeHpt?: number | null;
|
|
627
|
+
fontBold?: boolean | null;
|
|
628
|
+
fontItalic?: boolean | null;
|
|
629
|
+
fontColor?: string | null;
|
|
630
|
+
fontPaintAuthored?: boolean | null;
|
|
631
|
+
fontHidden?: boolean | null;
|
|
632
|
+
fontFace?: string | null;
|
|
633
|
+
fontLanguage?: string | null;
|
|
634
|
+
fontBaseline?: number | null;
|
|
635
|
+
textRotation?: number | null;
|
|
636
|
+
textWrap?: string | null;
|
|
637
|
+
textVerticalAnchor?: string | null;
|
|
638
|
+
textVerticalMode?: string | null;
|
|
639
|
+
textLInsEmu?: number | null;
|
|
640
|
+
textTInsEmu?: number | null;
|
|
641
|
+
textRInsEmu?: number | null;
|
|
642
|
+
textBInsEmu?: number | null;
|
|
643
|
+
textBodyAuthored?: boolean | null;
|
|
644
|
+
fillPaints?: Array<Fill | null> | null;
|
|
514
645
|
fillColors?: Array<string | null> | null;
|
|
515
646
|
fillHidden?: boolean | null;
|
|
647
|
+
fillPaintAuthored?: boolean | null;
|
|
516
648
|
fillNoStyle?: boolean | null;
|
|
517
649
|
lineColors?: Array<string | null> | null;
|
|
650
|
+
linePaints?: Array<SolidFill | GradientFill | PatternFill | null> | null;
|
|
651
|
+
linePaintAuthored?: boolean | null;
|
|
518
652
|
lineWidthEmu?: number | null;
|
|
519
653
|
lineHidden?: boolean | null;
|
|
520
654
|
lineNoStyle?: boolean | null;
|
|
521
655
|
lineDash?: string | null;
|
|
656
|
+
lineDashAuthored?: boolean | null;
|
|
657
|
+
lineCustomDash?: ChartLineDashSegment[] | null;
|
|
522
658
|
lineCap?: string | null;
|
|
523
659
|
lineJoin?: string | null;
|
|
660
|
+
lineCompound?: string | null;
|
|
524
661
|
fillColorIndex?: number | null;
|
|
525
662
|
lineColorIndex?: number | null;
|
|
526
663
|
}
|
|
664
|
+
type ChartStyleRole = 'axisTitle' | 'categoryAxis' | 'chartArea' | 'dataLabel' | 'dataLabelCallout' | 'dataPoint' | 'dataPoint3D' | 'dataPointLine' | 'dataPointMarker' | 'dataPointWireframe' | 'dataTable' | 'downBar' | 'dropLine' | 'errorBar' | 'floor' | 'gridlineMajor' | 'gridlineMinor' | 'hiLoLine' | 'leaderLine' | 'legend' | 'plotArea' | 'plotArea3D' | 'seriesAxis' | 'seriesLine' | 'title' | 'trendline' | 'trendlineLabel' | 'upBar' | 'valueAxis' | 'wall';
|
|
527
665
|
interface ChartSurfaceBandFormat {
|
|
528
666
|
idx: number;
|
|
667
|
+
style?: ChartExElementStyle | null;
|
|
529
668
|
fill?: SolidFill | GradientFill | PatternFill | null;
|
|
530
669
|
fillHidden?: boolean | null;
|
|
531
670
|
lineColor?: string | null;
|
|
@@ -542,8 +681,13 @@ interface ChartDataTable {
|
|
|
542
681
|
fontColor?: string | null;
|
|
543
682
|
fontBold?: boolean | null;
|
|
544
683
|
fontItalic?: boolean | null;
|
|
684
|
+
fillColor?: string | null;
|
|
685
|
+
fill?: SolidFill | GradientFill | PatternFill | null;
|
|
686
|
+
fillHidden?: boolean | null;
|
|
687
|
+
fillPaintAuthored?: boolean | null;
|
|
545
688
|
lineColor?: string | null;
|
|
546
689
|
lineWidthEmu?: number | null;
|
|
690
|
+
lineDash?: string | null;
|
|
547
691
|
lineHidden?: boolean | null;
|
|
548
692
|
}
|
|
549
693
|
interface ChartModel {
|
|
@@ -552,8 +696,10 @@ interface ChartModel {
|
|
|
552
696
|
titleRichRuns?: ChartTextRun[] | null;
|
|
553
697
|
titlePresent?: boolean;
|
|
554
698
|
categories: string[];
|
|
699
|
+
categorySourceHidden?: boolean[] | null;
|
|
555
700
|
categoryLevels?: string[][] | null;
|
|
556
701
|
series: ChartSeries[];
|
|
702
|
+
plotGroups?: ChartPlotGroup[] | null;
|
|
557
703
|
chartTextBoxes?: ChartTextBox[] | null;
|
|
558
704
|
varyColors?: boolean | null;
|
|
559
705
|
showDataLabels: boolean;
|
|
@@ -566,10 +712,32 @@ interface ChartModel {
|
|
|
566
712
|
catAxisLineHidden: boolean;
|
|
567
713
|
valAxisLineHidden: boolean;
|
|
568
714
|
plotAreaBg: string | null;
|
|
715
|
+
plotAreaFill?: Fill | null;
|
|
716
|
+
plotAreaFillHidden?: boolean | null;
|
|
717
|
+
plotAreaFillPaintAuthored?: boolean | null;
|
|
718
|
+
plotAreaFillAutomatic?: boolean | null;
|
|
719
|
+
plotAreaLineColor?: string | null;
|
|
720
|
+
plotAreaLineFill?: SolidFill | GradientFill | PatternFill | null;
|
|
721
|
+
plotAreaLineWidthEmu?: number | null;
|
|
722
|
+
plotAreaLineDash?: string | null;
|
|
723
|
+
plotAreaLineDashAuthored?: boolean | null;
|
|
724
|
+
plotAreaLineCustomDash?: ChartLineDashSegment[] | null;
|
|
725
|
+
plotAreaLineCap?: string | null;
|
|
726
|
+
plotAreaLineJoin?: string | null;
|
|
727
|
+
plotAreaLineCompound?: string | null;
|
|
728
|
+
plotAreaLineHidden?: boolean | null;
|
|
729
|
+
plotAreaLinePaintAuthored?: boolean | null;
|
|
569
730
|
chartBg: string | null;
|
|
731
|
+
chartFill?: Fill | null;
|
|
732
|
+
chartFillHidden?: boolean | null;
|
|
733
|
+
chartFillPaintAuthored?: boolean | null;
|
|
734
|
+
roundedCorners?: boolean | null;
|
|
735
|
+
plotVisibleOnly?: boolean | null;
|
|
570
736
|
showLegend: boolean;
|
|
571
737
|
dataTable?: ChartDataTable | null;
|
|
572
738
|
legendPos: 'r' | 'l' | 't' | 'b' | 'tr' | null;
|
|
739
|
+
legendOverlay?: boolean | null;
|
|
740
|
+
legendEntries?: ChartLegendEntryOverride[] | null;
|
|
573
741
|
catAxisCrossBetween: 'between' | 'midCat' | string;
|
|
574
742
|
valAxisMajorTickMark: 'cross' | 'out' | 'in' | 'none' | string;
|
|
575
743
|
catAxisMajorTickMark: 'cross' | 'out' | 'in' | 'none' | string;
|
|
@@ -606,6 +774,7 @@ interface ChartModel {
|
|
|
606
774
|
catAxisTitleRotation?: number | null;
|
|
607
775
|
catAxisTitleVerticalMode?: 'horz' | 'vert' | 'vert270' | 'wordArtVert' | 'eaVert' | 'mongolianVert' | 'wordArtVertRtl' | null;
|
|
608
776
|
catAxisTitleManualLayout?: ChartManualLayout | null;
|
|
777
|
+
catAxisTitleTextVerticalInsetEmu?: number | null;
|
|
609
778
|
valAxisTitleFontSizeHpt?: number | null;
|
|
610
779
|
valAxisTitleFontBold?: boolean | null;
|
|
611
780
|
valAxisTitleFontItalic?: boolean | null;
|
|
@@ -613,6 +782,7 @@ interface ChartModel {
|
|
|
613
782
|
valAxisTitleRotation?: number | null;
|
|
614
783
|
valAxisTitleVerticalMode?: 'horz' | 'vert' | 'vert270' | 'wordArtVert' | 'eaVert' | 'mongolianVert' | 'wordArtVertRtl' | null;
|
|
615
784
|
valAxisTitleManualLayout?: ChartManualLayout | null;
|
|
785
|
+
valAxisTitleTextVerticalInsetEmu?: number | null;
|
|
616
786
|
catAxisFontFace?: string | null;
|
|
617
787
|
valAxisFontFace?: string | null;
|
|
618
788
|
catAxisTitleFontFace?: string | null;
|
|
@@ -623,20 +793,45 @@ interface ChartModel {
|
|
|
623
793
|
legendFontSizeHpt?: number | null;
|
|
624
794
|
legendFontBold?: boolean | null;
|
|
625
795
|
legendFillColor?: string | null;
|
|
796
|
+
legendFill?: Fill | null;
|
|
797
|
+
legendFillHidden?: boolean | null;
|
|
798
|
+
legendFillPaintAuthored?: boolean | null;
|
|
626
799
|
legendLineColor?: string | null;
|
|
800
|
+
legendLineFill?: SolidFill | GradientFill | PatternFill | null;
|
|
627
801
|
legendLineWidthEmu?: number | null;
|
|
802
|
+
legendLineDash?: string | null;
|
|
803
|
+
legendLineDashAuthored?: boolean | null;
|
|
804
|
+
legendLineCustomDash?: ChartLineDashSegment[] | null;
|
|
805
|
+
legendLineCap?: string | null;
|
|
806
|
+
legendLineJoin?: string | null;
|
|
807
|
+
legendLineCompound?: string | null;
|
|
808
|
+
legendLineHidden?: boolean | null;
|
|
809
|
+
legendLinePaintAuthored?: boolean | null;
|
|
628
810
|
themeMajorFontLatin?: string | null;
|
|
629
811
|
themeMinorFontLatin?: string | null;
|
|
630
812
|
chartBorderColor?: string | null;
|
|
813
|
+
chartBorderLineFill?: SolidFill | GradientFill | PatternFill | null;
|
|
631
814
|
chartBorderWidthEmu?: number | null;
|
|
815
|
+
chartBorderDash?: string | null;
|
|
816
|
+
chartBorderDashAuthored?: boolean | null;
|
|
817
|
+
chartBorderCustomDash?: ChartLineDashSegment[] | null;
|
|
818
|
+
chartBorderCap?: string | null;
|
|
819
|
+
chartBorderJoin?: string | null;
|
|
820
|
+
chartBorderCompound?: string | null;
|
|
821
|
+
chartBorderHidden?: boolean | null;
|
|
822
|
+
chartBorderPaintAuthored?: boolean | null;
|
|
632
823
|
catAxisCrosses?: string | null;
|
|
633
824
|
catAxisCrossesAt?: number | null;
|
|
634
825
|
valAxisCrosses?: string | null;
|
|
635
826
|
valAxisCrossesAt?: number | null;
|
|
636
827
|
catAxisLineColor?: string | null;
|
|
637
828
|
catAxisLineWidthEmu?: number | null;
|
|
829
|
+
catAxisLineDash?: string | null;
|
|
830
|
+
catAxisLinePaintAuthored?: boolean | null;
|
|
638
831
|
valAxisLineColor?: string | null;
|
|
639
832
|
valAxisLineWidthEmu?: number | null;
|
|
833
|
+
valAxisLineDash?: string | null;
|
|
834
|
+
valAxisLinePaintAuthored?: boolean | null;
|
|
640
835
|
catAxisFormatCode?: string | null;
|
|
641
836
|
catAxisMin?: number | null;
|
|
642
837
|
catAxisMax?: number | null;
|
|
@@ -653,6 +848,7 @@ interface ChartModel {
|
|
|
653
848
|
holeSize?: number | null;
|
|
654
849
|
firstSliceAngle?: number | null;
|
|
655
850
|
dispBlanksAs?: string | null;
|
|
851
|
+
showDataLabelsOverMax?: boolean | null;
|
|
656
852
|
valAxisMajorGridlines?: boolean | null;
|
|
657
853
|
catAxisMajorGridlines?: boolean | null;
|
|
658
854
|
valAxisGridlineColor?: string | null;
|
|
@@ -685,12 +881,25 @@ interface ChartModel {
|
|
|
685
881
|
catAxisTickLabelPos?: string | null;
|
|
686
882
|
catAxisTickLabelSkip?: number | null;
|
|
687
883
|
catAxisTickMarkSkip?: number | null;
|
|
884
|
+
catAxisLabelAlignment?: 'l' | 'ctr' | 'r' | string | null;
|
|
885
|
+
catAxisLabelOffsetPercent?: number | null;
|
|
688
886
|
valAxisTickLabelPos?: string | null;
|
|
689
887
|
catAxisLabelRotation?: number | null;
|
|
888
|
+
lineGroupDecorations?: ChartLineGroupDecorations[] | null;
|
|
889
|
+
areaGroupDecorations?: ChartAreaGroupDecorations[] | null;
|
|
890
|
+
barGroupDecorations?: ChartBarGroupDecorations[] | null;
|
|
891
|
+
stockDropLines?: ChartDecorationLineStyle | null;
|
|
892
|
+
stockHiLowLineStyle?: ChartDecorationLineStyle | null;
|
|
690
893
|
stockHiLowLines?: boolean | null;
|
|
691
894
|
stockHiLowLineColor?: string | null;
|
|
692
895
|
stockUpDownBars?: boolean | null;
|
|
693
896
|
stockUpDownBarStyle?: ChartStockUpDownBarStyle | null;
|
|
897
|
+
stockAutomaticStyle?: {
|
|
898
|
+
lineColor: string;
|
|
899
|
+
lineWidthEmu: number;
|
|
900
|
+
upFillColor: string;
|
|
901
|
+
downFillColor: string;
|
|
902
|
+
} | null;
|
|
694
903
|
surfaceWireframe?: boolean | null;
|
|
695
904
|
surfaceBandFormats?: ChartSurfaceBandFormat[] | null;
|
|
696
905
|
legacyChartStyle?: number | null;
|
|
@@ -705,6 +914,11 @@ interface ChartModel {
|
|
|
705
914
|
chartexAccents?: string[] | null;
|
|
706
915
|
chartexColorPalette?: Array<string | null> | null;
|
|
707
916
|
chartexColorStyleMethod?: string | null;
|
|
917
|
+
chartStyleRoles?: Partial<Record<ChartStyleRole, ChartExElementStyle>> | null;
|
|
918
|
+
chartStyleColorPalette?: Array<string | null> | null;
|
|
919
|
+
chartStyleColorMethod?: string | null;
|
|
920
|
+
chartStyleMarkerSizePt?: number | null;
|
|
921
|
+
chartStyleMarkerSymbol?: string | null;
|
|
708
922
|
chartexDataPointStyle?: ChartExElementStyle | null;
|
|
709
923
|
chartexDataPointLineStyle?: ChartExElementStyle | null;
|
|
710
924
|
chartexSeriesLineStyle?: ChartExElementStyle | null;
|
|
@@ -715,9 +929,15 @@ interface ChartModel {
|
|
|
715
929
|
}
|
|
716
930
|
interface ChartStockBarPaint {
|
|
717
931
|
fillColor?: string | null;
|
|
932
|
+
fill?: SolidFill | GradientFill | PatternFill | null;
|
|
933
|
+
fillPaintAuthored?: boolean | null;
|
|
718
934
|
fillHidden?: boolean | null;
|
|
719
935
|
lineColor?: string | null;
|
|
936
|
+
linePaintAuthored?: boolean | null;
|
|
720
937
|
lineWidthEmu?: number | null;
|
|
938
|
+
lineDash?: string | null;
|
|
939
|
+
lineCap?: string | null;
|
|
940
|
+
lineJoin?: string | null;
|
|
721
941
|
lineHidden?: boolean | null;
|
|
722
942
|
}
|
|
723
943
|
interface ChartStockUpDownBarStyle {
|
|
@@ -725,31 +945,76 @@ interface ChartStockUpDownBarStyle {
|
|
|
725
945
|
up: ChartStockBarPaint;
|
|
726
946
|
down: ChartStockBarPaint;
|
|
727
947
|
}
|
|
948
|
+
interface ChartDecorationLineStyle {
|
|
949
|
+
color?: string | null;
|
|
950
|
+
paintAuthored?: boolean | null;
|
|
951
|
+
widthEmu?: number | null;
|
|
952
|
+
dash?: string | null;
|
|
953
|
+
cap?: string | null;
|
|
954
|
+
join?: string | null;
|
|
955
|
+
hidden?: boolean | null;
|
|
956
|
+
}
|
|
957
|
+
interface ChartLineGroupDecorations {
|
|
958
|
+
groupIndex: number;
|
|
959
|
+
dropLines?: ChartDecorationLineStyle | null;
|
|
960
|
+
hiLowLines?: ChartDecorationLineStyle | null;
|
|
961
|
+
upDownBars?: ChartStockUpDownBarStyle | null;
|
|
962
|
+
}
|
|
963
|
+
interface ChartAreaGroupDecorations {
|
|
964
|
+
groupIndex: number;
|
|
965
|
+
dropLines?: ChartDecorationLineStyle | null;
|
|
966
|
+
}
|
|
967
|
+
interface ChartBarGroupDecorations {
|
|
968
|
+
groupIndex: number;
|
|
969
|
+
seriesLines?: ChartDecorationLineStyle[] | null;
|
|
970
|
+
}
|
|
728
971
|
interface ChartOfPie {
|
|
729
972
|
type: 'pie' | 'bar';
|
|
730
973
|
splitType: 'auto' | 'cust' | 'percent' | 'pos' | 'val';
|
|
974
|
+
splitTypeAuthored?: boolean | null;
|
|
731
975
|
splitPos?: number | null;
|
|
976
|
+
splitPosAuthored?: boolean | null;
|
|
732
977
|
customSplitIndices?: number[] | null;
|
|
733
978
|
secondPieSizePercent: number;
|
|
734
979
|
gapWidthPercent: number;
|
|
735
980
|
seriesLines: boolean;
|
|
736
981
|
}
|
|
737
982
|
interface ChartThreeDSurface {
|
|
983
|
+
style?: ChartExElementStyle | null;
|
|
738
984
|
fillColor?: string | null;
|
|
739
985
|
fillHidden?: boolean | null;
|
|
740
986
|
lineColor?: string | null;
|
|
741
987
|
lineWidthEmu?: number | null;
|
|
742
988
|
lineDash?: string | null;
|
|
743
989
|
lineHidden?: boolean | null;
|
|
990
|
+
thicknessPercent?: number | null;
|
|
991
|
+
pictureOptions?: ChartThreeDPictureOptions | null;
|
|
992
|
+
}
|
|
993
|
+
interface ChartThreeDPictureOptions {
|
|
994
|
+
applyToFront?: boolean | null;
|
|
995
|
+
applyToSides?: boolean | null;
|
|
996
|
+
applyToEnd?: boolean | null;
|
|
997
|
+
pictureFormat?: 'stretch' | 'stack' | 'stackScale' | string | null;
|
|
998
|
+
pictureFormatAuthored?: boolean | null;
|
|
999
|
+
pictureStackUnit?: number | null;
|
|
1000
|
+
pictureStackUnitAuthored?: boolean | null;
|
|
744
1001
|
}
|
|
745
1002
|
interface ChartThreeD {
|
|
1003
|
+
view3DPresent?: boolean | null;
|
|
746
1004
|
rotationX?: number | null;
|
|
1005
|
+
rotationXAuthored?: boolean | null;
|
|
747
1006
|
rotationY?: number | null;
|
|
1007
|
+
rotationYAuthored?: boolean | null;
|
|
748
1008
|
heightPercent?: number | null;
|
|
1009
|
+
heightPercentAuthored?: boolean | null;
|
|
749
1010
|
depthPercent?: number | null;
|
|
1011
|
+
depthPercentAuthored?: boolean | null;
|
|
750
1012
|
perspective?: number | null;
|
|
1013
|
+
perspectiveAuthored?: boolean | null;
|
|
751
1014
|
rightAngleAxes?: boolean | null;
|
|
1015
|
+
rightAngleAxesAuthored?: boolean | null;
|
|
752
1016
|
gapDepthPercent?: number | null;
|
|
1017
|
+
gapDepthPercentAuthored?: boolean | null;
|
|
753
1018
|
shape?: string | null;
|
|
754
1019
|
barGrouping?: 'standard' | 'clustered' | 'stacked' | 'percentStacked' | string | null;
|
|
755
1020
|
seriesAxis?: ChartThreeDSeriesAxis | null;
|
|
@@ -765,6 +1030,7 @@ interface ChartThreeDSeriesAxis {
|
|
|
765
1030
|
tickLabelSkip?: number | null;
|
|
766
1031
|
tickMarkSkip?: number | null;
|
|
767
1032
|
majorTickMark: string;
|
|
1033
|
+
minorTickMark?: string | null;
|
|
768
1034
|
fontColor?: string | null;
|
|
769
1035
|
fontSizeHpt?: number | null;
|
|
770
1036
|
fontBold?: boolean | null;
|
|
@@ -772,6 +1038,8 @@ interface ChartThreeDSeriesAxis {
|
|
|
772
1038
|
fontFace?: string | null;
|
|
773
1039
|
lineColor?: string | null;
|
|
774
1040
|
lineWidthEmu?: number | null;
|
|
1041
|
+
lineDash?: string | null;
|
|
1042
|
+
linePaintAuthored?: boolean | null;
|
|
775
1043
|
lineHidden: boolean;
|
|
776
1044
|
titleFontSizeHpt?: number | null;
|
|
777
1045
|
titleFontBold?: boolean | null;
|
|
@@ -788,7 +1056,12 @@ interface ChartTextRun {
|
|
|
788
1056
|
bold?: boolean | null;
|
|
789
1057
|
italic?: boolean | null;
|
|
790
1058
|
color?: string | null;
|
|
1059
|
+
colorPaintAuthored?: boolean | null;
|
|
1060
|
+
colorHidden?: boolean | null;
|
|
791
1061
|
fontFace?: string | null;
|
|
1062
|
+
language?: string | null;
|
|
1063
|
+
baseline?: number | null;
|
|
1064
|
+
paragraphAlign?: 'l' | 'ctr' | 'r' | 'just' | 'dist' | string | null;
|
|
792
1065
|
}
|
|
793
1066
|
interface ChartTextParagraph {
|
|
794
1067
|
runs: ChartTextRun[];
|
|
@@ -891,6 +1164,7 @@ interface SecondaryValueAxis {
|
|
|
891
1164
|
fontFace?: string | null;
|
|
892
1165
|
lineColor?: string | null;
|
|
893
1166
|
lineWidthEmu?: number | null;
|
|
1167
|
+
lineDash?: string | null;
|
|
894
1168
|
lineHidden: boolean;
|
|
895
1169
|
majorTickMark: string;
|
|
896
1170
|
minorTickMark?: string | null;
|
|
@@ -907,6 +1181,8 @@ interface SecondaryValueAxis {
|
|
|
907
1181
|
logBase?: number | null;
|
|
908
1182
|
orientation?: 'minMax' | 'maxMin' | string | null;
|
|
909
1183
|
tickLabelPos?: string | null;
|
|
1184
|
+
labelAlignment?: 'l' | 'ctr' | 'r' | null;
|
|
1185
|
+
labelOffsetPercent?: number | null;
|
|
910
1186
|
tickLabelSkip?: number | null;
|
|
911
1187
|
tickMarkSkip?: number | null;
|
|
912
1188
|
crosses?: string | null;
|
|
@@ -954,8 +1230,16 @@ interface LegendManualLayout {
|
|
|
954
1230
|
hMode?: string;
|
|
955
1231
|
x: number;
|
|
956
1232
|
y: number;
|
|
957
|
-
w
|
|
958
|
-
h
|
|
1233
|
+
w?: number;
|
|
1234
|
+
h?: number;
|
|
1235
|
+
}
|
|
1236
|
+
interface ChartLegendEntryOverride {
|
|
1237
|
+
idx: number;
|
|
1238
|
+
deleted?: boolean | null;
|
|
1239
|
+
fontFace?: string | null;
|
|
1240
|
+
fontColor?: string | null;
|
|
1241
|
+
fontSizeHpt?: number | null;
|
|
1242
|
+
fontBold?: boolean | null;
|
|
959
1243
|
}
|
|
960
1244
|
interface ChartRect {
|
|
961
1245
|
x: number;
|
|
@@ -964,7 +1248,12 @@ interface ChartRect {
|
|
|
964
1248
|
h: number;
|
|
965
1249
|
}
|
|
966
1250
|
//#endregion
|
|
967
|
-
//#region dist/.types-work/
|
|
1251
|
+
//#region dist/.types-work/chart-ex-contract-utZi_dg3.d.ts
|
|
1252
|
+
interface ChartExRenderer {
|
|
1253
|
+
render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number, shapeRotationDeg?: number): boolean;
|
|
1254
|
+
}
|
|
1255
|
+
//#endregion
|
|
1256
|
+
//#region dist/.types-work/mathjax-i691C1H8.d.ts
|
|
968
1257
|
interface MathSvg {
|
|
969
1258
|
svg: string;
|
|
970
1259
|
widthEm: number;
|
|
@@ -976,17 +1265,17 @@ interface MathRenderer {
|
|
|
976
1265
|
mathMLToSvg(mathml: string): Promise<MathSvg>;
|
|
977
1266
|
}
|
|
978
1267
|
//#endregion
|
|
979
|
-
//#region dist/.types-work/three-d-contract-
|
|
1268
|
+
//#region dist/.types-work/three-d-contract-ubTeeJB2.d.ts
|
|
980
1269
|
interface ChartThreeDRenderer {
|
|
981
|
-
render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number): boolean;
|
|
1270
|
+
render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number, shapeRotationDeg?: number): boolean;
|
|
982
1271
|
}
|
|
983
1272
|
//#endregion
|
|
984
|
-
//#region dist/.types-work/region-map-contract-
|
|
1273
|
+
//#region dist/.types-work/region-map-contract-BjZYif26.d.ts
|
|
985
1274
|
interface ChartRegionMapRenderer {
|
|
986
|
-
render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number): boolean;
|
|
1275
|
+
render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number, shapeRotationDeg?: number): boolean;
|
|
987
1276
|
}
|
|
988
1277
|
//#endregion
|
|
989
|
-
//#region dist/.types-work/hyperlink-
|
|
1278
|
+
//#region dist/.types-work/hyperlink-DfGyAVo-.d.ts
|
|
990
1279
|
type OoxmlErrorCode = 'encrypted' | 'invalid-password' | 'unsupported-encryption' | 'legacy-binary-format' | 'not-ooxml';
|
|
991
1280
|
type OoxmlErrorStage = 'container' | 'decompression' | 'parsing' | 'serialization' | 'layout' | 'rendering' | 'worker';
|
|
992
1281
|
declare class OoxmlError extends Error {
|
|
@@ -1071,6 +1360,7 @@ interface LoadOptions$1 {
|
|
|
1071
1360
|
math?: MathRenderer;
|
|
1072
1361
|
threeD?: ChartThreeDRenderer;
|
|
1073
1362
|
regionMap?: ChartRegionMapRenderer;
|
|
1363
|
+
chartEx?: ChartExRenderer;
|
|
1074
1364
|
}
|
|
1075
1365
|
type OoxmlDecodedImageLimitMetric = 'image-pixels' | 'active-decoded-bytes';
|
|
1076
1366
|
declare class OoxmlDecodedImageLimitError extends RangeError {
|
|
@@ -1091,7 +1381,7 @@ type HyperlinkTarget = {
|
|
|
1091
1381
|
};
|
|
1092
1382
|
declare function openExternalHyperlink(url: string, allowed?: readonly string[], win?: Pick<Window, 'open'> | undefined): boolean;
|
|
1093
1383
|
//#endregion
|
|
1094
|
-
//#region dist/.types-work/find-highlight-
|
|
1384
|
+
//#region dist/.types-work/find-highlight-CVToYCFx.d.ts
|
|
1095
1385
|
interface TextSelectionContextOptions {
|
|
1096
1386
|
readonly maxTextCharacters?: number;
|
|
1097
1387
|
readonly maxRunLocators?: number;
|
|
@@ -1130,7 +1420,7 @@ interface FindHighlightColors {
|
|
|
1130
1420
|
active?: string;
|
|
1131
1421
|
}
|
|
1132
1422
|
//#endregion
|
|
1133
|
-
//#region dist/.types-work/pptx-
|
|
1423
|
+
//#region dist/.types-work/pptx-CNgoOXpt.d.ts
|
|
1134
1424
|
interface BlipBullet {
|
|
1135
1425
|
type: 'blip';
|
|
1136
1426
|
imagePath: string;
|
|
@@ -1380,6 +1670,7 @@ type SlideRenderOptions = RenderOptions & {
|
|
|
1380
1670
|
math?: MathRenderer;
|
|
1381
1671
|
threeD?: ChartThreeDRenderer;
|
|
1382
1672
|
regionMap?: ChartRegionMapRenderer;
|
|
1673
|
+
chartEx?: ChartExRenderer;
|
|
1383
1674
|
dim?: DimOptions;
|
|
1384
1675
|
};
|
|
1385
1676
|
declare function renderSlide(canvas: HTMLCanvasElement | OffscreenCanvas, slide: Slide, slideWidth: number, slideHeight: number, opts?: SlideRenderOptions, onTextRun?: TextRunCallback): Promise<HTMLCanvasElement | OffscreenCanvas>;
|
|
@@ -1489,6 +1780,7 @@ declare class PptxPresentation {
|
|
|
1489
1780
|
private _math;
|
|
1490
1781
|
private _threeD;
|
|
1491
1782
|
private _regionMap;
|
|
1783
|
+
private _chartEx;
|
|
1492
1784
|
private constructor();
|
|
1493
1785
|
private _assertResourceHealthy;
|
|
1494
1786
|
private _rethrowWithResourceFailure;
|
|
@@ -1769,4 +2061,4 @@ interface PptxHighlightMatch {
|
|
|
1769
2061
|
type PptxHighlightColors = FindHighlightColors;
|
|
1770
2062
|
declare function buildPptxHighlightLayer(layer: HTMLDivElement, runs: PptxTextRunInfo[], matches: PptxHighlightMatch[], cssWidth: number, cssHeight: number, measureForFont: (font: string) => (s: string) => number, colors?: PptxHighlightColors): void;
|
|
1771
2063
|
//#endregion
|
|
1772
|
-
export { type ArrowEnd, type AutoResizeOptions, type Bevel3d, type BlipBullet, type Bullet, type Camera3d, type ChartDataLabelOverride, type ChartDataPointOverride, type ChartDataTable, type ChartDisplayUnits, type ChartDisplayUnitsLabel, type ChartElement, type ChartErrBars, type ChartExElementStyle, type ChartLabelBox, type ChartManualLayout, type ChartModel, type ChartOfPie, type ChartRect, type ChartRegionMapRenderer, type ChartSeries, type ChartSeriesDataLabels, type ChartStockBarPaint, type ChartStockUpDownBarStyle, type ChartSurfaceBandFormat, type ChartTextBox, type ChartTextParagraph, type ChartTextRun, type ChartThreeD, type ChartThreeDRenderer, type ChartThreeDSeriesAxis, type ChartThreeDSurface, type ChartTrendline, type ChartType, type ChartexBoxSeries, type ChartexBoxWhisker, type ChartexGeography, type ChartexHistogramBinning, type ChartexRegionMap, type ChartexRegionMapColors, type ChartexRegionMapRow, type ChartexSunburst, type ChartexSunburstRow, type ChartexTreemap, type ChartexValueColorStop, type DimOptions, type Duotone, type EquationRun, type Fill, type FillRect, type FindHighlightColors, type FindMatch, type FindMatchesOptions, type Glow, type GradientFill, type GradientStop, type HiddenSlideMode, type HyperlinkTarget, type ImageFill, type LegendManualLayout, type LightRig, type LineBreak, type LoadOptions, type MatchRunSlice, type MathAccent, type MathArray, type MathBar, type MathBorderBox, type MathBox, type MathDelimiter, type MathFraction, type MathFunc, type MathGroup, type MathGroupChr, type MathLimit, type MathNary, type MathNode, type MathPhant, type MathRadical, type MathRenderer, type MathRun, type MathSPre, type MathScript, type MathStyle, type MathSvg, type MediaElement, type NoFill, OoxmlDecodedImageLimitError, type OoxmlDecodedImageLimitMetric, OoxmlError, type OoxmlErrorCode, type OoxmlErrorStage, type OoxmlFormat, type OoxmlResourceLimit, OoxmlResourceLimitError, type OoxmlResourceLimitErrorDetails, type OoxmlResourceLimits, type OoxmlResourceMetric, type OoxmlResourceMetrics, type OoxmlResourceMetricsCheckpoint, type OoxmlResourceName, type OoxmlResourcePolicySnapshot, type OoxmlResourceUsageSnapshot, type OoxmlResourceViolation, type Paragraph, type PathCmd, type PatternFill, type PictureElement, type PptxComment, type PptxElementContext, type PptxElementContextOptions, type PptxHighlightColors, type PptxHighlightMatch, type PptxMatchLocation, PptxPresentation, PptxScrollViewer, type PptxScrollViewerOptions, type PptxSelectionContext, type PptxSelectionContextOptions, type PptxSelectionRunLocator, type PptxSlidePoint, type PptxTextRunInfo, type PptxTextSelectionContext, PptxViewer, type PptxViewerOptions, type PresentSlideOptions, type Presentation, type PresentationHandle, type Reflection, type RenderOptions, type RenderSlideOptions, type RenderSlideToBitmapOptions, type Rot3d, type Scene3d, type SecondaryValueAxis, type Shadow, type ShapeElement, type Slide, type SlideElement, type SlideElementOrigin, type SlideElementSource, type SlideRenderOptions, type SoftEdge, type SolidFill, type Sp3d, type SpaceLine, type Stroke, type TabStop, type TableCell, type TableElement, type TableRow, type TextBody, type TextOutline, type TextRect, type TextRun, type TextRunCallback, type TextRunData, type TextSelectionContextOptions, type TileInfo, type ViewerContextMenuEvent, type ZoomableViewer, autoResize, buildPptxHighlightLayer, buildPptxTextLayer, isOoxmlDecodedImageLimitError, openExternalHyperlink, readPptxTextSelectionContext, renderSlide };
|
|
2064
|
+
export { type ArrowEnd, type AutoResizeOptions, type Bevel3d, type BlipBullet, type Bullet, type Camera3d, type ChartAreaGroupDecorations, type ChartBarGroupDecorations, type ChartDataLabelOverride, type ChartDataPointOverride, type ChartDataTable, type ChartDecorationLineStyle, type ChartDisplayUnits, type ChartDisplayUnitsLabel, type ChartElement, type ChartErrBars, type ChartExElementStyle, type ChartExRenderer, type ChartLabelBox, type ChartLegendEntryOverride, type ChartLineDashSegment, type ChartLineGroupDecorations, type ChartManualLayout, type ChartModel, type ChartOfPie, type ChartPlotGroup, type ChartPlotGroupAxisSlot, type ChartPlotGroupKind, type ChartRect, type ChartRegionMapRenderer, type ChartSeries, type ChartSeriesDataLabels, type ChartStockBarPaint, type ChartStockUpDownBarStyle, type ChartSurfaceBandFormat, type ChartTextBox, type ChartTextParagraph, type ChartTextRun, type ChartThreeD, type ChartThreeDPictureOptions, type ChartThreeDRenderer, type ChartThreeDSeriesAxis, type ChartThreeDSurface, type ChartTrendline, type ChartType, type ChartexBoxSeries, type ChartexBoxWhisker, type ChartexGeography, type ChartexHistogramBinning, type ChartexRegionMap, type ChartexRegionMapColors, type ChartexRegionMapRow, type ChartexSunburst, type ChartexSunburstRow, type ChartexTreemap, type ChartexValueColorStop, type DimOptions, type DrawingMLCustomDashSegment, type Duotone, type EquationRun, type Fill, type FillRect, type FindHighlightColors, type FindMatch, type FindMatchesOptions, type Glow, type GradientFill, type GradientStop, type HiddenSlideMode, type HyperlinkTarget, type ImageFill, type LegendManualLayout, type LightRig, type LineBreak, type LoadOptions, type MatchRunSlice, type MathAccent, type MathArray, type MathBar, type MathBorderBox, type MathBox, type MathDelimiter, type MathFraction, type MathFunc, type MathGroup, type MathGroupChr, type MathLimit, type MathNary, type MathNode, type MathPhant, type MathRadical, type MathRenderer, type MathRun, type MathSPre, type MathScript, type MathStyle, type MathSvg, type MediaElement, type NoFill, OoxmlDecodedImageLimitError, type OoxmlDecodedImageLimitMetric, OoxmlError, type OoxmlErrorCode, type OoxmlErrorStage, type OoxmlFormat, type OoxmlResourceLimit, OoxmlResourceLimitError, type OoxmlResourceLimitErrorDetails, type OoxmlResourceLimits, type OoxmlResourceMetric, type OoxmlResourceMetrics, type OoxmlResourceMetricsCheckpoint, type OoxmlResourceName, type OoxmlResourcePolicySnapshot, type OoxmlResourceUsageSnapshot, type OoxmlResourceViolation, type Paragraph, type PathCmd, type PatternFill, type PictureElement, type PptxComment, type PptxElementContext, type PptxElementContextOptions, type PptxHighlightColors, type PptxHighlightMatch, type PptxMatchLocation, PptxPresentation, PptxScrollViewer, type PptxScrollViewerOptions, type PptxSelectionContext, type PptxSelectionContextOptions, type PptxSelectionRunLocator, type PptxSlidePoint, type PptxTextRunInfo, type PptxTextSelectionContext, PptxViewer, type PptxViewerOptions, type PresentSlideOptions, type Presentation, type PresentationHandle, type Reflection, type RenderOptions, type RenderSlideOptions, type RenderSlideToBitmapOptions, type Rot3d, type Scene3d, type SecondaryValueAxis, type Shadow, type ShapeElement, type Slide, type SlideElement, type SlideElementOrigin, type SlideElementSource, type SlideRenderOptions, type SoftEdge, type SolidFill, type Sp3d, type SpaceLine, type SrcRect, type Stroke, type TabStop, type TableCell, type TableElement, type TableRow, type TextBody, type TextOutline, type TextRect, type TextRun, type TextRunCallback, type TextRunData, type TextSelectionContextOptions, type TileInfo, type ViewerContextMenuEvent, type ZoomableViewer, autoResize, buildPptxHighlightLayer, buildPptxTextLayer, isOoxmlDecodedImageLimitError, openExternalHyperlink, readPptxTextSelectionContext, renderSlide };
|