@arbidocs/blocks 0.5.135 → 0.5.136

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 (181) hide show
  1. package/dist/{DocumentReviewCard-EM2AJUF3.cjs → DocumentReviewCard-UV3DLFCB.cjs} +3 -3
  2. package/dist/{DocumentReviewCard-EM2AJUF3.cjs.map → DocumentReviewCard-UV3DLFCB.cjs.map} +1 -1
  3. package/dist/connect/index.cjs +9 -9
  4. package/dist/index.cjs +22 -22
  5. package/dist/vite/index.cjs +11 -1
  6. package/dist/vite/index.cjs.map +1 -1
  7. package/dist/vite/index.d.ts +13 -0
  8. package/dist/vite/index.js +11 -1
  9. package/dist/vite/index.js.map +1 -1
  10. package/dist/workflow-canvas/index.cjs +1 -1
  11. package/node_modules/@arbidocs/coedit/dist/commands.cjs +18 -1
  12. package/node_modules/@arbidocs/coedit/dist/commands.cjs.map +1 -1
  13. package/node_modules/@arbidocs/coedit/dist/commands.d.cts +2 -2
  14. package/node_modules/@arbidocs/coedit/dist/commands.d.ts +2 -2
  15. package/node_modules/@arbidocs/coedit/dist/commands.js +18 -1
  16. package/node_modules/@arbidocs/coedit/dist/commands.js.map +1 -1
  17. package/node_modules/@arbidocs/coedit/dist/{port-BbN5OZHx.d.cts → port-DXBNxZYw.d.cts} +2 -0
  18. package/node_modules/@arbidocs/coedit/dist/{port-BbN5OZHx.d.ts → port-DXBNxZYw.d.ts} +2 -0
  19. package/node_modules/@arbidocs/coedit/dist/server.cjs +16 -0
  20. package/node_modules/@arbidocs/coedit/dist/server.cjs.map +1 -1
  21. package/node_modules/@arbidocs/coedit/dist/server.d.cts +1 -1
  22. package/node_modules/@arbidocs/coedit/dist/server.d.ts +1 -1
  23. package/node_modules/@arbidocs/coedit/dist/server.js +16 -0
  24. package/node_modules/@arbidocs/coedit/dist/server.js.map +1 -1
  25. package/node_modules/@arbidocs/coedit/package.json +2 -2
  26. package/node_modules/@docx-editor.dev/core/README.md +25 -1
  27. package/node_modules/@docx-editor.dev/core/THIRD_PARTY_NOTICES.md +1 -0
  28. package/node_modules/@docx-editor.dev/core/dist/automation.cjs +1 -1
  29. package/node_modules/@docx-editor.dev/core/dist/automation.d.ts +21 -63
  30. package/node_modules/@docx-editor.dev/core/dist/automation.js +1 -1
  31. package/node_modules/@docx-editor.dev/core/dist/binding.cjs +1 -1
  32. package/node_modules/@docx-editor.dev/core/dist/binding.d.ts +49 -40
  33. package/node_modules/@docx-editor.dev/core/dist/binding.js +1 -1
  34. package/node_modules/@docx-editor.dev/core/dist/{chrome-print-CAs51cpq.d.ts → chrome-print-CrPI9ZQc.d.ts} +714 -290
  35. package/node_modules/@docx-editor.dev/core/dist/chunk-23MKR33J.js +4 -0
  36. package/node_modules/@docx-editor.dev/core/dist/chunk-2CWQY27B.cjs +1 -0
  37. package/node_modules/@docx-editor.dev/core/dist/chunk-2DEY5NUC.cjs +32 -0
  38. package/node_modules/@docx-editor.dev/core/dist/chunk-2DR4TH6B.js +1 -0
  39. package/node_modules/@docx-editor.dev/core/dist/chunk-2F2UEAE2.js +2 -0
  40. package/node_modules/@docx-editor.dev/core/dist/chunk-2GPGAFOJ.cjs +5 -0
  41. package/node_modules/@docx-editor.dev/core/dist/chunk-ALD626VU.cjs +2 -0
  42. package/node_modules/@docx-editor.dev/core/dist/chunk-AU33YWEJ.js +236 -0
  43. package/node_modules/@docx-editor.dev/core/dist/chunk-AXU63LYW.cjs +1 -0
  44. package/node_modules/@docx-editor.dev/core/dist/chunk-CM5VZRBV.js +32 -0
  45. package/node_modules/@docx-editor.dev/core/dist/chunk-D7FAFFTN.js +1 -0
  46. package/node_modules/@docx-editor.dev/core/dist/chunk-DYUVJNDD.cjs +1 -0
  47. package/node_modules/@docx-editor.dev/core/dist/chunk-ESYUKD5D.js +2 -0
  48. package/node_modules/@docx-editor.dev/core/dist/chunk-F7TGQMVR.js +5 -0
  49. package/node_modules/@docx-editor.dev/core/dist/chunk-FLW7KIQX.js +30 -0
  50. package/node_modules/@docx-editor.dev/core/dist/chunk-JG4A6W6I.js +7 -0
  51. package/node_modules/@docx-editor.dev/core/dist/chunk-JNGLSBPH.js +2 -0
  52. package/node_modules/@docx-editor.dev/core/dist/chunk-KE6ZWRIY.cjs +236 -0
  53. package/node_modules/@docx-editor.dev/core/dist/chunk-L3YXJDPX.js +1 -0
  54. package/node_modules/@docx-editor.dev/core/dist/chunk-LI42N7OW.cjs +4 -0
  55. package/node_modules/@docx-editor.dev/core/dist/chunk-PLKDS4JT.js +1 -0
  56. package/node_modules/@docx-editor.dev/core/dist/chunk-PXMTQ73F.cjs +2 -0
  57. package/node_modules/@docx-editor.dev/core/dist/chunk-R4R3AAE4.js +1 -0
  58. package/node_modules/@docx-editor.dev/core/dist/chunk-RFUNFTGV.cjs +1 -0
  59. package/node_modules/@docx-editor.dev/core/dist/chunk-SVM6PGMS.js +3 -0
  60. package/node_modules/@docx-editor.dev/core/dist/chunk-SZURLHR3.cjs +3 -0
  61. package/node_modules/@docx-editor.dev/core/dist/chunk-UYCGCVZ2.cjs +1 -0
  62. package/node_modules/@docx-editor.dev/core/dist/chunk-WN7ICTA5.js +1 -0
  63. package/node_modules/@docx-editor.dev/core/dist/chunk-X34QRAUU.cjs +1 -0
  64. package/node_modules/@docx-editor.dev/core/dist/chunk-XNBYG4XJ.cjs +30 -0
  65. package/node_modules/@docx-editor.dev/core/dist/chunk-ZDFJW5XS.cjs +2 -0
  66. package/node_modules/@docx-editor.dev/core/dist/chunk-ZWO4JHNN.cjs +7 -0
  67. package/node_modules/@docx-editor.dev/core/dist/collaboration/replication.cjs +1 -1
  68. package/node_modules/@docx-editor.dev/core/dist/collaboration/replication.d.ts +29 -5
  69. package/node_modules/@docx-editor.dev/core/dist/collaboration/replication.js +1 -1
  70. package/node_modules/@docx-editor.dev/core/dist/collaboration.cjs +1 -1
  71. package/node_modules/@docx-editor.dev/core/dist/collaboration.d.ts +5 -6
  72. package/node_modules/@docx-editor.dev/core/dist/collaboration.js +1 -1
  73. package/node_modules/@docx-editor.dev/core/dist/contracts/document.d.ts +3 -3
  74. package/node_modules/@docx-editor.dev/core/dist/contracts/editor.d.ts +13 -10
  75. package/node_modules/@docx-editor.dev/core/dist/contracts/interaction.d.ts +2 -2
  76. package/node_modules/@docx-editor.dev/core/dist/contracts/modules.d.ts +15 -13
  77. package/node_modules/@docx-editor.dev/core/dist/contracts/types.d.ts +135 -2
  78. package/node_modules/@docx-editor.dev/core/dist/{custom-node-writes-Bn6uciLb.d.ts → custom-node-writes-AqY5KpVx.d.ts} +7 -2
  79. package/node_modules/@docx-editor.dev/core/dist/diagnostic-context-CuzhOX0g.d.ts +98 -0
  80. package/node_modules/@docx-editor.dev/core/dist/{diagnostic-hints-BeVjfNOv.d.ts → diagnostic-hints-BtCaCqQC.d.ts} +14 -7
  81. package/node_modules/@docx-editor.dev/core/dist/{document-protection-CUb55pl_.d.ts → document-protection-BvbpSXbQ.d.ts} +1 -1
  82. package/node_modules/@docx-editor.dev/core/dist/drawing-graphic-kind-CXYGYbB3.d.ts +324 -0
  83. package/node_modules/@docx-editor.dev/core/dist/drawing-preview-package-B9lSLRg4.d.ts +115 -0
  84. package/node_modules/@docx-editor.dev/core/dist/{editor-CZQZmTIU.d.ts → editor-B7OOAAie.d.ts} +536 -283
  85. package/node_modules/@docx-editor.dev/core/dist/editor-fonts-D_-vjuJi.d.ts +53 -0
  86. package/node_modules/@docx-editor.dev/core/dist/editor-scope-CA6egMaK.d.ts +141 -0
  87. package/node_modules/@docx-editor.dev/core/dist/editor.cjs +1 -1
  88. package/node_modules/@docx-editor.dev/core/dist/editor.css +6 -4
  89. package/node_modules/@docx-editor.dev/core/dist/editor.d.ts +834 -34
  90. package/node_modules/@docx-editor.dev/core/dist/editor.js +1 -1
  91. package/node_modules/@docx-editor.dev/core/dist/export.cjs +2 -2
  92. package/node_modules/@docx-editor.dev/core/dist/export.d.ts +52 -21
  93. package/node_modules/@docx-editor.dev/core/dist/export.js +2 -2
  94. package/node_modules/@docx-editor.dev/core/dist/{failure-NS2lsya4.d.ts → failure-6KGFrDO9.d.ts} +1 -1
  95. package/node_modules/@docx-editor.dev/core/dist/{font-resolver-lSBLirLR.d.ts → font-resolver-Bm9XqTNO.d.ts} +15 -1
  96. package/node_modules/@docx-editor.dev/core/dist/font-shaping-policy-BvpkrfxM.d.ts +7 -0
  97. package/node_modules/@docx-editor.dev/core/dist/index.cjs +1 -1
  98. package/node_modules/@docx-editor.dev/core/dist/index.d.ts +44 -27
  99. package/node_modules/@docx-editor.dev/core/dist/index.js +1 -1
  100. package/node_modules/@docx-editor.dev/core/dist/{layout-shaping-BD-dF_rn.d.ts → layout-shaping-Ci_BTnSU.d.ts} +3 -2
  101. package/node_modules/@docx-editor.dev/core/dist/layout.cjs +1 -1
  102. package/node_modules/@docx-editor.dev/core/dist/layout.d.ts +276 -126
  103. package/node_modules/@docx-editor.dev/core/dist/layout.js +1 -1
  104. package/node_modules/@docx-editor.dev/core/dist/metafile-drawing-DtMFyMKq.d.ts +107 -0
  105. package/node_modules/@docx-editor.dev/core/dist/{note-properties-qQUjO1GQ.d.ts → note-properties-DCIJUKIy.d.ts} +1 -1
  106. package/node_modules/@docx-editor.dev/core/dist/output.cjs +1 -1
  107. package/node_modules/@docx-editor.dev/core/dist/output.d.ts +24 -10
  108. package/node_modules/@docx-editor.dev/core/dist/output.js +1 -1
  109. package/node_modules/@docx-editor.dev/core/dist/{protocol-DYzzz2ej.d.ts → protocol-Cp_QzVxS.d.ts} +167 -5
  110. package/node_modules/@docx-editor.dev/core/dist/{review-paragraph-order-CN_0l2Cb.d.ts → review-paragraph-order-BJQ43_r0.d.ts} +1 -1
  111. package/node_modules/@docx-editor.dev/core/dist/revision-projection-OVusTS77.d.ts +258 -0
  112. package/node_modules/@docx-editor.dev/core/dist/{semantic-cell-selection-eYag3P47.d.ts → semantic-cell-selection-CoI5hHBm.d.ts} +2 -2
  113. package/node_modules/@docx-editor.dev/core/dist/{semantic-interaction-kR_QB845.d.ts → semantic-interaction-BbA4dgEo.d.ts} +1 -1
  114. package/node_modules/@docx-editor.dev/core/dist/{semantic-paint-ZayFF3tD.d.ts → semantic-paint-B5JcIv9c.d.ts} +19 -9
  115. package/node_modules/@docx-editor.dev/core/dist/{semantic-record-queries-Bsgth6lv.d.ts → semantic-record-queries-DnO8J5_j.d.ts} +1 -1
  116. package/node_modules/@docx-editor.dev/core/dist/{semantic-records-DQmumPgL.d.ts → semantic-records-DoK0lNjS.d.ts} +697 -608
  117. package/node_modules/@docx-editor.dev/core/dist/store.cjs +1 -1
  118. package/node_modules/@docx-editor.dev/core/dist/store.d.ts +527 -123
  119. package/node_modules/@docx-editor.dev/core/dist/store.js +1 -1
  120. package/node_modules/@docx-editor.dev/core/dist/{types-barrel-DuC5QBNC.d.ts → tree-op-types-Df4oY2u4.d.ts} +1723 -765
  121. package/node_modules/@docx-editor.dev/core/dist/{tree-package-store-CovjNARF.d.ts → tree-package-store-DXhX1PE-.d.ts} +617 -428
  122. package/node_modules/@docx-editor.dev/core/dist/{tree-session-contract-CZVAGl51.d.ts → tree-session-contract-CF2625mv.d.ts} +28 -13
  123. package/node_modules/@docx-editor.dev/core/dist/unsupported-elements-CUojsaCr.d.ts +23 -0
  124. package/node_modules/@docx-editor.dev/core/docs/accept-reject-without-scrolling.md +95 -0
  125. package/node_modules/@docx-editor.dev/core/docs/comment-on-found-text.md +72 -0
  126. package/node_modules/@docx-editor.dev/core/docs/custom-review-cards.md +178 -0
  127. package/node_modules/@docx-editor.dev/core/docs/highlight-ranges.md +48 -0
  128. package/node_modules/@docx-editor.dev/core/docs/index.md +36 -0
  129. package/node_modules/@docx-editor.dev/core/docs/propose-rewrite.md +247 -0
  130. package/node_modules/@docx-editor.dev/core/docs/tracked-replacement.md +68 -0
  131. package/node_modules/@docx-editor.dev/core/licenses/ECMA-376.md +29 -0
  132. package/node_modules/@docx-editor.dev/core/package.json +3 -2
  133. package/node_modules/@docx-editor.dev/react/README.md +71 -0
  134. package/node_modules/@docx-editor.dev/react/dist/index.d.mts +936 -86
  135. package/node_modules/@docx-editor.dev/react/dist/index.d.ts +936 -86
  136. package/node_modules/@docx-editor.dev/react/dist/index.js +3 -3
  137. package/node_modules/@docx-editor.dev/react/dist/index.mjs +3 -3
  138. package/node_modules/@docx-editor.dev/react/docs/accept-reject-without-scrolling.md +72 -0
  139. package/node_modules/@docx-editor.dev/react/docs/comment-on-found-text.md +47 -0
  140. package/node_modules/@docx-editor.dev/react/docs/custom-review-cards.md +105 -0
  141. package/node_modules/@docx-editor.dev/react/docs/highlight-ranges.md +25 -0
  142. package/node_modules/@docx-editor.dev/react/docs/index.md +36 -0
  143. package/node_modules/@docx-editor.dev/react/docs/propose-rewrite.md +247 -0
  144. package/node_modules/@docx-editor.dev/react/docs/tracked-replacement.md +45 -0
  145. package/node_modules/@docx-editor.dev/react/package.json +4 -3
  146. package/package.json +8 -8
  147. package/node_modules/@docx-editor.dev/core/dist/chunk-236O4YQW.js +0 -2
  148. package/node_modules/@docx-editor.dev/core/dist/chunk-6JIJOZDW.js +0 -1
  149. package/node_modules/@docx-editor.dev/core/dist/chunk-6JPL6ZAS.cjs +0 -5
  150. package/node_modules/@docx-editor.dev/core/dist/chunk-6ZQP4HQ7.js +0 -3
  151. package/node_modules/@docx-editor.dev/core/dist/chunk-7WQ7AAHW.cjs +0 -2
  152. package/node_modules/@docx-editor.dev/core/dist/chunk-BCXH4BXB.js +0 -5
  153. package/node_modules/@docx-editor.dev/core/dist/chunk-BTQKU64Q.cjs +0 -1
  154. package/node_modules/@docx-editor.dev/core/dist/chunk-BY2ACZZ6.cjs +0 -1
  155. package/node_modules/@docx-editor.dev/core/dist/chunk-CAJEXXVG.cjs +0 -4
  156. package/node_modules/@docx-editor.dev/core/dist/chunk-CPWLFPWC.js +0 -30
  157. package/node_modules/@docx-editor.dev/core/dist/chunk-D7ZMDMPX.cjs +0 -3
  158. package/node_modules/@docx-editor.dev/core/dist/chunk-DOHF6FA7.cjs +0 -30
  159. package/node_modules/@docx-editor.dev/core/dist/chunk-DVX32P2P.js +0 -27
  160. package/node_modules/@docx-editor.dev/core/dist/chunk-E4LOMDNL.js +0 -1
  161. package/node_modules/@docx-editor.dev/core/dist/chunk-EKLM7NWB.cjs +0 -7
  162. package/node_modules/@docx-editor.dev/core/dist/chunk-G3K63G7P.cjs +0 -27
  163. package/node_modules/@docx-editor.dev/core/dist/chunk-G4HOFIKJ.js +0 -1
  164. package/node_modules/@docx-editor.dev/core/dist/chunk-JLVBDYVQ.cjs +0 -2
  165. package/node_modules/@docx-editor.dev/core/dist/chunk-LQX36Z5P.js +0 -7
  166. package/node_modules/@docx-editor.dev/core/dist/chunk-LSZ6KPKK.js +0 -1
  167. package/node_modules/@docx-editor.dev/core/dist/chunk-MM5QBMTE.cjs +0 -1
  168. package/node_modules/@docx-editor.dev/core/dist/chunk-OMCG63ZF.js +0 -1
  169. package/node_modules/@docx-editor.dev/core/dist/chunk-OSFOJTHU.cjs +0 -18
  170. package/node_modules/@docx-editor.dev/core/dist/chunk-RCLZXP3B.js +0 -2
  171. package/node_modules/@docx-editor.dev/core/dist/chunk-T6K2QYNZ.cjs +0 -2
  172. package/node_modules/@docx-editor.dev/core/dist/chunk-TRGAVV2Y.js +0 -4
  173. package/node_modules/@docx-editor.dev/core/dist/chunk-U4JZVSOE.js +0 -2
  174. package/node_modules/@docx-editor.dev/core/dist/chunk-UHHYFIDT.cjs +0 -1
  175. package/node_modules/@docx-editor.dev/core/dist/chunk-W35WTWAO.cjs +0 -1
  176. package/node_modules/@docx-editor.dev/core/dist/chunk-YQ5G6LC7.js +0 -18
  177. package/node_modules/@docx-editor.dev/core/dist/diagnostic-context-B8M79cfK.d.ts +0 -30
  178. package/node_modules/@docx-editor.dev/core/dist/editor-scope-7o9xweiJ.d.ts +0 -84
  179. package/node_modules/@docx-editor.dev/core/dist/headless-document-view-pp3q7wIh.d.ts +0 -143
  180. package/node_modules/@docx-editor.dev/core/dist/image-resources-tXLQShoC.d.ts +0 -211
  181. package/node_modules/@docx-editor.dev/core/dist/omml-equation-BUbU0utM.d.ts +0 -85
@@ -11,23 +11,25 @@
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 ResolvedListItem, a3 as RefFieldContext, T as TextMeasurer, a4 as InlineDrawingLayoutContext, a5 as CellBorderBox, a6 as TableBorderBox, a7 as TableCellStyleFormatting, a8 as TableFloatPosition, a9 as StyleCascadeTable, b as RevisionDisplayMode, aa as RevisionAuthorFilter, C as ContentControlBoundaryRecord$1, o as FixedPointRoundingMode, ab as FixedPoint, V as VersionedShapingLibrary, k as TextShaper, ac as FontByteValidator, v as ShapedRun, L as LineRecord, ad as SourceRange, ae as HyperlinkProjector, af as FieldLinkProjector, ag as StoryPageFieldNeeds, ah as HyperlinkFieldSpec, ai as SpanLinkRecord, aj as PageGeometry, ak as SectionColumns, al as SectionPageBorders, am as PageBorderFrameRecord, an as ParagraphBorderStrokeRecord, ao as StrikeoutStrokePt } from './semantic-records-DQmumPgL.js';
15
- export { ap as AUTO_PARAGRAPH_SPACING_PT, aq as AbstractNumDefinition, ar as AnchoredDrawingLayoutFallback, as as BidiEmbeddingLevels, at as BorderGridGeometry, au as CascadedParagraphFormatting, av as CjkTypographySettings, aw as ContentControlGeometryFragment, ax as ContentControlLevel, f as ContentControlLock, ay as ContentControlMappedType, az as DEFAULT_PAGE_GEOMETRY, aA as DEFAULT_REVISION_DISPLAY_MODE, aB as DEFAULT_RUN_STYLE, aC as DEFAULT_SECTION_PROPERTIES, aD as DEFAULT_TAB_INTERVAL_PT, aE as DEFAULT_TAB_INTERVAL_TWIPS, aF as DeclaredFontSubstitution, aG as DocumentSection, aH as DocumentSectionsEnumeration, aI as DrawingClipFallback, aJ as DrawingGeometry, aK as DrawingGroupPictureRecord, aL as EMPTY_NUMBERING_INDEX, aM as EMPTY_TAB_STOPS, aN as EquationFractionGeometry, aO as EquationGeometry, aP as EquationNaryGeometry, aQ as EquationRadicalGeometry, aR as EquationRowGeometry, aS as EquationScriptGeometry, aT as EquationSpanRecord, aU as EquationTextGeometry, aV as FieldAtomMarker, aW as FontFingerprintInputs, p as FontRequest, aX as FontResolutionError, aY as FontResolutionErrorCode, aZ as FontResourceDefinition, a_ as FontResourceInstrumentation, F as FontResourceSnapshot, a$ as FontResourceSnapshotOptions, b0 as FontSlot, u as FontSubstitution, b1 as FontValidationResult, b2 as GlyphOutline, b3 as GroupTextboxStoryRecord, b4 as HARD_MAX_AGGREGATE_FONT_BYTES, b5 as HARD_MAX_FONT_BYTES, b6 as HARD_MAX_FONT_SOURCES, H as HeaderFooterStoryRecord, b7 as LevelOverride, b8 as LineSpacingRule, b9 as ListMarkerAlign, s as ListMarkerPictureRecord, ba as ListMarkerRecord, bb as ListSuffix, bc as MAX_BORDER_SPACE_PT, bd as MAX_BORDER_WIDTH_PT, be as MAX_DOCUMENT_SECTIONS, bf as MAX_LVL_OVERRIDES, bg as MAX_NUMBERING_DEFINITIONS, bh as MAX_PARAGRAPH_SPACING_PT, bi as MAX_SHAPING_CONTEXT, bj as MAX_STYLE_DEFINITIONS, bk as MAX_TABLE_BORDER_STROKES, bl as MAX_TAB_POSITION_TWIPS, bm as MAX_TAB_STOPS, n as NormalizationPolicy, N as NoteAreaRecord, e as NoteStoryRecord, bn as NumDefinition, bo as NumberingLevelIndent, bp as NumberingPictureBullet, bq as PAGE_BORDER_SIDES, br as PARAGRAPH_BORDER_SIDES, bs as PageBorderDisplay, bt as PageBorderOffsetFrom, bu as PageBorderSide, bv as PageBorderStrokeRecord, bw as PageBorderZOrder, bx as PageRefCalibrationCell, by as PageRefFieldProjection, bz as ParagraphAutoSpacingContext, bA as ParagraphBorderEdge, bB as ParagraphBorderSide, bC as ParagraphBorders, bD as ParagraphBottomBorderRecord, bE as ParagraphIndent, bF as ParagraphLayoutInputs, bG as ParagraphLineSpacing, bH as ParagraphSpacing, bI as RefFieldSpec, bJ as RefNoteParts, bK as ResolvedCellBorders, m as ResolvedFont, bL as ResolvedPictureBullet, l as ResolvedRunStyle, bM as ResolvedTabStops, bN as ResolvedTableBorderEdge, bO as ResolvedTableBorderEdgeSegment, bP as ResolvedUnderline, bQ as RevisionFilter, bR as RevisionKind, bS as SINGLE_LINE_SPACING, bT as ScriptItem, bU as SectionBreakMarkRecord, bV as SectionBreakType, bW as SectionColumnDefinition, bX as SectionMargins, bY as SectionPageNumbering, O as SectionProperties, bZ as SemanticArtifactRootStoryKind, b_ as SemanticArtifactStoryKind, b$ as SemanticCommentArtifactRecord, c0 as SemanticReviewArtifactOccurrence, c1 as SemanticReviewArtifactOccurrenceGeometry, c2 as SemanticReviewArtifactPosition, r as SemanticReviewArtifactRecord, c3 as SemanticReviewArtifactSource, c4 as SemanticTrackedChangeArtifactRecord, c5 as ShapeInput, c6 as ShapedCluster, c7 as ShapedFontSpan, c8 as ShapedGlyph, c9 as ShapedRunComparatorInputs, ca as ShapedVerticalMetrics, cb as ShapingContext, cc as ShapingEnvironment, cd as ShapingEnvironmentFingerprintInputs, j as ShapingEnvironmentInput, ce as StyleDefinition, cf as TAB_LEADER_GLYPH, cg as TabAlignment, ch as TabDestination, ci as TabLeader, cj as TabStop, ck as TableBorderSideName, cl as TableBorderStrokeRecord, i as TableCellFragmentRecord, cm as TableFragmentRecord, h as TableRowFragmentRecord, cn as TextDirection, co as TextboxStoryFallbackReason, cp as TextboxStoryLayout, cq as UnsupportedScriptError, cr as VerticalAlign, cs as appliedSpaceBefore, ct as applyLineSpacing, cu as baselineShiftPtOf, cv as borderExtentPt, cw as borderWeight, cx as bottomBorderExtentPt, cy as boundedStructuralFontValidator, cz as buildNumberingIndex, cA as buildStyleCascadeTable, cB as cascadeParagraphFormatting, cC as cascadeRunProperties, cD as cascadedBottomBorder, cE as cascadedParagraphBorders, cF as cascadedTabStops, cG as collapsedSpaceBefore, cH as createFontResourceSnapshot, cI as createShapedRun, cJ as createShapingEnvironment, cK as defaultTabIntervalFromSettings, cL as displayText, cM as enumerateDocumentSections, cN as enumerateDocumentSectionsBounded, cO as fixedPoint, cP as fontRequestKey, cQ as formatRevisionOf, cR as geometryOfSection, cS as glyphSizeFactorOf, cT as isValidStyleId, cU as itemizeScriptFontSlots, cV as layoutEquation, cW as markRevisionRemovesMark, cX as measureDisplayText, cY as mergeListIndent, cZ as nextTabDestination, c_ as pageBordersFingerprint, c$ as paragraphBorderExtentPt, d0 as paragraphBorderStrokeWidthPt, d1 as paragraphBorders, d2 as paragraphBordersFingerprint, d3 as paragraphBreaksBefore, d4 as paragraphContextualSpacing, d5 as paragraphLineSpacing, d6 as paragraphMarkFormatRevisionOf, d7 as paragraphMarkRevisionOf, d8 as paragraphMarkRevisionsOf, d9 as paragraphSectionNode, da as paragraphSpacing, db as paragraphTabStops, dc as parsePageBorders, dd as parsePageNumbering, de as parseRefInstruction, df as parseSectionProperties, dg as projectedSectionSourceIndexes, dh as readBorderSide, di as readCellBorders, dj as readNumPr, dk as readSectionProperties, dl as readTableBorders, dm as resolveBorderConflict, dn as resolveNumberingLevel, dp as resolveParagraphLayoutInputs, dq as resolveRunStyle, dr as resolveStoryListItems, ds as resolveStoryRefFields, dt as resolveTableCellBorderGrid, du as revisionAuthorFilter, dv as revisionsAreDeletion, dw as revisionsVisible, dx as runStylesEqual, dy as shapedRunComparatorInputs, dz as shapingEnvironmentFingerprint, dA as shapingEnvironmentFingerprintInputs, dB as shownMarkRevision, dC as styleForFontSlot, dD as tabAdvanceWidth, dE as tabStopsFingerprint, dF as withDefaultTabInterval, dG as withNumberingStyleLinks, dH as withResolvedListItems } from './semantic-records-DQmumPgL.js';
16
- 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-BD-dF_rn.js';
17
- import { a as SemanticStoryKind, S as SemanticRootStoryKind, b as SemanticStoryVisit, T as TextboxOwnerRecord } from './semantic-record-queries-Bsgth6lv.js';
18
- 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-Bsgth6lv.js';
19
- import { aH as ImpactClass, N as OoxmlNode, ah as OoxmlProperty, ak as OoxmlElement, O as OoxmlPart, ag as TreeDocOp, Q as OoxmlPackage, be as ContentControlKind, bf as ContentControlLevel, bh as ContentControlLock, bb as ContentControlDataBinding, a as ReviewItem } from './types-barrel-DuC5QBNC.js';
20
- export { b6 as CommentAnchor, b7 as CommentPosition, C as CommentRecord, b1 as CommentThreadState, aN as DrawingAccessibility, X as DrawingHorizontalReferenceFrame, aO as DrawingImageEffects, aP as DrawingTransform, $ as DrawingVerticalReferenceFrame, a1 as ImageWrapTarget, c as ReviewCommentItem, d as ReviewCustomItem, R as ReviewModelInput, e as ReviewPosition, f as ReviewRange, b as ReviewRevisionItem, g as ReviewRevisionKind, aI as SourceCrop, aM as TableBorderStyle, dD as VectorShapeComponent, aQ as VectorShapeProjection, cu as W15_NAMESPACE_URI, dE as activeReviewItem, cY as firstReviewRange, du as reviewItemKey, dF as reviewItemPositionRank, dv as reviewItemRanges, dG as reviewItemsAt, dH as reviewThreadRootOf } from './types-barrel-DuC5QBNC.js';
21
- import { D as DocumentProperties, H as HeadlessDocumentView, r as relationshipTargetIn } from './headless-document-view-pp3q7wIh.js';
22
- import { R as ResolvedFootnoteProperties, a as ResolvedEndnoteProperties } from './note-properties-qQUjO1GQ.js';
23
- import { e as TreeModelChange, N as NoteKind, aA as noteTypeOf, F as FieldResultsMode } from './tree-package-store-CovjNARF.js';
24
- 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-CN_0l2Cb.js';
25
- import { S as SemanticPosition, b as SelectionRect, a as SemanticSelection, C as CaretGeometry } from './semantic-interaction-kR_QB845.js';
26
- 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-kR_QB845.js';
27
- 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-eYag3P47.js';
28
- import './image-resources-tXLQShoC.js';
29
- import './omml-equation-BUbU0utM.js';
30
- import './editor-scope-7o9xweiJ.js';
14
+ import { v as NumberingLevel, w as NumberingIndex, S as SemanticLayout, g as StyleSpanRecord, I as InlineDrawingRecord, M as ModelRange, x as TableBorderSide, b as LayoutBox, D as DrawingPoint, y as DrawingInsets, z as TableFloatXSpec, E as TableFloatYSpec, P as ParagraphFragmentRecord, B as BlockFragmentRecord, A as AnchoredDrawingRecord, a as PageRecord, G as NumberingLevelIndent, J as ResolvedListItem, K as RefFieldContext, T as TextMeasurer, O as InlineDrawingLayoutContext, Q as CellBorderBox, W as TableBorderBox, X as TableCellStyleFormatting, Y as TableFloatPosition, Z as StyleCascadeTable, C as ContentControlBoundaryRecord$1, n as FixedPointRoundingMode, _ as FixedPoint, V as VersionedShapingLibrary, k as TextShaper, $ as FontByteValidator, s as ShapedRun, L as LineRecord, a0 as SourceRange, a1 as HyperlinkProjector, a2 as FieldLinkProjector, a3 as StoryPageFieldNeeds, a4 as HyperlinkFieldSpec, a5 as SpanLinkRecord, a6 as PageGeometry, a7 as SectionColumns, a8 as SectionPageBorders, a9 as PageBorderFrameRecord, aa as ParagraphBorderStrokeRecord, ab as StrikeoutStrokePt, ac as TextOutline } from './semantic-records-DoK0lNjS.js';
15
+ export { ad as AUTO_PARAGRAPH_SPACING_PT, ae as AbstractNumDefinition, af as AnchoredDrawingLayoutFallback, ag as BidiEmbeddingLevels, ah as BorderGridGeometry, ai as CascadedParagraphFormatting, aj as CjkTypographySettings, ak as ContentControlGeometryFragment, al as ContentControlLevel, d as ContentControlLock, am as ContentControlMappedType, an as ContentControlModelRange, ao as DEFAULT_PAGE_GEOMETRY, ap as DEFAULT_RUN_STYLE, aq as DEFAULT_SECTION_PROPERTIES, ar as DEFAULT_TAB_INTERVAL_PT, as as DEFAULT_TAB_INTERVAL_TWIPS, at as DeclaredFontSubstitution, au as DocumentSection, av as DocumentSectionsEnumeration, aw as DrawingClipFallback, ax as DrawingGeometry, ay as DrawingGroupPictureLayerRecord, az as DrawingGroupPictureRecord, aA as DrawingPlaceholderKind, aB as DrawingTextArtRecord, aC as EMPTY_NUMBERING_INDEX, aD as EMPTY_TAB_STOPS, aE as EquationBarGeometry, aF as EquationFractionGeometry, aG as EquationGeometry, aH as EquationNaryGeometry, aI as EquationRadicalGeometry, aJ as EquationRowGeometry, aK as EquationScriptGeometry, aL as EquationSpanRecord, aM as EquationTextGeometry, aN as FieldAtomMarker, aO as FontFingerprintInputs, o as FontRequest, aP as FontResolutionError, aQ as FontResolutionErrorCode, aR as FontResourceDefinition, aS as FontResourceInstrumentation, F as FontResourceSnapshot, aT as FontResourceSnapshotOptions, aU as FontSlot, r as FontSubstitution, aV as FontValidationResult, aW as GlyphOutline, aX as GroupTextboxStoryRecord, aY as HARD_MAX_AGGREGATE_FONT_BYTES, aZ as HARD_MAX_FONT_BYTES, a_ as HARD_MAX_FONT_SOURCES, H as HeaderFooterStoryRecord, a$ as LevelOverride, b0 as LineSpacingRule, b1 as ListMarkerAlign, q as ListMarkerPictureRecord, b2 as ListMarkerRecord, b3 as ListSuffix, b4 as MAX_BORDER_SPACE_PT, b5 as MAX_BORDER_WIDTH_PT, b6 as MAX_DOCUMENT_SECTIONS, b7 as MAX_LVL_OVERRIDES, b8 as MAX_NUMBERING_DEFINITIONS, b9 as MAX_PARAGRAPH_SPACING_PT, ba as MAX_SHAPING_CONTEXT, bb as MAX_STYLE_DEFINITIONS, bc as MAX_TABLE_BORDER_STROKES, bd as MAX_TAB_POSITION_TWIPS, be as MAX_TAB_STOPS, m as NormalizationPolicy, N as NoteAreaRecord, c as NoteStoryRecord, bf as NumDefinition, bg as NumberingPictureBullet, bh as PAGE_BORDER_SIDES, bi as PARAGRAPH_BORDER_SIDES, bj as PageBorderDisplay, bk as PageBorderOffsetFrom, bl as PageBorderSide, bm as PageBorderStrokeRecord, bn as PageBorderZOrder, bo as PageRefCalibrationCell, bp as PageRefFieldProjection, bq as ParagraphAutoSpacingContext, br as ParagraphBorderEdge, bs as ParagraphBorderSide, bt as ParagraphBorders, bu as ParagraphBottomBorderRecord, bv as ParagraphIndent, bw as ParagraphLayoutInputs, bx as ParagraphLineSpacing, by as ParagraphSpacing, bz as RefFieldSpec, bA as RefNoteParts, bB as ResolvedCellBorders, l as ResolvedFont, bC as ResolvedPictureBullet, R as ResolvedRunStyle, bD as ResolvedTabStops, bE as ResolvedTableBorderEdge, bF as ResolvedTableBorderEdgeSegment, bG as ResolvedUnderline, bH as SINGLE_LINE_SPACING, bI as ScriptItem, bJ as SectionBreakMarkRecord, bK as SectionBreakType, bL as SectionColumnDefinition, bM as SectionMargins, bN as SectionPageNumbering, t as SectionProperties, bO as SemanticArtifactRootStoryKind, bP as SemanticArtifactStoryKind, bQ as SemanticCommentArtifactRecord, bR as SemanticReviewArtifactOccurrence, bS as SemanticReviewArtifactOccurrenceGeometry, bT as SemanticReviewArtifactPosition, p as SemanticReviewArtifactRecord, bU as SemanticReviewArtifactSource, bV as SemanticTrackedChangeArtifactRecord, bW as ShapeInput, bX as ShapedCluster, bY as ShapedFontSpan, bZ as ShapedGlyph, b_ as ShapedRunComparatorInputs, b$ as ShapedVerticalMetrics, c0 as ShapingContext, c1 as ShapingEnvironment, c2 as ShapingEnvironmentFingerprintInputs, j as ShapingEnvironmentInput, c3 as StyleDefinition, c4 as TAB_LEADER_GLYPH, c5 as TabAlignment, c6 as TabDestination, c7 as TabLeader, c8 as TabStop, c9 as TableBorderSideName, ca as TableBorderStrokeRecord, cb as TableCellDiagonalRecord, i as TableCellFragmentRecord, cc as TableFragmentRecord, h as TableRowFragmentRecord, cd as TextArtFit, ce as TextDirection, cf as TextboxStoryFallbackReason, cg as TextboxStoryLayout, U as UnsupportedElement, e as UnsupportedElementLayout, f as UnsupportedElementRule, ch as UnsupportedScriptError, ci as VerticalAlign, cj as appliedSpaceBefore, ck as applyLineSpacing, cl as baselineShiftPtOf, cm as borderExtentPt, cn as borderWeight, co as bottomBorderExtentPt, cp as boundedStructuralFontValidator, cq as buildNumberingIndex, cr as buildStyleCascadeTable, cs as cascadeParagraphFormatting, ct as cascadeRunProperties, cu as cascadedBottomBorder, cv as cascadedParagraphBorders, cw as cascadedTabStops, cx as collapsedSpaceBefore, cy as createFontResourceSnapshot, cz as createShapedRun, cA as createShapingEnvironment, cB as createUnsupportedContentProjector, cC as defaultTabIntervalFromSettings, cD as displayText, cE as enumerateDocumentSections, cF as enumerateDocumentSectionsBounded, cG as fixedPoint, cH as fontRequestKey, cI as geometryOfSection, cJ as glyphSizeFactorOf, cK as groupPictureLayerDrawing, cL as isValidStyleId, cM as itemizeScriptFontSlots, cN as layoutEquation, cO as measureDisplayText, cP as nextTabDestination, cQ as pageBordersFingerprint, cR as paragraphBorderExtentPt, cS as paragraphBorderStrokeWidthPt, cT as paragraphBorders, cU as paragraphBordersFingerprint, cV as paragraphBreaksBefore, cW as paragraphContextualSpacing, cX as paragraphLineSpacing, cY as paragraphSectionNode, cZ as paragraphSpacing, c_ as paragraphTabStops, c$ as parsePageBorders, d0 as parsePageNumbering, d1 as parseRefInstruction, d2 as parseSectionProperties, d3 as projectedSectionSourceIndexes, d4 as readBorderSide, d5 as readCellBorders, d6 as readNumPr, d7 as readSectionProperties, d8 as readTableBorders, d9 as resolveBorderConflict, da as resolveNumberingLevel, db as resolveParagraphLayoutInputs, dc as resolveRunStyle, dd as resolveStoryListItems, de as resolveStoryRefFields, df as resolveTableCellBorderGrid, dg as runStylesEqual, dh as shapedRunComparatorInputs, di as shapingEnvironmentFingerprint, dj as shapingEnvironmentFingerprintInputs, dk as styleForFontSlot, dl as tabAdvanceWidth, dm as tabStopsFingerprint, dn as withDefaultTabInterval, dp as withNumberingStyleLinks, dq as withResolvedListItems } from './semantic-records-DoK0lNjS.js';
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-Ci_BTnSU.js';
18
+ import { a as SemanticStoryKind, S as SemanticRootStoryKind, b as SemanticStoryVisit, T as TextboxOwnerRecord } from './semantic-record-queries-DnO8J5_j.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-DnO8J5_j.js';
20
+ import { aK as ImpactClass, a4 as OoxmlNode, aC as OoxmlProperty, av as OoxmlElement, O as OoxmlPart, au as TreeDocOp, a5 as OoxmlPackage, bQ as ContentControlKind, bR as ContentControlLevel, bT as ContentControlLock, bN as ContentControlDataBinding, a as ReviewItem } from './tree-op-types-Df4oY2u4.js';
21
+ export { eM as AffineMatrix, bI as CommentAnchor, bJ as CommentPosition, C as CommentRecord, bu as CommentThreadState, a_ as DrawingAccessibility, eN as DrawingChartPlotType, eO as DrawingChartShownAs, b0 as DrawingChartSummary, a7 as DrawingHorizontalReferenceFrame, a$ as DrawingImageEffects, aW as DrawingTransform, ab as DrawingVerticalReferenceFrame, eP as GradientStop, ag as ImageWrapTarget, b2 as PictureFrameEffects, c as ReviewCommentItem, d as ReviewCustomItem, R as ReviewModelInput, e as ReviewPosition, f as ReviewRange, b as ReviewRevisionItem, g as ReviewRevisionKind, bs as ShapeColor, de as ShapeReflection, df as ShapeShadow, aT as SourceCrop, aX as TableBorderStyle, aY as TextboxOutlineProjection, dp as VectorGradient, dq as VectorPattern, aZ as VectorShapeComponent, b1 as VectorShapeProjection, dr as W15_NAMESPACE_URI, eQ as activeReviewItem, dY as firstReviewRange, ez as reviewItemKey, eR as reviewItemPositionRank, eA as reviewItemRanges, eS as reviewItemsAt, eT as reviewThreadRootOf } from './tree-op-types-Df4oY2u4.js';
22
+ import { c as DocumentProperties, H as HeadlessDocumentView, v as relationshipTargetIn } from './drawing-graphic-kind-CXYGYbB3.js';
23
+ export { D as DrawingGraphicKind, a as DrawingSupport, b as DrawingSupportIssue } from './drawing-graphic-kind-CXYGYbB3.js';
24
+ import { q as RevisionAttribution, b as RevisionDisplayMode, p as RevisionAuthorFilter } from './revision-projection-OVusTS77.js';
25
+ 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-OVusTS77.js';
26
+ import { R as ResolvedFootnoteProperties, a as ResolvedEndnoteProperties } from './note-properties-DCIJUKIy.js';
27
+ import { c as TreeModelChange, N as NoteKind, aK as noteTypeOf, F as FieldResultsMode } from './tree-package-store-DXhX1PE-.js';
28
+ 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-BJQ43_r0.js';
29
+ import { S as SemanticPosition, b as SelectionRect, a as SemanticSelection, C as CaretGeometry } from './semantic-interaction-BbA4dgEo.js';
30
+ 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-BbA4dgEo.js';
31
+ 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-CoI5hHBm.js';
32
+ import './editor-scope-CA6egMaK.js';
31
33
 
32
34
  /**
33
35
  * The result of counting ONE list paragraph: the level that applied, the counter vector after it,
@@ -165,19 +167,6 @@ interface LayoutScheduler {
165
167
  */
166
168
  declare function createLayoutScheduler(options: LayoutSchedulerOptions): LayoutScheduler;
167
169
 
168
- interface PositionedTableAnchorSignal {
169
- readonly anchorId: string;
170
- readonly column: number;
171
- readonly fragmentIndex: number;
172
- readonly anchorY: number;
173
- }
174
- interface PendingPositionedTableTokens {
175
- readonly token: string;
176
- readonly previous: PendingPositionedTableTokens | undefined;
177
- readonly length: number;
178
- readonly signature: string;
179
- }
180
-
181
170
  /**
182
171
  * What the BODY flow knows about page numbering while it MEASURES a page-field placeholder.
183
172
  *
@@ -221,67 +210,6 @@ interface FieldPageContext {
221
210
  */
222
211
  declare function formatPageNumber(value: number, format: string | undefined): string;
223
212
 
224
- type WrapTextSide = 'bothSides' | 'left' | 'right' | 'largest';
225
- interface WrapExclusionInput {
226
- readonly mode: 'square' | 'tight' | 'through' | 'topAndBottom';
227
- readonly contentBounds: LayoutBox;
228
- readonly polygon: readonly DrawingPoint[] | null;
229
- readonly clipPolygon: readonly DrawingPoint[] | null;
230
- readonly wrapDistances: DrawingInsets;
231
- readonly effectInsets: DrawingInsets;
232
- readonly textSide: WrapTextSide;
233
- readonly contentLeft: number;
234
- readonly contentRight: number;
235
- }
236
-
237
- /** Paint layer relative to body text — not the OOXML wrap element. */
238
- type DrawingPaintLayer = 'behind' | 'inFront';
239
- /** The header or footer object a furniture exclusion zone comes from. */
240
- interface FurnitureZoneSource {
241
- readonly partName: string;
242
- readonly kind: 'drawing' | 'table';
243
- readonly nodeId: string;
244
- }
245
- interface ExclusionZone {
246
- /** Objects outside body drawing flow publish their exclusion directly instead of synthesizing it. */
247
- readonly sourceKind?: 'table' | 'frame' | 'furniture';
248
- /**
249
- * Placed by an earlier section on the sheet a `continuous` section continues on. Its anchor
250
- * is not in the continued section, so the zone reaches every line and column there.
251
- */
252
- readonly earlierSection?: boolean;
253
- /**
254
- * The header or footer object a `furniture` zone comes from. Node ids are unique only within
255
- * one part, so a furniture zone is identified by its part, its kind, and its node together
256
- * (see {@link exclusionZoneIdentity}), never by a composed id string.
257
- */
258
- readonly furnitureSource?: FurnitureZoneSource;
259
- readonly drawingNodeId: string;
260
- readonly anchorParagraphId: string;
261
- /** UTF-16 model offset of the anchor atom — exclusions apply at/after this point in the paragraph. */
262
- readonly anchorModelStart: number;
263
- /**
264
- * The band's vertical position is resolved against the page or a margin, not against the
265
- * anchor's own flow position, so it cannot move when the text beside it reflows.
266
- *
267
- * Such a band excludes every line it crosses on its page, including lines that PRECEDE the
268
- * anchor — a picture pinned to the top of the margin wraps the paragraphs above its anchor
269
- * exactly as it wraps the ones below. Flow-relative bands (`paragraph`, `line`) stay
270
- * forward-only: reaching back would move the anchor that positions them.
271
- */
272
- readonly pageFramedBand?: boolean;
273
- readonly sourceOrder: number;
274
- readonly paintLayer: DrawingPaintLayer;
275
- readonly relativeHeight: number;
276
- readonly allowOverlap: boolean;
277
- /** Owning column index in a multi-column section — 0 for single-column and HF stories. */
278
- readonly columnIndex: number;
279
- /** Resolved top edge in page-content coordinates after overlap displacement. */
280
- readonly y: number;
281
- readonly verticalBand: LayoutBox;
282
- readonly input: WrapExclusionInput;
283
- }
284
-
285
213
  type AutonumFieldKind = 'AUTONUM' | 'AUTONUMLGL' | 'AUTONUMOUT';
286
214
  /** One recognized AUTONUM-family instruction: the kind and its supported switches. */
287
215
  interface AutonumFieldSpec {
@@ -487,6 +415,20 @@ interface FieldCodeRange {
487
415
  }
488
416
  type FieldCodeRanges = ReadonlyMap<string, readonly FieldCodeRange[]>;
489
417
 
418
+ /** A horizontal run of x a float leaves free on one line, in paragraph-local coordinates. */
419
+ interface WrapInterval {
420
+ readonly start: number;
421
+ readonly end: number;
422
+ }
423
+ /** The one passage that holds a whole line. */
424
+ interface WrapSegment extends WrapInterval {
425
+ /**
426
+ * Where the content ends, when the pen stepped over a float but placed nothing past it.
427
+ * Alignment measures the content from here rather than from the pen.
428
+ */
429
+ readonly contentEnd?: number;
430
+ }
431
+
490
432
  interface PendingLine {
491
433
  readonly spans: StyleSpanRecord[];
492
434
  readonly drawings: InlineDrawingRecord[];
@@ -531,6 +473,11 @@ interface PendingLine {
531
473
  * Placement keeps its skip even on a line before the paragraph's first anchor.
532
474
  */
533
475
  breakClearance?: true;
476
+ /**
477
+ * The skip clears a paragraph-framed band of an anchor on a later line of the same paragraph
478
+ * (`top-and-bottom-earlier-lines.ts`). Placement keeps it, as it keeps {@link breakClearance}.
479
+ */
480
+ ownBandClearance?: true;
534
481
  /** Clearance inherited by an empty anchor paragraph from other drawing bands. */
535
482
  anchorClearanceBefore?: number;
536
483
  /**
@@ -548,11 +495,22 @@ interface PendingLine {
548
495
  * beside it, not between the page margins, and stretches a justified line to the float's
549
496
  * near edge rather than through it. Absent when no float shortens the line, when the line
550
497
  * steps over a float into a later passage, or when the passage is the whole measure.
498
+ * `contentEnd` marks a line whose pen stepped over a float without placing anything past it.
499
+ */
500
+ wrapSegment?: WrapSegment;
501
+ /**
502
+ * The float passages a line that steps over a float holds content in, left to right, in
503
+ * paragraph-local coordinates. The first starts where the line's content begins.
504
+ *
505
+ * Each part of such a line aligns INSIDE its own passage: centred text is centred beside the
506
+ * float on each side, and right-aligned text ends at each passage's right edge. Aligning the
507
+ * line as one block moved the text before the float onto the picture. Absent on a line that
508
+ * one passage holds whole, which {@link wrapSegment} describes.
551
509
  */
552
- wrapSegment?: {
510
+ wrapPassages?: readonly {
553
511
  readonly start: number;
554
512
  readonly end: number;
555
- };
513
+ }[];
556
514
  /** Tracked anchored-drawing attributions on this line; see {@link LineRecord.anchorRevisions}. */
557
515
  anchorRevisions?: readonly RevisionAttribution[];
558
516
  /** Revisions a resolved view answered on this line; see {@link LineRecord.changeSites}. */
@@ -595,6 +553,20 @@ interface CompoundBorderMetrics {
595
553
  * belongs to rendering; these layout metrics remain in continuous points.
596
554
  */
597
555
  declare function computeDoubleBorderMetricsPt(widthPt: number): CompoundBorderMetrics;
556
+ /** One stroke of a compound border: offset from the band's top or left edge, and width. @internal */
557
+ interface CompoundBorderStroke {
558
+ /** Distance from the band's top (or left) edge to this stroke, in points. */
559
+ readonly offsetPt: number;
560
+ /** Thickness of this stroke, in points. */
561
+ readonly widthPt: number;
562
+ }
563
+ /**
564
+ * The strokes of a triple or thin-thick border whose painted band is `extentPt` thick, for a
565
+ * painter that holds the band and not the authored width. Null for any other style.
566
+ *
567
+ * @internal
568
+ */
569
+ declare function compoundBorderStrokesForExtentPt(val: string, extentPt: number): readonly CompoundBorderStroke[] | null;
598
570
 
599
571
  /** Soft ceiling on fragments emitted for one authored row (hostile / runaway splits). */
600
572
  declare const MAX_TABLE_ROW_FRAGMENTS = 4096;
@@ -614,6 +586,86 @@ declare class TablePaginationError extends Error {
614
586
  constructor(code: TablePaginationErrorCode, message: string);
615
587
  }
616
588
 
589
+ type WrapTextSide = 'bothSides' | 'left' | 'right' | 'largest';
590
+ interface WrapExclusionInput {
591
+ readonly mode: 'square' | 'tight' | 'through' | 'topAndBottom';
592
+ readonly contentBounds: LayoutBox;
593
+ readonly polygon: readonly DrawingPoint[] | null;
594
+ readonly clipPolygon: readonly DrawingPoint[] | null;
595
+ readonly wrapDistances: DrawingInsets;
596
+ readonly effectInsets: DrawingInsets;
597
+ readonly textSide: WrapTextSide;
598
+ readonly contentLeft: number;
599
+ readonly contentRight: number;
600
+ }
601
+
602
+ /** Paint layer relative to body text — not the OOXML wrap element. */
603
+ type DrawingPaintLayer = 'behind' | 'inFront';
604
+ /** The header or footer object a furniture exclusion zone comes from. */
605
+ interface FurnitureZoneSource {
606
+ readonly partName: string;
607
+ readonly kind: 'drawing' | 'table';
608
+ readonly nodeId: string;
609
+ }
610
+ interface ExclusionZone {
611
+ /** Objects outside body drawing flow publish their exclusion directly instead of synthesizing it. */
612
+ readonly sourceKind?: 'table' | 'frame' | 'furniture';
613
+ /**
614
+ * Placed by an earlier section on the sheet a `continuous` section continues on. Its anchor
615
+ * is not in the continued section, so the zone reaches every line and column there.
616
+ */
617
+ readonly earlierSection?: boolean;
618
+ /**
619
+ * The header or footer object a `furniture` zone comes from. Node ids are unique only within
620
+ * one part, so a furniture zone is identified by its part, its kind, and its node together
621
+ * (see {@link exclusionZoneIdentity}), never by a composed id string.
622
+ */
623
+ readonly furnitureSource?: FurnitureZoneSource;
624
+ readonly drawingNodeId: string;
625
+ readonly anchorParagraphId: string;
626
+ /** UTF-16 model offset of the anchor atom — exclusions apply at/after this point in the paragraph. */
627
+ readonly anchorModelStart: number;
628
+ /**
629
+ * The band's vertical position is resolved against the page or a margin, not against the
630
+ * anchor's own flow position, so it cannot move when the text beside it reflows.
631
+ *
632
+ * Such a band excludes every line it crosses on its page, including lines that PRECEDE the
633
+ * anchor — a picture pinned to the top of the margin wraps the paragraphs above its anchor
634
+ * exactly as it wraps the ones below. Flow-relative bands (`paragraph`, `line`) stay
635
+ * forward-only: reaching back would move the anchor that positions them.
636
+ */
637
+ readonly pageFramedBand?: boolean;
638
+ /**
639
+ * A text-anchored table raised above its anchor that leaves no text passage beside it. Like a
640
+ * page-framed band it moves the earlier lines it covers on its page below it. Its own position
641
+ * leaves out that move, so it does not chase its anchor.
642
+ */
643
+ readonly reachesEarlierLines?: boolean;
644
+ readonly sourceOrder: number;
645
+ readonly paintLayer: DrawingPaintLayer;
646
+ readonly relativeHeight: number;
647
+ readonly allowOverlap: boolean;
648
+ /** Owning column index in a multi-column section — 0 for single-column and HF stories. */
649
+ readonly columnIndex: number;
650
+ /** Resolved top edge in page-content coordinates after overlap displacement. */
651
+ readonly y: number;
652
+ readonly verticalBand: LayoutBox;
653
+ readonly input: WrapExclusionInput;
654
+ }
655
+
656
+ interface PositionedTableAnchorSignal {
657
+ readonly anchorId: string;
658
+ readonly column: number;
659
+ readonly fragmentIndex: number;
660
+ readonly anchorY: number;
661
+ }
662
+ interface PendingPositionedTableTokens {
663
+ readonly token: string;
664
+ readonly previous: PendingPositionedTableTokens | undefined;
665
+ readonly length: number;
666
+ readonly signature: string;
667
+ }
668
+
617
669
  type ParagraphFrameHeightRule = 'auto' | 'atLeast' | 'exact';
618
670
  type ParagraphFrameWrap = 'auto' | 'around' | 'tight' | 'through' | 'none' | 'notBeside';
619
671
  /** Bounded text-frame properties resolved for semantic layout. */
@@ -829,7 +881,7 @@ interface LayoutSession {
829
881
  /**
830
882
  * Page-bottom footnote reserves from the last published notes layout.
831
883
  *
832
- * Seeded into the next {@link layoutSemanticDocumentWithNotes} call so the first body
884
+ * Seeded into the next {@link layoutSemanticDocumentWithNotesSteps} call so the first body
833
885
  * pass already matches the reserved context key — without this, every notes document
834
886
  * starts empty, mismatches, and throws away the session on reflow.
835
887
  */
@@ -840,8 +892,35 @@ interface LayoutSession {
840
892
  */
841
893
  declare function createLayoutSession(): LayoutSession;
842
894
 
843
- /** Collect story paragraphs, preserving table depth limits across immutable row reuse. */
844
- declare function walkStoryParagraphs(blocks: readonly OoxmlElement[], maxTableDepth?: number): OoxmlElement[];
895
+ /**
896
+ * The effective indent of a list paragraph: `inherited`, then the numbering LEVEL, then
897
+ * `direct`, per attribute.
898
+ *
899
+ * A level's `w:pPr/w:ind` applies per attribute between the two tiers, and the ordering
900
+ * matters on real documents. A converted agreement numbers its `(a)` items with a level
901
+ * stating `left=1512 hanging=738` under a `ListParagraph` style stating
902
+ * `left=775 hanging=624`, and states only `hanging="737"` on the paragraph itself. Reading
903
+ * the flattened cascade as "the paragraph's indent" gave the STYLE's 775 to a level that had
904
+ * overridden it, so every lettered sub-item hung a full indent step to the left of where
905
+ * Word puts it.
906
+ *
907
+ * `inherited` is what the level outranks and `direct` is what outranks it. When the
908
+ * paragraph's own `w:pPr` states a `w:numPr`, these are the style chain (after the document
909
+ * defaults) and that `w:pPr`. Otherwise the level sits directly below the nearest style that
910
+ * states a `w:numPr`: that style, the styles based on it and the paragraph's own `w:pPr` go
911
+ * in `direct`, and the defaults and that style's bases go in `inherited`.
912
+ */
913
+ declare function mergeListIndent(levelIndent: NumberingLevelIndent, inherited: readonly OoxmlProperty[], direct?: readonly OoxmlProperty[]): NumberingLevelIndent;
914
+
915
+ /**
916
+ * Collect story paragraphs, preserving table depth limits across immutable row reuse.
917
+ *
918
+ * `skipMergedCells` leaves out the paragraphs of a cell that continues a vertical merge from
919
+ * the cell above it in the same grid column (`w:vMerge` without `restart`). Such a cell shows
920
+ * nothing, so list numbering skips it; a continuation with no merged cell above it starts its
921
+ * own merge and keeps its paragraphs.
922
+ */
923
+ declare function walkStoryParagraphs(blocks: readonly OoxmlElement[], maxTableDepth?: number, skipMergedCells?: boolean): OoxmlElement[];
845
924
 
846
925
  /**
847
926
  * Horizontal marker box inside the first-line indent slot.
@@ -933,6 +1012,12 @@ interface TableAutofitContext {
933
1012
  readonly fields?: AutofitFieldContext;
934
1013
  /** The document's default tab interval, where an unwrapped line's tabs advance to. */
935
1014
  readonly defaultTabStopPt?: number;
1015
+ /**
1016
+ * The document's compatibility mode, as `w:compatSetting` states it. Absent means no
1017
+ * declaration, which lays out as a legacy mode: a positive first-line indent is left out of a
1018
+ * column's minimum. Callers that set it must also fold it into {@link passToken}.
1019
+ */
1020
+ readonly compatibilityMode?: number;
936
1021
  /**
937
1022
  * A token that changes whenever a paragraph's projected text can change: the same tokens
938
1023
  * the paragraph break cache keys on. Minimums are cached only when this and
@@ -1042,8 +1127,12 @@ interface SemanticTableCell {
1042
1127
  readonly gridColumnId?: string;
1043
1128
  /** A vMerge cell that is not the restart continues the cell above: box, no content. */
1044
1129
  readonly vMergeContinue: boolean;
1130
+ /** This cell starts a vertical merge that the next row continues. */
1131
+ readonly headsVerticalMerge?: true;
1045
1132
  /** `w:hideMark` excludes the end-of-cell glyph from row sizing. */
1046
1133
  readonly hideEndMark?: boolean;
1134
+ /** `w:noWrap`: autofit never narrows the cell's column below its preferred width. */
1135
+ readonly noWrap?: true;
1047
1136
  /** `w:vAlign` — defaults to top when omitted/unrecognised. */
1048
1137
  readonly vAlign: CellVerticalAlign;
1049
1138
  /** `w:textDirection`; unsupported values keep horizontal layout. */
@@ -1060,8 +1149,6 @@ interface SemanticTableCell {
1060
1149
  readonly contentBottomIsOuter?: boolean;
1061
1150
  /** Clearance this AUTHORED ROW reserves above its content for its own top rule, in points. */
1062
1151
  readonly topBandClearancePt?: number;
1063
- /** The CELL declares `w:tcBorders/w:top` as `nil`, rather than a table style doing so. */
1064
- readonly suppressesTopBand?: true;
1065
1152
  /** Row-local clearance in points for authored minima, before vMerge combines content boxes. */
1066
1153
  readonly minimumContentInsets?: {
1067
1154
  readonly top: number;
@@ -1137,6 +1224,16 @@ interface SemanticTableStructure {
1137
1224
  * on that edge, so its first grid line sits half a rule inward. Positive moves right.
1138
1225
  */
1139
1226
  readonly outerRuleOffsetPt?: number;
1227
+ /**
1228
+ * Derived, never serialized: the outer side rule an automatic-width mode-15 AutoFit table
1229
+ * keeps inside its container, so its grid settles that much narrower than the room.
1230
+ */
1231
+ readonly autoOuterRulePt?: number;
1232
+ /**
1233
+ * Derived, never serialized: a top-level autofit table whose absolute `w:tblW` is wider than
1234
+ * its text column. See `tableWidthPastTextColumn`.
1235
+ */
1236
+ readonly pastTextColumn?: true;
1140
1237
  /** `w:tblPr/w:tblW` — the width the table asked for. */
1141
1238
  readonly tableWidth: PreferredWidth;
1142
1239
  /**
@@ -1318,28 +1415,6 @@ declare function contentControlAtSemantic(layout: SemanticLayout, point: {
1318
1415
  readonly pageIndex?: number;
1319
1416
  }): ContentControlBoundaryRecord$1 | null;
1320
1417
 
1321
- /**
1322
- * Rewrite private-use symbol-font codepoints to their Unicode equivalents.
1323
- *
1324
- * Applies only to a known symbol-encoded family, only to the U+F020–U+F0FF range, and only
1325
- * to codepoints with an exact Unicode counterpart — anything else is returned untouched, so
1326
- * an unrecognised glyph is never replaced by a wrong one. Returns the input string by
1327
- * identity when nothing changes.
1328
- *
1329
- * `isFamilyAvailable` is the escape hatch: a host that KNOWS the authored font is present
1330
- * should return true, and the file's own codepoint is kept so the real typeface draws it.
1331
- * Absent, the fallback applies, because an unmapped PUA codepoint renders as a tofu box in
1332
- * every font that is not the symbol-encoded original.
1333
- *
1334
- * Called without the oracle it is also the EXTRACTION answer: the text a symbol glyph should
1335
- * read as when the drawn glyph stays the authored one. A PDF exporter maps the drawn private
1336
- * codepoint back through this for its `ToUnicode` table, so copying a Word bullet out of the
1337
- * page yields a bullet rather than a private-use character.
1338
- *
1339
- * @public
1340
- */
1341
- declare function mapSymbolPuaText(text: string, fontFamily: string | null | undefined, isFamilyAvailable?: (family: string) => boolean): string;
1342
-
1343
1418
  /** Convert signed font units by an exact rational multiplier using the declared tie rule. */
1344
1419
  declare const roundFontUnitToFixedPoint: (fontUnits: number, denominator: number, numerator: number, mode: FixedPointRoundingMode) => FixedPoint;
1345
1420
 
@@ -1455,6 +1530,28 @@ declare const harfBuzzFontValidator: FontByteValidator;
1455
1530
  */
1456
1531
  declare const createHarfBuzzTextShaper: (options?: HarfBuzzTextShaperOptions) => HarfBuzzTextShaper;
1457
1532
 
1533
+ /**
1534
+ * Rewrite private-use symbol-font codepoints to their Unicode equivalents.
1535
+ *
1536
+ * Applies only to a known symbol-encoded family, only to the U+F020–U+F0FF range, and only
1537
+ * to codepoints with an exact Unicode counterpart — anything else is returned untouched, so
1538
+ * an unrecognised glyph is never replaced by a wrong one. Returns the input string by
1539
+ * identity when nothing changes.
1540
+ *
1541
+ * `isFamilyAvailable` is the escape hatch: a host that KNOWS the authored font is present
1542
+ * should return true, and the file's own codepoint is kept so the real typeface draws it.
1543
+ * Absent, the fallback applies, because an unmapped PUA codepoint renders as a tofu box in
1544
+ * every font that is not the symbol-encoded original.
1545
+ *
1546
+ * Called without the oracle it is also the EXTRACTION answer: the text a symbol glyph should
1547
+ * read as when the drawn glyph stays the authored one. A PDF exporter maps the drawn private
1548
+ * codepoint back through this for its `ToUnicode` table, so copying a Word bullet out of the
1549
+ * page yields a bullet rather than a private-use character.
1550
+ *
1551
+ * @public
1552
+ */
1553
+ declare function mapSymbolPuaText(text: string, fontFamily: string | null | undefined, isFamilyAvailable?: (family: string) => boolean): string;
1554
+
1458
1555
  /**
1459
1556
  * Point the text shaper at an externally hosted copy of `harfbuzz.wasm`.
1460
1557
  *
@@ -1667,9 +1764,14 @@ interface SemanticSpanVisit {
1667
1764
  declare function exportSourceRangeOf(span: StyleSpanRecord): SourceRange | null;
1668
1765
  /**
1669
1766
  * Visit every published span in page/story order without consulting the source package.
1767
+ * With `spanlessMarkers`, a paragraph fragment that publishes a list marker but no span, such
1768
+ * as an empty numbered paragraph, is visited once, in order, with an empty span on its first
1769
+ * line, so an exporter that paints markers beside spans paints its marker too.
1670
1770
  * @public
1671
1771
  */
1672
- declare function forEachSemanticSpan(layout: SemanticLayout, visitor: (visit: SemanticSpanVisit) => void): void;
1772
+ declare function forEachSemanticSpan(layout: SemanticLayout, visitor: (visit: SemanticSpanVisit) => void, options?: {
1773
+ readonly spanlessMarkers?: boolean;
1774
+ }): void;
1673
1775
 
1674
1776
  /**
1675
1777
  * The part of a line that belongs to ONE paragraph.
@@ -1692,7 +1794,7 @@ declare function lineSegments(line: LineRecord): readonly LineSegment[];
1692
1794
 
1693
1795
  /**
1694
1796
  * The box a painter clips a vector shape to: `bounds` grown on each side where a stroked
1695
- * outline reaches past the drawing extent.
1797
+ * outline or an outer shadow reaches past the drawing extent.
1696
1798
  *
1697
1799
  * An outline is centred on its geometry and is not cut at the extent, a text column, or a cell
1698
1800
  * edge that meets the extent: a rule at x=0 of a group with `wp:effectExtent l="0"` keeps
@@ -2165,7 +2267,7 @@ interface PageRefHit {
2165
2267
  }
2166
2268
 
2167
2269
  /**
2168
- * Bound on reflow attempts for an UNSEEDED document layout pass (cold open).
2270
+ * Bound on reflow attempts for one document layout pass, cold or seeded.
2169
2271
  *
2170
2272
  * Sized for a cold open of a reference-dense document: adoption is a forward fixed-point
2171
2273
  * iteration whose settled prefix extends a few pages per round, so a legal document with a
@@ -2352,6 +2454,12 @@ declare function attachNotesToLayout(layout: SemanticLayout, allRefs: readonly P
2352
2454
  * Opaque at this boundary; the shape is owned by this module.
2353
2455
  */
2354
2456
  readonly memo?: unknown;
2457
+ /**
2458
+ * The pages are a completed prefix of a pass, shown before it ends: attach page-bottom
2459
+ * footnotes only. Section- and document-end notes, continuation sheets and the final marks
2460
+ * wait for the whole document, or they would land at the end of the prefix.
2461
+ */
2462
+ readonly partial?: boolean;
2355
2463
  }): NotesAttachResult;
2356
2464
  /**
2357
2465
  * Build a continuous (pre-page) mark context for the first body layout pass.
@@ -2444,6 +2552,14 @@ declare function paragraphShading(props: readonly OoxmlProperty[]): string | und
2444
2552
  declare function paragraphShadingBox(lines: readonly {
2445
2553
  readonly box: LayoutBox;
2446
2554
  }[], x: number, width: number): LayoutBox | undefined;
2555
+ /**
2556
+ * The colour of automatic text on a `background` fill: white on a dark fill, null for the
2557
+ * default black. A fill is dark when its luma (0.299 R + 0.587 G + 0.114 B, out of 255) is
2558
+ * under 59.5: grey `3B3B3B` takes white text and `3C3C3C` black, as measured.
2559
+ *
2560
+ * @internal
2561
+ */
2562
+ declare function automaticTextColor(background: string | null | undefined): 'FFFFFF' | null;
2447
2563
 
2448
2564
  /**
2449
2565
  * Everything a layout pass needs beyond the document itself.
@@ -2521,7 +2637,7 @@ interface SemanticLayoutOptions {
2521
2637
  readonly sectionFurniture?: readonly (PageFurniture | undefined)[];
2522
2638
  /**
2523
2639
  * `w:evenAndOddHeaders` from settings.xml. A section that restarts its page numbering then
2524
- * starts on a sheet whose position has the parity of the restarted number. When absent,
2640
+ * aligns its continued numbering with the required break or restart parity. When absent,
2525
2641
  * layout reads the flag from the section furniture.
2526
2642
  */
2527
2643
  readonly evenAndOddHeaders?: boolean;
@@ -2613,6 +2729,19 @@ interface SemanticLayoutOptions {
2613
2729
  * `pageIndexStart`. Produced by the note reflow loop; absent means full content column.
2614
2730
  */
2615
2731
  readonly pageBottomReserves?: ReadonlyMap<number, number>;
2732
+ /**
2733
+ * `pageBottomReserves` index the pages of the previous pass, the seed a notes pass starts
2734
+ * from. A multi-section pass moves each section's entries by how far its first page moved,
2735
+ * so a section after an edit that added or removed pages sees the reserves it had.
2736
+ * @internal
2737
+ */
2738
+ readonly pageBottomReservesFromPreviousPass?: boolean;
2739
+ /**
2740
+ * With a seed: each page reads its reserve where its content stood in the previous pass, and
2741
+ * the pass reports what it read (`takeReadReserves`); see `note-first-round.ts`.
2742
+ * @internal
2743
+ */
2744
+ readonly pageBottomReservesFollowFlow?: boolean;
2616
2745
  /** Derived note marks for body/note projection (provisional or final). */
2617
2746
  readonly noteMarks?: NoteMarkContext;
2618
2747
  /** Inline drawing projection for typed `w:drawing` / `wp:inline` nodes. */
@@ -2767,6 +2896,8 @@ interface CanvasTextMetrics {
2767
2896
  readonly width: number;
2768
2897
  readonly actualBoundingBoxLeft?: number;
2769
2898
  readonly actualBoundingBoxRight?: number;
2899
+ readonly actualBoundingBoxAscent?: number;
2900
+ readonly actualBoundingBoxDescent?: number;
2770
2901
  readonly fontBoundingBoxAscent?: number;
2771
2902
  readonly fontBoundingBoxDescent?: number;
2772
2903
  }
@@ -2782,6 +2913,7 @@ interface CanvasTextContext {
2782
2913
  fontKerning?: 'auto' | 'normal' | 'none';
2783
2914
  textAlign?: 'left' | 'right' | 'center' | 'start' | 'end';
2784
2915
  direction?: 'ltr' | 'rtl' | 'inherit';
2916
+ textBaseline?: 'top' | 'hanging' | 'middle' | 'alphabetic' | 'ideographic' | 'bottom';
2785
2917
  measureText(text: string): CanvasTextMetrics;
2786
2918
  }
2787
2919
  /**
@@ -3103,6 +3235,17 @@ interface MaterializationInput {
3103
3235
  */
3104
3236
  declare function pagesToMaterialize(input: MaterializationInput): Set<number>;
3105
3237
 
3238
+ /**
3239
+ * Extra advance of each inked glyph when bold is synthesized, as a fraction of the font size.
3240
+ *
3241
+ * A face without a bold style draws bold by thickening its outlines, and each glyph that has
3242
+ * ink then advances 1/50 em further. Blank glyphs such as spaces keep their advance. Measured
3243
+ * on Arabic text at 10, 20, 30, and 36 pt: the extra width matched this rule to the pixel.
3244
+ *
3245
+ * @public
3246
+ */
3247
+ declare const SYNTHETIC_BOLD_ADVANCE_EM: number;
3248
+
3106
3249
  /** Character border geometry from placed spans, shared by screen and export painters. */
3107
3250
  declare function runBorderStrokesForLine(line: LineRecord): readonly ParagraphBorderStrokeRecord[];
3108
3251
 
@@ -3144,5 +3287,12 @@ declare function tabLeaderPattern(startPt: number, widthPt: number, advancePt: n
3144
3287
  */
3145
3288
  declare function noteSeparatorRuleBox(span: StyleSpanRecord, line: LineRecord, stroke?: StrikeoutStrokePt): LayoutBox;
3146
3289
 
3147
- export { AUTO_PREFERRED_WIDTH, AnchoredDrawingRecord, BlockFragmentRecord, CELL_PAD, COMPOUND_BORDER_MIN_GAP_PT, COMPOUND_BORDER_MIN_STROKE_PT, CaretGeometry, CellBorderBox, ContentControlBoundaryRecord$1 as ContentControlBoundaryRecord, DEFAULT_CANVAS_FONT_STACK, DEFAULT_CELL_MARGINS, DrawingInsets, DrawingPoint, FieldLinkProjector, FixedPoint, FixedPointRoundingMode, FontByteValidator, GRAPHEME_SEGMENTER_LOCALE, HARFBUZZ_SHAPING_LIBRARY, HarfBuzzShapingError, HyperlinkFieldSpec, HyperlinkProjector, InlineDrawingRecord, LayoutBox, LineRecord, MAX_EACH_PAGE_MARK_CANDIDATES, MAX_LVL_TEXT_LENGTH, MAX_MARKER_TEXT_LENGTH, MAX_NOTES_LAID_OUT, MAX_NOTE_FRAGMENTS, MAX_NOTE_OVERFLOW_PAGES, MAX_NOTE_REFLOW_ATTEMPTS, MAX_STYLE_BASED_ON_DEPTH, MAX_TABLE_COLUMNS, MAX_TABLE_NESTING, MAX_TABLE_ROW_FRAGMENTS, MAX_TABLE_ROW_HEIGHT_PT, NumberingIndex, NumberingLevel, PageBorderFrameRecord, PageGeometry, PageRecord, ParagraphBorderStrokeRecord, ParagraphFragmentRecord, RefFieldContext, ResolvedListItem, ReviewItem, RevisionAttribution, RevisionAuthorFilter, RevisionDisplayMode, SectionColumns, SectionPageBorders, SelectionRect, SemanticLayout, SemanticPosition, SemanticRootStoryKind, SemanticSelection, SemanticStoryKind, SemanticStoryVisit, ShapedRun, SourceRange, SpanLinkRecord, StrikeoutStrokePt, StyleCascadeTable, StyleSpanRecord, TableBorderBox, TableBorderSide, TableCellStyleFormatting, TablePaginationError, TextMeasurer, TextShaper, TextboxOwnerRecord, VersionedShapingLibrary, WORD_SEGMENTER_LOCALE, anchorLineY, attachNotesToLayout, boundedFallbackWordSegments, buildPageRefIndex, clampListValue, computeDoubleBorderMetricsPt, computeFootnoteReserves, contentControlAtSemantic, contentControlBoundaries, contentControlHoldingParagraph, contentControlRecordsInPart, createBoundedFallbackWordBoundary, createDefaultWordBoundary, createDocumentFurnitureSource, createDocumentLinkProjectors, createDocumentNotesInput, createDocumentStyleDependencies, createFieldLinkRegistry, createFixedMeasurer, createHarfBuzzTextShaper, createIntlWordBoundary, createLayoutScheduler, createLayoutSession, createListCounterState, createParagraphLayoutCache, defaultNoteSeparatorRuleStyle, deriveNoteDisplayMarks, deriveNoteDisplayMarksResolved, documentOrder, documentRelationshipTargetIn, effectiveBorderSide, emptyTocPlaceholderParagraphIds, emptyTocSuppressedResultParagraphIds, everyStoryOrder, expandLvlText, exportSourceRangeOf, filterRefsOnPage, findSeparatorNote, forEachSemanticSpan, formatDecimal, formatDecimalZero, formatLowerLetter, formatLowerRoman, formatNumFmt, formatPageNumber, formatUpperLetter, formatUpperRoman, fragmentOwnsAtomOffset, graphemeBoundaryEpoch, graphemeCount, graphemeOffsetToUtf16, harfBuzzFontValidator, hitTestSemantic, initializeHarfBuzz, intlGraphemeBoundary, isCanvasMeasurementAvailable, isCumulativeGeometryTrustedFromLineOrigin, isGeometryTrustedCaretOffset, isHarfBuzzInitialized, isIntlSegmenterAvailable, isIntlWordSegmenterAvailable, isMarkerOnlySeparatorNote, isWholeGraphemeHorizontalBoundary, keyedRangeRects, layoutHeaderFooterStory, layoutNoteById, layoutNoteSeparator, layoutNoteStory, layoutSemanticDocument, lineSegments, listMarkerBox, mapSymbolPuaText, normalNotesOf, noteDisplayMarkMap, noteLineIdPrefix, noteMarkKey, noteSeparatorAreaBox, noteSeparatorRuleBox, noteStoryBlocks, pageBorderFrame, pageRefPageNumbersFromLayout, pagesToMaterialize, paragraphLayoutKey, paragraphMarkDeleted, paragraphShading, paragraphShadingBox, parseAutonumInstruction, planRefFieldResultRefresh, positionPastDeletion, projectedNoteMarkText, provisionalNoteMarks, readTableStructure, resetGraphemeBoundary, resolveDefaultSurfaceMeasurer, resolveDefaultWordBoundary, resolveOoxmlShadingFill, resolveStrictHexFill, reviewAnchorIndex, reviewItemGeometry, revisionRemovesParagraph, roundFontUnitToFixedPoint, runBorderStrokesForLine, segmentGraphemes, segmentWords, selectionRects, semanticHorizontalBoundaries, setGraphemeBoundary, setHarfBuzzWasmUrl, sha256FontBytes, shadingFillFromElement, shapedHorizontalBoundaries, storyBlocks, syntheticSeparatorBox, tabLeaderPattern, tableOriginX, tocFieldChromeParagraphIds, tryCreateCanvasMeasurer, utf16OffsetToGrapheme, vectorShapeInkClip, walkStoryParagraphs, wordBoundary, wordSegmentsToGraphemeRecords };
3148
- export type { AutofitFieldContext, AutonumFieldKind, AutonumFieldSpec, CanvasMeasurerOptions, CanvasTextContext, CanvasTextMetrics, CellMarginsPt, CellVerticalAlign, CompoundBorderMetrics, ContentControlFragmentRecord, CreateDocumentFurnitureSourceOptions, CreateDocumentNotesInputOptions, DocumentFurnitureSource, DocumentLinkProjectors, DocumentStyleDependencies, FieldLinkRegistry, GraphemeBoundary, GraphemeSegment, GraphemeWordSegmentRecord, HarfBuzzFaceCacheEvent, HarfBuzzOutlineCacheEvent, HarfBuzzShapeCacheEvent, HarfBuzzShapingErrorCode, HarfBuzzTextShaper, HarfBuzzTextShaperInstrumentation, HarfBuzzTextShaperOptions, HeaderFooterVariantName, KeyedRange, LayoutCacheStats, LayoutScheduler, LayoutSchedulerOptions, LayoutScope, LayoutSession, LayoutSessionStats, LineSegment, ListCounterAdvance, ListCounterState, MaterializationInput, NoteDisplayMark, NoteLayoutFallbackReason, NoteMarkContext, NotePaginationFallbackReason, NoteReferenceSite, NoteSeparatorLayout, NoteSeparatorRuleStyle, NoteStoryDrawings, NoteStoryLayout, NotesAttachResult, NotesLayoutInput, PageFurniture, PageRefIndex, ParagraphKeyInputs, ParagraphLayoutCache, ParagraphLayoutCacheOptions, PreferredWidth, PreferredWidthType, RefFieldRefreshOptions, RegisteredFieldLink, ResolvedSurfaceMeasurer, ReviewParagraphAnchor, SemanticLayoutOptions, SemanticSpanVisit, SemanticTableCell, SemanticTableRow, SemanticTableStructure, StoryProjectionDependencies, TableAlignment, TableAutofitContext, TablePaginationErrorCode, TableRowHeight, TableRowHeightRule, ViewportWindow, WordBoundary, WordBoundaryResolverDeps, WordSegment };
3290
+ /**
3291
+ * The run's ink as one path, or undefined when a glyph has no outline the path grammar can
3292
+ * read, a glyph is missing from the face (`.notdef`), or the path would exceed its budget.
3293
+ * @internal
3294
+ */
3295
+ declare function shapedRunOutline(run: ShapedRun, pointSize: number, fixedPointScale: number): TextOutline | undefined;
3296
+
3297
+ export { AUTO_PREFERRED_WIDTH, AnchoredDrawingRecord, BlockFragmentRecord, CELL_PAD, COMPOUND_BORDER_MIN_GAP_PT, COMPOUND_BORDER_MIN_STROKE_PT, CaretGeometry, CellBorderBox, ContentControlBoundaryRecord$1 as ContentControlBoundaryRecord, DEFAULT_CANVAS_FONT_STACK, DEFAULT_CELL_MARGINS, DrawingInsets, DrawingPoint, FieldLinkProjector, FixedPoint, FixedPointRoundingMode, FontByteValidator, GRAPHEME_SEGMENTER_LOCALE, HARFBUZZ_SHAPING_LIBRARY, HarfBuzzShapingError, HyperlinkFieldSpec, HyperlinkProjector, InlineDrawingRecord, LayoutBox, LineRecord, MAX_EACH_PAGE_MARK_CANDIDATES, MAX_LVL_TEXT_LENGTH, MAX_MARKER_TEXT_LENGTH, MAX_NOTES_LAID_OUT, MAX_NOTE_FRAGMENTS, MAX_NOTE_OVERFLOW_PAGES, MAX_NOTE_REFLOW_ATTEMPTS, MAX_STYLE_BASED_ON_DEPTH, MAX_TABLE_COLUMNS, MAX_TABLE_NESTING, MAX_TABLE_ROW_FRAGMENTS, MAX_TABLE_ROW_HEIGHT_PT, NumberingIndex, NumberingLevel, NumberingLevelIndent, PageBorderFrameRecord, PageGeometry, PageRecord, ParagraphBorderStrokeRecord, ParagraphFragmentRecord, RefFieldContext, ResolvedListItem, ReviewItem, RevisionAttribution, RevisionAuthorFilter, RevisionDisplayMode, SYNTHETIC_BOLD_ADVANCE_EM, SectionColumns, SectionPageBorders, SelectionRect, SemanticLayout, SemanticPosition, SemanticRootStoryKind, SemanticSelection, SemanticStoryKind, SemanticStoryVisit, ShapedRun, SourceRange, SpanLinkRecord, StrikeoutStrokePt, StyleCascadeTable, StyleSpanRecord, TableBorderBox, TableBorderSide, TableCellStyleFormatting, TablePaginationError, TextMeasurer, TextOutline, TextShaper, TextboxOwnerRecord, VersionedShapingLibrary, WORD_SEGMENTER_LOCALE, anchorLineY, attachNotesToLayout, automaticTextColor, boundedFallbackWordSegments, buildPageRefIndex, clampListValue, compoundBorderStrokesForExtentPt, computeDoubleBorderMetricsPt, computeFootnoteReserves, contentControlAtSemantic, contentControlBoundaries, contentControlHoldingParagraph, contentControlRecordsInPart, createBoundedFallbackWordBoundary, createDefaultWordBoundary, createDocumentFurnitureSource, createDocumentLinkProjectors, createDocumentNotesInput, createDocumentStyleDependencies, createFieldLinkRegistry, createFixedMeasurer, createHarfBuzzTextShaper, createIntlWordBoundary, createLayoutScheduler, createLayoutSession, createListCounterState, createParagraphLayoutCache, defaultNoteSeparatorRuleStyle, deriveNoteDisplayMarks, deriveNoteDisplayMarksResolved, documentOrder, documentRelationshipTargetIn, effectiveBorderSide, emptyTocPlaceholderParagraphIds, emptyTocSuppressedResultParagraphIds, everyStoryOrder, expandLvlText, exportSourceRangeOf, filterRefsOnPage, findSeparatorNote, forEachSemanticSpan, formatDecimal, formatDecimalZero, formatLowerLetter, formatLowerRoman, formatNumFmt, formatPageNumber, formatUpperLetter, formatUpperRoman, fragmentOwnsAtomOffset, graphemeBoundaryEpoch, graphemeCount, graphemeOffsetToUtf16, harfBuzzFontValidator, hitTestSemantic, initializeHarfBuzz, intlGraphemeBoundary, isCanvasMeasurementAvailable, isCumulativeGeometryTrustedFromLineOrigin, isGeometryTrustedCaretOffset, isHarfBuzzInitialized, isIntlSegmenterAvailable, isIntlWordSegmenterAvailable, isMarkerOnlySeparatorNote, isWholeGraphemeHorizontalBoundary, keyedRangeRects, layoutHeaderFooterStory, layoutNoteById, layoutNoteSeparator, layoutNoteStory, layoutSemanticDocument, lineSegments, listMarkerBox, mapSymbolPuaText, mergeListIndent, normalNotesOf, noteDisplayMarkMap, noteLineIdPrefix, noteMarkKey, noteSeparatorAreaBox, noteSeparatorRuleBox, noteStoryBlocks, pageBorderFrame, pageRefPageNumbersFromLayout, pagesToMaterialize, paragraphLayoutKey, paragraphMarkDeleted, paragraphShading, paragraphShadingBox, parseAutonumInstruction, planRefFieldResultRefresh, positionPastDeletion, projectedNoteMarkText, provisionalNoteMarks, readTableStructure, resetGraphemeBoundary, resolveDefaultSurfaceMeasurer, resolveDefaultWordBoundary, resolveOoxmlShadingFill, resolveStrictHexFill, reviewAnchorIndex, reviewItemGeometry, revisionRemovesParagraph, roundFontUnitToFixedPoint, runBorderStrokesForLine, segmentGraphemes, segmentWords, selectionRects, semanticHorizontalBoundaries, setGraphemeBoundary, setHarfBuzzWasmUrl, sha256FontBytes, shadingFillFromElement, shapedHorizontalBoundaries, shapedRunOutline, storyBlocks, syntheticSeparatorBox, tabLeaderPattern, tableOriginX, tocFieldChromeParagraphIds, tryCreateCanvasMeasurer, utf16OffsetToGrapheme, vectorShapeInkClip, walkStoryParagraphs, wordBoundary, wordSegmentsToGraphemeRecords };
3298
+ export type { AutofitFieldContext, AutonumFieldKind, AutonumFieldSpec, CanvasMeasurerOptions, CanvasTextContext, CanvasTextMetrics, CellMarginsPt, CellVerticalAlign, CompoundBorderMetrics, CompoundBorderStroke, ContentControlFragmentRecord, CreateDocumentFurnitureSourceOptions, CreateDocumentNotesInputOptions, DocumentFurnitureSource, DocumentLinkProjectors, DocumentStyleDependencies, FieldLinkRegistry, GraphemeBoundary, GraphemeSegment, GraphemeWordSegmentRecord, HarfBuzzFaceCacheEvent, HarfBuzzOutlineCacheEvent, HarfBuzzShapeCacheEvent, HarfBuzzShapingErrorCode, HarfBuzzTextShaper, HarfBuzzTextShaperInstrumentation, HarfBuzzTextShaperOptions, HeaderFooterVariantName, KeyedRange, LayoutCacheStats, LayoutScheduler, LayoutSchedulerOptions, LayoutScope, LayoutSession, LayoutSessionStats, LineSegment, ListCounterAdvance, ListCounterState, MaterializationInput, NoteDisplayMark, NoteLayoutFallbackReason, NoteMarkContext, NotePaginationFallbackReason, NoteReferenceSite, NoteSeparatorLayout, NoteSeparatorRuleStyle, NoteStoryDrawings, NoteStoryLayout, NotesAttachResult, NotesLayoutInput, PageFurniture, PageRefIndex, ParagraphKeyInputs, ParagraphLayoutCache, ParagraphLayoutCacheOptions, PreferredWidth, PreferredWidthType, RefFieldRefreshOptions, RegisteredFieldLink, ResolvedSurfaceMeasurer, ReviewParagraphAnchor, SemanticLayoutOptions, SemanticSpanVisit, SemanticTableCell, SemanticTableRow, SemanticTableStructure, StoryProjectionDependencies, TableAlignment, TableAutofitContext, TablePaginationErrorCode, TableRowHeight, TableRowHeightRule, ViewportWindow, WordBoundary, WordBoundaryResolverDeps, WordSegment };