@silurus/ooxml 0.81.0 → 0.82.1

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 (61) hide show
  1. package/README.md +4 -8
  2. package/dist/assets/render-worker-Cy-QsDge.js +10 -0
  3. package/dist/assets/{render-worker-DtU8oQZ7.js → render-worker-Dw_wQRIh.js} +1 -1
  4. package/dist/assets/{render-worker-C2ACcLes.js → render-worker-aHayzR7v.js} +4 -4
  5. package/dist/{canvas-viewer-mechanics-CqxKRGCp.js → canvas-viewer-mechanics-CS_qbr6T.js} +1 -1
  6. package/dist/chart-ex.mjs +4 -4
  7. package/dist/comment-occurrence-C34fWs_F.js +6 -0
  8. package/dist/comment-ui-runtime-C1RV_3iu.js +112 -0
  9. package/dist/comment-ui-runtime-DTGN3Vyy.js +2 -0
  10. package/dist/comment-ui-runtime-DgCZpPR0.js +171 -0
  11. package/dist/comments-Cf9W7r3M.js +241 -0
  12. package/dist/{document-pull-client-Ux4a_ax8.js → document-pull-client-B1WOjA0z.js} +2206 -2193
  13. package/dist/{docx-SEyQ4gS-.js → docx-HoZXZUPA.js} +674 -249
  14. package/dist/docx.mjs +6 -5
  15. package/dist/docx_parser_bg.wasm +0 -0
  16. package/dist/dom-interaction-boundary-C8F6HO5x.js +119 -0
  17. package/dist/highlight-rect-MaCt0om0.js +13 -0
  18. package/dist/index.mjs +3 -3
  19. package/dist/{line-distribute-BBGvvwLt.js → line-distribute-iXsUCIH-.js} +2 -2
  20. package/dist/{line-metrics-Baz31mML.js → line-metrics-B3syvDn2.js} +52 -52
  21. package/dist/math.mjs +2 -2
  22. package/dist/node.mjs +10 -10
  23. package/dist/{plot-area-frame-Dg1VIpUU.js → plot-area-frame-DHV02PJU.js} +591 -590
  24. package/dist/{pptx-5lQrMvMR.js → pptx-DEUP4Yq5.js} +537 -243
  25. package/dist/pptx.mjs +6 -6
  26. package/dist/pptx_parser_bg.wasm +0 -0
  27. package/dist/read-only-comment-decoration-DcFevX_Q.js +96 -0
  28. package/dist/read-only-comment-margin-DrUX-YrP.js +189 -0
  29. package/dist/region-map.mjs +2 -2
  30. package/dist/{render-DEHjijQD.js → render-BC8p7vZQ.js} +1 -1
  31. package/dist/{render-worker-host-B1nbV_k7.js → render-worker-host-BNnXCtAu.js} +1 -1
  32. package/dist/{render-worker-host-Bze5M6k5.js → render-worker-host-CmPBviYJ.js} +1 -1
  33. package/dist/{render-worker-host-Dg_74V64.js → render-worker-host-DhnkTyjj.js} +1 -1
  34. package/dist/{renderer-DuopJE1K.js → renderer-CYr9YTXM.js} +436 -435
  35. package/dist/{resource-measurement-DRLp4nFt.js → resource-measurement-CsW4_eYt.js} +2 -2
  36. package/dist/{session-CNVc3VJ4.js → session-Da7LEQUB.js} +3 -3
  37. package/dist/{slide-pull-client-CzutXnGc.js → slide-pull-client-Bg9DusLX.js} +413 -300
  38. package/dist/source-key-BklvnEyQ.js +42 -0
  39. package/dist/{three-d-BYiWCNlz.js → three-d-7MaVzQuZ.js} +48 -47
  40. package/dist/three-d.mjs +324 -323
  41. package/dist/types/chart-ex.d.ts +2 -2
  42. package/dist/types/docx.d.ts +183 -19
  43. package/dist/types/index.d.ts +343 -26
  44. package/dist/types/math.d.ts +1 -1
  45. package/dist/types/node.d.ts +428 -348
  46. package/dist/types/pptx.d.ts +132 -11
  47. package/dist/types/region-map.d.ts +2 -2
  48. package/dist/types/three-d.d.ts +2 -2
  49. package/dist/types/xlsx.d.ts +78 -10
  50. package/dist/units-BzZ0gAxs.js +4 -0
  51. package/dist/{worksheet-pull-client-Cxj3Ej0s.js → worksheet-pull-client-CYtwXP5D.js} +3 -3
  52. package/dist/{xlsx-Bl3TIEVu.js → xlsx-DMWeXT-c.js} +429 -218
  53. package/dist/xlsx.mjs +6 -6
  54. package/dist/xlsx_parser_bg.wasm +0 -0
  55. package/package.json +2 -1
  56. package/dist/assets/render-worker-Cx5uR77k.js +0 -10
  57. package/dist/highlight-rect-BqcZMHUE.js +0 -48
  58. /package/dist/{mathjax-DJa-Q93p.js → mathjax-DwIrafQ6.js} +0 -0
  59. /package/dist/{renderer-module-contract-0bO_5SC0.js → renderer-module-contract-DLbb7zY0.js} +0 -0
  60. /package/dist/{transfer-D0U6Uhn4.js → transfer-R6NjgBKD.js} +0 -0
  61. /package/dist/{visible-index-DbDuGMCE.js → visible-index-BFE3PWiY.js} +0 -0
@@ -1,4 +1,4 @@
1
- //#region dist/.types-work/chart-Cf9PF1Kz.d.ts
1
+ //#region dist/.types-work/chart-qJPl2r8m.d.ts
2
2
  type MathStyle = 'roman' | 'italic' | 'bold' | 'boldItalic';
3
3
  interface MathRun {
4
4
  kind: 'run';
@@ -1248,12 +1248,12 @@ interface ChartRect {
1248
1248
  h: number;
1249
1249
  }
1250
1250
  //#endregion
1251
- //#region dist/.types-work/chart-ex-contract-utZi_dg3.d.ts
1251
+ //#region dist/.types-work/chart-ex-contract-Ba0xG5gE.d.ts
1252
1252
  interface ChartExRenderer {
1253
1253
  render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number, shapeRotationDeg?: number): boolean;
1254
1254
  }
1255
1255
  //#endregion
1256
- //#region dist/.types-work/mathjax-i691C1H8.d.ts
1256
+ //#region dist/.types-work/mathjax-DwKoKmdb.d.ts
1257
1257
  interface MathSvg {
1258
1258
  svg: string;
1259
1259
  widthEm: number;
@@ -1265,17 +1265,17 @@ interface MathRenderer {
1265
1265
  mathMLToSvg(mathml: string): Promise<MathSvg>;
1266
1266
  }
1267
1267
  //#endregion
1268
- //#region dist/.types-work/three-d-contract-ubTeeJB2.d.ts
1268
+ //#region dist/.types-work/three-d-contract-D5bEzjMw.d.ts
1269
1269
  interface ChartThreeDRenderer {
1270
1270
  render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number, shapeRotationDeg?: number): boolean;
1271
1271
  }
1272
1272
  //#endregion
1273
- //#region dist/.types-work/region-map-contract-BjZYif26.d.ts
1273
+ //#region dist/.types-work/region-map-contract-BFIR10oz.d.ts
1274
1274
  interface ChartRegionMapRenderer {
1275
1275
  render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number, shapeRotationDeg?: number): boolean;
1276
1276
  }
1277
1277
  //#endregion
1278
- //#region dist/.types-work/hyperlink-DfGyAVo-.d.ts
1278
+ //#region dist/.types-work/hyperlink-CZoV-4B8.d.ts
1279
1279
  type OoxmlErrorCode = 'encrypted' | 'invalid-password' | 'unsupported-encryption' | 'legacy-binary-format' | 'not-ooxml';
1280
1280
  type OoxmlErrorStage = 'container' | 'decompression' | 'parsing' | 'serialization' | 'layout' | 'rendering' | 'worker';
1281
1281
  declare class OoxmlError extends Error {
@@ -1381,7 +1381,7 @@ type HyperlinkTarget = {
1381
1381
  };
1382
1382
  declare function openExternalHyperlink(url: string, allowed?: readonly string[], win?: Pick<Window, 'open'> | undefined): boolean;
1383
1383
  //#endregion
1384
- //#region dist/.types-work/find-highlight-CVToYCFx.d.ts
1384
+ //#region dist/.types-work/find-highlight-DdGGQ_H7.d.ts
1385
1385
  interface TextSelectionContextOptions {
1386
1386
  readonly maxTextCharacters?: number;
1387
1387
  readonly maxRunLocators?: number;
@@ -1390,6 +1390,28 @@ interface ViewerContextMenuEvent<TContext> {
1390
1390
  readonly originalEvent: MouseEvent;
1391
1391
  getContext(): Promise<TContext | null>;
1392
1392
  }
1393
+ interface ViewerCommentsOptions {
1394
+ readonly includeResolved?: boolean;
1395
+ }
1396
+ type ViewerCommentConnectorRoute = 'bezier' | 'orthogonal';
1397
+ type ViewerCommentConnectorStroke = 'solid' | 'dashed';
1398
+ interface ViewerCommentConnectorOptions {
1399
+ readonly route?: ViewerCommentConnectorRoute;
1400
+ readonly stroke?: ViewerCommentConnectorStroke;
1401
+ readonly color?: string;
1402
+ readonly activeColor?: string;
1403
+ }
1404
+ interface ViewerCommentMessageContext {
1405
+ readonly id?: string;
1406
+ readonly author?: string;
1407
+ readonly date?: string;
1408
+ readonly text: string;
1409
+ readonly status?: 'active' | 'resolved' | 'closed';
1410
+ }
1411
+ interface ViewerCommentThreadContext {
1412
+ readonly root: ViewerCommentMessageContext;
1413
+ readonly replies: readonly ViewerCommentMessageContext[];
1414
+ }
1393
1415
  interface AutoResizeOptions {
1394
1416
  pauseWhenHidden?: boolean;
1395
1417
  }
@@ -1420,7 +1442,7 @@ interface FindHighlightColors {
1420
1442
  active?: string;
1421
1443
  }
1422
1444
  //#endregion
1423
- //#region dist/.types-work/docx-cnFW2qy-.d.ts
1445
+ //#region dist/.types-work/types-HfeSaZtq.d.ts
1424
1446
  interface DocxDocumentModel {
1425
1447
  section: SectionProps;
1426
1448
  body: BodyElement[];
@@ -1456,7 +1478,8 @@ interface DocSettings {
1456
1478
  adjustLineHeightInTable?: boolean;
1457
1479
  }
1458
1480
  interface DocRevision {
1459
- kind: 'insertion' | 'deletion' | string;
1481
+ kind: 'insertion' | 'deletion' | 'moveFrom' | 'moveTo' | string;
1482
+ id?: string;
1460
1483
  author?: string;
1461
1484
  date?: string;
1462
1485
  text: string;
@@ -1467,6 +1490,14 @@ interface DocComment {
1467
1490
  initials?: string;
1468
1491
  date?: string;
1469
1492
  text: string;
1493
+ parentId?: string;
1494
+ resolved?: boolean;
1495
+ paragraphs?: string[];
1496
+ }
1497
+ interface DocxCommentMark {
1498
+ id: string;
1499
+ kind: 'rangeStart' | 'rangeEnd' | 'reference' | string;
1500
+ runIndex: number;
1470
1501
  }
1471
1502
  interface DocNote {
1472
1503
  id: string;
@@ -1583,6 +1614,7 @@ interface DocParagraph {
1583
1614
  tabStops: TabStop[];
1584
1615
  runs: DocRun[];
1585
1616
  bookmarks?: string[];
1617
+ commentMarks?: DocxCommentMark[];
1586
1618
  shading?: string | null;
1587
1619
  pageBreakBefore?: boolean;
1588
1620
  contextualSpacing?: boolean;
@@ -1665,7 +1697,7 @@ interface NumberingInfo {
1665
1697
  picBulletWidthPt?: number;
1666
1698
  picBulletHeightPt?: number;
1667
1699
  }
1668
- type DocRun = ({
1700
+ type DocRunContent = ({
1669
1701
  type: 'text';
1670
1702
  } & DocxTextRun) | ({
1671
1703
  type: 'anchorHost';
@@ -1689,6 +1721,9 @@ type DocRun = ({
1689
1721
  } | ({
1690
1722
  type: 'ptab';
1691
1723
  } & PTabRun);
1724
+ type DocRun = DocRunContent & {
1725
+ revision?: RunRevision;
1726
+ };
1692
1727
  interface ChartRun {
1693
1728
  chart: ChartModel;
1694
1729
  widthPt: number;
@@ -1991,7 +2026,8 @@ interface NoteRef {
1991
2026
  id: string;
1992
2027
  }
1993
2028
  interface RunRevision {
1994
- kind: 'insertion' | 'deletion' | string;
2029
+ kind: 'insertion' | 'deletion' | 'moveFrom' | 'moveTo' | string;
2030
+ id?: string;
1995
2031
  author?: string;
1996
2032
  date?: string;
1997
2033
  }
@@ -2115,18 +2151,27 @@ interface CellBorders {
2115
2151
  insideH: BorderSpec | null;
2116
2152
  insideV: BorderSpec | null;
2117
2153
  }
2154
+ interface DocxStorySource {
2155
+ story: 'body' | 'header' | 'footer' | 'footnote' | 'endnote' | 'textbox';
2156
+ storyInstance: string;
2157
+ path: readonly number[];
2158
+ }
2118
2159
  interface DocxTextRunInfo {
2119
- source?: Readonly<{
2120
- story: 'body' | 'header' | 'footer' | 'footnote' | 'endnote' | 'textbox';
2121
- storyInstance: string;
2122
- path: readonly number[];
2123
- }>;
2160
+ source?: Readonly<DocxStorySource>;
2124
2161
  paragraphId?: string;
2162
+ sourceRunIndex?: number;
2163
+ direction?: 'ltr' | 'rtl';
2125
2164
  text: string;
2126
2165
  x: number;
2127
2166
  y: number;
2128
2167
  w: number;
2129
2168
  h: number;
2169
+ highlightBounds?: Readonly<{
2170
+ x: number;
2171
+ y: number;
2172
+ width: number;
2173
+ height: number;
2174
+ }>;
2130
2175
  fontSize: number;
2131
2176
  font: string;
2132
2177
  letterSpacingPx?: number;
@@ -2141,6 +2186,48 @@ interface RenderPageOptions {
2141
2186
  onTextRun?: (run: DocxTextRunInfo) => void;
2142
2187
  currentDate?: Date | number;
2143
2188
  }
2189
+ //#endregion
2190
+ //#region dist/.types-work/docx-CDchTe6F.d.ts
2191
+ interface CommentAnchorRange {
2192
+ readonly commentId: string;
2193
+ readonly source: Readonly<DocxStorySource>;
2194
+ readonly startRunIndex: number;
2195
+ readonly endRunIndex: number;
2196
+ readonly reference: CommentAnchorPoint;
2197
+ readonly geometryFallback?: CommentAnchorGeometryFallback;
2198
+ }
2199
+ interface CommentAnchorPoint {
2200
+ readonly source: Readonly<DocxStorySource>;
2201
+ readonly runIndex: number;
2202
+ readonly affinity: 'following' | 'preceding';
2203
+ }
2204
+ interface CommentAnchorGeometryFallback {
2205
+ readonly source: Readonly<DocxStorySource>;
2206
+ readonly sourceRunIndex: number;
2207
+ }
2208
+ type DocxCommentAnchorKind = 'range' | 'point' | 'fallback';
2209
+ interface DocxCommentHighlightRect {
2210
+ readonly x: number;
2211
+ readonly y: number;
2212
+ readonly width: number;
2213
+ readonly height: number;
2214
+ readonly transform?: string;
2215
+ }
2216
+ interface ResolvedDocxCommentAnchor {
2217
+ readonly anchor: Readonly<CommentAnchorRange>;
2218
+ readonly kind: DocxCommentAnchorKind;
2219
+ readonly rects: readonly Readonly<DocxCommentHighlightRect>[];
2220
+ }
2221
+ interface ResolvedDocxCommentThread {
2222
+ readonly root: Readonly<DocComment>;
2223
+ readonly replies: readonly Readonly<DocComment>[];
2224
+ readonly anchors: readonly Readonly<ResolvedDocxCommentAnchor>[];
2225
+ }
2226
+ interface ResolveDocxCommentThreadsOptions {
2227
+ readonly includeResolved?: boolean;
2228
+ }
2229
+ declare function resolveCommentAnchorRuns(anchor: Readonly<CommentAnchorRange>, runs: readonly Readonly<DocxTextRunInfo>[]): readonly Readonly<DocxTextRunInfo>[];
2230
+ declare function resolveDocxCommentThreads(comments: readonly Readonly<DocComment>[], anchors: readonly Readonly<CommentAnchorRange>[], runs: readonly Readonly<DocxTextRunInfo>[], options?: ResolveDocxCommentThreadsOptions): readonly Readonly<ResolvedDocxCommentThread>[];
2144
2231
  type DocxSelectionContextOptions = TextSelectionContextOptions;
2145
2232
  interface DocxSelectionSourceLocator {
2146
2233
  readonly story: 'body' | 'header' | 'footer' | 'footnote' | 'endnote' | 'textbox';
@@ -2190,17 +2277,42 @@ interface DocxElementContext {
2190
2277
  readonly textCharacters: number;
2191
2278
  readonly maxTextCharacters: number;
2192
2279
  }
2193
- type DocxSelectionContext = DocxTextSelectionContext | DocxElementContext;
2280
+ interface DocxCommentSelectionContext {
2281
+ readonly format: 'docx';
2282
+ readonly kind: 'comment';
2283
+ readonly pageIndex: number;
2284
+ readonly commentId: string;
2285
+ readonly source?: DocxSelectionSourceLocator;
2286
+ readonly thread: ViewerCommentThreadContext;
2287
+ readonly truncated: boolean;
2288
+ readonly truncationReasons: readonly ('text')[];
2289
+ readonly textCharacters: number;
2290
+ readonly maxTextCharacters: number;
2291
+ }
2292
+ type DocxSelectionContext = DocxTextSelectionContext | DocxElementContext | DocxCommentSelectionContext;
2194
2293
  declare function readDocxTextSelectionContext(root: HTMLElement, selection: Selection | null, options?: DocxSelectionContextOptions): DocxTextSelectionContext | null;
2195
2294
  interface DocxElementContextOptions {
2196
2295
  readonly maxTextCharacters?: number;
2197
2296
  readonly currentDate?: Date | number;
2198
2297
  }
2298
+ interface RevisionAnchorRange {
2299
+ readonly revisionIndex: number;
2300
+ readonly source: Readonly<DocxStorySource>;
2301
+ readonly startRunIndex: number;
2302
+ readonly endRunIndex: number;
2303
+ readonly geometryFallback?: RevisionAnchorGeometryFallback;
2304
+ }
2305
+ interface RevisionAnchorGeometryFallback {
2306
+ readonly source: Readonly<DocxStorySource>;
2307
+ readonly sourceRunIndex: number;
2308
+ }
2309
+ declare function resolveRevisionAnchorRuns(anchor: Readonly<RevisionAnchorRange>, runs: readonly Readonly<DocxTextRunInfo>[]): readonly Readonly<DocxTextRunInfo>[];
2199
2310
  interface LoadOptions$2 extends LoadOptions$3 {
2200
2311
  math?: MathRenderer;
2201
2312
  mode?: 'main' | 'worker';
2202
2313
  }
2203
2314
  type CollectPageRunsOptions = Pick<RenderPageOptions, 'width' | 'currentDate'>;
2315
+ interface DocxPageCommentThreadsOptions extends CollectPageRunsOptions, ResolveDocxCommentThreadsOptions {}
2204
2316
  type RenderPageToBitmapOptions = Omit<RenderPageOptions, 'onTextRun'> & {
2205
2317
  onTextRun?: (run: DocxTextRunInfo) => void;
2206
2318
  };
@@ -2209,7 +2321,11 @@ declare class DocxDocument {
2209
2321
  private _document;
2210
2322
  private _source;
2211
2323
  private _meta;
2324
+ private _review;
2212
2325
  private _bookmarkPages;
2326
+ private _commentAnchorRanges;
2327
+ private _revisionAnchorRanges;
2328
+ private _reviewTextRunSourceIndex;
2213
2329
  private _mode;
2214
2330
  private _threeD;
2215
2331
  private _regionMap;
@@ -2233,7 +2349,11 @@ declare class DocxDocument {
2233
2349
  get pageCount(): number;
2234
2350
  get mode(): 'main' | 'worker';
2235
2351
  get document(): DocxDocumentModel;
2236
- get comments(): DocComment[];
2352
+ get comments(): readonly Readonly<DocComment>[];
2353
+ get revisions(): readonly Readonly<DocRevision>[];
2354
+ commentAnchorRanges(): readonly CommentAnchorRange[];
2355
+ revisionAnchorRanges(): readonly RevisionAnchorRange[];
2356
+ private _reviewSnapshot;
2237
2357
  get footnotes(): DocNote[];
2238
2358
  get endnotes(): DocNote[];
2239
2359
  private _getLayout;
@@ -2246,6 +2366,7 @@ declare class DocxDocument {
2246
2366
  renderPage(target: HTMLCanvasElement | OffscreenCanvas, pageIndex: number, opts?: RenderPageOptions): Promise<void>;
2247
2367
  renderPageToBitmap(pageIndex: number, opts?: RenderPageToBitmapOptions): Promise<ImageBitmap>;
2248
2368
  collectPageRuns(pageIndex: number, opts?: CollectPageRunsOptions): Promise<DocxTextRunInfo[]>;
2369
+ getCommentThreads(pageIndex: number, options?: DocxPageCommentThreadsOptions): Promise<readonly Readonly<ResolvedDocxCommentThread>[]>;
2249
2370
  getElementContextAt(pageIndex: number, point: DocxPagePoint, opts?: DocxElementContextOptions): Promise<DocxElementContext | null>;
2250
2371
  }
2251
2372
  interface DocxMatchLocation {
@@ -2339,6 +2460,12 @@ declare class DocxViewer implements ZoomableViewer {
2339
2460
  private _buildTextLayer;
2340
2461
  private _hyperlinkHandler;
2341
2462
  }
2463
+ interface DocxCommentsOptions extends ViewerCommentsOptions {
2464
+ readonly cards?: boolean;
2465
+ readonly side?: 'auto' | 'left' | 'right';
2466
+ readonly markers?: boolean;
2467
+ readonly connectors?: ViewerCommentConnectorOptions;
2468
+ }
2342
2469
  interface DocxScrollViewerOptions extends Omit<RenderPageOptions, 'onTextRun'>, LoadOptions$2 {
2343
2470
  width?: number;
2344
2471
  gap?: number;
@@ -2348,6 +2475,7 @@ interface DocxScrollViewerOptions extends Omit<RenderPageOptions, 'onTextRun'>,
2348
2475
  paddingRight?: number;
2349
2476
  overscan?: number;
2350
2477
  enableTextSelection?: boolean;
2478
+ comments?: boolean | DocxCommentsOptions;
2351
2479
  enableElementSelection?: boolean;
2352
2480
  onSelectionContextChange?: (context: DocxSelectionContext | null) => void;
2353
2481
  onContextMenu?: (event: ViewerContextMenuEvent<DocxSelectionContext>) => void;
@@ -2380,6 +2508,7 @@ declare class DocxScrollViewer implements ZoomableViewer {
2380
2508
  private readonly _slots;
2381
2509
  private readonly _free;
2382
2510
  private _heights;
2511
+ private _scrollGeometry;
2383
2512
  private _lastRange;
2384
2513
  private _lastTopIndex;
2385
2514
  private _scrollListener;
@@ -2387,7 +2516,21 @@ declare class DocxScrollViewer implements ZoomableViewer {
2387
2516
  private _selectionContextKey;
2388
2517
  private _elementClickListener;
2389
2518
  private _contextMenuListener;
2519
+ private _commentOutsidePointerListener;
2390
2520
  private _elementContext;
2521
+ private _activeCommentId;
2522
+ private _activeCommentPage;
2523
+ private _commentUi;
2524
+ private readonly _commentPageById;
2525
+ private readonly _commentRunsByPage;
2526
+ private readonly _commentIndexedPages;
2527
+ private _commentScanFrontier;
2528
+ private _commentNavigationGeneration;
2529
+ private _commentAnchorRangesForMargin;
2530
+ private _commentAnchorIds;
2531
+ private _commentGeometryScheduled;
2532
+ private _commentGeometryFrame;
2533
+ private readonly _pendingCommentGeometry;
2391
2534
  private _elementHitGeneration;
2392
2535
  private _destroyed;
2393
2536
  private _measureCtx;
@@ -2409,6 +2552,14 @@ declare class DocxScrollViewer implements ZoomableViewer {
2409
2552
  private _pageWidthPx;
2410
2553
  private _pageHeightPx;
2411
2554
  private _fitWidthPx;
2555
+ private _hasCommentMargin;
2556
+ private _hasDisplayableComments;
2557
+ private _commentMarginExtent;
2558
+ private _commentZoom;
2559
+ private _commentsEnabled;
2560
+ private _commentsOptions;
2561
+ private _commentSide;
2562
+ private _syncCommentMarginGeometry;
2412
2563
  private _baseScale;
2413
2564
  relayout(): void;
2414
2565
  private _relayout;
@@ -2449,6 +2600,15 @@ declare class DocxScrollViewer implements ZoomableViewer {
2449
2600
  scrollToPage(index: number, opts?: {
2450
2601
  behavior?: 'auto' | 'smooth';
2451
2602
  }): void;
2603
+ private _scrollToPageTarget;
2604
+ private _resetCommentNavigation;
2605
+ private _advanceCommentScanFrontier;
2606
+ private _indexCommentPages;
2607
+ private _commentRunsForPage;
2608
+ goToComment(commentId: string, opts?: {
2609
+ pageIndex?: number;
2610
+ behavior?: 'auto' | 'smooth';
2611
+ }): Promise<boolean>;
2452
2612
  findText(query: string, opts?: FindMatchesOptions): Promise<FindMatch<DocxMatchLocation>[]>;
2453
2613
  findNext(): Promise<FindMatch<DocxMatchLocation> | null>;
2454
2614
  findPrev(): Promise<FindMatch<DocxMatchLocation> | null>;
@@ -2457,6 +2617,10 @@ declare class DocxScrollViewer implements ZoomableViewer {
2457
2617
  private _collectPageRuns;
2458
2618
  private _redrawHighlights;
2459
2619
  private _refreshFindRuns;
2620
+ private _commitCommentRuns;
2621
+ private _redrawSlotComments;
2622
+ private _redrawSlotCommentConnectors;
2623
+ private _scheduleCommentGeometry;
2460
2624
  private _redrawSlotHighlights;
2461
2625
  private _onResize;
2462
2626
  get topVisiblePage(): number;
@@ -2480,10 +2644,10 @@ interface DocxHighlightMatch {
2480
2644
  type DocxHighlightColors = FindHighlightColors;
2481
2645
  declare function buildDocxHighlightLayer(layer: HTMLDivElement, runs: DocxTextRunInfo[], matches: DocxHighlightMatch[], cssWidth: number, cssHeight: number, measureForFont: (font: string) => (s: string) => number, colors?: DocxHighlightColors): void;
2482
2646
  declare namespace docx_d_exports {
2483
- export { AnchorHostMetrics, AutoResizeOptions, BodyElement, BorderSpec, CellBorders, CellElement, ChartAreaGroupDecorations, ChartBarGroupDecorations, 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, ColSpec, CollectPageRunsOptions, ColumnsSpec, DocComment, DocNote, DocParagraph, DocRevision, DocRun, DocSettings, DocTable, DocTableCell, DocTableRow, DocxDocument, DocxDocumentModel, DocxElementContext, DocxElementContextOptions, DocxHighlightColors, DocxHighlightMatch, DocxMatchLocation, DocxPagePoint, DocxRunBorder, DocxScrollViewer, DocxScrollViewerOptions, DocxSelectionContext, DocxSelectionContextOptions, DocxSelectionRunLocator, DocxSelectionSourceLocator, DocxTextRun, DocxTextRunInfo, DocxTextSelectionContext, DocxViewer, DocxViewerOptions, DrawingMLCustomDashSegment, Duotone$1 as Duotone, EmbeddedFontRef, FieldRun, FillRect, FindHighlightColors, FindMatch, FindMatchesOptions, FramePr, GradientFill, GradientStop, HeaderFooter, HeadersFooters, HyperlinkTarget, ImageFill, 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, RenderPageOptions, RenderPageToBitmapOptions, RubyAnnotation, RunRevision, SecondaryValueAxis, SectionGeom, SectionProps, ShapeFill$1 as ShapeFill, ShapeRun, ShapeStrokeFill, ShapeText$1 as ShapeText, ShapeTextRun$1 as ShapeTextRun, SolidFill, SrcRect, TabStop, TableBorders, TblpPr, TextPath, TextSelectionContextOptions, TileInfo, ViewerContextMenuEvent, ZoomableViewer, autoResize, buildDocxHighlightLayer, buildDocxTextLayer, isOoxmlDecodedImageLimitError, noteText, openExternalHyperlink, readDocxTextSelectionContext };
2647
+ export { AnchorHostMetrics, AutoResizeOptions, BodyElement, BorderSpec, CellBorders, CellElement, ChartAreaGroupDecorations, ChartBarGroupDecorations, 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, ColSpec, CollectPageRunsOptions, ColumnsSpec, CommentAnchorGeometryFallback, CommentAnchorPoint, CommentAnchorRange, 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, GradientFill, GradientStop, HeaderFooter, HeadersFooters, HyperlinkTarget, ImageFill, 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, RenderPageOptions, RenderPageToBitmapOptions, ResolveDocxCommentThreadsOptions, ResolvedDocxCommentAnchor, ResolvedDocxCommentThread, RevisionAnchorGeometryFallback, RevisionAnchorRange, RubyAnnotation, RunRevision, SecondaryValueAxis, SectionGeom, SectionProps, ShapeFill$1 as ShapeFill, ShapeRun, ShapeStrokeFill, ShapeText$1 as ShapeText, ShapeTextRun$1 as ShapeTextRun, SolidFill, SrcRect, TabStop, TableBorders, TblpPr, TextPath, TextSelectionContextOptions, TileInfo, ViewerCommentConnectorOptions, ViewerCommentConnectorRoute, ViewerCommentConnectorStroke, ViewerCommentMessageContext, ViewerCommentThreadContext, ViewerContextMenuEvent, ZoomableViewer, autoResize, buildDocxHighlightLayer, buildDocxTextLayer, isOoxmlDecodedImageLimitError, noteText, openExternalHyperlink, readDocxTextSelectionContext, resolveCommentAnchorRuns, resolveDocxCommentThreads, resolveRevisionAnchorRuns };
2484
2648
  }
2485
2649
  //#endregion
2486
- //#region dist/.types-work/pptx-CNgoOXpt.d.ts
2650
+ //#region dist/.types-work/types-PWBS8kGC.d.ts
2487
2651
  interface BlipBullet {
2488
2652
  type: 'blip';
2489
2653
  imagePath: string;
@@ -2534,14 +2698,46 @@ interface DimOptions {
2534
2698
  color: string;
2535
2699
  opacity: number;
2536
2700
  }
2701
+ type PptxCommentAnchor = Readonly<{
2702
+ type: 'slide';
2703
+ }> | Readonly<{
2704
+ type: 'drawingElement';
2705
+ elementId?: string;
2706
+ creationId?: string;
2707
+ }> | Readonly<{
2708
+ type: 'textRange';
2709
+ elementId?: string;
2710
+ start?: number;
2711
+ length?: number;
2712
+ }> | Readonly<{
2713
+ type: 'unknown';
2714
+ }>;
2537
2715
  interface PptxComment {
2716
+ authorId?: number;
2717
+ modernAuthorId?: string;
2718
+ id?: string;
2719
+ index?: number;
2538
2720
  author?: string;
2539
2721
  date?: string;
2722
+ x?: number;
2723
+ y?: number;
2724
+ anchors?: readonly Readonly<PptxCommentAnchor>[];
2725
+ status?: 'active' | 'resolved' | 'closed';
2726
+ text: string;
2727
+ replies?: readonly Readonly<PptxCommentReply>[];
2728
+ }
2729
+ interface PptxCommentReply {
2730
+ id?: string;
2731
+ authorId?: string;
2732
+ author?: string;
2733
+ date?: string;
2734
+ status?: 'active' | 'resolved' | 'closed';
2540
2735
  text: string;
2541
2736
  }
2542
2737
  type SlideElement = ShapeElement | PictureElement | TableElement | ChartElement | MediaElement;
2543
2738
  interface MediaElement {
2544
2739
  type: 'media';
2740
+ id?: string;
2545
2741
  x: number;
2546
2742
  y: number;
2547
2743
  width: number;
@@ -2634,6 +2830,7 @@ interface Sp3d {
2634
2830
  }
2635
2831
  interface TableElement {
2636
2832
  type: 'table';
2833
+ id?: string;
2637
2834
  x: number;
2638
2835
  y: number;
2639
2836
  width: number;
@@ -2666,6 +2863,7 @@ interface TableCell {
2666
2863
  }
2667
2864
  interface ChartElement {
2668
2865
  type: 'chart';
2866
+ id?: string;
2669
2867
  x: number;
2670
2868
  y: number;
2671
2869
  width: number;
@@ -2677,6 +2875,7 @@ interface ChartElement {
2677
2875
  }
2678
2876
  interface PictureElement {
2679
2877
  type: 'picture';
2878
+ id?: string;
2680
2879
  x: number;
2681
2880
  y: number;
2682
2881
  width: number;
@@ -2709,6 +2908,8 @@ interface PictureElement {
2709
2908
  scene3d?: Scene3d;
2710
2909
  sp3d?: Sp3d;
2711
2910
  }
2911
+ //#endregion
2912
+ //#region dist/.types-work/pptx-CZHOWYdz.d.ts
2712
2913
  interface PptxTextRunInfo {
2713
2914
  elementIndex?: number;
2714
2915
  origin?: SlideElementOrigin;
@@ -2765,6 +2966,23 @@ interface PptxTextSelectionContext {
2765
2966
  readonly maxTextCharacters: number;
2766
2967
  readonly maxRunLocators: number;
2767
2968
  }
2969
+ interface PptxCommentSelectionContext {
2970
+ readonly format: 'pptx';
2971
+ readonly kind: 'comment';
2972
+ readonly slideIndex: number;
2973
+ readonly commentIndex: number;
2974
+ readonly occurrenceId: string;
2975
+ readonly commentId?: string;
2976
+ readonly point?: Readonly<{
2977
+ x: number;
2978
+ y: number;
2979
+ }>;
2980
+ readonly thread: ViewerCommentThreadContext;
2981
+ readonly truncated: boolean;
2982
+ readonly truncationReasons: readonly ('text')[];
2983
+ readonly textCharacters: number;
2984
+ readonly maxTextCharacters: number;
2985
+ }
2768
2986
  declare function readPptxTextSelectionContext(root: HTMLElement, selection: Selection | null, options?: TextSelectionContextOptions): PptxTextSelectionContext | null;
2769
2987
  type PptxSelectionContextOptions = TextSelectionContextOptions;
2770
2988
  interface PptxSlidePoint {
@@ -2806,7 +3024,14 @@ interface PptxElementContext {
2806
3024
  readonly textCharacters: number;
2807
3025
  readonly maxTextCharacters: number;
2808
3026
  }
2809
- type PptxSelectionContext = PptxTextSelectionContext | PptxElementContext;
3027
+ interface PptxElementBounds {
3028
+ readonly elementId: string;
3029
+ readonly elementIndex: number;
3030
+ readonly origin: SlideElementOrigin | 'unknown';
3031
+ readonly elementType: SlideElement['type'];
3032
+ readonly bounds: PptxElementContext['bounds'];
3033
+ }
3034
+ type PptxSelectionContext = PptxTextSelectionContext | PptxCommentSelectionContext | PptxElementContext;
2810
3035
  type LoadOptions$1 = LoadOptions$3 & {
2811
3036
  mode?: 'main' | 'worker';
2812
3037
  };
@@ -2854,6 +3079,7 @@ declare class PptxPresentation {
2854
3079
  get slideHeight(): number;
2855
3080
  get mode(): 'main' | 'worker';
2856
3081
  getNotes(slideIndex: number): string | null;
3082
+ getComments(slideIndex: number): readonly Readonly<PptxComment>[];
2857
3083
  isHidden(slideIndex: number): boolean;
2858
3084
  private _partNames;
2859
3085
  private _partIndex;
@@ -2863,6 +3089,7 @@ declare class PptxPresentation {
2863
3089
  renderSlideToBitmap(slideIndex: number, opts?: RenderSlideToBitmapOptions): Promise<ImageBitmap>;
2864
3090
  collectSlideRuns(slideIndex: number, width?: number): Promise<PptxTextRunInfo[]>;
2865
3091
  getElementContextAt(slideIndex: number, point: PptxSlidePoint, options?: PptxElementContextOptions): Promise<PptxElementContext | null>;
3092
+ getElementBoundsByIds(slideIndex: number, elementIds: readonly string[]): Promise<readonly PptxElementBounds[]>;
2866
3093
  getMedia(mediaPath: string): Promise<Blob>;
2867
3094
  private _findMimeTypeForPath;
2868
3095
  getImage(imagePath: string, mimeType: string): Promise<Blob>;
@@ -2972,6 +3199,12 @@ declare class PptxViewer implements ZoomableViewer {
2972
3199
  private _resolveContextAt;
2973
3200
  destroy(): void;
2974
3201
  }
3202
+ interface PptxCommentsOptions extends ViewerCommentsOptions {
3203
+ readonly cards?: boolean;
3204
+ readonly side?: 'auto' | 'left' | 'right';
3205
+ readonly markers?: boolean;
3206
+ readonly connectors?: ViewerCommentConnectorOptions;
3207
+ }
2975
3208
  interface PptxScrollViewerOptions extends Pick<RenderSlideOptions, 'width' | 'dpr'>, LoadOptions$1 {
2976
3209
  width?: number;
2977
3210
  gap?: number;
@@ -2981,6 +3214,7 @@ interface PptxScrollViewerOptions extends Pick<RenderSlideOptions, 'width' | 'dp
2981
3214
  paddingRight?: number;
2982
3215
  overscan?: number;
2983
3216
  enableTextSelection?: boolean;
3217
+ comments?: boolean | PptxCommentsOptions;
2984
3218
  enableElementSelection?: boolean;
2985
3219
  elementHitTolerance?: number;
2986
3220
  onSelectionContextChange?: (context: PptxSelectionContext | null) => void;
@@ -3015,7 +3249,7 @@ declare class PptxScrollViewer implements ZoomableViewer {
3015
3249
  private _pendingScale;
3016
3250
  private readonly _slots;
3017
3251
  private readonly _free;
3018
- private _heights;
3252
+ private _uniformSlideHeight;
3019
3253
  private _lastRange;
3020
3254
  private _lastTopIndex;
3021
3255
  private _scrollListener;
@@ -3023,7 +3257,16 @@ declare class PptxScrollViewer implements ZoomableViewer {
3023
3257
  private _selectionContextKey;
3024
3258
  private _elementClickListener;
3025
3259
  private _contextMenuListener;
3260
+ private _commentOutsidePointerListener;
3026
3261
  private _elementContext;
3262
+ private _activeCommentId;
3263
+ private _activeCommentSlide;
3264
+ private _commentNavigationGeneration;
3265
+ private _commentUi;
3266
+ private _commentGeometryScheduled;
3267
+ private _commentGeometryFrame;
3268
+ private readonly _pendingCommentGeometry;
3269
+ private _hasComments;
3027
3270
  private _elementHitGeneration;
3028
3271
  private readonly _elementHitTolerance;
3029
3272
  private _destroyed;
@@ -3046,6 +3289,14 @@ declare class PptxScrollViewer implements ZoomableViewer {
3046
3289
  private _slideWidthPx;
3047
3290
  private _slideHeightPx;
3048
3291
  private _fitWidthPx;
3292
+ private _commentMarginExtent;
3293
+ private _hasCommentMargin;
3294
+ private _commentZoom;
3295
+ private _commentsEnabled;
3296
+ private _commentsOptions;
3297
+ private _commentSide;
3298
+ private _syncCommentMarginGeometry;
3299
+ private _presentationHasComments;
3049
3300
  private _baseScale;
3050
3301
  relayout(): void;
3051
3302
  private _relayout;
@@ -3055,7 +3306,9 @@ declare class PptxScrollViewer implements ZoomableViewer {
3055
3306
  private _mediaOverscan;
3056
3307
  private _pad;
3057
3308
  private _padH;
3309
+ private _slideOffset;
3058
3310
  private _slideIndexAtOffset;
3311
+ private _rangeAt;
3059
3312
  private _range;
3060
3313
  private _mediaRange;
3061
3314
  private _rangeContains;
@@ -3089,6 +3342,11 @@ declare class PptxScrollViewer implements ZoomableViewer {
3089
3342
  scrollToSlide(index: number, opts?: {
3090
3343
  behavior?: 'auto' | 'smooth';
3091
3344
  }): void;
3345
+ private _scrollToSlideCommentTarget;
3346
+ private _resolveSlideCommentElementBounds;
3347
+ goToComment(slideIndex: number, commentIndex: number, opts?: {
3348
+ behavior?: 'auto' | 'smooth';
3349
+ }): Promise<boolean>;
3092
3350
  findText(query: string, opts?: FindMatchesOptions): Promise<FindMatch<PptxMatchLocation>[]>;
3093
3351
  findNext(): Promise<FindMatch<PptxMatchLocation> | null>;
3094
3352
  findPrev(): Promise<FindMatch<PptxMatchLocation> | null>;
@@ -3097,6 +3355,11 @@ declare class PptxScrollViewer implements ZoomableViewer {
3097
3355
  private _collectSlideRuns;
3098
3356
  private _redrawHighlights;
3099
3357
  private _refreshFindRuns;
3358
+ private _redrawSlotComments;
3359
+ private _redrawSlotCommentConnectors;
3360
+ private _commitSlotComments;
3361
+ private _ensureSlotCommentAnchors;
3362
+ private _scheduleCommentGeometry;
3100
3363
  private _redrawSlotHighlights;
3101
3364
  private _measureForFind;
3102
3365
  private _hyperlinkHandler;
@@ -3124,10 +3387,10 @@ interface PptxHighlightMatch {
3124
3387
  type PptxHighlightColors = FindHighlightColors;
3125
3388
  declare function buildPptxHighlightLayer(layer: HTMLDivElement, runs: PptxTextRunInfo[], matches: PptxHighlightMatch[], cssWidth: number, cssHeight: number, measureForFont: (font: string) => (s: string) => number, colors?: PptxHighlightColors): void;
3126
3389
  declare namespace pptx_d_exports {
3127
- export { ArrowEnd, AutoResizeOptions, Bevel3d, BlipBullet, Bullet, Camera3d, ChartAreaGroupDecorations, ChartBarGroupDecorations, 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, DimOptions, DrawingMLCustomDashSegment, Duotone$1 as Duotone, EquationRun, Fill, FillRect, FindHighlightColors, FindMatch, FindMatchesOptions, Glow, GradientFill, GradientStop$1 as GradientStop, HiddenSlideMode, HyperlinkTarget, ImageFill, 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, 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, TileInfo, ViewerContextMenuEvent, ZoomableViewer, autoResize, buildPptxHighlightLayer, buildPptxTextLayer, isOoxmlDecodedImageLimitError, openExternalHyperlink, readPptxTextSelectionContext, renderSlide };
3390
+ export { ArrowEnd, AutoResizeOptions, Bevel3d, BlipBullet, Bullet, Camera3d, ChartAreaGroupDecorations, ChartBarGroupDecorations, 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, DimOptions, DrawingMLCustomDashSegment, Duotone$1 as Duotone, EquationRun, Fill, FillRect, FindHighlightColors, FindMatch, FindMatchesOptions, Glow, GradientFill, GradientStop$1 as GradientStop, HiddenSlideMode, HyperlinkTarget, ImageFill, 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, TileInfo, ViewerCommentConnectorOptions, ViewerCommentConnectorRoute, ViewerCommentConnectorStroke, ViewerCommentMessageContext, ViewerCommentThreadContext, ViewerContextMenuEvent, ZoomableViewer, autoResize, buildPptxHighlightLayer, buildPptxTextLayer, isOoxmlDecodedImageLimitError, openExternalHyperlink, readPptxTextSelectionContext, renderSlide };
3128
3391
  }
3129
3392
  //#endregion
3130
- //#region dist/.types-work/xlsx-DLKF0-5_.d.ts
3393
+ //#region dist/.types-work/types-Dktpy0kq.d.ts
3131
3394
  type ShapeFill = Exclude<Fill, {
3132
3395
  fillType: 'image';
3133
3396
  } | {
@@ -3389,9 +3652,25 @@ interface DefinedName {
3389
3652
  formula: string;
3390
3653
  }
3391
3654
  interface XlsxComment {
3655
+ kind?: 'note' | 'thread';
3392
3656
  cellRef: string;
3657
+ id?: string;
3658
+ personId?: string;
3393
3659
  author?: string;
3660
+ date?: string;
3661
+ rootText?: string;
3662
+ text: string;
3663
+ resolved?: boolean;
3664
+ replies?: XlsxCommentReply[];
3665
+ }
3666
+ interface XlsxCommentReply {
3667
+ id: string;
3668
+ parentId: string;
3669
+ personId: string;
3670
+ author?: string;
3671
+ date?: string;
3394
3672
  text: string;
3673
+ resolved?: boolean;
3395
3674
  }
3396
3675
  interface DataValidation {
3397
3676
  sqref: string;
@@ -3863,6 +4142,8 @@ interface XlsxRenderViewportOptions {
3863
4142
  strong: boolean;
3864
4143
  } | null;
3865
4144
  }
4145
+ //#endregion
4146
+ //#region dist/.types-work/xlsx-_-beyOtw.d.ts
3866
4147
  type ResolvedList = {
3867
4148
  kind: 'values';
3868
4149
  values: string[];
@@ -3913,6 +4194,7 @@ declare class XlsxWorkbook {
3913
4194
  sheetVisibility(sheetIndex: number): SheetVisibility;
3914
4195
  isHidden(sheetIndex: number): boolean;
3915
4196
  getWorksheet(sheetIndex: number): Promise<Worksheet>;
4197
+ getComments(sheetIndex: number): Promise<readonly Readonly<XlsxComment>[]>;
3916
4198
  getResourceMetrics(): Promise<OoxmlResourceMetrics>;
3917
4199
  private loadWorksheet;
3918
4200
  private loadWorksheetStream;
@@ -3969,6 +4251,7 @@ interface XlsxSelectionContextCell {
3969
4251
  readonly valueType: 'empty' | 'text' | 'number' | 'bool' | 'error' | 'shared';
3970
4252
  readonly value: string | number | boolean | null;
3971
4253
  readonly formula?: string;
4254
+ readonly comment?: ViewerCommentThreadContext;
3972
4255
  }
3973
4256
  interface XlsxRangeSelectionContext {
3974
4257
  readonly format: 'xlsx';
@@ -4022,6 +4305,7 @@ interface XlsxMatchLocation {
4022
4305
  row: number;
4023
4306
  col: number;
4024
4307
  }
4308
+ interface XlsxCommentsOptions extends ViewerCommentsOptions {}
4025
4309
  type HiddenSheetMode = 'show' | 'skip' | 'dim';
4026
4310
  interface XlsxSheetViewerOptions extends LoadOptions {
4027
4311
  cellScale?: number;
@@ -4041,6 +4325,7 @@ interface XlsxSheetViewerOptions extends LoadOptions {
4041
4325
  enableHyperlinks?: boolean;
4042
4326
  selectionColor?: string;
4043
4327
  findHighlightColors?: FindHighlightColors;
4328
+ comments?: boolean | XlsxCommentsOptions;
4044
4329
  hiddenSheetMode?: HiddenSheetMode;
4045
4330
  onViewportChange?: (offset: XlsxViewportOffset) => void;
4046
4331
  }
@@ -4051,6 +4336,12 @@ interface XlsxViewportOffset {
4051
4336
  readonly x: number;
4052
4337
  readonly y: number;
4053
4338
  }
4339
+ interface XlsxCellViewportRect {
4340
+ readonly x: number;
4341
+ readonly y: number;
4342
+ readonly width: number;
4343
+ readonly height: number;
4344
+ }
4054
4345
  interface XlsxScrollToCellOptions {
4055
4346
  readonly align?: 'nearest' | 'start' | 'center' | 'end';
4056
4347
  }
@@ -4078,6 +4369,7 @@ type XlsxViewerMount = {
4078
4369
  readonly mode: CanvasViewerRenderMode;
4079
4370
  };
4080
4371
  declare class XlsxViewerEngine implements ZoomableViewer {
4372
+ private readonly container;
4081
4373
  private readonly hostDocument;
4082
4374
  private readonly hostWindow;
4083
4375
  private readonly acquisition;
@@ -4118,6 +4410,9 @@ declare class XlsxViewerEngine implements ZoomableViewer {
4118
4410
  private fontBinding;
4119
4411
  private _hiddenSheetMode;
4120
4412
  private currentWorksheet;
4413
+ private currentSourceComments;
4414
+ private commentNavigationGeneration;
4415
+ private sourceCommentMap;
4121
4416
  private sheetViews;
4122
4417
  private opts;
4123
4418
  private readonly _mountKind;
@@ -4127,6 +4422,10 @@ declare class XlsxViewerEngine implements ZoomableViewer {
4127
4422
  private preparedWorkbook;
4128
4423
  private _destroyed;
4129
4424
  private resizeObserver;
4425
+ private chromeColors;
4426
+ private chromeStyleObserver;
4427
+ private chromeSchemeMedia;
4428
+ private chromeSchemeListener;
4130
4429
  private _lastViewportNotification;
4131
4430
  private get anchorCell();
4132
4431
  private get activeCell();
@@ -4162,12 +4461,19 @@ declare class XlsxViewerEngine implements ZoomableViewer {
4162
4461
  private hyperlinkMap;
4163
4462
  private commentPopupKey;
4164
4463
  private commentPopupTimer;
4464
+ private commentPopupCell;
4465
+ private commentPopupPositionScheduled;
4466
+ private commentPopupResizeObserver;
4467
+ private commentUi;
4468
+ private commentPopupRenderGeneration;
4165
4469
  private validationPanel;
4166
4470
  private validationPanelKey;
4167
4471
  private validationRequestGeneration;
4168
4472
  private validationArrowRect;
4169
4473
  private validationOutsideHandler;
4170
4474
  constructor(container: HTMLElement, opts: XlsxViewerOptions | XlsxSheetViewerOptions | undefined, mount: XlsxViewerMount);
4475
+ private refreshChromeTheme;
4476
+ private installChromeThemeRefresh;
4171
4477
  private _collectSheetCells;
4172
4478
  load(source: string | ArrayBuffer): Promise<void>;
4173
4479
  private activateWorkbook;
@@ -4224,7 +4530,10 @@ declare class XlsxViewerEngine implements ZoomableViewer {
4224
4530
  getCellAt(clientX: number, clientY: number): CellAddress | null;
4225
4531
  private elementContextViewport;
4226
4532
  private elementContextAt;
4227
- private getCellRect;
4533
+ private _cellRect;
4534
+ getCellViewportRect(cell: CellAddress | string): XlsxCellViewportRect | null;
4535
+ getComments(): readonly Readonly<XlsxComment>[];
4536
+ goToComment(sheetIndex: number, cellRef: string, options?: XlsxScrollToCellOptions): Promise<boolean>;
4228
4537
  get selectionState(): XlsxSelectionState | null;
4229
4538
  setSelection(input: XlsxSelectionInput): void;
4230
4539
  getSelectionContext(options?: XlsxSelectionContextOptions): XlsxSelectionContext | null;
@@ -4261,12 +4570,17 @@ declare class XlsxViewerEngine implements ZoomableViewer {
4261
4570
  private installValidationOutsideHandler;
4262
4571
  private hideValidationPanel;
4263
4572
  private buildCommentMap;
4573
+ private createCommentMap;
4574
+ private createVisibleSheetView;
4264
4575
  private buildHyperlinkMap;
4265
4576
  private hyperlinkAtCell;
4266
4577
  private dispatchHyperlink;
4267
4578
  private navigateInternalHyperlink;
4268
4579
  private scheduleCommentPopup;
4580
+ private loadCommentUi;
4269
4581
  private renderCommentPopup;
4582
+ private scheduleCommentPopupPosition;
4583
+ private positionCommentPopup;
4270
4584
  private hideCommentPopup;
4271
4585
  private applyPointerSelection;
4272
4586
  private viewportInputBounds;
@@ -4341,6 +4655,9 @@ declare class XlsxSheetViewer implements ZoomableViewer {
4341
4655
  fitWidth(): void;
4342
4656
  fitPage(): void;
4343
4657
  getCellAt(clientX: number, clientY: number): CellAddress | null;
4658
+ getCellViewportRect(cell: CellAddress | string): XlsxCellViewportRect | null;
4659
+ getComments(): readonly Readonly<XlsxComment>[];
4660
+ goToComment(sheetIndex: number, cellRef: string, options?: XlsxScrollToCellOptions): Promise<boolean>;
4344
4661
  get selectionState(): XlsxSelectionState | null;
4345
4662
  setSelection(selection: XlsxSelectionInput): void;
4346
4663
  getSelectionContext(options?: XlsxSelectionContextOptions): XlsxSelectionContext | null;
@@ -4361,7 +4678,7 @@ declare class XlsxSheetViewer implements ZoomableViewer {
4361
4678
  }
4362
4679
  declare function resolveSharedStrings(ws: Worksheet, sharedStrings: SharedString[]): Worksheet;
4363
4680
  declare namespace xlsx_d_exports {
4364
- export { ArrowEnd, AutoResizeOptions, Border, BorderEdge, Cell, CellAddress, CellFill, CellFont, CellValue, CellXf, CfIcon, CfRule, CfStop, CfValue, ChartAnchor, ChartAreaGroupDecorations, ChartBarGroupDecorations, 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, ConditionalFormat, DataValidation, DefinedName, DrawingMLCustomDashSegment, Duotone, Dxf, FillRect, FindHighlightColors, FindMatch, FindMatchesOptions, GradientFill, GradientFillSpec, GradientStop$1 as GradientStop, HiddenSheetMode, Hyperlink, HyperlinkTarget, ImageAnchor, ImageFill, 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, RenderViewportToBitmapOptions, ResolvedList, Row, Run, RunFont, SecondaryValueAxis, ShapeAnchor, ShapeFill, ShapeGeom, ShapeInfo, ShapeParagraph, ShapeText, ShapeTextRun, SharedString, SheetMeta, SheetVisibility, SlicerAnchor, SlicerElementStyle, SlicerItem, SlicerStyle, SolidFill, SpaceLine, Sparkline, SparklineGroup, SrcRect, Styles, TableColumnInfo, TableInfo, TileInfo, ViewerContextMenuEvent, ViewportRange, Workbook, Worksheet, WorksheetCellRange, XlsxComment, XlsxCopyResult, XlsxElementAnchorMarker, XlsxElementContext, XlsxMatchLocation, XlsxRangeSelectionContext, XlsxRenderViewportOptions, XlsxScrollToCellOptions, XlsxSelectionArea, XlsxSelectionContext, XlsxSelectionContextCell, XlsxSelectionContextOptions, XlsxSelectionInput, XlsxSelectionState, XlsxSheetViewer, XlsxSheetViewerOptions, XlsxTextRunInfo, XlsxViewer, XlsxViewerOptions, XlsxViewportOffset, XlsxWorkbook, ZoomableViewer, autoResize, isOoxmlDecodedImageLimitError, openExternalHyperlink, resolveSharedStrings };
4681
+ export { ArrowEnd, AutoResizeOptions, Border, BorderEdge, Cell, CellAddress, CellFill, CellFont, CellValue, CellXf, CfIcon, CfRule, CfStop, CfValue, ChartAnchor, ChartAreaGroupDecorations, ChartBarGroupDecorations, 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, ConditionalFormat, DataValidation, DefinedName, DrawingMLCustomDashSegment, Duotone, Dxf, FillRect, FindHighlightColors, FindMatch, FindMatchesOptions, GradientFill, GradientFillSpec, GradientStop$1 as GradientStop, HiddenSheetMode, Hyperlink, HyperlinkTarget, ImageAnchor, ImageFill, 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, RenderViewportToBitmapOptions, ResolvedList, Row, Run, RunFont, SecondaryValueAxis, ShapeAnchor, ShapeFill, ShapeGeom, ShapeInfo, ShapeParagraph, ShapeText, ShapeTextRun, SharedString, SheetMeta, SheetVisibility, SlicerAnchor, SlicerElementStyle, SlicerItem, SlicerStyle, SolidFill, SpaceLine, Sparkline, SparklineGroup, SrcRect, Styles, TableColumnInfo, TableInfo, 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, XlsxSheetViewer, XlsxSheetViewerOptions, XlsxTextRunInfo, XlsxViewer, XlsxViewerOptions, XlsxViewportOffset, XlsxWorkbook, ZoomableViewer, autoResize, isOoxmlDecodedImageLimitError, openExternalHyperlink, resolveSharedStrings };
4365
4682
  }
4366
4683
  //#endregion
4367
4684
  export { docx_d_exports as docx, pptx_d_exports as pptx, xlsx_d_exports as xlsx };