@docx-editor.dev/core 2.9.2 → 2.11.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.
- package/dist/automation.cjs +1 -1
- package/dist/automation.d.cts +14 -5
- package/dist/automation.d.ts +14 -5
- package/dist/automation.js +1 -1
- package/dist/binding.cjs +1 -1
- package/dist/binding.d.cts +78 -13
- package/dist/binding.d.ts +78 -13
- package/dist/binding.js +1 -1
- package/dist/chunk-34BNQUD4.js +10 -0
- package/dist/chunk-5AVHO75P.cjs +19 -0
- package/dist/chunk-6HMSC7UV.js +2 -0
- package/dist/chunk-6JIJOZDW.js +1 -0
- package/dist/chunk-76Y3Y45J.cjs +2 -0
- package/dist/chunk-BP7ANXGA.js +1 -0
- package/dist/chunk-BTQKU64Q.cjs +1 -0
- package/dist/chunk-CRZR6K5Z.js +19 -0
- package/dist/chunk-D5EHDHYV.js +1 -0
- package/dist/chunk-EJATEGJZ.cjs +1 -0
- package/dist/{chunk-PSZH2VXP.js → chunk-GOEBQ26R.js} +1 -1
- package/dist/chunk-GRDFEH5Q.cjs +2 -0
- package/dist/chunk-GWV65NQW.cjs +10 -0
- package/dist/chunk-GXLZCXEH.js +2 -0
- package/dist/chunk-JUQOPVSK.cjs +2 -0
- package/dist/chunk-LAETEBHD.js +1 -0
- package/dist/chunk-M6Z3KFXM.cjs +5 -0
- package/dist/{chunk-YMYCPY5Y.cjs → chunk-OHJQ7GPZ.cjs} +1 -1
- package/dist/chunk-UQFOYZJO.cjs +18 -0
- package/dist/chunk-WPQMPHNR.cjs +1 -0
- package/dist/chunk-WXQ245MQ.js +18 -0
- package/dist/chunk-WZHIFNSU.js +5 -0
- package/dist/chunk-X7A5XART.js +2 -0
- package/dist/chunk-ZKWRCLT2.cjs +1 -0
- package/dist/collaboration/replication.cjs +1 -0
- package/dist/collaboration/replication.d.cts +216 -0
- package/dist/collaboration/replication.d.ts +216 -0
- package/dist/collaboration/replication.js +1 -0
- package/dist/collaboration.cjs +1 -0
- package/dist/collaboration.d.cts +176 -0
- package/dist/collaboration.d.ts +176 -0
- package/dist/collaboration.js +1 -0
- package/dist/contracts/document.d.cts +6 -1
- package/dist/contracts/document.d.ts +6 -1
- package/dist/contracts/editor.cjs +1 -1
- package/dist/contracts/editor.d.cts +8 -9
- package/dist/contracts/editor.d.ts +8 -9
- package/dist/contracts/editor.js +1 -1
- package/dist/contracts/interaction.d.cts +8 -9
- package/dist/contracts/interaction.d.ts +8 -9
- package/dist/contracts/modules.cjs +1 -1
- package/dist/contracts/modules.d.cts +20 -8
- package/dist/contracts/modules.d.ts +20 -8
- package/dist/contracts/modules.js +1 -1
- package/dist/custom-node-writes-CwkYRw3V.d.cts +310 -0
- package/dist/custom-node-writes-JfTn-Sy6.d.ts +310 -0
- package/dist/document-properties-D6Ahr8D6.d.cts +28 -0
- package/dist/document-properties-D6Ahr8D6.d.ts +28 -0
- package/dist/{editor-Cvd7Geoc.d.ts → editor-BogcVHXk.d.ts} +176 -59
- package/dist/{editor-cAEf1uXW.d.cts → editor-C8edZgy5.d.cts} +176 -59
- package/dist/editor.cjs +1 -1
- package/dist/editor.css +1 -7698
- package/dist/editor.d.cts +26 -25
- package/dist/editor.d.ts +26 -25
- package/dist/editor.js +1 -1
- package/dist/failure-BnGjoXf0.d.cts +64 -0
- package/dist/failure-BnGjoXf0.d.ts +64 -0
- package/dist/{index-DRqY5JVF.d.ts → index-BNv-ZLQP.d.ts} +327 -86
- package/dist/{index-wb-iOxfh.d.cts → index-Dn0lOp9Z.d.cts} +327 -86
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +20 -19
- package/dist/index.d.ts +20 -19
- package/dist/index.js +1 -1
- package/dist/layout.cjs +1 -1
- package/dist/layout.d.cts +92 -55
- package/dist/layout.d.ts +92 -55
- package/dist/layout.js +1 -1
- package/dist/{note-properties-jvnw_DGG.d.ts → note-properties-BmoSdyKS.d.ts} +1 -1
- package/dist/{note-properties-CQlxjic_.d.cts → note-properties-BvGfHk5e.d.cts} +1 -1
- package/dist/{omml-equation-Dd3mBep-.d.ts → omml-equation-Ciq5rgb7.d.ts} +1 -1
- package/dist/{omml-equation-BD-LsmWE.d.cts → omml-equation-CqQOt_dD.d.cts} +1 -1
- package/dist/output.cjs +1 -1
- package/dist/output.d.cts +6 -8
- package/dist/output.d.ts +6 -8
- package/dist/output.js +1 -1
- package/dist/{protocol-UuZOcOp7.d.cts → protocol-BB-WP3zk.d.cts} +2 -2
- package/dist/{protocol-C7ahrdUx.d.ts → protocol-Ckl7hWsv.d.ts} +2 -2
- package/dist/{review-items-bdGxFWNA.d.ts → review-items-BdeLNRi2.d.cts} +1 -2
- package/dist/{review-items-B8tffIXj.d.cts → review-items-CkYyXhXM.d.ts} +1 -2
- package/dist/{review-reads-Bxz03tHG.d.cts → review-reads-BOLSBm5w.d.cts} +2 -2
- package/dist/{review-reads-CHODU0LI.d.ts → review-reads-Crf0Xn42.d.ts} +2 -2
- package/dist/{revision-projection-CILpvv4M.d.ts → revision-projection-Ae2CWa8E.d.ts} +1 -1
- package/dist/{revision-projection-Cc4wz30g.d.cts → revision-projection-C2S8PSQm.d.cts} +1 -1
- package/dist/{semantic-cell-selection-BPzx6DdT.d.cts → semantic-cell-selection-C0OFD4D9.d.cts} +4 -4
- package/dist/{semantic-cell-selection-CsHcr-yk.d.ts → semantic-cell-selection-DdmoxC-y.d.ts} +4 -4
- package/dist/{semantic-interaction-D-RZ9Ust.d.ts → semantic-interaction-COyhZ9WH.d.ts} +21 -2
- package/dist/{semantic-interaction-BfWDD_0V.d.cts → semantic-interaction-Cs2jErnt.d.cts} +21 -2
- package/dist/{semantic-paint-WhVtSDJK.d.ts → semantic-paint-UHaj3sBY.d.cts} +2 -2
- package/dist/{semantic-paint-Bd7EqzXV.d.cts → semantic-paint-vA-oLSdV.d.ts} +2 -2
- package/dist/{semantic-records-DadVT_E1.d.cts → semantic-records-5AOQJmLX.d.cts} +20 -5
- package/dist/{semantic-records-DCt-ZwKU.d.ts → semantic-records-9xhwbJ23.d.ts} +20 -5
- package/dist/{shaped-measurer-CninrHr_.d.cts → shaped-measurer-NeF2mPSu.d.cts} +1 -1
- package/dist/{shaped-measurer-B9f4A7QA.d.ts → shaped-measurer-vzsY88oK.d.ts} +1 -1
- package/dist/store.cjs +1 -1
- package/dist/store.d.cts +193 -19
- package/dist/store.d.ts +193 -19
- package/dist/store.js +1 -1
- package/dist/tree-op-types-BPyXNxyL.d.cts +3053 -0
- package/dist/tree-op-types-DnzAOnc9.d.ts +3053 -0
- package/dist/{custom-node-writes-D6SGwebL.d.ts → tree-package-fragment-BjZ3RWAS.d.cts} +128 -312
- package/dist/{custom-node-writes-Dy3b20PS.d.cts → tree-package-fragment-CDER0G3B.d.ts} +128 -312
- package/dist/{tree-session-ZuBFOhIh.d.ts → tree-session-contract-BF2FVBOM.d.cts} +52 -106
- package/dist/{tree-session-Df02ajqc.d.cts → tree-session-contract-DhdsFT_z.d.ts} +52 -106
- package/dist/{tree-store-B_sJBMIS.d.cts → tree-store-CNZ3O83s.d.ts} +130 -25
- package/dist/{tree-store-DgETo6Mf.d.ts → tree-store-DfZi7FqY.d.cts} +130 -25
- package/package.json +14 -3
- package/dist/chunk-6JWP2H7K.js +0 -2
- package/dist/chunk-6KNLLEUW.cjs +0 -18
- package/dist/chunk-7ADTI533.cjs +0 -10
- package/dist/chunk-7ETDCPF6.cjs +0 -2
- package/dist/chunk-7I3BSGGS.js +0 -1
- package/dist/chunk-7UU5YFCD.cjs +0 -2
- package/dist/chunk-7VQ7YLW3.cjs +0 -1
- package/dist/chunk-CKDAK3MV.js +0 -10
- package/dist/chunk-DIMEYVNS.js +0 -2
- package/dist/chunk-GQQOL4PV.js +0 -1
- package/dist/chunk-H2656QDI.cjs +0 -1
- package/dist/chunk-KQGENNL5.cjs +0 -15
- package/dist/chunk-LIXPSV4T.js +0 -18
- package/dist/chunk-O4UULRAQ.cjs +0 -5
- package/dist/chunk-SIIFNE6U.js +0 -15
- package/dist/chunk-VXYECPKA.js +0 -5
- package/dist/hf-references-Dvk6De4Q.d.cts +0 -70
- package/dist/hf-references-z5Y4N1ab.d.ts +0 -70
- package/dist/image-resources-BgA9EQxY.d.ts +0 -203
- package/dist/image-resources-BiA-IXgo.d.cts +0 -203
- package/dist/note-nodes-BNCANoGN.d.ts +0 -108
- package/dist/note-nodes-DL-Au22P.d.cts +0 -108
- package/dist/ooxml-package-CdEy9ufK.d.cts +0 -1222
- package/dist/ooxml-package-CdEy9ufK.d.ts +0 -1222
- package/dist/tree-op-types-CnRb7AYo.d.ts +0 -1589
- package/dist/tree-op-types-D1vNJ7XC.d.cts +0 -1589
package/dist/layout.d.ts
CHANGED
|
@@ -1,24 +1,22 @@
|
|
|
1
|
-
import { V as VersionedShapingLibrary, T as TextShaper, F as FontByteValidator, a as FixedPointRoundingMode, b as FixedPoint, c as TextDirection, S as ShapedRun } from './shaped-measurer-
|
|
2
|
-
export { C as CacheLookup, d as CacheMiss, e as CacheProvenance, D as DeclaredFontSubstitution, f as FontFingerprintInputs, g as FontRequest, h as FontResolutionError, i as FontResolutionErrorCode, j as FontResourceDefinition, k as FontResourceInstrumentation, l as FontResourceSnapshot, m as FontResourceSnapshotOptions, n as FontSubstitution, o as FontValidationResult, G as GlyphOutline, H as HARD_MAX_AGGREGATE_FONT_BYTES, p as HARD_MAX_FONT_BYTES, q as HARD_MAX_FONT_SOURCES, L as LayoutShapingOptions, N as NormalizationPolicy, O as OperationSnapshot, r as OperationSnapshotField, s as OperationSnapshotGuard, R as ResolvedCache, t as ResolvedFont, u as ResourceDependencyProvenance, v as ShapeInput, w as ShapedCluster, x as ShapedFontSpan, y as ShapedGlyph, z as ShapedMeasurerOptions, A as ShapedRunComparatorInputs, B as ShapedVerticalMetrics, E as ShapingEnvironment, I as ShapingEnvironmentFingerprintInputs, J as ShapingEnvironmentInput, K as boundedStructuralFontValidator, M as captureOperationSnapshot, P as createFontResourceSnapshot, Q as createShapedMeasurer, U as createShapedRun, W as createShapingEnvironment, X as fixedPoint, Y as fontRequestKey, Z as guardOperationSnapshot, _ as shapedRunComparatorInputs, $ as shapingEnvironmentFingerprint, a0 as shapingEnvironmentFingerprintInputs } from './shaped-measurer-
|
|
3
|
-
import { d as LayoutBox, D as DrawingPoint, e as DrawingInsets, a as StyleSpanRecord, I as InlineDrawingRecord, M as ModelRange, f as ThemeFonts, g as ParagraphSpacing, h as ParagraphLineSpacing, i as ParagraphBorderEdge, j as ParagraphBorders, k as ResolvedTabStops, S as SemanticLayout, B as BlockFragmentRecord, A as AnchoredDrawingRecord, l as PageRecord, R as ResolvedRunStyle, m as TableBorderSide, C as ContentControlBoundaryRecord$1, n as ContentControlLock, o as ParagraphFragmentRecord, L as LineRecord, p as InlineDrawingLayoutContext, T as TextMeasurer, H as HyperlinkProjector, F as FieldLinkProjector, q as StoryPageFieldNeeds, P as PageGeometry, r as CellBorderBox, s as TableBorderBox } from './semantic-records-
|
|
4
|
-
export { t as AUTO_PARAGRAPH_SPACING_PT, u as BorderGridGeometry, v as ContentControlGeometryFragment, w as ContentControlLevel, x as ContentControlMappedType, y as DEFAULT_PAGE_GEOMETRY, z as DEFAULT_RUN_STYLE, E as DEFAULT_TAB_INTERVAL_PT, G as DEFAULT_TAB_INTERVAL_TWIPS, J as EMPTY_TAB_STOPS, K as EquationFractionGeometry, N as EquationGeometry, O as EquationNaryGeometry, Q as EquationRadicalGeometry, U as EquationRowGeometry, V as EquationScriptGeometry, W as EquationSpanRecord, X as EquationTextGeometry, Y as FieldAtomMarker, Z as HeaderFooterStoryRecord, _ as HyperlinkFieldSpec, $ as LineSpacingRule, a0 as ListMarkerRecord, a1 as MAX_BORDER_SPACE_PT, a2 as MAX_BORDER_WIDTH_PT, a3 as MAX_PARAGRAPH_SPACING_PT, a4 as MAX_TABLE_BORDER_STROKES, a5 as MAX_TAB_POSITION_TWIPS, a6 as MAX_TAB_STOPS, a7 as PARAGRAPH_BORDER_SIDES, a8 as ParagraphAutoSpacingContext, a9 as ParagraphBorderSide, aa as ParagraphBorderStrokeRecord, ab as ParagraphBottomBorderRecord, ac as ParagraphIndent, ad as ResolvedCellBorders, ae as ResolvedTableBorderEdge, af as ResolvedTableBorderEdgeSegment, ag as ResolvedUnderline, ah as SINGLE_LINE_SPACING, ai as SourceRange, aj as SpanLinkRecord, ak as TAB_LEADER_GLYPH, al as TabAlignment, am as TabDestination, an as TabLeader, ao as TabStop, ap as TableBorderSideName, aq as TableBorderStrokeRecord, c as TableCellFragmentRecord, ar as TableFragmentRecord, b as TableRowFragmentRecord, as as VerticalAlign, at as appliedSpaceBefore, au as applyLineSpacing, av as baselineShiftPtOf, aw as borderExtentPt, ax as borderWeight, ay as bottomBorderExtentPt, az as cascadedParagraphBorders, aA as cascadedTabStops, aB as collapsedSpaceBefore, aC as defaultTabIntervalFromSettings, aD as displayText, aE as layoutEquation, aF as measureDisplayText, aG as nextTabDestination, aH as paragraphBorderExtentPt, aI as paragraphBorderStrokeWidthPt, aJ as paragraphBorders, aK as paragraphBordersFingerprint, aL as paragraphBreaksBefore, aM as paragraphContextualSpacing, aN as paragraphLineSpacing, aO as paragraphSpacing, aP as paragraphTabStops, aQ as readBorderSide, aR as readCellBorders, aS as readTableBorders, aT as resolveBorderConflict, aU as resolveRunStyle, aV as resolveTableCellBorderGrid, aW as runStylesEqual, aX as tabAdvanceWidth, aY as tabStopsFingerprint, aZ as withDefaultTabInterval } from './semantic-records-
|
|
5
|
-
import { a as OoxmlNode,
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
export {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
import './image-resources-BgA9EQxY.js';
|
|
21
|
-
import './omml-equation-Dd3mBep-.js';
|
|
1
|
+
import { V as VersionedShapingLibrary, T as TextShaper, F as FontByteValidator, a as FixedPointRoundingMode, b as FixedPoint, c as TextDirection, S as ShapedRun } from './shaped-measurer-vzsY88oK.js';
|
|
2
|
+
export { C as CacheLookup, d as CacheMiss, e as CacheProvenance, D as DeclaredFontSubstitution, f as FontFingerprintInputs, g as FontRequest, h as FontResolutionError, i as FontResolutionErrorCode, j as FontResourceDefinition, k as FontResourceInstrumentation, l as FontResourceSnapshot, m as FontResourceSnapshotOptions, n as FontSubstitution, o as FontValidationResult, G as GlyphOutline, H as HARD_MAX_AGGREGATE_FONT_BYTES, p as HARD_MAX_FONT_BYTES, q as HARD_MAX_FONT_SOURCES, L as LayoutShapingOptions, N as NormalizationPolicy, O as OperationSnapshot, r as OperationSnapshotField, s as OperationSnapshotGuard, R as ResolvedCache, t as ResolvedFont, u as ResourceDependencyProvenance, v as ShapeInput, w as ShapedCluster, x as ShapedFontSpan, y as ShapedGlyph, z as ShapedMeasurerOptions, A as ShapedRunComparatorInputs, B as ShapedVerticalMetrics, E as ShapingEnvironment, I as ShapingEnvironmentFingerprintInputs, J as ShapingEnvironmentInput, K as boundedStructuralFontValidator, M as captureOperationSnapshot, P as createFontResourceSnapshot, Q as createShapedMeasurer, U as createShapedRun, W as createShapingEnvironment, X as fixedPoint, Y as fontRequestKey, Z as guardOperationSnapshot, _ as shapedRunComparatorInputs, $ as shapingEnvironmentFingerprint, a0 as shapingEnvironmentFingerprintInputs } from './shaped-measurer-vzsY88oK.js';
|
|
3
|
+
import { d as LayoutBox, D as DrawingPoint, e as DrawingInsets, a as StyleSpanRecord, I as InlineDrawingRecord, M as ModelRange, f as ThemeFonts, g as ParagraphSpacing, h as ParagraphLineSpacing, i as ParagraphBorderEdge, j as ParagraphBorders, k as ResolvedTabStops, S as SemanticLayout, B as BlockFragmentRecord, A as AnchoredDrawingRecord, l as PageRecord, R as ResolvedRunStyle, m as TableBorderSide, C as ContentControlBoundaryRecord$1, n as ContentControlLock, o as ParagraphFragmentRecord, L as LineRecord, p as InlineDrawingLayoutContext, T as TextMeasurer, H as HyperlinkProjector, F as FieldLinkProjector, q as StoryPageFieldNeeds, P as PageGeometry, r as CellBorderBox, s as TableBorderBox } from './semantic-records-9xhwbJ23.js';
|
|
4
|
+
export { t as AUTO_PARAGRAPH_SPACING_PT, u as BorderGridGeometry, v as ContentControlGeometryFragment, w as ContentControlLevel, x as ContentControlMappedType, y as DEFAULT_PAGE_GEOMETRY, z as DEFAULT_RUN_STYLE, E as DEFAULT_TAB_INTERVAL_PT, G as DEFAULT_TAB_INTERVAL_TWIPS, J as EMPTY_TAB_STOPS, K as EquationFractionGeometry, N as EquationGeometry, O as EquationNaryGeometry, Q as EquationRadicalGeometry, U as EquationRowGeometry, V as EquationScriptGeometry, W as EquationSpanRecord, X as EquationTextGeometry, Y as FieldAtomMarker, Z as HeaderFooterStoryRecord, _ as HyperlinkFieldSpec, $ as LineSpacingRule, a0 as ListMarkerRecord, a1 as MAX_BORDER_SPACE_PT, a2 as MAX_BORDER_WIDTH_PT, a3 as MAX_PARAGRAPH_SPACING_PT, a4 as MAX_TABLE_BORDER_STROKES, a5 as MAX_TAB_POSITION_TWIPS, a6 as MAX_TAB_STOPS, a7 as PARAGRAPH_BORDER_SIDES, a8 as ParagraphAutoSpacingContext, a9 as ParagraphBorderSide, aa as ParagraphBorderStrokeRecord, ab as ParagraphBottomBorderRecord, ac as ParagraphIndent, ad as ResolvedCellBorders, ae as ResolvedTableBorderEdge, af as ResolvedTableBorderEdgeSegment, ag as ResolvedUnderline, ah as SINGLE_LINE_SPACING, ai as SourceRange, aj as SpanLinkRecord, ak as TAB_LEADER_GLYPH, al as TabAlignment, am as TabDestination, an as TabLeader, ao as TabStop, ap as TableBorderSideName, aq as TableBorderStrokeRecord, c as TableCellFragmentRecord, ar as TableFragmentRecord, b as TableRowFragmentRecord, as as VerticalAlign, at as appliedSpaceBefore, au as applyLineSpacing, av as baselineShiftPtOf, aw as borderExtentPt, ax as borderWeight, ay as bottomBorderExtentPt, az as cascadedParagraphBorders, aA as cascadedTabStops, aB as collapsedSpaceBefore, aC as defaultTabIntervalFromSettings, aD as displayText, aE as layoutEquation, aF as measureDisplayText, aG as nextTabDestination, aH as paragraphBorderExtentPt, aI as paragraphBorderStrokeWidthPt, aJ as paragraphBorders, aK as paragraphBordersFingerprint, aL as paragraphBreaksBefore, aM as paragraphContextualSpacing, aN as paragraphLineSpacing, aO as paragraphSpacing, aP as paragraphTabStops, aQ as readBorderSide, aR as readCellBorders, aS as readTableBorders, aT as resolveBorderConflict, aU as resolveRunStyle, aV as resolveTableCellBorderGrid, aW as runStylesEqual, aX as tabAdvanceWidth, aY as tabStopsFingerprint, aZ as withDefaultTabInterval } from './semantic-records-9xhwbJ23.js';
|
|
5
|
+
import { a as OoxmlNode, s as OoxmlProperty, g as OoxmlElement, I as ImpactClass, O as OoxmlPart, $ as ContentControlKind, a0 as ContentControlLevel, a1 as ContentControlLock$1, a2 as ContentControlDataBinding } from './tree-op-types-DnzAOnc9.js';
|
|
6
|
+
export { _ as TableBorderStyle } from './tree-op-types-DnzAOnc9.js';
|
|
7
|
+
import { N as NoteKind, T as TreeModelChange, n as noteTypeOf } from './tree-store-CNZ3O83s.js';
|
|
8
|
+
import { R as ResolvedFootnoteProperties, a as ResolvedEndnoteProperties } from './note-properties-BmoSdyKS.js';
|
|
9
|
+
import { D as DocumentProperties } from './document-properties-D6Ahr8D6.js';
|
|
10
|
+
import { a as RevisionAttribution, R as RevisionDisplayMode } from './revision-projection-Ae2CWa8E.js';
|
|
11
|
+
export { D as DEFAULT_REVISION_DISPLAY_MODE, b as RevisionKind, f as formatRevisionOf, m as markRevisionRemovesMark, p as paragraphMarkFormatRevisionOf, c as paragraphMarkRevisionOf, d as paragraphMarkRevisionsOf, r as revisionsAreDeletion, e as revisionsVisible, s as shownMarkRevision } from './revision-projection-Ae2CWa8E.js';
|
|
12
|
+
import { a as SectionColumns } from './semantic-cell-selection-DdmoxC-y.js';
|
|
13
|
+
export { C as CellSelection, D as DEFAULT_SECTION_PROPERTIES, b as DEFAULT_VERTICAL_WEIGHT, c as DocumentSection, d as DocumentSectionsEnumeration, e as DrawingOverlayFrame, H as HitPoint, f as HitTestOptions, M as MAX_DOCUMENT_SECTIONS, P as PlacedCell, g as SectionBreakType, h as SectionColumnDefinition, i as SectionMargins, j as SectionPageNumbering, S as SectionProperties, k as SemanticHit, l as SemanticHitDrawing, T as TableCellAddress, m as TableCellContext, n as caretBoxOnLine, o as cellSelectionBetween, p as cellSelectionRects, q as cellSelectionText, r as contentControlAtPoint, s as enumerateDocumentSections, t as enumerateDocumentSectionsBounded, u as findDrawingOverlayFrameInLayout, v as geometryOfSection, w as hitTestPage, x as hitTestSheet, y as isFurniturePoint, z as lineEndOffset, A as pageAtY, B as paragraphSectionNode, E as paragraphsInCells, F as parsePageNumbering, G as parseSectionProperties, I as readSectionProperties, J as spanOffsetX, K as spansInCells, L as tableContextAt } from './semantic-cell-selection-DdmoxC-y.js';
|
|
14
|
+
export { M as MAX_SDT_NESTING, c as collectFlowBlocks, a as commentBodyText, b as commentInitials, d as contentControlContentChildren, i as isContentControl, e as isContentControlContent, p as paragraphOrderOfPart } from './review-reads-Crf0Xn42.js';
|
|
15
|
+
import { a as ReviewItem } from './review-items-CkYyXhXM.js';
|
|
16
|
+
export { i as CommentAnchor, j as CommentPosition, C as CommentRecord, h as CommentThreadState, c as ReviewCommentItem, d as ReviewCustomItem, R as ReviewModelInput, e as ReviewPosition, f as ReviewRange, b as ReviewRevisionItem, g as ReviewRevisionKind, W as W15_NAMESPACE_URI, k as activeReviewItem, l as firstReviewRange, r as reviewItemKey, m as reviewItemPositionRank, n as reviewItemRanges, o as reviewItemsAt, p as reviewThreadRootOf } from './review-items-CkYyXhXM.js';
|
|
17
|
+
import { S as SemanticPosition, b as SelectionRect, a as SemanticSelection } from './semantic-interaction-COyhZ9WH.js';
|
|
18
|
+
export { c as CaretAtOptions, C as CaretGeometry, M as MoveCaretOptions, N as NavigationCommand, d as caretAt, e as caretStops, f as caretStopsForBlocks, g as compositionAnchor, h as contentControlAtSemantic, i as contentControlsInLayout, j as deletedTextBoundaries, k as hitTestSemantic, m as moveCaret, p as paragraphTextFromLayout, s as spansInSelection } from './semantic-interaction-COyhZ9WH.js';
|
|
19
|
+
import './omml-equation-Ciq5rgb7.js';
|
|
22
20
|
import './contracts/types.js';
|
|
23
21
|
|
|
24
22
|
/**
|
|
@@ -398,7 +396,10 @@ interface PendingLine {
|
|
|
398
396
|
deletedRanges?: readonly ModelRange[];
|
|
399
397
|
/** Vertical gap inserted before this line to clear a topAndBottom exclusion band. */
|
|
400
398
|
exclusionSkipBefore?: number;
|
|
399
|
+
/** Tracked anchored-drawing attributions on this line; see {@link LineRecord.anchorRevisions}. */
|
|
400
|
+
anchorRevisions?: readonly RevisionAttribution[];
|
|
401
401
|
}
|
|
402
|
+
|
|
402
403
|
/** Horizontal alignment of a paragraph (`w:jc`, ECMA-376 §17.3.1.13). */
|
|
403
404
|
type Alignment = 'left' | 'center' | 'right' | 'both';
|
|
404
405
|
|
|
@@ -411,6 +412,14 @@ interface StyleDefinition {
|
|
|
411
412
|
readonly styleId: string;
|
|
412
413
|
readonly type: string;
|
|
413
414
|
readonly basedOn: string | null;
|
|
415
|
+
/**
|
|
416
|
+
* `w:next` — the style Word gives the paragraph that FOLLOWS one in this style.
|
|
417
|
+
*
|
|
418
|
+
* Nothing in layout reads it: it is a rule about authoring, not about painting. It is
|
|
419
|
+
* read here because this is the one place `styles.xml` is parsed, and a second reader
|
|
420
|
+
* would be a second answer to what a style id means.
|
|
421
|
+
*/
|
|
422
|
+
readonly next: string | null;
|
|
414
423
|
readonly paragraphProperties: readonly OoxmlProperty[];
|
|
415
424
|
readonly runProperties: readonly OoxmlProperty[];
|
|
416
425
|
/** The style's `w:pPr` node, when present — needed for nested `w:pBdr`. */
|
|
@@ -445,6 +454,14 @@ interface StyleCascadeTable {
|
|
|
445
454
|
readonly defaultParagraphStyleId: string | null;
|
|
446
455
|
/** `w:style[@w:default='1'][@w:type='character']` — last wins among defaults of that type. */
|
|
447
456
|
readonly defaultCharacterStyleId: string | null;
|
|
457
|
+
/**
|
|
458
|
+
* `w:style[@w:default='1'][@w:type='table']` — last wins among defaults of that type.
|
|
459
|
+
*
|
|
460
|
+
* A `w:tbl` with no `w:tblStyle` still resolves against this one. Word's own
|
|
461
|
+
* `TableNormal` is where the 0/108/0/108 twip cell margins live, so skipping it gives
|
|
462
|
+
* every unstyled table padding the document says it does not have.
|
|
463
|
+
*/
|
|
464
|
+
readonly defaultTableStyleId: string | null;
|
|
448
465
|
/**
|
|
449
466
|
* The theme part's Latin typefaces, for `w:rFonts` theme references.
|
|
450
467
|
*
|
|
@@ -1095,8 +1112,16 @@ pages?: ReadonlySet<number>): Map<string, SelectionRect[]>;
|
|
|
1095
1112
|
*
|
|
1096
1113
|
* Word-LEFT skips any whitespace immediately behind the caret and then the word behind that,
|
|
1097
1114
|
* which makes repeated presses walk words rather than alternate with the preceding space.
|
|
1115
|
+
*
|
|
1116
|
+
* `stops` are offsets a word may not run THROUGH even when the characters either side are
|
|
1117
|
+
* word characters. They exist because the text this walks is what the VIEW is showing, and a
|
|
1118
|
+
* view can show two versions of the document side by side: struck text and the text proposed
|
|
1119
|
+
* to replace it abut with no separator, so `ALL CAPS` deleted and `fsdfsd` inserted read as
|
|
1120
|
+
* the single word `CAPSfsdfsd`. Those characters are never adjacent in any one version, and a
|
|
1121
|
+
* double-click that took both selected across a decision the reader had not made. See
|
|
1122
|
+
* `deletedTextBoundaries`.
|
|
1098
1123
|
*/
|
|
1099
|
-
declare function wordBoundary(text: string, offset: number, direction: -1 | 1): number;
|
|
1124
|
+
declare function wordBoundary(text: string, offset: number, direction: -1 | 1, stops?: ReadonlySet<number>): number;
|
|
1100
1125
|
|
|
1101
1126
|
/**
|
|
1102
1127
|
* Where an INSERT aimed at this position actually lands: past any deletion it sits inside.
|
|
@@ -1946,6 +1971,23 @@ interface HeaderFooterStoryInputs {
|
|
|
1946
1971
|
*/
|
|
1947
1972
|
declare function layoutHeaderFooterStory(part: OoxmlPart, contentWidth: number, measurer: TextMeasurer, producer: string, cache?: ParagraphLayoutCache<readonly PendingLine[]>, styleCascade?: StyleCascadeTable, pageContext?: FieldPageContext, maxPageContextEntries?: number, defaultTabStopPt?: number, displayMode?: RevisionDisplayMode, inlineDrawingLayout?: InlineDrawingLayoutContext, drawingTokenForParagraph?: (paragraph: OoxmlNode) => string, drawingLayoutToken?: string, hfPageContext?: HeaderFooterPageContext, documentProperties?: DocumentProperties, inputs?: HeaderFooterStoryInputs): HeaderFooterStoryLayout;
|
|
1948
1973
|
|
|
1974
|
+
/** Which header/footer variant a page shows (ECMA-376 §17.10.5). */
|
|
1975
|
+
type HeaderFooterVariantName = 'default' | 'first' | 'even';
|
|
1976
|
+
/**
|
|
1977
|
+
* Pre-laid page furniture, supplied by the host (phase 2).
|
|
1978
|
+
*
|
|
1979
|
+
* Baseline stories are laid out once per variant (`layoutHeaderFooterStory`) for furniture
|
|
1980
|
+
* height. Stories that actually contain allowlisted PAGE/NUMPAGES fields attach a projector
|
|
1981
|
+
* so document-level finalize can re-layout under the known page count; field-free furniture
|
|
1982
|
+
* reuses the baseline on every sheet.
|
|
1983
|
+
*/
|
|
1984
|
+
interface PageFurniture {
|
|
1985
|
+
readonly titlePage: boolean;
|
|
1986
|
+
readonly evenAndOddHeaders: boolean;
|
|
1987
|
+
readonly headers: ReadonlyMap<HeaderFooterVariantName, HeaderFooterStoryLayout>;
|
|
1988
|
+
readonly footers: ReadonlyMap<HeaderFooterVariantName, HeaderFooterStoryLayout>;
|
|
1989
|
+
}
|
|
1990
|
+
|
|
1949
1991
|
/**
|
|
1950
1992
|
* A deterministic measurer for tests and headless use.
|
|
1951
1993
|
*
|
|
@@ -1980,22 +2022,6 @@ withinParagraphs?: ReadonlySet<string>): readonly ContentControlBoundaryRecord$1
|
|
|
1980
2022
|
*/
|
|
1981
2023
|
declare function contentControlHoldingParagraph(part: OoxmlPart, paragraphId: string): ContentControlBoundaryRecord$1 | null;
|
|
1982
2024
|
|
|
1983
|
-
/** Which header/footer variant a page shows (ECMA-376 §17.10.5). */
|
|
1984
|
-
type HeaderFooterVariantName = 'default' | 'first' | 'even';
|
|
1985
|
-
/**
|
|
1986
|
-
* Pre-laid page furniture, supplied by the host (phase 2).
|
|
1987
|
-
*
|
|
1988
|
-
* Baseline stories are laid out once per variant (`layoutHeaderFooterStory`) for furniture
|
|
1989
|
-
* height. Stories that actually contain allowlisted PAGE/NUMPAGES fields attach a projector
|
|
1990
|
-
* so document-level finalize can re-layout under the known page count; field-free furniture
|
|
1991
|
-
* reuses the baseline on every sheet.
|
|
1992
|
-
*/
|
|
1993
|
-
interface PageFurniture {
|
|
1994
|
-
readonly titlePage: boolean;
|
|
1995
|
-
readonly evenAndOddHeaders: boolean;
|
|
1996
|
-
readonly headers: ReadonlyMap<HeaderFooterVariantName, HeaderFooterStoryLayout>;
|
|
1997
|
-
readonly footers: ReadonlyMap<HeaderFooterVariantName, HeaderFooterStoryLayout>;
|
|
1998
|
-
}
|
|
1999
2025
|
/**
|
|
2000
2026
|
* Everything a layout pass needs beyond the document itself.
|
|
2001
2027
|
*
|
|
@@ -2583,17 +2609,37 @@ interface PreferredWidth {
|
|
|
2583
2609
|
/** The frozen "no preferred width" value — what a table or cell that declares none resolves to. */
|
|
2584
2610
|
declare const AUTO_PREFERRED_WIDTH: PreferredWidth;
|
|
2585
2611
|
|
|
2612
|
+
/**
|
|
2613
|
+
* The uniform 3 pt (60 twip) inset this lane used to apply on every side.
|
|
2614
|
+
*
|
|
2615
|
+
* Word's defaults are not uniform — see {@link DEFAULT_CELL_MARGINS} — so nothing resolves
|
|
2616
|
+
* against this any more. Kept because it is published.
|
|
2617
|
+
*/
|
|
2618
|
+
declare const CELL_PAD = 3;
|
|
2619
|
+
/** Resolved cell padding in points, after the table default and any per-cell override. */
|
|
2620
|
+
interface CellMarginsPt {
|
|
2621
|
+
readonly top: number;
|
|
2622
|
+
readonly right: number;
|
|
2623
|
+
readonly bottom: number;
|
|
2624
|
+
readonly left: number;
|
|
2625
|
+
}
|
|
2626
|
+
/**
|
|
2627
|
+
* Word's own default cell padding, for a document whose styles part states none.
|
|
2628
|
+
*
|
|
2629
|
+
* 0 top, 0 bottom, 108 twips left and right — the values `TableNormal` carries. A uniform
|
|
2630
|
+
* 3 pt on all four sides made every row of every table that authored no `w:tblCellMar` 6 pt
|
|
2631
|
+
* taller than Word's, and that error compounds down a table until it paginates a page early.
|
|
2632
|
+
* A document that DOES ship a default table style resolves against that instead; this is the
|
|
2633
|
+
* floor beneath it.
|
|
2634
|
+
*/
|
|
2635
|
+
declare const DEFAULT_CELL_MARGINS: CellMarginsPt;
|
|
2636
|
+
|
|
2586
2637
|
/**
|
|
2587
2638
|
* Layout-time nesting ceiling. Parse-time depth (MAX_DEPTH = 256 XML levels) alone still
|
|
2588
2639
|
* admits ~80 levels of `w:tbl` recursion into the layout walk; deeper tables render as an
|
|
2589
2640
|
* empty cell box rather than recursing.
|
|
2590
2641
|
*/
|
|
2591
2642
|
declare const MAX_TABLE_NESTING = 16;
|
|
2592
|
-
/**
|
|
2593
|
-
* Fallback cell padding in points (60 twips) when neither `tblCellMar` nor `tcMar` authors
|
|
2594
|
-
* a side. Matches the historical uniform `CELL_PAD` inset.
|
|
2595
|
-
*/
|
|
2596
|
-
declare const CELL_PAD = 3;
|
|
2597
2643
|
/**
|
|
2598
2644
|
* Soft ceiling on an authored `w:trHeight` (~22"). Hostile `w:val` otherwise becomes a
|
|
2599
2645
|
* multi-page row that every pagination preflight and cell box inherits.
|
|
@@ -2650,15 +2696,6 @@ interface TableFloatPosition {
|
|
|
2650
2696
|
/** `w:tblpY` in points; signed. */
|
|
2651
2697
|
readonly yPt: number;
|
|
2652
2698
|
}
|
|
2653
|
-
/** Resolved cell padding in points, after the table default and any per-cell override. */
|
|
2654
|
-
interface CellMarginsPt {
|
|
2655
|
-
readonly top: number;
|
|
2656
|
-
readonly right: number;
|
|
2657
|
-
readonly bottom: number;
|
|
2658
|
-
readonly left: number;
|
|
2659
|
-
}
|
|
2660
|
-
/** Word's own default cell padding, applied where a table declares no `w:tblCellMar`. */
|
|
2661
|
-
declare const DEFAULT_CELL_MARGINS: CellMarginsPt;
|
|
2662
2699
|
/**
|
|
2663
2700
|
* One cell in the resolved table structure.
|
|
2664
2701
|
*
|
|
@@ -2682,7 +2719,7 @@ interface SemanticTableCell {
|
|
|
2682
2719
|
readonly vMergeContinue: boolean;
|
|
2683
2720
|
/** `w:vAlign` — defaults to top when omitted/unrecognised. */
|
|
2684
2721
|
readonly vAlign: CellVerticalAlign;
|
|
2685
|
-
/** Resolved per-side margins (tcMar over tblCellMar over
|
|
2722
|
+
/** Resolved per-side margins (tcMar over tblCellMar over the table style over Word's default). */
|
|
2686
2723
|
readonly margins: CellMarginsPt;
|
|
2687
2724
|
/** Three-state authored `tcBorders` (omitted / none / edge). */
|
|
2688
2725
|
readonly borders: CellBorderBox;
|
|
@@ -2771,7 +2808,7 @@ interface SemanticTableStructure {
|
|
|
2771
2808
|
readonly layoutFixed: boolean;
|
|
2772
2809
|
/** Table-level `tblBorders` (three-state, including insideH/insideV). */
|
|
2773
2810
|
readonly tableBorders: TableBorderBox;
|
|
2774
|
-
/** Table-level `tblCellMar` defaults (per-side,
|
|
2811
|
+
/** Table-level `tblCellMar` defaults (per-side, Word's own default when a side is omitted). */
|
|
2775
2812
|
readonly defaultMargins: CellMarginsPt;
|
|
2776
2813
|
}
|
|
2777
2814
|
/**
|
|
@@ -2825,4 +2862,4 @@ declare class TablePaginationError extends Error {
|
|
|
2825
2862
|
constructor(code: TablePaginationErrorCode, message: string);
|
|
2826
2863
|
}
|
|
2827
2864
|
|
|
2828
|
-
export { AUTO_PREFERRED_WIDTH, type AbstractNumDefinition, type BidiEmbeddingLevels, BlockFragmentRecord, CELL_PAD, COMPOUND_BORDER_MIN_GAP_PT, COMPOUND_BORDER_MIN_STROKE_PT, type CanvasMeasurerOptions, type CanvasTextContext, type CanvasTextMetrics, type CascadedParagraphFormatting, CellBorderBox, type CellMarginsPt, type CellVerticalAlign, type CompoundBorderMetrics, ContentControlBoundaryRecord$1 as ContentControlBoundaryRecord, type ContentControlFragmentRecord, ContentControlLock, DEFAULT_CANVAS_FONT_STACK, DEFAULT_CELL_MARGINS, EMPTY_NUMBERING_INDEX, FieldLinkProjector, FixedPoint, FixedPointRoundingMode, FontByteValidator, type FontSlot, GRAPHEME_SEGMENTER_LOCALE, type GraphemeBoundary, type GraphemeSegment, type GraphemeWordSegmentRecord, HARFBUZZ_SHAPING_LIBRARY, type HarfBuzzFaceCacheEvent, type HarfBuzzOutlineCacheEvent, type HarfBuzzShapeCacheEvent, HarfBuzzShapingError, type HarfBuzzShapingErrorCode, type HarfBuzzTextShaper, type HarfBuzzTextShaperInstrumentation, type HarfBuzzTextShaperOptions, type HeaderFooterVariantName, HyperlinkProjector, type KeyedRange, LayoutBox, type LayoutCacheStats, type LayoutScheduler, type LayoutSchedulerOptions, type LayoutScope, type LayoutSession, type LayoutSessionStats, type LevelOverride, LineRecord, type ListCounterAdvance, type ListCounterState, type ListMarkerAlign, type ListSuffix, MAX_EACH_PAGE_MARK_CANDIDATES, MAX_LVL_OVERRIDES, MAX_LVL_TEXT_LENGTH, MAX_MARKER_TEXT_LENGTH, MAX_NOTES_LAID_OUT, MAX_NOTE_FRAGMENTS, MAX_NOTE_OVERFLOW_PAGES, MAX_NOTE_REFLOW_ATTEMPTS, MAX_NUMBERING_DEFINITIONS, MAX_STYLE_BASED_ON_DEPTH, MAX_STYLE_DEFINITIONS, MAX_TABLE_COLUMNS, MAX_TABLE_NESTING, MAX_TABLE_ROW_FRAGMENTS, MAX_TABLE_ROW_HEIGHT_PT, type MaterializationInput, type NoteDisplayMark, type NoteLayoutFallbackReason, type NoteMarkContext, type NotePaginationFallbackReason, type NoteReferenceSite, type NoteSeparatorLayout, type NoteSeparatorRuleStyle, type NoteStoryDrawings, type NoteStoryLayout, type NotesAttachResult, type NotesLayoutInput, type NumDefinition, type NumberingIndex, type NumberingLevel, type NumberingLevelIndent, type PageFurniture, PageGeometry, PageRecord, type PageRefIndex, ParagraphBorderEdge, ParagraphBorders, ParagraphFragmentRecord, type ParagraphKeyInputs, type ParagraphLayoutCache, type ParagraphLayoutCacheOptions, type ParagraphLayoutInputs, ParagraphLineSpacing, ParagraphSpacing, type PreferredWidth, type PreferredWidthType, type ResolvedListItem, ResolvedRunStyle, type ResolvedSurfaceMeasurer, ResolvedTabStops, ReviewItem, type ReviewParagraphAnchor, RevisionDisplayMode, type ScriptItem, SectionColumns, SelectionRect, SemanticLayout, type SemanticLayoutOptions, SemanticPosition, SemanticSelection, type SemanticTableCell, type SemanticTableRow, type SemanticTableStructure, ShapedRun, type StyleCascadeTable, type StyleDefinition, StyleSpanRecord, type TableAlignment, TableBorderBox, TableBorderSide, type TableCellStyleFormatting, TablePaginationError, type TablePaginationErrorCode, type TableRowHeight, type TableRowHeightRule, TextDirection, TextMeasurer, TextShaper, UnsupportedScriptError, VersionedShapingLibrary, type ViewportWindow, WORD_SEGMENTER_LOCALE, type WordBoundary, type WordBoundaryResolverDeps, type WordSegment, anchorLineY, attachNotesToLayout, boundedFallbackWordSegments, buildNumberingIndex, buildPageRefIndex, buildStyleCascadeTable, cascadeParagraphFormatting, cascadeRunProperties, cascadedBottomBorder, clampListValue, computeDoubleBorderMetricsPt, computeFootnoteReserves, contentControlBoundaries, contentControlHoldingParagraph, contentControlRecordsInPart, contentControlsOfLayout, createBoundedFallbackWordBoundary, createDefaultWordBoundary, createFixedMeasurer, createHarfBuzzTextShaper, createIntlWordBoundary, createLayoutScheduler, createLayoutSession, createListCounterState, createParagraphLayoutCache, defaultNoteSeparatorRuleStyle, deriveNoteDisplayMarks, deriveNoteDisplayMarksResolved, documentOrder, effectiveBorderSide, effectiveContentControlLock, emptyTocPlaceholderParagraphIds, emptyTocSuppressedResultParagraphIds, everyStoryOrder, expandLvlText, filterRefsOnPage, findSeparatorNote, formatDecimal, formatDecimalZero, formatLowerLetter, formatLowerRoman, formatNumFmt, formatPageNumber, formatUpperLetter, formatUpperRoman, fragmentOwnsAtomOffset, fragmentsOfParagraph, graphemeBoundaryEpoch, graphemeCount, graphemeOffsetToUtf16, harfBuzzFontValidator, initializeHarfBuzz, intlGraphemeBoundary, isCanvasMeasurementAvailable, isCumulativeGeometryTrustedFromLineOrigin, isGeometryTrustedCaretOffset, isHarfBuzzInitialized, isIntlSegmenterAvailable, isIntlWordSegmenterAvailable, isMarkerOnlySeparatorNote, isValidStyleId, isWholeGraphemeHorizontalBoundary, itemizeScriptFontSlots, keyedRangeRects, layoutHeaderFooterStory, layoutNoteById, layoutNoteSeparator, layoutNoteStory, layoutSemanticDocument, lineAtPosition, linesOf, listMarkerBox, mergeListIndent, normalNotesOf, noteDisplayMarkMap, noteLineIdPrefix, noteMarkKey, noteSeparatorAreaBox, noteStoryBlocks, pagesToMaterialize, paragraphFragmentsOf, paragraphFragmentsOfBlocks, paragraphLayoutKey, paragraphMarkDeleted, paragraphShading, paragraphShadingBox, positionPastDeletion, projectedNoteMarkText, provisionalNoteMarks, readNumPr, readTableStructure, resetGraphemeBoundary, resolveDefaultSurfaceMeasurer, resolveDefaultWordBoundary, resolveNumberingLevel, resolveOoxmlShadingFill, resolveParagraphLayoutInputs, resolveStoryListItems, resolveStrictHexFill, reviewAnchorIndex, reviewItemGeometry, revisionRemovesParagraph, roundFontUnitToFixedPoint, segmentGraphemes, segmentWords, selectionRects, semanticHorizontalBoundaries, setGraphemeBoundary, setHarfBuzzWasmUrl, sha256FontBytes, shadingFillFromElement, shapedHorizontalBoundaries, storyBlocks, syntheticSeparatorBox, tableOriginX, tocFieldChromeParagraphIds, tryCreateCanvasMeasurer, unionLayoutBoxes, utf16OffsetToGrapheme, walkStoryParagraphs, withNumberingStyleLinks, withResolvedListItems, wordBoundary, wordSegmentsToGraphemeRecords };
|
|
2865
|
+
export { AUTO_PREFERRED_WIDTH, type AbstractNumDefinition, type BidiEmbeddingLevels, BlockFragmentRecord, CELL_PAD, COMPOUND_BORDER_MIN_GAP_PT, COMPOUND_BORDER_MIN_STROKE_PT, type CanvasMeasurerOptions, type CanvasTextContext, type CanvasTextMetrics, type CascadedParagraphFormatting, CellBorderBox, type CellMarginsPt, type CellVerticalAlign, type CompoundBorderMetrics, ContentControlBoundaryRecord$1 as ContentControlBoundaryRecord, type ContentControlFragmentRecord, ContentControlLock, DEFAULT_CANVAS_FONT_STACK, DEFAULT_CELL_MARGINS, EMPTY_NUMBERING_INDEX, FieldLinkProjector, FixedPoint, FixedPointRoundingMode, FontByteValidator, type FontSlot, GRAPHEME_SEGMENTER_LOCALE, type GraphemeBoundary, type GraphemeSegment, type GraphemeWordSegmentRecord, HARFBUZZ_SHAPING_LIBRARY, type HarfBuzzFaceCacheEvent, type HarfBuzzOutlineCacheEvent, type HarfBuzzShapeCacheEvent, HarfBuzzShapingError, type HarfBuzzShapingErrorCode, type HarfBuzzTextShaper, type HarfBuzzTextShaperInstrumentation, type HarfBuzzTextShaperOptions, type HeaderFooterVariantName, HyperlinkProjector, type KeyedRange, LayoutBox, type LayoutCacheStats, type LayoutScheduler, type LayoutSchedulerOptions, type LayoutScope, type LayoutSession, type LayoutSessionStats, type LevelOverride, LineRecord, type ListCounterAdvance, type ListCounterState, type ListMarkerAlign, type ListSuffix, MAX_EACH_PAGE_MARK_CANDIDATES, MAX_LVL_OVERRIDES, MAX_LVL_TEXT_LENGTH, MAX_MARKER_TEXT_LENGTH, MAX_NOTES_LAID_OUT, MAX_NOTE_FRAGMENTS, MAX_NOTE_OVERFLOW_PAGES, MAX_NOTE_REFLOW_ATTEMPTS, MAX_NUMBERING_DEFINITIONS, MAX_STYLE_BASED_ON_DEPTH, MAX_STYLE_DEFINITIONS, MAX_TABLE_COLUMNS, MAX_TABLE_NESTING, MAX_TABLE_ROW_FRAGMENTS, MAX_TABLE_ROW_HEIGHT_PT, type MaterializationInput, type NoteDisplayMark, type NoteLayoutFallbackReason, type NoteMarkContext, type NotePaginationFallbackReason, type NoteReferenceSite, type NoteSeparatorLayout, type NoteSeparatorRuleStyle, type NoteStoryDrawings, type NoteStoryLayout, type NotesAttachResult, type NotesLayoutInput, type NumDefinition, type NumberingIndex, type NumberingLevel, type NumberingLevelIndent, type PageFurniture, PageGeometry, PageRecord, type PageRefIndex, ParagraphBorderEdge, ParagraphBorders, ParagraphFragmentRecord, type ParagraphKeyInputs, type ParagraphLayoutCache, type ParagraphLayoutCacheOptions, type ParagraphLayoutInputs, ParagraphLineSpacing, ParagraphSpacing, type PreferredWidth, type PreferredWidthType, type ResolvedListItem, ResolvedRunStyle, type ResolvedSurfaceMeasurer, ResolvedTabStops, ReviewItem, type ReviewParagraphAnchor, RevisionAttribution, RevisionDisplayMode, type ScriptItem, SectionColumns, SelectionRect, SemanticLayout, type SemanticLayoutOptions, SemanticPosition, SemanticSelection, type SemanticTableCell, type SemanticTableRow, type SemanticTableStructure, ShapedRun, type StyleCascadeTable, type StyleDefinition, StyleSpanRecord, type TableAlignment, TableBorderBox, TableBorderSide, type TableCellStyleFormatting, TablePaginationError, type TablePaginationErrorCode, type TableRowHeight, type TableRowHeightRule, TextDirection, TextMeasurer, TextShaper, UnsupportedScriptError, VersionedShapingLibrary, type ViewportWindow, WORD_SEGMENTER_LOCALE, type WordBoundary, type WordBoundaryResolverDeps, type WordSegment, anchorLineY, attachNotesToLayout, boundedFallbackWordSegments, buildNumberingIndex, buildPageRefIndex, buildStyleCascadeTable, cascadeParagraphFormatting, cascadeRunProperties, cascadedBottomBorder, clampListValue, computeDoubleBorderMetricsPt, computeFootnoteReserves, contentControlBoundaries, contentControlHoldingParagraph, contentControlRecordsInPart, contentControlsOfLayout, createBoundedFallbackWordBoundary, createDefaultWordBoundary, createFixedMeasurer, createHarfBuzzTextShaper, createIntlWordBoundary, createLayoutScheduler, createLayoutSession, createListCounterState, createParagraphLayoutCache, defaultNoteSeparatorRuleStyle, deriveNoteDisplayMarks, deriveNoteDisplayMarksResolved, documentOrder, effectiveBorderSide, effectiveContentControlLock, emptyTocPlaceholderParagraphIds, emptyTocSuppressedResultParagraphIds, everyStoryOrder, expandLvlText, filterRefsOnPage, findSeparatorNote, formatDecimal, formatDecimalZero, formatLowerLetter, formatLowerRoman, formatNumFmt, formatPageNumber, formatUpperLetter, formatUpperRoman, fragmentOwnsAtomOffset, fragmentsOfParagraph, graphemeBoundaryEpoch, graphemeCount, graphemeOffsetToUtf16, harfBuzzFontValidator, initializeHarfBuzz, intlGraphemeBoundary, isCanvasMeasurementAvailable, isCumulativeGeometryTrustedFromLineOrigin, isGeometryTrustedCaretOffset, isHarfBuzzInitialized, isIntlSegmenterAvailable, isIntlWordSegmenterAvailable, isMarkerOnlySeparatorNote, isValidStyleId, isWholeGraphemeHorizontalBoundary, itemizeScriptFontSlots, keyedRangeRects, layoutHeaderFooterStory, layoutNoteById, layoutNoteSeparator, layoutNoteStory, layoutSemanticDocument, lineAtPosition, linesOf, listMarkerBox, mergeListIndent, normalNotesOf, noteDisplayMarkMap, noteLineIdPrefix, noteMarkKey, noteSeparatorAreaBox, noteStoryBlocks, pagesToMaterialize, paragraphFragmentsOf, paragraphFragmentsOfBlocks, paragraphLayoutKey, paragraphMarkDeleted, paragraphShading, paragraphShadingBox, positionPastDeletion, projectedNoteMarkText, provisionalNoteMarks, readNumPr, readTableStructure, resetGraphemeBoundary, resolveDefaultSurfaceMeasurer, resolveDefaultWordBoundary, resolveNumberingLevel, resolveOoxmlShadingFill, resolveParagraphLayoutInputs, resolveStoryListItems, resolveStrictHexFill, reviewAnchorIndex, reviewItemGeometry, revisionRemovesParagraph, roundFontUnitToFixedPoint, segmentGraphemes, segmentWords, selectionRects, semanticHorizontalBoundaries, setGraphemeBoundary, setHarfBuzzWasmUrl, sha256FontBytes, shadingFillFromElement, shapedHorizontalBoundaries, storyBlocks, syntheticSeparatorBox, tableOriginX, tocFieldChromeParagraphIds, tryCreateCanvasMeasurer, unionLayoutBoxes, utf16OffsetToGrapheme, walkStoryParagraphs, withNumberingStyleLinks, withResolvedListItems, wordBoundary, wordSegmentsToGraphemeRecords };
|
package/dist/layout.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{na as AUTO_PARAGRAPH_SPACING_PT,Zb as AUTO_PREFERRED_WIDTH
|
|
1
|
+
export{na as AUTO_PARAGRAPH_SPACING_PT,Zb as AUTO_PREFERRED_WIDTH,_b as CELL_PAD,ha as COMPOUND_BORDER_MIN_GAP_PT,ga as COMPOUND_BORDER_MIN_STROKE_PT,Gd as DEFAULT_CANVAS_FONT_STACK,$b as DEFAULT_CELL_MARGINS,fa as DEFAULT_PAGE_GEOMETRY,lb as DEFAULT_REVISION_DISPLAY_MODE,fb as DEFAULT_RUN_STYLE,Yc as DEFAULT_SECTION_PROPERTIES,La as DEFAULT_TAB_INTERVAL_PT,Ka as DEFAULT_TAB_INTERVAL_TWIPS,yc as DEFAULT_VERTICAL_WEIGHT,ic as EMPTY_NUMBERING_INDEX,Na as EMPTY_TAB_STOPS,d as FontResolutionError,w 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 HARFBUZZ_SHAPING_LIBRARY,q as HarfBuzzShapingError,ma as MAX_BORDER_SPACE_PT,la as MAX_BORDER_WIDTH_PT,Xc as MAX_DOCUMENT_SECTIONS,wd as MAX_EACH_PAGE_MARK_CANDIDATES,fc as MAX_LVL_OVERRIDES,Wa as MAX_LVL_TEXT_LENGTH,Va as MAX_MARKER_TEXT_LENGTH,id as MAX_NOTES_LAID_OUT,jd as MAX_NOTE_FRAGMENTS,vd as MAX_NOTE_OVERFLOW_PAGES,ud as MAX_NOTE_REFLOW_ATTEMPTS,ec as MAX_NUMBERING_DEFINITIONS,ka as MAX_PARAGRAPH_SPACING_PT,Db as MAX_STYLE_BASED_ON_DEPTH,Eb as MAX_STYLE_DEFINITIONS,Rb as MAX_TABLE_BORDER_STROKES,ac as MAX_TABLE_NESTING,Oc as MAX_TABLE_ROW_FRAGMENTS,bc as MAX_TABLE_ROW_HEIGHT_PT,Ja as MAX_TAB_POSITION_TWIPS,Ia as MAX_TAB_STOPS,pa as PARAGRAPH_BORDER_SIDES,W as ResolvedCache,oa as SINGLE_LINE_SPACING,Ma as TAB_LEADER_GLYPH,Pc as TablePaginationError,u as UnsupportedScriptError,L as WORD_SEGMENTER_LOCALE,Md as anchorLineY,Ca as appliedSpaceBefore,ta as applyLineSpacing,Bd as attachNotesToLayout,kb as baselineShiftPtOf,Yb as borderExtentPt,Vb as borderWeight,za as bottomBorderExtentPt,O as boundedFallbackWordSegments,f as boundedStructuralFontValidator,gc as buildNumberingIndex,yd as buildPageRefIndex,Gb as buildStyleCascadeTable,U as captureOperationSnapshot,ae as caretAt,Hc as caretBoxOnLine,_d as caretStops,$d as caretStopsForBlocks,Hb as cascadeParagraphFormatting,Jb as cascadeRunProperties,Ib as cascadedBottomBorder,wa as cascadedParagraphBorders,Oa as cascadedTabStops,je as cellSelectionBetween,ne as cellSelectionRects,oe as cellSelectionText,Xa as clampListValue,Ba as collapsedSpaceBefore,he as compositionAnchor,ia as computeDoubleBorderMetricsPt,Ad as computeFootnoteReserves,Ec as contentControlAtPoint,ce as contentControlAtSemantic,Ld as contentControlBoundaries,Wc as contentControlHoldingParagraph,Vc as contentControlRecordsInPart,de as contentControlsInLayout,ca as contentControlsOfLayout,P as createBoundedFallbackWordBoundary,Q as createDefaultWordBoundary,Ed as createFixedMeasurer,g as createFontResourceSnapshot,t as createHarfBuzzTextShaper,N as createIntlWordBoundary,Rd as createLayoutScheduler,Dd as createLayoutSession,jc as createListCounterState,yb as createParagraphLayoutCache,Pd as createShapedMeasurer,l as createShapedRun,i as createShapingEnvironment,pd as defaultNoteSeparatorRuleStyle,Ra as defaultTabIntervalFromSettings,fe as deletedTextBoundaries,fd as deriveNoteDisplayMarks,gd as deriveNoteDisplayMarksResolved,hb as displayText,sc as documentOrder,Qb as effectiveBorderSide,ea as effectiveContentControlLock,Sc as emptyTocPlaceholderParagraphIds,Tc as emptyTocSuppressedResultParagraphIds,cd as enumerateDocumentSections,dd as enumerateDocumentSectionsBounded,tc as everyStoryOrder,db as expandLvlText,zd as filterRefsOnPage,Ic as findDrawingOverlayFrameInLayout,md as findSeparatorNote,h as fixedPoint,e as fontRequestKey,Ya as formatDecimal,Za as formatDecimalZero,bb as formatLowerLetter,$a as formatLowerRoman,cb as formatNumFmt,eb as formatPageNumber,sb as formatRevisionOf,ab as formatUpperLetter,_a as formatUpperRoman,xd as fragmentOwnsAtomOffset,aa as fragmentsOfParagraph,ed as geometryOfSection,z as graphemeBoundaryEpoch,D as graphemeCount,F as graphemeOffsetToUtf16,V as guardOperationSnapshot,r as harfBuzzFontValidator,Bc as hitTestPage,be as hitTestSemantic,Dc as hitTestSheet,o as initializeHarfBuzz,y as intlGraphemeBoundary,Id as isCanvasMeasurementAvailable,J as isCumulativeGeometryTrustedFromLineOrigin,Ac as isFurniturePoint,I as isGeometryTrustedCaretOffset,p as isHarfBuzzInitialized,x as isIntlSegmenterAvailable,M as isIntlWordSegmenterAvailable,qd as isMarkerOnlySeparatorNote,Fb as isValidStyleId,H as isWholeGraphemeHorizontalBoundary,v as itemizeScriptFontSlots,Ud as keyedRangeRects,wb as layoutEquation,Uc as layoutHeaderFooterStory,od as layoutNoteById,rd as layoutNoteSeparator,nd as layoutNoteStory,Fd as layoutSemanticDocument,ba as lineAtPosition,Fc as lineEndOffset,Z as linesOf,rc as listMarkerBox,qb as markRevisionRemovesMark,ib as measureDisplayText,nc as mergeListIndent,ge as moveCaret,Sa as nextTabDestination,ld as normalNotesOf,hd as noteDisplayMarkMap,kd as noteLineIdPrefix,ub as noteMarkKey,td as noteSeparatorAreaBox,Pb as noteStoryBlocks,zc as pageAtY,Qd as pagesToMaterialize,ya as paragraphBorderExtentPt,xa as paragraphBorderStrokeWidthPt,va as paragraphBorders,Aa as paragraphBordersFingerprint,ja as paragraphBreaksBefore,ua as paragraphContextualSpacing,X as paragraphFragmentsOf,Y as paragraphFragmentsOfBlocks,xb as paragraphLayoutKey,sa as paragraphLineSpacing,Mb as paragraphMarkDeleted,ob as paragraphMarkFormatRevisionOf,rb as paragraphMarkRevisionOf,nb as paragraphMarkRevisionsOf,ad as paragraphSectionNode,Ga as paragraphShading,Ha as paragraphShadingBox,ra as paragraphSpacing,Pa as paragraphTabStops,ee as paragraphTextFromLayout,le as paragraphsInCells,Zc as parsePageNumbering,_c as parseSectionProperties,Yd as positionPastDeletion,vb as projectedNoteMarkText,Cd as provisionalNoteMarks,Sb as readBorderSide,Ub as readCellBorders,lc as readNumPr,bd as readSectionProperties,Tb as readTableBorders,dc as readTableStructure,C as resetGraphemeBoundary,Wb as resolveBorderConflict,Kd as resolveDefaultSurfaceMeasurer,R as resolveDefaultWordBoundary,hc as resolveNumberingLevel,Ea as resolveOoxmlShadingFill,Kb as resolveParagraphLayoutInputs,gb as resolveRunStyle,pc as resolveStoryListItems,Da as resolveStrictHexFill,Xb as resolveTableCellBorderGrid,Nd as reviewAnchorIndex,Od as reviewItemGeometry,Nb as revisionRemovesParagraph,tb as revisionsAreDeletion,mb as revisionsVisible,s as roundFontUnitToFixedPoint,jb as runStylesEqual,A as segmentGraphemes,S as segmentWords,Sd as selectionRects,K as semanticHorizontalBoundaries,B as setGraphemeBoundary,Fa as shadingFillFromElement,G as shapedHorizontalBoundaries,m as shapedRunComparatorInputs,k as shapingEnvironmentFingerprint,j as shapingEnvironmentFingerprintInputs,pb as shownMarkRevision,Gc as spanOffsetX,me as spansInCells,ie as spansInSelection,Ob as storyBlocks,sd as syntheticSeparatorBox,Ta as tabAdvanceWidth,Ua as tabStopsFingerprint,pe as tableContextAt,cc as tableOriginX,Rc as tocFieldChromeParagraphIds,Jd as tryCreateCanvasMeasurer,da as unionLayoutBoxes,E as utf16OffsetToGrapheme,oc as walkStoryParagraphs,Qa as withDefaultTabInterval,mc as withNumberingStyleLinks,qc as withResolvedListItems,Zd as wordBoundary,T as wordSegmentsToGraphemeRecords}from'./chunk-WXQ245MQ.js';export{a as setHarfBuzzWasmUrl}from'./chunk-WU7PUTVA.js';import'./chunk-6HMSC7UV.js';export{$ as activeReviewItem,ba as commentBodyText,ca as commentInitials,Y as firstReviewRange,ha as paragraphOrderOfPart,W as reviewItemKey,Z as reviewItemPositionRank,X as reviewItemRanges,_ as reviewItemsAt,aa as reviewThreadRootOf}from'./chunk-X7A5XART.js';export{jc as MAX_SDT_NESTING,yg as MAX_TABLE_COLUMNS,Kf as W15_NAMESPACE_URI,oc as collectFlowBlocks,nc as contentControlContentChildren,kc as isContentControl,lc as isContentControlContent,a as sha256FontBytes}from'./chunk-34BNQUD4.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { O as OoxmlPart, a as OoxmlNode,
|
|
1
|
+
import { O as OoxmlPart, a as OoxmlNode, b as OoxmlPackage } from './tree-op-types-DnzAOnc9.js';
|
|
2
2
|
|
|
3
3
|
/** `w:pos` — where a section's footnotes are laid out. */
|
|
4
4
|
type FootnotePosition = 'pageBottom' | 'beneathText' | 'sectEnd' | 'docEnd';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { O as OoxmlPart, a as OoxmlNode,
|
|
1
|
+
import { O as OoxmlPart, a as OoxmlNode, b as OoxmlPackage } from './tree-op-types-BPyXNxyL.cjs';
|
|
2
2
|
|
|
3
3
|
/** `w:pos` — where a section's footnotes are laid out. */
|
|
4
4
|
type FootnotePosition = 'pageBottom' | 'beneathText' | 'sectEnd' | 'docEnd';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c as OoxmlNodeId, d as OoxmlGenericElementNode, a as OoxmlNode } from './tree-op-types-DnzAOnc9.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";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c as OoxmlNodeId, d as OoxmlGenericElementNode, a as OoxmlNode } from './tree-op-types-BPyXNxyL.cjs';
|
|
2
2
|
|
|
3
3
|
/** Office Math Markup Language namespace. */
|
|
4
4
|
declare const OFFICE_MATH_NAMESPACE_URI = "http://schemas.openxmlformats.org/officeDocument/2006/math";
|
package/dist/output.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkJUQOPVSK_cjs=require('./chunk-JUQOPVSK.cjs');require('./chunk-UQFOYZJO.cjs'),require('./chunk-GRDFEH5Q.cjs'),require('./chunk-76Y3Y45J.cjs'),require('./chunk-GWV65NQW.cjs');Object.defineProperty(exports,"DEFAULT_FIELD_SHADING",{enumerable:true,get:function(){return chunkJUQOPVSK_cjs.i}});Object.defineProperty(exports,"paintSelectionOverlay",{enumerable:true,get:function(){return chunkJUQOPVSK_cjs.m}});Object.defineProperty(exports,"paintSemanticLayout",{enumerable:true,get:function(){return chunkJUQOPVSK_cjs.k}});
|
package/dist/output.d.cts
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import { R as ReviewAuthorInfo } from './semantic-paint-
|
|
2
|
-
export { D as DEFAULT_FIELD_SHADING, F as FieldShadingMode, P as PaintOptions, a as RevisionAuthorAssignments, b as RevisionAuthorStyle, c as RevisionStyles, p as paintSemanticLayout } from './semantic-paint-
|
|
3
|
-
import { S as SemanticLayout } from './semantic-records-
|
|
4
|
-
import './
|
|
5
|
-
import './tree-op-types-D1vNJ7XC.cjs';
|
|
1
|
+
import { R as ReviewAuthorInfo } from './semantic-paint-UHaj3sBY.cjs';
|
|
2
|
+
export { D as DEFAULT_FIELD_SHADING, F as FieldShadingMode, P as PaintOptions, a as RevisionAuthorAssignments, b as RevisionAuthorStyle, c as RevisionStyles, p as paintSemanticLayout } from './semantic-paint-UHaj3sBY.cjs';
|
|
3
|
+
import { S as SemanticLayout } from './semantic-records-5AOQJmLX.cjs';
|
|
4
|
+
import './tree-op-types-BPyXNxyL.cjs';
|
|
6
5
|
import './contracts/types.cjs';
|
|
7
|
-
import './
|
|
8
|
-
import './
|
|
9
|
-
import './omml-equation-BD-LsmWE.cjs';
|
|
6
|
+
import './revision-projection-C2S8PSQm.cjs';
|
|
7
|
+
import './omml-equation-CqQOt_dD.cjs';
|
|
10
8
|
|
|
11
9
|
/** A rectangle in page-content coordinates, on a named page. */
|
|
12
10
|
interface OverlayRect {
|
package/dist/output.d.ts
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import { R as ReviewAuthorInfo } from './semantic-paint-
|
|
2
|
-
export { D as DEFAULT_FIELD_SHADING, F as FieldShadingMode, P as PaintOptions, a as RevisionAuthorAssignments, b as RevisionAuthorStyle, c as RevisionStyles, p as paintSemanticLayout } from './semantic-paint-
|
|
3
|
-
import { S as SemanticLayout } from './semantic-records-
|
|
4
|
-
import './
|
|
5
|
-
import './tree-op-types-CnRb7AYo.js';
|
|
1
|
+
import { R as ReviewAuthorInfo } from './semantic-paint-vA-oLSdV.js';
|
|
2
|
+
export { D as DEFAULT_FIELD_SHADING, F as FieldShadingMode, P as PaintOptions, a as RevisionAuthorAssignments, b as RevisionAuthorStyle, c as RevisionStyles, p as paintSemanticLayout } from './semantic-paint-vA-oLSdV.js';
|
|
3
|
+
import { S as SemanticLayout } from './semantic-records-9xhwbJ23.js';
|
|
4
|
+
import './tree-op-types-DnzAOnc9.js';
|
|
6
5
|
import './contracts/types.js';
|
|
7
|
-
import './
|
|
8
|
-
import './
|
|
9
|
-
import './omml-equation-Dd3mBep-.js';
|
|
6
|
+
import './revision-projection-Ae2CWa8E.js';
|
|
7
|
+
import './omml-equation-Ciq5rgb7.js';
|
|
10
8
|
|
|
11
9
|
/** A rectangle in page-content coordinates, on a named page. */
|
|
12
10
|
interface OverlayRect {
|
package/dist/output.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{i as DEFAULT_FIELD_SHADING,m as paintSelectionOverlay,k as paintSemanticLayout}from'./chunk-GXLZCXEH.js';import'./chunk-WXQ245MQ.js';import'./chunk-WU7PUTVA.js';import'./chunk-6HMSC7UV.js';import'./chunk-X7A5XART.js';import'./chunk-34BNQUD4.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { H as HeaderFooterVariant } from './
|
|
2
|
-
import { N as NoteKind } from './
|
|
1
|
+
import { H as HeaderFooterVariant } from './tree-package-fragment-BjZ3RWAS.cjs';
|
|
2
|
+
import { N as NoteKind } from './tree-store-DfZi7FqY.cjs';
|
|
3
3
|
|
|
4
4
|
/** Alignment as this protocol publishes it. `Mixed`/`Unknown` are read-only answers. */
|
|
5
5
|
type AutomationAlignment = 'Mixed' | 'Unknown' | 'Left' | 'Centered' | 'Right' | 'Justified';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { H as HeaderFooterVariant } from './
|
|
2
|
-
import { N as NoteKind } from './
|
|
1
|
+
import { H as HeaderFooterVariant } from './tree-package-fragment-CDER0G3B.js';
|
|
2
|
+
import { N as NoteKind } from './tree-store-CNZ3O83s.js';
|
|
3
3
|
|
|
4
4
|
/** Alignment as this protocol publishes it. `Mixed`/`Unknown` are read-only answers. */
|
|
5
5
|
type AutomationAlignment = 'Mixed' | 'Unknown' | 'Left' | 'Centered' | 'Right' | 'Justified';
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { R as RevisionAddress } from './tree-op-types-CnRb7AYo.js';
|
|
1
|
+
import { g as OoxmlElement, O as OoxmlPart, b as OoxmlPackage, R as RevisionAddress } from './tree-op-types-BPyXNxyL.cjs';
|
|
3
2
|
|
|
4
3
|
/** The `w15` namespace: `commentsExtended.xml` — thread parent and resolved state. */
|
|
5
4
|
declare const W15_NAMESPACE_URI = "http://schemas.microsoft.com/office/word/2012/wordml";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { R as RevisionAddress } from './tree-op-types-D1vNJ7XC.cjs';
|
|
1
|
+
import { g as OoxmlElement, O as OoxmlPart, b as OoxmlPackage, R as RevisionAddress } from './tree-op-types-DnzAOnc9.js';
|
|
3
2
|
|
|
4
3
|
/** The `w15` namespace: `commentsExtended.xml` — thread parent and resolved state. */
|
|
5
4
|
declare const W15_NAMESPACE_URI = "http://schemas.microsoft.com/office/word/2012/wordml";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as OoxmlNode,
|
|
2
|
-
import { C as CommentRecord, f as ReviewRange, R as ReviewModelInput, a as ReviewItem, e as ReviewPosition, h as CommentThreadState, c as ReviewCommentItem, b as ReviewRevisionItem } from './review-items-
|
|
1
|
+
import { a as OoxmlNode, g as OoxmlElement, h as OoxmlContentControlNode, d as OoxmlGenericElementNode, i as OoxmlContentControlContentNode, O as OoxmlPart } from './tree-op-types-BPyXNxyL.cjs';
|
|
2
|
+
import { C as CommentRecord, f as ReviewRange, R as ReviewModelInput, a as ReviewItem, e as ReviewPosition, h as CommentThreadState, c as ReviewCommentItem, b as ReviewRevisionItem } from './review-items-BdeLNRi2.cjs';
|
|
3
3
|
|
|
4
4
|
/** Nested content-control wrappers deeper than this stop flattening; content stays preserved. */
|
|
5
5
|
declare const MAX_CONTENT_CONTROL_NESTING = 32;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as OoxmlNode,
|
|
2
|
-
import { C as CommentRecord, f as ReviewRange, R as ReviewModelInput, a as ReviewItem, e as ReviewPosition, h as CommentThreadState, c as ReviewCommentItem, b as ReviewRevisionItem } from './review-items-
|
|
1
|
+
import { a as OoxmlNode, g as OoxmlElement, h as OoxmlContentControlNode, d as OoxmlGenericElementNode, i as OoxmlContentControlContentNode, O as OoxmlPart } from './tree-op-types-DnzAOnc9.js';
|
|
2
|
+
import { C as CommentRecord, f as ReviewRange, R as ReviewModelInput, a as ReviewItem, e as ReviewPosition, h as CommentThreadState, c as ReviewCommentItem, b as ReviewRevisionItem } from './review-items-CkYyXhXM.js';
|
|
3
3
|
|
|
4
4
|
/** Nested content-control wrappers deeper than this stop flattening; content stays preserved. */
|
|
5
5
|
declare const MAX_CONTENT_CONTROL_NESTING = 32;
|
package/dist/{semantic-cell-selection-BPzx6DdT.d.cts → semantic-cell-selection-C0OFD4D9.d.cts}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { O as OoxmlPart,
|
|
2
|
-
import { P as PageGeometry, I as InlineDrawingRecord, A as AnchoredDrawingRecord, T as TextMeasurer, L as LineRecord, a as StyleSpanRecord, S as SemanticLayout, C as ContentControlBoundaryRecord, b as TableRowFragmentRecord, c as TableCellFragmentRecord } from './semantic-records-
|
|
3
|
-
import { R as RevisionDisplayMode } from './revision-projection-
|
|
4
|
-
import { S as SemanticPosition, C as CaretGeometry, a as SemanticSelection } from './semantic-interaction-
|
|
1
|
+
import { O as OoxmlPart, g as OoxmlElement, a as OoxmlNode } from './tree-op-types-BPyXNxyL.cjs';
|
|
2
|
+
import { P as PageGeometry, I as InlineDrawingRecord, A as AnchoredDrawingRecord, T as TextMeasurer, L as LineRecord, a as StyleSpanRecord, S as SemanticLayout, C as ContentControlBoundaryRecord, b as TableRowFragmentRecord, c as TableCellFragmentRecord } from './semantic-records-5AOQJmLX.cjs';
|
|
3
|
+
import { R as RevisionDisplayMode } from './revision-projection-C2S8PSQm.cjs';
|
|
4
|
+
import { S as SemanticPosition, C as CaretGeometry, a as SemanticSelection } from './semantic-interaction-Cs2jErnt.cjs';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Hard ceiling on sections enumerated from a document (matches write-path
|
package/dist/{semantic-cell-selection-CsHcr-yk.d.ts → semantic-cell-selection-DdmoxC-y.d.ts}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { O as OoxmlPart,
|
|
2
|
-
import { P as PageGeometry, I as InlineDrawingRecord, A as AnchoredDrawingRecord, T as TextMeasurer, L as LineRecord, a as StyleSpanRecord, S as SemanticLayout, C as ContentControlBoundaryRecord, b as TableRowFragmentRecord, c as TableCellFragmentRecord } from './semantic-records-
|
|
3
|
-
import { R as RevisionDisplayMode } from './revision-projection-
|
|
4
|
-
import { S as SemanticPosition, C as CaretGeometry, a as SemanticSelection } from './semantic-interaction-
|
|
1
|
+
import { O as OoxmlPart, g as OoxmlElement, a as OoxmlNode } from './tree-op-types-DnzAOnc9.js';
|
|
2
|
+
import { P as PageGeometry, I as InlineDrawingRecord, A as AnchoredDrawingRecord, T as TextMeasurer, L as LineRecord, a as StyleSpanRecord, S as SemanticLayout, C as ContentControlBoundaryRecord, b as TableRowFragmentRecord, c as TableCellFragmentRecord } from './semantic-records-9xhwbJ23.js';
|
|
3
|
+
import { R as RevisionDisplayMode } from './revision-projection-Ae2CWa8E.js';
|
|
4
|
+
import { S as SemanticPosition, C as CaretGeometry, a as SemanticSelection } from './semantic-interaction-COyhZ9WH.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Hard ceiling on sections enumerated from a document (matches write-path
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { T as TextMeasurer, S as SemanticLayout, B as BlockFragmentRecord, C as ContentControlBoundaryRecord, a as StyleSpanRecord } from './semantic-records-
|
|
1
|
+
import { T as TextMeasurer, S as SemanticLayout, B as BlockFragmentRecord, C as ContentControlBoundaryRecord, a as StyleSpanRecord } from './semantic-records-9xhwbJ23.js';
|
|
2
2
|
|
|
3
3
|
/** A caret position in the model. */
|
|
4
4
|
interface SemanticPosition {
|
|
@@ -102,6 +102,25 @@ type NavigationCommand = 'left' | 'right' | 'up' | 'down' | 'wordLeft' | 'wordRi
|
|
|
102
102
|
* motion in the interaction lane instead of making it a second consumer of the model.
|
|
103
103
|
*/
|
|
104
104
|
declare function paragraphTextFromLayout(layout: SemanticLayout, paragraphId: string): string;
|
|
105
|
+
/**
|
|
106
|
+
* Paragraph offsets a WORD may not run through: the edges of every struck half on screen.
|
|
107
|
+
*
|
|
108
|
+
* Deleted text is the one thing a view paints that does not exist in the document the reader
|
|
109
|
+
* is heading towards — it is the OTHER version, spliced in beside the proposal so the two can
|
|
110
|
+
* be compared. Its characters are therefore not adjacent to their neighbours in any single
|
|
111
|
+
* version, however adjacent they look.
|
|
112
|
+
*
|
|
113
|
+
* A replacement is where that stops being pedantic. Word writes one as a deletion immediately
|
|
114
|
+
* followed by an insertion, with no separator between them, so `ALL CAPS` struck and `fsdfsd`
|
|
115
|
+
* added read as the single word `CAPSfsdfsd`: a double-click on the old text selected the new
|
|
116
|
+
* text with it, across a decision the reader had not taken. Feeding these to `wordBoundary`
|
|
117
|
+
* makes each half its own word.
|
|
118
|
+
*
|
|
119
|
+
* Only the halves this view actually renders contribute. `proposed` paints no deletion, so it
|
|
120
|
+
* has no seams and this answers empty — which is also why the walk reads the LAYOUT rather
|
|
121
|
+
* than the tree.
|
|
122
|
+
*/
|
|
123
|
+
declare function deletedTextBoundaries(layout: SemanticLayout, paragraphId: string): ReadonlySet<number>;
|
|
105
124
|
/** Story-scoped stops are required when navigating inside an open header or footer. */
|
|
106
125
|
interface MoveCaretOptions {
|
|
107
126
|
/** Precomputed active-story stops; body navigation keeps the indexed default. */
|
|
@@ -136,4 +155,4 @@ declare function spansInSelection(layout: SemanticLayout, selection: SemanticSel
|
|
|
136
155
|
*/
|
|
137
156
|
order: readonly string[]): StyleSpanRecord[];
|
|
138
157
|
|
|
139
|
-
export { type CaretGeometry as C, type MoveCaretOptions as M, type NavigationCommand as N, type SemanticPosition as S, type SemanticSelection as a, type SelectionRect as b, type CaretAtOptions as c, caretAt as d, caretStops as e, caretStopsForBlocks as f, compositionAnchor as g, contentControlAtSemantic as h, contentControlsInLayout as i,
|
|
158
|
+
export { type CaretGeometry as C, type MoveCaretOptions as M, type NavigationCommand as N, type SemanticPosition as S, type SemanticSelection as a, type SelectionRect as b, type CaretAtOptions as c, caretAt as d, caretStops as e, caretStopsForBlocks as f, compositionAnchor as g, contentControlAtSemantic as h, contentControlsInLayout as i, deletedTextBoundaries as j, hitTestSemantic as k, moveCaret as m, paragraphTextFromLayout as p, spansInSelection as s };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { T as TextMeasurer, S as SemanticLayout, B as BlockFragmentRecord, C as ContentControlBoundaryRecord, a as StyleSpanRecord } from './semantic-records-
|
|
1
|
+
import { T as TextMeasurer, S as SemanticLayout, B as BlockFragmentRecord, C as ContentControlBoundaryRecord, a as StyleSpanRecord } from './semantic-records-5AOQJmLX.cjs';
|
|
2
2
|
|
|
3
3
|
/** A caret position in the model. */
|
|
4
4
|
interface SemanticPosition {
|
|
@@ -102,6 +102,25 @@ type NavigationCommand = 'left' | 'right' | 'up' | 'down' | 'wordLeft' | 'wordRi
|
|
|
102
102
|
* motion in the interaction lane instead of making it a second consumer of the model.
|
|
103
103
|
*/
|
|
104
104
|
declare function paragraphTextFromLayout(layout: SemanticLayout, paragraphId: string): string;
|
|
105
|
+
/**
|
|
106
|
+
* Paragraph offsets a WORD may not run through: the edges of every struck half on screen.
|
|
107
|
+
*
|
|
108
|
+
* Deleted text is the one thing a view paints that does not exist in the document the reader
|
|
109
|
+
* is heading towards — it is the OTHER version, spliced in beside the proposal so the two can
|
|
110
|
+
* be compared. Its characters are therefore not adjacent to their neighbours in any single
|
|
111
|
+
* version, however adjacent they look.
|
|
112
|
+
*
|
|
113
|
+
* A replacement is where that stops being pedantic. Word writes one as a deletion immediately
|
|
114
|
+
* followed by an insertion, with no separator between them, so `ALL CAPS` struck and `fsdfsd`
|
|
115
|
+
* added read as the single word `CAPSfsdfsd`: a double-click on the old text selected the new
|
|
116
|
+
* text with it, across a decision the reader had not taken. Feeding these to `wordBoundary`
|
|
117
|
+
* makes each half its own word.
|
|
118
|
+
*
|
|
119
|
+
* Only the halves this view actually renders contribute. `proposed` paints no deletion, so it
|
|
120
|
+
* has no seams and this answers empty — which is also why the walk reads the LAYOUT rather
|
|
121
|
+
* than the tree.
|
|
122
|
+
*/
|
|
123
|
+
declare function deletedTextBoundaries(layout: SemanticLayout, paragraphId: string): ReadonlySet<number>;
|
|
105
124
|
/** Story-scoped stops are required when navigating inside an open header or footer. */
|
|
106
125
|
interface MoveCaretOptions {
|
|
107
126
|
/** Precomputed active-story stops; body navigation keeps the indexed default. */
|
|
@@ -136,4 +155,4 @@ declare function spansInSelection(layout: SemanticLayout, selection: SemanticSel
|
|
|
136
155
|
*/
|
|
137
156
|
order: readonly string[]): StyleSpanRecord[];
|
|
138
157
|
|
|
139
|
-
export { type CaretGeometry as C, type MoveCaretOptions as M, type NavigationCommand as N, type SemanticPosition as S, type SemanticSelection as a, type SelectionRect as b, type CaretAtOptions as c, caretAt as d, caretStops as e, caretStopsForBlocks as f, compositionAnchor as g, contentControlAtSemantic as h, contentControlsInLayout as i,
|
|
158
|
+
export { type CaretGeometry as C, type MoveCaretOptions as M, type NavigationCommand as N, type SemanticPosition as S, type SemanticSelection as a, type SelectionRect as b, type CaretAtOptions as c, caretAt as d, caretStops as e, caretStopsForBlocks as f, compositionAnchor as g, contentControlAtSemantic as h, contentControlsInLayout as i, deletedTextBoundaries as j, hitTestSemantic as k, moveCaret as m, paragraphTextFromLayout as p, spansInSelection as s };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as ContentControlBoundaryRecord, S as SemanticLayout } from './semantic-records-
|
|
2
|
-
import { V as ValidatedImageBytesHandle,
|
|
1
|
+
import { C as ContentControlBoundaryRecord, S as SemanticLayout } from './semantic-records-5AOQJmLX.cjs';
|
|
2
|
+
import { V as ValidatedImageBytesHandle, t as RenderableImageMime } from './tree-op-types-BPyXNxyL.cjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Everything a host can say about ONE author's presentation. Every field is optional and
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as ContentControlBoundaryRecord, S as SemanticLayout } from './semantic-records-
|
|
2
|
-
import { V as ValidatedImageBytesHandle,
|
|
1
|
+
import { C as ContentControlBoundaryRecord, S as SemanticLayout } from './semantic-records-9xhwbJ23.js';
|
|
2
|
+
import { V as ValidatedImageBytesHandle, t as RenderableImageMime } from './tree-op-types-DnzAOnc9.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Everything a host can say about ONE author's presentation. Every field is optional and
|