@silurus/ooxml 0.87.0 → 0.89.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.
Files changed (128) hide show
  1. package/README.md +118 -23
  2. package/THIRD_PARTY_NOTICES.md +7 -6
  3. package/dist/abort-VrnK7mdP.js +10 -0
  4. package/dist/assets/render-worker-CUOU6mL2.js +16 -0
  5. package/dist/assets/render-worker-DOqrFhSU.js +15 -0
  6. package/dist/assets/render-worker-DvWUdZUN.js +35 -0
  7. package/dist/bounded-raw-part-cache-B7JoC1CD.js +64586 -0
  8. package/dist/bundled-asset-url-E2nXURF9.js +15 -0
  9. package/dist/canvas-viewer-mechanics-DfQqRKkD.js +675 -0
  10. package/dist/cfb-guard-9QTRTg7f.js +528 -0
  11. package/dist/chart-ex.mjs +708 -739
  12. package/dist/comment-overlay-controller-B5_zGgG5.js +994 -0
  13. package/dist/comment-ui-runtime-B7ZvovcS.js +2 -0
  14. package/dist/{comment-ui-runtime-DcJOYlw-.js → comment-ui-runtime-D_sb2K6s.js} +5 -5
  15. package/dist/{comment-ui-runtime-BfE7MJZn.js → comment-ui-runtime-Jy-3goA9.js} +5 -5
  16. package/dist/delimited-text-worker-host-CikWU6_m.js +27 -0
  17. package/dist/document-model-source-BKNrXjAL.js +249 -0
  18. package/dist/document-pull-client-CxONDGbk.js +37833 -0
  19. package/dist/document-pull-worker-AMyXYpPq.js +104 -0
  20. package/dist/docx-D91ER1_S.js +495 -0
  21. package/dist/docx-DhDnKEI6.js +3563 -0
  22. package/dist/docx-model-source-CdrSt3hF.js +98 -0
  23. package/dist/docx-source-worker.mjs +455 -0
  24. package/dist/docx.mjs +7 -7
  25. package/dist/docx_parser_bg.wasm +0 -0
  26. package/dist/drawingml-shape-ChcGZNd8.js +310 -0
  27. package/dist/duotone-ekYik4ix.js +126 -0
  28. package/dist/emf-UT6I8rVi.js +1790 -0
  29. package/dist/font-preload-demand-CdJZUMCT.js +2058 -0
  30. package/dist/grid-geometry-uQOgViJU.js +384 -0
  31. package/dist/host-layout-DVMw8hDY.js +56 -0
  32. package/dist/host-layout-measure-CCEgaC_v.js +7 -0
  33. package/dist/in-process-pull-transport-DuXcPZng.js +29 -0
  34. package/dist/index.mjs +4 -4
  35. package/dist/internal-companion.mjs +12 -0
  36. package/dist/line-distribute-CPOV6csk.js +2716 -0
  37. package/dist/math.mjs +2 -2
  38. package/dist/mathjax-stix2.js +10 -10
  39. package/dist/model-source-DJGzDtGb.js +61 -0
  40. package/dist/model-source-kz_NkZqT.js +179 -0
  41. package/dist/model-source-session-Bu9CHFHc.js +71 -0
  42. package/dist/model-source-session-CDuijwv1.js +85 -0
  43. package/dist/model-source-session-sKpNiIJI.js +58 -0
  44. package/dist/node.mjs +7 -1327
  45. package/dist/{pixel-budget-Dgjw269h.js → pixel-budget-BpTYrepD.js} +13 -10
  46. package/dist/plot-area-frame-CaJFvZ7p.js +8502 -0
  47. package/dist/pptx-CDP9dZHe.js +2936 -0
  48. package/dist/pptx-C_uxLVKB.js +183 -0
  49. package/dist/pptx-model-source-O7LhpOjz.js +37 -0
  50. package/dist/pptx-source-worker.mjs +446 -0
  51. package/dist/pptx.mjs +8 -7
  52. package/dist/pptx_parser_bg.wasm +0 -0
  53. package/dist/presentation-model-source-tmROzteR.js +77 -0
  54. package/dist/raster-target-YQ4G6rxo.js +42 -0
  55. package/dist/region-map.mjs +114 -150
  56. package/dist/{render-8Zo7dnds.js → render-CJVglUHl.js} +3 -3
  57. package/dist/{render-worker-host-BfbnEChF.js → render-worker-host-BseIaVvm.js} +1 -1
  58. package/dist/{render-worker-host-DNL9dWRh.js → render-worker-host-CyxPU4JU.js} +1 -1
  59. package/dist/{render-worker-host-IkHrYOci.js → render-worker-host-aF6aWkC0.js} +1 -1
  60. package/dist/renderer-CkGLj0CC.js +5170 -0
  61. package/dist/renderer-Czw1cCC7.js +5823 -0
  62. package/dist/resource-measurement-mXw-WjMF.js +771 -0
  63. package/dist/session-Csv9maad.js +656 -0
  64. package/dist/slide-pull-client-DRZYwBTu.js +6515 -0
  65. package/dist/three-d-BK5siJgJ.js +878 -0
  66. package/dist/three-d.mjs +871 -764
  67. package/dist/{raster-target-ojDdQizC.js → tiff-contract-C6M3QcPp.js} +1 -42
  68. package/dist/tiff.mjs +401 -248
  69. package/dist/types/chart-ex.d.ts +289 -4
  70. package/dist/types/docx.d.ts +473 -98
  71. package/dist/types/index.d.ts +674 -303
  72. package/dist/types/internal-companion.d.ts +11 -0
  73. package/dist/types/math.d.ts +1 -1
  74. package/dist/types/node.d.ts +530 -11
  75. package/dist/types/pptx.d.ts +410 -97
  76. package/dist/types/region-map.d.ts +289 -4
  77. package/dist/types/three-d.d.ts +289 -4
  78. package/dist/types/tiff.d.ts +1 -1
  79. package/dist/types/xlsx.d.ts +483 -134
  80. package/dist/wasm-loader-rlgHmcSv.js +35 -0
  81. package/dist/wasm-runtime-generation-DX4y0Ecl.js +97 -0
  82. package/dist/workbook-model-source-BTC4ISTS.js +94 -0
  83. package/dist/worker-source-I1cIYBel.js +22 -0
  84. package/dist/worker-source-SbudzjYL.js +22 -0
  85. package/dist/worker-source-UAi3GNcM.js +22 -0
  86. package/dist/worksheet-pull-client-CkHgbtyM.js +579 -0
  87. package/dist/xlsx-CpSDPAEU.js +5809 -0
  88. package/dist/xlsx-D5569TPf.js +534 -0
  89. package/dist/xlsx-model-source-DPSkjFic.js +309 -0
  90. package/dist/xlsx-source-worker.mjs +525 -0
  91. package/dist/xlsx.mjs +8 -7
  92. package/dist/xlsx_parser_bg.wasm +0 -0
  93. package/package.json +42 -16
  94. package/dist/assets/render-worker-CeK_iqK3.js +0 -10
  95. package/dist/assets/render-worker-DusrDhPk.js +0 -11
  96. package/dist/assets/render-worker-n2ZG0lrQ.js +0 -31
  97. package/dist/bounded-raw-part-cache-Cg1BsSZQ.js +0 -119
  98. package/dist/canvas-viewer-mechanics-Cpk0YFvM.js +0 -1384
  99. package/dist/cjk-fallback-bLI3z70h.js +0 -46
  100. package/dist/comment-occurrence-C8Y2uoVr.js +0 -6
  101. package/dist/comment-ui-runtime-BsK8pmUT.js +0 -2
  102. package/dist/comments-Diid5ujN.js +0 -246
  103. package/dist/delimited-text-worker-host-BVY-Ecni.js +0 -27
  104. package/dist/document-pull-client-yKxI8aDH.js +0 -27251
  105. package/dist/docx-BkSRiy07.js +0 -2995
  106. package/dist/dom-interaction-boundary-CBUQJsIM.js +0 -223
  107. package/dist/highlight-rect-C5hkRqUr.js +0 -13
  108. package/dist/hyperlink-ArrU3ArU.js +0 -36447
  109. package/dist/line-distribute-Dtudnqhs.js +0 -1023
  110. package/dist/line-metrics-B60C86uh.js +0 -60
  111. package/dist/plot-area-frame-D5hEOgkJ.js +0 -2903
  112. package/dist/pptx-62MmVbYB.js +0 -3063
  113. package/dist/renderer-XFSCOT6m.js +0 -5857
  114. package/dist/resource-measurement-CJsgolre.js +0 -150
  115. package/dist/session-CrU8f8DI.js +0 -743
  116. package/dist/slide-pull-client-B9KA8bU6.js +0 -6253
  117. package/dist/source-key-DIJG8BA0.js +0 -42
  118. package/dist/three-d-YYghQndN.js +0 -1346
  119. package/dist/transfer-p6iCC2R7.js +0 -6
  120. package/dist/units-EJdC96r6.js +0 -4
  121. package/dist/worksheet-pull-client-eIcQ-xlD.js +0 -458
  122. package/dist/xlsx-CRcSzZNq.js +0 -8482
  123. /package/dist/{chunk-DmhlhrBa.js → chunk-Dy4uBu1J.js} +0 -0
  124. /package/dist/{mathjax-DoyWZbSp.js → mathjax-BhwN6ilc.js} +0 -0
  125. /package/dist/{read-only-comment-decoration-Dz7eTQ4d.js → read-only-comment-decoration-PidH0wnP.js} +0 -0
  126. /package/dist/{read-only-comment-margin-DkgzASAl.js → read-only-comment-margin-B52rDVKo.js} +0 -0
  127. /package/dist/{renderer-module-contract-D91rkYHH.js → renderer-module-contract-CWM7jv6d.js} +0 -0
  128. /package/dist/{visible-index-BgiHEc1z.js → visible-index-FeVA0mGE.js} +0 -0
@@ -1,4 +1,4 @@
1
- //#region dist/.types-work/chart-IZnSIPIJ.d.ts
1
+ //#region dist/.types-work/chart-BX4Zli_Z.d.ts
2
2
  type DecodedImageBudgetStrategy = 'adaptive' | 'strict';
3
3
  interface ImageResourceOptions {
4
4
  decodedByteBudget?: number;
@@ -113,6 +113,136 @@ interface Duotone {
113
113
  clr1: string;
114
114
  clr2: string;
115
115
  }
116
+ type BlendMode = 'darken' | 'lighten' | 'mult' | 'over' | 'screen';
117
+ type BlipEffect = {
118
+ type: 'grayscale';
119
+ } | {
120
+ type: 'biLevel';
121
+ thresh: number;
122
+ } | {
123
+ type: 'colorChange';
124
+ from: string;
125
+ fromAlpha: number;
126
+ to: string;
127
+ toAlpha: number;
128
+ useAlpha: boolean;
129
+ } | {
130
+ type: 'luminance';
131
+ bright: number;
132
+ contrast: number;
133
+ } | {
134
+ type: 'duotone';
135
+ clr1?: string;
136
+ clr2?: string;
137
+ } | {
138
+ type: 'alphaBiLevel';
139
+ thresh: number;
140
+ } | {
141
+ type: 'alphaCeiling' | 'alphaFloor';
142
+ } | {
143
+ type: 'alphaInv';
144
+ color?: string;
145
+ } | {
146
+ type: 'hsl';
147
+ hue: number;
148
+ sat: number;
149
+ lum: number;
150
+ } | {
151
+ type: 'tint';
152
+ hue: number;
153
+ amt: number;
154
+ } | {
155
+ type: 'blur';
156
+ radius: number;
157
+ grow: boolean;
158
+ } | {
159
+ type: 'alphaMod';
160
+ container: BlipEffectContainer;
161
+ } | {
162
+ type: 'container';
163
+ container: BlipEffectContainer;
164
+ } | {
165
+ type: 'reference';
166
+ reference: string;
167
+ } | {
168
+ type: 'definitions';
169
+ containers: readonly BlipEffectContainer[];
170
+ work: number;
171
+ } | {
172
+ type: 'effectCountLimit';
173
+ observed: number;
174
+ } | {
175
+ type: 'alphaOutset';
176
+ radius: number;
177
+ } | {
178
+ type: 'blend';
179
+ container: BlipEffectContainer;
180
+ blend: BlendMode;
181
+ } | {
182
+ type: 'fill';
183
+ fill: BlipEffectFill;
184
+ } | {
185
+ type: 'glow';
186
+ glow: Glow;
187
+ } | {
188
+ type: 'shadow';
189
+ shadow: Shadow;
190
+ inner: boolean;
191
+ } | {
192
+ type: 'softEdge';
193
+ radius: number;
194
+ } | {
195
+ type: 'reflection';
196
+ reflection: Reflection & {
197
+ kx?: number;
198
+ ky?: number;
199
+ algn?: Shadow['algn'];
200
+ fadeDir?: number;
201
+ rotWithShape?: boolean;
202
+ };
203
+ } | {
204
+ type: 'transform';
205
+ sx: number;
206
+ sy: number;
207
+ kx: number;
208
+ ky: number;
209
+ tx: number;
210
+ ty: number;
211
+ } | {
212
+ type: 'relativeOffset';
213
+ tx: number;
214
+ ty: number;
215
+ } | {
216
+ type: 'presetShadow';
217
+ shadows: readonly Shadow[];
218
+ } | {
219
+ type: 'fillOverlay';
220
+ fill: BlipEffectFill;
221
+ blend: BlendMode;
222
+ } | {
223
+ type: 'alphaModFix';
224
+ amt: number;
225
+ } | {
226
+ type: 'alphaRepl';
227
+ alpha: number;
228
+ } | {
229
+ type: 'colorReplace';
230
+ color: string;
231
+ } | {
232
+ type: 'unsupported';
233
+ effect: string;
234
+ };
235
+ type BlipEffectImageFill = Omit<ImageFill, 'blipEffects'> & {
236
+ readonly blipEffects?: readonly BlipEffect[];
237
+ };
238
+ type BlipEffectFill = SolidFill | NoFill | PatternFill | (Omit<GradientFill, 'stops'> & {
239
+ readonly stops: readonly GradientStop$1[];
240
+ }) | BlipEffectImageFill;
241
+ interface BlipEffectContainer {
242
+ readonly kind: 'sib' | 'tree';
243
+ readonly name?: string;
244
+ readonly effects: readonly BlipEffect[];
245
+ }
116
246
  interface SrcRect {
117
247
  l: number;
118
248
  t: number;
@@ -176,6 +306,39 @@ interface ImageFill {
176
306
  tile?: TileInfo;
177
307
  alpha?: number;
178
308
  duotone?: Duotone;
309
+ blipEffects?: BlipEffect[];
310
+ }
311
+ interface Shadow {
312
+ color: string;
313
+ alpha: number;
314
+ blur: number;
315
+ dist: number;
316
+ dir: number;
317
+ sx?: number;
318
+ sy?: number;
319
+ kx?: number;
320
+ ky?: number;
321
+ algn?: 'tl' | 't' | 'tr' | 'l' | 'ctr' | 'r' | 'bl' | 'b' | 'br';
322
+ rotWithShape?: boolean;
323
+ }
324
+ interface Glow {
325
+ color: string;
326
+ alpha: number;
327
+ radius: number;
328
+ }
329
+ interface SoftEdge {
330
+ radius: number;
331
+ }
332
+ interface Reflection {
333
+ blur: number;
334
+ dist: number;
335
+ dir: number;
336
+ stA: number;
337
+ stPos: number;
338
+ endA: number;
339
+ endPos: number;
340
+ sx: number;
341
+ sy: number;
179
342
  }
180
343
  interface DrawingMLCustomDashSegment {
181
344
  dash: number;
@@ -227,7 +390,9 @@ interface ChartSeries {
227
390
  markerFill?: string | null;
228
391
  markerFillPaint?: Fill | null;
229
392
  markerFillPaintAuthored?: boolean | null;
393
+ markerStyle?: ChartExElementStyle | null;
230
394
  markerLine?: string | null;
395
+ markerLinePaintAuthored?: boolean | null;
231
396
  markerLineWidthEmu?: number | null;
232
397
  dataPointOverrides?: ChartDataPointOverride[] | null;
233
398
  dataLabelOverrides?: ChartDataLabelOverride[] | null;
@@ -241,6 +406,7 @@ interface ChartSeries {
241
406
  lineHidden?: boolean | null;
242
407
  }
243
408
  interface ChartTrendline {
409
+ style?: ChartExElementStyle | null;
244
410
  name?: string | null;
245
411
  trendlineType: string;
246
412
  order?: number | null;
@@ -279,6 +445,7 @@ interface ChartTrendline {
279
445
  lineWidthEmu?: number | null;
280
446
  lineDash?: string | null;
281
447
  lineHidden?: boolean | null;
448
+ linePaintAuthored?: boolean | null;
282
449
  }
283
450
  interface ChartDataPointOverride {
284
451
  idx: number;
@@ -294,7 +461,9 @@ interface ChartDataPointOverride {
294
461
  markerFill?: string;
295
462
  markerFillPaint?: Fill | null;
296
463
  markerFillPaintAuthored?: boolean | null;
464
+ markerStyle?: ChartExElementStyle | null;
297
465
  markerLine?: string;
466
+ markerLinePaintAuthored?: boolean | null;
298
467
  markerLineWidthEmu?: number;
299
468
  bubble3D?: boolean | null;
300
469
  explosion?: number;
@@ -336,8 +505,12 @@ interface ChartDataLabelOverride {
336
505
  deleted?: boolean;
337
506
  }
338
507
  interface ChartLabelBox {
508
+ style?: ChartExElementStyle | null;
509
+ effectFallbackStyle?: ChartExElementStyle | null;
510
+ effectStyleIndex?: number;
511
+ effectFallbackIndex?: number;
339
512
  fill?: string;
340
- fillPaint?: SolidFill | GradientFill | PatternFill | null;
513
+ fillPaint?: Fill | null;
341
514
  fillHidden?: boolean | null;
342
515
  fillPaintAuthored?: boolean | null;
343
516
  borderColor?: string;
@@ -388,8 +561,11 @@ interface ChartSeriesDataLabels {
388
561
  leaderLineWidthEmu?: number;
389
562
  leaderLineHidden?: boolean;
390
563
  leaderLineDash?: string;
564
+ leaderLinePaintAuthored?: boolean | null;
565
+ leaderLineStyle?: ChartExElementStyle | null;
391
566
  }
392
567
  interface ChartErrBars {
568
+ style?: ChartExElementStyle | null;
393
569
  dir: string;
394
570
  barType: string;
395
571
  plus: (number | null)[];
@@ -399,6 +575,7 @@ interface ChartErrBars {
399
575
  lineWidthEmu?: number;
400
576
  dash?: string;
401
577
  hidden?: boolean;
578
+ linePaintAuthored?: boolean | null;
402
579
  }
403
580
  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;
404
581
  type ChartPlotGroupKind = 'area' | 'area3D' | 'line' | 'line3D' | 'stock' | 'radar' | 'scatter' | 'pie' | 'pie3D' | 'doughnut' | 'bar' | 'bar3D' | 'ofPie' | 'surface' | 'surface3D' | 'bubble';
@@ -415,6 +592,7 @@ interface ChartPlotGroup {
415
592
  barDirection?: string | null;
416
593
  scatterStyle?: string | null;
417
594
  radarStyle?: string | null;
595
+ varyColors?: boolean | null;
418
596
  gapWidth?: number | null;
419
597
  overlap?: number | null;
420
598
  bubbleScale?: number | null;
@@ -423,10 +601,16 @@ interface ChartPlotGroup {
423
601
  }
424
602
  type ChartLineDashSegment = DrawingMLCustomDashSegment;
425
603
  interface ChartExElementStyle {
604
+ shapePropertiesPresent?: boolean | null;
605
+ allowNoFillOverride?: boolean | null;
606
+ allowNoLineOverride?: boolean | null;
426
607
  fontSizeHpt?: number | null;
427
608
  fontBold?: boolean | null;
428
609
  fontItalic?: boolean | null;
429
610
  fontColor?: string | null;
611
+ fontColors?: Array<string | null> | null;
612
+ fontColorIndex?: number | null;
613
+ fontFormattingIndices?: number[] | null;
430
614
  fontPaintAuthored?: boolean | null;
431
615
  fontHidden?: boolean | null;
432
616
  fontFace?: string | null;
@@ -458,8 +642,22 @@ interface ChartExElementStyle {
458
642
  lineCap?: string | null;
459
643
  lineJoin?: string | null;
460
644
  lineCompound?: string | null;
645
+ shadows?: Array<Shadow | null> | null;
646
+ innerShadows?: Array<Shadow | null> | null;
647
+ glows?: Array<Glow | null> | null;
648
+ softEdges?: Array<SoftEdge | null> | null;
649
+ reflections?: Array<Reflection | null> | null;
650
+ effectAuthored?: boolean | null;
651
+ effectNoStyle?: boolean | null;
652
+ effectUnsupported?: boolean | null;
461
653
  fillColorIndex?: number | null;
654
+ fillFormattingIndices?: number[] | null;
655
+ fillSemanticFallbackIndices?: number[] | null;
462
656
  lineColorIndex?: number | null;
657
+ lineFormattingIndices?: number[] | null;
658
+ lineSemanticFallbackIndices?: number[] | null;
659
+ effectFormattingIndices?: number[] | null;
660
+ effectColorIndex?: number | null;
463
661
  }
464
662
  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';
465
663
  interface ChartSurfaceBandFormat {
@@ -471,7 +669,12 @@ interface ChartSurfaceBandFormat {
471
669
  lineWidthEmu?: number | null;
472
670
  lineHidden?: boolean | null;
473
671
  }
672
+ interface ChartClassicSurfaceBandStyles {
673
+ fixed?: ChartExElementStyle | null;
674
+ byBandCount?: Array<ChartExElementStyle | null> | null;
675
+ }
474
676
  interface ChartDataTable {
677
+ style?: ChartExElementStyle | null;
475
678
  showHorizontalBorder: boolean;
476
679
  showVerticalBorder: boolean;
477
680
  showOutline: boolean;
@@ -479,6 +682,8 @@ interface ChartDataTable {
479
682
  fontSizeHpt?: number | null;
480
683
  fontFace?: string | null;
481
684
  fontColor?: string | null;
685
+ fontPaintAuthored?: boolean | null;
686
+ fontHidden?: boolean | null;
482
687
  fontBold?: boolean | null;
483
688
  fontItalic?: boolean | null;
484
689
  fillColor?: string | null;
@@ -489,18 +694,33 @@ interface ChartDataTable {
489
694
  lineWidthEmu?: number | null;
490
695
  lineDash?: string | null;
491
696
  lineHidden?: boolean | null;
697
+ linePaintAuthored?: boolean | null;
492
698
  }
493
699
  interface ChartModel {
494
700
  chartType: ChartType;
495
701
  title: string | null;
496
702
  titleRichRuns?: ChartTextRun[] | null;
497
703
  titlePresent?: boolean;
704
+ authoredWithoutSeries?: boolean;
498
705
  categories: string[];
499
706
  categorySourceHidden?: boolean[] | null;
500
707
  categoryLevels?: string[][] | null;
501
708
  series: ChartSeries[];
502
709
  plotGroups?: ChartPlotGroup[] | null;
503
710
  chartTextBoxes?: ChartTextBox[] | null;
711
+ chartTextStyle?: ChartExElementStyle | null;
712
+ chartAreaStyle?: ChartExElementStyle | null;
713
+ plotAreaStyle?: ChartExElementStyle | null;
714
+ legendStyle?: ChartExElementStyle | null;
715
+ titleStyle?: ChartExElementStyle | null;
716
+ catAxisStyle?: ChartExElementStyle | null;
717
+ valAxisStyle?: ChartExElementStyle | null;
718
+ catAxisTitleStyle?: ChartExElementStyle | null;
719
+ valAxisTitleStyle?: ChartExElementStyle | null;
720
+ catAxisMajorGridlineStyle?: ChartExElementStyle | null;
721
+ catAxisMinorGridlineStyle?: ChartExElementStyle | null;
722
+ valAxisMajorGridlineStyle?: ChartExElementStyle | null;
723
+ valAxisMinorGridlineStyle?: ChartExElementStyle | null;
504
724
  varyColors?: boolean | null;
505
725
  showDataLabels: boolean;
506
726
  valMin: number | null;
@@ -545,24 +765,35 @@ interface ChartModel {
545
765
  catAxisMinorTickMark?: 'cross' | 'out' | 'in' | 'none' | string | null;
546
766
  titleFontSizeHpt: number | null;
547
767
  titleFontColor: string | null;
768
+ titleFontPaintAuthored?: boolean | null;
548
769
  titleFontFace: string | null;
549
770
  catAxisFontSizeHpt: number | null;
550
771
  valAxisFontSizeHpt: number | null;
551
772
  catAxisFontColor?: string | null;
773
+ catAxisFontPaintAuthored?: boolean | null;
552
774
  valAxisFontColor?: string | null;
775
+ valAxisFontPaintAuthored?: boolean | null;
553
776
  dataLabelFontSizeHpt: number | null;
554
777
  dataLabelFontBold?: boolean | null;
778
+ dataLabelFontItalic?: boolean | null;
779
+ dataLabelFontLanguage?: string | null;
780
+ dataLabelFontBaseline?: number | null;
555
781
  subtotalIndices: number[];
556
782
  legendManualLayout?: LegendManualLayout | null;
557
783
  valAxisFormatCode?: string | null;
784
+ valAxisNumberFormat?: ChartAxisNumberFormat | null;
558
785
  valAxisDisplayUnits?: ChartDisplayUnits | null;
559
786
  catAxisDisplayUnits?: ChartDisplayUnits | null;
560
787
  barGapWidth?: number | null;
561
788
  barOverlap?: number | null;
562
789
  dataLabelPosition?: string | null;
563
790
  dataLabelFontColor?: string | null;
791
+ dataLabelFontPaintAuthored?: boolean | null;
564
792
  dataLabelFormatCode?: string | null;
565
793
  titleFontBold?: boolean | null;
794
+ titleFontItalic?: boolean | null;
795
+ titleFontLanguage?: string | null;
796
+ titleFontBaseline?: number | null;
566
797
  catAxisFontBold?: boolean | null;
567
798
  catAxisFontItalic?: boolean | null;
568
799
  valAxisFontBold?: boolean | null;
@@ -571,6 +802,7 @@ interface ChartModel {
571
802
  catAxisTitleFontBold?: boolean | null;
572
803
  catAxisTitleFontItalic?: boolean | null;
573
804
  catAxisTitleFontColor?: string | null;
805
+ catAxisTitleFontPaintAuthored?: boolean | null;
574
806
  catAxisTitleRotation?: number | null;
575
807
  catAxisTitleVerticalMode?: 'horz' | 'vert' | 'vert270' | 'wordArtVert' | 'eaVert' | 'mongolianVert' | 'wordArtVertRtl' | null;
576
808
  catAxisTitleManualLayout?: ChartManualLayout | null;
@@ -579,6 +811,7 @@ interface ChartModel {
579
811
  valAxisTitleFontBold?: boolean | null;
580
812
  valAxisTitleFontItalic?: boolean | null;
581
813
  valAxisTitleFontColor?: string | null;
814
+ valAxisTitleFontPaintAuthored?: boolean | null;
582
815
  valAxisTitleRotation?: number | null;
583
816
  valAxisTitleVerticalMode?: 'horz' | 'vert' | 'vert270' | 'wordArtVert' | 'eaVert' | 'mongolianVert' | 'wordArtVertRtl' | null;
584
817
  valAxisTitleManualLayout?: ChartManualLayout | null;
@@ -590,8 +823,12 @@ interface ChartModel {
590
823
  dataLabelFontFace?: string | null;
591
824
  legendFontFace?: string | null;
592
825
  legendFontColor?: string | null;
826
+ legendFontPaintAuthored?: boolean | null;
593
827
  legendFontSizeHpt?: number | null;
594
828
  legendFontBold?: boolean | null;
829
+ legendFontItalic?: boolean | null;
830
+ legendFontLanguage?: string | null;
831
+ legendFontBaseline?: number | null;
595
832
  legendFillColor?: string | null;
596
833
  legendFill?: Fill | null;
597
834
  legendFillHidden?: boolean | null;
@@ -633,10 +870,12 @@ interface ChartModel {
633
870
  valAxisLineDash?: string | null;
634
871
  valAxisLinePaintAuthored?: boolean | null;
635
872
  catAxisFormatCode?: string | null;
873
+ catAxisNumberFormat?: ChartAxisNumberFormat | null;
636
874
  catAxisMin?: number | null;
637
875
  catAxisMax?: number | null;
638
876
  titleManualLayout?: ChartManualLayout | null;
639
877
  plotAreaManualLayout?: ChartManualLayout | null;
878
+ cartesianAutoLayoutProfile?: 'wordClassicColumn' | null;
640
879
  scatterStyle?: string | null;
641
880
  bubbleScale?: number | null;
642
881
  bubbleSizeRepresents?: 'area' | 'w' | null;
@@ -654,17 +893,21 @@ interface ChartModel {
654
893
  valAxisGridlineColor?: string | null;
655
894
  valAxisGridlineWidthEmu?: number | null;
656
895
  valAxisGridlineDash?: string | null;
896
+ valAxisGridlinePaintAuthored?: boolean | null;
657
897
  catAxisGridlineColor?: string | null;
658
898
  catAxisGridlineWidthEmu?: number | null;
659
899
  catAxisGridlineDash?: string | null;
900
+ catAxisGridlinePaintAuthored?: boolean | null;
660
901
  valAxisMinorGridlines?: boolean | null;
661
902
  valAxisMinorGridlineColor?: string | null;
662
903
  valAxisMinorGridlineWidthEmu?: number | null;
663
904
  valAxisMinorGridlineDash?: string | null;
905
+ valAxisMinorGridlinePaintAuthored?: boolean | null;
664
906
  catAxisMinorGridlines?: boolean | null;
665
907
  catAxisMinorGridlineColor?: string | null;
666
908
  catAxisMinorGridlineWidthEmu?: number | null;
667
909
  catAxisMinorGridlineDash?: string | null;
910
+ catAxisMinorGridlinePaintAuthored?: boolean | null;
668
911
  valAxisMajorUnit?: number | null;
669
912
  valAxisMinorUnit?: number | null;
670
913
  catAxisMajorUnit?: number | null;
@@ -711,10 +954,24 @@ interface ChartModel {
711
954
  chartexTreemap?: ChartexTreemap | null;
712
955
  chartexRegionMap?: ChartexRegionMap | null;
713
956
  chartexHistogramBinning?: ChartexHistogramBinning | null;
957
+ chartexParetoOwnerIndex?: number | null;
958
+ chartexParetoSortDescending?: boolean | null;
959
+ chartexParetoFlatEndpoint?: boolean | null;
960
+ chartexSuppressGeometry?: boolean | null;
961
+ chartexParetoOutlineOwner?: boolean | null;
962
+ chartexPrimaryAxisRight?: boolean | null;
963
+ chartexShowUnpairedPercentageAxis?: boolean | null;
714
964
  chartexAccents?: string[] | null;
715
965
  chartexColorPalette?: Array<string | null> | null;
716
966
  chartexColorStyleMethod?: string | null;
717
967
  chartStyleRoles?: Partial<Record<ChartStyleRole, ChartExElementStyle>> | null;
968
+ classicChartStyleRoles?: Partial<Record<ChartStyleRole, ChartExElementStyle>> | null;
969
+ classicSurfaceBandStyles?: ChartClassicSurfaceBandStyles | null;
970
+ linkedChartStyleRoles?: Partial<Record<ChartStyleRole, ChartExElementStyle>> | null;
971
+ classicVaryingPointChartStyleRoles?: Partial<Record<ChartStyleRole, ChartExElementStyle>> | null;
972
+ classicVaryingPointChartStyleRolesByGroup?: Array<Partial<Record<ChartStyleRole, ChartExElementStyle>> | null> | null;
973
+ varyingPointChartStyleRoles?: Partial<Record<ChartStyleRole, ChartExElementStyle>> | null;
974
+ varyingPointChartStyleRolesByGroup?: Array<Partial<Record<ChartStyleRole, ChartExElementStyle>> | null> | null;
718
975
  chartStyleColorPalette?: Array<string | null> | null;
719
976
  chartStyleColorMethod?: string | null;
720
977
  chartStyleMarkerSizePt?: number | null;
@@ -728,8 +985,9 @@ interface ChartModel {
728
985
  chartexConnectorLines?: boolean | null;
729
986
  }
730
987
  interface ChartStockBarPaint {
988
+ style?: ChartExElementStyle | null;
731
989
  fillColor?: string | null;
732
- fill?: SolidFill | GradientFill | PatternFill | null;
990
+ fill?: Fill | null;
733
991
  fillPaintAuthored?: boolean | null;
734
992
  fillHidden?: boolean | null;
735
993
  lineColor?: string | null;
@@ -746,7 +1004,9 @@ interface ChartStockUpDownBarStyle {
746
1004
  down: ChartStockBarPaint;
747
1005
  }
748
1006
  interface ChartDecorationLineStyle {
1007
+ style?: ChartExElementStyle | null;
749
1008
  color?: string | null;
1009
+ fill?: SolidFill | GradientFill | PatternFill | null;
750
1010
  paintAuthored?: boolean | null;
751
1011
  widthEmu?: number | null;
752
1012
  dash?: string | null;
@@ -778,6 +1038,7 @@ interface ChartOfPie {
778
1038
  secondPieSizePercent: number;
779
1039
  gapWidthPercent: number;
780
1040
  seriesLines: boolean;
1041
+ seriesLineStyle?: ChartDecorationLineStyle | null;
781
1042
  }
782
1043
  interface ChartThreeDSurface {
783
1044
  style?: ChartExElementStyle | null;
@@ -823,6 +1084,10 @@ interface ChartThreeD {
823
1084
  backWall?: ChartThreeDSurface | null;
824
1085
  }
825
1086
  interface ChartThreeDSeriesAxis {
1087
+ style?: ChartExElementStyle | null;
1088
+ titleStyle?: ChartExElementStyle | null;
1089
+ majorGridlineStyle?: ChartExElementStyle | null;
1090
+ minorGridlineStyle?: ChartExElementStyle | null;
826
1091
  title?: string | null;
827
1092
  hidden: boolean;
828
1093
  orientation?: 'minMax' | 'maxMin' | string | null;
@@ -832,6 +1097,7 @@ interface ChartThreeDSeriesAxis {
832
1097
  majorTickMark: string;
833
1098
  minorTickMark?: string | null;
834
1099
  fontColor?: string | null;
1100
+ fontPaintAuthored?: boolean | null;
835
1101
  fontSizeHpt?: number | null;
836
1102
  fontBold?: boolean | null;
837
1103
  fontItalic?: boolean | null;
@@ -845,6 +1111,7 @@ interface ChartThreeDSeriesAxis {
845
1111
  titleFontBold?: boolean | null;
846
1112
  titleFontItalic?: boolean | null;
847
1113
  titleFontColor?: string | null;
1114
+ titleFontPaintAuthored?: boolean | null;
848
1115
  titleFontFace?: string | null;
849
1116
  titleRotation?: number | null;
850
1117
  titleVerticalMode?: ChartModel['catAxisTitleVerticalMode'];
@@ -949,15 +1216,26 @@ interface ChartexHistogramBinning {
949
1216
  intervalClosed?: 'l' | 'r' | null;
950
1217
  underflow?: number | null;
951
1218
  overflow?: number | null;
1219
+ edgeFormatCode?: string | null;
1220
+ }
1221
+ interface ChartAxisNumberFormat {
1222
+ authoredCode: string;
1223
+ sourceLinked?: boolean | null;
952
1224
  }
953
1225
  interface SecondaryValueAxis {
1226
+ style?: ChartExElementStyle | null;
1227
+ titleStyle?: ChartExElementStyle | null;
1228
+ majorGridlineStyle?: ChartExElementStyle | null;
1229
+ minorGridlineStyle?: ChartExElementStyle | null;
954
1230
  min: number | null;
955
1231
  max: number | null;
956
1232
  title: string | null;
957
1233
  hidden: boolean;
958
1234
  formatCode?: string | null;
1235
+ numberFormat?: ChartAxisNumberFormat | null;
959
1236
  displayUnits?: ChartDisplayUnits | null;
960
1237
  fontColor?: string | null;
1238
+ fontPaintAuthored?: boolean | null;
961
1239
  fontSizeHpt?: number | null;
962
1240
  fontItalic?: boolean | null;
963
1241
  fontBold?: boolean | null;
@@ -965,6 +1243,7 @@ interface SecondaryValueAxis {
965
1243
  lineColor?: string | null;
966
1244
  lineWidthEmu?: number | null;
967
1245
  lineDash?: string | null;
1246
+ linePaintAuthored?: boolean | null;
968
1247
  lineHidden: boolean;
969
1248
  majorTickMark: string;
970
1249
  minorTickMark?: string | null;
@@ -972,10 +1251,12 @@ interface SecondaryValueAxis {
972
1251
  minorGridlineColor?: string | null;
973
1252
  minorGridlineWidthEmu?: number | null;
974
1253
  minorGridlineDash?: string | null;
1254
+ minorGridlinePaintAuthored?: boolean | null;
975
1255
  majorGridlines?: boolean;
976
1256
  majorGridlineColor?: string | null;
977
1257
  majorGridlineWidthEmu?: number | null;
978
1258
  majorGridlineDash?: string | null;
1259
+ majorGridlinePaintAuthored?: boolean | null;
979
1260
  majorUnit?: number | null;
980
1261
  minorUnit?: number | null;
981
1262
  logBase?: number | null;
@@ -991,6 +1272,7 @@ interface SecondaryValueAxis {
991
1272
  titleFontBold?: boolean | null;
992
1273
  titleFontItalic?: boolean | null;
993
1274
  titleFontColor?: string | null;
1275
+ titleFontPaintAuthored?: boolean | null;
994
1276
  titleFontFace?: string | null;
995
1277
  titleRotation?: number | null;
996
1278
  titleVerticalMode?: 'horz' | 'vert' | 'vert270' | 'wordArtVert' | 'eaVert' | 'mongolianVert' | 'wordArtVertRtl' | null;
@@ -1008,6 +1290,8 @@ interface ChartDisplayUnitsLabel {
1008
1290
  fontBold?: boolean | null;
1009
1291
  fontItalic?: boolean | null;
1010
1292
  fontColor?: string | null;
1293
+ fontPaintAuthored?: boolean | null;
1294
+ fontHidden?: boolean | null;
1011
1295
  fontFace?: string | null;
1012
1296
  rotation?: number | null;
1013
1297
  boxStyle?: ChartLabelBox | null;
@@ -1040,6 +1324,7 @@ interface ChartLegendEntryOverride {
1040
1324
  fontColor?: string | null;
1041
1325
  fontSizeHpt?: number | null;
1042
1326
  fontBold?: boolean | null;
1327
+ fontItalic?: boolean | null;
1043
1328
  }
1044
1329
  interface ChartRect {
1045
1330
  x: number;
@@ -1048,12 +1333,12 @@ interface ChartRect {
1048
1333
  h: number;
1049
1334
  }
1050
1335
  //#endregion
1051
- //#region dist/.types-work/chart-ex-contract-CJ8NVYlS.d.ts
1336
+ //#region dist/.types-work/chart-ex-contract-uCVPGn_g.d.ts
1052
1337
  interface ChartExRenderer {
1053
1338
  render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number, shapeRotationDeg?: number): boolean;
1054
1339
  }
1055
1340
  //#endregion
1056
- //#region dist/.types-work/mathjax-Ceqah_7b.d.ts
1341
+ //#region dist/.types-work/mathjax-Cs1A6yAm.d.ts
1057
1342
  interface MathSvg {
1058
1343
  svg: string;
1059
1344
  widthEm: number;
@@ -1065,17 +1350,17 @@ interface MathRenderer {
1065
1350
  mathMLToSvg(mathml: string): Promise<MathSvg>;
1066
1351
  }
1067
1352
  //#endregion
1068
- //#region dist/.types-work/three-d-contract-aYaGCu4V.d.ts
1353
+ //#region dist/.types-work/three-d-contract-BAX9ecoe.d.ts
1069
1354
  interface ChartThreeDRenderer {
1070
1355
  render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number, shapeRotationDeg?: number): boolean;
1071
1356
  }
1072
1357
  //#endregion
1073
- //#region dist/.types-work/region-map-contract-Be6TbKbC.d.ts
1358
+ //#region dist/.types-work/region-map-contract-J2ruXmu1.d.ts
1074
1359
  interface ChartRegionMapRenderer {
1075
1360
  render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number, shapeRotationDeg?: number): boolean;
1076
1361
  }
1077
1362
  //#endregion
1078
- //#region dist/.types-work/tiff-contract-DsRI31nK.d.ts
1363
+ //#region dist/.types-work/tiff-contract-bt8L_KEc.d.ts
1079
1364
  interface TiffRenderOptions {
1080
1365
  targetWidthPx?: number;
1081
1366
  targetHeightPx?: number;
@@ -1090,14 +1375,19 @@ interface TiffRenderer {
1090
1375
  render(bytes: Uint8Array, options?: Readonly<TiffRenderOptions>): Promise<ImageBitmap | null>;
1091
1376
  }
1092
1377
  //#endregion
1093
- //#region dist/.types-work/hyperlink-BwNed17w.d.ts
1378
+ //#region dist/.types-work/hyperlink-BER006VA.d.ts
1094
1379
  type CjkLang = 'kr' | 'sc' | 'tc' | 'hk' | 'jp';
1095
1380
  type CjkFallback = 'auto' | CjkLang;
1096
- type OoxmlErrorCode = 'encrypted' | 'invalid-password' | 'unsupported-encryption' | 'legacy-binary-format' | 'not-ooxml';
1381
+ type OoxmlErrorCode = 'encrypted' | 'invalid-password' | 'unsupported-encryption' | 'legacy-binary-format' | 'not-ooxml' | 'unsupported-image-effect' | 'invalid-numbering' | 'unsupported-content';
1097
1382
  type OoxmlErrorStage = 'container' | 'decompression' | 'parsing' | 'serialization' | 'layout' | 'rendering' | 'worker';
1383
+ interface OoxmlUnsupportedContentDetails {
1384
+ readonly format: string;
1385
+ readonly reason: 'source-subset';
1386
+ }
1098
1387
  declare class OoxmlError extends Error {
1099
1388
  readonly code: OoxmlErrorCode;
1100
- constructor(code: OoxmlErrorCode, message: string);
1389
+ readonly details?: OoxmlUnsupportedContentDetails;
1390
+ constructor(code: OoxmlErrorCode, message: string, details?: OoxmlUnsupportedContentDetails);
1101
1391
  }
1102
1392
  type OoxmlFormat = 'docx' | 'xlsx' | 'pptx';
1103
1393
  interface OoxmlResourceUsageSnapshot {
@@ -1134,6 +1424,12 @@ interface OoxmlResourcePolicySnapshot {
1134
1424
  readonly maxArchiveEntryBytes: number | null;
1135
1425
  readonly maxTotalInflatedBytes: number | null;
1136
1426
  readonly maxArchiveEntries: number | null;
1427
+ readonly xlsxWorksheetLimits?: Readonly<{
1428
+ readonly maxRows: number;
1429
+ readonly maxCells: number;
1430
+ readonly maxOwnedUtf8Bytes: number;
1431
+ readonly maxJsonBytes: number;
1432
+ }>;
1137
1433
  }
1138
1434
  interface OoxmlResourceMetricsCheckpoint {
1139
1435
  readonly name: string;
@@ -1165,6 +1461,12 @@ interface OoxmlResourceLimits {
1165
1461
  maxTotalInflatedBytes?: OoxmlResourceLimit;
1166
1462
  maxArchiveEntries?: OoxmlResourceLimit;
1167
1463
  }
1464
+ interface XlsxWorksheetLimits {
1465
+ maxRows?: number;
1466
+ maxCells?: number;
1467
+ maxOwnedUtf8Bytes?: number;
1468
+ maxJsonBytes?: number;
1469
+ }
1168
1470
  interface ProgressiveLayoutProgress {
1169
1471
  committedUnits: number;
1170
1472
  }
@@ -1180,6 +1482,7 @@ interface LoadOptions$1 {
1180
1482
  wasmUrl?: string | URL;
1181
1483
  maxZipEntryBytes?: number;
1182
1484
  resourceLimits?: OoxmlResourceLimits;
1485
+ xlsxWorksheetLimits?: XlsxWorksheetLimits;
1183
1486
  debug?: boolean;
1184
1487
  onResourceMetrics?: (metrics: OoxmlResourceMetrics) => void;
1185
1488
  workerTimeoutMs?: number;
@@ -1189,7 +1492,7 @@ interface LoadOptions$1 {
1189
1492
  chartEx?: ChartExRenderer;
1190
1493
  tiff?: TiffRenderer;
1191
1494
  }
1192
- type OoxmlDecodedImageLimitMetric = 'image-dimension' | 'image-pixels' | 'active-decoded-bytes';
1495
+ type OoxmlDecodedImageLimitMetric = 'image-dimension' | 'image-pixels' | 'active-decoded-bytes' | 'image-effect-count' | 'image-effect-work' | 'tiff-lzw-work' | 'metafile-path-commands' | 'metafile-record-points' | 'metafile-record-polygons' | 'metafile-record-rectangles' | 'metafile-record-text-units';
1193
1496
  declare class OoxmlDecodedImageLimitError extends RangeError {
1194
1497
  readonly metric: OoxmlDecodedImageLimitMetric;
1195
1498
  readonly limit: number;
@@ -1208,7 +1511,7 @@ type HyperlinkTarget = {
1208
1511
  };
1209
1512
  declare function openExternalHyperlink(url: string, allowed?: readonly string[], win?: Pick<Window, 'open'> | undefined): boolean;
1210
1513
  //#endregion
1211
- //#region dist/.types-work/find-highlight-CfHNje1k.d.ts
1514
+ //#region dist/.types-work/find-highlight-CT_JWmHP.d.ts
1212
1515
  interface TextSelectionContextOptions {
1213
1516
  readonly maxTextCharacters?: number;
1214
1517
  readonly maxRunLocators?: number;
@@ -1269,7 +1572,44 @@ interface FindHighlightColors {
1269
1572
  active?: string;
1270
1573
  }
1271
1574
  //#endregion
1272
- //#region dist/.types-work/types-C6IeBHJ1.d.ts
1575
+ //#region dist/.types-work/model-source-BvlR3Xr6.d.ts
1576
+ type ModelSourceTarget = 'docx' | 'xlsx' | 'pptx';
1577
+ type ModelSourceConfigValue = string | number | boolean | null;
1578
+ type ModelSourceConfig = Readonly<Record<string, ModelSourceConfigValue>>;
1579
+ declare const MODEL_SOURCE_MODULE_PROTOCOL = "ooxml-model-source-module/v2";
1580
+ interface ModelSourceModuleDescriptor {
1581
+ readonly protocol: typeof MODEL_SOURCE_MODULE_PROTOCOL;
1582
+ readonly target: ModelSourceTarget;
1583
+ readonly moduleUrl: string;
1584
+ readonly config: ModelSourceConfig;
1585
+ }
1586
+ interface ModelSourceLoad {
1587
+ readonly module: ModelSourceModuleDescriptor;
1588
+ readonly transfer?: readonly Transferable[];
1589
+ release(): void;
1590
+ }
1591
+ interface ModelSource<T extends ModelSourceTarget = ModelSourceTarget> {
1592
+ readonly target: T;
1593
+ claim(bytes: Uint8Array): boolean;
1594
+ beginLoad(): ModelSourceLoad;
1595
+ }
1596
+ interface OpenedModelSource<TArchive> {
1597
+ readonly archive: TArchive;
1598
+ readonly viewDefaults?: Readonly<Record<string, boolean>>;
1599
+ close(): void;
1600
+ }
1601
+ interface ModelSourceModule<TArchive = unknown> {
1602
+ openModelSource(bytes: Uint8Array, config: ModelSourceConfig, signal?: AbortSignal, transfer?: readonly Transferable[]): Promise<OpenedModelSource<TArchive>>;
1603
+ }
1604
+ //#endregion
1605
+ //#region dist/.types-work/types-DD7HF1Wg.d.ts
1606
+ type DocxDiagnosticCode = 'FLOW_OVERLAP' | 'BOTTOM_MARGIN_INVASION' | 'FLOW_DOMAIN_INVASION' | 'INVALID_REFERENCE' | 'INVALID_GEOMETRY' | 'INVALID_VALUE' | 'MISSING_RESOURCE' | 'NON_CONVERGENCE' | 'UNSUPPORTED_FEATURE';
1607
+ interface DocxDiagnostic {
1608
+ readonly code: DocxDiagnosticCode;
1609
+ readonly severity: 'warning' | 'error';
1610
+ readonly source?: Readonly<DocxStorySource>;
1611
+ readonly message: string;
1612
+ }
1273
1613
  interface DocxDocumentModel {
1274
1614
  section: SectionProps;
1275
1615
  body: BodyElement[];
@@ -1294,15 +1634,19 @@ interface EmbeddedFontRef {
1294
1634
  fontKey: string;
1295
1635
  }
1296
1636
  interface DocSettings {
1637
+ doNotUseHtmlParagraphAutoSpacing?: boolean;
1297
1638
  kinsoku?: boolean;
1298
1639
  noLineBreaksBefore?: string;
1299
1640
  noLineBreaksAfter?: string;
1300
1641
  mathDefJc?: string;
1301
1642
  defaultTabStop?: number;
1302
1643
  characterSpacingControl?: string;
1644
+ lineWrapLikeWord6?: boolean;
1645
+ enableOpenTypeFeatures?: boolean;
1303
1646
  useFeLayout?: boolean;
1304
1647
  balanceSingleByteDoubleByteWidth?: boolean;
1305
1648
  adjustLineHeightInTable?: boolean;
1649
+ compatibilityMode?: number;
1306
1650
  }
1307
1651
  interface DocRevision {
1308
1652
  kind: 'insertion' | 'deletion' | 'moveFrom' | 'moveTo' | string;
@@ -1413,6 +1757,7 @@ type BodyElement = ({
1413
1757
  type: 'table';
1414
1758
  } & DocTable) | {
1415
1759
  type: 'pageBreak';
1760
+ origin?: 'authored' | 'coverPageSynthetic';
1416
1761
  parity?: 'odd' | 'even';
1417
1762
  sameParagraphAsPrevious?: boolean;
1418
1763
  } | {
@@ -1436,6 +1781,8 @@ interface DocParagraph {
1436
1781
  indentFirst: number;
1437
1782
  spaceBefore: number;
1438
1783
  spaceAfter: number;
1784
+ beforeAutospacing?: boolean;
1785
+ afterAutospacing?: boolean;
1439
1786
  lineSpacing: LineSpacing | null;
1440
1787
  numbering: NumberingInfo | null;
1441
1788
  tabStops: TabStop[];
@@ -1450,6 +1797,8 @@ interface DocParagraph {
1450
1797
  markVanish?: boolean;
1451
1798
  widowControl?: boolean;
1452
1799
  overflowPunct?: boolean;
1800
+ autoSpaceDE?: boolean;
1801
+ autoSpaceDN?: boolean;
1453
1802
  adjustRightInd?: boolean;
1454
1803
  borders?: ParagraphBorders | null;
1455
1804
  styleId?: string | null;
@@ -1523,6 +1872,7 @@ interface NumberingInfo {
1523
1872
  picBulletMimeType?: string;
1524
1873
  picBulletWidthPt?: number;
1525
1874
  picBulletHeightPt?: number;
1875
+ picBulletTransform?: Pick<ImageRun, 'srcRect' | 'rotation' | 'flipH' | 'flipV'>;
1526
1876
  }
1527
1877
  type DocRunContent = ({
1528
1878
  type: 'text';
@@ -1618,6 +1968,8 @@ interface AnchorHostMetrics {
1618
1968
  }
1619
1969
  interface ShapeRun {
1620
1970
  inline?: boolean;
1971
+ inlineOffsetXPt?: number;
1972
+ inlineOffsetYPt?: number;
1621
1973
  widthPt: number;
1622
1974
  heightPt: number;
1623
1975
  anchorXPt: number;
@@ -1638,9 +1990,37 @@ interface ShapeRun {
1638
1990
  groupHeightPt?: number | null;
1639
1991
  behindDoc?: boolean;
1640
1992
  zOrder: number;
1993
+ vmlShadow?: {
1994
+ kind: 'single' | 'double' | 'emboss' | 'perspective';
1995
+ color: string;
1996
+ color2: string;
1997
+ offset: {
1998
+ xPt: number;
1999
+ yPt: number;
2000
+ xFraction: number;
2001
+ yFraction: number;
2002
+ };
2003
+ offset2: {
2004
+ xPt: number;
2005
+ yPt: number;
2006
+ xFraction: number;
2007
+ yFraction: number;
2008
+ };
2009
+ opacity: number;
2010
+ obscured: boolean;
2011
+ origin: [number, number];
2012
+ matrix: [number, number, number, number, number, number];
2013
+ absolutePerspective: boolean;
2014
+ };
1641
2015
  subpaths: PathCmd[][];
2016
+ subpathPaint?: Array<{
2017
+ fillRule?: 'nonzero' | 'evenodd';
2018
+ fill?: 'none' | 'lighten' | 'lightenLess' | 'darken' | 'darkenLess';
2019
+ stroke?: false;
2020
+ }>;
1642
2021
  presetGeometry?: string | null;
1643
2022
  adjValues?: Array<number | null>;
2023
+ vmlPicture?: Pick<ImageRun, 'imagePath' | 'mimeType' | 'srcRect' | 'colorReplaceFrom' | 'duotone'>;
1644
2024
  fill: ShapeFill | null;
1645
2025
  stroke: string | null;
1646
2026
  strokeWidth?: number;
@@ -1670,11 +2050,13 @@ interface ShapeRun {
1670
2050
  defaultTextColor?: string | null;
1671
2051
  textAnchor?: string | null;
1672
2052
  textAutofit?: string | null;
2053
+ textWrap?: string | null;
1673
2054
  textInsetL?: number;
1674
2055
  textInsetT?: number;
1675
2056
  textInsetR?: number;
1676
2057
  textInsetB?: number;
1677
2058
  textVert?: string | null;
2059
+ textUpright?: boolean | null;
1678
2060
  textPath?: TextPath | null;
1679
2061
  fillOpacity?: number | null;
1680
2062
  }
@@ -1702,6 +2084,7 @@ interface ShapeTextRun {
1702
2084
  interface ShapeText {
1703
2085
  text: string;
1704
2086
  fontSizePt: number;
2087
+ defaultFontSize?: number;
1705
2088
  color?: string | null;
1706
2089
  paragraphMarkColor?: string | null;
1707
2090
  fontFamily?: string | null;
@@ -1712,6 +2095,8 @@ interface ShapeText {
1712
2095
  alignment: string;
1713
2096
  spaceBefore?: number;
1714
2097
  spaceAfter?: number;
2098
+ beforeAutospacing?: boolean;
2099
+ afterAutospacing?: boolean;
1715
2100
  lineSpacingVal?: number;
1716
2101
  lineSpacingRule?: string;
1717
2102
  indentLeft?: number;
@@ -1748,6 +2133,20 @@ type ShapeFill = {
1748
2133
  preset: string;
1749
2134
  } | {
1750
2135
  fillType: 'image';
2136
+ vml?: {
2137
+ repeat: boolean;
2138
+ size: [{
2139
+ value: number;
2140
+ fraction: boolean;
2141
+ }, {
2142
+ value: number;
2143
+ fraction: boolean;
2144
+ }] | null;
2145
+ origin: [number, number];
2146
+ position: [number, number];
2147
+ aspect: string;
2148
+ alignShape: boolean;
2149
+ };
1751
2150
  imagePath: string;
1752
2151
  mimeType: string;
1753
2152
  svgImagePath?: string;
@@ -1761,6 +2160,7 @@ type ShapeFill = {
1761
2160
  tile?: TileInfo;
1762
2161
  alpha?: number;
1763
2162
  duotone?: Duotone;
2163
+ blipEffects?: BlipEffect[];
1764
2164
  };
1765
2165
  type ShapeStrokeFill = {
1766
2166
  fillType: 'gradient';
@@ -1851,6 +2251,7 @@ interface DocxTextRun {
1851
2251
  interface NoteRef {
1852
2252
  kind: 'footnote' | 'endnote' | string;
1853
2253
  id: string;
2254
+ customMarkFollows?: boolean;
1854
2255
  }
1855
2256
  interface RunRevision {
1856
2257
  kind: 'insertion' | 'deletion' | 'moveFrom' | 'moveTo' | string;
@@ -1886,6 +2287,7 @@ interface ImageRun {
1886
2287
  anchorYFromPara?: boolean;
1887
2288
  colorReplaceFrom?: string;
1888
2289
  duotone?: Duotone;
2290
+ blipEffects?: BlipEffect[];
1889
2291
  alpha?: number;
1890
2292
  wrapMode?: string;
1891
2293
  distTop?: number;
@@ -1965,10 +2367,13 @@ interface DocTableCell {
1965
2367
  vAlign: 'top' | 'center' | 'bottom';
1966
2368
  widthPt: number | null;
1967
2369
  widthPct?: number;
2370
+ noWrap?: boolean;
1968
2371
  marginTop?: number | null;
1969
2372
  marginBottom?: number | null;
1970
2373
  marginLeft?: number | null;
1971
2374
  marginRight?: number | null;
2375
+ textDirection?: string;
2376
+ hideMark?: boolean;
1972
2377
  }
1973
2378
  interface CellBorders {
1974
2379
  top: BorderSpec | null;
@@ -1977,6 +2382,8 @@ interface CellBorders {
1977
2382
  right: BorderSpec | null;
1978
2383
  insideH: BorderSpec | null;
1979
2384
  insideV: BorderSpec | null;
2385
+ tl2br?: BorderSpec;
2386
+ tr2bl?: BorderSpec;
1980
2387
  }
1981
2388
  interface DocxStorySource {
1982
2389
  story: 'body' | 'header' | 'footer' | 'footnote' | 'endnote' | 'textbox';
@@ -1988,10 +2395,12 @@ interface DocxTextRunInfo {
1988
2395
  paragraphId?: string;
1989
2396
  sourceRunIndex?: number;
1990
2397
  direction?: 'ltr' | 'rtl';
2398
+ optionalHyphenGlyph?: true;
1991
2399
  text: string;
1992
2400
  x: number;
1993
2401
  y: number;
1994
2402
  w: number;
2403
+ trailingSpaceCompressionPx?: number;
1995
2404
  h: number;
1996
2405
  highlightBounds?: Readonly<{
1997
2406
  x: number;
@@ -2016,7 +2425,7 @@ interface RenderPageOptions {
2016
2425
  showTrackedChanges?: boolean;
2017
2426
  }
2018
2427
  //#endregion
2019
- //#region dist/.types-work/docx-CVUvafnn.d.ts
2428
+ //#region dist/.types-work/docx-Ch9sglGX.d.ts
2020
2429
  interface CommentAnchorRange {
2021
2430
  readonly commentId: string;
2022
2431
  readonly source: Readonly<DocxStorySource>;
@@ -2138,6 +2547,8 @@ interface RevisionAnchorGeometryFallback {
2138
2547
  }
2139
2548
  declare function resolveRevisionAnchorRuns(anchor: Readonly<RevisionAnchorRange>, runs: readonly Readonly<DocxTextRunInfo>[]): readonly Readonly<DocxTextRunInfo>[];
2140
2549
  interface LoadOptions extends LoadOptions$1 {
2550
+ allowFootnoteContinuation?: boolean;
2551
+ legacyDoc?: ModelSource<'docx'>;
2141
2552
  math?: MathRenderer;
2142
2553
  mode?: 'main' | 'worker';
2143
2554
  sliceLayout?: boolean;
@@ -2154,8 +2565,10 @@ type RenderPageToBitmapOptions = Omit<RenderPageOptions, 'onTextRun'> & {
2154
2565
  onTextRun?: (run: DocxTextRunInfo) => void;
2155
2566
  };
2156
2567
  declare class DocxDocument {
2568
+ get diagnostics(): readonly DocxDiagnostic[];
2157
2569
  private _metrics;
2158
2570
  private _cjkFallback;
2571
+ private _allowFootnoteContinuation;
2159
2572
  private _document;
2160
2573
  private _source;
2161
2574
  private _meta;
@@ -2182,6 +2595,10 @@ declare class DocxDocument {
2182
2595
  private _bridge;
2183
2596
  private readonly _rawParts;
2184
2597
  private _embeddedFontFaces;
2598
+ private _officeFontFaces;
2599
+ private _mainThreadFallbackReason;
2600
+ private _nativeRouteFaces;
2601
+ private _nativeRouteFacesReleased;
2185
2602
  private _googleFontFaces;
2186
2603
  private readonly _fetchImage;
2187
2604
  private constructor();
@@ -2230,6 +2647,7 @@ declare class DocxDocument {
2230
2647
  };
2231
2648
  private _withActiveView;
2232
2649
  renderPage(target: HTMLCanvasElement | OffscreenCanvas, pageIndex: number, opts?: RenderPageOptions): Promise<void>;
2650
+ private _renderPageWithTargetOwnership;
2233
2651
  renderPageToBitmap(pageIndex: number, opts?: RenderPageToBitmapOptions): Promise<ImageBitmap>;
2234
2652
  collectPageRuns(pageIndex: number, opts?: CollectPageRunsOptions): Promise<DocxTextRunInfo[]>;
2235
2653
  getCommentThreads(pageIndex: number, options?: DocxPageCommentThreadsOptions): Promise<readonly Readonly<ResolvedDocxCommentThread>[]>;
@@ -2254,6 +2672,9 @@ interface DocxViewerOptions extends Omit<RenderPageOptions, 'onTextRun'>, LoadOp
2254
2672
  onError?: (err: Error) => void;
2255
2673
  }
2256
2674
  declare class DocxViewer implements ZoomableViewer {
2675
+ private _pendingLoadAbort;
2676
+ private _pendingRequestedView;
2677
+ private _pendingViewChanged;
2257
2678
  private readonly _documentOwner;
2258
2679
  private get _doc();
2259
2680
  private readonly _borrowed;
@@ -2270,6 +2691,7 @@ declare class DocxViewer implements ZoomableViewer {
2270
2691
  private _findRequestGeneration;
2271
2692
  private _measureCtx;
2272
2693
  private _opts;
2694
+ private _showTrackedChangesExplicit;
2273
2695
  private readonly _mode;
2274
2696
  private readonly _renderDispatcher;
2275
2697
  private readonly _errorRouter;
@@ -2285,7 +2707,7 @@ declare class DocxViewer implements ZoomableViewer {
2285
2707
  private _internalHyperlinkGeneration;
2286
2708
  private readonly _layoutWaiters;
2287
2709
  private _layoutFailed;
2288
- private readonly _loadingLayer;
2710
+ private readonly _loadingIndicator;
2289
2711
  private _elementClickListener;
2290
2712
  private _contextMenuListener;
2291
2713
  static fromDocument(canvas: HTMLCanvasElement, document: DocxDocument, opts?: Omit<DocxViewerOptions, keyof LoadOptions>): Omit<DocxViewer, 'load'>;
@@ -2330,6 +2752,7 @@ declare class DocxViewer implements ZoomableViewer {
2330
2752
  private _render;
2331
2753
  private _reportRenderError;
2332
2754
  private _renderPage;
2755
+ private _clearPresentedPage;
2333
2756
  private _bindLayoutDocument;
2334
2757
  private _unbindLayoutDocument;
2335
2758
  private _onLayoutPublication;
@@ -2382,102 +2805,77 @@ interface DocxScrollViewerOptions extends Omit<RenderPageOptions, 'onTextRun'>,
2382
2805
  onError?: (err: Error) => void;
2383
2806
  }
2384
2807
  declare class DocxScrollViewer implements ZoomableViewer {
2808
+ private _pendingLoadAbort;
2809
+ private _pendingRequestedView;
2810
+ private _pendingViewChanged;
2385
2811
  private readonly _documentOwner;
2386
2812
  private get _doc();
2387
2813
  private readonly _borrowed;
2388
2814
  private readonly _opts;
2389
2815
  private readonly _errorRouter;
2390
2816
  private readonly _container;
2391
- private readonly _wrapper;
2392
- private readonly _scrollHost;
2393
- private readonly _spacer;
2817
+ private readonly _shell;
2818
+ private get _wrapper();
2819
+ private get _scrollHost();
2820
+ private get _spacer();
2394
2821
  private _mode;
2395
- private _scale;
2396
- private _scaleEstablished;
2397
- private _pendingScale;
2822
+ private readonly _viewport;
2823
+ private readonly _zoom;
2824
+ private get _scale();
2825
+ private get _scaleEstablished();
2826
+ private readonly _scroller;
2398
2827
  private readonly _slots;
2399
- private readonly _free;
2828
+ private readonly _layout;
2829
+ private readonly _renderHooks;
2830
+ private readonly _bitmap;
2831
+ private readonly _main;
2832
+ private readonly _navigation;
2833
+ private readonly _selection;
2400
2834
  private _heights;
2401
2835
  private _scrollGeometry;
2402
- private _lastRange;
2403
- private _lastTopIndex;
2404
- private _lastReportedTotal;
2405
- private _lastReportedLayoutComplete;
2406
- private _layoutUnsubscribe;
2407
- private _presentedPageCount;
2408
- private _scrollListener;
2409
- private _selectionChangeListener;
2410
- private _selectionContextKey;
2411
- private _elementClickListener;
2412
- private _contextMenuListener;
2413
- private _commentOutsidePointerListener;
2414
- private _elementContext;
2836
+ private readonly _visibleEvents;
2837
+ private readonly _loader;
2415
2838
  private _activeCommentId;
2416
2839
  private _activeCommentPage;
2417
2840
  private _commentUi;
2418
- private readonly _commentPageById;
2419
- private readonly _commentRunsByPage;
2420
- private readonly _commentIndexedPages;
2421
- private _commentScanFrontier;
2422
- private _commentNavigationGeneration;
2423
2841
  private _internalHyperlinkGeneration;
2424
2842
  private _commentAnchorRangesForMargin;
2425
2843
  private _commentAnchorIds;
2426
- private _reviewOriginPx;
2427
- private _commentGeometryScheduled;
2428
- private _commentGeometryFrame;
2429
- private readonly _pendingCommentGeometry;
2430
- private _elementHitGeneration;
2844
+ private readonly _commentMargin;
2845
+ private readonly _layers;
2846
+ private readonly _commentNavigation;
2847
+ private readonly _commentOverlay;
2431
2848
  private _destroyed;
2432
- private _measureCtx;
2433
- private readonly _bitmapInFlight;
2434
- private _renderEpoch;
2435
- private _settleTimer;
2436
- private _wheelListener;
2437
- private _pendingZoomAnchor;
2438
- private _resizeObserver;
2439
- private _prevBase;
2440
- private _lastFitWidth;
2849
+ private get _renderEpoch();
2850
+ private set _renderEpoch(value);
2851
+ private get _prevBase();
2852
+ private set _prevBase(value);
2441
2853
  private readonly _pageShadow;
2442
2854
  private readonly _find;
2443
2855
  private _findActive;
2856
+ private readonly _highlights;
2444
2857
  private _findRequestGeneration;
2445
2858
  private _showTrackedChanges;
2859
+ private _requestedShowTrackedChanges;
2446
2860
  private _currentDate;
2447
2861
  private _layoutViewGeneration;
2448
- private _layoutViewPublicationGeneration;
2449
2862
  static fromDocument(container: HTMLElement, document: DocxDocument, opts?: Omit<DocxScrollViewerOptions, keyof LoadOptions>): Omit<DocxScrollViewer, 'load'>;
2450
2863
  constructor(container: HTMLElement, opts?: DocxScrollViewerOptions);
2451
2864
  load(source: string | ArrayBuffer): Promise<void>;
2452
2865
  get pageCount(): number;
2453
2866
  get layoutComplete(): boolean;
2454
2867
  waitUntilLayoutComplete(): Promise<void>;
2455
- private _bindLayoutDocument;
2456
- private _unbindLayoutDocument;
2457
- private _onLayoutPublication;
2458
- private _onLayoutViewPublication;
2459
2868
  private _refreshCommentSurface;
2460
- private _applyLayoutPublication;
2461
2869
  private _pageWidthPx;
2462
2870
  private _pageHeightPx;
2463
- private _fitWidthPx;
2464
- private _hasCommentMargin;
2465
2871
  private _hasDisplayableComments;
2466
- private _commentMarginExtent;
2467
- private _commentZoom;
2468
2872
  private _commentsEnabled;
2469
2873
  private _commentsOptions;
2470
- private _commentSide;
2471
- private _syncCommentMarginGeometry;
2472
2874
  private _widestPageWidthPt;
2473
2875
  private _baseScale;
2474
2876
  relayout(): void;
2475
2877
  private _relayout;
2476
2878
  private _recomputeHeights;
2477
- private _gap;
2478
- private _overscan;
2479
- private _pad;
2480
- private _padH;
2481
2879
  private _pageIndexAtOffset;
2482
2880
  private _range;
2483
2881
  private _syncSpacer;
@@ -2485,41 +2883,33 @@ declare class DocxScrollViewer implements ZoomableViewer {
2485
2883
  private _onScroll;
2486
2884
  private _mountVisible;
2487
2885
  private _emitVisiblePageChange;
2488
- private _applyPageShadow;
2489
- private _acquireSlot;
2886
+ private _createSlot;
2490
2887
  private _recycleSlot;
2888
+ private _resetSlot;
2491
2889
  private _positionSlot;
2492
- private _dpr;
2493
2890
  private _renderSlot;
2494
2891
  private _hyperlinkHandler;
2495
2892
  private _navigateInternalHyperlink;
2496
- private _measureForFont;
2497
2893
  private _canvasCssPx;
2894
+ private _commitRenderedRuns;
2498
2895
  private _reportRenderError;
2499
2896
  private _renderSlotBitmap;
2500
2897
  setScale(scale: number): void;
2501
2898
  getScale(): number;
2502
2899
  zoomIn(): void;
2503
2900
  zoomOut(): void;
2504
- private _effectiveZoomMin;
2505
2901
  fitWidth(): void;
2506
2902
  fitPage(): void;
2507
- private _fit;
2508
2903
  private _previewVisible;
2509
2904
  private _previewSlot;
2510
2905
  private _clearTextLayerPreview;
2511
2906
  private _scheduleSettle;
2512
- private _settleRender;
2513
2907
  private _refreshSlotAtomically;
2514
2908
  setShowTrackedChanges(value: boolean): Promise<void>;
2515
2909
  scrollToPage(index: number, opts?: {
2516
2910
  behavior?: 'auto' | 'smooth';
2517
2911
  }): void;
2518
2912
  private _scrollToPageTarget;
2519
- private _resetCommentNavigation;
2520
- private _advanceCommentScanFrontier;
2521
- private _indexCommentPages;
2522
- private _commentRunsForPage;
2523
2913
  goToComment(commentId: string, opts?: {
2524
2914
  pageIndex?: number;
2525
2915
  behavior?: 'auto' | 'smooth';
@@ -2528,27 +2918,12 @@ declare class DocxScrollViewer implements ZoomableViewer {
2528
2918
  findNext(): Promise<FindMatch<DocxMatchLocation> | null>;
2529
2919
  findPrev(): Promise<FindMatch<DocxMatchLocation> | null>;
2530
2920
  clearFind(): void;
2531
- private _activateMatch;
2532
2921
  private _collectPageRuns;
2533
- private _redrawHighlights;
2534
- private _refreshFindRuns;
2535
2922
  private _commitCommentRuns;
2536
2923
  private _redrawSlotComments;
2537
- private _redrawSlotCommentConnectors;
2538
- private _scheduleCommentGeometry;
2539
- private _redrawSlotHighlights;
2540
- private _onResize;
2541
2924
  get topVisiblePage(): number;
2542
2925
  getResourceMetrics(): Promise<OoxmlResourceMetrics>;
2543
2926
  getSelectionContext(options?: DocxSelectionContextOptions): DocxSelectionContext | null;
2544
- private _emitSelectionContextChange;
2545
- private _setElementContext;
2546
- private _invalidateElementContext;
2547
- private _redrawElementOutlines;
2548
- private _redrawElementOutlineForSlot;
2549
- private _onElementClick;
2550
- private _onContextMenu;
2551
- private _resolveContextAt;
2552
2927
  destroy(): void;
2553
2928
  }
2554
2929
  declare function buildDocxTextLayer(layer: HTMLDivElement, runs: DocxTextRunInfo[], cssWidth: number, cssHeight: number, onHyperlinkClick?: (target: HyperlinkTarget) => void, measureForFont?: (font: string) => (s: string) => number, pageIndex?: number): void;
@@ -2559,4 +2934,4 @@ interface DocxHighlightMatch {
2559
2934
  type DocxHighlightColors = FindHighlightColors;
2560
2935
  declare function buildDocxHighlightLayer(layer: HTMLDivElement, runs: DocxTextRunInfo[], matches: DocxHighlightMatch[], cssWidth: number, cssHeight: number, measureForFont: (font: string) => (s: string) => number, colors?: DocxHighlightColors): void;
2561
2936
  //#endregion
2562
- export { type AnchorHostMetrics, type AutoResizeOptions, type BodyElement, type BorderSpec, type CellBorders, type CellElement, type ChartAreaGroupDecorations, type ChartBarGroupDecorations, type ChartDataLabelOverride, type ChartDataPointOverride, type ChartDataTable, type ChartDecorationLineStyle, type ChartDisplayUnits, type ChartDisplayUnitsLabel, 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 ChartRun, 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 CjkFallback, type ColSpec, type CollectPageRunsOptions, type ColumnsSpec, type CommentAnchorGeometryFallback, type CommentAnchorPoint, type CommentAnchorRange, type DecodedImageBudgetStrategy, type DocComment, type DocNote, type DocParagraph, type DocRevision, type DocRun, type DocSettings, type DocTable, type DocTableCell, type DocTableRow, type DocxCommentAnchorKind, type DocxCommentHighlightRect, type DocxCommentMark, type DocxCommentSelectionContext, type DocxCommentsOptions, DocxDocument, type DocxDocumentModel, type DocxElementContext, type DocxElementContextOptions, type DocxHighlightColors, type DocxHighlightMatch, type DocxMatchLocation, type DocxPageCommentThreadsOptions, type DocxPagePoint, type DocxRunBorder, DocxScrollViewer, type DocxScrollViewerOptions, type DocxSelectionContext, type DocxSelectionContextOptions, type DocxSelectionRunLocator, type DocxSelectionSourceLocator, type DocxStorySource, type DocxTextRun, type DocxTextRunInfo, type DocxTextSelectionContext, DocxViewer, type DocxViewerOptions, type DrawingMLCustomDashSegment, type Duotone, type EmbeddedFontRef, type FieldRun, type FillRect, type FindHighlightColors, type FindMatch, type FindMatchesOptions, type FramePr, type GradientFill, type GradientStop, type HeaderFooter, type HeadersFooters, type HyperlinkTarget, type ImageFill, type ImageResourceOptions, type ImageRun, type LegendManualLayout, type LineEnd, type LineNumbering, type LineSpacing, 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 NoFill, type NoteRef, type NumberingInfo, 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 PTabRun, type PageBorderEdge, type PageBorders, type PageNumType, type ParaBorderEdge, type ParagraphBorders, type PathCmd, type PatternFill, type RenderPageOptions, type RenderPageToBitmapOptions, type ResolveDocxCommentThreadsOptions, type ResolvedDocxCommentAnchor, type ResolvedDocxCommentThread, type RevisionAnchorGeometryFallback, type RevisionAnchorRange, type RubyAnnotation, type RunRevision, type SecondaryValueAxis, type SectionGeom, type SectionProps, type ShapeFill, type ShapeRun, type ShapeStrokeFill, type ShapeText, type ShapeTextRun, type SolidFill, type SrcRect, type TabStop, type TableBorders, type TblpPr, type TextPath, type TextSelectionContextOptions, TiffDecodeError, type TiffRenderOptions, type TiffRenderer, type TileInfo, type ViewerCommentConnectorOptions, type ViewerCommentConnectorRoute, type ViewerCommentConnectorStroke, type ViewerCommentMessageContext, type ViewerCommentThreadContext, type ViewerContextMenuEvent, type ZoomableViewer, autoResize, buildDocxHighlightLayer, buildDocxTextLayer, isOoxmlDecodedImageLimitError, isTiffDecodeError, noteText, openExternalHyperlink, readDocxTextSelectionContext, resolveCommentAnchorRuns, resolveDocxCommentThreads, resolveRevisionAnchorRuns };
2937
+ export { type AnchorHostMetrics, type AutoResizeOptions, type BlendMode, type BlipEffect, type BlipEffectContainer, type BlipEffectFill, type BlipEffectImageFill, type BodyElement, type BorderSpec, type CellBorders, type CellElement, type ChartAreaGroupDecorations, type ChartAxisNumberFormat, type ChartBarGroupDecorations, type ChartClassicSurfaceBandStyles, type ChartDataLabelOverride, type ChartDataPointOverride, type ChartDataTable, type ChartDecorationLineStyle, type ChartDisplayUnits, type ChartDisplayUnitsLabel, 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 ChartRun, 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 CjkFallback, type ColSpec, type CollectPageRunsOptions, type ColumnsSpec, type CommentAnchorGeometryFallback, type CommentAnchorPoint, type CommentAnchorRange, type DecodedImageBudgetStrategy, type DocComment, type DocNote, type DocParagraph, type DocRevision, type DocRun, type DocSettings, type DocTable, type DocTableCell, type DocTableRow, type DocxCommentAnchorKind, type DocxCommentHighlightRect, type DocxCommentMark, type DocxCommentSelectionContext, type DocxCommentsOptions, type DocxDiagnostic, type DocxDiagnosticCode, DocxDocument, type DocxDocumentModel, type DocxElementContext, type DocxElementContextOptions, type DocxHighlightColors, type DocxHighlightMatch, type DocxMatchLocation, type DocxPageCommentThreadsOptions, type DocxPagePoint, type DocxRunBorder, DocxScrollViewer, type DocxScrollViewerOptions, type DocxSelectionContext, type DocxSelectionContextOptions, type DocxSelectionRunLocator, type DocxSelectionSourceLocator, type DocxStorySource, type DocxTextRun, type DocxTextRunInfo, type DocxTextSelectionContext, DocxViewer, type DocxViewerOptions, type DrawingMLCustomDashSegment, type Duotone, type EmbeddedFontRef, type FieldRun, type FillRect, type FindHighlightColors, type FindMatch, type FindMatchesOptions, type FramePr, type Glow, type GradientFill, type GradientStop, type HeaderFooter, type HeadersFooters, type HyperlinkTarget, type ImageFill, type ImageResourceOptions, type ImageRun, type LegendManualLayout, type LineEnd, type LineNumbering, type LineSpacing, 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 ModelSource, type ModelSourceConfig, type ModelSourceConfigValue, type ModelSourceLoad, type ModelSourceModule, type ModelSourceModuleDescriptor, type ModelSourceTarget, type NoFill, type NoteRef, type NumberingInfo, 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 OoxmlUnsupportedContentDetails, type OpenedModelSource, type PTabRun, type PageBorderEdge, type PageBorders, type PageNumType, type ParaBorderEdge, type ParagraphBorders, type PathCmd, type PatternFill, type Reflection, type RenderPageOptions, type RenderPageToBitmapOptions, type ResolveDocxCommentThreadsOptions, type ResolvedDocxCommentAnchor, type ResolvedDocxCommentThread, type RevisionAnchorGeometryFallback, type RevisionAnchorRange, type RubyAnnotation, type RunRevision, type SecondaryValueAxis, type SectionGeom, type SectionProps, type Shadow, type ShapeFill, type ShapeRun, type ShapeStrokeFill, type ShapeText, type ShapeTextRun, type SoftEdge, type SolidFill, type SrcRect, type TabStop, type TableBorders, type TblpPr, type TextPath, type TextSelectionContextOptions, TiffDecodeError, type TiffRenderOptions, type TiffRenderer, type TileInfo, type ViewerCommentConnectorOptions, type ViewerCommentConnectorRoute, type ViewerCommentConnectorStroke, type ViewerCommentMessageContext, type ViewerCommentThreadContext, type ViewerContextMenuEvent, type XlsxWorksheetLimits, type ZoomableViewer, autoResize, buildDocxHighlightLayer, buildDocxTextLayer, isOoxmlDecodedImageLimitError, isTiffDecodeError, noteText, openExternalHyperlink, readDocxTextSelectionContext, resolveCommentAnchorRuns, resolveDocxCommentThreads, resolveRevisionAnchorRuns };