@docx-editor.dev/core 2.31.0 → 2.32.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 (129) hide show
  1. package/README.md +24 -0
  2. package/dist/automation.cjs +1 -1
  3. package/dist/automation.d.ts +16 -16
  4. package/dist/automation.js +1 -1
  5. package/dist/binding.cjs +1 -1
  6. package/dist/binding.d.ts +17 -15
  7. package/dist/binding.js +1 -1
  8. package/dist/{chrome-print-BWvaVEhD.d.ts → chrome-print-CznJ0ucN.d.ts} +58 -23
  9. package/dist/chunk-25EXMBV2.cjs +5 -0
  10. package/dist/chunk-2CWQY27B.cjs +1 -0
  11. package/dist/chunk-3IEXDEFH.cjs +7 -0
  12. package/dist/chunk-65XBN67F.cjs +2 -0
  13. package/dist/{chunk-5JPIEN54.cjs → chunk-6NVZNB7O.cjs} +2 -2
  14. package/dist/chunk-6UDJUI3W.cjs +2 -0
  15. package/dist/chunk-ACLR4DMK.js +1 -0
  16. package/dist/{chunk-2E2RPEKX.js → chunk-B2BEELUE.js} +1 -1
  17. package/dist/chunk-DDFHKQFU.js +30 -0
  18. package/dist/{chunk-MOYYRVFV.cjs → chunk-E4IAO4CY.cjs} +1 -1
  19. package/dist/chunk-ETDZFNMI.js +2 -0
  20. package/dist/chunk-FDSL5OJU.cjs +30 -0
  21. package/dist/chunk-FS7CMYLT.js +4 -0
  22. package/dist/chunk-GDS24SZN.js +30 -0
  23. package/dist/chunk-GIY6NT2X.js +5 -0
  24. package/dist/chunk-GWM3AKUD.js +18 -0
  25. package/dist/chunk-HDOXACHP.js +2 -0
  26. package/dist/chunk-IILEENID.js +1 -0
  27. package/dist/chunk-L5TYBFDB.js +1 -0
  28. package/dist/chunk-MNF2K7NN.cjs +30 -0
  29. package/dist/chunk-O324RB6R.cjs +1 -0
  30. package/dist/chunk-OKMEMSKB.cjs +1 -0
  31. package/dist/chunk-QXJKYNYZ.js +1 -0
  32. package/dist/chunk-RALTVLB6.js +2 -0
  33. package/dist/chunk-SRVKFUFI.js +3 -0
  34. package/dist/chunk-TELQ52LG.cjs +1 -0
  35. package/dist/chunk-TJHE5EET.cjs +1 -0
  36. package/dist/chunk-UMMRURPE.js +7 -0
  37. package/dist/chunk-WN7ICTA5.js +1 -0
  38. package/dist/{chunk-XSTGE3NI.cjs → chunk-XJYZVGQR.cjs} +1 -1
  39. package/dist/chunk-ZGTIE3QJ.cjs +4 -0
  40. package/dist/chunk-ZOZI27AW.cjs +18 -0
  41. package/dist/collaboration/replication.cjs +1 -1
  42. package/dist/collaboration/replication.d.ts +20 -4
  43. package/dist/collaboration/replication.js +1 -1
  44. package/dist/collaboration.cjs +1 -1
  45. package/dist/collaboration.d.ts +5 -5
  46. package/dist/collaboration.js +1 -1
  47. package/dist/contracts/document.d.ts +3 -3
  48. package/dist/contracts/editor.d.ts +13 -9
  49. package/dist/contracts/interaction.d.ts +2 -2
  50. package/dist/contracts/modules.d.ts +15 -12
  51. package/dist/contracts/types.d.ts +135 -2
  52. package/dist/{custom-node-writes-TeUvMP13.d.ts → custom-node-writes-CLJKGD9t.d.ts} +7 -2
  53. package/dist/{diagnostic-context-DJ0P1uZE.d.ts → diagnostic-context-BtDUY3v2.d.ts} +1 -1
  54. package/dist/{diagnostic-hints-C9JlLz1L.d.ts → diagnostic-hints-DK8-V0fk.d.ts} +2 -2
  55. package/dist/{document-protection-C8x3P2J6.d.ts → document-protection-NaniLHWF.d.ts} +1 -1
  56. package/dist/{editor-B2ShlO23.d.ts → editor-DZwOTmlR.d.ts} +104 -239
  57. package/dist/editor-fonts-D_-vjuJi.d.ts +53 -0
  58. package/dist/{editor-scope-C7ke1KJG.d.ts → editor-scope-B3L-1ALc.d.ts} +1 -1
  59. package/dist/editor.cjs +1 -1
  60. package/dist/editor.css +2 -2
  61. package/dist/editor.d.ts +74 -30
  62. package/dist/editor.js +1 -1
  63. package/dist/export.cjs +2 -2
  64. package/dist/export.d.ts +9 -15
  65. package/dist/export.js +1 -1
  66. package/dist/{failure-NS2lsya4.d.ts → failure-6KGFrDO9.d.ts} +1 -1
  67. package/dist/{font-resolver-CWh40DYp.d.ts → font-resolver-BlQNGdvR.d.ts} +1 -1
  68. package/dist/{headless-document-view-qOpaCF82.d.ts → headless-document-view-Bcz9_Qva.d.ts} +115 -4
  69. package/dist/index.cjs +1 -1
  70. package/dist/index.d.ts +27 -25
  71. package/dist/index.js +1 -1
  72. package/dist/{layout-shaping-CWS3j0Xr.d.ts → layout-shaping-E5J4Z1Gf.d.ts} +1 -1
  73. package/dist/layout.cjs +1 -1
  74. package/dist/layout.d.ts +24 -17
  75. package/dist/layout.js +1 -1
  76. package/dist/{note-properties-QsKh24sM.d.ts → note-properties-Ds5R2_3F.d.ts} +1 -1
  77. package/dist/output.cjs +1 -1
  78. package/dist/output.d.ts +11 -7
  79. package/dist/output.js +1 -1
  80. package/dist/{protocol-COZJUKUY.d.ts → protocol-DKa4qt7F.d.ts} +75 -5
  81. package/dist/{review-paragraph-order-C_QbCKcH.d.ts → review-paragraph-order-Dc17w_6v.d.ts} +1 -1
  82. package/dist/revision-projection-Cn6rZJ7H.d.ts +258 -0
  83. package/dist/{semantic-cell-selection-Cub9FDa8.d.ts → semantic-cell-selection-BaUR0iJ4.d.ts} +2 -2
  84. package/dist/{semantic-interaction-dApRIYpt.d.ts → semantic-interaction-CJoHLoOl.d.ts} +1 -1
  85. package/dist/{semantic-paint-DLzA8sjP.d.ts → semantic-paint-BPw_n0li.d.ts} +7 -4
  86. package/dist/{semantic-record-queries-3yp9o11g.d.ts → semantic-record-queries-C0rJ3sB4.d.ts} +1 -1
  87. package/dist/{semantic-records-B-akgRch.d.ts → semantic-records-BvN-WWst.d.ts} +216 -406
  88. package/dist/store.cjs +1 -1
  89. package/dist/store.d.ts +13 -14
  90. package/dist/store.js +1 -1
  91. package/dist/{types-barrel-CkF2JbU4.d.ts → tree-op-types-C_S2niXW.d.ts} +117 -26
  92. package/dist/{tree-package-store-B8l8DX3Z.d.ts → tree-package-store-CRHvMyNj.d.ts} +2 -2
  93. package/dist/{tree-session-contract-DeLRqohz.d.ts → tree-session-contract-D1awo_dA.d.ts} +5 -5
  94. package/dist/unsupported-elements-CVos5cqe.d.ts +23 -0
  95. package/docs/accept-reject-without-scrolling.md +95 -0
  96. package/docs/comment-on-found-text.md +72 -0
  97. package/docs/custom-review-cards.md +178 -0
  98. package/docs/highlight-ranges.md +48 -0
  99. package/docs/index.md +36 -0
  100. package/docs/propose-rewrite.md +247 -0
  101. package/docs/tracked-replacement.md +68 -0
  102. package/package.json +3 -2
  103. package/dist/chunk-243W4WW2.cjs +0 -2
  104. package/dist/chunk-4S24UOPG.js +0 -30
  105. package/dist/chunk-5SO5QDMV.cjs +0 -2
  106. package/dist/chunk-6IDOVU6L.cjs +0 -1
  107. package/dist/chunk-6JIJOZDW.js +0 -1
  108. package/dist/chunk-BTQKU64Q.cjs +0 -1
  109. package/dist/chunk-DBOOTED4.cjs +0 -30
  110. package/dist/chunk-EOTAXOJY.cjs +0 -5
  111. package/dist/chunk-FDAKJ2SJ.cjs +0 -30
  112. package/dist/chunk-FNNOJNGY.js +0 -3
  113. package/dist/chunk-FT33HRZP.js +0 -5
  114. package/dist/chunk-HC6YNKUI.cjs +0 -1
  115. package/dist/chunk-HZ66UCIS.js +0 -2
  116. package/dist/chunk-IBRBNT37.cjs +0 -1
  117. package/dist/chunk-IVIN7X43.js +0 -30
  118. package/dist/chunk-LZY6B6IV.js +0 -4
  119. package/dist/chunk-N6B3BXCL.js +0 -1
  120. package/dist/chunk-Q5K2GGNG.js +0 -2
  121. package/dist/chunk-R2XINWVE.js +0 -7
  122. package/dist/chunk-SUEXVBPR.js +0 -1
  123. package/dist/chunk-T2QQHG5C.js +0 -18
  124. package/dist/chunk-VWIJKH4A.js +0 -1
  125. package/dist/chunk-WO4V6PNS.cjs +0 -18
  126. package/dist/chunk-XMJKFURD.cjs +0 -4
  127. package/dist/chunk-YQWMI6J5.cjs +0 -7
  128. package/dist/chunk-ZCJS7D7S.js +0 -2
  129. package/dist/omml-equation-BsLAa2lX.d.ts +0 -115
package/dist/layout.d.ts CHANGED
@@ -11,23 +11,24 @@
11
11
  * @packageDocumentation
12
12
  * @public
13
13
  */
14
- import { U as NumberingLevel, W as NumberingIndex, S as SemanticLayout, d as LayoutBox, X as DrawingPoint, Y as DrawingInsets, g as StyleSpanRecord, I as InlineDrawingRecord, Z as ModelRange, _ as RevisionAttribution, $ as TableBorderSide, a0 as TableFloatXSpec, a1 as TableFloatYSpec, P as ParagraphFragmentRecord, B as BlockFragmentRecord, A as AnchoredDrawingRecord, c as PageRecord, a2 as NumberingLevelIndent, a3 as ResolvedListItem, a4 as RefFieldContext, T as TextMeasurer, a5 as InlineDrawingLayoutContext, a6 as CellBorderBox, a7 as TableBorderBox, a8 as TableCellStyleFormatting, a9 as TableFloatPosition, aa as StyleCascadeTable, b as RevisionDisplayMode, ab as RevisionAuthorFilter, C as ContentControlBoundaryRecord$1, o as FixedPointRoundingMode, ac as FixedPoint, V as VersionedShapingLibrary, k as TextShaper, ad as FontByteValidator, v as ShapedRun, L as LineRecord, ae as SourceRange, af as HyperlinkProjector, ag as FieldLinkProjector, ah as StoryPageFieldNeeds, ai as HyperlinkFieldSpec, aj as SpanLinkRecord, ak as PageGeometry, al as SectionColumns, am as SectionPageBorders, an as PageBorderFrameRecord, ao as ParagraphBorderStrokeRecord, ap as StrikeoutStrokePt } from './semantic-records-B-akgRch.js';
15
- export { aq as AUTO_PARAGRAPH_SPACING_PT, ar as AbstractNumDefinition, as as AnchoredDrawingLayoutFallback, at as BidiEmbeddingLevels, au as BorderGridGeometry, av as CascadedParagraphFormatting, aw as CjkTypographySettings, ax as ContentControlGeometryFragment, ay as ContentControlLevel, f as ContentControlLock, az as ContentControlMappedType, aA as ContentControlModelRange, aB as DEFAULT_PAGE_GEOMETRY, aC as DEFAULT_REVISION_DISPLAY_MODE, aD as DEFAULT_RUN_STYLE, aE as DEFAULT_SECTION_PROPERTIES, aF as DEFAULT_TAB_INTERVAL_PT, aG as DEFAULT_TAB_INTERVAL_TWIPS, aH as DeclaredFontSubstitution, aI as DocumentSection, aJ as DocumentSectionsEnumeration, aK as DrawingClipFallback, aL as DrawingGeometry, aM as DrawingGroupPictureRecord, aN as DrawingTextArtRecord, aO as EMPTY_NUMBERING_INDEX, aP as EMPTY_TAB_STOPS, aQ as EquationBarGeometry, aR as EquationFractionGeometry, aS as EquationGeometry, aT as EquationNaryGeometry, aU as EquationRadicalGeometry, aV as EquationRowGeometry, aW as EquationScriptGeometry, aX as EquationSpanRecord, aY as EquationTextGeometry, aZ as FieldAtomMarker, a_ as FontFingerprintInputs, p as FontRequest, a$ as FontResolutionError, b0 as FontResolutionErrorCode, b1 as FontResourceDefinition, b2 as FontResourceInstrumentation, F as FontResourceSnapshot, b3 as FontResourceSnapshotOptions, b4 as FontSlot, u as FontSubstitution, b5 as FontValidationResult, b6 as GlyphOutline, b7 as GroupTextboxStoryRecord, b8 as HARD_MAX_AGGREGATE_FONT_BYTES, b9 as HARD_MAX_FONT_BYTES, ba as HARD_MAX_FONT_SOURCES, H as HeaderFooterStoryRecord, bb as LevelOverride, bc as LineSpacingRule, bd as ListMarkerAlign, s as ListMarkerPictureRecord, be as ListMarkerRecord, bf as ListSuffix, bg as MAX_BORDER_SPACE_PT, bh as MAX_BORDER_WIDTH_PT, bi as MAX_DOCUMENT_SECTIONS, bj as MAX_LVL_OVERRIDES, bk as MAX_NUMBERING_DEFINITIONS, bl as MAX_PARAGRAPH_SPACING_PT, bm as MAX_SHAPING_CONTEXT, bn as MAX_STYLE_DEFINITIONS, bo as MAX_TABLE_BORDER_STROKES, bp as MAX_TAB_POSITION_TWIPS, bq as MAX_TAB_STOPS, n as NormalizationPolicy, N as NoteAreaRecord, e as NoteStoryRecord, br as NumDefinition, bs as NumberingPictureBullet, bt as PAGE_BORDER_SIDES, bu as PARAGRAPH_BORDER_SIDES, bv as PageBorderDisplay, bw as PageBorderOffsetFrom, bx as PageBorderSide, by as PageBorderStrokeRecord, bz as PageBorderZOrder, bA as PageRefCalibrationCell, bB as PageRefFieldProjection, bC as ParagraphAutoSpacingContext, bD as ParagraphBorderEdge, bE as ParagraphBorderSide, bF as ParagraphBorders, bG as ParagraphBottomBorderRecord, bH as ParagraphIndent, bI as ParagraphLayoutInputs, bJ as ParagraphLineSpacing, bK as ParagraphSpacing, bL as RefFieldSpec, bM as RefNoteParts, bN as ResolvedCellBorders, m as ResolvedFont, bO as ResolvedPictureBullet, l as ResolvedRunStyle, bP as ResolvedTabStops, bQ as ResolvedTableBorderEdge, bR as ResolvedTableBorderEdgeSegment, bS as ResolvedUnderline, bT as RevisionFilter, bU as RevisionKind, bV as SINGLE_LINE_SPACING, bW as ScriptItem, bX as SectionBreakMarkRecord, bY as SectionBreakType, bZ as SectionColumnDefinition, b_ as SectionMargins, b$ as SectionPageNumbering, O as SectionProperties, c0 as SemanticArtifactRootStoryKind, c1 as SemanticArtifactStoryKind, c2 as SemanticCommentArtifactRecord, c3 as SemanticReviewArtifactOccurrence, c4 as SemanticReviewArtifactOccurrenceGeometry, c5 as SemanticReviewArtifactPosition, r as SemanticReviewArtifactRecord, c6 as SemanticReviewArtifactSource, c7 as SemanticTrackedChangeArtifactRecord, c8 as ShapeInput, c9 as ShapedCluster, ca as ShapedFontSpan, cb as ShapedGlyph, cc as ShapedRunComparatorInputs, cd as ShapedVerticalMetrics, ce as ShapingContext, cf as ShapingEnvironment, cg as ShapingEnvironmentFingerprintInputs, j as ShapingEnvironmentInput, ch as StyleDefinition, ci as TAB_LEADER_GLYPH, cj as TabAlignment, ck as TabDestination, cl as TabLeader, cm as TabStop, cn as TableBorderSideName, co as TableBorderStrokeRecord, i as TableCellFragmentRecord, cp as TableFragmentRecord, h as TableRowFragmentRecord, cq as TextArtFit, cr as TextDirection, cs as TextOutline, ct as TextboxStoryFallbackReason, cu as TextboxStoryLayout, cv as UnsupportedScriptError, cw as VerticalAlign, cx as appliedSpaceBefore, cy as applyLineSpacing, cz as baselineShiftPtOf, cA as borderExtentPt, cB as borderWeight, cC as bottomBorderExtentPt, cD as boundedStructuralFontValidator, cE as buildNumberingIndex, cF as buildStyleCascadeTable, cG as cascadeParagraphFormatting, cH as cascadeRunProperties, cI as cascadedBottomBorder, cJ as cascadedParagraphBorders, cK as cascadedTabStops, cL as collapsedSpaceBefore, cM as createFontResourceSnapshot, cN as createShapedRun, cO as createShapingEnvironment, cP as defaultTabIntervalFromSettings, cQ as displayText, cR as enumerateDocumentSections, cS as enumerateDocumentSectionsBounded, cT as fixedPoint, cU as fontRequestKey, cV as formatRevisionOf, cW as geometryOfSection, cX as glyphSizeFactorOf, cY as isValidStyleId, cZ as itemizeScriptFontSlots, c_ as layoutEquation, c$ as markRevisionRemovesMark, d0 as measureDisplayText, d1 as nextTabDestination, d2 as pageBordersFingerprint, d3 as paragraphBorderExtentPt, d4 as paragraphBorderStrokeWidthPt, d5 as paragraphBorders, d6 as paragraphBordersFingerprint, d7 as paragraphBreaksBefore, d8 as paragraphContextualSpacing, d9 as paragraphLineSpacing, da as paragraphMarkFormatRevisionOf, db as paragraphMarkRevisionOf, dc as paragraphMarkRevisionsOf, dd as paragraphSectionNode, de as paragraphSpacing, df as paragraphTabStops, dg as parsePageBorders, dh as parsePageNumbering, di as parseRefInstruction, dj as parseSectionProperties, dk as projectedSectionSourceIndexes, dl as readBorderSide, dm as readCellBorders, dn as readNumPr, dp as readSectionProperties, dq as readTableBorders, dr as resolveBorderConflict, ds as resolveNumberingLevel, dt as resolveParagraphLayoutInputs, du as resolveRunStyle, dv as resolveStoryListItems, dw as resolveStoryRefFields, dx as resolveTableCellBorderGrid, dy as revisionAuthorFilter, dz as revisionsAreDeletion, dA as revisionsVisible, dB as runStylesEqual, dC as shapedRunComparatorInputs, dD as shapingEnvironmentFingerprint, dE as shapingEnvironmentFingerprintInputs, dF as shownMarkRevision, dG as styleForFontSlot, dH as tabAdvanceWidth, dI as tabStopsFingerprint, dJ as withDefaultTabInterval, dK as withNumberingStyleLinks, dL as withResolvedListItems } from './semantic-records-B-akgRch.js';
14
+ import { u as NumberingLevel, v as NumberingIndex, S as SemanticLayout, b as LayoutBox, D as DrawingPoint, w as DrawingInsets, g as StyleSpanRecord, I as InlineDrawingRecord, M as ModelRange, x as TableBorderSide, y as TableFloatXSpec, z as TableFloatYSpec, P as ParagraphFragmentRecord, B as BlockFragmentRecord, A as AnchoredDrawingRecord, a as PageRecord, E as NumberingLevelIndent, G as ResolvedListItem, J as RefFieldContext, T as TextMeasurer, K as InlineDrawingLayoutContext, O as CellBorderBox, Q as TableBorderBox, W as TableCellStyleFormatting, X as TableFloatPosition, Y as StyleCascadeTable, C as ContentControlBoundaryRecord$1, n as FixedPointRoundingMode, Z as FixedPoint, V as VersionedShapingLibrary, k as TextShaper, _ as FontByteValidator, s as ShapedRun, L as LineRecord, $ as SourceRange, a0 as HyperlinkProjector, a1 as FieldLinkProjector, a2 as StoryPageFieldNeeds, a3 as HyperlinkFieldSpec, a4 as SpanLinkRecord, a5 as PageGeometry, a6 as SectionColumns, a7 as SectionPageBorders, a8 as PageBorderFrameRecord, a9 as ParagraphBorderStrokeRecord, aa as StrikeoutStrokePt } from './semantic-records-BvN-WWst.js';
15
+ export { ab as AUTO_PARAGRAPH_SPACING_PT, ac as AbstractNumDefinition, ad as AnchoredDrawingLayoutFallback, ae as BidiEmbeddingLevels, af as BorderGridGeometry, ag as CascadedParagraphFormatting, ah as CjkTypographySettings, ai as ContentControlGeometryFragment, aj as ContentControlLevel, d as ContentControlLock, ak as ContentControlMappedType, al as ContentControlModelRange, am as DEFAULT_PAGE_GEOMETRY, an as DEFAULT_RUN_STYLE, ao as DEFAULT_SECTION_PROPERTIES, ap as DEFAULT_TAB_INTERVAL_PT, aq as DEFAULT_TAB_INTERVAL_TWIPS, ar as DeclaredFontSubstitution, as as DocumentSection, at as DocumentSectionsEnumeration, au as DrawingClipFallback, av as DrawingGeometry, aw as DrawingGroupPictureRecord, ax as DrawingTextArtRecord, ay as EMPTY_NUMBERING_INDEX, az as EMPTY_TAB_STOPS, aA as EquationBarGeometry, aB as EquationFractionGeometry, aC as EquationGeometry, aD as EquationNaryGeometry, aE as EquationRadicalGeometry, aF as EquationRowGeometry, aG as EquationScriptGeometry, aH as EquationSpanRecord, aI as EquationTextGeometry, aJ as FieldAtomMarker, aK as FontFingerprintInputs, o as FontRequest, aL as FontResolutionError, aM as FontResolutionErrorCode, aN as FontResourceDefinition, aO as FontResourceInstrumentation, F as FontResourceSnapshot, aP as FontResourceSnapshotOptions, aQ as FontSlot, r as FontSubstitution, aR as FontValidationResult, aS as GlyphOutline, aT as GroupTextboxStoryRecord, aU as HARD_MAX_AGGREGATE_FONT_BYTES, aV as HARD_MAX_FONT_BYTES, aW as HARD_MAX_FONT_SOURCES, H as HeaderFooterStoryRecord, aX as LevelOverride, aY as LineSpacingRule, aZ as ListMarkerAlign, q as ListMarkerPictureRecord, a_ as ListMarkerRecord, a$ as ListSuffix, b0 as MAX_BORDER_SPACE_PT, b1 as MAX_BORDER_WIDTH_PT, b2 as MAX_DOCUMENT_SECTIONS, b3 as MAX_LVL_OVERRIDES, b4 as MAX_NUMBERING_DEFINITIONS, b5 as MAX_PARAGRAPH_SPACING_PT, b6 as MAX_SHAPING_CONTEXT, b7 as MAX_STYLE_DEFINITIONS, b8 as MAX_TABLE_BORDER_STROKES, b9 as MAX_TAB_POSITION_TWIPS, ba as MAX_TAB_STOPS, m as NormalizationPolicy, N as NoteAreaRecord, c as NoteStoryRecord, bb as NumDefinition, bc as NumberingPictureBullet, bd as PAGE_BORDER_SIDES, be as PARAGRAPH_BORDER_SIDES, bf as PageBorderDisplay, bg as PageBorderOffsetFrom, bh as PageBorderSide, bi as PageBorderStrokeRecord, bj as PageBorderZOrder, bk as PageRefCalibrationCell, bl as PageRefFieldProjection, bm as ParagraphAutoSpacingContext, bn as ParagraphBorderEdge, bo as ParagraphBorderSide, bp as ParagraphBorders, bq as ParagraphBottomBorderRecord, br as ParagraphIndent, bs as ParagraphLayoutInputs, bt as ParagraphLineSpacing, bu as ParagraphSpacing, bv as RefFieldSpec, bw as RefNoteParts, bx as ResolvedCellBorders, l as ResolvedFont, by as ResolvedPictureBullet, R as ResolvedRunStyle, bz as ResolvedTabStops, bA as ResolvedTableBorderEdge, bB as ResolvedTableBorderEdgeSegment, bC as ResolvedUnderline, bD as SINGLE_LINE_SPACING, bE as ScriptItem, bF as SectionBreakMarkRecord, bG as SectionBreakType, bH as SectionColumnDefinition, bI as SectionMargins, bJ as SectionPageNumbering, t as SectionProperties, bK as SemanticArtifactRootStoryKind, bL as SemanticArtifactStoryKind, bM as SemanticCommentArtifactRecord, bN as SemanticReviewArtifactOccurrence, bO as SemanticReviewArtifactOccurrenceGeometry, bP as SemanticReviewArtifactPosition, p as SemanticReviewArtifactRecord, bQ as SemanticReviewArtifactSource, bR as SemanticTrackedChangeArtifactRecord, bS as ShapeInput, bT as ShapedCluster, bU as ShapedFontSpan, bV as ShapedGlyph, bW as ShapedRunComparatorInputs, bX as ShapedVerticalMetrics, bY as ShapingContext, bZ as ShapingEnvironment, b_ as ShapingEnvironmentFingerprintInputs, j as ShapingEnvironmentInput, b$ as StyleDefinition, c0 as TAB_LEADER_GLYPH, c1 as TabAlignment, c2 as TabDestination, c3 as TabLeader, c4 as TabStop, c5 as TableBorderSideName, c6 as TableBorderStrokeRecord, i as TableCellFragmentRecord, c7 as TableFragmentRecord, h as TableRowFragmentRecord, c8 as TextArtFit, c9 as TextDirection, ca as TextOutline, cb as TextboxStoryFallbackReason, cc as TextboxStoryLayout, U as UnsupportedElement, e as UnsupportedElementLayout, f as UnsupportedElementRule, cd as UnsupportedScriptError, ce as VerticalAlign, cf as appliedSpaceBefore, cg as applyLineSpacing, ch as baselineShiftPtOf, ci as borderExtentPt, cj as borderWeight, ck as bottomBorderExtentPt, cl as boundedStructuralFontValidator, cm as buildNumberingIndex, cn as buildStyleCascadeTable, co as cascadeParagraphFormatting, cp as cascadeRunProperties, cq as cascadedBottomBorder, cr as cascadedParagraphBorders, cs as cascadedTabStops, ct as collapsedSpaceBefore, cu as createFontResourceSnapshot, cv as createShapedRun, cw as createShapingEnvironment, cx as createUnsupportedContentProjector, cy as defaultTabIntervalFromSettings, cz as displayText, cA as enumerateDocumentSections, cB as enumerateDocumentSectionsBounded, cC as fixedPoint, cD as fontRequestKey, cE as geometryOfSection, cF as glyphSizeFactorOf, cG as isValidStyleId, cH as itemizeScriptFontSlots, cI as layoutEquation, cJ as measureDisplayText, cK as nextTabDestination, cL as pageBordersFingerprint, cM as paragraphBorderExtentPt, cN as paragraphBorderStrokeWidthPt, cO as paragraphBorders, cP as paragraphBordersFingerprint, cQ as paragraphBreaksBefore, cR as paragraphContextualSpacing, cS as paragraphLineSpacing, cT as paragraphSectionNode, cU as paragraphSpacing, cV as paragraphTabStops, cW as parsePageBorders, cX as parsePageNumbering, cY as parseRefInstruction, cZ as parseSectionProperties, c_ as projectedSectionSourceIndexes, c$ as readBorderSide, d0 as readCellBorders, d1 as readNumPr, d2 as readSectionProperties, d3 as readTableBorders, d4 as resolveBorderConflict, d5 as resolveNumberingLevel, d6 as resolveParagraphLayoutInputs, d7 as resolveRunStyle, d8 as resolveStoryListItems, d9 as resolveStoryRefFields, da as resolveTableCellBorderGrid, db as runStylesEqual, dc as shapedRunComparatorInputs, dd as shapingEnvironmentFingerprint, de as shapingEnvironmentFingerprintInputs, df as styleForFontSlot, dg as tabAdvanceWidth, dh as tabStopsFingerprint, di as withDefaultTabInterval, dj as withNumberingStyleLinks, dk as withResolvedListItems } from './semantic-records-BvN-WWst.js';
16
16
  export { F as FontShapingOptions } from './font-shaping-policy-BvpkrfxM.js';
17
- export { C as CacheLookup, b as CacheMiss, c as CacheProvenance, e as LayoutEnvironmentShapedMeasurerOptions, f as LayoutFontConfiguration, g as LayoutFontSource, h as LayoutFontSubstitution, i as LayoutShapingConfigurationError, j as LayoutShapingEnvironment, L as LayoutShapingInstrumentation, a as LayoutShapingOptions, O as OperationSnapshot, k as OperationSnapshotField, l as OperationSnapshotGuard, P as PreparedLayoutFontConfiguration, R as ResolvedCache, m as ResourceDependencyProvenance, S as ShapedMeasurerOptions, n as captureOperationSnapshot, o as createLayoutShapedMeasurer, p as createLayoutShaping, q as createShapedMeasurer, d as disposeLayoutShaping, r as guardOperationSnapshot, s as layoutFontConfigurationFingerprint, t as prepareLayoutFontConfiguration } from './layout-shaping-CWS3j0Xr.js';
18
- import { a as SemanticStoryKind, S as SemanticRootStoryKind, b as SemanticStoryVisit, T as TextboxOwnerRecord } from './semantic-record-queries-3yp9o11g.js';
19
- export { c as SemanticDrawingLayer, d as SemanticDrawingVisit, e as StoryDrawingContext, f as StoryDrawingHost, g as StoryParagraphFragmentContext, h as contentControlsOfLayout, i as effectiveContentControlLock, j as forEachSemanticDrawing, k as forEachSemanticStory, l as forEachStoryParagraphFragment, m as fragmentsOfParagraph, n as lineAtPosition, o as linesOf, p as paragraphFragmentsOf, q as paragraphFragmentsOfBlocks, u as unionLayoutBoxes } from './semantic-record-queries-3yp9o11g.js';
20
- import { aK as ImpactClass, N as OoxmlNode, at as OoxmlProperty, ap as OoxmlElement, O as OoxmlPart, ao as TreeDocOp, Q as OoxmlPackage, bw as ContentControlKind, bx as ContentControlLevel, bz as ContentControlLock, bt as ContentControlDataBinding, a as ReviewItem } from './types-barrel-CkF2JbU4.js';
21
- export { bo as CommentAnchor, bp as CommentPosition, C as CommentRecord, bi as CommentThreadState, b4 as DrawingAccessibility, X as DrawingHorizontalReferenceFrame, b5 as DrawingImageEffects, b2 as DrawingTransform, $ as DrawingVerticalReferenceFrame, a2 as ImageWrapTarget, c as ReviewCommentItem, d as ReviewCustomItem, R as ReviewModelInput, e as ReviewPosition, f as ReviewRange, b as ReviewRevisionItem, g as ReviewRevisionKind, aT as SourceCrop, b3 as TableBorderStyle, ec as VectorShapeComponent, b6 as VectorShapeProjection, cV as W15_NAMESPACE_URI, ed as activeReviewItem, dq as firstReviewRange, d$ as reviewItemKey, ee as reviewItemPositionRank, e0 as reviewItemRanges, ef as reviewItemsAt, eg as reviewThreadRootOf } from './types-barrel-CkF2JbU4.js';
22
- import { D as DocumentProperties, H as HeadlessDocumentView, r as relationshipTargetIn } from './headless-document-view-qOpaCF82.js';
23
- import { R as ResolvedFootnoteProperties, a as ResolvedEndnoteProperties } from './note-properties-QsKh24sM.js';
24
- import { e as TreeModelChange, N as NoteKind, aK as noteTypeOf, F as FieldResultsMode } from './tree-package-store-B8l8DX3Z.js';
25
- export { M as MAX_SDT_NESTING, c as collectFlowBlocks, a as commentBodyText, b as commentInitials, j as contentControlContentChildren, i as isContentControl, f as isContentControlContent, p as paragraphOrderOfPart } from './review-paragraph-order-C_QbCKcH.js';
26
- import { S as SemanticPosition, b as SelectionRect, a as SemanticSelection, C as CaretGeometry } from './semantic-interaction-dApRIYpt.js';
27
- export { c as CaretAtOptions, M as MoveCaretOptions, N as NavigationCommand, d as caretAt, e as caretStops, f as caretStopsForBlocks, g as compositionAnchor, h as contentControlsInLayout, i as deletedTextBoundaries, m as moveCaret, p as paragraphTextFromLayout, s as spansInSelection } from './semantic-interaction-dApRIYpt.js';
28
- export { C as CellSelection, D as DEFAULT_VERTICAL_WEIGHT, a as DrawingOverlayFrame, H as HitPoint, b as HitTestOptions, P as PlacedCell, S as SemanticHit, c as SemanticHitDrawing, T as TableCellAddress, d as TableCellContext, e as caretBoxOnLine, f as cellSelectionBetween, g as cellSelectionRects, h as cellSelectionText, i as contentControlAtPoint, j as findDrawingOverlayFrameInLayout, k as hitTestPage, l as hitTestSheet, m as isFurniturePoint, n as lineEndOffset, p as pageAtY, o as paragraphsInCells, s as spanOffsetX, q as spansInCells, t as tableContextAt } from './semantic-cell-selection-Cub9FDa8.js';
29
- import './omml-equation-BsLAa2lX.js';
30
- import './editor-scope-C7ke1KJG.js';
17
+ export { C as CacheLookup, b as CacheMiss, c as CacheProvenance, e as LayoutEnvironmentShapedMeasurerOptions, f as LayoutFontConfiguration, g as LayoutFontSource, h as LayoutFontSubstitution, i as LayoutShapingConfigurationError, j as LayoutShapingEnvironment, L as LayoutShapingInstrumentation, a as LayoutShapingOptions, O as OperationSnapshot, k as OperationSnapshotField, l as OperationSnapshotGuard, P as PreparedLayoutFontConfiguration, R as ResolvedCache, m as ResourceDependencyProvenance, S as ShapedMeasurerOptions, n as captureOperationSnapshot, o as createLayoutShapedMeasurer, p as createLayoutShaping, q as createShapedMeasurer, d as disposeLayoutShaping, r as guardOperationSnapshot, s as layoutFontConfigurationFingerprint, t as prepareLayoutFontConfiguration } from './layout-shaping-E5J4Z1Gf.js';
18
+ import { a as SemanticStoryKind, S as SemanticRootStoryKind, b as SemanticStoryVisit, T as TextboxOwnerRecord } from './semantic-record-queries-C0rJ3sB4.js';
19
+ export { c as SemanticDrawingLayer, d as SemanticDrawingVisit, e as StoryDrawingContext, f as StoryDrawingHost, g as StoryParagraphFragmentContext, h as contentControlsOfLayout, i as effectiveContentControlLock, j as forEachSemanticDrawing, k as forEachSemanticStory, l as forEachStoryParagraphFragment, m as fragmentsOfParagraph, n as lineAtPosition, o as linesOf, p as paragraphFragmentsOf, q as paragraphFragmentsOfBlocks, u as unionLayoutBoxes } from './semantic-record-queries-C0rJ3sB4.js';
20
+ import { aK as ImpactClass, a4 as OoxmlNode, az as OoxmlProperty, av as OoxmlElement, O as OoxmlPart, au as TreeDocOp, a5 as OoxmlPackage, bw as ContentControlKind, bx as ContentControlLevel, bz as ContentControlLock, bt as ContentControlDataBinding, a as ReviewItem } from './tree-op-types-C_S2niXW.js';
21
+ export { bo as CommentAnchor, bp as CommentPosition, C as CommentRecord, bi as CommentThreadState, b4 as DrawingAccessibility, a7 as DrawingHorizontalReferenceFrame, b5 as DrawingImageEffects, b2 as DrawingTransform, ab as DrawingVerticalReferenceFrame, ag as ImageWrapTarget, c as ReviewCommentItem, d as ReviewCustomItem, R as ReviewModelInput, e as ReviewPosition, f as ReviewRange, b as ReviewRevisionItem, g as ReviewRevisionKind, aT as SourceCrop, b3 as TableBorderStyle, eg as VectorShapeComponent, b6 as VectorShapeProjection, cZ as W15_NAMESPACE_URI, eh as activeReviewItem, du as firstReviewRange, e3 as reviewItemKey, ei as reviewItemPositionRank, e4 as reviewItemRanges, ej as reviewItemsAt, ek as reviewThreadRootOf } from './tree-op-types-C_S2niXW.js';
22
+ import { D as DocumentProperties, H as HeadlessDocumentView, s as relationshipTargetIn } from './headless-document-view-Bcz9_Qva.js';
23
+ import { q as RevisionAttribution, b as RevisionDisplayMode, p as RevisionAuthorFilter } from './revision-projection-Cn6rZJ7H.js';
24
+ export { s as DEFAULT_REVISION_DISPLAY_MODE, t as RevisionFilter, u as RevisionKind, v as formatRevisionOf, w as markRevisionRemovesMark, x as paragraphMarkFormatRevisionOf, y as paragraphMarkRevisionOf, z as paragraphMarkRevisionsOf, A as revisionAuthorFilter, B as revisionsAreDeletion, C as revisionsVisible, E as shownMarkRevision } from './revision-projection-Cn6rZJ7H.js';
25
+ import { R as ResolvedFootnoteProperties, a as ResolvedEndnoteProperties } from './note-properties-Ds5R2_3F.js';
26
+ import { e as TreeModelChange, N as NoteKind, aK as noteTypeOf, F as FieldResultsMode } from './tree-package-store-CRHvMyNj.js';
27
+ export { M as MAX_SDT_NESTING, c as collectFlowBlocks, a as commentBodyText, b as commentInitials, j as contentControlContentChildren, i as isContentControl, f as isContentControlContent, p as paragraphOrderOfPart } from './review-paragraph-order-Dc17w_6v.js';
28
+ import { S as SemanticPosition, b as SelectionRect, a as SemanticSelection, C as CaretGeometry } from './semantic-interaction-CJoHLoOl.js';
29
+ export { c as CaretAtOptions, M as MoveCaretOptions, N as NavigationCommand, d as caretAt, e as caretStops, f as caretStopsForBlocks, g as compositionAnchor, h as contentControlsInLayout, i as deletedTextBoundaries, m as moveCaret, p as paragraphTextFromLayout, s as spansInSelection } from './semantic-interaction-CJoHLoOl.js';
30
+ export { C as CellSelection, D as DEFAULT_VERTICAL_WEIGHT, a as DrawingOverlayFrame, H as HitPoint, b as HitTestOptions, P as PlacedCell, S as SemanticHit, c as SemanticHitDrawing, T as TableCellAddress, d as TableCellContext, e as caretBoxOnLine, f as cellSelectionBetween, g as cellSelectionRects, h as cellSelectionText, i as contentControlAtPoint, j as findDrawingOverlayFrameInLayout, k as hitTestPage, l as hitTestSheet, m as isFurniturePoint, n as lineEndOffset, p as pageAtY, o as paragraphsInCells, s as spanOffsetX, q as spansInCells, t as tableContextAt } from './semantic-cell-selection-BaUR0iJ4.js';
31
+ import './editor-scope-B3L-1ALc.js';
31
32
 
32
33
  /**
33
34
  * The result of counting ONE list paragraph: the level that applied, the counter vector after it,
@@ -2579,7 +2580,7 @@ interface SemanticLayoutOptions {
2579
2580
  readonly sectionFurniture?: readonly (PageFurniture | undefined)[];
2580
2581
  /**
2581
2582
  * `w:evenAndOddHeaders` from settings.xml. A section that restarts its page numbering then
2582
- * starts on a sheet whose position has the parity of the restarted number. When absent,
2583
+ * aligns its continued numbering with the required break or restart parity. When absent,
2583
2584
  * layout reads the flag from the section furniture.
2584
2585
  */
2585
2586
  readonly evenAndOddHeaders?: boolean;
@@ -2678,6 +2679,12 @@ interface SemanticLayoutOptions {
2678
2679
  * @internal
2679
2680
  */
2680
2681
  readonly pageBottomReservesFromPreviousPass?: boolean;
2682
+ /**
2683
+ * With a seed: each page reads its reserve where its content stood in the previous pass, and
2684
+ * the pass reports what it read (`takeReadReserves`); see `note-first-round.ts`.
2685
+ * @internal
2686
+ */
2687
+ readonly pageBottomReservesFollowFlow?: boolean;
2681
2688
  /** Derived note marks for body/note projection (provisional or final). */
2682
2689
  readonly noteMarks?: NoteMarkContext;
2683
2690
  /** Inline drawing projection for typed `w:drawing` / `wp:inline` nodes. */
package/dist/layout.js CHANGED
@@ -1 +1 @@
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
+ 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-SRVKFUFI.js';export{a as setHarfBuzzWasmUrl}from'./chunk-RIYSCEFQ.js';export{O as AUTO_PARAGRAPH_SPACING_PT,_d as AUTO_PREFERRED_WIDTH,$d as CELL_PAD,I as COMPOUND_BORDER_MIN_GAP_PT,H as COMPOUND_BORDER_MIN_STROKE_PT,ae as DEFAULT_CELL_MARGINS,ya as DEFAULT_PAGE_GEOMETRY,ab as DEFAULT_REVISION_DISPLAY_MODE,ca as DEFAULT_RUN_STYLE,Sc as DEFAULT_SECTION_PROPERTIES,yb as DEFAULT_TAB_INTERVAL_PT,xb as DEFAULT_TAB_INTERVAL_TWIPS,ge as DEFAULT_VERTICAL_WEIGHT,xc as EMPTY_NUMBERING_INDEX,Ab as EMPTY_TAB_STOPS,d as FontResolutionError,la as GRAPHEME_SEGMENTER_LOCALE,c as HARD_MAX_AGGREGATE_FONT_BYTES,a as HARD_MAX_FONT_BYTES,b as HARD_MAX_FONT_SOURCES,N as MAX_BORDER_SPACE_PT,M as MAX_BORDER_WIDTH_PT,Rc as MAX_DOCUMENT_SECTIONS,Qf as MAX_EACH_PAGE_MARK_CANDIDATES,uc as MAX_LVL_OVERRIDES,Sb as MAX_LVL_TEXT_LENGTH,Rb as MAX_MARKER_TEXT_LENGTH,xf as MAX_NOTES_LAID_OUT,yf as MAX_NOTE_FRAGMENTS,Pf as MAX_NOTE_OVERFLOW_PAGES,Of as MAX_NOTE_REFLOW_ATTEMPTS,tc as MAX_NUMBERING_DEFINITIONS,L as MAX_PARAGRAPH_SPACING_PT,o as MAX_SHAPING_CONTEXT,Pb as MAX_STYLE_BASED_ON_DEPTH,sd as MAX_STYLE_DEFINITIONS,Sd as MAX_TABLE_BORDER_STROKES,ce as MAX_TABLE_NESTING,ef as MAX_TABLE_ROW_FRAGMENTS,de as MAX_TABLE_ROW_HEIGHT_PT,wb as MAX_TAB_POSITION_TWIPS,vb as MAX_TAB_STOPS,Nc as PAGE_BORDER_SIDES,Q as PARAGRAPH_BORDER_SIDES,P as SINGLE_LINE_SPACING,zb as TAB_LEADER_GLYPH,ff as TablePaginationError,va as UnsupportedScriptError,ba as appliedSpaceBefore,U as applyLineSpacing,Vf as attachNotesToLayout,ha as baselineShiftPtOf,Zd as borderExtentPt,Wd as borderWeight,_ as bottomBorderExtentPt,l as boundedStructuralFontValidator,vc as buildNumberingIndex,Sf as buildPageRefIndex,td as buildStyleCascadeTable,ze as caretAt,qe as caretBoxOnLine,xe as caretStops,ye as caretStopsForBlocks,ud as cascadeParagraphFormatting,xd as cascadeRunProperties,wd as cascadedBottomBorder,X as cascadedParagraphBorders,Bb as cascadedTabStops,Tb as clampListValue,aa as collapsedSpaceBefore,Ee as compositionAnchor,J as computeDoubleBorderMetricsPt,Uf as computeFootnoteReserves,ne as contentControlAtPoint,we as contentControlAtSemantic,qf as contentControlHoldingParagraph,pf as contentControlRecordsInPart,Ae as contentControlsInLayout,La as contentControlsOfLayout,jf as createDocumentFurnitureSource,mf as createDocumentLinkProjectors,kf as createDocumentNotesInput,Xe as createDocumentStyleDependencies,nf as createFieldLinkRegistry,ka as createFixedMeasurer,m as createFontResourceSnapshot,_f as createLayoutSession,zc as createListCounterState,Te as createParagraphLayoutCache,u as createShapedRun,r as createShapingEnvironment,ob as createUnsupportedContentProjector,Ef as defaultNoteSeparatorRuleStyle,Eb as defaultTabIntervalFromSettings,Ce as deletedTextBoundaries,Kc as deriveNoteDisplayMarks,Lc as deriveNoteDisplayMarksResolved,ea as displayText,Ua as documentOrder,lf as documentRelationshipTargetIn,Rd as effectiveBorderSide,Na as effectiveContentControlLock,rb as emptyTocPlaceholderParagraphIds,sb as emptyTocSuppressedResultParagraphIds,Yc as enumerateDocumentSections,_c as enumerateDocumentSectionsBounded,Va as everyStoryOrder,$b as expandLvlText,Tf as filterRefsOnPage,re as findDrawingOverlayFrameInLayout,Bf as findSeparatorNote,n as fixedPoint,h as fontRequestKey,Ha as forEachSemanticDrawing,Fa as forEachSemanticStory,Ia as forEachStoryParagraphFragment,Ub as formatDecimal,Vb as formatDecimalZero,Zb as formatLowerLetter,Xb as formatLowerRoman,_b as formatNumFmt,oc as formatPageNumber,kb as formatRevisionOf,Yb as formatUpperLetter,Wb as formatUpperRoman,Rf as fragmentOwnsAtomOffset,Ja as fragmentsOfParagraph,$c as geometryOfSection,ia as glyphSizeFactorOf,oa as graphemeBoundaryEpoch,sa as graphemeCount,ua as graphemeOffsetToUtf16,ke as hitTestPage,ve as hitTestSemantic,me as hitTestSheet,na as intlGraphemeBoundary,ie as isFurniturePoint,ma as isIntlSegmenterAvailable,Ff as isMarkerOnlySeparatorNote,Lb as isValidStyleId,wa as itemizeScriptFontSlots,Je as keyedRangeRects,ld as layoutEquation,if as layoutHeaderFooterStory,Df as layoutNoteById,Gf as layoutNoteSeparator,Cf as layoutNoteStory,$f as layoutSemanticDocument,Ka as lineAtPosition,oe as lineEndOffset,Oa as lineSegments,Ca as linesOf,Ec as listMarkerBox,ib as markRevisionRemovesMark,fa as measureDisplayText,yc as mergeListIndent,De as moveCaret,Fb as nextTabDestination,Af as normalNotesOf,Mc as noteDisplayMarkMap,zf as noteLineIdPrefix,hd as noteMarkKey,If as noteSeparatorAreaBox,wf as noteSeparatorRuleBox,Dd as noteStoryBlocks,he as pageAtY,vf as pageBorderFrame,Pc as pageBordersFingerprint,Z as paragraphBorderExtentPt,Y as paragraphBorderStrokeWidthPt,W as paragraphBorders,$ as paragraphBordersFingerprint,K as paragraphBreaksBefore,V as paragraphContextualSpacing,Aa as paragraphFragmentsOf,Ba as paragraphFragmentsOfBlocks,Se as paragraphLayoutKey,T as paragraphLineSpacing,Ac as paragraphMarkDeleted,gb as paragraphMarkFormatRevisionOf,jb as paragraphMarkRevisionOf,fb as paragraphMarkRevisionsOf,Wc as paragraphSectionNode,C as paragraphShading,D as paragraphShadingBox,S as paragraphSpacing,Cb as paragraphTabStops,Be as paragraphTextFromLayout,jc as parseAutonumInstruction,Oc as parsePageBorders,Tc as parsePageNumbering,ic as parseRefInstruction,Uc as parseSectionProperties,Id as positionPastDeletion,id as projectedNoteMarkText,Zc as projectedSectionSourceIndexes,Wf as provisionalNoteMarks,Td as readBorderSide,Vd as readCellBorders,Gc as readNumPr,Xc as readSectionProperties,Ud as readTableBorders,ee as readTableStructure,ra as resetGraphemeBoundary,Xd as resolveBorderConflict,wc as resolveNumberingLevel,A as resolveOoxmlShadingFill,yd as resolveParagraphLayoutInputs,da as resolveRunStyle,Ic as resolveStoryListItems,cd as resolveStoryRefFields,z as resolveStrictHexFill,Yd as resolveTableCellBorderGrid,db as revisionAuthorFilter,Cc as revisionRemovesParagraph,lb as revisionsAreDeletion,eb as revisionsVisible,Kb as runBorderStrokesForLine,ga as runStylesEqual,pa as segmentGraphemes,Ge as selectionRects,qa as setGraphemeBoundary,B as shadingFillFromElement,v as shapedRunComparatorInputs,t as shapingEnvironmentFingerprint,s as shapingEnvironmentFingerprintInputs,hb as shownMarkRevision,pe as spanOffsetX,Fe as spansInSelection,Cd as storyBlocks,xa as styleForFontSlot,Hf as syntheticSeparatorBox,Gb as tabAdvanceWidth,Hb as tabStopsFingerprint,be as tableOriginX,qb as tocFieldChromeParagraphIds,Ma as unionLayoutBoxes,ta as utf16OffsetToGrapheme,kc as walkStoryParagraphs,Db as withDefaultTabInterval,Hc as withNumberingStyleLinks,Jc as withResolvedListItems,te as wordBoundary}from'./chunk-DDFHKQFU.js';import'./chunk-ACLR4DMK.js';import'./chunk-HDOXACHP.js';export{Xc as MAX_SDT_NESTING,Zk as MAX_TABLE_COLUMNS,mi as W15_NAMESPACE_URI,Pj as activeReviewItem,ad as collectFlowBlocks,Yj as commentBodyText,_j as commentInitials,$c as contentControlContentChildren,Lj as firstReviewRange,Yc as isContentControl,Zc as isContentControlContent,d as mapSymbolPuaText,qj as paragraphOrderOfPart,Fj as reviewItemKey,Mj as reviewItemPositionRank,Kj as reviewItemRanges,Nj as reviewItemsAt,Qj as reviewThreadRootOf,f as sha256FontBytes}from'./chunk-GWM3AKUD.js';
@@ -1,4 +1,4 @@
1
- import { O as OoxmlPart, N as OoxmlNode, Q as OoxmlPackage } from './types-barrel-CkF2JbU4.js';
1
+ import { O as OoxmlPart, a4 as OoxmlNode, a5 as OoxmlPackage } from './tree-op-types-C_S2niXW.js';
2
2
 
3
3
  /** `w:pos` — where a section's footnotes are laid out. */
4
4
  type FootnotePosition = 'pageBottom' | 'beneathText' | 'sectEnd' | 'docEnd';
package/dist/output.cjs CHANGED
@@ -1 +1 @@
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}});
1
+ 'use strict';var chunkZGTIE3QJ_cjs=require('./chunk-ZGTIE3QJ.cjs');require('./chunk-6NVZNB7O.cjs'),require('./chunk-FDSL5OJU.cjs'),require('./chunk-TJHE5EET.cjs'),require('./chunk-65XBN67F.cjs'),require('./chunk-ZOZI27AW.cjs');Object.defineProperty(exports,"DEFAULT_FIELD_SHADING",{enumerable:true,get:function(){return chunkZGTIE3QJ_cjs.p}});Object.defineProperty(exports,"collectPageChangeBars",{enumerable:true,get:function(){return chunkZGTIE3QJ_cjs.j}});Object.defineProperty(exports,"lumTransfer",{enumerable:true,get:function(){return chunkZGTIE3QJ_cjs.k}});Object.defineProperty(exports,"observeUnsupportedElements",{enumerable:true,get:function(){return chunkZGTIE3QJ_cjs.a}});Object.defineProperty(exports,"paintSelectionOverlay",{enumerable:true,get:function(){return chunkZGTIE3QJ_cjs.u}});Object.defineProperty(exports,"paintSemanticLayout",{enumerable:true,get:function(){return chunkZGTIE3QJ_cjs.s}});
package/dist/output.d.ts CHANGED
@@ -8,13 +8,17 @@
8
8
  * @packageDocumentation
9
9
  * @public
10
10
  */
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';
11
+ import { R as ReviewAuthorInfo } from './semantic-paint-BPw_n0li.js';
12
+ export { B as BreakMarkStrings, C as ChangeBarsMode, D as DEFAULT_FIELD_SHADING, F as FieldShadingMode, P as PageChangeBars, d as PaintOptions, a as RevisionAuthorAssignments, b as RevisionAuthorStyle, c as RevisionStyles, e as collectPageChangeBars, p as paintSemanticLayout } from './semantic-paint-BPw_n0li.js';
13
+ import { S as SemanticLayout } from './semantic-records-BvN-WWst.js';
14
+ export { U as UnsupportedElement, e as UnsupportedElementLayout, f as UnsupportedElementRule } from './semantic-records-BvN-WWst.js';
15
+ export { U as UnsupportedElementHost, o as observeUnsupportedElements } from './unsupported-elements-CVos5cqe.js';
16
+ import './revision-projection-Cn6rZJ7H.js';
17
+ import './tree-op-types-C_S2niXW.js';
18
+ import './editor-scope-B3L-1ALc.js';
19
+ import './semantic-record-queries-C0rJ3sB4.js';
20
+ import './headless-document-view-Bcz9_Qva.js';
21
+ import './tree-package-store-CRHvMyNj.js';
18
22
 
19
23
  /** A rectangle in page-content coordinates, on a named page. */
20
24
  interface OverlayRect {
package/dist/output.js CHANGED
@@ -1 +1 @@
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
+ export{p as DEFAULT_FIELD_SHADING,j as collectPageChangeBars,k as lumTransfer,a as observeUnsupportedElements,u as paintSelectionOverlay,s as paintSemanticLayout}from'./chunk-FS7CMYLT.js';import'./chunk-SRVKFUFI.js';import'./chunk-RIYSCEFQ.js';import'./chunk-DDFHKQFU.js';import'./chunk-ACLR4DMK.js';import'./chunk-HDOXACHP.js';import'./chunk-GWM3AKUD.js';
@@ -1,5 +1,5 @@
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';
1
+ import { aE as AutomationTableMutation, Q as RevisionBatchResult, K as RevisionAuthorResult } from './tree-op-types-C_S2niXW.js';
2
+ import { c as HeaderFooterVariant, N as NoteKind } from './tree-package-store-CRHvMyNj.js';
3
3
 
4
4
  /** Word's shape types, as `Word.ShapeType` spells them. */
5
5
  type AutomationShapeType = 'TextBox' | 'GeometricShape' | 'Picture' | 'Group' | 'Canvas' | 'Unsupported';
@@ -162,6 +162,25 @@ type AutomationAuthoringOperation = {
162
162
  readonly op: 'setFieldCode';
163
163
  readonly field: AutomationHandle;
164
164
  readonly code: string;
165
+ }
166
+ /** The text of a field's cached result, read as a range over the field reads it. */
167
+ | {
168
+ readonly op: 'getFieldResult';
169
+ readonly field: AutomationHandle;
170
+ readonly projection?: AutomationTextProjection;
171
+ }
172
+ /** Replace a field's cached result with plain text. The instruction never changes. */
173
+ | {
174
+ readonly op: 'setFieldResult';
175
+ readonly field: AutomationHandle;
176
+ readonly text: string;
177
+ }
178
+ /** Insert the one equation a Flat OPC package holds. See `equation-snippet.ts`. */
179
+ | {
180
+ readonly op: 'insertOoxml';
181
+ readonly span: AutomationSpanRef;
182
+ readonly location: 'Before' | 'After' | 'Start' | 'End' | 'Replace';
183
+ readonly ooxml: string;
165
184
  } | {
166
185
  readonly op: 'insertField';
167
186
  readonly span: AutomationSpanRef;
@@ -189,6 +208,15 @@ type AutomationAuthoringOperation = {
189
208
  readonly table: AutomationHandle;
190
209
  readonly rowIndex: number;
191
210
  readonly cellIndex: number;
211
+ }
212
+ /** The cell a merge of this rectangle merges into, read before the merge applies. */
213
+ | {
214
+ readonly op: 'getMergedTableCell';
215
+ readonly table: AutomationHandle;
216
+ readonly topRow: number;
217
+ readonly firstCell: number;
218
+ readonly bottomRow: number;
219
+ readonly lastCell: number;
192
220
  } | {
193
221
  readonly op: 'getTableCellProperties' | 'getTableCellBody';
194
222
  readonly cell: AutomationHandle;
@@ -199,6 +227,8 @@ type AutomationAuthoringOperation = {
199
227
  kind: 'cell';
200
228
  } | {
201
229
  kind: 'insertRows';
230
+ } | {
231
+ kind: 'splitCell';
202
232
  }>;
203
233
  } | {
204
234
  readonly op: 'updateTableCell';
@@ -208,6 +238,13 @@ type AutomationAuthoringOperation = {
208
238
  } | {
209
239
  kind: 'insertRows';
210
240
  }>, 'kind' | 'cellId'>;
241
+ }
242
+ /** Split one cell into `rowCount` by `columnCount` cells. */
243
+ | {
244
+ readonly op: 'splitTableCell';
245
+ readonly cell: AutomationHandle;
246
+ readonly rowCount: number;
247
+ readonly columnCount: number;
211
248
  } | {
212
249
  readonly op: 'insertTable';
213
250
  readonly span: AutomationSpanRef;
@@ -344,16 +381,20 @@ type AutomationSpanRef = {
344
381
  readonly body: AutomationHandle;
345
382
  };
346
383
  /**
347
- * Where to look for content controls: a whole story, or inside one control.
384
+ * Where to look for content controls: a whole story, inside one control, or across a span.
348
385
  *
349
386
  * A control's own scope is how nesting is expressed. Listing every control of a story flat
350
387
  * would answer a form field and the group wrapping it as siblings, which is not what either of
351
- * them is.
388
+ * them is. A SPAN scope is the exception on purpose: it answers every control the span
389
+ * overlaps, at any depth, including a control that holds the whole span, because a caller asks
390
+ * a range for its controls to learn what an edit through it would touch.
352
391
  */
353
392
  type AutomationContentControlScope = {
354
393
  readonly body: AutomationHandle;
355
394
  } | {
356
395
  readonly contentControl: AutomationHandle;
396
+ } | {
397
+ readonly span: AutomationSpanRef;
357
398
  };
358
399
  /** The value a control accepts, by what kind of control it is. */
359
400
  type AutomationContentControlValue = {
@@ -496,6 +537,35 @@ type AutomationOperation = AutomationAuthoringOperation | {
496
537
  readonly span: AutomationSpanRef;
497
538
  readonly projection?: AutomationTextProjection;
498
539
  }
540
+ /**
541
+ * A span split into ranges that each end after one of `endingMarks`, or at a paragraph end.
542
+ *
543
+ * Boundaries come from the model text, so a field, an equation, or another atom is never
544
+ * split. `trimSpacing` removes spaces, tabs, and column breaks from each range's edges and
545
+ * drops a range left empty. A range the projection shows no character of is not answered.
546
+ */
547
+ | {
548
+ readonly op: 'getTextRanges';
549
+ readonly scope: AutomationSpanRef;
550
+ readonly endingMarks: readonly string[];
551
+ readonly trimSpacing?: boolean;
552
+ readonly projection?: AutomationTextProjection;
553
+ }
554
+ /** The smallest span covering both spans. Both must be in one story. */
555
+ | {
556
+ readonly op: 'expandSpan';
557
+ readonly span: AutomationSpanRef;
558
+ readonly to: AutomationSpanRef;
559
+ }
560
+ /**
561
+ * A span's text as if every pending revision were accepted (`current`) or rejected
562
+ * (`original`), with a carriage return at each paragraph mark that view keeps.
563
+ */
564
+ | {
565
+ readonly op: 'getReviewedText';
566
+ readonly span: AutomationSpanRef;
567
+ readonly version: 'original' | 'current';
568
+ }
499
569
  /**
500
570
  * A paragraph's own identity as the DOCUMENT writes it (`w14:paraId`).
501
571
  *
@@ -1740,4 +1810,4 @@ interface AutomationHost {
1740
1810
  dispose(): void;
1741
1811
  }
1742
1812
 
1743
- export type { AutomationOperation as A, AutomationPoint as B, AutomationReadingOrder as C, AutomationSaveResult as D, AutomationSearchOptions as E, AutomationSelectionMode as F, AutomationSpan as G, AutomationSpanRef as H, AutomationTextProjection as I, AutomationUnsubscribe as J, AutomationValue as K, 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 };
1813
+ export type { AutomationOperation as A, AutomationOperationKind as B, AutomationOperationResult as C, AutomationPageOrientation as D, AutomationPageSetupRead as E, AutomationPageSetupWrite as F, AutomationParagraphFormatRead as G, AutomationParagraphFormatWrite as H, AutomationParagraphRef as I, AutomationPoint as J, AutomationReadingOrder as K, AutomationSaveResult as L, AutomationSearchOptions as M, AutomationSelectionMode as N, AutomationShapeRead as O, AutomationShapeType as P, AutomationSpan as Q, AutomationSpanRef as R, AutomationTextProjection as S, AutomationUnsubscribe as T, AutomationValue as U, AutomationCapabilities as a, AutomationHost as b, AutomationAlignment as c, AutomationAuthoringOperation as d, AutomationBatchRequest as e, AutomationBatchResponse as f, AutomationChangeEvent as g, AutomationContentControlLock as h, AutomationContentControlRangeLocation as i, AutomationContentControlScope as j, AutomationContentControlSubtype as k, AutomationContentControlValue as l, AutomationCustomNodePayload as m, AutomationEndpoint as n, AutomationError as o, AutomationErrorCode as p, AutomationFontRead as q, AutomationFontWrite as r, AutomationHandle as s, AutomationHandleRef as t, AutomationInlinePictureRead as u, AutomationInlinePictureWrite as v, AutomationListBullet as w, AutomationListLevelFormat as x, AutomationListNumbering as y, AutomationObjectKind as z };
@@ -1,4 +1,4 @@
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';
1
+ import { a4 as OoxmlNode, av as OoxmlElement, aw as OoxmlContentControlNode, ax as OoxmlGenericElementNode, ay as OoxmlContentControlContentNode, C as CommentRecord, O as OoxmlPart } from './tree-op-types-C_S2niXW.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;