@docx-editor.dev/core 2.24.0 → 2.26.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 (109) hide show
  1. package/README.md +9 -3
  2. package/dist/automation.cjs +1 -1
  3. package/dist/automation.d.ts +46 -16
  4. package/dist/automation.js +1 -1
  5. package/dist/binding.cjs +1 -1
  6. package/dist/binding.d.ts +8 -8
  7. package/dist/binding.js +1 -1
  8. package/dist/chunk-2BK4G4ZN.js +2 -0
  9. package/dist/chunk-2SJX44PC.cjs +2 -0
  10. package/dist/chunk-5BIASAN3.js +1 -0
  11. package/dist/{chunk-2LXGB2X7.js → chunk-6SEIXJTX.js} +1 -1
  12. package/dist/chunk-73PG6L2X.js +1 -0
  13. package/dist/chunk-7RJSH72J.cjs +5 -0
  14. package/dist/chunk-AGKIHLWQ.cjs +1 -0
  15. package/dist/chunk-AN6WM4X4.js +2 -0
  16. package/dist/chunk-ANZ44KQT.cjs +12 -0
  17. package/dist/chunk-CYT3OQFZ.cjs +1 -0
  18. package/dist/chunk-DDGGSBAN.js +12 -0
  19. package/dist/chunk-EEAV3WIN.js +3 -0
  20. package/dist/{chunk-JDAAGZNE.cjs → chunk-ELQFXMJ5.cjs} +1 -1
  21. package/dist/chunk-EYK4K2J6.js +1 -0
  22. package/dist/chunk-JNTETUNZ.cjs +1 -0
  23. package/dist/chunk-L6V3IJ3S.js +5 -0
  24. package/dist/chunk-LWCI65EL.js +1 -0
  25. package/dist/chunk-LZDI4P6I.cjs +1 -0
  26. package/dist/chunk-NS22DVWT.cjs +2 -0
  27. package/dist/chunk-QIE3YTU4.cjs +2 -0
  28. package/dist/chunk-QVBFPAGO.js +5 -0
  29. package/dist/chunk-RCCOLZEQ.js +2 -0
  30. package/dist/chunk-SUN62YU6.cjs +5 -0
  31. package/dist/chunk-TKR2MXX4.cjs +3 -0
  32. package/dist/chunk-UJL2GDIM.cjs +25 -0
  33. package/dist/chunk-WQTADNHK.cjs +27 -0
  34. package/dist/chunk-XSHXBJ2J.js +25 -0
  35. package/dist/chunk-YXZEBTDF.js +27 -0
  36. package/dist/collaboration/replication.cjs +1 -1
  37. package/dist/collaboration/replication.d.ts +4 -4
  38. package/dist/collaboration/replication.js +1 -1
  39. package/dist/collaboration.d.ts +3 -3
  40. package/dist/contracts/document.d.ts +2 -2
  41. package/dist/contracts/editor.d.ts +8 -8
  42. package/dist/contracts/modules.d.ts +6 -6
  43. package/dist/contracts/types.d.ts +1 -1
  44. package/dist/{custom-node-writes-77rvPW2-.d.ts → custom-node-writes-Cy9imOjA.d.ts} +2 -2
  45. package/dist/{document-protection-CYIjO-li.d.ts → document-protection-Bp19Ad4I.d.ts} +1 -1
  46. package/dist/{editor-BU6rjQZz.d.ts → editor-DYUlyKmb.d.ts} +145 -9
  47. package/dist/editor.cjs +1 -1
  48. package/dist/editor.css +15 -1
  49. package/dist/editor.d.ts +179 -34
  50. package/dist/editor.js +1 -1
  51. package/dist/export.cjs +2 -2
  52. package/dist/export.d.ts +12 -12
  53. package/dist/export.js +2 -2
  54. package/dist/{font-resolver-CPO7wtg6.d.ts → font-resolver-u_nE0PI1.d.ts} +5 -3
  55. package/dist/{headless-document-view-Cc3fFWhv.d.ts → headless-document-view-R9bzzepb.d.ts} +2 -2
  56. package/dist/{image-resources-DkuzBnTM.d.ts → image-resources-DfagDguq.d.ts} +1 -1
  57. package/dist/{index-BOkQYOsZ.d.ts → index-Docw8Dcb.d.ts} +333 -308
  58. package/dist/index.cjs +1 -1
  59. package/dist/index.d.ts +17 -17
  60. package/dist/index.js +1 -1
  61. package/dist/{layout-shaping-BOOxnLxF.d.ts → layout-shaping-DWitwY73.d.ts} +2 -2
  62. package/dist/layout.cjs +1 -1
  63. package/dist/layout.d.ts +99 -33
  64. package/dist/layout.js +1 -1
  65. package/dist/{note-properties-DMfKK3QU.d.ts → note-properties-CmfvOJsi.d.ts} +1 -1
  66. package/dist/{omml-equation-BY7OdfGY.d.ts → omml-equation-CZ6IG2ja.d.ts} +1 -1
  67. package/dist/output.cjs +1 -1
  68. package/dist/output.d.ts +7 -7
  69. package/dist/output.js +1 -1
  70. package/dist/{protocol-CPAakntQ.d.ts → protocol-DniKeDb8.d.ts} +71 -23
  71. package/dist/{review-paragraph-order-B0BP_wJP.d.ts → review-paragraph-order-Dc8Q6tfM.d.ts} +6 -2
  72. package/dist/{revision-projection-CVJeA2jp.d.ts → revision-projection-DfWxdBqA.d.ts} +1 -1
  73. package/dist/{semantic-cell-selection-BtO2s2Za.d.ts → semantic-cell-selection-Dy_BmmpL.d.ts} +25 -7
  74. package/dist/{semantic-interaction-COMnWyBQ.d.ts → semantic-interaction-CvFAj0GR.d.ts} +1 -1
  75. package/dist/{semantic-paint-C032N0ps.d.ts → semantic-paint-Bk9wIXdZ.d.ts} +2 -2
  76. package/dist/{semantic-records-BSjo-xck.d.ts → semantic-records-COqi8pjP.d.ts} +83 -76
  77. package/dist/store.cjs +1 -1
  78. package/dist/store.d.ts +90 -41
  79. package/dist/store.js +1 -1
  80. package/dist/{tree-package-fragment-BIyGh6L8.d.ts → tree-package-fragment-YPyYC1aD.d.ts} +9 -4
  81. package/dist/{tree-session-contract-CHcCnz3W.d.ts → tree-session-contract-AeY2v0x9.d.ts} +8 -6
  82. package/dist/{types-barrel-DN_-gaRX.d.ts → types-barrel-BO73JqHG.d.ts} +44 -30
  83. package/package.json +4 -4
  84. package/dist/chunk-3OMDEMLL.js +0 -1
  85. package/dist/chunk-6CPYOVRT.cjs +0 -1
  86. package/dist/chunk-AKF5KM2W.cjs +0 -4
  87. package/dist/chunk-BOGQGMMU.cjs +0 -1
  88. package/dist/chunk-CVNDMQIX.cjs +0 -26
  89. package/dist/chunk-DF7F7TNU.cjs +0 -1
  90. package/dist/chunk-G765WG4R.js +0 -1
  91. package/dist/chunk-IEXYOLNR.cjs +0 -5
  92. package/dist/chunk-J3EM5ZEA.js +0 -18
  93. package/dist/chunk-JNE6QF47.js +0 -26
  94. package/dist/chunk-JQTVFP72.cjs +0 -2
  95. package/dist/chunk-JXL25DRU.js +0 -11
  96. package/dist/chunk-KPSGB64S.js +0 -1
  97. package/dist/chunk-P4SBMHHO.cjs +0 -5
  98. package/dist/chunk-QQAF64KN.js +0 -5
  99. package/dist/chunk-SI5FLZGU.js +0 -4
  100. package/dist/chunk-SOUJNWXV.js +0 -1
  101. package/dist/chunk-T4TKRNZT.cjs +0 -11
  102. package/dist/chunk-TBFZZX7Z.cjs +0 -1
  103. package/dist/chunk-VPKKYCZI.cjs +0 -2
  104. package/dist/chunk-W3ZUPQIZ.cjs +0 -18
  105. package/dist/chunk-XMWH2R23.js +0 -5
  106. package/dist/chunk-XWXJB4J7.js +0 -1
  107. package/dist/chunk-YIBEBHT3.js +0 -2
  108. package/dist/chunk-ZSM6X52G.cjs +0 -1
  109. package/dist/chunk-ZXAGLAY2.js +0 -2
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-SI5FLZGU.js';export{a as setHarfBuzzWasmUrl}from'./chunk-RIYSCEFQ.js';export{J as AUTO_PARAGRAPH_SPACING_PT,ud as AUTO_PREFERRED_WIDTH,vd as CELL_PAD,D as COMPOUND_BORDER_MIN_GAP_PT,C as COMPOUND_BORDER_MIN_STROKE_PT,wd as DEFAULT_CELL_MARGINS,Ia as DEFAULT_PAGE_GEOMETRY,Ra as DEFAULT_REVISION_DISPLAY_MODE,Z as DEFAULT_RUN_STYLE,Hc as DEFAULT_SECTION_PROPERTIES,Jb as DEFAULT_TAB_INTERVAL_PT,Ib as DEFAULT_TAB_INTERVAL_TWIPS,Hd as DEFAULT_VERTICAL_WEIGHT,hd as EMPTY_NUMBERING_INDEX,Lb as EMPTY_TAB_STOPS,e as FontResolutionError,ga as GRAPHEME_SEGMENTER_LOCALE,d as HARD_MAX_AGGREGATE_FONT_BYTES,b as HARD_MAX_FONT_BYTES,c as HARD_MAX_FONT_SOURCES,I as MAX_BORDER_SPACE_PT,H as MAX_BORDER_WIDTH_PT,Gc as MAX_DOCUMENT_SECTIONS,Ae as MAX_EACH_PAGE_MARK_CANDIDATES,ed as MAX_LVL_OVERRIDES,rb as MAX_LVL_TEXT_LENGTH,qb as MAX_MARKER_TEXT_LENGTH,me as MAX_NOTES_LAID_OUT,ne as MAX_NOTE_FRAGMENTS,ze as MAX_NOTE_OVERFLOW_PAGES,ye as MAX_NOTE_REFLOW_ATTEMPTS,dd as MAX_NUMBERING_DEFINITIONS,G as MAX_PARAGRAPH_SPACING_PT,p as MAX_SHAPING_CONTEXT,Wb as MAX_STYLE_BASED_ON_DEPTH,bc as MAX_STYLE_DEFINITIONS,md as MAX_TABLE_BORDER_STROKES,zd as MAX_TABLE_NESTING,Zd as MAX_TABLE_ROW_FRAGMENTS,Ad as MAX_TABLE_ROW_HEIGHT_PT,Hb as MAX_TAB_POSITION_TWIPS,Gb as MAX_TAB_STOPS,Cc as PAGE_BORDER_SIDES,L as PARAGRAPH_BORDER_SIDES,K as SINGLE_LINE_SPACING,Kb as TAB_LEADER_GLYPH,_d as TablePaginationError,qa as UnsupportedScriptError,Y as appliedSpaceBefore,P as applyLineSpacing,Fe as attachNotesToLayout,ca as baselineShiftPtOf,td as borderExtentPt,qd as borderWeight,V as bottomBorderExtentPt,m as boundedStructuralFontValidator,fd as buildNumberingIndex,Ce as buildPageRefIndex,cc as buildStyleCascadeTable,Ye as caretAt,Rd as caretBoxOnLine,We as caretStops,Xe as caretStopsForBlocks,dc as cascadeParagraphFormatting,fc as cascadeRunProperties,ec as cascadedBottomBorder,S as cascadedParagraphBorders,Mb as cascadedTabStops,sb as clampListValue,X as collapsedSpaceBefore,df as compositionAnchor,E as computeDoubleBorderMetricsPt,Ee as computeFootnoteReserves,Od as contentControlAtPoint,_e as contentControlAtSemantic,ke as contentControlHoldingParagraph,je as contentControlRecordsInPart,$e as contentControlsInLayout,Fa as contentControlsOfLayout,ce as createDocumentFurnitureSource,fe as createDocumentLinkProjectors,de as createDocumentNotesInput,id as createDocumentStyleDependencies,ge as createFieldLinkRegistry,fa as createFixedMeasurer,n as createFontResourceSnapshot,He as createLayoutSession,ic as createListCounterState,gb as createParagraphLayoutCache,t as createShapedRun,q as createShapingEnvironment,te as defaultNoteSeparatorRuleStyle,Pb as defaultTabIntervalFromSettings,bf as deletedTextBoundaries,zc as deriveNoteDisplayMarks,Ac as deriveNoteDisplayMarksResolved,$ as displayText,Oa as documentOrder,ee as documentRelationshipTargetIn,ld as effectiveBorderSide,Ha as effectiveContentControlLock,Db as emptyTocPlaceholderParagraphIds,Eb as emptyTocSuppressedResultParagraphIds,Nc as enumerateDocumentSections,Pc as enumerateDocumentSectionsBounded,Pa as everyStoryOrder,Ab as expandLvlText,De as filterRefsOnPage,Sd as findDrawingOverlayFrameInLayout,qe as findSeparatorNote,o as fixedPoint,i as fontRequestKey,Ba as forEachSemanticDrawing,za as forEachSemanticStory,Ca as forEachStoryParagraphFragment,tb as formatDecimal,ub as formatDecimalZero,yb as formatLowerLetter,wb as formatLowerRoman,zb as formatNumFmt,Wc as formatPageNumber,$a as formatRevisionOf,xb as formatUpperLetter,vb as formatUpperRoman,Be as fragmentOwnsAtomOffset,Da as fragmentsOfParagraph,Qc as geometryOfSection,da as glyphSizeFactorOf,ja as graphemeBoundaryEpoch,na as graphemeCount,pa as graphemeOffsetToUtf16,Ld as hitTestPage,Ze as hitTestSemantic,Nd as hitTestSheet,ia as intlGraphemeBoundary,Jd as isFurniturePoint,ha as isIntlSegmenterAvailable,ue as isMarkerOnlySeparatorNote,Vb as isValidStyleId,ra as itemizeScriptFontSlots,Re as keyedRangeRects,$b as layoutEquation,be as layoutHeaderFooterStory,se as layoutNoteById,ve as layoutNoteSeparator,re as layoutNoteStory,Ie as layoutSemanticDocument,Ea as lineAtPosition,Pd as lineEndOffset,Ja as lineSegments,wa as linesOf,nc as listMarkerBox,a as mapSymbolPuaText,Za as markRevisionRemovesMark,aa as measureDisplayText,rc as mergeListIndent,cf as moveCaret,Qb as nextTabDestination,pe as normalNotesOf,Bc as noteDisplayMarkMap,oe as noteLineIdPrefix,ad as noteMarkKey,xe as noteSeparatorAreaBox,le as noteSeparatorRuleBox,yc as noteStoryBlocks,Id as pageAtY,ie as pageBorderFrame,Ec as pageBordersFingerprint,U as paragraphBorderExtentPt,T as paragraphBorderStrokeWidthPt,R as paragraphBorders,W as paragraphBordersFingerprint,F as paragraphBreaksBefore,Q as paragraphContextualSpacing,ua as paragraphFragmentsOf,va as paragraphFragmentsOfBlocks,fb as paragraphLayoutKey,O as paragraphLineSpacing,jc as paragraphMarkDeleted,Xa as paragraphMarkFormatRevisionOf,_a as paragraphMarkRevisionOf,Wa as paragraphMarkRevisionsOf,Lc as paragraphSectionNode,y as paragraphShading,z as paragraphShadingBox,N as paragraphSpacing,Nb as paragraphTabStops,af as paragraphTextFromLayout,Bb as parseAutonumInstruction,Dc as parsePageBorders,Ic as parsePageNumbering,pb as parseRefInstruction,Jc as parseSectionProperties,Le as positionPastDeletion,bd as projectedNoteMarkText,Oc as projectedSectionSourceIndexes,Ge as provisionalNoteMarks,nd as readBorderSide,pd as readCellBorders,pc as readNumPr,Mc as readSectionProperties,od as readTableBorders,Bd as readTableStructure,ma as resetGraphemeBoundary,rd as resolveBorderConflict,gd as resolveNumberingLevel,w as resolveOoxmlShadingFill,gc as resolveParagraphLayoutInputs,_ as resolveRunStyle,tc as resolveStoryListItems,Tc as resolveStoryRefFields,v as resolveStrictHexFill,sd as resolveTableCellBorderGrid,Ua as revisionAuthorFilter,lc as revisionRemovesParagraph,ab as revisionsAreDeletion,Va as revisionsVisible,Ub as runBorderStrokesForLine,ba as runStylesEqual,ka as segmentGraphemes,Pe as selectionRects,la as setGraphemeBoundary,x as shadingFillFromElement,u as shapedRunComparatorInputs,s as shapingEnvironmentFingerprint,r as shapingEnvironmentFingerprintInputs,Ya as shownMarkRevision,Qd as spanOffsetX,ef as spansInSelection,xc as storyBlocks,sa as styleForFontSlot,we as syntheticSeparatorBox,Rb as tabAdvanceWidth,Sb as tabStopsFingerprint,yd as tableOriginX,Cb as tocFieldChromeParagraphIds,Ga as unionLayoutBoxes,oa as utf16OffsetToGrapheme,sc as walkStoryParagraphs,Ob as withDefaultTabInterval,qc as withNumberingStyleLinks,uc as withResolvedListItems,Me as wordBoundary}from'./chunk-J3EM5ZEA.js';import'./chunk-XWXJB4J7.js';export{ra as activeReviewItem,ta as commentBodyText,ua as commentInitials,oa as firstReviewRange,ma as reviewItemKey,pa as reviewItemPositionRank,na as reviewItemRanges,qa as reviewItemsAt,sa as reviewThreadRootOf}from'./chunk-XMWH2R23.js';export{sc as MAX_SDT_NESTING,hi as MAX_TABLE_COLUMNS,ah as W15_NAMESPACE_URI,xc as collectFlowBlocks,wc as contentControlContentChildren,tc as isContentControl,uc as isContentControlContent,Li as paragraphOrderOfPart,a as sha256FontBytes}from'./chunk-JXL25DRU.js';
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-EEAV3WIN.js';export{a as setHarfBuzzWasmUrl}from'./chunk-RIYSCEFQ.js';export{I as AUTO_PARAGRAPH_SPACING_PT,yd as AUTO_PREFERRED_WIDTH,zd as CELL_PAD,C as COMPOUND_BORDER_MIN_GAP_PT,B as COMPOUND_BORDER_MIN_STROKE_PT,Ad as DEFAULT_CELL_MARGINS,sa as DEFAULT_PAGE_GEOMETRY,Ra as DEFAULT_REVISION_DISPLAY_MODE,Y as DEFAULT_RUN_STYLE,Lc as DEFAULT_SECTION_PROPERTIES,Kb as DEFAULT_TAB_INTERVAL_PT,Jb as DEFAULT_TAB_INTERVAL_TWIPS,Nd as DEFAULT_VERTICAL_WEIGHT,ld as EMPTY_NUMBERING_INDEX,Mb as EMPTY_TAB_STOPS,d as FontResolutionError,fa as GRAPHEME_SEGMENTER_LOCALE,c as HARD_MAX_AGGREGATE_FONT_BYTES,a as HARD_MAX_FONT_BYTES,b as HARD_MAX_FONT_SOURCES,H as MAX_BORDER_SPACE_PT,G as MAX_BORDER_WIDTH_PT,Kc as MAX_DOCUMENT_SECTIONS,Ge as MAX_EACH_PAGE_MARK_CANDIDATES,id as MAX_LVL_OVERRIDES,sb as MAX_LVL_TEXT_LENGTH,rb as MAX_MARKER_TEXT_LENGTH,se as MAX_NOTES_LAID_OUT,te as MAX_NOTE_FRAGMENTS,Fe as MAX_NOTE_OVERFLOW_PAGES,Ee as MAX_NOTE_REFLOW_ATTEMPTS,hd as MAX_NUMBERING_DEFINITIONS,F as MAX_PARAGRAPH_SPACING_PT,o as MAX_SHAPING_CONTEXT,Yb as MAX_STYLE_BASED_ON_DEPTH,fc as MAX_STYLE_DEFINITIONS,qd as MAX_TABLE_BORDER_STROKES,Ed as MAX_TABLE_NESTING,de as MAX_TABLE_ROW_FRAGMENTS,Fd as MAX_TABLE_ROW_HEIGHT_PT,Ib as MAX_TAB_POSITION_TWIPS,Hb as MAX_TAB_STOPS,Gc as PAGE_BORDER_SIDES,K as PARAGRAPH_BORDER_SIDES,J as SINGLE_LINE_SPACING,Lb as TAB_LEADER_GLYPH,ee as TablePaginationError,pa as UnsupportedScriptError,X as appliedSpaceBefore,O as applyLineSpacing,Le as attachNotesToLayout,ba as baselineShiftPtOf,xd as borderExtentPt,ud as borderWeight,U as bottomBorderExtentPt,l as boundedStructuralFontValidator,jd as buildNumberingIndex,Ie as buildPageRefIndex,gc as buildStyleCascadeTable,df as caretAt,Xd as caretBoxOnLine,bf as caretStops,cf as caretStopsForBlocks,hc as cascadeParagraphFormatting,jc as cascadeRunProperties,ic as cascadedBottomBorder,R as cascadedParagraphBorders,Nb as cascadedTabStops,tb as clampListValue,W as collapsedSpaceBefore,kf as compositionAnchor,D as computeDoubleBorderMetricsPt,Ke as computeFootnoteReserves,Ud as contentControlAtPoint,ff as contentControlAtSemantic,qe as contentControlHoldingParagraph,pe as contentControlRecordsInPart,gf as contentControlsInLayout,Fa as contentControlsOfLayout,ie as createDocumentFurnitureSource,le as createDocumentLinkProjectors,je as createDocumentNotesInput,md as createDocumentStyleDependencies,me as createFieldLinkRegistry,ea as createFixedMeasurer,m as createFontResourceSnapshot,Ne as createLayoutSession,mc as createListCounterState,hb as createParagraphLayoutCache,s as createShapedRun,p as createShapingEnvironment,ze as defaultNoteSeparatorRuleStyle,Qb as defaultTabIntervalFromSettings,if as deletedTextBoundaries,Dc as deriveNoteDisplayMarks,Ec as deriveNoteDisplayMarksResolved,_ as displayText,Oa as documentOrder,ke as documentRelationshipTargetIn,pd as effectiveBorderSide,Ha as effectiveContentControlLock,Eb as emptyTocPlaceholderParagraphIds,Fb as emptyTocSuppressedResultParagraphIds,Rc as enumerateDocumentSections,Tc as enumerateDocumentSectionsBounded,Pa as everyStoryOrder,Bb as expandLvlText,Je as filterRefsOnPage,Yd as findDrawingOverlayFrameInLayout,we as findSeparatorNote,n as fixedPoint,h as fontRequestKey,Ba as forEachSemanticDrawing,za as forEachSemanticStory,Ca as forEachStoryParagraphFragment,ub as formatDecimal,vb as formatDecimalZero,zb as formatLowerLetter,xb as formatLowerRoman,Ab as formatNumFmt,_c as formatPageNumber,$a as formatRevisionOf,yb as formatUpperLetter,wb as formatUpperRoman,He as fragmentOwnsAtomOffset,Da as fragmentsOfParagraph,Uc as geometryOfSection,ca as glyphSizeFactorOf,ia as graphemeBoundaryEpoch,ma as graphemeCount,oa as graphemeOffsetToUtf16,Rd as hitTestPage,ef as hitTestSemantic,Td as hitTestSheet,ha as intlGraphemeBoundary,Pd as isFurniturePoint,ga as isIntlSegmenterAvailable,Ae as isMarkerOnlySeparatorNote,Xb as isValidStyleId,qa as itemizeScriptFontSlots,Ye as keyedRangeRects,bc as layoutEquation,he as layoutHeaderFooterStory,ye as layoutNoteById,Be as layoutNoteSeparator,xe as layoutNoteStory,Oe as layoutSemanticDocument,Ea as lineAtPosition,Vd as lineEndOffset,Ia as lineSegments,wa as linesOf,rc as listMarkerBox,Za as markRevisionRemovesMark,$ as measureDisplayText,vc as mergeListIndent,jf as moveCaret,Rb as nextTabDestination,ve as normalNotesOf,Fc as noteDisplayMarkMap,ue as noteLineIdPrefix,ed as noteMarkKey,De as noteSeparatorAreaBox,re as noteSeparatorRuleBox,Cc as noteStoryBlocks,Od as pageAtY,oe as pageBorderFrame,Ic as pageBordersFingerprint,T as paragraphBorderExtentPt,S as paragraphBorderStrokeWidthPt,Q as paragraphBorders,V as paragraphBordersFingerprint,E as paragraphBreaksBefore,P as paragraphContextualSpacing,ua as paragraphFragmentsOf,va as paragraphFragmentsOfBlocks,gb as paragraphLayoutKey,N as paragraphLineSpacing,nc as paragraphMarkDeleted,Xa as paragraphMarkFormatRevisionOf,_a as paragraphMarkRevisionOf,Wa as paragraphMarkRevisionsOf,Pc as paragraphSectionNode,x as paragraphShading,y as paragraphShadingBox,M as paragraphSpacing,Ob as paragraphTabStops,hf as paragraphTextFromLayout,Cb as parseAutonumInstruction,Hc as parsePageBorders,Mc as parsePageNumbering,qb as parseRefInstruction,Nc as parseSectionProperties,Re as positionPastDeletion,fd as projectedNoteMarkText,Sc as projectedSectionSourceIndexes,Me as provisionalNoteMarks,rd as readBorderSide,td as readCellBorders,tc as readNumPr,Qc as readSectionProperties,sd as readTableBorders,Gd as readTableStructure,la as resetGraphemeBoundary,vd as resolveBorderConflict,kd as resolveNumberingLevel,v as resolveOoxmlShadingFill,kc as resolveParagraphLayoutInputs,Z as resolveRunStyle,xc as resolveStoryListItems,Xc as resolveStoryRefFields,u as resolveStrictHexFill,wd as resolveTableCellBorderGrid,Ua as revisionAuthorFilter,pc as revisionRemovesParagraph,ab as revisionsAreDeletion,Va as revisionsVisible,Wb as runBorderStrokesForLine,aa as runStylesEqual,ja as segmentGraphemes,We as selectionRects,ka as setGraphemeBoundary,w as shadingFillFromElement,t as shapedRunComparatorInputs,r as shapingEnvironmentFingerprint,q as shapingEnvironmentFingerprintInputs,Ya as shownMarkRevision,Wd as spanOffsetX,lf as spansInSelection,Bc as storyBlocks,ra as styleForFontSlot,Ce as syntheticSeparatorBox,Sb as tabAdvanceWidth,Tb as tabStopsFingerprint,Dd as tableOriginX,Db as tocFieldChromeParagraphIds,Ga as unionLayoutBoxes,na as utf16OffsetToGrapheme,wc as walkStoryParagraphs,Pb as withDefaultTabInterval,uc as withNumberingStyleLinks,yc as withResolvedListItems,Se as wordBoundary}from'./chunk-XSHXBJ2J.js';import'./chunk-73PG6L2X.js';export{ya as activeReviewItem,Ha as commentBodyText,Ja as commentInitials,va as firstReviewRange,d as mapSymbolPuaText,ta as reviewItemKey,wa as reviewItemPositionRank,ua as reviewItemRanges,xa as reviewItemsAt,za as reviewThreadRootOf}from'./chunk-L6V3IJ3S.js';export{Ec as MAX_SDT_NESTING,Ki as MAX_TABLE_COLUMNS,Ch as W15_NAMESPACE_URI,Jc as collectFlowBlocks,Ic as contentControlContentChildren,Fc as isContentControl,Gc as isContentControlContent,nj as paragraphOrderOfPart,a as sha256FontBytes}from'./chunk-DDGGSBAN.js';
@@ -1,4 +1,4 @@
1
- import { O as OoxmlPart, N as OoxmlNode, Q as OoxmlPackage } from './types-barrel-DN_-gaRX.js';
1
+ import { O as OoxmlPart, N as OoxmlNode, Q as OoxmlPackage } from './types-barrel-BO73JqHG.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-DN_-gaRX.js';
1
+ import { U as OoxmlNodeId, V as OoxmlGenericElementNode, N as OoxmlNode } from './types-barrel-BO73JqHG.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";
package/dist/output.cjs CHANGED
@@ -1 +1 @@
1
- 'use strict';var chunkVPKKYCZI_cjs=require('./chunk-VPKKYCZI.cjs');require('./chunk-AKF5KM2W.cjs'),require('./chunk-W3ZUPQIZ.cjs'),require('./chunk-TBFZZX7Z.cjs'),require('./chunk-P4SBMHHO.cjs'),require('./chunk-T4TKRNZT.cjs');Object.defineProperty(exports,"DEFAULT_FIELD_SHADING",{enumerable:true,get:function(){return chunkVPKKYCZI_cjs.j}});Object.defineProperty(exports,"paintSelectionOverlay",{enumerable:true,get:function(){return chunkVPKKYCZI_cjs.o}});Object.defineProperty(exports,"paintSemanticLayout",{enumerable:true,get:function(){return chunkVPKKYCZI_cjs.m}});
1
+ 'use strict';var chunkNS22DVWT_cjs=require('./chunk-NS22DVWT.cjs');require('./chunk-TKR2MXX4.cjs'),require('./chunk-UJL2GDIM.cjs'),require('./chunk-CYT3OQFZ.cjs'),require('./chunk-SUN62YU6.cjs'),require('./chunk-ANZ44KQT.cjs');Object.defineProperty(exports,"DEFAULT_FIELD_SHADING",{enumerable:true,get:function(){return chunkNS22DVWT_cjs.j}});Object.defineProperty(exports,"paintSelectionOverlay",{enumerable:true,get:function(){return chunkNS22DVWT_cjs.o}});Object.defineProperty(exports,"paintSemanticLayout",{enumerable:true,get:function(){return chunkNS22DVWT_cjs.m}});
package/dist/output.d.ts CHANGED
@@ -1,11 +1,11 @@
1
- import { R as ReviewAuthorInfo } from './semantic-paint-C032N0ps.js';
2
- export { D as DEFAULT_FIELD_SHADING, F as FieldShadingMode, P as PaintOptions, a as RevisionAuthorAssignments, b as RevisionAuthorStyle, c as RevisionStyles, p as paintSemanticLayout } from './semantic-paint-C032N0ps.js';
3
- import { S as SemanticLayout } from './semantic-records-BSjo-xck.js';
4
- import './image-resources-DkuzBnTM.js';
5
- import './types-barrel-DN_-gaRX.js';
1
+ import { R as ReviewAuthorInfo } from './semantic-paint-Bk9wIXdZ.js';
2
+ export { D as DEFAULT_FIELD_SHADING, F as FieldShadingMode, P as PaintOptions, a as RevisionAuthorAssignments, b as RevisionAuthorStyle, c as RevisionStyles, p as paintSemanticLayout } from './semantic-paint-Bk9wIXdZ.js';
3
+ import { S as SemanticLayout } from './semantic-records-COqi8pjP.js';
4
+ import './image-resources-DfagDguq.js';
5
+ import './types-barrel-BO73JqHG.js';
6
6
  import './editor-scope-OHPwVQ5l.js';
7
- import './revision-projection-CVJeA2jp.js';
8
- import './omml-equation-BY7OdfGY.js';
7
+ import './revision-projection-DfWxdBqA.js';
8
+ import './omml-equation-CZ6IG2ja.js';
9
9
 
10
10
  /** A rectangle in page-content coordinates, on a named page. */
11
11
  interface OverlayRect {
package/dist/output.js CHANGED
@@ -1 +1 @@
1
- export{j as DEFAULT_FIELD_SHADING,o as paintSelectionOverlay,m as paintSemanticLayout}from'./chunk-YIBEBHT3.js';import'./chunk-SI5FLZGU.js';import'./chunk-RIYSCEFQ.js';import'./chunk-J3EM5ZEA.js';import'./chunk-XWXJB4J7.js';import'./chunk-XMWH2R23.js';import'./chunk-JXL25DRU.js';
1
+ export{j as DEFAULT_FIELD_SHADING,o as paintSelectionOverlay,m as paintSemanticLayout}from'./chunk-AN6WM4X4.js';import'./chunk-EEAV3WIN.js';import'./chunk-RIYSCEFQ.js';import'./chunk-XSHXBJ2J.js';import'./chunk-73PG6L2X.js';import'./chunk-L6V3IJ3S.js';import'./chunk-DDGGSBAN.js';
@@ -1,5 +1,14 @@
1
- import { a6 as AutomationTableMutation, _ as RevisionBatchResult } from './types-barrel-DN_-gaRX.js';
2
- import { H as HeaderFooterVariant, N as NoteKind } from './tree-package-fragment-BIyGh6L8.js';
1
+ import { a6 as AutomationTableMutation, a3 as RevisionBatchResult } from './types-barrel-BO73JqHG.js';
2
+ import { e as HeaderFooterVariant, N as NoteKind } from './tree-package-fragment-YPyYC1aD.js';
3
+
4
+ /** Word's shape types, as `Word.ShapeType` spells them. */
5
+ type AutomationShapeType = 'TextBox' | 'GeometricShape' | 'Picture' | 'Group' | 'Canvas' | 'Unsupported';
6
+ /** What a shape read answers. */
7
+ interface AutomationShapeRead {
8
+ readonly id: number;
9
+ readonly name: string;
10
+ readonly type: AutomationShapeType;
11
+ }
3
12
 
4
13
  interface AutomationInlinePictureRead {
5
14
  readonly width: number;
@@ -96,6 +105,26 @@ interface AutomationParagraphFormatWrite {
96
105
  readonly widowControl?: boolean;
97
106
  }
98
107
 
108
+ declare const MEMBERS: {
109
+ readonly author: readonly ["http://purl.org/dc/elements/1.1/", 'creator'];
110
+ readonly title: readonly ["http://purl.org/dc/elements/1.1/", 'title'];
111
+ readonly subject: readonly ["http://purl.org/dc/elements/1.1/", 'subject'];
112
+ readonly comments: readonly ["http://purl.org/dc/elements/1.1/", 'description'];
113
+ readonly keywords: readonly ["http://schemas.openxmlformats.org/package/2006/metadata/core-properties", 'keywords'];
114
+ readonly category: readonly ["http://schemas.openxmlformats.org/package/2006/metadata/core-properties", 'category'];
115
+ };
116
+ declare const READ_MEMBERS: {
117
+ readonly author: readonly ["http://purl.org/dc/elements/1.1/", 'creator'];
118
+ readonly title: readonly ["http://purl.org/dc/elements/1.1/", 'title'];
119
+ readonly subject: readonly ["http://purl.org/dc/elements/1.1/", 'subject'];
120
+ readonly comments: readonly ["http://purl.org/dc/elements/1.1/", 'description'];
121
+ readonly keywords: readonly ["http://schemas.openxmlformats.org/package/2006/metadata/core-properties", 'keywords'];
122
+ readonly category: readonly ["http://schemas.openxmlformats.org/package/2006/metadata/core-properties", 'category'];
123
+ readonly lastAuthor: readonly ["http://schemas.openxmlformats.org/package/2006/metadata/core-properties", 'lastModifiedBy'];
124
+ };
125
+ type DocumentPropertyName = keyof typeof READ_MEMBERS;
126
+ type DocumentPropertyWrites = Partial<Record<keyof typeof MEMBERS, string>>;
127
+
99
128
  type AutomationListBullet = 'Custom' | 'Solid' | 'Hollow' | 'Square' | 'Diamonds' | 'Arrow' | 'Checkmark';
100
129
  type AutomationListNumbering = 'None' | 'Arabic' | 'UpperRoman' | 'LowerRoman' | 'UpperLetter' | 'LowerLetter';
101
130
  interface AutomationListLevelFormat {
@@ -136,6 +165,12 @@ type AutomationAuthoringOperation = {
136
165
  } | {
137
166
  readonly op: 'getTableCells';
138
167
  readonly row: AutomationHandle;
168
+ } | {
169
+ readonly op: 'insertTableRows';
170
+ readonly row: AutomationHandle;
171
+ readonly location: 'before' | 'after';
172
+ readonly count: number;
173
+ readonly values?: readonly (readonly string[])[];
139
174
  } | {
140
175
  readonly op: 'getTableCell';
141
176
  readonly table: AutomationHandle;
@@ -149,12 +184,16 @@ type AutomationAuthoringOperation = {
149
184
  readonly table: AutomationHandle;
150
185
  readonly mutation: Exclude<AutomationTableMutation, {
151
186
  kind: 'cell';
187
+ } | {
188
+ kind: 'insertRows';
152
189
  }>;
153
190
  } | {
154
191
  readonly op: 'updateTableCell';
155
192
  readonly cell: AutomationHandle;
156
193
  readonly properties: Omit<Extract<AutomationTableMutation, {
157
194
  kind: 'cell';
195
+ } | {
196
+ kind: 'insertRows';
158
197
  }>, 'kind' | 'cellId'>;
159
198
  } | {
160
199
  readonly op: 'insertTable';
@@ -163,6 +202,21 @@ type AutomationAuthoringOperation = {
163
202
  readonly rowCount: number;
164
203
  readonly columnCount: number;
165
204
  readonly values?: readonly (readonly string[])[];
205
+ }
206
+ /** The floating shapes anchored in a span's paragraphs, in reading order. */
207
+ | {
208
+ readonly op: 'getShapes';
209
+ readonly span: AutomationSpanRef;
210
+ /** Only shapes of these types. Absent lists every type. */
211
+ readonly types?: readonly AutomationShapeType[];
212
+ } | {
213
+ readonly op: 'getShape';
214
+ readonly shape: AutomationHandle;
215
+ }
216
+ /** A text box's own story. Any other shape has no body and refuses. */
217
+ | {
218
+ readonly op: 'getShapeBody';
219
+ readonly shape: AutomationHandle;
166
220
  } | {
167
221
  readonly op: 'getInlinePictures';
168
222
  readonly span: AutomationSpanRef;
@@ -377,6 +431,15 @@ type AutomationOperation = AutomationAuthoringOperation | {
377
431
  /** The document itself — the root every other handle is reached through. */
378
432
  | {
379
433
  readonly op: 'getDocument';
434
+ } | {
435
+ readonly op: 'removeDocumentInformation';
436
+ readonly removeDocInfoType: string;
437
+ } | {
438
+ readonly op: 'getDocumentProperty';
439
+ readonly name: DocumentPropertyName;
440
+ } | {
441
+ readonly op: 'setDocumentProperties';
442
+ readonly values: DocumentPropertyWrites;
380
443
  }
381
444
  /** The main story of a document. */
382
445
  | {
@@ -634,6 +697,7 @@ type AutomationOperation = AutomationAuthoringOperation | {
634
697
  readonly op: 'getNotes';
635
698
  readonly document: AutomationHandle;
636
699
  readonly noteKind: NoteKind;
700
+ readonly scope?: AutomationHandle;
637
701
  }
638
702
  /** One note's story, as a BODY. Two notes in one part are two stories. */
639
703
  | {
@@ -1204,24 +1268,6 @@ interface AutomationCustomNodePayload {
1204
1268
  }
1205
1269
  /** Just the `op` discriminants of {@link AutomationOperation}, for dispatch tables. */
1206
1270
  type AutomationOperationKind = AutomationOperation['op'];
1207
- /** Operations that read. They never open a transaction. */
1208
- declare const AUTOMATION_QUERY_OPERATIONS: readonly ["getTables", "getTable", "getTableRows", "getTableCells", "getTableCell", "getTableCellProperties", "getTableCellBody", "getFields", "getField", "getInlinePictures", "getInlinePicture", "getChangeTrackingMode", "getDocument", "getBody", "getParagraphs", "getRange", "getSpanParagraphs", "getText", "getSpanText", "getParagraphId", "search", "getFont", "getParagraphFormat", "getStyle", "getSections", "getPageSetup", "getFurniture", "getNotes", "getNoteBody", "getNoteText", "getNoteKind", "getLists", "getListId", "getListById", "getListParagraphs", "getParagraphList", "getListLevel", "getHyperlink", "getBookmarks", "getBookmarkName", "getBookmarkRange", "getComments", "getCommentReplies", "getCommentId", "getCommentAuthor", "getCommentDate", "getCommentText", "getCommentRange", "getCommentResolved", "getRevisions", "getRevisionType", "getRevisionAuthor", "getRevisionDate", "getRevisionRange", "getContentControls", "getContentControlById", "getContentControlsByTag", "getContentControlsByTitle", "getContentControlTag", "getContentControlTitle", "getContentControlFileId", "getContentControlSubtype", "getContentControlLock", "getContentControlIsBound", "getContentControlPlaceholderShown", "getContentControlTemporary", "getContentControlText", "getContentControlParagraphs", "getContentControlRange"];
1209
- /** Operations that write. Every one of these goes through the single transaction path. */
1210
- declare const AUTOMATION_COMMAND_OPERATIONS: readonly ["insertTable", "updateTable", "updateTableCell", "setInlinePicture", "deleteInlinePicture", "insertField", "setFieldCode", "deleteField", "updateFieldResult", "insertInlinePicture", "insertBreak", "setChangeTrackingMode", "proposeInsertion", "proposeDeletion", "proposeReplacement", "insertText", "replaceSpan", "replaceStoryBlocks", "insertParagraph", "splitParagraph", "deleteParagraph", "selectSpan", "selectBookmark", "setFont", "setParagraphFormat", "setStyle", "setPageSetup", "deleteNote", "setListLevel", "startNewList", "attachToList", "detachFromList", "setListLevelFormat", "insertListParagraph", "setHyperlink", "insertComment", "setCommentResolved", "replyToComment", "deleteComment", "acceptRevision", "rejectRevision", "resolveRevisionBatch", "acceptAllRevisions", "rejectAllRevisions", "setContentControlValue", "setContentControlProperties", "deleteContentControl", "insertContentControlText", "insertContentControl", "insertCustomNode"];
1211
- /**
1212
- * Commands that commit as a PACKAGE transaction and therefore share a batch with nothing.
1213
- *
1214
- * A note's lifecycle rewrites several parts at once — the notes part, the references in every
1215
- * story that cited it, the relationship and the content-type override — and the store publishes
1216
- * that as its own undo unit rather than as ops inside a story transaction. Two of them, or one
1217
- * beside a story command, would be two commits: two revisions, and a moment where half the
1218
- * caller's batch is published. Refused while planning instead.
1219
- */
1220
- declare const AUTOMATION_SOLITARY_OPERATIONS: readonly ["resolveRevisionBatch", "insertTable", "insertInlinePicture", "insertBreak", "startNewList", "deleteNote", "insertComment", "setCommentResolved", "replyToComment", "insertCustomNode"];
1221
- /** Whether an operation must be the only one in its batch. */
1222
- declare function isSolitaryAutomationCommand(operation: AutomationOperation): boolean;
1223
- /** Whether an operation writes. Drives the query/command split inside one batch. */
1224
- declare function isAutomationCommand(operation: AutomationOperation): boolean;
1225
1271
 
1226
1272
  /**
1227
1273
  * What kind of document object a handle names.
@@ -1229,7 +1275,7 @@ declare function isAutomationCommand(operation: AutomationOperation): boolean;
1229
1275
  * `body` is one STORY — the main body, a header or footer variant of a section, or one note — so
1230
1276
  * every object reached through a body is reached in a named story rather than in "the document".
1231
1277
  */
1232
- type AutomationObjectKind = 'document' | 'body' | 'paragraph' | 'section' | 'note' | 'comment' | 'revision' | 'bookmark' | 'list' | 'contentControl' | 'table' | 'tableRow' | 'tableCell' | 'field' | 'inlinePicture';
1278
+ type AutomationObjectKind = 'document' | 'body' | 'paragraph' | 'section' | 'note' | 'comment' | 'revision' | 'bookmark' | 'list' | 'contentControl' | 'table' | 'tableRow' | 'tableCell' | 'field' | 'inlinePicture' | 'shape';
1233
1279
  declare const AUTOMATION_HANDLE_BRAND: unique symbol;
1234
1280
  /**
1235
1281
  * An opaque host-minted name for a document object.
@@ -1394,6 +1440,9 @@ type AutomationValue = {
1394
1440
  } | {
1395
1441
  readonly kind: 'inlinePicture';
1396
1442
  readonly picture: AutomationInlinePictureRead;
1443
+ } | {
1444
+ readonly kind: 'shape';
1445
+ readonly shape: AutomationShapeRead;
1397
1446
  } | {
1398
1447
  readonly kind: 'handle';
1399
1448
  readonly handle: AutomationHandle;
@@ -1558,5 +1607,4 @@ interface AutomationHost {
1558
1607
  dispose(): void;
1559
1608
  }
1560
1609
 
1561
- export { isAutomationCommand as N, isSolitaryAutomationCommand as O, AUTOMATION_COMMAND_OPERATIONS as b, AUTOMATION_QUERY_OPERATIONS as c, AUTOMATION_SOLITARY_OPERATIONS as d };
1562
- export type { AutomationCapabilities as A, AutomationParagraphFormatRead as B, AutomationParagraphFormatWrite as C, AutomationParagraphRef as D, AutomationPoint as E, AutomationSaveResult as F, AutomationSearchOptions as G, AutomationSelectionMode as H, AutomationSpan as I, AutomationSpanRef as J, AutomationTextProjection as K, AutomationUnsubscribe as L, AutomationValue as M, AutomationHost as a, AutomationAlignment as e, AutomationBatchRequest as f, AutomationBatchResponse as g, AutomationChangeEvent as h, AutomationContentControlLock as i, AutomationContentControlRangeLocation as j, AutomationContentControlScope as k, AutomationContentControlSubtype as l, AutomationContentControlValue as m, AutomationError as n, AutomationErrorCode as o, AutomationFontRead as p, AutomationFontWrite as q, AutomationHandle as r, AutomationHandleRef as s, AutomationObjectKind as t, AutomationOperation as u, AutomationOperationKind as v, AutomationOperationResult as w, AutomationPageOrientation as x, AutomationPageSetupRead as y, AutomationPageSetupWrite as z };
1610
+ export type { AutomationOperation as A, AutomationPoint as B, AutomationSaveResult as C, AutomationSearchOptions as D, AutomationSelectionMode as E, AutomationSpan as F, AutomationSpanRef as G, AutomationTextProjection as H, AutomationUnsubscribe as I, AutomationValue as J, AutomationCapabilities as a, AutomationHost as b, AutomationAlignment as c, AutomationBatchRequest as d, AutomationBatchResponse as e, AutomationChangeEvent as f, AutomationContentControlLock as g, AutomationContentControlRangeLocation as h, AutomationContentControlScope as i, AutomationContentControlSubtype as j, AutomationContentControlValue as k, AutomationError as l, AutomationErrorCode as m, AutomationFontRead as n, AutomationFontWrite as o, AutomationHandle as p, AutomationHandleRef as q, AutomationObjectKind as r, AutomationOperationKind as s, AutomationOperationResult as t, AutomationPageOrientation as u, AutomationPageSetupRead as v, AutomationPageSetupWrite as w, AutomationParagraphFormatRead as x, AutomationParagraphFormatWrite as y, AutomationParagraphRef as z };
@@ -1,4 +1,4 @@
1
- import { N as OoxmlNode, a1 as OoxmlElement, a2 as OoxmlContentControlNode, V as OoxmlGenericElementNode, a3 as OoxmlContentControlContentNode, C as CommentRecord, O as OoxmlPart } from './types-barrel-DN_-gaRX.js';
1
+ import { N as OoxmlNode, Z as OoxmlElement, _ as OoxmlContentControlNode, V as OoxmlGenericElementNode, $ as OoxmlContentControlContentNode, C as CommentRecord, O as OoxmlPart } from './types-barrel-BO73JqHG.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;
@@ -57,7 +57,11 @@ declare function walkParagraphInline(children: readonly OoxmlNode[], depth: numb
57
57
  readonly descendRevisions?: boolean;
58
58
  }): void;
59
59
 
60
- /** Plain text of a comment's body, so a card never re-implements the run walk. */
60
+ /**
61
+ * Plain text of a comment's body, as a card shows it: a non-breaking hyphen is U+2011, an
62
+ * optional hyphen shows nothing, and a symbol shows its glyph. A card never re-implements the
63
+ * run walk.
64
+ */
61
65
  declare function commentBodyText(comment: CommentRecord): string;
62
66
  /** Author initials for an avatar, from `@w:initials` or the name. */
63
67
  declare function commentInitials(comment: CommentRecord): string;
@@ -1,4 +1,4 @@
1
- import { N as OoxmlNode } from './types-barrel-DN_-gaRX.js';
1
+ import { N as OoxmlNode } from './types-barrel-BO73JqHG.js';
2
2
 
3
3
  /**
4
4
  * What a revision wrapper asserts about the content inside it.
@@ -1,7 +1,25 @@
1
- import { O as OoxmlPart, a1 as OoxmlElement, N as OoxmlNode } from './types-barrel-DN_-gaRX.js';
2
- import { a as RevisionDisplayMode, b as RevisionAuthorFilter } from './revision-projection-CVJeA2jp.js';
3
- import { b as SectionPageBorders, P as PageGeometry, I as InlineDrawingRecord, A as AnchoredDrawingRecord, T as TextMeasurer, L as LineRecord, a as StyleSpanRecord, S as SemanticLayout, C as ContentControlBoundaryRecord, c as TableRowFragmentRecord, d as TableCellFragmentRecord } from './semantic-records-BSjo-xck.js';
4
- import { S as SemanticPosition, C as CaretGeometry, a as SemanticSelection } from './semantic-interaction-COMnWyBQ.js';
1
+ import { O as OoxmlPart, Z as OoxmlElement, N as OoxmlNode } from './types-barrel-BO73JqHG.js';
2
+ import { a as RevisionDisplayMode, b as RevisionAuthorFilter } from './revision-projection-DfWxdBqA.js';
3
+ import { b as SectionPageBorders, I as InlineDrawingRecord, A as AnchoredDrawingRecord, T as TextMeasurer, L as LineRecord, a as StyleSpanRecord, S as SemanticLayout, C as ContentControlBoundaryRecord, c as TableRowFragmentRecord, d as TableCellFragmentRecord } from './semantic-records-COqi8pjP.js';
4
+ import { S as SemanticPosition, C as CaretGeometry, a as SemanticSelection } from './semantic-interaction-CvFAj0GR.js';
5
+
6
+ /** Page geometry, in points. */
7
+ interface PageGeometry {
8
+ readonly width: number;
9
+ readonly height: number;
10
+ readonly margin: {
11
+ readonly top: number;
12
+ readonly right: number;
13
+ readonly bottom: number;
14
+ readonly left: number;
15
+ };
16
+ /** `w:pgMar/@header` — sheet edge to header top, in points. Defaults to 36 (720 twips). */
17
+ readonly headerDistance?: number;
18
+ /** `w:pgMar/@footer` — sheet edge to footer bottom, in points. Defaults to 36. */
19
+ readonly footerDistance?: number;
20
+ }
21
+ /** US Letter with one-inch margins, in points. */
22
+ declare const DEFAULT_PAGE_GEOMETRY: PageGeometry;
5
23
 
6
24
  /**
7
25
  * Hard ceiling on sections enumerated from a document (matches write-path
@@ -422,7 +440,7 @@ declare function cellSelectionRects(layout: SemanticLayout, cellIds: readonly st
422
440
  * the only shape that survives the trip: the text range a rectangle stands in for would paste
423
441
  * back as one run of characters with the grid gone.
424
442
  */
425
- declare function cellSelectionText(layout: SemanticLayout, selection: CellSelection): string;
443
+ declare function cellSelectionText(layout: SemanticLayout, selection: CellSelection, paragraphText?: (layout: SemanticLayout, paragraphId: string) => string): string;
426
444
  /** Where a paragraph sits in a table, if it sits in one. */
427
445
  interface TableCellContext {
428
446
  readonly tableId: string;
@@ -440,5 +458,5 @@ interface TableCellContext {
440
458
  */
441
459
  declare function tableContextAt(layout: SemanticLayout, paragraphId: string): TableCellContext | null;
442
460
 
443
- export { pageAtY as A, paragraphSectionNode as B, DEFAULT_SECTION_PROPERTIES as D, paragraphsInCells as E, parsePageNumbering as F, parseSectionProperties as G, projectedSectionSourceIndexes as I, readSectionProperties as J, spanOffsetX as K, spansInCells as L, MAX_DOCUMENT_SECTIONS as M, tableContextAt as N, DEFAULT_VERTICAL_WEIGHT as b, caretBoxOnLine as n, cellSelectionBetween as o, cellSelectionRects as p, cellSelectionText as q, contentControlAtPoint as r, enumerateDocumentSections as s, enumerateDocumentSectionsBounded as t, findDrawingOverlayFrameInLayout as u, geometryOfSection as v, hitTestPage as w, hitTestSheet as x, isFurniturePoint as y, lineEndOffset as z };
444
- export type { CellSelection as C, HitPoint as H, PlacedCell as P, SectionProperties as S, TableCellAddress as T, SectionColumns as a, DocumentSection as c, DocumentSectionsEnumeration as d, DrawingOverlayFrame as e, HitTestOptions as f, SectionBreakType as g, SectionColumnDefinition as h, SectionMargins as i, SectionPageNumbering as j, SemanticHit as k, SemanticHitDrawing as l, TableCellContext as m };
461
+ export { isFurniturePoint as A, lineEndOffset as B, DEFAULT_PAGE_GEOMETRY as D, pageAtY as E, paragraphSectionNode as F, paragraphsInCells as G, parsePageNumbering as I, parseSectionProperties as J, projectedSectionSourceIndexes as K, readSectionProperties as L, MAX_DOCUMENT_SECTIONS as M, spanOffsetX as N, spansInCells as O, tableContextAt as Q, DEFAULT_SECTION_PROPERTIES as b, DEFAULT_VERTICAL_WEIGHT as c, caretBoxOnLine as p, cellSelectionBetween as q, cellSelectionRects as r, cellSelectionText as s, contentControlAtPoint as t, enumerateDocumentSections as u, enumerateDocumentSectionsBounded as v, findDrawingOverlayFrameInLayout as w, geometryOfSection as x, hitTestPage as y, hitTestSheet as z };
462
+ export type { CellSelection as C, HitPoint as H, PageGeometry as P, SectionProperties as S, TableCellAddress as T, SectionColumns as a, DocumentSection as d, DocumentSectionsEnumeration as e, DrawingOverlayFrame as f, HitTestOptions as g, PlacedCell as h, SectionBreakType as i, SectionColumnDefinition as j, SectionMargins as k, SectionPageNumbering as l, SemanticHit as m, SemanticHitDrawing as n, TableCellContext as o };
@@ -1,4 +1,4 @@
1
- import { T as TextMeasurer, S as SemanticLayout, B as BlockFragmentRecord, C as ContentControlBoundaryRecord, a as StyleSpanRecord } from './semantic-records-BSjo-xck.js';
1
+ import { T as TextMeasurer, S as SemanticLayout, B as BlockFragmentRecord, C as ContentControlBoundaryRecord, a as StyleSpanRecord } from './semantic-records-COqi8pjP.js';
2
2
 
3
3
  /** A caret position in the model. */
4
4
  interface SemanticPosition {
@@ -1,5 +1,5 @@
1
- import { C as ContentControlBoundaryRecord, S as SemanticLayout } from './semantic-records-BSjo-xck.js';
2
- import { V as ValidatedImageBytesHandle, R as RenderableImageMime } from './image-resources-DkuzBnTM.js';
1
+ import { C as ContentControlBoundaryRecord, S as SemanticLayout } from './semantic-records-COqi8pjP.js';
2
+ import { V as ValidatedImageBytesHandle, R as RenderableImageMime } from './image-resources-DfagDguq.js';
3
3
 
4
4
  /**
5
5
  * Everything a host can say about ONE author's presentation. Every field is optional and