@docx-editor.dev/core 2.29.0 → 2.31.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 (107) hide show
  1. package/dist/automation.cjs +1 -1
  2. package/dist/automation.d.ts +22 -26
  3. package/dist/automation.js +1 -1
  4. package/dist/binding.cjs +1 -1
  5. package/dist/binding.d.ts +47 -40
  6. package/dist/binding.js +1 -1
  7. package/dist/bookmark-names-DDuAra_V.d.ts +37 -0
  8. package/dist/{chrome-print-CAs51cpq.d.ts → chrome-print-BWvaVEhD.d.ts} +577 -243
  9. package/dist/chunk-243W4WW2.cjs +2 -0
  10. package/dist/{chunk-G4HOFIKJ.js → chunk-2E2RPEKX.js} +1 -1
  11. package/dist/chunk-4S24UOPG.js +30 -0
  12. package/dist/chunk-5JPIEN54.cjs +3 -0
  13. package/dist/{chunk-7WQ7AAHW.cjs → chunk-5SO5QDMV.cjs} +1 -1
  14. package/dist/{chunk-UHHYFIDT.cjs → chunk-6IDOVU6L.cjs} +1 -1
  15. package/dist/chunk-DBOOTED4.cjs +30 -0
  16. package/dist/chunk-EOTAXOJY.cjs +5 -0
  17. package/dist/chunk-FDAKJ2SJ.cjs +30 -0
  18. package/dist/chunk-FNNOJNGY.js +3 -0
  19. package/dist/chunk-FT33HRZP.js +5 -0
  20. package/dist/{chunk-W35WTWAO.cjs → chunk-HC6YNKUI.cjs} +1 -1
  21. package/dist/chunk-HZ66UCIS.js +2 -0
  22. package/dist/{chunk-MM5QBMTE.cjs → chunk-IBRBNT37.cjs} +1 -1
  23. package/dist/chunk-IVIN7X43.js +30 -0
  24. package/dist/chunk-LZY6B6IV.js +4 -0
  25. package/dist/chunk-MOYYRVFV.cjs +2 -0
  26. package/dist/{chunk-OMCG63ZF.js → chunk-N6B3BXCL.js} +1 -1
  27. package/dist/chunk-Q5K2GGNG.js +2 -0
  28. package/dist/chunk-R2XINWVE.js +7 -0
  29. package/dist/chunk-SUEXVBPR.js +1 -0
  30. package/dist/chunk-T2QQHG5C.js +18 -0
  31. package/dist/{chunk-LSZ6KPKK.js → chunk-VWIJKH4A.js} +1 -1
  32. package/dist/chunk-WO4V6PNS.cjs +18 -0
  33. package/dist/chunk-XMJKFURD.cjs +4 -0
  34. package/dist/{chunk-BY2ACZZ6.cjs → chunk-XSTGE3NI.cjs} +1 -1
  35. package/dist/chunk-YQWMI6J5.cjs +7 -0
  36. package/dist/{chunk-RCLZXP3B.js → chunk-ZCJS7D7S.js} +1 -1
  37. package/dist/collaboration/replication.cjs +1 -1
  38. package/dist/collaboration/replication.d.ts +4 -5
  39. package/dist/collaboration/replication.js +1 -1
  40. package/dist/collaboration.d.ts +3 -4
  41. package/dist/contracts/document.d.ts +3 -3
  42. package/dist/contracts/editor.d.ts +8 -9
  43. package/dist/contracts/interaction.d.ts +2 -2
  44. package/dist/contracts/modules.d.ts +12 -13
  45. package/dist/contracts/types.d.ts +2 -2
  46. package/dist/{custom-node-writes-Bn6uciLb.d.ts → custom-node-writes-TeUvMP13.d.ts} +2 -2
  47. package/dist/{diagnostic-context-B8M79cfK.d.ts → diagnostic-context-DJ0P1uZE.d.ts} +3 -2
  48. package/dist/{diagnostic-hints-BeVjfNOv.d.ts → diagnostic-hints-C9JlLz1L.d.ts} +12 -5
  49. package/dist/{document-protection-CUb55pl_.d.ts → document-protection-C8x3P2J6.d.ts} +1 -1
  50. package/dist/{editor-CZQZmTIU.d.ts → editor-B2ShlO23.d.ts} +368 -52
  51. package/dist/{editor-scope-7o9xweiJ.d.ts → editor-scope-C7ke1KJG.d.ts} +57 -4
  52. package/dist/editor.cjs +1 -1
  53. package/dist/editor.css +5 -3
  54. package/dist/editor.d.ts +606 -34
  55. package/dist/editor.js +1 -1
  56. package/dist/export.cjs +2 -2
  57. package/dist/export.d.ts +17 -15
  58. package/dist/export.js +2 -2
  59. package/dist/{font-resolver-lSBLirLR.d.ts → font-resolver-CWh40DYp.d.ts} +1 -1
  60. package/dist/font-shaping-policy-BvpkrfxM.d.ts +7 -0
  61. package/dist/{headless-document-view-pp3q7wIh.d.ts → headless-document-view-qOpaCF82.d.ts} +2 -2
  62. package/dist/index.cjs +1 -1
  63. package/dist/index.d.ts +24 -24
  64. package/dist/index.js +1 -1
  65. package/dist/{layout-shaping-BD-dF_rn.d.ts → layout-shaping-CWS3j0Xr.d.ts} +3 -2
  66. package/dist/layout.cjs +1 -1
  67. package/dist/layout.d.ts +112 -44
  68. package/dist/layout.js +1 -1
  69. package/dist/{note-properties-qQUjO1GQ.d.ts → note-properties-QsKh24sM.d.ts} +1 -1
  70. package/dist/{omml-equation-BUbU0utM.d.ts → omml-equation-BsLAa2lX.d.ts} +38 -8
  71. package/dist/output.cjs +1 -1
  72. package/dist/output.d.ts +20 -10
  73. package/dist/output.js +1 -1
  74. package/dist/{protocol-DYzzz2ej.d.ts → protocol-COZJUKUY.d.ts} +94 -2
  75. package/dist/{review-paragraph-order-CN_0l2Cb.d.ts → review-paragraph-order-C_QbCKcH.d.ts} +1 -1
  76. package/dist/{semantic-cell-selection-eYag3P47.d.ts → semantic-cell-selection-Cub9FDa8.d.ts} +2 -2
  77. package/dist/{semantic-interaction-kR_QB845.d.ts → semantic-interaction-dApRIYpt.d.ts} +1 -1
  78. package/dist/{semantic-paint-ZayFF3tD.d.ts → semantic-paint-DLzA8sjP.d.ts} +3 -3
  79. package/dist/{semantic-record-queries-Bsgth6lv.d.ts → semantic-record-queries-3yp9o11g.d.ts} +1 -1
  80. package/dist/{semantic-records-DQmumPgL.d.ts → semantic-records-B-akgRch.d.ts} +207 -139
  81. package/dist/store.cjs +1 -1
  82. package/dist/store.d.ts +49 -136
  83. package/dist/store.js +1 -1
  84. package/dist/{tree-package-store-CovjNARF.d.ts → tree-package-store-B8l8DX3Z.d.ts} +612 -428
  85. package/dist/{tree-session-contract-CZVAGl51.d.ts → tree-session-contract-DeLRqohz.d.ts} +28 -13
  86. package/dist/{types-barrel-DuC5QBNC.d.ts → types-barrel-CkF2JbU4.d.ts} +1146 -745
  87. package/package.json +2 -2
  88. package/dist/chunk-236O4YQW.js +0 -2
  89. package/dist/chunk-6JPL6ZAS.cjs +0 -5
  90. package/dist/chunk-6ZQP4HQ7.js +0 -3
  91. package/dist/chunk-BCXH4BXB.js +0 -5
  92. package/dist/chunk-CAJEXXVG.cjs +0 -4
  93. package/dist/chunk-CPWLFPWC.js +0 -30
  94. package/dist/chunk-D7ZMDMPX.cjs +0 -3
  95. package/dist/chunk-DOHF6FA7.cjs +0 -30
  96. package/dist/chunk-DVX32P2P.js +0 -27
  97. package/dist/chunk-E4LOMDNL.js +0 -1
  98. package/dist/chunk-EKLM7NWB.cjs +0 -7
  99. package/dist/chunk-G3K63G7P.cjs +0 -27
  100. package/dist/chunk-JLVBDYVQ.cjs +0 -2
  101. package/dist/chunk-LQX36Z5P.js +0 -7
  102. package/dist/chunk-OSFOJTHU.cjs +0 -18
  103. package/dist/chunk-T6K2QYNZ.cjs +0 -2
  104. package/dist/chunk-TRGAVV2Y.js +0 -4
  105. package/dist/chunk-U4JZVSOE.js +0 -2
  106. package/dist/chunk-YQ5G6LC7.js +0 -18
  107. package/dist/image-resources-tXLQShoC.d.ts +0 -211
package/dist/layout.js CHANGED
@@ -1 +1 @@
1
- export{N as DEFAULT_CANVAS_FONT_STACK,b as HARFBUZZ_SHAPING_LIBRARY,e as HarfBuzzShapingError,i as LayoutShapingConfigurationError,I as ResolvedCache,x as WORD_SEGMENTER_LOCALE,W as anchorLineY,A as boundedFallbackWordSegments,G as captureOperationSnapshot,da as cellSelectionBetween,ha as cellSelectionRects,ia as cellSelectionText,V as contentControlBoundaries,B as createBoundedFallbackWordBoundary,C as createDefaultWordBoundary,g as createHarfBuzzTextShaper,z as createIntlWordBoundary,ca as createLayoutScheduler,aa as createLayoutShapedMeasurer,p as createLayoutShaping,$ as createShapedMeasurer,r as disposeLayoutShaping,J as exportSourceRangeOf,K as forEachSemanticSpan,H as guardOperationSnapshot,f as harfBuzzFontValidator,c as initializeHarfBuzz,P as isCanvasMeasurementAvailable,v as isCumulativeGeometryTrustedFromLineOrigin,u as isGeometryTrustedCaretOffset,d as isHarfBuzzInitialized,y as isIntlWordSegmenterAvailable,t as isWholeGraphemeHorizontalBoundary,o as layoutFontConfigurationFingerprint,S as pageRefPageNumbersFromLayout,ba as pagesToMaterialize,fa as paragraphsInCells,T as planRefFieldResultRefresh,m as prepareLayoutFontConfiguration,R as resolveDefaultSurfaceMeasurer,D as resolveDefaultWordBoundary,X as reviewAnchorIndex,Y as reviewItemGeometry,a as roundFontUnitToFixedPoint,E as segmentWords,w as semanticHorizontalBoundaries,s as shapedHorizontalBoundaries,ga as spansInCells,ma as tabLeaderPattern,ja as tableContextAt,Q as tryCreateCanvasMeasurer,L as vectorShapeInkClip,F as wordSegmentsToGraphemeRecords}from'./chunk-6ZQP4HQ7.js';export{a as setHarfBuzzWasmUrl}from'./chunk-RIYSCEFQ.js';export{L as AUTO_PARAGRAPH_SPACING_PT,Od as AUTO_PREFERRED_WIDTH,Pd as CELL_PAD,F as COMPOUND_BORDER_MIN_GAP_PT,E as COMPOUND_BORDER_MIN_STROKE_PT,Qd as DEFAULT_CELL_MARGINS,va as DEFAULT_PAGE_GEOMETRY,Za as DEFAULT_REVISION_DISPLAY_MODE,$ as DEFAULT_RUN_STYLE,Ic as DEFAULT_SECTION_PROPERTIES,tb as DEFAULT_TAB_INTERVAL_PT,sb as DEFAULT_TAB_INTERVAL_TWIPS,Wd as DEFAULT_VERTICAL_WEIGHT,nc as EMPTY_NUMBERING_INDEX,vb as EMPTY_TAB_STOPS,d as FontResolutionError,ia as GRAPHEME_SEGMENTER_LOCALE,c as HARD_MAX_AGGREGATE_FONT_BYTES,a as HARD_MAX_FONT_BYTES,b as HARD_MAX_FONT_SOURCES,K as MAX_BORDER_SPACE_PT,J as MAX_BORDER_WIDTH_PT,Hc as MAX_DOCUMENT_SECTIONS,yf as MAX_EACH_PAGE_MARK_CANDIDATES,kc as MAX_LVL_OVERRIDES,Lb as MAX_LVL_TEXT_LENGTH,Kb as MAX_MARKER_TEXT_LENGTH,kf as MAX_NOTES_LAID_OUT,lf as MAX_NOTE_FRAGMENTS,xf as MAX_NOTE_OVERFLOW_PAGES,wf as MAX_NOTE_REFLOW_ATTEMPTS,jc as MAX_NUMBERING_DEFINITIONS,I as MAX_PARAGRAPH_SPACING_PT,o as MAX_SHAPING_CONTEXT,Ib as MAX_STYLE_BASED_ON_DEPTH,gd as MAX_STYLE_DEFINITIONS,Gd as MAX_TABLE_BORDER_STROKES,Sd as MAX_TABLE_NESTING,Te as MAX_TABLE_ROW_FRAGMENTS,Td as MAX_TABLE_ROW_HEIGHT_PT,rb as MAX_TAB_POSITION_TWIPS,qb as MAX_TAB_STOPS,Dc as PAGE_BORDER_SIDES,N as PARAGRAPH_BORDER_SIDES,M as SINGLE_LINE_SPACING,ub as TAB_LEADER_GLYPH,Ue as TablePaginationError,sa as UnsupportedScriptError,_ as appliedSpaceBefore,R as applyLineSpacing,Df as attachNotesToLayout,ea as baselineShiftPtOf,Nd as borderExtentPt,Kd as borderWeight,X as bottomBorderExtentPt,l as boundedStructuralFontValidator,lc as buildNumberingIndex,Af as buildPageRefIndex,hd as buildStyleCascadeTable,ne as caretAt,ee as caretBoxOnLine,le as caretStops,me as caretStopsForBlocks,id as cascadeParagraphFormatting,ld as cascadeRunProperties,kd as cascadedBottomBorder,U as cascadedParagraphBorders,wb as cascadedTabStops,Mb as clampListValue,Z as collapsedSpaceBefore,se as compositionAnchor,G as computeDoubleBorderMetricsPt,Cf as computeFootnoteReserves,be as contentControlAtPoint,ke as contentControlAtSemantic,df as contentControlHoldingParagraph,cf as contentControlRecordsInPart,oe as contentControlsInLayout,Ia as contentControlsOfLayout,Ye as createDocumentFurnitureSource,$e as createDocumentLinkProjectors,Ze as createDocumentNotesInput,Ke as createDocumentStyleDependencies,af as createFieldLinkRegistry,ha as createFixedMeasurer,m as createFontResourceSnapshot,Gf as createLayoutSession,oc as createListCounterState,Ge as createParagraphLayoutCache,s as createShapedRun,p as createShapingEnvironment,rf as defaultNoteSeparatorRuleStyle,zb as defaultTabIntervalFromSettings,qe as deletedTextBoundaries,Ac as deriveNoteDisplayMarks,Bc as deriveNoteDisplayMarksResolved,ba as displayText,Ra as documentOrder,_e as documentRelationshipTargetIn,Fd as effectiveBorderSide,Ka as effectiveContentControlLock,mb as emptyTocPlaceholderParagraphIds,nb as emptyTocSuppressedResultParagraphIds,Oc as enumerateDocumentSections,Qc as enumerateDocumentSectionsBounded,Sa as everyStoryOrder,Ub as expandLvlText,Bf as filterRefsOnPage,fe as findDrawingOverlayFrameInLayout,of as findSeparatorNote,n as fixedPoint,h as fontRequestKey,Ea as forEachSemanticDrawing,Ca as forEachSemanticStory,Fa as forEachStoryParagraphFragment,Nb as formatDecimal,Ob as formatDecimalZero,Sb as formatLowerLetter,Qb as formatLowerRoman,Tb as formatNumFmt,ec as formatPageNumber,hb as formatRevisionOf,Rb as formatUpperLetter,Pb as formatUpperRoman,zf as fragmentOwnsAtomOffset,Ga as fragmentsOfParagraph,Rc as geometryOfSection,fa as glyphSizeFactorOf,la as graphemeBoundaryEpoch,pa as graphemeCount,ra as graphemeOffsetToUtf16,_d as hitTestPage,je as hitTestSemantic,ae as hitTestSheet,ka as intlGraphemeBoundary,Yd as isFurniturePoint,ja as isIntlSegmenterAvailable,sf as isMarkerOnlySeparatorNote,Gb as isValidStyleId,ta as itemizeScriptFontSlots,we as keyedRangeRects,ad as layoutEquation,Xe as layoutHeaderFooterStory,qf as layoutNoteById,tf as layoutNoteSeparator,pf as layoutNoteStory,Hf as layoutSemanticDocument,Ha as lineAtPosition,ce as lineEndOffset,La as lineSegments,za as linesOf,tc as listMarkerBox,fb as markRevisionRemovesMark,ca as measureDisplayText,xc as mergeListIndent,re as moveCaret,Ab as nextTabDestination,nf as normalNotesOf,Cc as noteDisplayMarkMap,mf as noteLineIdPrefix,Zc as noteMarkKey,vf as noteSeparatorAreaBox,jf as noteSeparatorRuleBox,rd as noteStoryBlocks,Xd as pageAtY,if as pageBorderFrame,Fc as pageBordersFingerprint,W as paragraphBorderExtentPt,V as paragraphBorderStrokeWidthPt,T as paragraphBorders,Y as paragraphBordersFingerprint,H as paragraphBreaksBefore,S as paragraphContextualSpacing,xa as paragraphFragmentsOf,ya as paragraphFragmentsOfBlocks,Fe as paragraphLayoutKey,Q as paragraphLineSpacing,pc as paragraphMarkDeleted,db as paragraphMarkFormatRevisionOf,gb as paragraphMarkRevisionOf,cb as paragraphMarkRevisionsOf,Mc as paragraphSectionNode,A as paragraphShading,B as paragraphShadingBox,P as paragraphSpacing,xb as paragraphTabStops,pe as paragraphTextFromLayout,cc as parseAutonumInstruction,Ec as parsePageBorders,Jc as parsePageNumbering,bc as parseRefInstruction,Kc as parseSectionProperties,wd as positionPastDeletion,_c as projectedNoteMarkText,Pc as projectedSectionSourceIndexes,Ef as provisionalNoteMarks,Hd as readBorderSide,Jd as readCellBorders,vc as readNumPr,Nc as readSectionProperties,Id as readTableBorders,Ud as readTableStructure,oa as resetGraphemeBoundary,Ld as resolveBorderConflict,mc as resolveNumberingLevel,y as resolveOoxmlShadingFill,md as resolveParagraphLayoutInputs,aa as resolveRunStyle,yc as resolveStoryListItems,Uc as resolveStoryRefFields,x as resolveStrictHexFill,Md as resolveTableCellBorderGrid,ab as revisionAuthorFilter,rc as revisionRemovesParagraph,ib as revisionsAreDeletion,bb as revisionsVisible,Fb as runBorderStrokesForLine,da as runStylesEqual,ma as segmentGraphemes,ue as selectionRects,na as setGraphemeBoundary,z as shadingFillFromElement,t as shapedRunComparatorInputs,r as shapingEnvironmentFingerprint,q as shapingEnvironmentFingerprintInputs,eb as shownMarkRevision,de as spanOffsetX,te as spansInSelection,qd as storyBlocks,ua as styleForFontSlot,uf as syntheticSeparatorBox,Bb as tabAdvanceWidth,Cb as tabStopsFingerprint,Rd as tableOriginX,lb as tocFieldChromeParagraphIds,Ja as unionLayoutBoxes,qa as utf16OffsetToGrapheme,dc as walkStoryParagraphs,yb as withDefaultTabInterval,wc as withNumberingStyleLinks,zc as withResolvedListItems,he as wordBoundary}from'./chunk-CPWLFPWC.js';import'./chunk-LSZ6KPKK.js';import'./chunk-U4JZVSOE.js';export{Tc as MAX_SDT_NESTING,$i as MAX_TABLE_COLUMNS,Yh as W15_NAMESPACE_URI,Dj as activeReviewItem,Yc as collectFlowBlocks,Mj as commentBodyText,Oj as commentInitials,Xc as contentControlContentChildren,zj as firstReviewRange,Uc as isContentControl,Vc as isContentControlContent,d as mapSymbolPuaText,kj as paragraphOrderOfPart,xj as reviewItemKey,Aj as reviewItemPositionRank,yj as reviewItemRanges,Bj as reviewItemsAt,Ej as reviewThreadRootOf,f as sha256FontBytes}from'./chunk-YQ5G6LC7.js';
1
+ export{R as DEFAULT_CANVAS_FONT_STACK,b as HARFBUZZ_SHAPING_LIBRARY,e as HarfBuzzShapingError,k as LayoutShapingConfigurationError,K as ResolvedCache,z as WORD_SEGMENTER_LOCALE,$ as anchorLineY,C as boundedFallbackWordSegments,I as captureOperationSnapshot,ia as cellSelectionBetween,ma as cellSelectionRects,na as cellSelectionText,_ as contentControlBoundaries,D as createBoundedFallbackWordBoundary,E as createDefaultWordBoundary,g as createHarfBuzzTextShaper,B as createIntlWordBoundary,ha as createLayoutScheduler,fa as createLayoutShapedMeasurer,r as createLayoutShaping,ea as createShapedMeasurer,t as disposeLayoutShaping,L as exportSourceRangeOf,M as forEachSemanticSpan,J as guardOperationSnapshot,f as harfBuzzFontValidator,c as initializeHarfBuzz,U as isCanvasMeasurementAvailable,x as isCumulativeGeometryTrustedFromLineOrigin,w as isGeometryTrustedCaretOffset,d as isHarfBuzzInitialized,A as isIntlWordSegmenterAvailable,v as isWholeGraphemeHorizontalBoundary,q as layoutFontConfigurationFingerprint,X as pageRefPageNumbersFromLayout,ga as pagesToMaterialize,ka as paragraphsInCells,Y as planRefFieldResultRefresh,o as prepareLayoutFontConfiguration,W as resolveDefaultSurfaceMeasurer,F as resolveDefaultWordBoundary,aa as reviewAnchorIndex,ba as reviewItemGeometry,a as roundFontUnitToFixedPoint,G as segmentWords,y as semanticHorizontalBoundaries,u as shapedHorizontalBoundaries,la as spansInCells,ra as tabLeaderPattern,oa as tableContextAt,V as tryCreateCanvasMeasurer,N as vectorShapeInkClip,H as wordSegmentsToGraphemeRecords}from'./chunk-FNNOJNGY.js';export{a as setHarfBuzzWasmUrl}from'./chunk-RIYSCEFQ.js';export{N as AUTO_PARAGRAPH_SPACING_PT,Rd as AUTO_PREFERRED_WIDTH,Sd as CELL_PAD,H as COMPOUND_BORDER_MIN_GAP_PT,G as COMPOUND_BORDER_MIN_STROKE_PT,Td as DEFAULT_CELL_MARGINS,xa as DEFAULT_PAGE_GEOMETRY,$a as DEFAULT_REVISION_DISPLAY_MODE,ba as DEFAULT_RUN_STYLE,Kc as DEFAULT_SECTION_PROPERTIES,vb as DEFAULT_TAB_INTERVAL_PT,ub as DEFAULT_TAB_INTERVAL_TWIPS,Zd as DEFAULT_VERTICAL_WEIGHT,pc as EMPTY_NUMBERING_INDEX,xb as EMPTY_TAB_STOPS,d as FontResolutionError,ka as GRAPHEME_SEGMENTER_LOCALE,c as HARD_MAX_AGGREGATE_FONT_BYTES,a as HARD_MAX_FONT_BYTES,b as HARD_MAX_FONT_SOURCES,M as MAX_BORDER_SPACE_PT,L as MAX_BORDER_WIDTH_PT,Jc as MAX_DOCUMENT_SECTIONS,Ef as MAX_EACH_PAGE_MARK_CANDIDATES,mc as MAX_LVL_OVERRIDES,Nb as MAX_LVL_TEXT_LENGTH,Mb as MAX_MARKER_TEXT_LENGTH,of as MAX_NOTES_LAID_OUT,pf as MAX_NOTE_FRAGMENTS,Df as MAX_NOTE_OVERFLOW_PAGES,Cf as MAX_NOTE_REFLOW_ATTEMPTS,lc as MAX_NUMBERING_DEFINITIONS,K as MAX_PARAGRAPH_SPACING_PT,o as MAX_SHAPING_CONTEXT,Kb as MAX_STYLE_BASED_ON_DEPTH,jd as MAX_STYLE_DEFINITIONS,Jd as MAX_TABLE_BORDER_STROKES,Vd as MAX_TABLE_NESTING,Xe as MAX_TABLE_ROW_FRAGMENTS,Wd as MAX_TABLE_ROW_HEIGHT_PT,tb as MAX_TAB_POSITION_TWIPS,sb as MAX_TAB_STOPS,Fc as PAGE_BORDER_SIDES,P as PARAGRAPH_BORDER_SIDES,O as SINGLE_LINE_SPACING,wb as TAB_LEADER_GLYPH,Ye as TablePaginationError,ua as UnsupportedScriptError,aa as appliedSpaceBefore,T as applyLineSpacing,Jf as attachNotesToLayout,ga as baselineShiftPtOf,Qd as borderExtentPt,Nd as borderWeight,Z as bottomBorderExtentPt,l as boundedStructuralFontValidator,nc as buildNumberingIndex,Gf as buildPageRefIndex,kd as buildStyleCascadeTable,qe as caretAt,he as caretBoxOnLine,oe as caretStops,pe as caretStopsForBlocks,ld as cascadeParagraphFormatting,od as cascadeRunProperties,nd as cascadedBottomBorder,W as cascadedParagraphBorders,yb as cascadedTabStops,Ob as clampListValue,$ as collapsedSpaceBefore,ve as compositionAnchor,I as computeDoubleBorderMetricsPt,If as computeFootnoteReserves,ee as contentControlAtPoint,ne as contentControlAtSemantic,hf as contentControlHoldingParagraph,gf as contentControlRecordsInPart,re as contentControlsInLayout,Ka as contentControlsOfLayout,af as createDocumentFurnitureSource,df as createDocumentLinkProjectors,bf as createDocumentNotesInput,Oe as createDocumentStyleDependencies,ef as createFieldLinkRegistry,ja as createFixedMeasurer,m as createFontResourceSnapshot,Nf as createLayoutSession,rc as createListCounterState,Ke as createParagraphLayoutCache,u as createShapedRun,r as createShapingEnvironment,vf as defaultNoteSeparatorRuleStyle,Bb as defaultTabIntervalFromSettings,te as deletedTextBoundaries,Cc as deriveNoteDisplayMarks,Dc as deriveNoteDisplayMarksResolved,da as displayText,Ta as documentOrder,cf as documentRelationshipTargetIn,Id as effectiveBorderSide,Ma as effectiveContentControlLock,ob as emptyTocPlaceholderParagraphIds,pb as emptyTocSuppressedResultParagraphIds,Qc as enumerateDocumentSections,Sc as enumerateDocumentSectionsBounded,Ua as everyStoryOrder,Wb as expandLvlText,Hf as filterRefsOnPage,ie as findDrawingOverlayFrameInLayout,sf as findSeparatorNote,n as fixedPoint,h as fontRequestKey,Ga as forEachSemanticDrawing,Ea as forEachSemanticStory,Ha as forEachStoryParagraphFragment,Pb as formatDecimal,Qb as formatDecimalZero,Ub as formatLowerLetter,Sb as formatLowerRoman,Vb as formatNumFmt,gc as formatPageNumber,jb as formatRevisionOf,Tb as formatUpperLetter,Rb as formatUpperRoman,Ff as fragmentOwnsAtomOffset,Ia as fragmentsOfParagraph,Tc as geometryOfSection,ha as glyphSizeFactorOf,na as graphemeBoundaryEpoch,ra as graphemeCount,ta as graphemeOffsetToUtf16,be as hitTestPage,me as hitTestSemantic,de as hitTestSheet,ma as intlGraphemeBoundary,$d as isFurniturePoint,la as isIntlSegmenterAvailable,wf as isMarkerOnlySeparatorNote,Ib as isValidStyleId,va as itemizeScriptFontSlots,Ae as keyedRangeRects,cd as layoutEquation,$e as layoutHeaderFooterStory,uf as layoutNoteById,xf as layoutNoteSeparator,tf as layoutNoteStory,Of as layoutSemanticDocument,Ja as lineAtPosition,fe as lineEndOffset,Na as lineSegments,Ba as linesOf,wc as listMarkerBox,hb as markRevisionRemovesMark,ea as measureDisplayText,qc as mergeListIndent,ue as moveCaret,Cb as nextTabDestination,rf as normalNotesOf,Ec as noteDisplayMarkMap,qf as noteLineIdPrefix,$c as noteMarkKey,zf as noteSeparatorAreaBox,nf as noteSeparatorRuleBox,ud as noteStoryBlocks,_d as pageAtY,mf as pageBorderFrame,Hc as pageBordersFingerprint,Y as paragraphBorderExtentPt,X as paragraphBorderStrokeWidthPt,V as paragraphBorders,_ as paragraphBordersFingerprint,J as paragraphBreaksBefore,U as paragraphContextualSpacing,za as paragraphFragmentsOf,Aa as paragraphFragmentsOfBlocks,Je as paragraphLayoutKey,S as paragraphLineSpacing,sc as paragraphMarkDeleted,fb as paragraphMarkFormatRevisionOf,ib as paragraphMarkRevisionOf,eb as paragraphMarkRevisionsOf,Oc as paragraphSectionNode,C as paragraphShading,D as paragraphShadingBox,R as paragraphSpacing,zb as paragraphTabStops,se as paragraphTextFromLayout,ec as parseAutonumInstruction,Gc as parsePageBorders,Lc as parsePageNumbering,dc as parseRefInstruction,Mc as parseSectionProperties,zd as positionPastDeletion,ad as projectedNoteMarkText,Rc as projectedSectionSourceIndexes,Kf as provisionalNoteMarks,Kd as readBorderSide,Md as readCellBorders,yc as readNumPr,Pc as readSectionProperties,Ld as readTableBorders,Xd as readTableStructure,qa as resetGraphemeBoundary,Od as resolveBorderConflict,oc as resolveNumberingLevel,A as resolveOoxmlShadingFill,pd as resolveParagraphLayoutInputs,ca as resolveRunStyle,Ac as resolveStoryListItems,Wc as resolveStoryRefFields,z as resolveStrictHexFill,Pd as resolveTableCellBorderGrid,cb as revisionAuthorFilter,uc as revisionRemovesParagraph,kb as revisionsAreDeletion,db as revisionsVisible,Hb as runBorderStrokesForLine,fa as runStylesEqual,oa as segmentGraphemes,xe as selectionRects,pa as setGraphemeBoundary,B as shadingFillFromElement,v as shapedRunComparatorInputs,t as shapingEnvironmentFingerprint,s as shapingEnvironmentFingerprintInputs,gb as shownMarkRevision,ge as spanOffsetX,we as spansInSelection,td as storyBlocks,wa as styleForFontSlot,yf as syntheticSeparatorBox,Db as tabAdvanceWidth,Eb as tabStopsFingerprint,Ud as tableOriginX,nb as tocFieldChromeParagraphIds,La as unionLayoutBoxes,sa as utf16OffsetToGrapheme,fc as walkStoryParagraphs,Ab as withDefaultTabInterval,zc as withNumberingStyleLinks,Bc as withResolvedListItems,ke as wordBoundary}from'./chunk-4S24UOPG.js';import'./chunk-VWIJKH4A.js';import'./chunk-Q5K2GGNG.js';export{Tc as MAX_SDT_NESTING,nj as MAX_TABLE_COLUMNS,gi as W15_NAMESPACE_URI,Wj as activeReviewItem,Yc as collectFlowBlocks,dk as commentBodyText,fk as commentInitials,Xc as contentControlContentChildren,Sj as firstReviewRange,Uc as isContentControl,Vc as isContentControlContent,d as mapSymbolPuaText,zj as paragraphOrderOfPart,Mj as reviewItemKey,Tj as reviewItemPositionRank,Rj as reviewItemRanges,Uj as reviewItemsAt,Xj as reviewThreadRootOf,f as sha256FontBytes}from'./chunk-T2QQHG5C.js';
@@ -1,4 +1,4 @@
1
- import { O as OoxmlPart, N as OoxmlNode, Q as OoxmlPackage } from './types-barrel-DuC5QBNC.js';
1
+ import { O as OoxmlPart, N as OoxmlNode, Q as OoxmlPackage } from './types-barrel-CkF2JbU4.js';
2
2
 
3
3
  /** `w:pos` — where a section's footnotes are laid out. */
4
4
  type FootnotePosition = 'pageBottom' | 'beneathText' | 'sectEnd' | 'docEnd';
@@ -1,4 +1,4 @@
1
- import { U as OoxmlNodeId, V as OoxmlGenericElementNode, N as OoxmlNode } from './types-barrel-DuC5QBNC.js';
1
+ import { U as OoxmlNodeId, V as OoxmlGenericElementNode, N as OoxmlNode } from './types-barrel-CkF2JbU4.js';
2
2
 
3
3
  /** Office Math Markup Language namespace. */
4
4
  declare const OFFICE_MATH_NAMESPACE_URI = "http://schemas.openxmlformats.org/officeDocument/2006/math";
@@ -13,32 +13,57 @@ interface OmmlLimits {
13
13
  readonly maxNodes?: number;
14
14
  readonly maxTextLength?: number;
15
15
  }
16
+ /**
17
+ * Marks a structure whose property element carries `m:ctrlPr` operator run formatting that
18
+ * compact replacement cannot reproduce.
19
+ *
20
+ * The source keeps those properties verbatim. Layout draws the operator glyphs with the
21
+ * default math formatting. When every `m:ctrlPr` of the equation holds only default
22
+ * formatting, no structure carries this mark: compact replacement writes the same control
23
+ * properties back on each structure it emits.
24
+ */
25
+ interface EquationControlSource {
26
+ /** The structure carries non-default `m:ctrlPr` properties, so compact replacement refuses it. */
27
+ readonly controlProperties?: true;
28
+ }
16
29
  type EquationExpression = {
17
30
  readonly kind: 'row';
18
31
  readonly items: readonly EquationExpression[];
19
32
  } | {
20
33
  readonly kind: 'text';
21
34
  readonly value: string;
22
- } | {
35
+ readonly format?: {
36
+ readonly fontFamily?: string;
37
+ readonly bold?: boolean;
38
+ readonly italic?: boolean;
39
+ readonly literal?: boolean;
40
+ readonly normalText?: boolean;
41
+ readonly mathStyle?: 'p' | 'b' | 'i' | 'bi';
42
+ };
43
+ } | ({
44
+ readonly kind: 'bar';
45
+ readonly body: EquationExpression;
46
+ readonly position: 'top' | 'bottom';
47
+ } & EquationControlSource) | ({
23
48
  readonly kind: 'fraction';
24
49
  readonly numerator: EquationExpression;
25
50
  readonly denominator: EquationExpression;
26
- } | {
51
+ } & EquationControlSource) | ({
27
52
  readonly kind: 'radical';
28
53
  readonly radicand: EquationExpression;
29
54
  readonly degree?: EquationExpression;
30
- } | {
55
+ } & EquationControlSource) | ({
31
56
  readonly kind: 'script';
32
57
  readonly base: EquationExpression;
33
58
  readonly subscript?: EquationExpression;
34
59
  readonly superscript?: EquationExpression;
35
- } | {
60
+ } & EquationControlSource) | ({
36
61
  readonly kind: 'nary';
37
62
  readonly operator: string;
38
63
  readonly body: EquationExpression;
39
64
  readonly lowerLimit?: EquationExpression;
40
65
  readonly upperLimit?: EquationExpression;
41
- } | {
66
+ } & EquationControlSource) | {
42
67
  readonly kind: 'fallback';
43
68
  readonly text: string;
44
69
  };
@@ -48,6 +73,11 @@ interface OmmlEquationProjection {
48
73
  readonly fallbackText: string;
49
74
  readonly truncated: boolean;
50
75
  readonly visitedNodes: number;
76
+ /**
77
+ * The font size, in points, that every run of the equation shares through default run
78
+ * properties (`w:sz`). Absent, the equation takes the size of the surrounding text.
79
+ */
80
+ readonly fontSizePt?: number;
51
81
  }
52
82
  type LinearMathRejection = 'empty' | 'invalid-syntax' | 'invalid-xml-text' | 'depth-limit' | 'node-limit' | 'text-limit';
53
83
  type LinearMathParseResult = {
@@ -81,5 +111,5 @@ type NextNodeId = () => string;
81
111
  /** Parse compact linear math and generate fresh canonical OMML in one bounded operation. */
82
112
  declare function linearMathToOmml(input: string, nextId: NextNodeId, limits?: OmmlLimits): LinearMathOmmlResult;
83
113
 
84
- export { DEFAULT_OMML_LIMITS as D, OFFICE_MATH_NAMESPACE_URI as c, equationExpressionToLinearMath as e, projectOmmlEquation as f, linearMathToOmml as l, parseLinearMath as p };
85
- export type { EquationExpression as E, LinearMathOmmlResult as L, OmmlEquationProjection as O, LinearMathParseResult as a, LinearMathRejection as b, OmmlLimits as d };
114
+ export { DEFAULT_OMML_LIMITS as D, OFFICE_MATH_NAMESPACE_URI as d, equationExpressionToLinearMath as f, projectOmmlEquation as g, linearMathToOmml as l, parseLinearMath as p };
115
+ export type { EquationControlSource as E, LinearMathOmmlResult as L, OmmlEquationProjection as O, EquationExpression as a, LinearMathParseResult as b, LinearMathRejection as c, OmmlLimits as e };
package/dist/output.cjs CHANGED
@@ -1 +1 @@
1
- 'use strict';var chunkCAJEXXVG_cjs=require('./chunk-CAJEXXVG.cjs');require('./chunk-D7ZMDMPX.cjs'),require('./chunk-DOHF6FA7.cjs'),require('./chunk-MM5QBMTE.cjs'),require('./chunk-T6K2QYNZ.cjs'),require('./chunk-OSFOJTHU.cjs');Object.defineProperty(exports,"DEFAULT_FIELD_SHADING",{enumerable:true,get:function(){return chunkCAJEXXVG_cjs.m}});Object.defineProperty(exports,"collectPageChangeBars",{enumerable:true,get:function(){return chunkCAJEXXVG_cjs.h}});Object.defineProperty(exports,"paintSelectionOverlay",{enumerable:true,get:function(){return chunkCAJEXXVG_cjs.r}});Object.defineProperty(exports,"paintSemanticLayout",{enumerable:true,get:function(){return chunkCAJEXXVG_cjs.p}});
1
+ 'use strict';var chunkXMJKFURD_cjs=require('./chunk-XMJKFURD.cjs');require('./chunk-5JPIEN54.cjs'),require('./chunk-DBOOTED4.cjs'),require('./chunk-IBRBNT37.cjs'),require('./chunk-243W4WW2.cjs'),require('./chunk-WO4V6PNS.cjs');Object.defineProperty(exports,"DEFAULT_FIELD_SHADING",{enumerable:true,get:function(){return chunkXMJKFURD_cjs.n}});Object.defineProperty(exports,"collectPageChangeBars",{enumerable:true,get:function(){return chunkXMJKFURD_cjs.h}});Object.defineProperty(exports,"lumTransfer",{enumerable:true,get:function(){return chunkXMJKFURD_cjs.i}});Object.defineProperty(exports,"paintSelectionOverlay",{enumerable:true,get:function(){return chunkXMJKFURD_cjs.s}});Object.defineProperty(exports,"paintSemanticLayout",{enumerable:true,get:function(){return chunkXMJKFURD_cjs.q}});
package/dist/output.d.ts CHANGED
@@ -8,14 +8,13 @@
8
8
  * @packageDocumentation
9
9
  * @public
10
10
  */
11
- import { R as ReviewAuthorInfo } from './semantic-paint-ZayFF3tD.js';
12
- export { B as BreakMarkStrings, C as ChangeBarsMode, D as DEFAULT_FIELD_SHADING, F as FieldShadingMode, P as PageChangeBars, a as PaintOptions, b as RevisionAuthorAssignments, c as RevisionAuthorStyle, d as RevisionStyles, e as collectPageChangeBars, p as paintSemanticLayout } from './semantic-paint-ZayFF3tD.js';
13
- import { S as SemanticLayout } from './semantic-records-DQmumPgL.js';
14
- import './semantic-record-queries-Bsgth6lv.js';
15
- import './image-resources-tXLQShoC.js';
16
- import './types-barrel-DuC5QBNC.js';
17
- import './editor-scope-7o9xweiJ.js';
18
- import './omml-equation-BUbU0utM.js';
11
+ import { R as ReviewAuthorInfo } from './semantic-paint-DLzA8sjP.js';
12
+ export { B as BreakMarkStrings, C as ChangeBarsMode, D as DEFAULT_FIELD_SHADING, F as FieldShadingMode, P as PageChangeBars, a as PaintOptions, b as RevisionAuthorAssignments, c as RevisionAuthorStyle, d as RevisionStyles, e as collectPageChangeBars, p as paintSemanticLayout } from './semantic-paint-DLzA8sjP.js';
13
+ import { S as SemanticLayout } from './semantic-records-B-akgRch.js';
14
+ import './semantic-record-queries-3yp9o11g.js';
15
+ import './types-barrel-CkF2JbU4.js';
16
+ import './editor-scope-C7ke1KJG.js';
17
+ import './omml-equation-BsLAa2lX.js';
19
18
 
20
19
  /** A rectangle in page-content coordinates, on a named page. */
21
20
  interface OverlayRect {
@@ -92,5 +91,16 @@ interface SelectionOverlayOptions {
92
91
  */
93
92
  declare function paintSelectionOverlay(layer: HTMLElement, layout: SemanticLayout, rects: readonly OverlayRect[], options: SelectionOverlayOptions): void;
94
93
 
95
- export { ReviewAuthorInfo, paintSelectionOverlay };
96
- export type { OverlayRect, SelectionOverlayOptions };
94
+ /** `out = slope * in + intercept` over sRGB channels in [0, 1]. */
95
+ interface LumTransfer {
96
+ readonly slope: number;
97
+ readonly intercept: number;
98
+ }
99
+ /**
100
+ * Word's `a:lum` transfer for `bright`/`contrast` given in percent (`70.001` for `70001`).
101
+ * Returns `null` for the identity transfer and for non-finite input.
102
+ */
103
+ declare function lumTransfer(brightPercent: number, contrastPercent: number): LumTransfer | null;
104
+
105
+ export { ReviewAuthorInfo, lumTransfer, paintSelectionOverlay };
106
+ export type { LumTransfer, OverlayRect, SelectionOverlayOptions };
package/dist/output.js CHANGED
@@ -1 +1 @@
1
- export{m as DEFAULT_FIELD_SHADING,h as collectPageChangeBars,r as paintSelectionOverlay,p as paintSemanticLayout}from'./chunk-TRGAVV2Y.js';import'./chunk-6ZQP4HQ7.js';import'./chunk-RIYSCEFQ.js';import'./chunk-CPWLFPWC.js';import'./chunk-LSZ6KPKK.js';import'./chunk-U4JZVSOE.js';import'./chunk-YQ5G6LC7.js';
1
+ export{n as DEFAULT_FIELD_SHADING,h as collectPageChangeBars,i as lumTransfer,s as paintSelectionOverlay,q as paintSemanticLayout}from'./chunk-LZY6B6IV.js';import'./chunk-FNNOJNGY.js';import'./chunk-RIYSCEFQ.js';import'./chunk-4S24UOPG.js';import'./chunk-VWIJKH4A.js';import'./chunk-Q5K2GGNG.js';import'./chunk-T2QQHG5C.js';
@@ -1,5 +1,5 @@
1
- import { aw as AutomationTableMutation, a9 as RevisionBatchResult, a8 as RevisionAuthorResult } from './types-barrel-DuC5QBNC.js';
2
- import { c as HeaderFooterVariant, N as NoteKind } from './tree-package-store-CovjNARF.js';
1
+ import { aF as AutomationTableMutation, ac as RevisionBatchResult, ab as RevisionAuthorResult } from './types-barrel-CkF2JbU4.js';
2
+ import { c as HeaderFooterVariant, N as NoteKind } from './tree-package-store-B8l8DX3Z.js';
3
3
 
4
4
  /** Word's shape types, as `Word.ShapeType` spells them. */
5
5
  type AutomationShapeType = 'TextBox' | 'GeometricShape' | 'Picture' | 'Group' | 'Canvas' | 'Unsupported';
@@ -877,6 +877,50 @@ type AutomationOperation = AutomationAuthoringOperation | {
877
877
  readonly op: 'getBookmarkRange';
878
878
  readonly bookmark: AutomationHandle;
879
879
  }
880
+ /**
881
+ * The names of the bookmarks a span overlaps, in document order: `Range.getBookmarks`.
882
+ *
883
+ * A non-empty span holds a bookmark when the two share text, and a point bookmark when the
884
+ * point is inside the span. An empty span holds the bookmarks around it. `includeAdjacent`
885
+ * adds the bookmarks that only touch the span; `includeHidden` adds names starting with `_`.
886
+ */
887
+ | {
888
+ readonly op: 'getBookmarkNames';
889
+ readonly scope: AutomationSpanRef;
890
+ readonly includeHidden: boolean;
891
+ readonly includeAdjacent: boolean;
892
+ }
893
+ /**
894
+ * The range of the bookmark with this name, compared without case, in any story: main text
895
+ * first, then headers, footers and notes. Answers no span when nothing declares the name.
896
+ */
897
+ | {
898
+ readonly op: 'getBookmarkRangeByName';
899
+ readonly document: AutomationHandle;
900
+ readonly name: string;
901
+ }
902
+ /**
903
+ * Add a bookmark around a span, or at a point. A bookmark any story declares under the same
904
+ * name, compared without case, moves here in the same write.
905
+ */
906
+ | {
907
+ readonly op: 'insertBookmark';
908
+ readonly span: AutomationSpanRef;
909
+ readonly name: string;
910
+ }
911
+ /**
912
+ * Remove a bookmark: by name anywhere in the document, or the one a handle names. The text
913
+ * stays. A name nothing declares is not an error and changes nothing.
914
+ */
915
+ | {
916
+ readonly op: 'deleteBookmark';
917
+ readonly target: {
918
+ readonly document: AutomationHandle;
919
+ readonly name: string;
920
+ } | {
921
+ readonly bookmark: AutomationHandle;
922
+ };
923
+ }
880
924
  /**
881
925
  * The comments anchored in a scope, in document order — the TOP-LEVEL ones.
882
926
  *
@@ -990,6 +1034,31 @@ type AutomationOperation = AutomationAuthoringOperation | {
990
1034
  readonly op: 'getRevisions';
991
1035
  readonly body: AutomationHandle;
992
1036
  }
1037
+ /**
1038
+ * The listed tracked changes whose characters a span overlaps, in document order. A collapsed
1039
+ * span lists the changes it touches. Handles are the story-wide listing's handles.
1040
+ */
1041
+ | {
1042
+ readonly op: 'getRevisions';
1043
+ readonly scope: AutomationSpanRef;
1044
+ }
1045
+ /**
1046
+ * The listed tracked changes a review-queue key names: one, or the two halves of a paired
1047
+ * replacement. A key naming nothing answers no handles.
1048
+ */
1049
+ | {
1050
+ readonly op: 'getRevisions';
1051
+ readonly key: string;
1052
+ }
1053
+ /**
1054
+ * The stretch a review-queue key names: `revision-<id>`, a paired `revision-replace:<a>+<b>`,
1055
+ * or `comment-<id>`. Answers `spans` holding one span covering every range of the item, or no
1056
+ * span when the key names nothing this document holds.
1057
+ */
1058
+ | {
1059
+ readonly op: 'getReviewItemRange';
1060
+ readonly key: string;
1061
+ }
993
1062
  /** Resolve eligible decisions in one story. Omit revisions to select every canonical decision. */
994
1063
  | {
995
1064
  readonly op: 'resolveRevisionBatch';
@@ -1061,6 +1130,24 @@ type AutomationOperation = AutomationAuthoringOperation | {
1061
1130
  readonly op: 'rejectAllRevisions';
1062
1131
  readonly document: AutomationHandle;
1063
1132
  }
1133
+ /**
1134
+ * Accept or reject every change a span overlaps, or the changes a review-queue key names, as
1135
+ * one transaction. Structural changes absent from listings are included. Refused whole when
1136
+ * any of them is read-only or cannot be resolved, and when the key names nothing.
1137
+ */
1138
+ | {
1139
+ readonly op: 'acceptAllRevisions';
1140
+ readonly scope: AutomationSpanRef;
1141
+ } | {
1142
+ readonly op: 'rejectAllRevisions';
1143
+ readonly scope: AutomationSpanRef;
1144
+ } | {
1145
+ readonly op: 'acceptAllRevisions';
1146
+ readonly key: string;
1147
+ } | {
1148
+ readonly op: 'rejectAllRevisions';
1149
+ readonly key: string;
1150
+ }
1064
1151
  /**
1065
1152
  * Put the reader's selection on a span. Requires the `selection` capability, so a headless
1066
1153
  * host refuses it rather than pretending to have a caret.
@@ -1493,6 +1580,11 @@ type AutomationValue = {
1493
1580
  } | {
1494
1581
  readonly kind: 'text';
1495
1582
  readonly text: string;
1583
+ }
1584
+ /** Several strings, in document order: the names of the bookmarks a range holds. */
1585
+ | {
1586
+ readonly kind: 'texts';
1587
+ readonly texts: readonly string[];
1496
1588
  } | {
1497
1589
  readonly kind: 'span';
1498
1590
  readonly span: AutomationSpan;
@@ -1,4 +1,4 @@
1
- import { N as OoxmlNode, ak as OoxmlElement, al as OoxmlContentControlNode, V as OoxmlGenericElementNode, am as OoxmlContentControlContentNode, C as CommentRecord, O as OoxmlPart } from './types-barrel-DuC5QBNC.js';
1
+ import { N as OoxmlNode, ap as OoxmlElement, aq as OoxmlContentControlNode, V as OoxmlGenericElementNode, ar as OoxmlContentControlContentNode, C as CommentRecord, O as OoxmlPart } from './types-barrel-CkF2JbU4.js';
2
2
 
3
3
  /** Nested content-control wrappers deeper than this stop flattening; content stays preserved. */
4
4
  declare const MAX_CONTENT_CONTROL_NESTING = 32;
@@ -1,5 +1,5 @@
1
- import { S as SemanticPosition, C as CaretGeometry, a as SemanticSelection } from './semantic-interaction-kR_QB845.js';
2
- import { I as InlineDrawingRecord, A as AnchoredDrawingRecord, T as TextMeasurer, L as LineRecord, g as StyleSpanRecord, S as SemanticLayout, C as ContentControlBoundaryRecord, h as TableRowFragmentRecord, i as TableCellFragmentRecord } from './semantic-records-DQmumPgL.js';
1
+ import { S as SemanticPosition, C as CaretGeometry, a as SemanticSelection } from './semantic-interaction-dApRIYpt.js';
2
+ import { I as InlineDrawingRecord, A as AnchoredDrawingRecord, T as TextMeasurer, L as LineRecord, g as StyleSpanRecord, S as SemanticLayout, C as ContentControlBoundaryRecord, h as TableRowFragmentRecord, i as TableCellFragmentRecord } from './semantic-records-B-akgRch.js';
3
3
 
4
4
  /** A point in the coordinate space named by the function taking it. */
5
5
  interface HitPoint {
@@ -1,4 +1,4 @@
1
- import { T as TextMeasurer, S as SemanticLayout, B as BlockFragmentRecord, C as ContentControlBoundaryRecord, g as StyleSpanRecord } from './semantic-records-DQmumPgL.js';
1
+ import { T as TextMeasurer, S as SemanticLayout, B as BlockFragmentRecord, C as ContentControlBoundaryRecord, g as StyleSpanRecord } from './semantic-records-B-akgRch.js';
2
2
 
3
3
  /** How `moveCaret` resolves a motion. */
4
4
  interface MoveCaretOptions {
@@ -1,6 +1,6 @@
1
- import { c as PageRecord, q as ResolvedRevisionMarkup, C as ContentControlBoundaryRecord, S as SemanticLayout } from './semantic-records-DQmumPgL.js';
2
- import { S as SemanticRootStoryKind } from './semantic-record-queries-Bsgth6lv.js';
3
- import { V as ValidatedImageBytesHandle, R as RenderableImageMime } from './image-resources-tXLQShoC.js';
1
+ import { c as PageRecord, q as ResolvedRevisionMarkup, C as ContentControlBoundaryRecord, S as SemanticLayout } from './semantic-records-B-akgRch.js';
2
+ import { S as SemanticRootStoryKind } from './semantic-record-queries-3yp9o11g.js';
3
+ import { aj as ValidatedImageBytesHandle, aa as RenderableImageMime } from './types-barrel-CkF2JbU4.js';
4
4
 
5
5
  /**
6
6
  * Everything a host can say about ONE author's presentation. Every field is optional and
@@ -1,4 +1,4 @@
1
- import { I as InlineDrawingRecord, A as AnchoredDrawingRecord, P as ParagraphFragmentRecord, L as LineRecord, c as PageRecord, N as NoteAreaRecord, d as LayoutBox, H as HeaderFooterStoryRecord, e as NoteStoryRecord, B as BlockFragmentRecord, S as SemanticLayout, C as ContentControlBoundaryRecord, f as ContentControlLock } from './semantic-records-DQmumPgL.js';
1
+ import { I as InlineDrawingRecord, A as AnchoredDrawingRecord, P as ParagraphFragmentRecord, L as LineRecord, c as PageRecord, N as NoteAreaRecord, d as LayoutBox, H as HeaderFooterStoryRecord, e as NoteStoryRecord, B as BlockFragmentRecord, S as SemanticLayout, C as ContentControlBoundaryRecord, f as ContentControlLock } from './semantic-records-B-akgRch.js';
2
2
 
3
3
  /**
4
4
  * Depth-first paragraph fragments of one page, in reading order.