@docx-editor.dev/core 2.28.0 → 2.30.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. package/dist/automation.cjs +1 -1
  2. package/dist/automation.d.ts +65 -13
  3. package/dist/automation.js +1 -1
  4. package/dist/binding.cjs +1 -1
  5. package/dist/binding.d.ts +54 -38
  6. package/dist/binding.js +1 -1
  7. package/dist/{index-Bsg7oIKP.d.ts → chrome-print-BM3Js-6X.d.ts} +281 -222
  8. package/dist/{chunk-Z6WBFXJU.js → chunk-2PV5L5NJ.js} +3 -3
  9. package/dist/chunk-4HENIAFG.js +1 -0
  10. package/dist/chunk-5OTS2EJ7.js +7 -0
  11. package/dist/chunk-5P4223J4.cjs +27 -0
  12. package/dist/{chunk-O2AL2HSJ.cjs → chunk-5RRAZMBU.cjs} +1 -1
  13. package/dist/chunk-5SPITS5F.js +18 -0
  14. package/dist/{chunk-VDNNLG6X.js → chunk-7ATNKARV.js} +1 -1
  15. package/dist/{chunk-SRPILEWV.cjs → chunk-BGCUTKWE.cjs} +5 -5
  16. package/dist/chunk-EBCXSH2W.js +3 -0
  17. package/dist/{chunk-K5U2PLDP.cjs → chunk-ERECKTIR.cjs} +1 -1
  18. package/dist/{chunk-QMLCVPCD.cjs → chunk-FLBEJC6X.cjs} +1 -1
  19. package/dist/{chunk-6AWEKBLB.cjs → chunk-HYASLE2G.cjs} +1 -1
  20. package/dist/chunk-JC47NRJC.cjs +3 -0
  21. package/dist/{chunk-ZUHOMK52.cjs → chunk-KJRTNY2Q.cjs} +1 -1
  22. package/dist/chunk-NKPUH3QJ.js +1 -0
  23. package/dist/chunk-PF5NJWS3.js +2 -0
  24. package/dist/chunk-PWTRJSES.cjs +18 -0
  25. package/dist/chunk-QFKGI242.cjs +30 -0
  26. package/dist/{chunk-5CSUYANV.js → chunk-RJCQGJR7.js} +1 -1
  27. package/dist/chunk-RPPV4S6T.cjs +4 -0
  28. package/dist/{chunk-TSLBZ26X.js → chunk-T32MGBJS.js} +1 -1
  29. package/dist/chunk-UM26GH5B.js +30 -0
  30. package/dist/chunk-V3N4SOAK.cjs +1 -0
  31. package/dist/chunk-VRCZBFLH.js +27 -0
  32. package/dist/{chunk-2GO5T2JU.cjs → chunk-WF7JZ755.cjs} +1 -1
  33. package/dist/chunk-WK5X2MMA.cjs +7 -0
  34. package/dist/{chunk-E7BQA6UP.js → chunk-WPDD2Y32.js} +1 -1
  35. package/dist/chunk-YBMWBXST.cjs +2 -0
  36. package/dist/{chunk-ETTO6GK3.js → chunk-YZGUBCHP.js} +1 -1
  37. package/dist/chunk-ZOS2PM4A.js +4 -0
  38. package/dist/collaboration/replication.cjs +1 -1
  39. package/dist/collaboration/replication.d.ts +5 -5
  40. package/dist/collaboration/replication.js +1 -1
  41. package/dist/collaboration.d.ts +4 -4
  42. package/dist/contracts/document.d.ts +3 -3
  43. package/dist/contracts/editor.d.ts +9 -10
  44. package/dist/contracts/interaction.d.ts +2 -2
  45. package/dist/contracts/modules.cjs +1 -1
  46. package/dist/contracts/modules.d.ts +33 -9
  47. package/dist/contracts/modules.js +1 -1
  48. package/dist/contracts/types.d.ts +2 -2
  49. package/dist/{custom-node-writes-cvL5rhcD.d.ts → custom-node-writes-0v0Kgw1T.d.ts} +2 -2
  50. package/dist/diagnostic-context-CcAO4q1s.d.ts +30 -0
  51. package/dist/diagnostic-hints-2Bke6H_w.d.ts +120 -0
  52. package/dist/{document-protection-BAGVGqaP.d.ts → document-protection-8eyMWIJ0.d.ts} +2 -2
  53. package/dist/{editor-Ci7IZGmG.d.ts → editor-DaEJd2so.d.ts} +460 -9
  54. package/dist/{editor-scope-OHPwVQ5l.d.ts → editor-scope-7o9xweiJ.d.ts} +1 -1
  55. package/dist/editor.cjs +1 -1
  56. package/dist/editor.d.ts +55 -33
  57. package/dist/editor.js +1 -1
  58. package/dist/export.cjs +2 -2
  59. package/dist/export.d.ts +17 -15
  60. package/dist/export.js +2 -2
  61. package/dist/{font-resolver-BVQB14qT.d.ts → font-resolver-CL9BVKZo.d.ts} +3 -3
  62. package/dist/font-shaping-policy-BvpkrfxM.d.ts +7 -0
  63. package/dist/{headless-document-view-qH331moE.d.ts → headless-document-view-DZQN8Bnx.d.ts} +2 -2
  64. package/dist/{image-resources-BN-hUgCn.d.ts → image-resources-Bipz8toD.d.ts} +2 -2
  65. package/dist/index.cjs +1 -1
  66. package/dist/index.d.ts +67 -21
  67. package/dist/index.js +1 -1
  68. package/dist/{layout-shaping-BEyuiQOk.d.ts → layout-shaping-cEnVrhWg.d.ts} +3 -2
  69. package/dist/layout.cjs +1 -1
  70. package/dist/layout.d.ts +42 -42
  71. package/dist/layout.js +1 -1
  72. package/dist/{note-properties-4Y9o6Gyk.d.ts → note-properties-9FH8zAeG.d.ts} +3 -3
  73. package/dist/{omml-equation-CuzBL5DD.d.ts → omml-equation-DP2WpUbK.d.ts} +13 -1
  74. package/dist/output.cjs +1 -1
  75. package/dist/output.d.ts +8 -9
  76. package/dist/output.js +1 -1
  77. package/dist/{protocol-Bqk4Izjc.d.ts → protocol-CZ1uUlPO.d.ts} +2 -2
  78. package/dist/{review-paragraph-order-DT-n6ouC.d.ts → review-paragraph-order-CqVelc5A.d.ts} +1 -1
  79. package/dist/{semantic-cell-selection-D9D1KSXq.d.ts → semantic-cell-selection-Dr9yxFZt.d.ts} +4 -211
  80. package/dist/{semantic-interaction-CIC-PooQ.d.ts → semantic-interaction-Dc3pf3hr.d.ts} +1 -1
  81. package/dist/{semantic-paint-BME37OMv.d.ts → semantic-paint-Bz3FBAoH.d.ts} +17 -5
  82. package/dist/{semantic-record-queries-CBlZqZNa.d.ts → semantic-record-queries-Bx0pl6kL.d.ts} +1 -1
  83. package/dist/{semantic-records-4B3WwFAi.d.ts → semantic-records-CjcF26ZL.d.ts} +892 -416
  84. package/dist/store.cjs +1 -1
  85. package/dist/store.d.ts +1463 -1574
  86. package/dist/store.js +1 -1
  87. package/dist/{tree-package-fragment-BeeKxDw8.d.ts → tree-package-store-DKhdEVym.d.ts} +238 -84
  88. package/dist/{tree-session-contract-CVbmlMlq.d.ts → tree-session-contract-CwnTEVLF.d.ts} +8 -6
  89. package/dist/{types-barrel-D3xCgQX6.d.ts → types-barrel-CA0xB8kH.d.ts} +548 -527
  90. package/package.json +3 -3
  91. package/dist/chunk-2RC2EPND.js +0 -3
  92. package/dist/chunk-4GBTELJV.cjs +0 -28
  93. package/dist/chunk-4R3TEXMN.js +0 -18
  94. package/dist/chunk-6APGXLBB.cjs +0 -3
  95. package/dist/chunk-6EYYL7FL.js +0 -1
  96. package/dist/chunk-EO4C5QJW.cjs +0 -2
  97. package/dist/chunk-FIJZIQXA.cjs +0 -18
  98. package/dist/chunk-FRXAOVTB.js +0 -28
  99. package/dist/chunk-J6BVWIDB.js +0 -2
  100. package/dist/chunk-JGNVNT2A.cjs +0 -2
  101. package/dist/chunk-KKIJG3C6.js +0 -2
  102. package/dist/chunk-LWDSDCMO.js +0 -27
  103. package/dist/chunk-NBCVVZOM.cjs +0 -1
  104. package/dist/chunk-O5INAWZQ.js +0 -1
  105. package/dist/chunk-RCHS4ZEH.cjs +0 -27
  106. package/dist/chunk-VHAVHCQY.js +0 -7
  107. package/dist/chunk-VX43VBAX.cjs +0 -7
  108. package/dist/review-pane-D9jm8DcY.d.ts +0 -128
  109. package/dist/revision-projection-DZ4kKVev.d.ts +0 -242
package/dist/layout.d.ts CHANGED
@@ -11,26 +11,24 @@
11
11
  * @packageDocumentation
12
12
  * @public
13
13
  */
14
- import { s as NumberingLevel, t as NumberingIndex, S as SemanticLayout, b as LayoutBox, D as DrawingPoint, u as DrawingInsets, e as StyleSpanRecord, I as InlineDrawingRecord, M as ModelRange, v as TableBorderSide, w as TableFloatXSpec, x as TableFloatYSpec, P as ParagraphFragmentRecord, B as BlockFragmentRecord, A as AnchoredDrawingRecord, a as PageRecord, y as ResolvedListItem, z as RefFieldContext, T as TextMeasurer, E as InlineDrawingLayoutContext, G as CellBorderBox, J as TableBorderBox, K as TableCellStyleFormatting, O as TableFloatPosition, Q as StyleCascadeTable, C as ContentControlBoundaryRecord$1, m as FixedPointRoundingMode, U as FixedPoint, V as VersionedShapingLibrary, j as TextShaper, W as FontByteValidator, r as ShapedRun, L as LineRecord, X as SourceRange, Y as HyperlinkProjector, Z as FieldLinkProjector, _ as StoryPageFieldNeeds, $ as HyperlinkFieldSpec, a0 as SpanLinkRecord, f as SectionPageBorders, a1 as PageBorderFrameRecord, a2 as ParagraphBorderStrokeRecord, a3 as StrikeoutStrokePt } from './semantic-records-4B3WwFAi.js';
15
- export { a4 as AUTO_PARAGRAPH_SPACING_PT, a5 as AbstractNumDefinition, a6 as AnchoredDrawingLayoutFallback, a7 as BidiEmbeddingLevels, a8 as BorderGridGeometry, a9 as CascadedParagraphFormatting, aa as CjkTypographySettings, ab as ContentControlGeometryFragment, ac as ContentControlLevel, d as ContentControlLock, ad as ContentControlMappedType, ae as DEFAULT_RUN_STYLE, af as DEFAULT_TAB_INTERVAL_PT, ag as DEFAULT_TAB_INTERVAL_TWIPS, ah as DeclaredFontSubstitution, 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, n as FontRequest, ax as FontResolutionError, ay as FontResolutionErrorCode, az as FontResourceDefinition, aA as FontResourceInstrumentation, F as FontResourceSnapshot, aB as FontResourceSnapshotOptions, aC as FontSlot, q as FontSubstitution, aD as FontValidationResult, aE as GlyphOutline, aF as GroupTextboxStoryRecord, aG as HARD_MAX_AGGREGATE_FONT_BYTES, aH as HARD_MAX_FONT_BYTES, aI as HARD_MAX_FONT_SOURCES, H as HeaderFooterStoryRecord, aJ as LevelOverride, aK as LineSpacingRule, aL as ListMarkerAlign, p as ListMarkerPictureRecord, aM as ListMarkerRecord, aN as ListSuffix, aO as MAX_BORDER_SPACE_PT, aP as MAX_BORDER_WIDTH_PT, aQ as MAX_LVL_OVERRIDES, aR as MAX_NUMBERING_DEFINITIONS, aS as MAX_PARAGRAPH_SPACING_PT, aT as MAX_SHAPING_CONTEXT, aU as MAX_STYLE_DEFINITIONS, aV as MAX_TABLE_BORDER_STROKES, aW as MAX_TAB_POSITION_TWIPS, aX as MAX_TAB_STOPS, l as NormalizationPolicy, N as NoteAreaRecord, c as NoteStoryRecord, aY as NumDefinition, aZ as NumberingLevelIndent, a_ as NumberingPictureBullet, a$ as PAGE_BORDER_SIDES, b0 as PARAGRAPH_BORDER_SIDES, b1 as PageBorderDisplay, b2 as PageBorderOffsetFrom, b3 as PageBorderSide, b4 as PageBorderStrokeRecord, b5 as PageBorderZOrder, b6 as PageRefCalibrationCell, b7 as PageRefFieldProjection, b8 as ParagraphAutoSpacingContext, b9 as ParagraphBorderEdge, ba as ParagraphBorderSide, bb as ParagraphBorders, bc as ParagraphBottomBorderRecord, bd as ParagraphIndent, be as ParagraphLayoutInputs, bf as ParagraphLineSpacing, bg as ParagraphSpacing, bh as RefFieldSpec, bi as RefNoteParts, bj as ResolvedCellBorders, k as ResolvedFont, bk as ResolvedPictureBullet, R as ResolvedRunStyle, bl as ResolvedTabStops, bm as ResolvedTableBorderEdge, bn as ResolvedTableBorderEdgeSegment, bo as ResolvedUnderline, bp as SINGLE_LINE_SPACING, bq as ScriptItem, br as SemanticArtifactRootStoryKind, bs as SemanticArtifactStoryKind, bt as SemanticCommentArtifactRecord, bu as SemanticReviewArtifactOccurrence, bv as SemanticReviewArtifactOccurrenceGeometry, bw as SemanticReviewArtifactPosition, o as SemanticReviewArtifactRecord, bx as SemanticReviewArtifactSource, by as SemanticTrackedChangeArtifactRecord, bz as ShapeInput, bA as ShapedCluster, bB as ShapedFontSpan, bC as ShapedGlyph, bD as ShapedRunComparatorInputs, bE as ShapedVerticalMetrics, bF as ShapingContext, bG as ShapingEnvironment, bH as ShapingEnvironmentFingerprintInputs, i as ShapingEnvironmentInput, bI as StyleDefinition, bJ as TAB_LEADER_GLYPH, bK as TabAlignment, bL as TabDestination, bM as TabLeader, bN as TabStop, bO as TableBorderSideName, bP as TableBorderStrokeRecord, h as TableCellFragmentRecord, bQ as TableFragmentRecord, g as TableRowFragmentRecord, bR as TextDirection, bS as TextboxStoryFallbackReason, bT as TextboxStoryLayout, bU as UnsupportedScriptError, bV as VerticalAlign, bW as appliedSpaceBefore, bX as applyLineSpacing, bY as baselineShiftPtOf, bZ as borderExtentPt, b_ as borderWeight, b$ as bottomBorderExtentPt, c0 as boundedStructuralFontValidator, c1 as buildNumberingIndex, c2 as buildStyleCascadeTable, c3 as cascadeParagraphFormatting, c4 as cascadeRunProperties, c5 as cascadedBottomBorder, c6 as cascadedParagraphBorders, c7 as cascadedTabStops, c8 as collapsedSpaceBefore, c9 as createFontResourceSnapshot, ca as createShapedRun, cb as createShapingEnvironment, cc as defaultTabIntervalFromSettings, cd as displayText, ce as fixedPoint, cf as fontRequestKey, cg as glyphSizeFactorOf, ch as isValidStyleId, ci as itemizeScriptFontSlots, cj as layoutEquation, ck as measureDisplayText, cl as mergeListIndent, cm as nextTabDestination, cn as pageBordersFingerprint, co as paragraphBorderExtentPt, cp as paragraphBorderStrokeWidthPt, cq as paragraphBorders, cr as paragraphBordersFingerprint, cs as paragraphBreaksBefore, ct as paragraphContextualSpacing, cu as paragraphLineSpacing, cv as paragraphSpacing, cw as paragraphTabStops, cx as parsePageBorders, cy as parseRefInstruction, cz as readBorderSide, cA as readCellBorders, cB as readNumPr, cC as readTableBorders, cD as resolveBorderConflict, cE as resolveNumberingLevel, cF as resolveParagraphLayoutInputs, cG as resolveRunStyle, cH as resolveStoryListItems, cI as resolveStoryRefFields, cJ as resolveTableCellBorderGrid, cK as runStylesEqual, cL as shapedRunComparatorInputs, cM as shapingEnvironmentFingerprint, cN as shapingEnvironmentFingerprintInputs, cO as styleForFontSlot, cP as tabAdvanceWidth, cQ as tabStopsFingerprint, cR as withDefaultTabInterval, cS as withNumberingStyleLinks, cT as withResolvedListItems } from './semantic-records-4B3WwFAi.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-BEyuiQOk.js';
17
- import { a as SemanticStoryKind, S as SemanticRootStoryKind, b as SemanticStoryVisit, T as TextboxOwnerRecord } from './semantic-record-queries-CBlZqZNa.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-CBlZqZNa.js';
19
- import { ak as ImpactClass, N as OoxmlNode, X as OoxmlProperty, Z as OoxmlElement, O as OoxmlPart, W as TreeDocOp, Q as OoxmlPackage, b9 as ContentControlKind, ba as ContentControlLevel, bc as ContentControlLock, b6 as ContentControlDataBinding, a as ReviewItem } from './types-barrel-D3xCgQX6.js';
20
- export { b1 as CommentAnchor, b2 as CommentPosition, C as CommentRecord, aY as CommentThreadState, aK as DrawingAccessibility, aw as DrawingHorizontalReferenceFrame, aL as DrawingImageEffects, aM as DrawingTransform, ax as DrawingVerticalReferenceFrame, an as ImageWrapTarget, c as ReviewCommentItem, d as ReviewCustomItem, R as ReviewModelInput, e as ReviewPosition, f as ReviewRange, b as ReviewRevisionItem, g as ReviewRevisionKind, al as SourceCrop, aJ as TableBorderStyle, dB as VectorShapeComponent, aN as VectorShapeProjection, cs as W15_NAMESPACE_URI, dC as activeReviewItem, cW as firstReviewRange, ds as reviewItemKey, dD as reviewItemPositionRank, dt as reviewItemRanges, dE as reviewItemsAt, dF as reviewThreadRootOf } from './types-barrel-D3xCgQX6.js';
21
- import { D as DocumentProperties, H as HeadlessDocumentView, r as relationshipTargetIn } from './headless-document-view-qH331moE.js';
22
- import { o as RevisionAttribution, b as RevisionDisplayMode, c as RevisionAuthorFilter } from './revision-projection-DZ4kKVev.js';
23
- export { p as DEFAULT_REVISION_DISPLAY_MODE, q as RevisionFilter, s as RevisionKind, t as formatRevisionOf, u as markRevisionRemovesMark, v as paragraphMarkFormatRevisionOf, w as paragraphMarkRevisionOf, x as paragraphMarkRevisionsOf, y as revisionAuthorFilter, z as revisionsAreDeletion, A as revisionsVisible, B as shownMarkRevision } from './revision-projection-DZ4kKVev.js';
24
- import { b as ResolvedFootnoteProperties, R as ResolvedEndnoteProperties } from './note-properties-4Y9o6Gyk.js';
25
- import { e as TreeModelChange, N as NoteKind, aA as noteTypeOf, k as FieldResultsMode } from './tree-package-fragment-BeeKxDw8.js';
26
- import { P as PageGeometry, a as SectionColumns } from './semantic-cell-selection-D9D1KSXq.js';
27
- export { C as CellSelection, D as DEFAULT_PAGE_GEOMETRY, b as DEFAULT_SECTION_PROPERTIES, c as DEFAULT_VERTICAL_WEIGHT, d as DocumentSection, e as DocumentSectionsEnumeration, f as DrawingOverlayFrame, H as HitPoint, g as HitTestOptions, M as MAX_DOCUMENT_SECTIONS, h as PlacedCell, i as SectionBreakType, j as SectionColumnDefinition, k as SectionMargins, l as SectionPageNumbering, S as SectionProperties, m as SemanticHit, n as SemanticHitDrawing, T as TableCellAddress, o as TableCellContext, p as caretBoxOnLine, q as cellSelectionBetween, r as cellSelectionRects, s as cellSelectionText, t as contentControlAtPoint, u as enumerateDocumentSections, v as enumerateDocumentSectionsBounded, w as findDrawingOverlayFrameInLayout, x as geometryOfSection, y as hitTestPage, z as hitTestSheet, A as isFurniturePoint, B as lineEndOffset, E as pageAtY, F as paragraphSectionNode, G as paragraphsInCells, I as parsePageNumbering, J as parseSectionProperties, K as projectedSectionSourceIndexes, L as readSectionProperties, N as spanOffsetX, O as spansInCells, Q as tableContextAt } from './semantic-cell-selection-D9D1KSXq.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-DT-n6ouC.js';
29
- import { S as SemanticPosition, b as SelectionRect, a as SemanticSelection, C as CaretGeometry } from './semantic-interaction-CIC-PooQ.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-CIC-PooQ.js';
31
- import './image-resources-BN-hUgCn.js';
32
- import './omml-equation-CuzBL5DD.js';
33
- import './editor-scope-OHPwVQ5l.js';
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';
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';
34
32
 
35
33
  /**
36
34
  * The result of counting ONE list paragraph: the level that applied, the counter vector after it,
@@ -1045,6 +1043,8 @@ interface SemanticTableCell {
1045
1043
  readonly gridColumnId?: string;
1046
1044
  /** A vMerge cell that is not the restart continues the cell above: box, no content. */
1047
1045
  readonly vMergeContinue: boolean;
1046
+ /** This cell starts a vertical merge that the next row continues. */
1047
+ readonly headsVerticalMerge?: true;
1048
1048
  /** `w:hideMark` excludes the end-of-cell glyph from row sizing. */
1049
1049
  readonly hideEndMark?: boolean;
1050
1050
  /** `w:vAlign` — defaults to top when omitted/unrecognised. */
@@ -1321,28 +1321,6 @@ declare function contentControlAtSemantic(layout: SemanticLayout, point: {
1321
1321
  readonly pageIndex?: number;
1322
1322
  }): ContentControlBoundaryRecord$1 | null;
1323
1323
 
1324
- /**
1325
- * Rewrite private-use symbol-font codepoints to their Unicode equivalents.
1326
- *
1327
- * Applies only to a known symbol-encoded family, only to the U+F020–U+F0FF range, and only
1328
- * to codepoints with an exact Unicode counterpart — anything else is returned untouched, so
1329
- * an unrecognised glyph is never replaced by a wrong one. Returns the input string by
1330
- * identity when nothing changes.
1331
- *
1332
- * `isFamilyAvailable` is the escape hatch: a host that KNOWS the authored font is present
1333
- * should return true, and the file's own codepoint is kept so the real typeface draws it.
1334
- * Absent, the fallback applies, because an unmapped PUA codepoint renders as a tofu box in
1335
- * every font that is not the symbol-encoded original.
1336
- *
1337
- * Called without the oracle it is also the EXTRACTION answer: the text a symbol glyph should
1338
- * read as when the drawn glyph stays the authored one. A PDF exporter maps the drawn private
1339
- * codepoint back through this for its `ToUnicode` table, so copying a Word bullet out of the
1340
- * page yields a bullet rather than a private-use character.
1341
- *
1342
- * @public
1343
- */
1344
- declare function mapSymbolPuaText(text: string, fontFamily: string | null | undefined, isFamilyAvailable?: (family: string) => boolean): string;
1345
-
1346
1324
  /** Convert signed font units by an exact rational multiplier using the declared tie rule. */
1347
1325
  declare const roundFontUnitToFixedPoint: (fontUnits: number, denominator: number, numerator: number, mode: FixedPointRoundingMode) => FixedPoint;
1348
1326
 
@@ -1458,6 +1436,28 @@ declare const harfBuzzFontValidator: FontByteValidator;
1458
1436
  */
1459
1437
  declare const createHarfBuzzTextShaper: (options?: HarfBuzzTextShaperOptions) => HarfBuzzTextShaper;
1460
1438
 
1439
+ /**
1440
+ * Rewrite private-use symbol-font codepoints to their Unicode equivalents.
1441
+ *
1442
+ * Applies only to a known symbol-encoded family, only to the U+F020–U+F0FF range, and only
1443
+ * to codepoints with an exact Unicode counterpart — anything else is returned untouched, so
1444
+ * an unrecognised glyph is never replaced by a wrong one. Returns the input string by
1445
+ * identity when nothing changes.
1446
+ *
1447
+ * `isFamilyAvailable` is the escape hatch: a host that KNOWS the authored font is present
1448
+ * should return true, and the file's own codepoint is kept so the real typeface draws it.
1449
+ * Absent, the fallback applies, because an unmapped PUA codepoint renders as a tofu box in
1450
+ * every font that is not the symbol-encoded original.
1451
+ *
1452
+ * Called without the oracle it is also the EXTRACTION answer: the text a symbol glyph should
1453
+ * read as when the drawn glyph stays the authored one. A PDF exporter maps the drawn private
1454
+ * codepoint back through this for its `ToUnicode` table, so copying a Word bullet out of the
1455
+ * page yields a bullet rather than a private-use character.
1456
+ *
1457
+ * @public
1458
+ */
1459
+ declare function mapSymbolPuaText(text: string, fontFamily: string | null | undefined, isFamilyAvailable?: (family: string) => boolean): string;
1460
+
1461
1461
  /**
1462
1462
  * Point the text shaper at an externally hosted copy of `harfbuzz.wasm`.
1463
1463
  *
package/dist/layout.js CHANGED
@@ -1 +1 @@
1
- export{N as DEFAULT_CANVAS_FONT_STACK,b as HARFBUZZ_SHAPING_LIBRARY,e as HarfBuzzShapingError,i as LayoutShapingConfigurationError,I as ResolvedCache,x as WORD_SEGMENTER_LOCALE,W as anchorLineY,A as boundedFallbackWordSegments,G as captureOperationSnapshot,da as cellSelectionBetween,ha as cellSelectionRects,ia as cellSelectionText,V as contentControlBoundaries,B as createBoundedFallbackWordBoundary,C as createDefaultWordBoundary,g as createHarfBuzzTextShaper,z as createIntlWordBoundary,ca as createLayoutScheduler,aa as createLayoutShapedMeasurer,p as createLayoutShaping,$ as createShapedMeasurer,r as disposeLayoutShaping,J as exportSourceRangeOf,K as forEachSemanticSpan,H as guardOperationSnapshot,f as harfBuzzFontValidator,c as initializeHarfBuzz,P as isCanvasMeasurementAvailable,v as isCumulativeGeometryTrustedFromLineOrigin,u as isGeometryTrustedCaretOffset,d as isHarfBuzzInitialized,y as isIntlWordSegmenterAvailable,t as isWholeGraphemeHorizontalBoundary,o as layoutFontConfigurationFingerprint,S as pageRefPageNumbersFromLayout,ba as pagesToMaterialize,fa as paragraphsInCells,T as planRefFieldResultRefresh,m as prepareLayoutFontConfiguration,R as resolveDefaultSurfaceMeasurer,D as resolveDefaultWordBoundary,X as reviewAnchorIndex,Y as reviewItemGeometry,a as roundFontUnitToFixedPoint,E as segmentWords,w as semanticHorizontalBoundaries,s as shapedHorizontalBoundaries,ga as spansInCells,ma as tabLeaderPattern,ja as tableContextAt,Q as tryCreateCanvasMeasurer,L as vectorShapeInkClip,F as wordSegmentsToGraphemeRecords}from'./chunk-2RC2EPND.js';export{a as setHarfBuzzWasmUrl}from'./chunk-RIYSCEFQ.js';export{L as AUTO_PARAGRAPH_SPACING_PT,Od as AUTO_PREFERRED_WIDTH,Pd as CELL_PAD,F as COMPOUND_BORDER_MIN_GAP_PT,E as COMPOUND_BORDER_MIN_STROKE_PT,Qd as DEFAULT_CELL_MARGINS,va as DEFAULT_PAGE_GEOMETRY,Za as DEFAULT_REVISION_DISPLAY_MODE,$ as DEFAULT_RUN_STYLE,Ic as DEFAULT_SECTION_PROPERTIES,tb as DEFAULT_TAB_INTERVAL_PT,sb as DEFAULT_TAB_INTERVAL_TWIPS,Wd as DEFAULT_VERTICAL_WEIGHT,nc as EMPTY_NUMBERING_INDEX,vb as EMPTY_TAB_STOPS,d as FontResolutionError,ia as GRAPHEME_SEGMENTER_LOCALE,c as HARD_MAX_AGGREGATE_FONT_BYTES,a as HARD_MAX_FONT_BYTES,b as HARD_MAX_FONT_SOURCES,K as MAX_BORDER_SPACE_PT,J as MAX_BORDER_WIDTH_PT,Hc as MAX_DOCUMENT_SECTIONS,yf as MAX_EACH_PAGE_MARK_CANDIDATES,kc as MAX_LVL_OVERRIDES,Lb as MAX_LVL_TEXT_LENGTH,Kb as MAX_MARKER_TEXT_LENGTH,kf as MAX_NOTES_LAID_OUT,lf as MAX_NOTE_FRAGMENTS,xf as MAX_NOTE_OVERFLOW_PAGES,wf as MAX_NOTE_REFLOW_ATTEMPTS,jc as MAX_NUMBERING_DEFINITIONS,I as MAX_PARAGRAPH_SPACING_PT,o as MAX_SHAPING_CONTEXT,Ib as MAX_STYLE_BASED_ON_DEPTH,gd as MAX_STYLE_DEFINITIONS,Gd as MAX_TABLE_BORDER_STROKES,Sd as MAX_TABLE_NESTING,Te as MAX_TABLE_ROW_FRAGMENTS,Td as MAX_TABLE_ROW_HEIGHT_PT,rb as MAX_TAB_POSITION_TWIPS,qb as MAX_TAB_STOPS,Dc as PAGE_BORDER_SIDES,N as PARAGRAPH_BORDER_SIDES,M as SINGLE_LINE_SPACING,ub as TAB_LEADER_GLYPH,Ue as TablePaginationError,sa as UnsupportedScriptError,_ as appliedSpaceBefore,R as applyLineSpacing,Df as attachNotesToLayout,ea as baselineShiftPtOf,Nd as borderExtentPt,Kd as borderWeight,X as bottomBorderExtentPt,l as boundedStructuralFontValidator,lc as buildNumberingIndex,Af as buildPageRefIndex,hd as buildStyleCascadeTable,ne as caretAt,ee as caretBoxOnLine,le as caretStops,me as caretStopsForBlocks,id as cascadeParagraphFormatting,ld as cascadeRunProperties,kd as cascadedBottomBorder,U as cascadedParagraphBorders,wb as cascadedTabStops,Mb as clampListValue,Z as collapsedSpaceBefore,se as compositionAnchor,G as computeDoubleBorderMetricsPt,Cf as computeFootnoteReserves,be as contentControlAtPoint,ke as contentControlAtSemantic,df as contentControlHoldingParagraph,cf as contentControlRecordsInPart,oe as contentControlsInLayout,Ia as contentControlsOfLayout,Ye as createDocumentFurnitureSource,$e as createDocumentLinkProjectors,Ze as createDocumentNotesInput,Ke as createDocumentStyleDependencies,af as createFieldLinkRegistry,ha as createFixedMeasurer,m as createFontResourceSnapshot,Gf as createLayoutSession,oc as createListCounterState,Ge as createParagraphLayoutCache,s as createShapedRun,p as createShapingEnvironment,rf as defaultNoteSeparatorRuleStyle,zb as defaultTabIntervalFromSettings,qe as deletedTextBoundaries,Ac as deriveNoteDisplayMarks,Bc as deriveNoteDisplayMarksResolved,ba as displayText,Ra as documentOrder,_e as documentRelationshipTargetIn,Fd as effectiveBorderSide,Ka as effectiveContentControlLock,mb as emptyTocPlaceholderParagraphIds,nb as emptyTocSuppressedResultParagraphIds,Oc as enumerateDocumentSections,Qc as enumerateDocumentSectionsBounded,Sa as everyStoryOrder,Ub as expandLvlText,Bf as filterRefsOnPage,fe as findDrawingOverlayFrameInLayout,of as findSeparatorNote,n as fixedPoint,h as fontRequestKey,Ea as forEachSemanticDrawing,Ca as forEachSemanticStory,Fa as forEachStoryParagraphFragment,Nb as formatDecimal,Ob as formatDecimalZero,Sb as formatLowerLetter,Qb as formatLowerRoman,Tb as formatNumFmt,ec as formatPageNumber,hb as formatRevisionOf,Rb as formatUpperLetter,Pb as formatUpperRoman,zf as fragmentOwnsAtomOffset,Ga as fragmentsOfParagraph,Rc as geometryOfSection,fa as glyphSizeFactorOf,la as graphemeBoundaryEpoch,pa as graphemeCount,ra as graphemeOffsetToUtf16,_d as hitTestPage,je as hitTestSemantic,ae as hitTestSheet,ka as intlGraphemeBoundary,Yd as isFurniturePoint,ja as isIntlSegmenterAvailable,sf as isMarkerOnlySeparatorNote,Gb as isValidStyleId,ta as itemizeScriptFontSlots,we as keyedRangeRects,ad as layoutEquation,Xe as layoutHeaderFooterStory,qf as layoutNoteById,tf as layoutNoteSeparator,pf as layoutNoteStory,Hf as layoutSemanticDocument,Ha as lineAtPosition,ce as lineEndOffset,La as lineSegments,za as linesOf,tc as listMarkerBox,fb as markRevisionRemovesMark,ca as measureDisplayText,xc as mergeListIndent,re as moveCaret,Ab as nextTabDestination,nf as normalNotesOf,Cc as noteDisplayMarkMap,mf as noteLineIdPrefix,Zc as noteMarkKey,vf as noteSeparatorAreaBox,jf as noteSeparatorRuleBox,rd as noteStoryBlocks,Xd as pageAtY,if as pageBorderFrame,Fc as pageBordersFingerprint,W as paragraphBorderExtentPt,V as paragraphBorderStrokeWidthPt,T as paragraphBorders,Y as paragraphBordersFingerprint,H as paragraphBreaksBefore,S as paragraphContextualSpacing,xa as paragraphFragmentsOf,ya as paragraphFragmentsOfBlocks,Fe as paragraphLayoutKey,Q as paragraphLineSpacing,pc as paragraphMarkDeleted,db as paragraphMarkFormatRevisionOf,gb as paragraphMarkRevisionOf,cb as paragraphMarkRevisionsOf,Mc as paragraphSectionNode,A as paragraphShading,B as paragraphShadingBox,P as paragraphSpacing,xb as paragraphTabStops,pe as paragraphTextFromLayout,cc as parseAutonumInstruction,Ec as parsePageBorders,Jc as parsePageNumbering,bc as parseRefInstruction,Kc as parseSectionProperties,wd as positionPastDeletion,_c as projectedNoteMarkText,Pc as projectedSectionSourceIndexes,Ef as provisionalNoteMarks,Hd as readBorderSide,Jd as readCellBorders,vc as readNumPr,Nc as readSectionProperties,Id as readTableBorders,Ud as readTableStructure,oa as resetGraphemeBoundary,Ld as resolveBorderConflict,mc as resolveNumberingLevel,y as resolveOoxmlShadingFill,md as resolveParagraphLayoutInputs,aa as resolveRunStyle,yc as resolveStoryListItems,Uc as resolveStoryRefFields,x as resolveStrictHexFill,Md as resolveTableCellBorderGrid,ab as revisionAuthorFilter,rc as revisionRemovesParagraph,ib as revisionsAreDeletion,bb as revisionsVisible,Fb as runBorderStrokesForLine,da as runStylesEqual,ma as segmentGraphemes,ue as selectionRects,na as setGraphemeBoundary,z as shadingFillFromElement,t as shapedRunComparatorInputs,r as shapingEnvironmentFingerprint,q as shapingEnvironmentFingerprintInputs,eb as shownMarkRevision,de as spanOffsetX,te as spansInSelection,qd as storyBlocks,ua as styleForFontSlot,uf as syntheticSeparatorBox,Bb as tabAdvanceWidth,Cb as tabStopsFingerprint,Rd as tableOriginX,lb as tocFieldChromeParagraphIds,Ja as unionLayoutBoxes,qa as utf16OffsetToGrapheme,dc as walkStoryParagraphs,yb as withDefaultTabInterval,wc as withNumberingStyleLinks,zc as withResolvedListItems,he as wordBoundary}from'./chunk-FRXAOVTB.js';import'./chunk-TSLBZ26X.js';import'./chunk-J6BVWIDB.js';export{Tc as MAX_SDT_NESTING,$i as MAX_TABLE_COLUMNS,Yh as W15_NAMESPACE_URI,Cj as activeReviewItem,Yc as collectFlowBlocks,Lj as commentBodyText,Nj as commentInitials,Xc as contentControlContentChildren,zj as firstReviewRange,Uc as isContentControl,Vc as isContentControlContent,d as mapSymbolPuaText,kj as paragraphOrderOfPart,xj as reviewItemKey,Aj as reviewItemPositionRank,yj as reviewItemRanges,Bj as reviewItemsAt,Dj as reviewThreadRootOf,f as sha256FontBytes}from'./chunk-4R3TEXMN.js';
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,4 +1,4 @@
1
- import { O as OoxmlPart, N as OoxmlNode, Q as OoxmlPackage } from './types-barrel-D3xCgQX6.js';
1
+ import { O as OoxmlPart, N as OoxmlNode, Q as OoxmlPackage } from './types-barrel-CA0xB8kH.js';
2
2
 
3
3
  /** `w:pos` — where a section's footnotes are laid out. */
4
4
  type FootnotePosition = 'pageBottom' | 'beneathText' | 'sectEnd' | 'docEnd';
@@ -64,5 +64,5 @@ declare function isLegalFootnotePosition(pos: string): pos is FootnotePosition;
64
64
  /** Whether a file-supplied string is a legal `w:numRestart` value. Narrows the type. */
65
65
  declare function isLegalNumRestart(value: string): value is NoteNumRestart;
66
66
 
67
- export { DEFAULT_ENDNOTE_PROPERTIES as D, DEFAULT_FOOTNOTE_PROPERTIES as a, authoredDocumentEndnoteProperties as c, authoredDocumentFootnoteProperties as d, authoredEndnotePropertiesFromSectPr as e, authoredFootnotePropertiesFromSectPr as f, isLegalFootnotePosition as g, isLegalNumRestart as h, isLegalEndnotePosition as i, resolveFootnoteProperties as j, parseAuthoredNoteProperties as p, resolveEndnoteProperties as r, settingsPartOf as s };
68
- export type { AuthoredNoteProperties as A, EndnotePosition as E, FootnotePosition as F, NoteNumRestart as N, ResolvedEndnoteProperties as R, ResolvedFootnoteProperties as b };
67
+ export { DEFAULT_ENDNOTE_PROPERTIES as D, DEFAULT_FOOTNOTE_PROPERTIES as b, authoredDocumentEndnoteProperties as c, authoredDocumentFootnoteProperties as d, authoredEndnotePropertiesFromSectPr as e, authoredFootnotePropertiesFromSectPr as f, isLegalFootnotePosition as g, isLegalNumRestart as h, isLegalEndnotePosition as i, resolveFootnoteProperties as j, parseAuthoredNoteProperties as p, resolveEndnoteProperties as r, settingsPartOf as s };
68
+ export type { AuthoredNoteProperties as A, EndnotePosition as E, FootnotePosition as F, NoteNumRestart as N, ResolvedFootnoteProperties as R, ResolvedEndnoteProperties as a };
@@ -1,4 +1,4 @@
1
- import { U as OoxmlNodeId, V as OoxmlGenericElementNode, N as OoxmlNode } from './types-barrel-D3xCgQX6.js';
1
+ import { U as OoxmlNodeId, V as OoxmlGenericElementNode, N as OoxmlNode } from './types-barrel-CA0xB8kH.js';
2
2
 
3
3
  /** Office Math Markup Language namespace. */
4
4
  declare const OFFICE_MATH_NAMESPACE_URI = "http://schemas.openxmlformats.org/officeDocument/2006/math";
@@ -19,6 +19,18 @@ type EquationExpression = {
19
19
  } | {
20
20
  readonly kind: 'text';
21
21
  readonly value: string;
22
+ readonly format?: {
23
+ readonly fontFamily?: string;
24
+ readonly bold?: boolean;
25
+ readonly italic?: boolean;
26
+ readonly literal?: boolean;
27
+ readonly normalText?: boolean;
28
+ readonly mathStyle?: 'p' | 'b' | 'i' | 'bi';
29
+ };
30
+ } | {
31
+ readonly kind: 'bar';
32
+ readonly body: EquationExpression;
33
+ readonly position: 'top' | 'bottom';
22
34
  } | {
23
35
  readonly kind: 'fraction';
24
36
  readonly numerator: EquationExpression;
package/dist/output.cjs CHANGED
@@ -1 +1 @@
1
- 'use strict';var chunkEO4C5QJW_cjs=require('./chunk-EO4C5QJW.cjs');require('./chunk-6APGXLBB.cjs'),require('./chunk-4GBTELJV.cjs'),require('./chunk-O2AL2HSJ.cjs'),require('./chunk-JGNVNT2A.cjs'),require('./chunk-FIJZIQXA.cjs');Object.defineProperty(exports,"DEFAULT_FIELD_SHADING",{enumerable:true,get:function(){return chunkEO4C5QJW_cjs.k}});Object.defineProperty(exports,"collectPageChangeBars",{enumerable:true,get:function(){return chunkEO4C5QJW_cjs.f}});Object.defineProperty(exports,"paintSelectionOverlay",{enumerable:true,get:function(){return chunkEO4C5QJW_cjs.p}});Object.defineProperty(exports,"paintSemanticLayout",{enumerable:true,get:function(){return chunkEO4C5QJW_cjs.n}});
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}});
package/dist/output.d.ts CHANGED
@@ -8,15 +8,14 @@
8
8
  * @packageDocumentation
9
9
  * @public
10
10
  */
11
- import { R as ReviewAuthorInfo } from './semantic-paint-BME37OMv.js';
12
- export { 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-BME37OMv.js';
13
- import { S as SemanticLayout } from './semantic-records-4B3WwFAi.js';
14
- import './revision-projection-DZ4kKVev.js';
15
- import './types-barrel-D3xCgQX6.js';
16
- import './editor-scope-OHPwVQ5l.js';
17
- import './semantic-record-queries-CBlZqZNa.js';
18
- import './image-resources-BN-hUgCn.js';
19
- import './omml-equation-CuzBL5DD.js';
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';
20
19
 
21
20
  /** A rectangle in page-content coordinates, on a named page. */
22
21
  interface OverlayRect {
package/dist/output.js CHANGED
@@ -1 +1 @@
1
- export{k as DEFAULT_FIELD_SHADING,f as collectPageChangeBars,p as paintSelectionOverlay,n as paintSemanticLayout}from'./chunk-KKIJG3C6.js';import'./chunk-2RC2EPND.js';import'./chunk-RIYSCEFQ.js';import'./chunk-FRXAOVTB.js';import'./chunk-TSLBZ26X.js';import'./chunk-J6BVWIDB.js';import'./chunk-4R3TEXMN.js';
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,5 +1,5 @@
1
- import { a9 as AutomationTableMutation, a6 as RevisionBatchResult, a3 as RevisionAuthorResult } from './types-barrel-D3xCgQX6.js';
2
- import { c as HeaderFooterVariant, N as NoteKind } from './tree-package-fragment-BeeKxDw8.js';
1
+ import { aw as AutomationTableMutation, a9 as RevisionBatchResult, a8 as RevisionAuthorResult } from './types-barrel-CA0xB8kH.js';
2
+ import { c as HeaderFooterVariant, N as NoteKind } from './tree-package-store-DKhdEVym.js';
3
3
 
4
4
  /** Word's shape types, as `Word.ShapeType` spells them. */
5
5
  type AutomationShapeType = 'TextBox' | 'GeometricShape' | 'Picture' | 'Group' | 'Canvas' | 'Unsupported';
@@ -1,4 +1,4 @@
1
- import { N as OoxmlNode, Z as OoxmlElement, _ as OoxmlContentControlNode, V as OoxmlGenericElementNode, $ as OoxmlContentControlContentNode, C as CommentRecord, O as OoxmlPart } from './types-barrel-D3xCgQX6.js';
1
+ import { N as OoxmlNode, ah as OoxmlElement, ai as OoxmlContentControlNode, V as OoxmlGenericElementNode, aj as OoxmlContentControlContentNode, C as CommentRecord, O as OoxmlPart } from './types-barrel-CA0xB8kH.js';
2
2
 
3
3
  /** Nested content-control wrappers deeper than this stop flattening; content stays preserved. */
4
4
  declare const MAX_CONTENT_CONTROL_NESTING = 32;
@@ -1,212 +1,5 @@
1
- import { O as OoxmlPart, Z as OoxmlElement, N as OoxmlNode } from './types-barrel-D3xCgQX6.js';
2
- import { b as RevisionDisplayMode, c as RevisionAuthorFilter } from './revision-projection-DZ4kKVev.js';
3
- import { f as SectionPageBorders, I as InlineDrawingRecord, A as AnchoredDrawingRecord, T as TextMeasurer, L as LineRecord, e as StyleSpanRecord, S as SemanticLayout, C as ContentControlBoundaryRecord, g as TableRowFragmentRecord, h as TableCellFragmentRecord } from './semantic-records-4B3WwFAi.js';
4
- import { S as SemanticPosition, C as CaretGeometry, a as SemanticSelection } from './semantic-interaction-CIC-PooQ.js';
5
-
6
- /** Page geometry, in points. */
7
- interface PageGeometry {
8
- readonly width: number;
9
- readonly height: number;
10
- readonly margin: {
11
- readonly top: number;
12
- readonly right: number;
13
- readonly bottom: number;
14
- readonly left: number;
15
- };
16
- /** `w:pgMar/@header` — sheet edge to header top, in points. Defaults to 36 (720 twips). */
17
- readonly headerDistance?: number;
18
- /** `w:pgMar/@footer` — sheet edge to footer bottom, in points. Defaults to 36. */
19
- readonly footerDistance?: number;
20
- }
21
- /** US Letter with one-inch margins, in points. */
22
- declare const DEFAULT_PAGE_GEOMETRY: PageGeometry;
23
-
24
- /**
25
- * Hard ceiling on sections enumerated from a document (matches write-path
26
- * `MAX_SECTIONS` in note/hf lifecycle). Hostile packages with unbounded `w:sectPr`
27
- * marks fail closed here rather than amplifying layout props arrays.
28
- */
29
- declare const MAX_DOCUMENT_SECTIONS = 4096;
30
- /** A section's margins in twips, including the header and footer reserve bands. */
31
- interface SectionMargins {
32
- readonly topTwips: number;
33
- readonly rightTwips: number;
34
- readonly bottomTwips: number;
35
- readonly leftTwips: number;
36
- readonly headerTwips: number;
37
- readonly footerTwips: number;
38
- readonly gutterTwips: number;
39
- }
40
- /** One explicit `w:col`: its width and the gap after it. */
41
- interface SectionColumnDefinition {
42
- readonly widthTwips: number;
43
- /** Space after this column; zero on the final column. */
44
- readonly gapTwips: number;
45
- }
46
- /**
47
- * A section's column layout.
48
- *
49
- * Equal-width and explicit-width columns are one type because a file may declare `w:num` with no
50
- * `w:col` children at all, and layout must handle both without branching at every use site.
51
- */
52
- interface SectionColumns {
53
- readonly count: number;
54
- /** Shared gap for equal-width columns and fallback gap for incomplete explicit definitions. */
55
- readonly gapTwips: number;
56
- readonly equalWidth?: boolean;
57
- readonly separator?: boolean;
58
- /** Authored `w:col` geometry when `equalWidth` is false. */
59
- readonly definitions?: readonly SectionColumnDefinition[];
60
- }
61
- /**
62
- * How this section is placed relative to the previous one (ECMA-376 17.6.22,
63
- * `ST_SectionMark`).
64
- *
65
- * All five schema values are read. `nextColumn` paginates like `nextPage` for now: in a
66
- * single-column section that IS Word's behaviour, and multi-column flow is not modelled,
67
- * so collapsing it at the parse boundary would only hide the authored value from a
68
- * consumer that asks.
69
- */
70
- type SectionBreakType = 'nextPage' | 'continuous' | 'evenPage' | 'oddPage' | 'nextColumn';
71
- /**
72
- * Authored `w:pgNumType` (ECMA-376 CT_PageNumber).
73
- *
74
- * Distinguishes three states via {@link SectionProperties.pageNumbering}:
75
- * - element absent → `undefined` (Word defaults; no empty element to re-emit)
76
- * - empty `<w:pgNumType/>` → `{}` (present, no authored attrs; must round-trip empty)
77
- * - attributes set → only those keys appear (never invent schema defaults like `fmt=decimal`)
78
- *
79
- * `chapStyle` / `chapSep` are preserved for consumers; PAGE projection does not yet compose
80
- * chapter numbers (heading outline resolution is out of this slice).
81
- */
82
- interface SectionPageNumbering {
83
- /** Authored `@w:start` when present and in range; otherwise omitted. */
84
- readonly start?: number;
85
- /** Authored `@w:fmt` (ST_NumberFormat) when present; otherwise omitted. */
86
- readonly fmt?: string;
87
- /** Authored `@w:chapStyle` outline level when present and in range. */
88
- readonly chapStyle?: number;
89
- /** Authored `@w:chapSep` when present (hyphen / period / colon / emDash / enDash). */
90
- readonly chapSep?: string;
91
- }
92
- /**
93
- * One section's resolved `w:sectPr`, as layout needs it.
94
- *
95
- * Resolved, not raw: defaults the file omitted are filled in here (an absent `w:type` is
96
- * `nextPage`), so layout never has to know which attributes were authored and which were
97
- * inherited.
98
- */
99
- interface SectionProperties {
100
- /** Active document grid line pitch: line-unit paragraph margins and line snapping. */
101
- readonly gridLinePitchTwips?: number;
102
- readonly pageSize: {
103
- readonly widthTwips: number;
104
- readonly heightTwips: number;
105
- };
106
- readonly margins: SectionMargins;
107
- readonly columns: SectionColumns;
108
- readonly landscape: boolean;
109
- readonly titlePage: boolean;
110
- /** Absent `w:type` defaults to `nextPage`. */
111
- readonly breakType: SectionBreakType;
112
- /**
113
- * Authored page-number type. Absent when `w:pgNumType` is missing; empty object when the
114
- * element is present with no attributes (comprehensive-fixture shape).
115
- */
116
- readonly pageNumbering?: SectionPageNumbering;
117
- /**
118
- * Resolved `w:pgBorders` (§17.6.10). Absent when the section declares none, or when every
119
- * edge it declares is off or an art border — see {@link parsePageBorders}.
120
- */
121
- readonly pageBorders?: SectionPageBorders;
122
- }
123
- /**
124
- * One section of the body story: contiguous top-level blocks plus the properties that end it.
125
- *
126
- * `blockStart` / `blockEndExclusive` index into `storyBlocks(part)`.
127
- */
128
- interface DocumentSection {
129
- readonly index: number;
130
- readonly properties: SectionProperties;
131
- readonly blockStart: number;
132
- readonly blockEndExclusive: number;
133
- }
134
- /** US Letter, portrait, one-inch margins: Word's own default when a section says nothing. */
135
- declare const DEFAULT_SECTION_PROPERTIES: SectionProperties;
136
- /**
137
- * Parse authored `w:pgNumType` without inventing schema defaults.
138
- *
139
- * Returns `undefined` when the element is absent. An empty element yields `{}` so callers
140
- * can tell "present but unauthored" from "missing" and serialization can re-emit empty.
141
- * Hostile / out-of-range attribute values are dropped rather than clamped into meaning.
142
- */
143
- declare function parsePageNumbering(sectPr: OoxmlNode): SectionPageNumbering | undefined;
144
- /** Parse one `w:sectPr` into geometry/break properties (null reads as Word's defaults). */
145
- declare function parseSectionProperties(sectPr: OoxmlNode | null | undefined): SectionProperties;
146
- /** `w:sectPr` nested under a paragraph's `w:pPr`, if present. */
147
- declare function paragraphSectionNode(paragraph: OoxmlElement): OoxmlElement | undefined;
148
- /**
149
- * The section properties a part declares, or Word's defaults where it says nothing.
150
- *
151
- * Returns the FINAL section (body-level `w:sectPr`, else the last paragraph-level one).
152
- * Multi-section geometry belongs to `enumerateDocumentSections`; chrome that needs "the
153
- * document's page" still reads the last section, which is what Word's body-level sectPr is.
154
- */
155
- declare function readSectionProperties(part: OoxmlPart): SectionProperties;
156
- /**
157
- * Split the body story into sections.
158
- *
159
- * A paragraph carrying `w:pPr/w:sectPr` ends the current section (that paragraph is IN the
160
- * section being ended). The body-level `w:sectPr` ends the final section. A document with
161
- * neither yields one section of Word defaults covering every block.
162
- *
163
- * Enumeration is capped at {@link MAX_DOCUMENT_SECTIONS}. Further paragraph-level section
164
- * breaks are ignored and remaining blocks fold into the last accepted section (fail closed).
165
- *
166
- * `displayMode` MUST match the one the caller passes to `storyBlocks`. `blockStart` /
167
- * `blockEndExclusive` are indices into that list, and the list changes shape with the mode:
168
- * the proposed view drops a paragraph whose mark and content a revision both removed. Slicing
169
- * a filtered list with indices counted over an unfiltered one puts body text under another
170
- * section's page geometry — the wrong paper size, the wrong margins, the wrong header.
171
- */
172
- declare function enumerateDocumentSections(part: OoxmlPart, displayMode?: RevisionDisplayMode, authorFilter?: RevisionAuthorFilter): DocumentSection[];
173
- /**
174
- * Canonical section index behind each section in a revision-projected body.
175
- *
176
- * A removed paragraph mark can collapse an entire section. The projected section keeps the
177
- * surviving paragraph's geometry, while package APIs such as header/footer resolution remain
178
- * indexed over the canonical tree. This bridge prevents those two index spaces from being
179
- * paired positionally.
180
- */
181
- declare function projectedSectionSourceIndexes(part: OoxmlPart, displayMode?: RevisionDisplayMode, authorFilter?: RevisionAuthorFilter): readonly number[];
182
- /**
183
- * Every section in a document, with a flag saying whether the list was cut short.
184
- *
185
- * `truncated` is reported rather than silent: section count comes from a file, so a crafted
186
- * document declaring thousands of paragraph-level `w:sectPr` marks is bounded, and a reader
187
- * should be able to tell that happened.
188
- */
189
- interface DocumentSectionsEnumeration {
190
- readonly sections: DocumentSection[];
191
- /** True when paragraph-level sectPr marks beyond {@link MAX_DOCUMENT_SECTIONS} were dropped. */
192
- readonly truncated: boolean;
193
- }
194
- /**
195
- * Like {@link enumerateDocumentSections}, but reports whether the section bound clipped
196
- * hostile input. Prefer the plain enumerator for normal layout; use this when a caller
197
- * needs a named fail-closed diagnostic.
198
- */
199
- declare function enumerateDocumentSectionsBounded(part: OoxmlPart, displayMode?: RevisionDisplayMode, authorFilter?: RevisionAuthorFilter): DocumentSectionsEnumeration;
200
- /**
201
- * Section properties as the geometry layout paginates against.
202
- *
203
- * The gutter is added to the LEFT margin: it is binding allowance, extra space on the inner
204
- * edge, and folding it into the content width instead would silently narrow every line.
205
- *
206
- * Top and bottom keep the authored sign of `w:pgMar`: a negative value is an exact inset that
207
- * header and footer height never moves. Read them through `page-body-margins.ts`.
208
- */
209
- declare function geometryOfSection(section: SectionProperties): PageGeometry;
1
+ import { S as SemanticPosition, C as CaretGeometry, a as SemanticSelection } from './semantic-interaction-Dc3pf3hr.js';
2
+ import { I as InlineDrawingRecord, A as AnchoredDrawingRecord, T as TextMeasurer, L as LineRecord, g as StyleSpanRecord, S as SemanticLayout, C as ContentControlBoundaryRecord, h as TableRowFragmentRecord, i as TableCellFragmentRecord } from './semantic-records-CjcF26ZL.js';
210
3
 
211
4
  /** A point in the coordinate space named by the function taking it. */
212
5
  interface HitPoint {
@@ -460,5 +253,5 @@ interface TableCellContext {
460
253
  */
461
254
  declare function tableContextAt(layout: SemanticLayout, paragraphId: string): TableCellContext | null;
462
255
 
463
- export { isFurniturePoint as A, lineEndOffset as B, DEFAULT_PAGE_GEOMETRY as D, pageAtY as E, paragraphSectionNode as F, paragraphsInCells as G, parsePageNumbering as I, parseSectionProperties as J, projectedSectionSourceIndexes as K, readSectionProperties as L, MAX_DOCUMENT_SECTIONS as M, spanOffsetX as N, spansInCells as O, tableContextAt as Q, DEFAULT_SECTION_PROPERTIES as b, DEFAULT_VERTICAL_WEIGHT as c, caretBoxOnLine as p, cellSelectionBetween as q, cellSelectionRects as r, cellSelectionText as s, contentControlAtPoint as t, enumerateDocumentSections as u, enumerateDocumentSectionsBounded as v, findDrawingOverlayFrameInLayout as w, geometryOfSection as x, hitTestPage as y, hitTestSheet as z };
464
- export type { CellSelection as C, HitPoint as H, PageGeometry as P, SectionProperties as S, TableCellAddress as T, SectionColumns as a, DocumentSection as d, DocumentSectionsEnumeration as e, DrawingOverlayFrame as f, HitTestOptions as g, PlacedCell as h, SectionBreakType as i, SectionColumnDefinition as j, SectionMargins as k, SectionPageNumbering as l, SemanticHit as m, SemanticHitDrawing as n, TableCellContext as o };
256
+ export { DEFAULT_VERTICAL_WEIGHT as D, caretBoxOnLine as e, cellSelectionBetween as f, cellSelectionRects as g, cellSelectionText as h, contentControlAtPoint as i, findDrawingOverlayFrameInLayout as j, hitTestPage as k, hitTestSheet as l, isFurniturePoint as m, lineEndOffset as n, paragraphsInCells as o, pageAtY as p, spansInCells as q, spanOffsetX as s, tableContextAt as t };
257
+ export type { CellSelection as C, HitPoint as H, PlacedCell as P, SemanticHit as S, TableCellAddress as T, DrawingOverlayFrame as a, HitTestOptions as b, SemanticHitDrawing as c, TableCellContext as d };
@@ -1,4 +1,4 @@
1
- import { T as TextMeasurer, S as SemanticLayout, B as BlockFragmentRecord, C as ContentControlBoundaryRecord, e as StyleSpanRecord } from './semantic-records-4B3WwFAi.js';
1
+ import { T as TextMeasurer, S as SemanticLayout, B as BlockFragmentRecord, C as ContentControlBoundaryRecord, g as StyleSpanRecord } from './semantic-records-CjcF26ZL.js';
2
2
 
3
3
  /** How `moveCaret` resolves a motion. */
4
4
  interface MoveCaretOptions {
@@ -1,7 +1,6 @@
1
- import { d as ResolvedRevisionMarkup } from './revision-projection-DZ4kKVev.js';
2
- import { a as PageRecord, C as ContentControlBoundaryRecord, S as SemanticLayout } from './semantic-records-4B3WwFAi.js';
3
- import { S as SemanticRootStoryKind } from './semantic-record-queries-CBlZqZNa.js';
4
- import { V as ValidatedImageBytesHandle, R as RenderableImageMime } from './image-resources-BN-hUgCn.js';
1
+ import { c as PageRecord, q as ResolvedRevisionMarkup, C as ContentControlBoundaryRecord, S as SemanticLayout } from './semantic-records-CjcF26ZL.js';
2
+ import { S as SemanticRootStoryKind } from './semantic-record-queries-Bx0pl6kL.js';
3
+ import { V as ValidatedImageBytesHandle, R as RenderableImageMime } from './image-resources-Bipz8toD.js';
5
4
 
6
5
  /**
7
6
  * Everything a host can say about ONE author's presentation. Every field is optional and
@@ -137,6 +136,17 @@ interface DrawingPaintStrings {
137
136
  readonly pendingResource: string;
138
137
  }
139
138
 
139
+ /** Localized break labels; adapters supply i18n-backed implementations. */
140
+ interface BreakMarkStrings {
141
+ readonly pageBreak: string;
142
+ readonly columnBreak: string;
143
+ readonly sectionBreakContinuous: string;
144
+ readonly sectionBreakNextPage: string;
145
+ readonly sectionBreakEvenPage: string;
146
+ readonly sectionBreakOddPage: string;
147
+ readonly sectionBreakNextColumn: string;
148
+ }
149
+
140
150
  /** Which bars a paint draws. @public */
141
151
  type ChangeBarsMode = 'all-markup' | 'simple-markup' | 'none';
142
152
  /** Which story a bar stands beside; the header-editing chrome dims every other story's. */
@@ -220,6 +230,8 @@ interface PaintOptions {
220
230
  readonly fieldShading?: FieldShadingMode;
221
231
  /** Paint paragraph-end and manual-line-break furniture. Tracked marks also follow Show/Hide. */
222
232
  readonly showParagraphMarks?: boolean;
233
+ /** Localized labels for the break furniture paragraph marks show (defaults to English). */
234
+ readonly breakMarkStrings?: BreakMarkStrings;
223
235
  /** See {@link PaintContext.shadeFormFields}. */
224
236
  readonly shadeFormFields?: boolean;
225
237
  /**
@@ -323,4 +335,4 @@ interface PaintOptions {
323
335
  declare function paintSemanticLayout(container: HTMLElement, layout: SemanticLayout, options?: PaintOptions): void;
324
336
 
325
337
  export { DEFAULT_FIELD_SHADING as D, collectPageChangeBars as e, paintSemanticLayout as p };
326
- export type { ChangeBarsMode as C, FieldShadingMode as F, PageChangeBars as P, ReviewAuthorInfo as R, PaintOptions as a, RevisionAuthorAssignments as b, RevisionAuthorStyle as c, RevisionStyles as d, DrawingPaintStrings as f };
338
+ export type { BreakMarkStrings as B, ChangeBarsMode as C, FieldShadingMode as F, PageChangeBars as P, ReviewAuthorInfo as R, PaintOptions as a, RevisionAuthorAssignments as b, RevisionAuthorStyle as c, RevisionStyles as d, DrawingPaintStrings as f };
@@ -1,4 +1,4 @@
1
- import { I as InlineDrawingRecord, A as AnchoredDrawingRecord, P as ParagraphFragmentRecord, L as LineRecord, a as PageRecord, N as NoteAreaRecord, b as LayoutBox, H as HeaderFooterStoryRecord, c as NoteStoryRecord, B as BlockFragmentRecord, S as SemanticLayout, C as ContentControlBoundaryRecord, d as ContentControlLock } from './semantic-records-4B3WwFAi.js';
1
+ import { I as InlineDrawingRecord, A as AnchoredDrawingRecord, P as ParagraphFragmentRecord, L as LineRecord, c as PageRecord, N as NoteAreaRecord, d as LayoutBox, H as HeaderFooterStoryRecord, e as NoteStoryRecord, B as BlockFragmentRecord, S as SemanticLayout, C as ContentControlBoundaryRecord, f as ContentControlLock } from './semantic-records-CjcF26ZL.js';
2
2
 
3
3
  /**
4
4
  * Depth-first paragraph fragments of one page, in reading order.