@docx-editor.dev/core 2.30.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 (133) hide show
  1. package/README.md +24 -0
  2. package/dist/automation.cjs +1 -1
  3. package/dist/automation.d.ts +18 -27
  4. package/dist/automation.js +1 -1
  5. package/dist/binding.cjs +1 -1
  6. package/dist/binding.d.ts +17 -16
  7. package/dist/binding.js +1 -1
  8. package/dist/bookmark-names-DDuAra_V.d.ts +37 -0
  9. package/dist/{chrome-print-BM3Js-6X.d.ts → chrome-print-CznJ0ucN.d.ts} +361 -41
  10. package/dist/chunk-25EXMBV2.cjs +5 -0
  11. package/dist/chunk-2CWQY27B.cjs +1 -0
  12. package/dist/chunk-3IEXDEFH.cjs +7 -0
  13. package/dist/chunk-65XBN67F.cjs +2 -0
  14. package/dist/chunk-6NVZNB7O.cjs +3 -0
  15. package/dist/chunk-6UDJUI3W.cjs +2 -0
  16. package/dist/chunk-ACLR4DMK.js +1 -0
  17. package/dist/{chunk-RJCQGJR7.js → chunk-B2BEELUE.js} +1 -1
  18. package/dist/chunk-DDFHKQFU.js +30 -0
  19. package/dist/chunk-E4IAO4CY.cjs +2 -0
  20. package/dist/chunk-ETDZFNMI.js +2 -0
  21. package/dist/chunk-FDSL5OJU.cjs +30 -0
  22. package/dist/chunk-FS7CMYLT.js +4 -0
  23. package/dist/chunk-GDS24SZN.js +30 -0
  24. package/dist/chunk-GIY6NT2X.js +5 -0
  25. package/dist/chunk-GWM3AKUD.js +18 -0
  26. package/dist/chunk-HDOXACHP.js +2 -0
  27. package/dist/chunk-IILEENID.js +1 -0
  28. package/dist/chunk-L5TYBFDB.js +1 -0
  29. package/dist/chunk-MNF2K7NN.cjs +30 -0
  30. package/dist/chunk-O324RB6R.cjs +1 -0
  31. package/dist/chunk-OKMEMSKB.cjs +1 -0
  32. package/dist/chunk-QXJKYNYZ.js +1 -0
  33. package/dist/chunk-RALTVLB6.js +2 -0
  34. package/dist/chunk-SRVKFUFI.js +3 -0
  35. package/dist/chunk-TELQ52LG.cjs +1 -0
  36. package/dist/chunk-TJHE5EET.cjs +1 -0
  37. package/dist/chunk-UMMRURPE.js +7 -0
  38. package/dist/chunk-WN7ICTA5.js +1 -0
  39. package/dist/{chunk-FLBEJC6X.cjs → chunk-XJYZVGQR.cjs} +1 -1
  40. package/dist/chunk-ZGTIE3QJ.cjs +4 -0
  41. package/dist/chunk-ZOZI27AW.cjs +18 -0
  42. package/dist/collaboration/replication.cjs +1 -1
  43. package/dist/collaboration/replication.d.ts +20 -5
  44. package/dist/collaboration/replication.js +1 -1
  45. package/dist/collaboration.cjs +1 -1
  46. package/dist/collaboration.d.ts +5 -6
  47. package/dist/collaboration.js +1 -1
  48. package/dist/contracts/document.d.ts +3 -3
  49. package/dist/contracts/editor.d.ts +13 -10
  50. package/dist/contracts/interaction.d.ts +2 -2
  51. package/dist/contracts/modules.d.ts +15 -13
  52. package/dist/contracts/types.d.ts +135 -2
  53. package/dist/{custom-node-writes-0v0Kgw1T.d.ts → custom-node-writes-CLJKGD9t.d.ts} +7 -2
  54. package/dist/{diagnostic-context-CcAO4q1s.d.ts → diagnostic-context-BtDUY3v2.d.ts} +3 -2
  55. package/dist/{diagnostic-hints-2Bke6H_w.d.ts → diagnostic-hints-DK8-V0fk.d.ts} +2 -2
  56. package/dist/{document-protection-8eyMWIJ0.d.ts → document-protection-NaniLHWF.d.ts} +1 -1
  57. package/dist/{editor-DaEJd2so.d.ts → editor-DZwOTmlR.d.ts} +386 -279
  58. package/dist/editor-fonts-D_-vjuJi.d.ts +53 -0
  59. package/dist/{editor-scope-7o9xweiJ.d.ts → editor-scope-B3L-1ALc.d.ts} +57 -4
  60. package/dist/editor.cjs +1 -1
  61. package/dist/editor.css +6 -4
  62. package/dist/editor.d.ts +646 -31
  63. package/dist/editor.js +1 -1
  64. package/dist/export.cjs +2 -2
  65. package/dist/export.d.ts +9 -16
  66. package/dist/export.js +2 -2
  67. package/dist/{failure-NS2lsya4.d.ts → failure-6KGFrDO9.d.ts} +1 -1
  68. package/dist/{font-resolver-CL9BVKZo.d.ts → font-resolver-BlQNGdvR.d.ts} +1 -1
  69. package/dist/{headless-document-view-DZQN8Bnx.d.ts → headless-document-view-Bcz9_Qva.d.ts} +115 -4
  70. package/dist/index.cjs +1 -1
  71. package/dist/index.d.ts +27 -26
  72. package/dist/index.js +1 -1
  73. package/dist/{layout-shaping-cEnVrhWg.d.ts → layout-shaping-E5J4Z1Gf.d.ts} +1 -1
  74. package/dist/layout.cjs +1 -1
  75. package/dist/layout.d.ts +95 -23
  76. package/dist/layout.js +1 -1
  77. package/dist/{note-properties-9FH8zAeG.d.ts → note-properties-Ds5R2_3F.d.ts} +1 -1
  78. package/dist/output.cjs +1 -1
  79. package/dist/output.d.ts +24 -10
  80. package/dist/output.js +1 -1
  81. package/dist/{protocol-CZ1uUlPO.d.ts → protocol-DKa4qt7F.d.ts} +167 -5
  82. package/dist/{review-paragraph-order-CqVelc5A.d.ts → review-paragraph-order-Dc17w_6v.d.ts} +1 -1
  83. package/dist/revision-projection-Cn6rZJ7H.d.ts +258 -0
  84. package/dist/{semantic-cell-selection-Dr9yxFZt.d.ts → semantic-cell-selection-BaUR0iJ4.d.ts} +2 -2
  85. package/dist/{semantic-interaction-Dc3pf3hr.d.ts → semantic-interaction-CJoHLoOl.d.ts} +1 -1
  86. package/dist/{semantic-paint-Bz3FBAoH.d.ts → semantic-paint-BPw_n0li.d.ts} +7 -4
  87. package/dist/{semantic-record-queries-Bx0pl6kL.d.ts → semantic-record-queries-C0rJ3sB4.d.ts} +1 -1
  88. package/dist/{semantic-records-CjcF26ZL.d.ts → semantic-records-BvN-WWst.d.ts} +365 -512
  89. package/dist/store.cjs +1 -1
  90. package/dist/store.d.ts +47 -22
  91. package/dist/store.js +1 -1
  92. package/dist/{types-barrel-CA0xB8kH.d.ts → tree-op-types-C_S2niXW.d.ts} +1239 -747
  93. package/dist/{tree-package-store-DKhdEVym.d.ts → tree-package-store-CRHvMyNj.d.ts} +676 -646
  94. package/dist/{tree-session-contract-CwnTEVLF.d.ts → tree-session-contract-D1awo_dA.d.ts} +26 -13
  95. package/dist/unsupported-elements-CVos5cqe.d.ts +23 -0
  96. package/docs/accept-reject-without-scrolling.md +95 -0
  97. package/docs/comment-on-found-text.md +72 -0
  98. package/docs/custom-review-cards.md +178 -0
  99. package/docs/highlight-ranges.md +48 -0
  100. package/docs/index.md +36 -0
  101. package/docs/propose-rewrite.md +247 -0
  102. package/docs/tracked-replacement.md +68 -0
  103. package/package.json +3 -2
  104. package/dist/chunk-2PV5L5NJ.js +0 -5
  105. package/dist/chunk-5OTS2EJ7.js +0 -7
  106. package/dist/chunk-5P4223J4.cjs +0 -27
  107. package/dist/chunk-5RRAZMBU.cjs +0 -1
  108. package/dist/chunk-5SPITS5F.js +0 -18
  109. package/dist/chunk-6JIJOZDW.js +0 -1
  110. package/dist/chunk-7ATNKARV.js +0 -2
  111. package/dist/chunk-BGCUTKWE.cjs +0 -5
  112. package/dist/chunk-BTQKU64Q.cjs +0 -1
  113. package/dist/chunk-EBCXSH2W.js +0 -3
  114. package/dist/chunk-ERECKTIR.cjs +0 -2
  115. package/dist/chunk-HYASLE2G.cjs +0 -1
  116. package/dist/chunk-JC47NRJC.cjs +0 -3
  117. package/dist/chunk-KJRTNY2Q.cjs +0 -2
  118. package/dist/chunk-NKPUH3QJ.js +0 -1
  119. package/dist/chunk-PF5NJWS3.js +0 -2
  120. package/dist/chunk-PWTRJSES.cjs +0 -18
  121. package/dist/chunk-QFKGI242.cjs +0 -30
  122. package/dist/chunk-RPPV4S6T.cjs +0 -4
  123. package/dist/chunk-T32MGBJS.js +0 -1
  124. package/dist/chunk-UM26GH5B.js +0 -30
  125. package/dist/chunk-VRCZBFLH.js +0 -27
  126. package/dist/chunk-WF7JZ755.cjs +0 -1
  127. package/dist/chunk-WK5X2MMA.cjs +0 -7
  128. package/dist/chunk-WPDD2Y32.js +0 -2
  129. package/dist/chunk-YBMWBXST.cjs +0 -2
  130. package/dist/chunk-YZGUBCHP.js +0 -1
  131. package/dist/chunk-ZOS2PM4A.js +0 -4
  132. package/dist/image-resources-Bipz8toD.d.ts +0 -211
  133. package/dist/omml-equation-DP2WpUbK.d.ts +0 -97
package/dist/layout.d.ts CHANGED
@@ -11,24 +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 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-CjcF26ZL.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 ContentControlModelRange, aA as DEFAULT_PAGE_GEOMETRY, aB as DEFAULT_REVISION_DISPLAY_MODE, aC as DEFAULT_RUN_STYLE, aD as DEFAULT_SECTION_PROPERTIES, aE as DEFAULT_TAB_INTERVAL_PT, aF as DEFAULT_TAB_INTERVAL_TWIPS, aG as DeclaredFontSubstitution, aH as DocumentSection, aI as DocumentSectionsEnumeration, aJ as DrawingClipFallback, aK as DrawingGeometry, aL as DrawingGroupPictureRecord, aM as EMPTY_NUMBERING_INDEX, aN as EMPTY_TAB_STOPS, aO as EquationBarGeometry, aP as EquationFractionGeometry, aQ as EquationGeometry, aR as EquationNaryGeometry, aS as EquationRadicalGeometry, aT as EquationRowGeometry, aU as EquationScriptGeometry, aV as EquationSpanRecord, aW as EquationTextGeometry, aX as FieldAtomMarker, aY as FontFingerprintInputs, p as FontRequest, aZ as FontResolutionError, a_ as FontResolutionErrorCode, a$ as FontResourceDefinition, b0 as FontResourceInstrumentation, F as FontResourceSnapshot, b1 as FontResourceSnapshotOptions, b2 as FontSlot, u as FontSubstitution, b3 as FontValidationResult, b4 as GlyphOutline, b5 as GroupTextboxStoryRecord, b6 as HARD_MAX_AGGREGATE_FONT_BYTES, b7 as HARD_MAX_FONT_BYTES, b8 as HARD_MAX_FONT_SOURCES, H as HeaderFooterStoryRecord, b9 as LevelOverride, ba as LineSpacingRule, bb as ListMarkerAlign, s as ListMarkerPictureRecord, bc as ListMarkerRecord, bd as ListSuffix, be as MAX_BORDER_SPACE_PT, bf as MAX_BORDER_WIDTH_PT, bg as MAX_DOCUMENT_SECTIONS, bh as MAX_LVL_OVERRIDES, bi as MAX_NUMBERING_DEFINITIONS, bj as MAX_PARAGRAPH_SPACING_PT, bk as MAX_SHAPING_CONTEXT, bl as MAX_STYLE_DEFINITIONS, bm as MAX_TABLE_BORDER_STROKES, bn as MAX_TAB_POSITION_TWIPS, bo as MAX_TAB_STOPS, n as NormalizationPolicy, N as NoteAreaRecord, e as NoteStoryRecord, bp as NumDefinition, bq as NumberingLevelIndent, br as NumberingPictureBullet, bs as PAGE_BORDER_SIDES, bt as PARAGRAPH_BORDER_SIDES, bu as PageBorderDisplay, bv as PageBorderOffsetFrom, bw as PageBorderSide, bx as PageBorderStrokeRecord, by as PageBorderZOrder, bz as PageRefCalibrationCell, bA as PageRefFieldProjection, bB as ParagraphAutoSpacingContext, bC as ParagraphBorderEdge, bD as ParagraphBorderSide, bE as ParagraphBorders, bF as ParagraphBottomBorderRecord, bG as ParagraphIndent, bH as ParagraphLayoutInputs, bI as ParagraphLineSpacing, bJ as ParagraphSpacing, bK as RefFieldSpec, bL as RefNoteParts, bM as ResolvedCellBorders, m as ResolvedFont, bN as ResolvedPictureBullet, l as ResolvedRunStyle, bO as ResolvedTabStops, bP as ResolvedTableBorderEdge, bQ as ResolvedTableBorderEdgeSegment, bR as ResolvedUnderline, bS as RevisionFilter, bT as RevisionKind, bU as SINGLE_LINE_SPACING, bV as ScriptItem, bW as SectionBreakMarkRecord, bX as SectionBreakType, bY as SectionColumnDefinition, bZ as SectionMargins, b_ as SectionPageNumbering, O as SectionProperties, b$ as SemanticArtifactRootStoryKind, c0 as SemanticArtifactStoryKind, c1 as SemanticCommentArtifactRecord, c2 as SemanticReviewArtifactOccurrence, c3 as SemanticReviewArtifactOccurrenceGeometry, c4 as SemanticReviewArtifactPosition, r as SemanticReviewArtifactRecord, c5 as SemanticReviewArtifactSource, c6 as SemanticTrackedChangeArtifactRecord, c7 as ShapeInput, c8 as ShapedCluster, c9 as ShapedFontSpan, ca as ShapedGlyph, cb as ShapedRunComparatorInputs, cc as ShapedVerticalMetrics, cd as ShapingContext, ce as ShapingEnvironment, cf as ShapingEnvironmentFingerprintInputs, j as ShapingEnvironmentInput, cg as StyleDefinition, ch as TAB_LEADER_GLYPH, ci as TabAlignment, cj as TabDestination, ck as TabLeader, cl as TabStop, cm as TableBorderSideName, cn as TableBorderStrokeRecord, i as TableCellFragmentRecord, co as TableFragmentRecord, h as TableRowFragmentRecord, cp as TextDirection, cq as TextboxStoryFallbackReason, cr as TextboxStoryLayout, cs as UnsupportedScriptError, ct as VerticalAlign, cu as appliedSpaceBefore, cv as applyLineSpacing, cw as baselineShiftPtOf, cx as borderExtentPt, cy as borderWeight, cz as bottomBorderExtentPt, cA as boundedStructuralFontValidator, cB as buildNumberingIndex, cC as buildStyleCascadeTable, cD as cascadeParagraphFormatting, cE as cascadeRunProperties, cF as cascadedBottomBorder, cG as cascadedParagraphBorders, cH as cascadedTabStops, cI as collapsedSpaceBefore, cJ as createFontResourceSnapshot, cK as createShapedRun, cL as createShapingEnvironment, cM as defaultTabIntervalFromSettings, cN as displayText, cO as enumerateDocumentSections, cP as enumerateDocumentSectionsBounded, cQ as fixedPoint, cR as fontRequestKey, cS as formatRevisionOf, cT as geometryOfSection, cU as glyphSizeFactorOf, cV as isValidStyleId, cW as itemizeScriptFontSlots, cX as layoutEquation, cY as markRevisionRemovesMark, cZ as measureDisplayText, c_ as mergeListIndent, c$ as nextTabDestination, d0 as pageBordersFingerprint, d1 as paragraphBorderExtentPt, d2 as paragraphBorderStrokeWidthPt, d3 as paragraphBorders, d4 as paragraphBordersFingerprint, d5 as paragraphBreaksBefore, d6 as paragraphContextualSpacing, d7 as paragraphLineSpacing, d8 as paragraphMarkFormatRevisionOf, d9 as paragraphMarkRevisionOf, da as paragraphMarkRevisionsOf, db as paragraphSectionNode, dc as paragraphSpacing, dd as paragraphTabStops, de as parsePageBorders, df as parsePageNumbering, dg as parseRefInstruction, dh as parseSectionProperties, di as projectedSectionSourceIndexes, dj as readBorderSide, dk as readCellBorders, dl as readNumPr, dm as readSectionProperties, dn as readTableBorders, dp as resolveBorderConflict, dq as resolveNumberingLevel, dr as resolveParagraphLayoutInputs, ds as resolveRunStyle, dt as resolveStoryListItems, du as resolveStoryRefFields, dv as resolveTableCellBorderGrid, dw as revisionAuthorFilter, dx as revisionsAreDeletion, dy as revisionsVisible, dz as runStylesEqual, dA as shapedRunComparatorInputs, dB as shapingEnvironmentFingerprint, dC as shapingEnvironmentFingerprintInputs, dD as shownMarkRevision, dE as styleForFontSlot, dF as tabAdvanceWidth, dG as tabStopsFingerprint, dH as withDefaultTabInterval, dI as withNumberingStyleLinks, dJ as withResolvedListItems } from './semantic-records-CjcF26ZL.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-cEnVrhWg.js';
18
- import { a as SemanticStoryKind, S as SemanticRootStoryKind, b as SemanticStoryVisit, T as TextboxOwnerRecord } from './semantic-record-queries-Bx0pl6kL.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-Bx0pl6kL.js';
20
- import { aI as ImpactClass, N as OoxmlNode, am as OoxmlProperty, ah 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-CA0xB8kH.js';
21
- export { b6 as CommentAnchor, b7 as CommentPosition, C as CommentRecord, b1 as CommentThreadState, aR as DrawingAccessibility, X as DrawingHorizontalReferenceFrame, aS 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, aJ as SourceCrop, aQ as TableBorderStyle, dD as VectorShapeComponent, aT 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-CA0xB8kH.js';
22
- import { D as DocumentProperties, H as HeadlessDocumentView, r as relationshipTargetIn } from './headless-document-view-DZQN8Bnx.js';
23
- import { R as ResolvedFootnoteProperties, a as ResolvedEndnoteProperties } from './note-properties-9FH8zAeG.js';
24
- import { e as TreeModelChange, N as NoteKind, aK as noteTypeOf, F as FieldResultsMode } from './tree-package-store-DKhdEVym.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-CqVelc5A.js';
26
- import { S as SemanticPosition, b as SelectionRect, a as SemanticSelection, C as CaretGeometry } from './semantic-interaction-Dc3pf3hr.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-Dc3pf3hr.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-Dr9yxFZt.js';
29
- import './image-resources-Bipz8toD.js';
30
- import './omml-equation-DP2WpUbK.js';
31
- import './editor-scope-7o9xweiJ.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';
32
32
 
33
33
  /**
34
34
  * The result of counting ONE list paragraph: the level that applied, the counter vector after it,
@@ -488,6 +488,20 @@ interface FieldCodeRange {
488
488
  }
489
489
  type FieldCodeRanges = ReadonlyMap<string, readonly FieldCodeRange[]>;
490
490
 
491
+ /** A horizontal run of x a float leaves free on one line, in paragraph-local coordinates. */
492
+ interface WrapInterval {
493
+ readonly start: number;
494
+ readonly end: number;
495
+ }
496
+ /** The one passage that holds a whole line. */
497
+ interface WrapSegment extends WrapInterval {
498
+ /**
499
+ * Where the content ends, when the pen stepped over a float but placed nothing past it.
500
+ * Alignment measures the content from here rather than from the pen.
501
+ */
502
+ readonly contentEnd?: number;
503
+ }
504
+
491
505
  interface PendingLine {
492
506
  readonly spans: StyleSpanRecord[];
493
507
  readonly drawings: InlineDrawingRecord[];
@@ -549,11 +563,22 @@ interface PendingLine {
549
563
  * beside it, not between the page margins, and stretches a justified line to the float's
550
564
  * near edge rather than through it. Absent when no float shortens the line, when the line
551
565
  * steps over a float into a later passage, or when the passage is the whole measure.
566
+ * `contentEnd` marks a line whose pen stepped over a float without placing anything past it.
552
567
  */
553
- wrapSegment?: {
568
+ wrapSegment?: WrapSegment;
569
+ /**
570
+ * The float passages a line that steps over a float holds content in, left to right, in
571
+ * paragraph-local coordinates. The first starts where the line's content begins.
572
+ *
573
+ * Each part of such a line aligns INSIDE its own passage: centred text is centred beside the
574
+ * float on each side, and right-aligned text ends at each passage's right edge. Aligning the
575
+ * line as one block moved the text before the float onto the picture. Absent on a line that
576
+ * one passage holds whole, which {@link wrapSegment} describes.
577
+ */
578
+ wrapPassages?: readonly {
554
579
  readonly start: number;
555
580
  readonly end: number;
556
- };
581
+ }[];
557
582
  /** Tracked anchored-drawing attributions on this line; see {@link LineRecord.anchorRevisions}. */
558
583
  anchorRevisions?: readonly RevisionAttribution[];
559
584
  /** Revisions a resolved view answered on this line; see {@link LineRecord.changeSites}. */
@@ -830,7 +855,7 @@ interface LayoutSession {
830
855
  /**
831
856
  * Page-bottom footnote reserves from the last published notes layout.
832
857
  *
833
- * Seeded into the next {@link layoutSemanticDocumentWithNotes} call so the first body
858
+ * Seeded into the next {@link layoutSemanticDocumentWithNotesSteps} call so the first body
834
859
  * pass already matches the reserved context key — without this, every notes document
835
860
  * starts empty, mismatches, and throws away the session on reflow.
836
861
  */
@@ -841,6 +866,26 @@ interface LayoutSession {
841
866
  */
842
867
  declare function createLayoutSession(): LayoutSession;
843
868
 
869
+ /**
870
+ * The effective indent of a list paragraph: `inherited`, then the numbering LEVEL, then
871
+ * `direct`, per attribute.
872
+ *
873
+ * A level's `w:pPr/w:ind` applies per attribute between the two tiers, and the ordering
874
+ * matters on real documents. A converted agreement numbers its `(a)` items with a level
875
+ * stating `left=1512 hanging=738` under a `ListParagraph` style stating
876
+ * `left=775 hanging=624`, and states only `hanging="737"` on the paragraph itself. Reading
877
+ * the flattened cascade as "the paragraph's indent" gave the STYLE's 775 to a level that had
878
+ * overridden it, so every lettered sub-item hung a full indent step to the left of where
879
+ * Word puts it.
880
+ *
881
+ * `inherited` is what the level outranks and `direct` is what outranks it. When the
882
+ * paragraph's own `w:pPr` states a `w:numPr`, these are the style chain (after the document
883
+ * defaults) and that `w:pPr`. Otherwise the level sits directly below the nearest style that
884
+ * states a `w:numPr`: that style, the styles based on it and the paragraph's own `w:pPr` go
885
+ * in `direct`, and the defaults and that style's bases go in `inherited`.
886
+ */
887
+ declare function mergeListIndent(levelIndent: NumberingLevelIndent, inherited: readonly OoxmlProperty[], direct?: readonly OoxmlProperty[]): NumberingLevelIndent;
888
+
844
889
  /** Collect story paragraphs, preserving table depth limits across immutable row reuse. */
845
890
  declare function walkStoryParagraphs(blocks: readonly OoxmlElement[], maxTableDepth?: number): OoxmlElement[];
846
891
 
@@ -1140,6 +1185,11 @@ interface SemanticTableStructure {
1140
1185
  * on that edge, so its first grid line sits half a rule inward. Positive moves right.
1141
1186
  */
1142
1187
  readonly outerRuleOffsetPt?: number;
1188
+ /**
1189
+ * Derived, never serialized: the outer side rule an automatic-width mode-15 AutoFit table
1190
+ * keeps inside its container, so its grid settles that much narrower than the room.
1191
+ */
1192
+ readonly autoOuterRulePt?: number;
1143
1193
  /** `w:tblPr/w:tblW` — the width the table asked for. */
1144
1194
  readonly tableWidth: PreferredWidth;
1145
1195
  /**
@@ -2168,7 +2218,7 @@ interface PageRefHit {
2168
2218
  }
2169
2219
 
2170
2220
  /**
2171
- * Bound on reflow attempts for an UNSEEDED document layout pass (cold open).
2221
+ * Bound on reflow attempts for one document layout pass, cold or seeded.
2172
2222
  *
2173
2223
  * Sized for a cold open of a reference-dense document: adoption is a forward fixed-point
2174
2224
  * iteration whose settled prefix extends a few pages per round, so a legal document with a
@@ -2355,6 +2405,12 @@ declare function attachNotesToLayout(layout: SemanticLayout, allRefs: readonly P
2355
2405
  * Opaque at this boundary; the shape is owned by this module.
2356
2406
  */
2357
2407
  readonly memo?: unknown;
2408
+ /**
2409
+ * The pages are a completed prefix of a pass, shown before it ends: attach page-bottom
2410
+ * footnotes only. Section- and document-end notes, continuation sheets and the final marks
2411
+ * wait for the whole document, or they would land at the end of the prefix.
2412
+ */
2413
+ readonly partial?: boolean;
2358
2414
  }): NotesAttachResult;
2359
2415
  /**
2360
2416
  * Build a continuous (pre-page) mark context for the first body layout pass.
@@ -2524,7 +2580,7 @@ interface SemanticLayoutOptions {
2524
2580
  readonly sectionFurniture?: readonly (PageFurniture | undefined)[];
2525
2581
  /**
2526
2582
  * `w:evenAndOddHeaders` from settings.xml. A section that restarts its page numbering then
2527
- * 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,
2528
2584
  * layout reads the flag from the section furniture.
2529
2585
  */
2530
2586
  readonly evenAndOddHeaders?: boolean;
@@ -2616,6 +2672,19 @@ interface SemanticLayoutOptions {
2616
2672
  * `pageIndexStart`. Produced by the note reflow loop; absent means full content column.
2617
2673
  */
2618
2674
  readonly pageBottomReserves?: ReadonlyMap<number, number>;
2675
+ /**
2676
+ * `pageBottomReserves` index the pages of the previous pass, the seed a notes pass starts
2677
+ * from. A multi-section pass moves each section's entries by how far its first page moved,
2678
+ * so a section after an edit that added or removed pages sees the reserves it had.
2679
+ * @internal
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;
2619
2688
  /** Derived note marks for body/note projection (provisional or final). */
2620
2689
  readonly noteMarks?: NoteMarkContext;
2621
2690
  /** Inline drawing projection for typed `w:drawing` / `wp:inline` nodes. */
@@ -2770,6 +2839,8 @@ interface CanvasTextMetrics {
2770
2839
  readonly width: number;
2771
2840
  readonly actualBoundingBoxLeft?: number;
2772
2841
  readonly actualBoundingBoxRight?: number;
2842
+ readonly actualBoundingBoxAscent?: number;
2843
+ readonly actualBoundingBoxDescent?: number;
2773
2844
  readonly fontBoundingBoxAscent?: number;
2774
2845
  readonly fontBoundingBoxDescent?: number;
2775
2846
  }
@@ -2785,6 +2856,7 @@ interface CanvasTextContext {
2785
2856
  fontKerning?: 'auto' | 'normal' | 'none';
2786
2857
  textAlign?: 'left' | 'right' | 'center' | 'start' | 'end';
2787
2858
  direction?: 'ltr' | 'rtl' | 'inherit';
2859
+ textBaseline?: 'top' | 'hanging' | 'middle' | 'alphabetic' | 'ideographic' | 'bottom';
2788
2860
  measureText(text: string): CanvasTextMetrics;
2789
2861
  }
2790
2862
  /**
@@ -3147,5 +3219,5 @@ declare function tabLeaderPattern(startPt: number, widthPt: number, advancePt: n
3147
3219
  */
3148
3220
  declare function noteSeparatorRuleBox(span: StyleSpanRecord, line: LineRecord, stroke?: StrikeoutStrokePt): LayoutBox;
3149
3221
 
3150
- 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 };
3222
+ 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, 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, 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, storyBlocks, syntheticSeparatorBox, tabLeaderPattern, tableOriginX, tocFieldChromeParagraphIds, tryCreateCanvasMeasurer, utf16OffsetToGrapheme, vectorShapeInkClip, walkStoryParagraphs, wordBoundary, wordSegmentsToGraphemeRecords };
3151
3223
  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 };
package/dist/layout.js CHANGED
@@ -1 +1 @@
1
- export{O as DEFAULT_CANVAS_FONT_STACK,b as HARFBUZZ_SHAPING_LIBRARY,e as HarfBuzzShapingError,k as LayoutShapingConfigurationError,K as ResolvedCache,z as WORD_SEGMENTER_LOCALE,X as anchorLineY,C as boundedFallbackWordSegments,I as captureOperationSnapshot,ea as cellSelectionBetween,ia as cellSelectionRects,ja as cellSelectionText,W as contentControlBoundaries,D as createBoundedFallbackWordBoundary,E as createDefaultWordBoundary,g as createHarfBuzzTextShaper,B as createIntlWordBoundary,da as createLayoutScheduler,ba as createLayoutShapedMeasurer,r as createLayoutShaping,aa as createShapedMeasurer,t as disposeLayoutShaping,L as exportSourceRangeOf,M as forEachSemanticSpan,J as guardOperationSnapshot,f as harfBuzzFontValidator,c as initializeHarfBuzz,Q as isCanvasMeasurementAvailable,x as isCumulativeGeometryTrustedFromLineOrigin,w as isGeometryTrustedCaretOffset,d as isHarfBuzzInitialized,A as isIntlWordSegmenterAvailable,v as isWholeGraphemeHorizontalBoundary,q as layoutFontConfigurationFingerprint,T as pageRefPageNumbersFromLayout,ca as pagesToMaterialize,ga as paragraphsInCells,U as planRefFieldResultRefresh,o as prepareLayoutFontConfiguration,S as resolveDefaultSurfaceMeasurer,F as resolveDefaultWordBoundary,Y as reviewAnchorIndex,Z as reviewItemGeometry,a as roundFontUnitToFixedPoint,G as segmentWords,y as semanticHorizontalBoundaries,u as shapedHorizontalBoundaries,ha as spansInCells,na as tabLeaderPattern,ka as tableContextAt,R as tryCreateCanvasMeasurer,N as vectorShapeInkClip,H as wordSegmentsToGraphemeRecords}from'./chunk-EBCXSH2W.js';export{a as setHarfBuzzWasmUrl}from'./chunk-RIYSCEFQ.js';export{L as AUTO_PARAGRAPH_SPACING_PT,Pd as AUTO_PREFERRED_WIDTH,Qd as CELL_PAD,F as COMPOUND_BORDER_MIN_GAP_PT,E as COMPOUND_BORDER_MIN_STROKE_PT,Rd as DEFAULT_CELL_MARGINS,va as DEFAULT_PAGE_GEOMETRY,Za as DEFAULT_REVISION_DISPLAY_MODE,$ as DEFAULT_RUN_STYLE,Ic as DEFAULT_SECTION_PROPERTIES,tb as DEFAULT_TAB_INTERVAL_PT,sb as DEFAULT_TAB_INTERVAL_TWIPS,Xd as DEFAULT_VERTICAL_WEIGHT,nc as EMPTY_NUMBERING_INDEX,vb as EMPTY_TAB_STOPS,d as FontResolutionError,ia as GRAPHEME_SEGMENTER_LOCALE,c as HARD_MAX_AGGREGATE_FONT_BYTES,a as HARD_MAX_FONT_BYTES,b as HARD_MAX_FONT_SOURCES,K as MAX_BORDER_SPACE_PT,J as MAX_BORDER_WIDTH_PT,Hc as MAX_DOCUMENT_SECTIONS,zf as MAX_EACH_PAGE_MARK_CANDIDATES,kc as MAX_LVL_OVERRIDES,Lb as MAX_LVL_TEXT_LENGTH,Kb as MAX_MARKER_TEXT_LENGTH,lf as MAX_NOTES_LAID_OUT,mf as MAX_NOTE_FRAGMENTS,yf as MAX_NOTE_OVERFLOW_PAGES,xf as MAX_NOTE_REFLOW_ATTEMPTS,jc as MAX_NUMBERING_DEFINITIONS,I as MAX_PARAGRAPH_SPACING_PT,o as MAX_SHAPING_CONTEXT,Ib as MAX_STYLE_BASED_ON_DEPTH,hd as MAX_STYLE_DEFINITIONS,Hd as MAX_TABLE_BORDER_STROKES,Td as MAX_TABLE_NESTING,Ue as MAX_TABLE_ROW_FRAGMENTS,Ud as MAX_TABLE_ROW_HEIGHT_PT,rb as MAX_TAB_POSITION_TWIPS,qb as MAX_TAB_STOPS,Dc as PAGE_BORDER_SIDES,N as PARAGRAPH_BORDER_SIDES,M as SINGLE_LINE_SPACING,ub as TAB_LEADER_GLYPH,Ve as TablePaginationError,sa as UnsupportedScriptError,_ as appliedSpaceBefore,R as applyLineSpacing,Ef as attachNotesToLayout,ea as baselineShiftPtOf,Od as borderExtentPt,Ld as borderWeight,X as bottomBorderExtentPt,l as boundedStructuralFontValidator,lc as buildNumberingIndex,Bf as buildPageRefIndex,id as buildStyleCascadeTable,oe as caretAt,fe as caretBoxOnLine,me as caretStops,ne as caretStopsForBlocks,jd as cascadeParagraphFormatting,md as cascadeRunProperties,ld as cascadedBottomBorder,U as cascadedParagraphBorders,wb as cascadedTabStops,Mb as clampListValue,Z as collapsedSpaceBefore,te as compositionAnchor,G as computeDoubleBorderMetricsPt,Df as computeFootnoteReserves,ce as contentControlAtPoint,le as contentControlAtSemantic,ef as contentControlHoldingParagraph,df as contentControlRecordsInPart,pe as contentControlsInLayout,Ia as contentControlsOfLayout,Ze as createDocumentFurnitureSource,af as createDocumentLinkProjectors,_e as createDocumentNotesInput,Le as createDocumentStyleDependencies,bf as createFieldLinkRegistry,ha as createFixedMeasurer,m as createFontResourceSnapshot,Hf as createLayoutSession,oc as createListCounterState,He as createParagraphLayoutCache,s as createShapedRun,p as createShapingEnvironment,sf as defaultNoteSeparatorRuleStyle,zb as defaultTabIntervalFromSettings,re as deletedTextBoundaries,Ac as deriveNoteDisplayMarks,Bc as deriveNoteDisplayMarksResolved,ba as displayText,Ra as documentOrder,$e as documentRelationshipTargetIn,Gd as effectiveBorderSide,Ka as effectiveContentControlLock,mb as emptyTocPlaceholderParagraphIds,nb as emptyTocSuppressedResultParagraphIds,Oc as enumerateDocumentSections,Qc as enumerateDocumentSectionsBounded,Sa as everyStoryOrder,Ub as expandLvlText,Cf as filterRefsOnPage,ge as findDrawingOverlayFrameInLayout,pf as findSeparatorNote,n as fixedPoint,h as fontRequestKey,Ea as forEachSemanticDrawing,Ca as forEachSemanticStory,Fa as forEachStoryParagraphFragment,Nb as formatDecimal,Ob as formatDecimalZero,Sb as formatLowerLetter,Qb as formatLowerRoman,Tb as formatNumFmt,ec as formatPageNumber,hb as formatRevisionOf,Rb as formatUpperLetter,Pb as formatUpperRoman,Af as fragmentOwnsAtomOffset,Ga as fragmentsOfParagraph,Rc as geometryOfSection,fa as glyphSizeFactorOf,la as graphemeBoundaryEpoch,pa as graphemeCount,ra as graphemeOffsetToUtf16,$d as hitTestPage,ke as hitTestSemantic,be as hitTestSheet,ka as intlGraphemeBoundary,Zd as isFurniturePoint,ja as isIntlSegmenterAvailable,tf as isMarkerOnlySeparatorNote,Gb as isValidStyleId,ta as itemizeScriptFontSlots,xe as keyedRangeRects,ad as layoutEquation,Ye as layoutHeaderFooterStory,rf as layoutNoteById,uf as layoutNoteSeparator,qf as layoutNoteStory,If as layoutSemanticDocument,Ha as lineAtPosition,de as lineEndOffset,La as lineSegments,za as linesOf,tc as listMarkerBox,fb as markRevisionRemovesMark,ca as measureDisplayText,xc as mergeListIndent,se as moveCaret,Ab as nextTabDestination,of as normalNotesOf,Cc as noteDisplayMarkMap,nf as noteLineIdPrefix,Zc as noteMarkKey,wf as noteSeparatorAreaBox,kf as noteSeparatorRuleBox,sd as noteStoryBlocks,Yd as pageAtY,jf as pageBorderFrame,Fc as pageBordersFingerprint,W as paragraphBorderExtentPt,V as paragraphBorderStrokeWidthPt,T as paragraphBorders,Y as paragraphBordersFingerprint,H as paragraphBreaksBefore,S as paragraphContextualSpacing,xa as paragraphFragmentsOf,ya as paragraphFragmentsOfBlocks,Ge as paragraphLayoutKey,Q as paragraphLineSpacing,pc as paragraphMarkDeleted,db as paragraphMarkFormatRevisionOf,gb as paragraphMarkRevisionOf,cb as paragraphMarkRevisionsOf,Mc as paragraphSectionNode,A as paragraphShading,B as paragraphShadingBox,P as paragraphSpacing,xb as paragraphTabStops,qe as paragraphTextFromLayout,cc as parseAutonumInstruction,Ec as parsePageBorders,Jc as parsePageNumbering,bc as parseRefInstruction,Kc as parseSectionProperties,xd as positionPastDeletion,_c as projectedNoteMarkText,Pc as projectedSectionSourceIndexes,Ff as provisionalNoteMarks,Id as readBorderSide,Kd as readCellBorders,vc as readNumPr,Nc as readSectionProperties,Jd as readTableBorders,Vd as readTableStructure,oa as resetGraphemeBoundary,Md as resolveBorderConflict,mc as resolveNumberingLevel,y as resolveOoxmlShadingFill,nd as resolveParagraphLayoutInputs,aa as resolveRunStyle,yc as resolveStoryListItems,Uc as resolveStoryRefFields,x as resolveStrictHexFill,Nd as resolveTableCellBorderGrid,ab as revisionAuthorFilter,rc as revisionRemovesParagraph,ib as revisionsAreDeletion,bb as revisionsVisible,Fb as runBorderStrokesForLine,da as runStylesEqual,ma as segmentGraphemes,ve as selectionRects,na as setGraphemeBoundary,z as shadingFillFromElement,t as shapedRunComparatorInputs,r as shapingEnvironmentFingerprint,q as shapingEnvironmentFingerprintInputs,eb as shownMarkRevision,ee as spanOffsetX,ue as spansInSelection,rd as storyBlocks,ua as styleForFontSlot,vf as syntheticSeparatorBox,Bb as tabAdvanceWidth,Cb as tabStopsFingerprint,Sd as tableOriginX,lb as tocFieldChromeParagraphIds,Ja as unionLayoutBoxes,qa as utf16OffsetToGrapheme,dc as walkStoryParagraphs,yb as withDefaultTabInterval,wc as withNumberingStyleLinks,zc as withResolvedListItems,ie as wordBoundary}from'./chunk-UM26GH5B.js';import'./chunk-T32MGBJS.js';import'./chunk-PF5NJWS3.js';export{Tc as MAX_SDT_NESTING,$i as MAX_TABLE_COLUMNS,Yh as W15_NAMESPACE_URI,Ej as activeReviewItem,Yc as collectFlowBlocks,Nj as commentBodyText,Pj as commentInitials,Xc as contentControlContentChildren,Aj as firstReviewRange,Uc as isContentControl,Vc as isContentControlContent,d as mapSymbolPuaText,lj as paragraphOrderOfPart,yj as reviewItemKey,Bj as reviewItemPositionRank,zj as reviewItemRanges,Cj as reviewItemsAt,Fj as reviewThreadRootOf,f as sha256FontBytes}from'./chunk-5SPITS5F.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-CA0xB8kH.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 chunkRPPV4S6T_cjs=require('./chunk-RPPV4S6T.cjs');require('./chunk-JC47NRJC.cjs'),require('./chunk-QFKGI242.cjs'),require('./chunk-5RRAZMBU.cjs'),require('./chunk-YBMWBXST.cjs'),require('./chunk-PWTRJSES.cjs');Object.defineProperty(exports,"DEFAULT_FIELD_SHADING",{enumerable:true,get:function(){return chunkRPPV4S6T_cjs.m}});Object.defineProperty(exports,"collectPageChangeBars",{enumerable:true,get:function(){return chunkRPPV4S6T_cjs.h}});Object.defineProperty(exports,"paintSelectionOverlay",{enumerable:true,get:function(){return chunkRPPV4S6T_cjs.r}});Object.defineProperty(exports,"paintSemanticLayout",{enumerable:true,get:function(){return chunkRPPV4S6T_cjs.p}});
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,14 +8,17 @@
8
8
  * @packageDocumentation
9
9
  * @public
10
10
  */
11
- import { R as ReviewAuthorInfo } from './semantic-paint-Bz3FBAoH.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-Bz3FBAoH.js';
13
- import { S as SemanticLayout } from './semantic-records-CjcF26ZL.js';
14
- import './semantic-record-queries-Bx0pl6kL.js';
15
- import './image-resources-Bipz8toD.js';
16
- import './types-barrel-CA0xB8kH.js';
17
- import './editor-scope-7o9xweiJ.js';
18
- import './omml-equation-DP2WpUbK.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';
19
22
 
20
23
  /** A rectangle in page-content coordinates, on a named page. */
21
24
  interface OverlayRect {
@@ -92,5 +95,16 @@ interface SelectionOverlayOptions {
92
95
  */
93
96
  declare function paintSelectionOverlay(layer: HTMLElement, layout: SemanticLayout, rects: readonly OverlayRect[], options: SelectionOverlayOptions): void;
94
97
 
95
- export { ReviewAuthorInfo, paintSelectionOverlay };
96
- export type { OverlayRect, SelectionOverlayOptions };
98
+ /** `out = slope * in + intercept` over sRGB channels in [0, 1]. */
99
+ interface LumTransfer {
100
+ readonly slope: number;
101
+ readonly intercept: number;
102
+ }
103
+ /**
104
+ * Word's `a:lum` transfer for `bright`/`contrast` given in percent (`70.001` for `70001`).
105
+ * Returns `null` for the identity transfer and for non-finite input.
106
+ */
107
+ declare function lumTransfer(brightPercent: number, contrastPercent: number): LumTransfer | null;
108
+
109
+ export { ReviewAuthorInfo, lumTransfer, paintSelectionOverlay };
110
+ export type { LumTransfer, OverlayRect, SelectionOverlayOptions };
package/dist/output.js CHANGED
@@ -1 +1 @@
1
- export{m as DEFAULT_FIELD_SHADING,h as collectPageChangeBars,r as paintSelectionOverlay,p as paintSemanticLayout}from'./chunk-ZOS2PM4A.js';import'./chunk-EBCXSH2W.js';import'./chunk-RIYSCEFQ.js';import'./chunk-UM26GH5B.js';import'./chunk-T32MGBJS.js';import'./chunk-PF5NJWS3.js';import'./chunk-5SPITS5F.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';