@silurus/ooxml 0.88.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 +692 -688
  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-CWGqn5Vr.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-9P63Bsk5.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-D3iqVKCo.js → render-CJVglUHl.js} +3 -3
  57. package/dist/{render-worker-host-B5wQfB7U.js → render-worker-host-BseIaVvm.js} +1 -1
  58. package/dist/{render-worker-host-D4123J27.js → render-worker-host-CyxPU4JU.js} +1 -1
  59. package/dist/{render-worker-host-Di3LxLc0.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 +960 -945
  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 +149 -2
  70. package/dist/types/docx.d.ts +333 -96
  71. package/dist/types/index.d.ts +566 -301
  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 +422 -9
  75. package/dist/types/pptx.d.ts +302 -95
  76. package/dist/types/region-map.d.ts +149 -2
  77. package/dist/types/three-d.d.ts +149 -2
  78. package/dist/types/tiff.d.ts +1 -1
  79. package/dist/types/xlsx.d.ts +343 -132
  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-1uPAxMZr.js +0 -31
  95. package/dist/assets/render-worker-BlvJybji.js +0 -10
  96. package/dist/assets/render-worker-CzmiJfFL.js +0 -11
  97. package/dist/bounded-raw-part-cache-Cg1BsSZQ.js +0 -119
  98. package/dist/canvas-viewer-mechanics-DbLz0rYW.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-B9PTM-pL.js +0 -27280
  105. package/dist/docx-BF9WXrYH.js +0 -3103
  106. package/dist/dom-interaction-boundary-Cnm8DSBN.js +0 -223
  107. package/dist/highlight-rect-C5hkRqUr.js +0 -13
  108. package/dist/hyperlink-Cxzhet30.js +0 -36446
  109. package/dist/line-distribute-D1WNHKz_.js +0 -1023
  110. package/dist/line-metrics-B60C86uh.js +0 -60
  111. package/dist/plot-area-frame-DLTYKHNP.js +0 -4354
  112. package/dist/pptx-DkyYBYoL.js +0 -3065
  113. package/dist/renderer-B4GZb5We.js +0 -6492
  114. package/dist/resource-measurement-SHQCbkh2.js +0 -150
  115. package/dist/session-BGq81gRQ.js +0 -743
  116. package/dist/slide-pull-client-DiPnm240.js +0 -6253
  117. package/dist/source-key-DIJG8BA0.js +0 -42
  118. package/dist/three-d-DJBl8g8M.js +0 -1162
  119. package/dist/transfer-p6iCC2R7.js +0 -6
  120. package/dist/units-BzZ0gAxs.js +0 -4
  121. package/dist/worksheet-pull-client-BM8ywvbu.js +0 -458
  122. package/dist/xlsx-C9NVjgaV.js +0 -8484
  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-BtUu4_7Y.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$1 {
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;
@@ -207,6 +337,7 @@ interface ImageFill {
207
337
  tile?: TileInfo;
208
338
  alpha?: number;
209
339
  duotone?: Duotone$1;
340
+ blipEffects?: BlipEffect[];
210
341
  }
211
342
  interface Shadow {
212
343
  color: string;
@@ -323,6 +454,8 @@ interface Paragraph$1 {
323
454
  indent: number;
324
455
  spaceBefore: number | null;
325
456
  spaceAfter: number | null;
457
+ spaceBeforePct?: number;
458
+ spaceAfterPct?: number;
326
459
  spaceLine: SpaceLine | null;
327
460
  lvl: number;
328
461
  bullet: Bullet$1;
@@ -334,9 +467,11 @@ interface Paragraph$1 {
334
467
  tabStops: TabStop$1[];
335
468
  rtl?: boolean;
336
469
  runs: TextRun[];
470
+ endRunProperties?: TextRunData;
337
471
  }
338
472
  type TextRun = TextRunData | LineBreak | EquationRun;
339
473
  interface EquationRun {
474
+ fallbackText?: string;
340
475
  type: 'math';
341
476
  nodes: MathNode[];
342
477
  display: boolean;
@@ -345,36 +480,57 @@ interface EquationRun {
345
480
  }
346
481
  interface TextRunData {
347
482
  type: 'text';
483
+ hyperlinkUsesTextFill?: boolean;
348
484
  text: string;
349
485
  bold: boolean | null;
350
486
  italic: boolean | null;
351
487
  underline: boolean;
352
488
  underlineStyle?: string;
353
489
  underlineColor?: string;
490
+ underlineFill?: Fill;
491
+ underlineLine?: TextOutline;
492
+ underlineLineNoFill?: boolean;
354
493
  strikethrough: boolean;
355
494
  strikeDouble?: boolean;
356
495
  fontSize: number | null;
357
496
  color: string | null;
497
+ patternFill?: PatternFill;
498
+ glyphFill?: Fill;
499
+ noFill?: boolean;
358
500
  fontFamily: string | null;
359
501
  fontFamilyEa?: string;
502
+ fontFamilyCs?: string;
360
503
  fontFamilySym?: string;
504
+ lang?: string;
505
+ altLang?: string;
361
506
  baseline?: number;
362
507
  caps?: 'none' | 'small' | 'all';
363
508
  letterSpacing?: number;
364
509
  fieldType?: string;
365
510
  hyperlink?: string;
366
511
  hyperlinkAction?: string;
512
+ hyperlinkMouseOver?: string;
513
+ hyperlinkMouseOverAction?: string;
367
514
  shadow?: Shadow;
368
515
  reflection?: Reflection;
369
516
  outline?: TextOutline;
370
517
  highlight?: string;
518
+ characterAttributes?: Record<string, string>;
519
+ characterChildAttributes?: Record<string, Record<string, string>>;
371
520
  }
372
521
  interface TextOutline {
373
522
  width: number;
374
523
  color?: string;
524
+ fill?: Fill;
375
525
  }
376
526
  interface LineBreak {
377
527
  type: 'break';
528
+ fontSize?: number;
529
+ fontFamily?: string;
530
+ bold?: boolean;
531
+ italic?: boolean;
532
+ characterAttributes?: Record<string, string>;
533
+ characterChildAttributes?: Record<string, Record<string, string>>;
378
534
  }
379
535
  interface RenderOptions {
380
536
  width?: number;
@@ -745,6 +901,7 @@ interface ChartModel {
745
901
  title: string | null;
746
902
  titleRichRuns?: ChartTextRun[] | null;
747
903
  titlePresent?: boolean;
904
+ authoredWithoutSeries?: boolean;
748
905
  categories: string[];
749
906
  categorySourceHidden?: boolean[] | null;
750
907
  categoryLevels?: string[][] | null;
@@ -824,6 +981,7 @@ interface ChartModel {
824
981
  subtotalIndices: number[];
825
982
  legendManualLayout?: LegendManualLayout | null;
826
983
  valAxisFormatCode?: string | null;
984
+ valAxisNumberFormat?: ChartAxisNumberFormat | null;
827
985
  valAxisDisplayUnits?: ChartDisplayUnits | null;
828
986
  catAxisDisplayUnits?: ChartDisplayUnits | null;
829
987
  barGapWidth?: number | null;
@@ -912,6 +1070,7 @@ interface ChartModel {
912
1070
  valAxisLineDash?: string | null;
913
1071
  valAxisLinePaintAuthored?: boolean | null;
914
1072
  catAxisFormatCode?: string | null;
1073
+ catAxisNumberFormat?: ChartAxisNumberFormat | null;
915
1074
  catAxisMin?: number | null;
916
1075
  catAxisMax?: number | null;
917
1076
  titleManualLayout?: ChartManualLayout | null;
@@ -995,6 +1154,13 @@ interface ChartModel {
995
1154
  chartexTreemap?: ChartexTreemap | null;
996
1155
  chartexRegionMap?: ChartexRegionMap | null;
997
1156
  chartexHistogramBinning?: ChartexHistogramBinning | null;
1157
+ chartexParetoOwnerIndex?: number | null;
1158
+ chartexParetoSortDescending?: boolean | null;
1159
+ chartexParetoFlatEndpoint?: boolean | null;
1160
+ chartexSuppressGeometry?: boolean | null;
1161
+ chartexParetoOutlineOwner?: boolean | null;
1162
+ chartexPrimaryAxisRight?: boolean | null;
1163
+ chartexShowUnpairedPercentageAxis?: boolean | null;
998
1164
  chartexAccents?: string[] | null;
999
1165
  chartexColorPalette?: Array<string | null> | null;
1000
1166
  chartexColorStyleMethod?: string | null;
@@ -1250,6 +1416,11 @@ interface ChartexHistogramBinning {
1250
1416
  intervalClosed?: 'l' | 'r' | null;
1251
1417
  underflow?: number | null;
1252
1418
  overflow?: number | null;
1419
+ edgeFormatCode?: string | null;
1420
+ }
1421
+ interface ChartAxisNumberFormat {
1422
+ authoredCode: string;
1423
+ sourceLinked?: boolean | null;
1253
1424
  }
1254
1425
  interface SecondaryValueAxis {
1255
1426
  style?: ChartExElementStyle | null;
@@ -1261,6 +1432,7 @@ interface SecondaryValueAxis {
1261
1432
  title: string | null;
1262
1433
  hidden: boolean;
1263
1434
  formatCode?: string | null;
1435
+ numberFormat?: ChartAxisNumberFormat | null;
1264
1436
  displayUnits?: ChartDisplayUnits | null;
1265
1437
  fontColor?: string | null;
1266
1438
  fontPaintAuthored?: boolean | null;
@@ -1361,12 +1533,12 @@ interface ChartRect {
1361
1533
  h: number;
1362
1534
  }
1363
1535
  //#endregion
1364
- //#region dist/.types-work/chart-ex-contract-Dds4H6Xe.d.ts
1536
+ //#region dist/.types-work/chart-ex-contract-uCVPGn_g.d.ts
1365
1537
  interface ChartExRenderer {
1366
1538
  render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number, shapeRotationDeg?: number): boolean;
1367
1539
  }
1368
1540
  //#endregion
1369
- //#region dist/.types-work/mathjax-Ceqah_7b.d.ts
1541
+ //#region dist/.types-work/mathjax-Cs1A6yAm.d.ts
1370
1542
  interface MathSvg {
1371
1543
  svg: string;
1372
1544
  widthEm: number;
@@ -1378,17 +1550,17 @@ interface MathRenderer {
1378
1550
  mathMLToSvg(mathml: string): Promise<MathSvg>;
1379
1551
  }
1380
1552
  //#endregion
1381
- //#region dist/.types-work/three-d-contract-xjaLTy8R.d.ts
1553
+ //#region dist/.types-work/three-d-contract-BAX9ecoe.d.ts
1382
1554
  interface ChartThreeDRenderer {
1383
1555
  render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number, shapeRotationDeg?: number): boolean;
1384
1556
  }
1385
1557
  //#endregion
1386
- //#region dist/.types-work/region-map-contract-DlO_Z1Gd.d.ts
1558
+ //#region dist/.types-work/region-map-contract-J2ruXmu1.d.ts
1387
1559
  interface ChartRegionMapRenderer {
1388
1560
  render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number, shapeRotationDeg?: number): boolean;
1389
1561
  }
1390
1562
  //#endregion
1391
- //#region dist/.types-work/tiff-contract-DsRI31nK.d.ts
1563
+ //#region dist/.types-work/tiff-contract-bt8L_KEc.d.ts
1392
1564
  interface TiffRenderOptions {
1393
1565
  targetWidthPx?: number;
1394
1566
  targetHeightPx?: number;
@@ -1403,14 +1575,19 @@ interface TiffRenderer {
1403
1575
  render(bytes: Uint8Array, options?: Readonly<TiffRenderOptions>): Promise<ImageBitmap | null>;
1404
1576
  }
1405
1577
  //#endregion
1406
- //#region dist/.types-work/hyperlink-BUVsH0z0.d.ts
1578
+ //#region dist/.types-work/hyperlink-BER006VA.d.ts
1407
1579
  type CjkLang = 'kr' | 'sc' | 'tc' | 'hk' | 'jp';
1408
1580
  type CjkFallback = 'auto' | CjkLang;
1409
- type OoxmlErrorCode = 'encrypted' | 'invalid-password' | 'unsupported-encryption' | 'legacy-binary-format' | 'not-ooxml';
1581
+ type OoxmlErrorCode = 'encrypted' | 'invalid-password' | 'unsupported-encryption' | 'legacy-binary-format' | 'not-ooxml' | 'unsupported-image-effect' | 'invalid-numbering' | 'unsupported-content';
1410
1582
  type OoxmlErrorStage = 'container' | 'decompression' | 'parsing' | 'serialization' | 'layout' | 'rendering' | 'worker';
1583
+ interface OoxmlUnsupportedContentDetails {
1584
+ readonly format: string;
1585
+ readonly reason: 'source-subset';
1586
+ }
1411
1587
  declare class OoxmlError extends Error {
1412
1588
  readonly code: OoxmlErrorCode;
1413
- constructor(code: OoxmlErrorCode, message: string);
1589
+ readonly details?: OoxmlUnsupportedContentDetails;
1590
+ constructor(code: OoxmlErrorCode, message: string, details?: OoxmlUnsupportedContentDetails);
1414
1591
  }
1415
1592
  type OoxmlFormat = 'docx' | 'xlsx' | 'pptx';
1416
1593
  interface OoxmlResourceUsageSnapshot {
@@ -1447,6 +1624,12 @@ interface OoxmlResourcePolicySnapshot {
1447
1624
  readonly maxArchiveEntryBytes: number | null;
1448
1625
  readonly maxTotalInflatedBytes: number | null;
1449
1626
  readonly maxArchiveEntries: number | null;
1627
+ readonly xlsxWorksheetLimits?: Readonly<{
1628
+ readonly maxRows: number;
1629
+ readonly maxCells: number;
1630
+ readonly maxOwnedUtf8Bytes: number;
1631
+ readonly maxJsonBytes: number;
1632
+ }>;
1450
1633
  }
1451
1634
  interface OoxmlResourceMetricsCheckpoint {
1452
1635
  readonly name: string;
@@ -1478,6 +1661,12 @@ interface OoxmlResourceLimits {
1478
1661
  maxTotalInflatedBytes?: OoxmlResourceLimit;
1479
1662
  maxArchiveEntries?: OoxmlResourceLimit;
1480
1663
  }
1664
+ interface XlsxWorksheetLimits {
1665
+ maxRows?: number;
1666
+ maxCells?: number;
1667
+ maxOwnedUtf8Bytes?: number;
1668
+ maxJsonBytes?: number;
1669
+ }
1481
1670
  interface ProgressiveLayoutProgress {
1482
1671
  committedUnits: number;
1483
1672
  }
@@ -1493,6 +1682,7 @@ interface LoadOptions$3 {
1493
1682
  wasmUrl?: string | URL;
1494
1683
  maxZipEntryBytes?: number;
1495
1684
  resourceLimits?: OoxmlResourceLimits;
1685
+ xlsxWorksheetLimits?: XlsxWorksheetLimits;
1496
1686
  debug?: boolean;
1497
1687
  onResourceMetrics?: (metrics: OoxmlResourceMetrics) => void;
1498
1688
  workerTimeoutMs?: number;
@@ -1502,7 +1692,7 @@ interface LoadOptions$3 {
1502
1692
  chartEx?: ChartExRenderer;
1503
1693
  tiff?: TiffRenderer;
1504
1694
  }
1505
- type OoxmlDecodedImageLimitMetric = 'image-dimension' | 'image-pixels' | 'active-decoded-bytes';
1695
+ 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';
1506
1696
  declare class OoxmlDecodedImageLimitError extends RangeError {
1507
1697
  readonly metric: OoxmlDecodedImageLimitMetric;
1508
1698
  readonly limit: number;
@@ -1521,7 +1711,7 @@ type HyperlinkTarget = {
1521
1711
  };
1522
1712
  declare function openExternalHyperlink(url: string, allowed?: readonly string[], win?: Pick<Window, 'open'> | undefined): boolean;
1523
1713
  //#endregion
1524
- //#region dist/.types-work/find-highlight-CfHNje1k.d.ts
1714
+ //#region dist/.types-work/find-highlight-CT_JWmHP.d.ts
1525
1715
  interface TextSelectionContextOptions {
1526
1716
  readonly maxTextCharacters?: number;
1527
1717
  readonly maxRunLocators?: number;
@@ -1582,7 +1772,44 @@ interface FindHighlightColors {
1582
1772
  active?: string;
1583
1773
  }
1584
1774
  //#endregion
1585
- //#region dist/.types-work/types-fEjGozew.d.ts
1775
+ //#region dist/.types-work/model-source-BvlR3Xr6.d.ts
1776
+ type ModelSourceTarget = 'docx' | 'xlsx' | 'pptx';
1777
+ type ModelSourceConfigValue = string | number | boolean | null;
1778
+ type ModelSourceConfig = Readonly<Record<string, ModelSourceConfigValue>>;
1779
+ declare const MODEL_SOURCE_MODULE_PROTOCOL = "ooxml-model-source-module/v2";
1780
+ interface ModelSourceModuleDescriptor {
1781
+ readonly protocol: typeof MODEL_SOURCE_MODULE_PROTOCOL;
1782
+ readonly target: ModelSourceTarget;
1783
+ readonly moduleUrl: string;
1784
+ readonly config: ModelSourceConfig;
1785
+ }
1786
+ interface ModelSourceLoad {
1787
+ readonly module: ModelSourceModuleDescriptor;
1788
+ readonly transfer?: readonly Transferable[];
1789
+ release(): void;
1790
+ }
1791
+ interface ModelSource<T extends ModelSourceTarget = ModelSourceTarget> {
1792
+ readonly target: T;
1793
+ claim(bytes: Uint8Array): boolean;
1794
+ beginLoad(): ModelSourceLoad;
1795
+ }
1796
+ interface OpenedModelSource<TArchive> {
1797
+ readonly archive: TArchive;
1798
+ readonly viewDefaults?: Readonly<Record<string, boolean>>;
1799
+ close(): void;
1800
+ }
1801
+ interface ModelSourceModule<TArchive = unknown> {
1802
+ openModelSource(bytes: Uint8Array, config: ModelSourceConfig, signal?: AbortSignal, transfer?: readonly Transferable[]): Promise<OpenedModelSource<TArchive>>;
1803
+ }
1804
+ //#endregion
1805
+ //#region dist/.types-work/types-DD7HF1Wg.d.ts
1806
+ type DocxDiagnosticCode = 'FLOW_OVERLAP' | 'BOTTOM_MARGIN_INVASION' | 'FLOW_DOMAIN_INVASION' | 'INVALID_REFERENCE' | 'INVALID_GEOMETRY' | 'INVALID_VALUE' | 'MISSING_RESOURCE' | 'NON_CONVERGENCE' | 'UNSUPPORTED_FEATURE';
1807
+ interface DocxDiagnostic {
1808
+ readonly code: DocxDiagnosticCode;
1809
+ readonly severity: 'warning' | 'error';
1810
+ readonly source?: Readonly<DocxStorySource>;
1811
+ readonly message: string;
1812
+ }
1586
1813
  interface DocxDocumentModel {
1587
1814
  section: SectionProps;
1588
1815
  body: BodyElement[];
@@ -1607,15 +1834,19 @@ interface EmbeddedFontRef {
1607
1834
  fontKey: string;
1608
1835
  }
1609
1836
  interface DocSettings {
1837
+ doNotUseHtmlParagraphAutoSpacing?: boolean;
1610
1838
  kinsoku?: boolean;
1611
1839
  noLineBreaksBefore?: string;
1612
1840
  noLineBreaksAfter?: string;
1613
1841
  mathDefJc?: string;
1614
1842
  defaultTabStop?: number;
1615
1843
  characterSpacingControl?: string;
1844
+ lineWrapLikeWord6?: boolean;
1845
+ enableOpenTypeFeatures?: boolean;
1616
1846
  useFeLayout?: boolean;
1617
1847
  balanceSingleByteDoubleByteWidth?: boolean;
1618
1848
  adjustLineHeightInTable?: boolean;
1849
+ compatibilityMode?: number;
1619
1850
  }
1620
1851
  interface DocRevision {
1621
1852
  kind: 'insertion' | 'deletion' | 'moveFrom' | 'moveTo' | string;
@@ -1726,6 +1957,7 @@ type BodyElement = ({
1726
1957
  type: 'table';
1727
1958
  } & DocTable) | {
1728
1959
  type: 'pageBreak';
1960
+ origin?: 'authored' | 'coverPageSynthetic';
1729
1961
  parity?: 'odd' | 'even';
1730
1962
  sameParagraphAsPrevious?: boolean;
1731
1963
  } | {
@@ -1749,6 +1981,8 @@ interface DocParagraph {
1749
1981
  indentFirst: number;
1750
1982
  spaceBefore: number;
1751
1983
  spaceAfter: number;
1984
+ beforeAutospacing?: boolean;
1985
+ afterAutospacing?: boolean;
1752
1986
  lineSpacing: LineSpacing | null;
1753
1987
  numbering: NumberingInfo | null;
1754
1988
  tabStops: TabStop[];
@@ -1763,6 +1997,8 @@ interface DocParagraph {
1763
1997
  markVanish?: boolean;
1764
1998
  widowControl?: boolean;
1765
1999
  overflowPunct?: boolean;
2000
+ autoSpaceDE?: boolean;
2001
+ autoSpaceDN?: boolean;
1766
2002
  adjustRightInd?: boolean;
1767
2003
  borders?: ParagraphBorders | null;
1768
2004
  styleId?: string | null;
@@ -1836,6 +2072,7 @@ interface NumberingInfo {
1836
2072
  picBulletMimeType?: string;
1837
2073
  picBulletWidthPt?: number;
1838
2074
  picBulletHeightPt?: number;
2075
+ picBulletTransform?: Pick<ImageRun, 'srcRect' | 'rotation' | 'flipH' | 'flipV'>;
1839
2076
  }
1840
2077
  type DocRunContent = ({
1841
2078
  type: 'text';
@@ -1931,6 +2168,8 @@ interface AnchorHostMetrics {
1931
2168
  }
1932
2169
  interface ShapeRun {
1933
2170
  inline?: boolean;
2171
+ inlineOffsetXPt?: number;
2172
+ inlineOffsetYPt?: number;
1934
2173
  widthPt: number;
1935
2174
  heightPt: number;
1936
2175
  anchorXPt: number;
@@ -1951,9 +2190,37 @@ interface ShapeRun {
1951
2190
  groupHeightPt?: number | null;
1952
2191
  behindDoc?: boolean;
1953
2192
  zOrder: number;
2193
+ vmlShadow?: {
2194
+ kind: 'single' | 'double' | 'emboss' | 'perspective';
2195
+ color: string;
2196
+ color2: string;
2197
+ offset: {
2198
+ xPt: number;
2199
+ yPt: number;
2200
+ xFraction: number;
2201
+ yFraction: number;
2202
+ };
2203
+ offset2: {
2204
+ xPt: number;
2205
+ yPt: number;
2206
+ xFraction: number;
2207
+ yFraction: number;
2208
+ };
2209
+ opacity: number;
2210
+ obscured: boolean;
2211
+ origin: [number, number];
2212
+ matrix: [number, number, number, number, number, number];
2213
+ absolutePerspective: boolean;
2214
+ };
1954
2215
  subpaths: PathCmd$1[][];
2216
+ subpathPaint?: Array<{
2217
+ fillRule?: 'nonzero' | 'evenodd';
2218
+ fill?: 'none' | 'lighten' | 'lightenLess' | 'darken' | 'darkenLess';
2219
+ stroke?: false;
2220
+ }>;
1955
2221
  presetGeometry?: string | null;
1956
2222
  adjValues?: Array<number | null>;
2223
+ vmlPicture?: Pick<ImageRun, 'imagePath' | 'mimeType' | 'srcRect' | 'colorReplaceFrom' | 'duotone'>;
1957
2224
  fill: ShapeFill$1 | null;
1958
2225
  stroke: string | null;
1959
2226
  strokeWidth?: number;
@@ -1983,11 +2250,13 @@ interface ShapeRun {
1983
2250
  defaultTextColor?: string | null;
1984
2251
  textAnchor?: string | null;
1985
2252
  textAutofit?: string | null;
2253
+ textWrap?: string | null;
1986
2254
  textInsetL?: number;
1987
2255
  textInsetT?: number;
1988
2256
  textInsetR?: number;
1989
2257
  textInsetB?: number;
1990
2258
  textVert?: string | null;
2259
+ textUpright?: boolean | null;
1991
2260
  textPath?: TextPath | null;
1992
2261
  fillOpacity?: number | null;
1993
2262
  }
@@ -2015,6 +2284,7 @@ interface ShapeTextRun$1 {
2015
2284
  interface ShapeText$1 {
2016
2285
  text: string;
2017
2286
  fontSizePt: number;
2287
+ defaultFontSize?: number;
2018
2288
  color?: string | null;
2019
2289
  paragraphMarkColor?: string | null;
2020
2290
  fontFamily?: string | null;
@@ -2025,6 +2295,8 @@ interface ShapeText$1 {
2025
2295
  alignment: string;
2026
2296
  spaceBefore?: number;
2027
2297
  spaceAfter?: number;
2298
+ beforeAutospacing?: boolean;
2299
+ afterAutospacing?: boolean;
2028
2300
  lineSpacingVal?: number;
2029
2301
  lineSpacingRule?: string;
2030
2302
  indentLeft?: number;
@@ -2061,6 +2333,20 @@ type ShapeFill$1 = {
2061
2333
  preset: string;
2062
2334
  } | {
2063
2335
  fillType: 'image';
2336
+ vml?: {
2337
+ repeat: boolean;
2338
+ size: [{
2339
+ value: number;
2340
+ fraction: boolean;
2341
+ }, {
2342
+ value: number;
2343
+ fraction: boolean;
2344
+ }] | null;
2345
+ origin: [number, number];
2346
+ position: [number, number];
2347
+ aspect: string;
2348
+ alignShape: boolean;
2349
+ };
2064
2350
  imagePath: string;
2065
2351
  mimeType: string;
2066
2352
  svgImagePath?: string;
@@ -2074,6 +2360,7 @@ type ShapeFill$1 = {
2074
2360
  tile?: TileInfo;
2075
2361
  alpha?: number;
2076
2362
  duotone?: Duotone$1;
2363
+ blipEffects?: BlipEffect[];
2077
2364
  };
2078
2365
  type ShapeStrokeFill = {
2079
2366
  fillType: 'gradient';
@@ -2164,6 +2451,7 @@ interface DocxTextRun {
2164
2451
  interface NoteRef {
2165
2452
  kind: 'footnote' | 'endnote' | string;
2166
2453
  id: string;
2454
+ customMarkFollows?: boolean;
2167
2455
  }
2168
2456
  interface RunRevision {
2169
2457
  kind: 'insertion' | 'deletion' | 'moveFrom' | 'moveTo' | string;
@@ -2199,6 +2487,7 @@ interface ImageRun {
2199
2487
  anchorYFromPara?: boolean;
2200
2488
  colorReplaceFrom?: string;
2201
2489
  duotone?: Duotone$1;
2490
+ blipEffects?: BlipEffect[];
2202
2491
  alpha?: number;
2203
2492
  wrapMode?: string;
2204
2493
  distTop?: number;
@@ -2278,10 +2567,13 @@ interface DocTableCell {
2278
2567
  vAlign: 'top' | 'center' | 'bottom';
2279
2568
  widthPt: number | null;
2280
2569
  widthPct?: number;
2570
+ noWrap?: boolean;
2281
2571
  marginTop?: number | null;
2282
2572
  marginBottom?: number | null;
2283
2573
  marginLeft?: number | null;
2284
2574
  marginRight?: number | null;
2575
+ textDirection?: string;
2576
+ hideMark?: boolean;
2285
2577
  }
2286
2578
  interface CellBorders {
2287
2579
  top: BorderSpec | null;
@@ -2290,6 +2582,8 @@ interface CellBorders {
2290
2582
  right: BorderSpec | null;
2291
2583
  insideH: BorderSpec | null;
2292
2584
  insideV: BorderSpec | null;
2585
+ tl2br?: BorderSpec;
2586
+ tr2bl?: BorderSpec;
2293
2587
  }
2294
2588
  interface DocxStorySource {
2295
2589
  story: 'body' | 'header' | 'footer' | 'footnote' | 'endnote' | 'textbox';
@@ -2301,10 +2595,12 @@ interface DocxTextRunInfo {
2301
2595
  paragraphId?: string;
2302
2596
  sourceRunIndex?: number;
2303
2597
  direction?: 'ltr' | 'rtl';
2598
+ optionalHyphenGlyph?: true;
2304
2599
  text: string;
2305
2600
  x: number;
2306
2601
  y: number;
2307
2602
  w: number;
2603
+ trailingSpaceCompressionPx?: number;
2308
2604
  h: number;
2309
2605
  highlightBounds?: Readonly<{
2310
2606
  x: number;
@@ -2329,7 +2625,7 @@ interface RenderPageOptions {
2329
2625
  showTrackedChanges?: boolean;
2330
2626
  }
2331
2627
  //#endregion
2332
- //#region dist/.types-work/docx-CKHYWz-i.d.ts
2628
+ //#region dist/.types-work/docx-Ch9sglGX.d.ts
2333
2629
  interface CommentAnchorRange {
2334
2630
  readonly commentId: string;
2335
2631
  readonly source: Readonly<DocxStorySource>;
@@ -2451,6 +2747,8 @@ interface RevisionAnchorGeometryFallback {
2451
2747
  }
2452
2748
  declare function resolveRevisionAnchorRuns(anchor: Readonly<RevisionAnchorRange>, runs: readonly Readonly<DocxTextRunInfo>[]): readonly Readonly<DocxTextRunInfo>[];
2453
2749
  interface LoadOptions$2 extends LoadOptions$3 {
2750
+ allowFootnoteContinuation?: boolean;
2751
+ legacyDoc?: ModelSource<'docx'>;
2454
2752
  math?: MathRenderer;
2455
2753
  mode?: 'main' | 'worker';
2456
2754
  sliceLayout?: boolean;
@@ -2467,8 +2765,10 @@ type RenderPageToBitmapOptions = Omit<RenderPageOptions, 'onTextRun'> & {
2467
2765
  onTextRun?: (run: DocxTextRunInfo) => void;
2468
2766
  };
2469
2767
  declare class DocxDocument {
2768
+ get diagnostics(): readonly DocxDiagnostic[];
2470
2769
  private _metrics;
2471
2770
  private _cjkFallback;
2771
+ private _allowFootnoteContinuation;
2472
2772
  private _document;
2473
2773
  private _source;
2474
2774
  private _meta;
@@ -2495,6 +2795,10 @@ declare class DocxDocument {
2495
2795
  private _bridge;
2496
2796
  private readonly _rawParts;
2497
2797
  private _embeddedFontFaces;
2798
+ private _officeFontFaces;
2799
+ private _mainThreadFallbackReason;
2800
+ private _nativeRouteFaces;
2801
+ private _nativeRouteFacesReleased;
2498
2802
  private _googleFontFaces;
2499
2803
  private readonly _fetchImage;
2500
2804
  private constructor();
@@ -2543,6 +2847,7 @@ declare class DocxDocument {
2543
2847
  };
2544
2848
  private _withActiveView;
2545
2849
  renderPage(target: HTMLCanvasElement | OffscreenCanvas, pageIndex: number, opts?: RenderPageOptions): Promise<void>;
2850
+ private _renderPageWithTargetOwnership;
2546
2851
  renderPageToBitmap(pageIndex: number, opts?: RenderPageToBitmapOptions): Promise<ImageBitmap>;
2547
2852
  collectPageRuns(pageIndex: number, opts?: CollectPageRunsOptions): Promise<DocxTextRunInfo[]>;
2548
2853
  getCommentThreads(pageIndex: number, options?: DocxPageCommentThreadsOptions): Promise<readonly Readonly<ResolvedDocxCommentThread>[]>;
@@ -2567,6 +2872,9 @@ interface DocxViewerOptions extends Omit<RenderPageOptions, 'onTextRun'>, LoadOp
2567
2872
  onError?: (err: Error) => void;
2568
2873
  }
2569
2874
  declare class DocxViewer implements ZoomableViewer {
2875
+ private _pendingLoadAbort;
2876
+ private _pendingRequestedView;
2877
+ private _pendingViewChanged;
2570
2878
  private readonly _documentOwner;
2571
2879
  private get _doc();
2572
2880
  private readonly _borrowed;
@@ -2583,6 +2891,7 @@ declare class DocxViewer implements ZoomableViewer {
2583
2891
  private _findRequestGeneration;
2584
2892
  private _measureCtx;
2585
2893
  private _opts;
2894
+ private _showTrackedChangesExplicit;
2586
2895
  private readonly _mode;
2587
2896
  private readonly _renderDispatcher;
2588
2897
  private readonly _errorRouter;
@@ -2598,7 +2907,7 @@ declare class DocxViewer implements ZoomableViewer {
2598
2907
  private _internalHyperlinkGeneration;
2599
2908
  private readonly _layoutWaiters;
2600
2909
  private _layoutFailed;
2601
- private readonly _loadingLayer;
2910
+ private readonly _loadingIndicator;
2602
2911
  private _elementClickListener;
2603
2912
  private _contextMenuListener;
2604
2913
  static fromDocument(canvas: HTMLCanvasElement, document: DocxDocument, opts?: Omit<DocxViewerOptions, keyof LoadOptions$2>): Omit<DocxViewer, 'load'>;
@@ -2643,6 +2952,7 @@ declare class DocxViewer implements ZoomableViewer {
2643
2952
  private _render;
2644
2953
  private _reportRenderError;
2645
2954
  private _renderPage;
2955
+ private _clearPresentedPage;
2646
2956
  private _bindLayoutDocument;
2647
2957
  private _unbindLayoutDocument;
2648
2958
  private _onLayoutPublication;
@@ -2695,102 +3005,77 @@ interface DocxScrollViewerOptions extends Omit<RenderPageOptions, 'onTextRun'>,
2695
3005
  onError?: (err: Error) => void;
2696
3006
  }
2697
3007
  declare class DocxScrollViewer implements ZoomableViewer {
3008
+ private _pendingLoadAbort;
3009
+ private _pendingRequestedView;
3010
+ private _pendingViewChanged;
2698
3011
  private readonly _documentOwner;
2699
3012
  private get _doc();
2700
3013
  private readonly _borrowed;
2701
3014
  private readonly _opts;
2702
3015
  private readonly _errorRouter;
2703
3016
  private readonly _container;
2704
- private readonly _wrapper;
2705
- private readonly _scrollHost;
2706
- private readonly _spacer;
3017
+ private readonly _shell;
3018
+ private get _wrapper();
3019
+ private get _scrollHost();
3020
+ private get _spacer();
2707
3021
  private _mode;
2708
- private _scale;
2709
- private _scaleEstablished;
2710
- private _pendingScale;
3022
+ private readonly _viewport;
3023
+ private readonly _zoom;
3024
+ private get _scale();
3025
+ private get _scaleEstablished();
3026
+ private readonly _scroller;
2711
3027
  private readonly _slots;
2712
- private readonly _free;
3028
+ private readonly _layout;
3029
+ private readonly _renderHooks;
3030
+ private readonly _bitmap;
3031
+ private readonly _main;
3032
+ private readonly _navigation;
3033
+ private readonly _selection;
2713
3034
  private _heights;
2714
3035
  private _scrollGeometry;
2715
- private _lastRange;
2716
- private _lastTopIndex;
2717
- private _lastReportedTotal;
2718
- private _lastReportedLayoutComplete;
2719
- private _layoutUnsubscribe;
2720
- private _presentedPageCount;
2721
- private _scrollListener;
2722
- private _selectionChangeListener;
2723
- private _selectionContextKey;
2724
- private _elementClickListener;
2725
- private _contextMenuListener;
2726
- private _commentOutsidePointerListener;
2727
- private _elementContext;
3036
+ private readonly _visibleEvents;
3037
+ private readonly _loader;
2728
3038
  private _activeCommentId;
2729
3039
  private _activeCommentPage;
2730
3040
  private _commentUi;
2731
- private readonly _commentPageById;
2732
- private readonly _commentRunsByPage;
2733
- private readonly _commentIndexedPages;
2734
- private _commentScanFrontier;
2735
- private _commentNavigationGeneration;
2736
3041
  private _internalHyperlinkGeneration;
2737
3042
  private _commentAnchorRangesForMargin;
2738
3043
  private _commentAnchorIds;
2739
- private _reviewOriginPx;
2740
- private _commentGeometryScheduled;
2741
- private _commentGeometryFrame;
2742
- private readonly _pendingCommentGeometry;
2743
- private _elementHitGeneration;
3044
+ private readonly _commentMargin;
3045
+ private readonly _layers;
3046
+ private readonly _commentNavigation;
3047
+ private readonly _commentOverlay;
2744
3048
  private _destroyed;
2745
- private _measureCtx;
2746
- private readonly _bitmapInFlight;
2747
- private _renderEpoch;
2748
- private _settleTimer;
2749
- private _wheelListener;
2750
- private _pendingZoomAnchor;
2751
- private _resizeObserver;
2752
- private _prevBase;
2753
- private _lastFitWidth;
3049
+ private get _renderEpoch();
3050
+ private set _renderEpoch(value);
3051
+ private get _prevBase();
3052
+ private set _prevBase(value);
2754
3053
  private readonly _pageShadow;
2755
3054
  private readonly _find;
2756
3055
  private _findActive;
3056
+ private readonly _highlights;
2757
3057
  private _findRequestGeneration;
2758
3058
  private _showTrackedChanges;
3059
+ private _requestedShowTrackedChanges;
2759
3060
  private _currentDate;
2760
3061
  private _layoutViewGeneration;
2761
- private _layoutViewPublicationGeneration;
2762
3062
  static fromDocument(container: HTMLElement, document: DocxDocument, opts?: Omit<DocxScrollViewerOptions, keyof LoadOptions$2>): Omit<DocxScrollViewer, 'load'>;
2763
3063
  constructor(container: HTMLElement, opts?: DocxScrollViewerOptions);
2764
3064
  load(source: string | ArrayBuffer): Promise<void>;
2765
3065
  get pageCount(): number;
2766
3066
  get layoutComplete(): boolean;
2767
3067
  waitUntilLayoutComplete(): Promise<void>;
2768
- private _bindLayoutDocument;
2769
- private _unbindLayoutDocument;
2770
- private _onLayoutPublication;
2771
- private _onLayoutViewPublication;
2772
3068
  private _refreshCommentSurface;
2773
- private _applyLayoutPublication;
2774
3069
  private _pageWidthPx;
2775
3070
  private _pageHeightPx;
2776
- private _fitWidthPx;
2777
- private _hasCommentMargin;
2778
3071
  private _hasDisplayableComments;
2779
- private _commentMarginExtent;
2780
- private _commentZoom;
2781
3072
  private _commentsEnabled;
2782
3073
  private _commentsOptions;
2783
- private _commentSide;
2784
- private _syncCommentMarginGeometry;
2785
3074
  private _widestPageWidthPt;
2786
3075
  private _baseScale;
2787
3076
  relayout(): void;
2788
3077
  private _relayout;
2789
3078
  private _recomputeHeights;
2790
- private _gap;
2791
- private _overscan;
2792
- private _pad;
2793
- private _padH;
2794
3079
  private _pageIndexAtOffset;
2795
3080
  private _range;
2796
3081
  private _syncSpacer;
@@ -2798,41 +3083,33 @@ declare class DocxScrollViewer implements ZoomableViewer {
2798
3083
  private _onScroll;
2799
3084
  private _mountVisible;
2800
3085
  private _emitVisiblePageChange;
2801
- private _applyPageShadow;
2802
- private _acquireSlot;
3086
+ private _createSlot;
2803
3087
  private _recycleSlot;
3088
+ private _resetSlot;
2804
3089
  private _positionSlot;
2805
- private _dpr;
2806
3090
  private _renderSlot;
2807
3091
  private _hyperlinkHandler;
2808
3092
  private _navigateInternalHyperlink;
2809
- private _measureForFont;
2810
3093
  private _canvasCssPx;
3094
+ private _commitRenderedRuns;
2811
3095
  private _reportRenderError;
2812
3096
  private _renderSlotBitmap;
2813
3097
  setScale(scale: number): void;
2814
3098
  getScale(): number;
2815
3099
  zoomIn(): void;
2816
3100
  zoomOut(): void;
2817
- private _effectiveZoomMin;
2818
3101
  fitWidth(): void;
2819
3102
  fitPage(): void;
2820
- private _fit;
2821
3103
  private _previewVisible;
2822
3104
  private _previewSlot;
2823
3105
  private _clearTextLayerPreview;
2824
3106
  private _scheduleSettle;
2825
- private _settleRender;
2826
3107
  private _refreshSlotAtomically;
2827
3108
  setShowTrackedChanges(value: boolean): Promise<void>;
2828
3109
  scrollToPage(index: number, opts?: {
2829
3110
  behavior?: 'auto' | 'smooth';
2830
3111
  }): void;
2831
3112
  private _scrollToPageTarget;
2832
- private _resetCommentNavigation;
2833
- private _advanceCommentScanFrontier;
2834
- private _indexCommentPages;
2835
- private _commentRunsForPage;
2836
3113
  goToComment(commentId: string, opts?: {
2837
3114
  pageIndex?: number;
2838
3115
  behavior?: 'auto' | 'smooth';
@@ -2841,27 +3118,12 @@ declare class DocxScrollViewer implements ZoomableViewer {
2841
3118
  findNext(): Promise<FindMatch<DocxMatchLocation> | null>;
2842
3119
  findPrev(): Promise<FindMatch<DocxMatchLocation> | null>;
2843
3120
  clearFind(): void;
2844
- private _activateMatch;
2845
3121
  private _collectPageRuns;
2846
- private _redrawHighlights;
2847
- private _refreshFindRuns;
2848
3122
  private _commitCommentRuns;
2849
3123
  private _redrawSlotComments;
2850
- private _redrawSlotCommentConnectors;
2851
- private _scheduleCommentGeometry;
2852
- private _redrawSlotHighlights;
2853
- private _onResize;
2854
3124
  get topVisiblePage(): number;
2855
3125
  getResourceMetrics(): Promise<OoxmlResourceMetrics>;
2856
3126
  getSelectionContext(options?: DocxSelectionContextOptions): DocxSelectionContext | null;
2857
- private _emitSelectionContextChange;
2858
- private _setElementContext;
2859
- private _invalidateElementContext;
2860
- private _redrawElementOutlines;
2861
- private _redrawElementOutlineForSlot;
2862
- private _onElementClick;
2863
- private _onContextMenu;
2864
- private _resolveContextAt;
2865
3127
  destroy(): void;
2866
3128
  }
2867
3129
  declare function buildDocxTextLayer(layer: HTMLDivElement, runs: DocxTextRunInfo[], cssWidth: number, cssHeight: number, onHyperlinkClick?: (target: HyperlinkTarget) => void, measureForFont?: (font: string) => (s: string) => number, pageIndex?: number): void;
@@ -2872,10 +3134,10 @@ interface DocxHighlightMatch {
2872
3134
  type DocxHighlightColors = FindHighlightColors;
2873
3135
  declare function buildDocxHighlightLayer(layer: HTMLDivElement, runs: DocxTextRunInfo[], matches: DocxHighlightMatch[], cssWidth: number, cssHeight: number, measureForFont: (font: string) => (s: string) => number, colors?: DocxHighlightColors): void;
2874
3136
  declare namespace docx_d_exports {
2875
- export { AnchorHostMetrics, AutoResizeOptions, BodyElement, BorderSpec, CellBorders, CellElement, ChartAreaGroupDecorations, ChartBarGroupDecorations, ChartClassicSurfaceBandStyles, ChartDataLabelOverride, ChartDataPointOverride, ChartDataTable, ChartDecorationLineStyle, ChartDisplayUnits, ChartDisplayUnitsLabel, ChartErrBars, ChartExElementStyle, ChartExRenderer, ChartLabelBox, ChartLegendEntryOverride, ChartLineDashSegment, ChartLineGroupDecorations, ChartManualLayout, ChartModel, ChartOfPie, ChartPlotGroup, ChartPlotGroupAxisSlot, ChartPlotGroupKind, ChartRect, ChartRegionMapRenderer, ChartRun, ChartSeries, ChartSeriesDataLabels, ChartStockBarPaint, ChartStockUpDownBarStyle, ChartSurfaceBandFormat, ChartTextBox, ChartTextParagraph, ChartTextRun, ChartThreeD, ChartThreeDPictureOptions, ChartThreeDRenderer, ChartThreeDSeriesAxis, ChartThreeDSurface, ChartTrendline, ChartType, ChartexBoxSeries, ChartexBoxWhisker, ChartexGeography, ChartexHistogramBinning, ChartexRegionMap, ChartexRegionMapColors, ChartexRegionMapRow, ChartexSunburst, ChartexSunburstRow, ChartexTreemap, ChartexValueColorStop, CjkFallback, ColSpec, CollectPageRunsOptions, ColumnsSpec, CommentAnchorGeometryFallback, CommentAnchorPoint, CommentAnchorRange, DecodedImageBudgetStrategy, DocComment, DocNote, DocParagraph, DocRevision, DocRun, DocSettings, DocTable, DocTableCell, DocTableRow, DocxCommentAnchorKind, DocxCommentHighlightRect, DocxCommentMark, DocxCommentSelectionContext, DocxCommentsOptions, DocxDocument, DocxDocumentModel, DocxElementContext, DocxElementContextOptions, DocxHighlightColors, DocxHighlightMatch, DocxMatchLocation, DocxPageCommentThreadsOptions, DocxPagePoint, DocxRunBorder, DocxScrollViewer, DocxScrollViewerOptions, DocxSelectionContext, DocxSelectionContextOptions, DocxSelectionRunLocator, DocxSelectionSourceLocator, DocxStorySource, DocxTextRun, DocxTextRunInfo, DocxTextSelectionContext, DocxViewer, DocxViewerOptions, DrawingMLCustomDashSegment, Duotone$1 as Duotone, EmbeddedFontRef, FieldRun, FillRect, FindHighlightColors, FindMatch, FindMatchesOptions, FramePr, Glow, GradientFill, GradientStop, HeaderFooter, HeadersFooters, HyperlinkTarget, ImageFill, ImageResourceOptions, ImageRun, LegendManualLayout, LineEnd, LineNumbering, LineSpacing, LoadOptions$2 as LoadOptions, MatchRunSlice, MathAccent, MathArray, MathBar, MathBorderBox, MathBox, MathDelimiter, MathFraction, MathFunc, MathGroup, MathGroupChr, MathLimit, MathNary, MathNode, MathPhant, MathRadical, MathRenderer, MathRun, MathSPre, MathScript, MathStyle, MathSvg, NoFill, NoteRef, NumberingInfo, OoxmlDecodedImageLimitError, OoxmlDecodedImageLimitMetric, OoxmlError, OoxmlErrorCode, OoxmlErrorStage, OoxmlFormat, OoxmlResourceLimit, OoxmlResourceLimitError, OoxmlResourceLimitErrorDetails, OoxmlResourceLimits, OoxmlResourceMetric, OoxmlResourceMetrics, OoxmlResourceMetricsCheckpoint, OoxmlResourceName, OoxmlResourcePolicySnapshot, OoxmlResourceUsageSnapshot, OoxmlResourceViolation, PTabRun, PageBorderEdge, PageBorders, PageNumType, ParaBorderEdge, ParagraphBorders, PathCmd$1 as PathCmd, PatternFill, Reflection, RenderPageOptions, RenderPageToBitmapOptions, ResolveDocxCommentThreadsOptions, ResolvedDocxCommentAnchor, ResolvedDocxCommentThread, RevisionAnchorGeometryFallback, RevisionAnchorRange, RubyAnnotation, RunRevision, SecondaryValueAxis, SectionGeom, SectionProps, Shadow, ShapeFill$1 as ShapeFill, ShapeRun, ShapeStrokeFill, ShapeText$1 as ShapeText, ShapeTextRun$1 as ShapeTextRun, SoftEdge, SolidFill, SrcRect, TabStop, TableBorders, TblpPr, TextPath, TextSelectionContextOptions, TiffDecodeError, TiffRenderOptions, TiffRenderer, TileInfo, ViewerCommentConnectorOptions, ViewerCommentConnectorRoute, ViewerCommentConnectorStroke, ViewerCommentMessageContext, ViewerCommentThreadContext, ViewerContextMenuEvent, ZoomableViewer, autoResize, buildDocxHighlightLayer, buildDocxTextLayer, isOoxmlDecodedImageLimitError, isTiffDecodeError, noteText, openExternalHyperlink, readDocxTextSelectionContext, resolveCommentAnchorRuns, resolveDocxCommentThreads, resolveRevisionAnchorRuns };
3137
+ export { AnchorHostMetrics, AutoResizeOptions, BlendMode, BlipEffect, BlipEffectContainer, BlipEffectFill, BlipEffectImageFill, BodyElement, BorderSpec, CellBorders, CellElement, ChartAreaGroupDecorations, ChartAxisNumberFormat, ChartBarGroupDecorations, ChartClassicSurfaceBandStyles, ChartDataLabelOverride, ChartDataPointOverride, ChartDataTable, ChartDecorationLineStyle, ChartDisplayUnits, ChartDisplayUnitsLabel, ChartErrBars, ChartExElementStyle, ChartExRenderer, ChartLabelBox, ChartLegendEntryOverride, ChartLineDashSegment, ChartLineGroupDecorations, ChartManualLayout, ChartModel, ChartOfPie, ChartPlotGroup, ChartPlotGroupAxisSlot, ChartPlotGroupKind, ChartRect, ChartRegionMapRenderer, ChartRun, ChartSeries, ChartSeriesDataLabels, ChartStockBarPaint, ChartStockUpDownBarStyle, ChartSurfaceBandFormat, ChartTextBox, ChartTextParagraph, ChartTextRun, ChartThreeD, ChartThreeDPictureOptions, ChartThreeDRenderer, ChartThreeDSeriesAxis, ChartThreeDSurface, ChartTrendline, ChartType, ChartexBoxSeries, ChartexBoxWhisker, ChartexGeography, ChartexHistogramBinning, ChartexRegionMap, ChartexRegionMapColors, ChartexRegionMapRow, ChartexSunburst, ChartexSunburstRow, ChartexTreemap, ChartexValueColorStop, CjkFallback, ColSpec, CollectPageRunsOptions, ColumnsSpec, CommentAnchorGeometryFallback, CommentAnchorPoint, CommentAnchorRange, DecodedImageBudgetStrategy, DocComment, DocNote, DocParagraph, DocRevision, DocRun, DocSettings, DocTable, DocTableCell, DocTableRow, DocxCommentAnchorKind, DocxCommentHighlightRect, DocxCommentMark, DocxCommentSelectionContext, DocxCommentsOptions, DocxDiagnostic, DocxDiagnosticCode, DocxDocument, DocxDocumentModel, DocxElementContext, DocxElementContextOptions, DocxHighlightColors, DocxHighlightMatch, DocxMatchLocation, DocxPageCommentThreadsOptions, DocxPagePoint, DocxRunBorder, DocxScrollViewer, DocxScrollViewerOptions, DocxSelectionContext, DocxSelectionContextOptions, DocxSelectionRunLocator, DocxSelectionSourceLocator, DocxStorySource, DocxTextRun, DocxTextRunInfo, DocxTextSelectionContext, DocxViewer, DocxViewerOptions, DrawingMLCustomDashSegment, Duotone$1 as Duotone, EmbeddedFontRef, FieldRun, FillRect, FindHighlightColors, FindMatch, FindMatchesOptions, FramePr, Glow, GradientFill, GradientStop, HeaderFooter, HeadersFooters, HyperlinkTarget, ImageFill, ImageResourceOptions, ImageRun, LegendManualLayout, LineEnd, LineNumbering, LineSpacing, LoadOptions$2 as LoadOptions, MatchRunSlice, MathAccent, MathArray, MathBar, MathBorderBox, MathBox, MathDelimiter, MathFraction, MathFunc, MathGroup, MathGroupChr, MathLimit, MathNary, MathNode, MathPhant, MathRadical, MathRenderer, MathRun, MathSPre, MathScript, MathStyle, MathSvg, ModelSource, ModelSourceConfig, ModelSourceConfigValue, ModelSourceLoad, ModelSourceModule, ModelSourceModuleDescriptor, ModelSourceTarget, NoFill, NoteRef, NumberingInfo, OoxmlDecodedImageLimitError, OoxmlDecodedImageLimitMetric, OoxmlError, OoxmlErrorCode, OoxmlErrorStage, OoxmlFormat, OoxmlResourceLimit, OoxmlResourceLimitError, OoxmlResourceLimitErrorDetails, OoxmlResourceLimits, OoxmlResourceMetric, OoxmlResourceMetrics, OoxmlResourceMetricsCheckpoint, OoxmlResourceName, OoxmlResourcePolicySnapshot, OoxmlResourceUsageSnapshot, OoxmlResourceViolation, OoxmlUnsupportedContentDetails, OpenedModelSource, PTabRun, PageBorderEdge, PageBorders, PageNumType, ParaBorderEdge, ParagraphBorders, PathCmd$1 as PathCmd, PatternFill, Reflection, RenderPageOptions, RenderPageToBitmapOptions, ResolveDocxCommentThreadsOptions, ResolvedDocxCommentAnchor, ResolvedDocxCommentThread, RevisionAnchorGeometryFallback, RevisionAnchorRange, RubyAnnotation, RunRevision, SecondaryValueAxis, SectionGeom, SectionProps, Shadow, ShapeFill$1 as ShapeFill, ShapeRun, ShapeStrokeFill, ShapeText$1 as ShapeText, ShapeTextRun$1 as ShapeTextRun, SoftEdge, SolidFill, SrcRect, TabStop, TableBorders, TblpPr, TextPath, TextSelectionContextOptions, TiffDecodeError, TiffRenderOptions, TiffRenderer, TileInfo, ViewerCommentConnectorOptions, ViewerCommentConnectorRoute, ViewerCommentConnectorStroke, ViewerCommentMessageContext, ViewerCommentThreadContext, ViewerContextMenuEvent, XlsxWorksheetLimits, ZoomableViewer, autoResize, buildDocxHighlightLayer, buildDocxTextLayer, isOoxmlDecodedImageLimitError, isTiffDecodeError, noteText, openExternalHyperlink, readDocxTextSelectionContext, resolveCommentAnchorRuns, resolveDocxCommentThreads, resolveRevisionAnchorRuns };
2876
3138
  }
2877
3139
  //#endregion
2878
- //#region dist/.types-work/types-B8-0I5kb.d.ts
3140
+ //#region dist/.types-work/types-BYMzwltM.d.ts
2879
3141
  interface BlipBullet {
2880
3142
  type: 'blip';
2881
3143
  imagePath: string;
@@ -2885,11 +3147,20 @@ interface BlipBullet {
2885
3147
  }
2886
3148
  type Bullet = Bullet$1 | BlipBullet;
2887
3149
  interface Paragraph extends Paragraph$1 {
3150
+ mathFallbacks?: {
3151
+ start: number;
3152
+ end: number;
3153
+ text: string;
3154
+ }[];
2888
3155
  eaLnBrk: boolean;
3156
+ fontAlgn?: 't' | 'ctr' | 'b';
2889
3157
  defTabSz?: number;
2890
3158
  }
2891
3159
  interface TextBody extends TextBody$1 {
2892
3160
  rtlCol?: boolean;
3161
+ spcFirstLastPara?: boolean;
3162
+ anchorCtr?: boolean;
3163
+ compatLnSpc?: boolean;
2893
3164
  textWarp?: {
2894
3165
  preset: string;
2895
3166
  adj?: number[];
@@ -2907,6 +3178,12 @@ interface Presentation {
2907
3178
  folHlinkColor?: string;
2908
3179
  }
2909
3180
  interface Slide {
3181
+ theme?: {
3182
+ defaultTextColor: string | null;
3183
+ majorFont: string | null;
3184
+ minorFont: string | null;
3185
+ hlinkColor: string | null;
3186
+ };
2910
3187
  index: number;
2911
3188
  slideNumber: number;
2912
3189
  partName?: string;
@@ -2979,7 +3256,13 @@ interface MediaElement {
2979
3256
  mediaPath: string;
2980
3257
  mimeType: string;
2981
3258
  }
3259
+ interface EquationBranchFallback {
3260
+ elements: SlideElement[];
3261
+ before: number;
3262
+ after: number;
3263
+ }
2982
3264
  interface ShapeElement {
3265
+ mathFallback?: EquationBranchFallback;
2983
3266
  type: 'shape';
2984
3267
  x: number;
2985
3268
  y: number;
@@ -2994,6 +3277,10 @@ interface ShapeElement {
2994
3277
  textBody: TextBody | null;
2995
3278
  defaultTextColor: string | null;
2996
3279
  custGeom: PathCmd$2[][] | null;
3280
+ custGeomPaint?: {
3281
+ fill: string | null;
3282
+ stroke: boolean;
3283
+ }[];
2997
3284
  adj: number | null;
2998
3285
  adj2: number | null;
2999
3286
  adj3: number | null;
@@ -3057,6 +3344,8 @@ interface Sp3d {
3057
3344
  bevelB?: Bevel3d;
3058
3345
  }
3059
3346
  interface TableElement {
3347
+ mathFallback?: EquationBranchFallback;
3348
+ background?: Fill;
3060
3349
  type: 'table';
3061
3350
  id?: string;
3062
3351
  x: number;
@@ -3076,6 +3365,7 @@ interface TableRow {
3076
3365
  }
3077
3366
  interface TableCell {
3078
3367
  textBody: TextBody | null;
3368
+ horzOverflow?: 'clip' | 'overflow';
3079
3369
  fill: Fill | null;
3080
3370
  textColor?: string;
3081
3371
  borderL: Stroke | null;
@@ -3117,6 +3407,7 @@ interface PictureElement {
3117
3407
  intrinsicWidthPx?: number;
3118
3408
  intrinsicHeightPx?: number;
3119
3409
  stroke: Stroke | null;
3410
+ fill?: Fill;
3120
3411
  prstGeom?: string;
3121
3412
  prstAdjust?: number[];
3122
3413
  srcRect?: {
@@ -3127,6 +3418,7 @@ interface PictureElement {
3127
3418
  };
3128
3419
  alpha?: number;
3129
3420
  duotone?: Duotone$1;
3421
+ blipEffects?: BlipEffect[];
3130
3422
  custGeom?: PathCmd$2[][] | null;
3131
3423
  shadow?: Shadow;
3132
3424
  innerShadow?: Shadow;
@@ -3137,8 +3429,9 @@ interface PictureElement {
3137
3429
  sp3d?: Sp3d;
3138
3430
  }
3139
3431
  //#endregion
3140
- //#region dist/.types-work/pptx-CBQE8b6s.d.ts
3432
+ //#region dist/.types-work/pptx-Fl1NT0GT.d.ts
3141
3433
  interface PptxTextRunInfo {
3434
+ renderElementIndex?: number;
3142
3435
  elementIndex?: number;
3143
3436
  origin?: SlideElementOrigin;
3144
3437
  shapeId?: string;
@@ -3160,6 +3453,7 @@ interface PptxTextRunInfo {
3160
3453
  row: number;
3161
3454
  column: number;
3162
3455
  }>;
3456
+ cellHorzOverflow?: 'clip' | 'overflow';
3163
3457
  textBodyRotation?: number;
3164
3458
  hyperlink?: HyperlinkTarget;
3165
3459
  }
@@ -3268,6 +3562,7 @@ interface PptxElementBounds {
3268
3562
  }
3269
3563
  type PptxSelectionContext = PptxTextSelectionContext | PptxCommentSelectionContext | PptxElementContext;
3270
3564
  type LoadOptions$1 = LoadOptions$3 & {
3565
+ legacyPpt?: ModelSource<'pptx'>;
3271
3566
  mode?: 'main' | 'worker';
3272
3567
  progressiveLayout?: boolean;
3273
3568
  onLayoutProgress?: (progress: Readonly<ProgressiveLayoutProgress>) => void;
@@ -3294,6 +3589,7 @@ interface PresentSlideOptions extends Omit<RenderSlideOptions, 'skipMediaControl
3294
3589
  }
3295
3590
  declare class PptxPresentation {
3296
3591
  private _cjkFallback;
3592
+ private _googleSubstitutes;
3297
3593
  private _metrics;
3298
3594
  private readonly _worker;
3299
3595
  private readonly _bridge;
@@ -3314,10 +3610,12 @@ declare class PptxPresentation {
3314
3610
  private _resourceFailure;
3315
3611
  private _slidePartIndex;
3316
3612
  private readonly _rawParts;
3317
- private _googleFontFaces;
3613
+ private _googleFonts;
3614
+ private readonly _officeFontLoads;
3318
3615
  private _embeddedFontFaces;
3319
3616
  private _embeddedFontAliases;
3320
3617
  private _embeddedFontAuthoredFamilies;
3618
+ private _embeddedFontTuples;
3321
3619
  private _destroyed;
3322
3620
  private readonly _fetchImage;
3323
3621
  private readonly _fetchMedia;
@@ -3330,6 +3628,7 @@ declare class PptxPresentation {
3330
3628
  private _assertResourceHealthy;
3331
3629
  private _rethrowWithResourceFailure;
3332
3630
  static load(source: string | ArrayBuffer, opts?: LoadOptions$1): Promise<PptxPresentation>;
3631
+ private _ensureGoogleFonts;
3333
3632
  private _parse;
3334
3633
  private _parseMainProgressively;
3335
3634
  private _parseWorkerProgressively;
@@ -3357,6 +3656,7 @@ declare class PptxPresentation {
3357
3656
  private _partIndex;
3358
3657
  getSlideIndexByPartName(partName: string): number | undefined;
3359
3658
  resolveInternalTarget(ref: string, currentIndex?: number): number | undefined;
3659
+ private _officeRoutesForRequests;
3360
3660
  renderSlide(canvas: HTMLCanvasElement | OffscreenCanvas, slideIndex: number, opts?: RenderSlideOptions): Promise<void>;
3361
3661
  renderSlideToBitmap(slideIndex: number, opts?: RenderSlideToBitmapOptions): Promise<ImageBitmap>;
3362
3662
  collectSlideRuns(slideIndex: number, width?: number): Promise<PptxTextRunInfo[]>;
@@ -3421,7 +3721,7 @@ declare class PptxViewer implements ZoomableViewer {
3421
3721
  private elementContext;
3422
3722
  private elementHitGeneration;
3423
3723
  private readonly elementHitTolerance;
3424
- private readonly _loadingLayer;
3724
+ private readonly _loadingIndicator;
3425
3725
  private _layoutUnsubscribe;
3426
3726
  private readonly _layoutWaiters;
3427
3727
  private _layoutFailed;
@@ -3539,56 +3839,45 @@ declare class PptxScrollViewer implements ZoomableViewer {
3539
3839
  private readonly _opts;
3540
3840
  private readonly _errorRouter;
3541
3841
  private readonly _container;
3542
- private readonly _wrapper;
3543
- private readonly _scrollHost;
3544
- private readonly _spacer;
3842
+ private readonly _shell;
3843
+ private get _wrapper();
3844
+ private get _scrollHost();
3845
+ private get _spacer();
3545
3846
  private _mode;
3546
- private _scale;
3547
- private _scaleEstablished;
3548
- private _pendingScale;
3847
+ private readonly _viewport;
3848
+ private readonly _zoom;
3849
+ private get _scale();
3850
+ private get _scaleEstablished();
3851
+ private readonly _scroller;
3549
3852
  private readonly _slots;
3550
- private readonly _free;
3853
+ private readonly _layout;
3854
+ private readonly _renderHooks;
3855
+ private readonly _bitmap;
3856
+ private readonly _main;
3857
+ private readonly _media;
3858
+ private readonly _commentNavigation;
3859
+ private readonly _navigation;
3860
+ private readonly _selection;
3551
3861
  private _uniformSlideHeight;
3552
- private _lastRange;
3553
- private _lastTopIndex;
3554
- private _lastReportedTotal;
3555
- private _lastReportedLayoutComplete;
3556
- private _layoutUnsubscribe;
3557
- private _scrollListener;
3558
- private _selectionChangeListener;
3559
- private _selectionContextKey;
3560
- private _elementClickListener;
3561
- private _contextMenuListener;
3562
- private _commentOutsidePointerListener;
3563
- private _elementContext;
3862
+ private readonly _visibleEvents;
3863
+ private readonly _loader;
3564
3864
  private _activeCommentId;
3565
3865
  private _activeCommentSlide;
3566
- private _commentNavigationGeneration;
3567
3866
  private _commentUi;
3568
- private _commentGeometryScheduled;
3569
- private _commentGeometryFrame;
3570
- private readonly _pendingCommentGeometry;
3571
3867
  private _hasComments;
3572
- private _reviewOriginPx;
3868
+ private readonly _commentMargin;
3869
+ private readonly _layers;
3870
+ private readonly _commentOverlay;
3573
3871
  private _commentScanFrontier;
3574
- private readonly _layoutWaiters;
3575
- private _layoutFailed;
3576
- private _elementHitGeneration;
3577
3872
  private readonly _elementHitTolerance;
3578
3873
  private _destroyed;
3579
- private readonly _slideInFlight;
3580
- private _renderEpoch;
3581
- private _settleTimer;
3582
- private _wheelListener;
3583
- private _pendingZoomAnchor;
3584
- private _resizeObserver;
3585
- private _prevBase;
3586
- private _lastFitWidth;
3874
+ private get _renderEpoch();
3875
+ private set _renderEpoch(value);
3587
3876
  private readonly _pageShadow;
3588
3877
  private readonly _find;
3589
3878
  private _findGeneration;
3590
3879
  private _findActive;
3591
- private _findMeasureCtx;
3880
+ private readonly _highlights;
3592
3881
  static fromPresentation(container: HTMLElement, presentation: PptxPresentation, opts?: Omit<PptxScrollViewerOptions, keyof LoadOptions$1>): Omit<PptxScrollViewer, 'load'>;
3593
3882
  constructor(container: HTMLElement, opts?: PptxScrollViewerOptions);
3594
3883
  load(source: string | ArrayBuffer): Promise<void>;
@@ -3598,25 +3887,15 @@ declare class PptxScrollViewer implements ZoomableViewer {
3598
3887
  waitUntilLayoutComplete(): Promise<void>;
3599
3888
  private _slideWidthPx;
3600
3889
  private _slideHeightPx;
3601
- private _fitWidthPx;
3602
- private _commentMarginExtent;
3603
- private _hasCommentMargin;
3604
- private _commentZoom;
3605
3890
  private _commentsEnabled;
3606
3891
  private _commentsOptions;
3607
- private _commentSide;
3608
- private _syncCommentMarginGeometry;
3609
3892
  private _scanAvailableComments;
3610
3893
  private _refreshDiscoveredComments;
3611
3894
  private _baseScale;
3612
3895
  relayout(): void;
3613
3896
  private _relayout;
3614
3897
  private _recomputeHeights;
3615
- private _gap;
3616
- private _overscan;
3617
3898
  private _mediaOverscan;
3618
- private _pad;
3619
- private _padH;
3620
3899
  private _slideOffset;
3621
3900
  private _slideIndexAtOffset;
3622
3901
  private _rangeAt;
@@ -3627,44 +3906,30 @@ declare class PptxScrollViewer implements ZoomableViewer {
3627
3906
  private _syncSpacerWidth;
3628
3907
  private _onScroll;
3629
3908
  private _mountVisible;
3630
- private _applyPageShadow;
3631
- private _acquireSlot;
3909
+ private _createSlot;
3632
3910
  private _recycleSlot;
3911
+ private _resetSlot;
3633
3912
  private _positionSlot;
3634
- private _dpr;
3635
3913
  private _renderSlot;
3636
3914
  private _trackSlotLoading;
3637
- private _bindLayoutPresentation;
3638
- private _unbindLayoutPresentation;
3639
- private _onLayoutPublication;
3640
- private _wakeLayoutWaiters;
3641
- private _beginCommentNavigation;
3642
- private _waitForSlideMetadata;
3643
3915
  private _emitVisibleSlideChange;
3644
- private _renderInteractiveSlot;
3645
- private _syncMediaPlayback;
3646
3916
  private _reportRenderError;
3917
+ private _commitRenderedRuns;
3647
3918
  private _renderSlotBitmap;
3648
3919
  setScale(scale: number): void;
3649
3920
  getScale(): number;
3650
3921
  zoomIn(): void;
3651
3922
  zoomOut(): void;
3652
- private _effectiveZoomMin;
3653
3923
  fitWidth(): void;
3654
3924
  fitPage(): void;
3655
- private _fit;
3656
3925
  private _previewVisible;
3657
3926
  private _previewSlot;
3658
3927
  private _clearTextLayerPreview;
3659
3928
  private _scheduleSettle;
3660
- private _settleRender;
3661
3929
  private _settleSlot;
3662
- private _settleInteractiveSlot;
3663
3930
  scrollToSlide(index: number, opts?: {
3664
3931
  behavior?: 'auto' | 'smooth';
3665
3932
  }): void;
3666
- private _scrollToSlideCommentTarget;
3667
- private _resolveSlideCommentElementBounds;
3668
3933
  goToComment(slideIndex: number, commentIndex: number, opts?: {
3669
3934
  behavior?: 'auto' | 'smooth';
3670
3935
  }): Promise<boolean>;
@@ -3673,32 +3938,16 @@ declare class PptxScrollViewer implements ZoomableViewer {
3673
3938
  findPrev(): Promise<FindMatch<PptxMatchLocation> | null>;
3674
3939
  clearFind(): void;
3675
3940
  private _invalidateFind;
3676
- private _activateMatch;
3677
3941
  private _collectSlideRuns;
3678
- private _redrawHighlights;
3679
- private _refreshFindRuns;
3680
3942
  private _redrawSlotComments;
3681
- private _redrawSlotCommentConnectors;
3682
3943
  private _commitSlotComments;
3683
3944
  private _ensureSlotCommentAnchors;
3684
- private _scheduleCommentGeometry;
3685
- private _redrawSlotHighlights;
3686
- private _measureForFind;
3687
3945
  private _hyperlinkHandler;
3688
3946
  private _onHyperlinkClick;
3689
3947
  private _resolveInternalSlideIndex;
3690
- private _onResize;
3691
3948
  get topVisibleSlide(): number;
3692
3949
  getResourceMetrics(): Promise<OoxmlResourceMetrics>;
3693
3950
  getSelectionContext(options?: PptxSelectionContextOptions): PptxSelectionContext | null;
3694
- private _emitSelectionContextChange;
3695
- private _setElementContext;
3696
- private _invalidateElementSelection;
3697
- private _redrawElementOutlines;
3698
- private _redrawElementOutlineForSlot;
3699
- private _onElementClick;
3700
- private _onContextMenu;
3701
- private _resolveContextAt;
3702
3951
  destroy(): void;
3703
3952
  }
3704
3953
  declare function buildPptxTextLayer(layer: HTMLDivElement, runs: PptxTextRunInfo[], cssWidth: number, cssHeight: number, onHyperlinkClick?: (target: HyperlinkTarget) => void, slideIndex?: number): void;
@@ -3709,10 +3958,10 @@ interface PptxHighlightMatch {
3709
3958
  type PptxHighlightColors = FindHighlightColors;
3710
3959
  declare function buildPptxHighlightLayer(layer: HTMLDivElement, runs: PptxTextRunInfo[], matches: PptxHighlightMatch[], cssWidth: number, cssHeight: number, measureForFont: (font: string) => (s: string) => number, colors?: PptxHighlightColors): void;
3711
3960
  declare namespace pptx_d_exports {
3712
- export { ArrowEnd, AutoResizeOptions, Bevel3d, BlipBullet, Bullet, Camera3d, ChartAreaGroupDecorations, ChartBarGroupDecorations, ChartClassicSurfaceBandStyles, ChartDataLabelOverride, ChartDataPointOverride, ChartDataTable, ChartDecorationLineStyle, ChartDisplayUnits, ChartDisplayUnitsLabel, ChartElement, ChartErrBars, ChartExElementStyle, ChartExRenderer, ChartLabelBox, ChartLegendEntryOverride, ChartLineDashSegment, ChartLineGroupDecorations, ChartManualLayout, ChartModel, ChartOfPie, ChartPlotGroup, ChartPlotGroupAxisSlot, ChartPlotGroupKind, ChartRect, ChartRegionMapRenderer, ChartSeries, ChartSeriesDataLabels, ChartStockBarPaint, ChartStockUpDownBarStyle, ChartSurfaceBandFormat, ChartTextBox, ChartTextParagraph, ChartTextRun, ChartThreeD, ChartThreeDPictureOptions, ChartThreeDRenderer, ChartThreeDSeriesAxis, ChartThreeDSurface, ChartTrendline, ChartType, ChartexBoxSeries, ChartexBoxWhisker, ChartexGeography, ChartexHistogramBinning, ChartexRegionMap, ChartexRegionMapColors, ChartexRegionMapRow, ChartexSunburst, ChartexSunburstRow, ChartexTreemap, ChartexValueColorStop, CjkFallback, DecodedImageBudgetStrategy, DimOptions, DrawingMLCustomDashSegment, Duotone$1 as Duotone, EquationRun, Fill, FillRect, FindHighlightColors, FindMatch, FindMatchesOptions, Glow, GradientFill, GradientStop$1 as GradientStop, HiddenSlideMode, HyperlinkTarget, ImageFill, ImageResourceOptions, LegendManualLayout, LightRig, LineBreak, LoadOptions$1 as LoadOptions, MatchRunSlice, MathAccent, MathArray, MathBar, MathBorderBox, MathBox, MathDelimiter, MathFraction, MathFunc, MathGroup, MathGroupChr, MathLimit, MathNary, MathNode, MathPhant, MathRadical, MathRenderer, MathRun, MathSPre, MathScript, MathStyle, MathSvg, MediaElement, NoFill, OoxmlDecodedImageLimitError, OoxmlDecodedImageLimitMetric, OoxmlError, OoxmlErrorCode, OoxmlErrorStage, OoxmlFormat, OoxmlResourceLimit, OoxmlResourceLimitError, OoxmlResourceLimitErrorDetails, OoxmlResourceLimits, OoxmlResourceMetric, OoxmlResourceMetrics, OoxmlResourceMetricsCheckpoint, OoxmlResourceName, OoxmlResourcePolicySnapshot, OoxmlResourceUsageSnapshot, OoxmlResourceViolation, Paragraph, PathCmd$2 as PathCmd, PatternFill, PictureElement, PptxComment, PptxCommentAnchor, PptxCommentReply, PptxCommentSelectionContext, PptxCommentsOptions, PptxElementBounds, PptxElementContext, PptxElementContextOptions, PptxHighlightColors, PptxHighlightMatch, PptxMatchLocation, PptxPresentation, PptxScrollViewer, PptxScrollViewerOptions, PptxSelectionContext, PptxSelectionContextOptions, PptxSelectionRunLocator, PptxSlidePoint, PptxTextRunInfo, PptxTextSelectionContext, PptxViewer, PptxViewerOptions, PresentSlideOptions, Presentation, PresentationHandle, Reflection, RenderOptions, RenderSlideOptions, RenderSlideToBitmapOptions, Rot3d, Scene3d, SecondaryValueAxis, Shadow, ShapeElement, Slide, SlideElement, SlideElementOrigin, SlideElementSource, SlideRenderOptions, SoftEdge, SolidFill, Sp3d, SpaceLine, SrcRect, Stroke, TabStop$1 as TabStop, TableCell, TableElement, TableRow, TextBody, TextOutline, TextRect, TextRun, TextRunCallback, TextRunData, TextSelectionContextOptions, TiffDecodeError, TiffRenderOptions, TiffRenderer, TileInfo, ViewerCommentConnectorOptions, ViewerCommentConnectorRoute, ViewerCommentConnectorStroke, ViewerCommentMessageContext, ViewerCommentThreadContext, ViewerContextMenuEvent, ZoomableViewer, autoResize, buildPptxHighlightLayer, buildPptxTextLayer, isOoxmlDecodedImageLimitError, isTiffDecodeError, openExternalHyperlink, readPptxTextSelectionContext, renderSlide };
3961
+ export { ArrowEnd, AutoResizeOptions, Bevel3d, BlendMode, BlipBullet, BlipEffect, BlipEffectContainer, BlipEffectFill, BlipEffectImageFill, Bullet, Camera3d, ChartAreaGroupDecorations, ChartAxisNumberFormat, ChartBarGroupDecorations, ChartClassicSurfaceBandStyles, ChartDataLabelOverride, ChartDataPointOverride, ChartDataTable, ChartDecorationLineStyle, ChartDisplayUnits, ChartDisplayUnitsLabel, ChartElement, ChartErrBars, ChartExElementStyle, ChartExRenderer, ChartLabelBox, ChartLegendEntryOverride, ChartLineDashSegment, ChartLineGroupDecorations, ChartManualLayout, ChartModel, ChartOfPie, ChartPlotGroup, ChartPlotGroupAxisSlot, ChartPlotGroupKind, ChartRect, ChartRegionMapRenderer, ChartSeries, ChartSeriesDataLabels, ChartStockBarPaint, ChartStockUpDownBarStyle, ChartSurfaceBandFormat, ChartTextBox, ChartTextParagraph, ChartTextRun, ChartThreeD, ChartThreeDPictureOptions, ChartThreeDRenderer, ChartThreeDSeriesAxis, ChartThreeDSurface, ChartTrendline, ChartType, ChartexBoxSeries, ChartexBoxWhisker, ChartexGeography, ChartexHistogramBinning, ChartexRegionMap, ChartexRegionMapColors, ChartexRegionMapRow, ChartexSunburst, ChartexSunburstRow, ChartexTreemap, ChartexValueColorStop, CjkFallback, DecodedImageBudgetStrategy, DimOptions, DrawingMLCustomDashSegment, Duotone$1 as Duotone, EquationBranchFallback, EquationRun, Fill, FillRect, FindHighlightColors, FindMatch, FindMatchesOptions, Glow, GradientFill, GradientStop$1 as GradientStop, HiddenSlideMode, HyperlinkTarget, ImageFill, ImageResourceOptions, LegendManualLayout, LightRig, LineBreak, LoadOptions$1 as LoadOptions, MatchRunSlice, MathAccent, MathArray, MathBar, MathBorderBox, MathBox, MathDelimiter, MathFraction, MathFunc, MathGroup, MathGroupChr, MathLimit, MathNary, MathNode, MathPhant, MathRadical, MathRenderer, MathRun, MathSPre, MathScript, MathStyle, MathSvg, MediaElement, ModelSource, ModelSourceConfig, ModelSourceConfigValue, ModelSourceLoad, ModelSourceModule, ModelSourceModuleDescriptor, ModelSourceTarget, NoFill, OoxmlDecodedImageLimitError, OoxmlDecodedImageLimitMetric, OoxmlError, OoxmlErrorCode, OoxmlErrorStage, OoxmlFormat, OoxmlResourceLimit, OoxmlResourceLimitError, OoxmlResourceLimitErrorDetails, OoxmlResourceLimits, OoxmlResourceMetric, OoxmlResourceMetrics, OoxmlResourceMetricsCheckpoint, OoxmlResourceName, OoxmlResourcePolicySnapshot, OoxmlResourceUsageSnapshot, OoxmlResourceViolation, OoxmlUnsupportedContentDetails, OpenedModelSource, Paragraph, PathCmd$2 as PathCmd, PatternFill, PictureElement, PptxComment, PptxCommentAnchor, PptxCommentReply, PptxCommentSelectionContext, PptxCommentsOptions, PptxElementBounds, PptxElementContext, PptxElementContextOptions, PptxHighlightColors, PptxHighlightMatch, PptxMatchLocation, PptxPresentation, PptxScrollViewer, PptxScrollViewerOptions, PptxSelectionContext, PptxSelectionContextOptions, PptxSelectionRunLocator, PptxSlidePoint, PptxTextRunInfo, PptxTextSelectionContext, PptxViewer, PptxViewerOptions, PresentSlideOptions, Presentation, PresentationHandle, Reflection, RenderOptions, RenderSlideOptions, RenderSlideToBitmapOptions, Rot3d, Scene3d, SecondaryValueAxis, Shadow, ShapeElement, Slide, SlideElement, SlideElementOrigin, SlideElementSource, SlideRenderOptions, SoftEdge, SolidFill, Sp3d, SpaceLine, SrcRect, Stroke, TabStop$1 as TabStop, TableCell, TableElement, TableRow, TextBody, TextOutline, TextRect, TextRun, TextRunCallback, TextRunData, TextSelectionContextOptions, TiffDecodeError, TiffRenderOptions, TiffRenderer, TileInfo, ViewerCommentConnectorOptions, ViewerCommentConnectorRoute, ViewerCommentConnectorStroke, ViewerCommentMessageContext, ViewerCommentThreadContext, ViewerContextMenuEvent, XlsxWorksheetLimits, ZoomableViewer, autoResize, buildPptxHighlightLayer, buildPptxTextLayer, isOoxmlDecodedImageLimitError, isTiffDecodeError, openExternalHyperlink, readPptxTextSelectionContext, renderSlide };
3713
3962
  }
3714
3963
  //#endregion
3715
- //#region dist/.types-work/types-VRdpmXrR.d.ts
3964
+ //#region dist/.types-work/types-_hQx9Nud.d.ts
3716
3965
  type ShapeFill = Exclude<Fill, {
3717
3966
  fillType: 'image';
3718
3967
  } | {
@@ -3758,6 +4007,8 @@ interface Worksheet {
3758
4007
  colCollapsed?: Record<number, boolean>;
3759
4008
  colHidden?: Record<number, boolean>;
3760
4009
  defaultColWidth: number;
4010
+ baseColWidth?: number;
4011
+ defaultColWidthIsUi?: boolean;
3761
4012
  defaultRowHeight: number;
3762
4013
  defaultRowHeightCustom?: boolean;
3763
4014
  mergeCells: MergeCell[];
@@ -3785,6 +4036,11 @@ interface Worksheet {
3785
4036
  sparklineGroups?: SparklineGroup[];
3786
4037
  defaultFontFamily?: string;
3787
4038
  defaultFontSize?: number;
4039
+ defaultFontBold?: boolean;
4040
+ defaultFontItalic?: boolean;
4041
+ normalFontSize?: number;
4042
+ themeJapaneseMajorFont?: string;
4043
+ themeJapaneseMinorFont?: string;
3788
4044
  date1904?: boolean;
3789
4045
  parseError?: string;
3790
4046
  }
@@ -3802,6 +4058,27 @@ interface PivotTableMetadata {
3802
4058
  cacheSource?: PivotCacheSource;
3803
4059
  status: PivotMetadataStatus;
3804
4060
  extensionUris?: string[];
4061
+ style?: PivotTableStyle;
4062
+ rowItems?: PivotAxisItem[];
4063
+ columnItems?: PivotAxisItem[];
4064
+ }
4065
+ interface PivotTableStyle {
4066
+ name: string;
4067
+ showRowHeaders: boolean;
4068
+ showColumnHeaders: boolean;
4069
+ showRowStripes: boolean;
4070
+ showColumnStripes: boolean;
4071
+ showLastColumn: boolean;
4072
+ elements: PivotTableStyleElement[];
4073
+ }
4074
+ interface PivotTableStyleElement {
4075
+ kind: string;
4076
+ size: number;
4077
+ dxf: Dxf;
4078
+ }
4079
+ interface PivotAxisItem {
4080
+ kind: string;
4081
+ depth: number;
3805
4082
  }
3806
4083
  interface PivotLocation extends WorksheetCellRange {
3807
4084
  firstHeaderRow: number;
@@ -3963,6 +4240,8 @@ interface TableInfo {
3963
4240
  lastColumnDxf?: number;
3964
4241
  band1HorizontalDxf?: number;
3965
4242
  band2HorizontalDxf?: number;
4243
+ styleElements?: PivotTableStyleElement[];
4244
+ styleError?: string;
3966
4245
  columns: TableColumnInfo[];
3967
4246
  }
3968
4247
  interface TableColumnInfo {
@@ -4019,6 +4298,7 @@ interface ChartAnchor {
4019
4298
  toRowOff: number;
4020
4299
  chart: ChartModel;
4021
4300
  }
4301
+ type DrawingAnchorTag = 'oneCellAnchor' | 'twoCellAnchor';
4022
4302
  interface ShapeAnchor {
4023
4303
  fromCol: number;
4024
4304
  fromColOff: number;
@@ -4031,6 +4311,9 @@ interface ShapeAnchor {
4031
4311
  editAs?: string;
4032
4312
  nativeExtCx: number;
4033
4313
  nativeExtCy: number;
4314
+ anchorTag?: DrawingAnchorTag;
4315
+ anchorExtCx?: number;
4316
+ anchorExtCy?: number;
4034
4317
  shapes: ShapeInfo[];
4035
4318
  }
4036
4319
  interface ShapeInfo {
@@ -4067,6 +4350,9 @@ interface ShapeInfo {
4067
4350
  text?: ShapeText;
4068
4351
  }
4069
4352
  interface ShapeText {
4353
+ vert?: string;
4354
+ anchorCtr?: boolean;
4355
+ spcFirstLastPara?: boolean;
4070
4356
  anchor: string;
4071
4357
  wrap: string;
4072
4358
  autoFit?: string;
@@ -4084,7 +4370,14 @@ interface ShapeParagraph {
4084
4370
  marL?: number;
4085
4371
  marR?: number;
4086
4372
  indent?: number;
4373
+ defTabSz?: number;
4374
+ tabStops?: {
4375
+ pos: number;
4376
+ algn: string;
4377
+ }[];
4087
4378
  spaceLine?: SpaceLine | null;
4379
+ spaceBefore?: SpaceLine | null;
4380
+ spaceAfter?: SpaceLine | null;
4088
4381
  runs: ShapeTextRun[];
4089
4382
  }
4090
4383
  type ShapeTextRun = {
@@ -4093,6 +4386,7 @@ type ShapeTextRun = {
4093
4386
  bold: boolean;
4094
4387
  italic: boolean;
4095
4388
  size: number;
4389
+ spacing?: number;
4096
4390
  color?: string;
4097
4391
  fontFace?: string;
4098
4392
  fontFaceEa?: string;
@@ -4126,6 +4420,7 @@ type ShapeGeom = {
4126
4420
  };
4127
4421
  alpha?: number;
4128
4422
  duotone?: Duotone;
4423
+ blipEffects?: BlipEffect[];
4129
4424
  };
4130
4425
  interface Duotone {
4131
4426
  clr1: string;
@@ -4134,6 +4429,8 @@ interface Duotone {
4134
4429
  interface PathInfo {
4135
4430
  w: number;
4136
4431
  h: number;
4432
+ fill?: 'none' | 'lighten' | 'lightenLess' | 'darken' | 'darkenLess';
4433
+ stroke?: false;
4137
4434
  commands: PathCmd[];
4138
4435
  }
4139
4436
  type PathCmd = {
@@ -4178,8 +4475,14 @@ interface ImageAnchor {
4178
4475
  toRow: number;
4179
4476
  toRowOff: number;
4180
4477
  editAs?: string;
4478
+ anchorTag?: DrawingAnchorTag;
4479
+ anchorExtCx?: number;
4480
+ anchorExtCy?: number;
4181
4481
  nativeExtCx: number;
4182
4482
  nativeExtCy: number;
4483
+ rotation?: number;
4484
+ flipH?: boolean;
4485
+ flipV?: boolean;
4183
4486
  imagePath: string;
4184
4487
  mimeType: string;
4185
4488
  svgImagePath?: string;
@@ -4191,6 +4494,7 @@ interface ImageAnchor {
4191
4494
  };
4192
4495
  alpha?: number;
4193
4496
  duotone?: Duotone;
4497
+ blipEffects?: BlipEffect[];
4194
4498
  }
4195
4499
  interface WorksheetCellRange {
4196
4500
  top: number;
@@ -4215,6 +4519,7 @@ type CfRule = {
4215
4519
  formulas: string[];
4216
4520
  dxfId: number | null;
4217
4521
  priority: number;
4522
+ stopIfTrue?: boolean;
4218
4523
  } | {
4219
4524
  type: 'expression';
4220
4525
  formula: string;
@@ -4225,6 +4530,8 @@ type CfRule = {
4225
4530
  type: 'colorScale';
4226
4531
  stops: CfStop[];
4227
4532
  priority: number;
4533
+ activeFormula?: string;
4534
+ stopIfTrue?: boolean;
4228
4535
  } | {
4229
4536
  type: 'dataBar';
4230
4537
  color: string;
@@ -4232,6 +4539,9 @@ type CfRule = {
4232
4539
  max: CfValue;
4233
4540
  priority: number;
4234
4541
  gradient: boolean;
4542
+ activeFormula?: string;
4543
+ extThresholdFormula?: boolean;
4544
+ stopIfTrue?: boolean;
4235
4545
  } | {
4236
4546
  type: 'top10';
4237
4547
  top: boolean;
@@ -4239,6 +4549,7 @@ type CfRule = {
4239
4549
  rank: number;
4240
4550
  dxfId: number | null;
4241
4551
  priority: number;
4552
+ stopIfTrue?: boolean;
4242
4553
  } | {
4243
4554
  type: 'aboveAverage';
4244
4555
  aboveAverage: boolean;
@@ -4246,6 +4557,7 @@ type CfRule = {
4246
4557
  stdDev?: number;
4247
4558
  dxfId: number | null;
4248
4559
  priority: number;
4560
+ stopIfTrue?: boolean;
4249
4561
  } | {
4250
4562
  type: 'iconSet';
4251
4563
  iconSet: string;
@@ -4253,10 +4565,14 @@ type CfRule = {
4253
4565
  reverse: boolean;
4254
4566
  priority: number;
4255
4567
  customIcons?: CfIcon[];
4568
+ activeFormula?: string;
4569
+ stopIfTrue?: boolean;
4256
4570
  } | {
4257
4571
  type: 'other';
4258
4572
  kind: string;
4259
4573
  priority: number;
4574
+ unsupportedFormulaPhases?: number;
4575
+ stopIfTrue?: boolean;
4260
4576
  };
4261
4577
  interface CfIcon {
4262
4578
  iconSet: string;
@@ -4339,6 +4655,7 @@ interface RunFont {
4339
4655
  name?: string | null;
4340
4656
  underlineStyle?: string;
4341
4657
  vertAlign?: 'superscript' | 'subscript';
4658
+ normalColor?: boolean;
4342
4659
  }
4343
4660
  interface SharedString {
4344
4661
  text: string;
@@ -4363,6 +4680,14 @@ interface Dxf {
4363
4680
  fill: CellFill | null;
4364
4681
  border: Border | null;
4365
4682
  numFmt?: NumFmt | null;
4683
+ fontToggles?: DxfFontToggles;
4684
+ }
4685
+ interface DxfFontToggles {
4686
+ bold?: boolean;
4687
+ italic?: boolean;
4688
+ underline?: boolean;
4689
+ strike?: boolean;
4690
+ automaticColor?: boolean;
4366
4691
  }
4367
4692
  interface CellFont {
4368
4693
  bold: boolean;
@@ -4372,6 +4697,8 @@ interface CellFont {
4372
4697
  size: number;
4373
4698
  color: string | null;
4374
4699
  name: string | null;
4700
+ scheme?: 'major' | 'minor';
4701
+ charset?: number;
4375
4702
  underlineStyle?: string;
4376
4703
  vertAlign?: 'superscript' | 'subscript';
4377
4704
  }
@@ -4419,11 +4746,15 @@ interface CellXf {
4419
4746
  textRotation?: number;
4420
4747
  shrinkToFit?: boolean;
4421
4748
  readingOrder?: number;
4749
+ ownFontColor?: boolean;
4422
4750
  }
4423
4751
  interface ParsedWorkbook {
4424
4752
  workbook: Workbook;
4425
4753
  styles: Styles;
4426
4754
  sharedStrings: SharedString[];
4755
+ layoutMetrics?: {
4756
+ maximumDigitWidth: number;
4757
+ };
4427
4758
  }
4428
4759
  interface ViewportRange {
4429
4760
  row: number;
@@ -4467,7 +4798,7 @@ interface XlsxRenderViewportOptions {
4467
4798
  } | null;
4468
4799
  }
4469
4800
  //#endregion
4470
- //#region dist/.types-work/xlsx-BucT8L3K.d.ts
4801
+ //#region dist/.types-work/xlsx-CEbhcCVw.d.ts
4471
4802
  type ResolvedList = {
4472
4803
  kind: 'values';
4473
4804
  values: string[];
@@ -4494,18 +4825,24 @@ type RenderViewportToBitmapOptions = Omit<XlsxRenderViewportOptions, 'onTextRun'
4494
4825
  };
4495
4826
  interface LoadOptions extends LoadOptions$3 {
4496
4827
  mode?: 'main' | 'worker';
4828
+ legacyXls?: ModelSource<'xlsx'>;
4497
4829
  }
4498
4830
  declare class XlsxWorkbook {
4499
4831
  private metrics;
4500
4832
  private bridge;
4501
4833
  private delimitedTextBacked;
4834
+ private readonly japaneseCellFonts;
4502
4835
  private parsedWorkbook;
4503
4836
  private sheetCache;
4837
+ private sheetCacheUsage;
4838
+ private sheetLeases;
4839
+ private evictingSheets;
4504
4840
  private sheetLoads;
4841
+ private sheetPreviews;
4505
4842
  private readonly rawParts;
4506
4843
  private queuedImageLoads;
4507
4844
  private readonly _fetchImage;
4508
- private resourcePolicy;
4845
+ private worksheetPolicy;
4509
4846
  private cjkFallback;
4510
4847
  private math;
4511
4848
  private threeD;
@@ -4513,6 +4850,8 @@ declare class XlsxWorkbook {
4513
4850
  private chartEx;
4514
4851
  private tiff;
4515
4852
  private googleFontNames;
4853
+ private googleSubstitutes;
4854
+ private officeFontRequests;
4516
4855
  private readonly retainedFontSets;
4517
4856
  private fontsDestroyed;
4518
4857
  private _mode;
@@ -4529,12 +4868,19 @@ declare class XlsxWorkbook {
4529
4868
  private _load;
4530
4869
  private _loadDelimitedText;
4531
4870
  private retainFontsInSet;
4871
+ private retainWorksheetOfficeFonts;
4532
4872
  get sheetNames(): string[];
4533
4873
  get sheetCount(): number;
4534
4874
  get tabColors(): (string | null)[];
4535
4875
  sheetVisibility(sheetIndex: number): SheetVisibility;
4536
4876
  isHidden(sheetIndex: number): boolean;
4537
4877
  getWorksheet(sheetIndex: number): Promise<Worksheet>;
4878
+ private getOrLoadWorksheet;
4879
+ private touchWorksheet;
4880
+ private pinWorksheet;
4881
+ private completePendingEvictions;
4882
+ private acquireWorksheetLease;
4883
+ private acquireWorksheetPreviewLease;
4538
4884
  getComments(sheetIndex: number): Promise<readonly Readonly<XlsxComment>[]>;
4539
4885
  getResourceMetrics(): Promise<OoxmlResourceMetrics>;
4540
4886
  private loadWorksheet;
@@ -4549,9 +4895,12 @@ declare class XlsxWorkbook {
4549
4895
  cellText(ws: Worksheet, cell: Cell): string;
4550
4896
  renderViewport(target: HTMLCanvasElement | OffscreenCanvas, sheetIndex: number, viewport: ViewportRange, opts?: XlsxRenderViewportOptions): Promise<void>;
4551
4897
  renderViewportToBitmap(sheetIndex: number, viewport: ViewportRange, opts: RenderViewportToBitmapOptions): Promise<ImageBitmap>;
4898
+ private retainWorksheetReference;
4552
4899
  private withWorksheetArchiveOperation;
4900
+ private withPinnedWorksheetArchiveOperation;
4553
4901
  destroy(): void;
4554
4902
  private assertResourceHealthy;
4903
+ private latchFatalResourceFailure;
4555
4904
  private requireBridge;
4556
4905
  private requireArchiveBridge;
4557
4906
  }
@@ -4656,6 +5005,10 @@ interface XlsxSheetViewerOptions extends LoadOptions {
4656
5005
  cellScale?: number;
4657
5006
  resizable?: boolean;
4658
5007
  showScrollbars?: boolean;
5008
+ minRows?: number;
5009
+ minCols?: number;
5010
+ marginRows?: number;
5011
+ marginCols?: number;
4659
5012
  zoomMin?: number;
4660
5013
  zoomMax?: number;
4661
5014
  onScaleChange?: (scale: number) => void;
@@ -4723,42 +5076,35 @@ declare class XlsxViewerEngine implements ZoomableViewer {
4723
5076
  private wrapper;
4724
5077
  private canvas;
4725
5078
  private gridRegion;
4726
- private rowGutter;
4727
- private colGutter;
4728
- private cornerGutter;
4729
- private gutter;
4730
- private rowOutline;
4731
- private colOutline;
4732
- private rowOutlineBands;
4733
- private colOutlineBands;
4734
- private stashedRowHeights;
4735
- private stashedColWidths;
4736
- private sizeOverrideStore;
5079
+ private readonly outlineGutter;
5080
+ private readonly viewEdits;
4737
5081
  private readonly projectionId;
4738
5082
  private canvasArea;
4739
5083
  private scrollHost;
4740
5084
  private spacer;
4741
5085
  private readonly surface;
4742
5086
  private readonly overlayHost;
4743
- private tabBar;
4744
- private tabStrip;
4745
- private tabList;
4746
- private navPrev;
4747
- private navNext;
4748
- private tabs;
4749
- private tabColors;
4750
- private zoomSlider;
4751
- private zoomLabel;
5087
+ private readonly sheetTabs;
5088
+ private readonly zoomControl;
4752
5089
  private currentSheet;
4753
5090
  private sheetRequestGeneration;
4754
5091
  private fontBindingGeneration;
4755
5092
  private fontBinding;
4756
5093
  private _hiddenSheetMode;
4757
5094
  private currentWorksheet;
5095
+ private previewCompletion;
5096
+ private firstPreviewRender;
5097
+ private committedFrameCount;
5098
+ private previewPreparedViewport;
5099
+ private previewFallbackReason;
5100
+ private releaseCurrentWorksheet;
4758
5101
  private currentSourceComments;
4759
5102
  private commentNavigationGeneration;
4760
5103
  private sourceCommentMap;
4761
5104
  private sheetViews;
5105
+ private initialAnchorWorkbook;
5106
+ private readonly initialAnchorReferences;
5107
+ private currentAutoRowHeightsPrepared;
4762
5108
  private opts;
4763
5109
  private readonly _mountKind;
4764
5110
  private readonly _nativeScrollbars;
@@ -4767,59 +5113,25 @@ declare class XlsxViewerEngine implements ZoomableViewer {
4767
5113
  private preparedWorkbook;
4768
5114
  private _destroyed;
4769
5115
  private resizeObserver;
4770
- private chromeColors;
4771
- private chromeStyleObserver;
4772
- private chromeSchemeMedia;
4773
- private chromeSchemeListener;
5116
+ private chromeTheme;
5117
+ private get chromeColors();
4774
5118
  private _lastViewportNotification;
4775
- private get anchorCell();
4776
5119
  private get activeCell();
4777
5120
  private get selectionMode();
4778
- private get isSelecting();
4779
- private get selectionPointerId();
4780
- private beginSelectionDrag;
4781
5121
  private _pendingZoomAnchor;
4782
5122
  private readonly selectionController;
4783
- private lastNotifiedSelectionState;
4784
- private emittingSelectionChange;
4785
- private pendingSelectionChange;
4786
- private selectionNotificationScheduled;
4787
- private selectionNotificationCount;
4788
- private selectionContextNotificationFrame;
4789
- private selectionContextNotificationMicrotask;
4790
- private readonly selectionContextRows;
4791
- private readonly selectionContextCells;
5123
+ private readonly notifier;
5124
+ private readonly contextReader;
5125
+ private readonly gridExtent;
4792
5126
  private elementContext;
4793
- private selectionOverlay;
4794
- private findOverlay;
4795
- private _find;
4796
- private keydownHandler;
4797
- private pendingTap;
4798
- private pendingClick;
4799
- private pendingElementClick;
4800
- private resizeDrag;
4801
- private selectionAutoScrollPointer;
4802
- private selectionAutoScrollFrame;
4803
- private selectionAutoScrollLastTime;
4804
- private commentPopup;
4805
- private commentMap;
4806
- private hyperlinkMap;
4807
- private commentPopupKey;
4808
- private commentPopupTimer;
4809
- private commentPopupCell;
4810
- private commentPopupPositionScheduled;
4811
- private commentPopupResizeObserver;
4812
- private commentUi;
4813
- private commentPopupRenderGeneration;
4814
- private validationPanel;
4815
- private validationPanelKey;
4816
- private validationRequestGeneration;
4817
- private validationArrowRect;
4818
- private validationOutsideHandler;
5127
+ private readonly selectionPaint;
5128
+ private readonly finder;
5129
+ private readonly copier;
5130
+ private selectionInput;
5131
+ private readonly comments;
5132
+ private readonly hyperlinks;
5133
+ private readonly validation;
4819
5134
  constructor(container: HTMLElement, opts: XlsxViewerOptions | XlsxSheetViewerOptions | undefined, mount: XlsxViewerMount);
4820
- private refreshChromeTheme;
4821
- private installChromeThemeRefresh;
4822
- private _collectSheetCells;
4823
5135
  [loadXlsxViewerSource](source: string | ArrayBuffer, sourceOptions?: XlsxSheetLoadOptions): Promise<void>;
4824
5136
  private activateWorkbook;
4825
5137
  private ensureHostFonts;
@@ -4830,24 +5142,19 @@ declare class XlsxViewerEngine implements ZoomableViewer {
4830
5142
  private set wb(value);
4831
5143
  private showSheet;
4832
5144
  private isCurrentSheetRequest;
5145
+ private initialAnchorReferenceFor;
5146
+ private installInitialAnchorReference;
5147
+ private releaseInitialAnchorReferences;
5148
+ private restoreDisplayedWorksheetLease;
4833
5149
  private buildOutline;
4834
5150
  private layoutGutters;
4835
5151
  private renderGutters;
4836
- private paintAxisGutter;
4837
- private drawToggleBox;
4838
- private drawLevelButton;
4839
- private paintCornerGutter;
4840
- private onGutterPointerDown;
4841
- private applyGroupToggle;
4842
5152
  private scrollOutlineSummaryToStart;
4843
- private applyLevelButton;
4844
5153
  private setBandHidden;
4845
5154
  private recordSizeOverride;
4846
5155
  private wireSizeOverrides;
4847
- private syncAutomaticRowOverrides;
4848
5156
  private setBandCollapsed;
4849
5157
  private afterOutlineMutation;
4850
- private buildOutlineLayoutOnly;
4851
5158
  private get isRtl();
4852
5159
  private updateFooterDirection;
4853
5160
  private get maxScrollLeft();
@@ -4886,11 +5193,6 @@ declare class XlsxViewerEngine implements ZoomableViewer {
4886
5193
  private setElementContext;
4887
5194
  private scheduleSelectionContextNotification;
4888
5195
  private emitSelectionChange;
4889
- private scheduleSelectionNotification;
4890
- private finishSelectionNotificationChain;
4891
- private getHeaderHit;
4892
- private getResizeTarget;
4893
- private applyResize;
4894
5196
  private refitAutoRowsAfterColumnResize;
4895
5197
  setSelectionColor(color: string): void;
4896
5198
  setHiddenSheetMode(mode: HiddenSheetMode): Promise<void>;
@@ -4898,56 +5200,19 @@ declare class XlsxViewerEngine implements ZoomableViewer {
4898
5200
  get visibleSheetCount(): number;
4899
5201
  copySelection(): Promise<XlsxCopyResult>;
4900
5202
  private updateSelectionOverlay;
4901
- private drawElementContextOverlay;
4902
- private maybeDrawValidationDropdown;
4903
5203
  private updateFindOverlay;
4904
5204
  findText(query: string, opts?: FindMatchesOptions): Promise<FindMatch<XlsxMatchLocation>[]>;
4905
5205
  findNext(): Promise<FindMatch<XlsxMatchLocation> | null>;
4906
5206
  findPrev(): Promise<FindMatch<XlsxMatchLocation> | null>;
4907
5207
  clearFind(): void;
4908
- private _activateMatch;
4909
5208
  private _scrollCellIntoView;
4910
- private toggleValidationPanel;
4911
- private openValidationPanel;
4912
- private isCurrentValidationRequest;
4913
- private renderValidationPanel;
4914
- private positionValidationPanel;
4915
- private installValidationOutsideHandler;
4916
5209
  private hideValidationPanel;
4917
5210
  private buildCommentMap;
4918
- private createCommentMap;
4919
5211
  private createVisibleSheetView;
4920
5212
  private buildHyperlinkMap;
4921
- private hyperlinkAtCell;
4922
- private dispatchHyperlink;
4923
- private navigateInternalHyperlink;
4924
- private scheduleCommentPopup;
4925
- private loadCommentUi;
4926
- private renderCommentPopup;
4927
- private scheduleCommentPopupPosition;
4928
- private positionCommentPopup;
4929
5213
  private hideCommentPopup;
4930
- private applyPointerSelection;
4931
- private viewportInputBounds;
4932
- private extendDragSelection;
4933
- private selectionAutoScrollSpeed;
4934
- private trackSelectionAutoScroll;
4935
- private runSelectionAutoScroll;
4936
- private stopSelectionAutoScroll;
4937
- private contextMenuTargetIsSelected;
4938
- private resolveContextMenuContext;
4939
- private setupSelectionEvents;
4940
5214
  private buildTabs;
4941
- private makeNavButton;
4942
- private navButtonStyle;
4943
- private scrollTabs;
4944
- private updateNavButtons;
4945
5215
  private updateTabActive;
4946
- private tabStyle;
4947
- private tabCss;
4948
- private buildZoomControl;
4949
- private zoomPosToScale;
4950
- private zoomScaleToPos;
4951
5216
  setScale(scale: number): void;
4952
5217
  getScale(): number;
4953
5218
  zoomIn(): void;
@@ -5024,7 +5289,7 @@ declare class XlsxSheetViewer implements ZoomableViewer {
5024
5289
  }
5025
5290
  declare function resolveSharedStrings(ws: Worksheet, sharedStrings: SharedString[]): Worksheet;
5026
5291
  declare namespace xlsx_d_exports {
5027
- export { ArrowEnd, AutoResizeOptions, Border, BorderEdge, Cell, CellAddress, CellFill, CellFont, CellValue, CellXf, CfIcon, CfRule, CfStop, CfValue, ChartAnchor, ChartAreaGroupDecorations, ChartBarGroupDecorations, ChartClassicSurfaceBandStyles, ChartDataLabelOverride, ChartDataPointOverride, ChartDataTable, ChartDecorationLineStyle, ChartDisplayUnits, ChartDisplayUnitsLabel, ChartErrBars, ChartExElementStyle, ChartExRenderer, ChartLabelBox, ChartLegendEntryOverride, ChartLineDashSegment, ChartLineGroupDecorations, ChartManualLayout, ChartModel, ChartOfPie, ChartPlotGroup, ChartPlotGroupAxisSlot, ChartPlotGroupKind, ChartRect, ChartRegionMapRenderer, ChartSeries, ChartSeriesDataLabels, ChartStockBarPaint, ChartStockUpDownBarStyle, ChartSurfaceBandFormat, ChartTextBox, ChartTextParagraph, ChartTextRun, ChartThreeD, ChartThreeDPictureOptions, ChartThreeDRenderer, ChartThreeDSeriesAxis, ChartThreeDSurface, ChartTrendline, ChartType, ChartexBoxSeries, ChartexBoxWhisker, ChartexGeography, ChartexHistogramBinning, ChartexRegionMap, ChartexRegionMapColors, ChartexRegionMapRow, ChartexSunburst, ChartexSunburstRow, ChartexTreemap, ChartexValueColorStop, CjkFallback, ConditionalFormat, DataValidation, DecodedImageBudgetStrategy, DefinedName, DrawingMLCustomDashSegment, Duotone, Dxf, FillRect, FindHighlightColors, FindMatch, FindMatchesOptions, Glow, GradientFill, GradientFillSpec, GradientStop$1 as GradientStop, HiddenSheetMode, Hyperlink, HyperlinkTarget, ImageAnchor, ImageFill, ImageResourceOptions, LegendManualLayout, LoadOptions, MAX_SELECTION_AREAS, MAX_SELECTION_CONTEXT_CELLS, MAX_SELECTION_CONTEXT_TEXT_CHARACTERS, MathAccent, MathArray, MathBar, MathBorderBox, MathBox, MathDelimiter, MathFraction, MathFunc, MathGroup, MathGroupChr, MathLimit, MathNary, MathNode, MathPhant, MathRadical, MathRenderer, MathRun, MathSPre, MathScript, MathStyle, MathSvg, MergeCell, NoFill, NumFmt, OoxmlDecodedImageLimitError, OoxmlDecodedImageLimitMetric, OoxmlError, OoxmlErrorCode, OoxmlErrorStage, OoxmlFormat, OoxmlResourceLimit, OoxmlResourceLimitError, OoxmlResourceLimitErrorDetails, OoxmlResourceLimits, OoxmlResourceMetric, OoxmlResourceMetrics, OoxmlResourceMetricsCheckpoint, OoxmlResourceName, OoxmlResourcePolicySnapshot, OoxmlResourceUsageSnapshot, OoxmlResourceViolation, OutlinePr, ParsedWorkbook, PathCmd, PathInfo, PatternFill, PhoneticAlignment, PhoneticProperties, PhoneticRun, PhoneticType, PivotCacheSource, PivotDataField, PivotDiagnostic, PivotLocation, PivotMetadataStatus, PivotPageField, PivotPartialReason, PivotTableMetadata, Reflection, RenderViewportToBitmapOptions, ResolvedList, Row, Run, RunFont, SecondaryValueAxis, Shadow, ShapeAnchor, ShapeFill, ShapeGeom, ShapeInfo, ShapeParagraph, ShapeText, ShapeTextRun, SharedString, SheetMeta, SheetVisibility, SlicerAnchor, SlicerElementStyle, SlicerItem, SlicerStyle, SoftEdge, SolidFill, SpaceLine, Sparkline, SparklineGroup, SrcRect, Styles, TableColumnInfo, TableInfo, TiffDecodeError, TiffRenderOptions, TiffRenderer, TileInfo, ViewerCommentMessageContext, ViewerCommentThreadContext, ViewerContextMenuEvent, ViewportRange, Workbook, Worksheet, WorksheetCellRange, XlsxCellViewportRect, XlsxComment, XlsxCommentReply, XlsxCommentsOptions, XlsxCopyResult, XlsxElementAnchorMarker, XlsxElementContext, XlsxMatchLocation, XlsxRangeSelectionContext, XlsxRenderViewportOptions, XlsxScrollToCellOptions, XlsxSelectionArea, XlsxSelectionContext, XlsxSelectionContextCell, XlsxSelectionContextOptions, XlsxSelectionInput, XlsxSelectionState, XlsxSheetLoadOptions, XlsxSheetViewer, XlsxSheetViewerOptions, XlsxTextRunInfo, XlsxViewer, XlsxViewerOptions, XlsxViewportOffset, XlsxWorkbook, ZoomableViewer, autoResize, isOoxmlDecodedImageLimitError, isTiffDecodeError, openExternalHyperlink, resolveSharedStrings };
5292
+ export { ArrowEnd, AutoResizeOptions, BlendMode, BlipEffect, BlipEffectContainer, BlipEffectFill, BlipEffectImageFill, Border, BorderEdge, Cell, CellAddress, CellFill, CellFont, CellValue, CellXf, CfIcon, CfRule, CfStop, CfValue, ChartAnchor, ChartAreaGroupDecorations, ChartAxisNumberFormat, ChartBarGroupDecorations, ChartClassicSurfaceBandStyles, ChartDataLabelOverride, ChartDataPointOverride, ChartDataTable, ChartDecorationLineStyle, ChartDisplayUnits, ChartDisplayUnitsLabel, ChartErrBars, ChartExElementStyle, ChartExRenderer, ChartLabelBox, ChartLegendEntryOverride, ChartLineDashSegment, ChartLineGroupDecorations, ChartManualLayout, ChartModel, ChartOfPie, ChartPlotGroup, ChartPlotGroupAxisSlot, ChartPlotGroupKind, ChartRect, ChartRegionMapRenderer, ChartSeries, ChartSeriesDataLabels, ChartStockBarPaint, ChartStockUpDownBarStyle, ChartSurfaceBandFormat, ChartTextBox, ChartTextParagraph, ChartTextRun, ChartThreeD, ChartThreeDPictureOptions, ChartThreeDRenderer, ChartThreeDSeriesAxis, ChartThreeDSurface, ChartTrendline, ChartType, ChartexBoxSeries, ChartexBoxWhisker, ChartexGeography, ChartexHistogramBinning, ChartexRegionMap, ChartexRegionMapColors, ChartexRegionMapRow, ChartexSunburst, ChartexSunburstRow, ChartexTreemap, ChartexValueColorStop, CjkFallback, ConditionalFormat, DataValidation, DecodedImageBudgetStrategy, DefinedName, DrawingMLCustomDashSegment, Duotone, Dxf, DxfFontToggles, FillRect, FindHighlightColors, FindMatch, FindMatchesOptions, Glow, GradientFill, GradientFillSpec, GradientStop$1 as GradientStop, HiddenSheetMode, Hyperlink, HyperlinkTarget, ImageAnchor, ImageFill, ImageResourceOptions, LegendManualLayout, LoadOptions, MAX_SELECTION_AREAS, MAX_SELECTION_CONTEXT_CELLS, MAX_SELECTION_CONTEXT_TEXT_CHARACTERS, MathAccent, MathArray, MathBar, MathBorderBox, MathBox, MathDelimiter, MathFraction, MathFunc, MathGroup, MathGroupChr, MathLimit, MathNary, MathNode, MathPhant, MathRadical, MathRenderer, MathRun, MathSPre, MathScript, MathStyle, MathSvg, MergeCell, ModelSource, ModelSourceConfig, ModelSourceConfigValue, ModelSourceLoad, ModelSourceModule, ModelSourceModuleDescriptor, ModelSourceTarget, NoFill, NumFmt, OoxmlDecodedImageLimitError, OoxmlDecodedImageLimitMetric, OoxmlError, OoxmlErrorCode, OoxmlErrorStage, OoxmlFormat, OoxmlResourceLimit, OoxmlResourceLimitError, OoxmlResourceLimitErrorDetails, OoxmlResourceLimits, OoxmlResourceMetric, OoxmlResourceMetrics, OoxmlResourceMetricsCheckpoint, OoxmlResourceName, OoxmlResourcePolicySnapshot, OoxmlResourceUsageSnapshot, OoxmlResourceViolation, OoxmlUnsupportedContentDetails, OpenedModelSource, OutlinePr, ParsedWorkbook, PathCmd, PathInfo, PatternFill, PhoneticAlignment, PhoneticProperties, PhoneticRun, PhoneticType, PivotAxisItem, PivotCacheSource, PivotDataField, PivotDiagnostic, PivotLocation, PivotMetadataStatus, PivotPageField, PivotPartialReason, PivotTableMetadata, PivotTableStyle, PivotTableStyleElement, Reflection, RenderViewportToBitmapOptions, ResolvedList, Row, Run, RunFont, SecondaryValueAxis, Shadow, ShapeAnchor, ShapeFill, ShapeGeom, ShapeInfo, ShapeParagraph, ShapeText, ShapeTextRun, SharedString, SheetMeta, SheetVisibility, SlicerAnchor, SlicerElementStyle, SlicerItem, SlicerStyle, SoftEdge, SolidFill, SpaceLine, Sparkline, SparklineGroup, SrcRect, Styles, TableColumnInfo, TableInfo, TiffDecodeError, TiffRenderOptions, TiffRenderer, TileInfo, ViewerCommentMessageContext, ViewerCommentThreadContext, ViewerContextMenuEvent, ViewportRange, Workbook, Worksheet, WorksheetCellRange, XlsxCellViewportRect, XlsxComment, XlsxCommentReply, XlsxCommentsOptions, XlsxCopyResult, XlsxElementAnchorMarker, XlsxElementContext, XlsxMatchLocation, XlsxRangeSelectionContext, XlsxRenderViewportOptions, XlsxScrollToCellOptions, XlsxSelectionArea, XlsxSelectionContext, XlsxSelectionContextCell, XlsxSelectionContextOptions, XlsxSelectionInput, XlsxSelectionState, XlsxSheetLoadOptions, XlsxSheetViewer, XlsxSheetViewerOptions, XlsxTextRunInfo, XlsxViewer, XlsxViewerOptions, XlsxViewportOffset, XlsxWorkbook, XlsxWorksheetLimits, ZoomableViewer, autoResize, isOoxmlDecodedImageLimitError, isTiffDecodeError, openExternalHyperlink, resolveSharedStrings };
5028
5293
  }
5029
5294
  //#endregion
5030
5295
  export { docx_d_exports as docx, pptx_d_exports as pptx, xlsx_d_exports as xlsx };