@docx-editor.dev/core 2.20.0 → 2.21.1
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/README.md +38 -59
- package/dist/automation.cjs +1 -1
- package/dist/automation.d.ts +11 -10
- package/dist/automation.js +1 -1
- package/dist/binding.cjs +1 -1
- package/dist/binding.d.ts +9 -9
- package/dist/binding.js +1 -1
- package/dist/chunk-25OQBAKA.js +2 -0
- package/dist/chunk-3B3DQMSL.js +11 -0
- package/dist/chunk-3P3DNJYM.js +5 -0
- package/dist/chunk-3PA64KPK.js +5 -0
- package/dist/chunk-4TYA4RLP.cjs +1 -0
- package/dist/chunk-7N77EN2Z.cjs +2 -0
- package/dist/{chunk-GSEUM6AI.cjs → chunk-AGWWNVIJ.cjs} +1 -1
- package/dist/chunk-AJCCS53D.js +1 -0
- package/dist/chunk-BF2TOG2V.js +1 -0
- package/dist/chunk-DFTVN25X.cjs +5 -0
- package/dist/chunk-DGONGMAV.js +2 -0
- package/dist/chunk-DZYKU2HG.js +1 -0
- package/dist/chunk-E5OUYRNM.cjs +5 -0
- package/dist/chunk-F4H3LC6M.cjs +2 -0
- package/dist/{chunk-CAIWEQLC.js → chunk-FPDIJ4RF.js} +1 -1
- package/dist/chunk-IUTTOBQW.cjs +20 -0
- package/dist/{chunk-OA6LFCTG.cjs → chunk-IYCXQAFT.cjs} +3 -3
- package/dist/chunk-JL3SI5SZ.js +18 -0
- package/dist/chunk-OFWUHH52.js +20 -0
- package/dist/chunk-OKY6JRJL.js +4 -0
- package/dist/{chunk-PIBYJZIH.cjs → chunk-P24FHMQW.cjs} +1 -1
- package/dist/chunk-QBKAOSVF.cjs +18 -0
- package/dist/{chunk-2HQXLL5L.cjs → chunk-RA2TDTEQ.cjs} +1 -1
- package/dist/chunk-S6J4O5XP.js +1 -0
- package/dist/{chunk-WTILOUPG.cjs → chunk-T5B4NMKF.cjs} +1 -1
- package/dist/chunk-TKQH7BNE.cjs +1 -0
- package/dist/{chunk-OHVJYJOA.js → chunk-U5GUJKTS.js} +1 -1
- package/dist/chunk-UKVVUHZL.cjs +1 -0
- package/dist/chunk-XRYSPKKC.js +1 -0
- package/dist/chunk-ZZRCVDQU.cjs +11 -0
- package/dist/collaboration/replication.cjs +1 -1
- package/dist/collaboration/replication.d.ts +13 -4
- package/dist/collaboration/replication.js +1 -1
- package/dist/collaboration.d.ts +4 -3
- package/dist/contracts/document.d.ts +3 -2
- package/dist/contracts/editor.cjs +1 -1
- package/dist/contracts/editor.d.ts +9 -9
- package/dist/contracts/editor.js +1 -1
- package/dist/contracts/interaction.d.ts +2 -2
- package/dist/contracts/modules.cjs +1 -1
- package/dist/contracts/modules.d.ts +9 -7
- package/dist/contracts/modules.js +1 -1
- package/dist/contracts/types.d.ts +2 -1
- package/dist/{custom-node-writes-piokwVR5.d.ts → custom-node-writes-CncR6KfC.d.ts} +2 -2
- package/dist/{document-protection-C6RvCHx-.d.ts → document-protection-DM6mA8Rf.d.ts} +1 -1
- package/dist/{editor-BgtcHulQ.d.ts → editor-BRh7GuZF.d.ts} +33 -30
- package/dist/editor-scope-OHPwVQ5l.d.ts +84 -0
- package/dist/editor.cjs +1 -1
- package/dist/editor.css +1 -1
- package/dist/editor.d.ts +130 -27
- package/dist/editor.js +1 -1
- package/dist/export.cjs +2 -2
- package/dist/export.d.ts +13 -13
- package/dist/export.js +1 -1
- package/dist/{font-resolver-Bv2Z25-J.d.ts → font-resolver-DwuQYj3P.d.ts} +1 -1
- package/dist/{headless-document-view-DHKMN_3Y.d.ts → headless-document-view-C3fc_jV0.d.ts} +2 -2
- package/dist/{image-resources-C51LuAAu.d.ts → image-resources-DxF-SN_8.d.ts} +1 -1
- package/dist/{index-3lr8xXF8.d.ts → index-3pNnG4z4.d.ts} +122 -30
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +18 -18
- package/dist/index.js +1 -1
- package/dist/{layout-shaping-CKBUSaS7.d.ts → layout-shaping-_GGjhhVc.d.ts} +1 -1
- package/dist/layout.cjs +1 -1
- package/dist/layout.d.ts +43 -18
- package/dist/layout.js +1 -1
- package/dist/{note-properties-CcXUgqr8.d.ts → note-properties-CjT31AuP.d.ts} +1 -1
- package/dist/{omml-equation-C5P6Ym3v.d.ts → omml-equation-Bk3OP1fv.d.ts} +1 -1
- package/dist/output.cjs +1 -1
- package/dist/output.d.ts +8 -7
- package/dist/output.js +1 -1
- package/dist/{protocol-CsawNZkt.d.ts → protocol-CrbTIW2Z.d.ts} +2 -2
- package/dist/{review-paragraph-order-BCIqjopY.d.ts → review-paragraph-order-D3KZohIL.d.ts} +1 -1
- package/dist/{revision-projection-BcRnC4Yj.d.ts → revision-projection-kVd7p6Wd.d.ts} +16 -2
- package/dist/{semantic-cell-selection-R9wrenwR.d.ts → semantic-cell-selection-CkSsZHDL.d.ts} +11 -4
- package/dist/{semantic-interaction-B7beVwH7.d.ts → semantic-interaction-Z2Xa68U5.d.ts} +1 -1
- package/dist/{semantic-paint-CLvHwf8y.d.ts → semantic-paint-BHKprI9P.d.ts} +18 -2
- package/dist/{semantic-records-CbXwnS80.d.ts → semantic-records-StH-AnHK.d.ts} +153 -10
- package/dist/store.cjs +1 -1
- package/dist/store.d.ts +468 -439
- package/dist/store.js +1 -1
- package/dist/{note-lifecycle-D4AOFCAt.d.ts → tree-package-fragment-CpEV1gl3.d.ts} +183 -143
- package/dist/{tree-session-contract-DTQxw2zL.d.ts → tree-session-contract-CTT9nM7Z.d.ts} +13 -8
- package/dist/{types-barrel-CEOy-Jv0.d.ts → types-barrel-PwcfEkaX.d.ts} +1481 -1433
- package/package.json +2 -2
- package/dist/chunk-2H4ABRMB.cjs +0 -20
- package/dist/chunk-3EZO3O6I.js +0 -4
- package/dist/chunk-44SIVFJT.cjs +0 -5
- package/dist/chunk-6UCDHGXI.js +0 -1
- package/dist/chunk-7VMVDRRU.js +0 -2
- package/dist/chunk-CEXC2VHI.cjs +0 -1
- package/dist/chunk-CF3JR35B.js +0 -11
- package/dist/chunk-D2V4YBWJ.cjs +0 -2
- package/dist/chunk-D5EHDHYV.js +0 -1
- package/dist/chunk-DGSJZMAE.cjs +0 -11
- package/dist/chunk-EHBPYFRE.js +0 -20
- package/dist/chunk-GOEBQ26R.js +0 -1
- package/dist/chunk-H6WDEAOJ.js +0 -18
- package/dist/chunk-I6LSEDUL.cjs +0 -18
- package/dist/chunk-IW35GWJN.js +0 -1
- package/dist/chunk-JRBGCIR2.js +0 -5
- package/dist/chunk-K5HIOS6J.cjs +0 -3
- package/dist/chunk-KLQXP27K.js +0 -3
- package/dist/chunk-MZFFU66H.cjs +0 -2
- package/dist/chunk-MZPNLIP3.js +0 -2
- package/dist/chunk-OHJQ7GPZ.cjs +0 -1
- package/dist/chunk-P4TGGDK3.js +0 -1
- package/dist/chunk-ZKWRCLT2.cjs +0 -1
- package/dist/editor-scope-DZJT4ukT.d.ts +0 -53
package/dist/layout.d.ts
CHANGED
|
@@ -1,20 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
3
|
-
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-
|
|
4
|
-
import { aC as ImpactClass, i as OoxmlNode, a0 as OoxmlProperty, O as OoxmlPart, a1 as OoxmlElement, W as TreeDocOp, j as OoxmlPackage, b6 as ContentControlKind, b7 as ContentControlLevel, b9 as ContentControlLock$1, b3 as ContentControlDataBinding, a as ReviewItem } from './types-barrel-
|
|
5
|
-
export { a_ as CommentAnchor, a$ as CommentPosition, C as CommentRecord, aV as CommentThreadState, aH as DrawingAccessibility, ai as DrawingHorizontalReferenceFrame, aI as DrawingImageEffects, aJ as DrawingTransform, aj as DrawingVerticalReferenceFrame, a9 as ImageWrapTarget, c as ReviewCommentItem, d as ReviewCustomItem, R as ReviewModelInput, e as ReviewPosition, f as ReviewRange, b as ReviewRevisionItem, g as ReviewRevisionKind, a7 as SourceCrop, aG as TableBorderStyle,
|
|
6
|
-
import { H as HeadlessDocumentView, D as DocumentProperties, r as relationshipTargetIn } from './headless-document-view-
|
|
7
|
-
import {
|
|
8
|
-
export { D as DEFAULT_REVISION_DISPLAY_MODE,
|
|
9
|
-
import { b as ResolvedFootnoteProperties, R as ResolvedEndnoteProperties } from './note-properties-
|
|
10
|
-
import {
|
|
11
|
-
import { a as SectionColumns } from './semantic-cell-selection-
|
|
12
|
-
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 projectedSectionSourceIndexes, J as readSectionProperties, K as spanOffsetX, L as spansInCells, N as tableContextAt } from './semantic-cell-selection-
|
|
13
|
-
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-
|
|
14
|
-
import { S as SemanticPosition, b as SelectionRect, a as SemanticSelection } from './semantic-interaction-
|
|
15
|
-
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-
|
|
16
|
-
import './image-resources-
|
|
17
|
-
import './omml-equation-
|
|
1
|
+
import { m as NumberingLevel, n as NumberingIndex, S as SemanticLayout, o as ParagraphFragmentRecord, p as LayoutBox, D as DrawingPoint, q as DrawingInsets, a as StyleSpanRecord, I as InlineDrawingRecord, M as ModelRange, r as TableBorderSide, B as BlockFragmentRecord, A as AnchoredDrawingRecord, s as PageRecord, t as SemanticTableStructure, L as LineRecord, u as NoteAreaRecord, H as HeaderFooterStoryRecord, v as NoteStoryRecord, C as ContentControlBoundaryRecord$1, w as ContentControlLock, T as TextMeasurer, V as VersionedShapingLibrary, f as TextShaper, x as FontByteValidator, h as FixedPointRoundingMode, y as FixedPoint, l as ShapedRun, z as SourceRange, E as StyleCascadeTable, G as HyperlinkProjector, J as InlineDrawingLayoutContext, K as FieldLinkProjector, O as StoryPageFieldNeeds, Q as RefFieldContext, U as HyperlinkFieldSpec, W as SpanLinkRecord, P as PageGeometry, b as SectionPageBorders, X as ResolvedListItem, Y as PageBorderFrameRecord } from './semantic-records-StH-AnHK.js';
|
|
2
|
+
export { Z as AUTO_PARAGRAPH_SPACING_PT, _ as AUTO_PREFERRED_WIDTH, $ as AbstractNumDefinition, a0 as AnchoredDrawingLayoutFallback, a1 as BidiEmbeddingLevels, a2 as BorderGridGeometry, a3 as CELL_PAD, a4 as CascadedParagraphFormatting, a5 as CellBorderBox, a6 as CellMarginsPt, a7 as CellVerticalAlign, a8 as CjkTypographySettings, a9 as ContentControlGeometryFragment, aa as ContentControlLevel, ab as ContentControlMappedType, ac as DEFAULT_CELL_MARGINS, ad as DEFAULT_PAGE_GEOMETRY, 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 EMPTY_NUMBERING_INDEX, al as EMPTY_TAB_STOPS, am as EquationFractionGeometry, an as EquationGeometry, ao as EquationNaryGeometry, ap as EquationRadicalGeometry, aq as EquationRowGeometry, ar as EquationScriptGeometry, as as EquationSpanRecord, at as EquationTextGeometry, au as FieldAtomMarker, av as FontFingerprintInputs, i as FontRequest, aw as FontResolutionError, ax as FontResolutionErrorCode, ay as FontResourceDefinition, az as FontResourceInstrumentation, F as FontResourceSnapshot, aA as FontResourceSnapshotOptions, aB as FontSlot, k as FontSubstitution, aC as FontValidationResult, aD as GlyphOutline, aE as HARD_MAX_AGGREGATE_FONT_BYTES, aF as HARD_MAX_FONT_BYTES, aG as HARD_MAX_FONT_SOURCES, aH as LevelOverride, aI as LineSpacingRule, aJ as ListMarkerAlign, aK as ListMarkerRecord, aL as ListSuffix, aM as MAX_BORDER_SPACE_PT, aN as MAX_BORDER_WIDTH_PT, aO as MAX_LVL_OVERRIDES, aP as MAX_NUMBERING_DEFINITIONS, aQ as MAX_PARAGRAPH_SPACING_PT, aR as MAX_STYLE_BASED_ON_DEPTH, aS as MAX_STYLE_DEFINITIONS, aT as MAX_TABLE_BORDER_STROKES, aU as MAX_TABLE_NESTING, aV as MAX_TABLE_ROW_HEIGHT_PT, aW as MAX_TAB_POSITION_TWIPS, aX as MAX_TAB_STOPS, N as NormalizationPolicy, aY as NumDefinition, aZ as NumberingLevelIndent, a_ as PAGE_BORDER_SIDES, a$ as PARAGRAPH_BORDER_SIDES, b0 as PageBorderDisplay, b1 as PageBorderOffsetFrom, b2 as PageBorderSide, b3 as PageBorderStrokeRecord, b4 as PageBorderZOrder, b5 as PageRefCalibrationCell, b6 as PageRefFieldProjection, b7 as ParagraphAutoSpacingContext, b8 as ParagraphBorderEdge, b9 as ParagraphBorderSide, ba as ParagraphBorderStrokeRecord, bb as ParagraphBorders, bc as ParagraphBottomBorderRecord, bd as ParagraphIndent, be as ParagraphLayoutInputs, bf as ParagraphLineSpacing, bg as ParagraphSpacing, bh as PreferredWidth, bi as PreferredWidthType, bj as RefFieldSpec, bk as RefNoteParts, bl as ResolvedCellBorders, g as ResolvedFont, R as ResolvedRunStyle, bm as ResolvedTabStops, bn as ResolvedTableBorderEdge, bo as ResolvedTableBorderEdgeSegment, bp as ResolvedUnderline, bq as SINGLE_LINE_SPACING, br as ScriptItem, bs as SemanticArtifactRootStoryKind, bt as SemanticArtifactStoryKind, bu as SemanticCommentArtifactRecord, bv as SemanticReviewArtifactOccurrence, bw as SemanticReviewArtifactOccurrenceGeometry, bx as SemanticReviewArtifactPosition, j as SemanticReviewArtifactRecord, by as SemanticReviewArtifactSource, bz as SemanticTableCell, bA as SemanticTableRow, bB as SemanticTrackedChangeArtifactRecord, bC as ShapeInput, bD as ShapedCluster, bE as ShapedFontSpan, bF as ShapedGlyph, bG as ShapedRunComparatorInputs, bH as ShapedVerticalMetrics, bI as ShapingEnvironment, bJ as ShapingEnvironmentFingerprintInputs, e as ShapingEnvironmentInput, bK as StyleDefinition, bL as TAB_LEADER_GLYPH, bM as TabAlignment, bN as TabDestination, bO as TabLeader, bP as TabStop, bQ as TableAlignment, bR as TableBorderBox, bS as TableBorderSideName, bT as TableBorderStrokeRecord, d as TableCellFragmentRecord, bU as TableCellStyleFormatting, bV as TableFragmentRecord, c as TableRowFragmentRecord, bW as TableRowHeight, bX as TableRowHeightRule, bY as TextDirection, bZ as TextboxStoryFallbackReason, b_ as TextboxStoryLayout, b$ as UnsupportedScriptError, c0 as VerticalAlign, c1 as appliedSpaceBefore, c2 as applyLineSpacing, c3 as baselineShiftPtOf, c4 as borderExtentPt, c5 as borderWeight, c6 as bottomBorderExtentPt, c7 as boundedStructuralFontValidator, c8 as buildNumberingIndex, c9 as buildStyleCascadeTable, ca as cascadeParagraphFormatting, cb as cascadeRunProperties, cc as cascadedBottomBorder, cd as cascadedParagraphBorders, ce as cascadedTabStops, cf as collapsedSpaceBefore, cg as createFontResourceSnapshot, ch as createShapedRun, ci as createShapingEnvironment, cj as defaultTabIntervalFromSettings, ck as displayText, cl as fixedPoint, cm as fontRequestKey, cn as isValidStyleId, co as itemizeScriptFontSlots, cp as layoutEquation, cq as listMarkerBox, cr as measureDisplayText, cs as mergeListIndent, ct as nextTabDestination, cu as pageBordersFingerprint, cv as paragraphBorderExtentPt, cw as paragraphBorderStrokeWidthPt, cx as paragraphBorders, cy as paragraphBordersFingerprint, cz as paragraphBreaksBefore, cA as paragraphContextualSpacing, cB as paragraphLineSpacing, cC as paragraphSpacing, cD as paragraphTabStops, cE as parsePageBorders, cF as parseRefInstruction, cG as readBorderSide, cH as readCellBorders, cI as readNumPr, cJ as readTableBorders, cK as readTableStructure, cL as resolveBorderConflict, cM as resolveNumberingLevel, cN as resolveParagraphLayoutInputs, cO as resolveRunStyle, cP as resolveStoryListItems, cQ as resolveStoryRefFields, cR as resolveTableCellBorderGrid, cS as runStylesEqual, cT as shapedRunComparatorInputs, cU as shapingEnvironmentFingerprint, cV as shapingEnvironmentFingerprintInputs, cW as styleForFontSlot, cX as tabAdvanceWidth, cY as tabStopsFingerprint, cZ as walkStoryParagraphs, c_ as withDefaultTabInterval, c$ as withNumberingStyleLinks, d0 as withResolvedListItems } from './semantic-records-StH-AnHK.js';
|
|
3
|
+
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-_GGjhhVc.js';
|
|
4
|
+
import { aC as ImpactClass, i as OoxmlNode, a0 as OoxmlProperty, O as OoxmlPart, a1 as OoxmlElement, W as TreeDocOp, j as OoxmlPackage, b6 as ContentControlKind, b7 as ContentControlLevel, b9 as ContentControlLock$1, b3 as ContentControlDataBinding, a as ReviewItem } from './types-barrel-PwcfEkaX.js';
|
|
5
|
+
export { a_ as CommentAnchor, a$ as CommentPosition, C as CommentRecord, aV as CommentThreadState, aH as DrawingAccessibility, ai as DrawingHorizontalReferenceFrame, aI as DrawingImageEffects, aJ as DrawingTransform, aj as DrawingVerticalReferenceFrame, a9 as ImageWrapTarget, c as ReviewCommentItem, d as ReviewCustomItem, R as ReviewModelInput, e as ReviewPosition, f as ReviewRange, b as ReviewRevisionItem, g as ReviewRevisionKind, a7 as SourceCrop, aG as TableBorderStyle, dx as VectorShapeComponent, aK as VectorShapeProjection, cp as W15_NAMESPACE_URI, dy as activeReviewItem, cT as firstReviewRange, dn as reviewItemKey, dz as reviewItemPositionRank, dp as reviewItemRanges, dA as reviewItemsAt, dB as reviewThreadRootOf } from './types-barrel-PwcfEkaX.js';
|
|
6
|
+
import { H as HeadlessDocumentView, D as DocumentProperties, r as relationshipTargetIn } from './headless-document-view-C3fc_jV0.js';
|
|
7
|
+
import { c as RevisionAttribution, a as RevisionDisplayMode, b as RevisionAuthorFilter } from './revision-projection-kVd7p6Wd.js';
|
|
8
|
+
export { D as DEFAULT_REVISION_DISPLAY_MODE, d as RevisionFilter, e as RevisionKind, f as formatRevisionOf, m as markRevisionRemovesMark, p as paragraphMarkFormatRevisionOf, g as paragraphMarkRevisionOf, h as paragraphMarkRevisionsOf, r as revisionAuthorFilter, i as revisionsAreDeletion, j as revisionsVisible, s as shownMarkRevision } from './revision-projection-kVd7p6Wd.js';
|
|
9
|
+
import { b as ResolvedFootnoteProperties, R as ResolvedEndnoteProperties } from './note-properties-CjT31AuP.js';
|
|
10
|
+
import { c as TreeModelChange, N as NoteKind, az as noteTypeOf } from './tree-package-fragment-CpEV1gl3.js';
|
|
11
|
+
import { a as SectionColumns } from './semantic-cell-selection-CkSsZHDL.js';
|
|
12
|
+
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 projectedSectionSourceIndexes, J as readSectionProperties, K as spanOffsetX, L as spansInCells, N as tableContextAt } from './semantic-cell-selection-CkSsZHDL.js';
|
|
13
|
+
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-D3KZohIL.js';
|
|
14
|
+
import { S as SemanticPosition, b as SelectionRect, a as SemanticSelection } from './semantic-interaction-Z2Xa68U5.js';
|
|
15
|
+
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-Z2Xa68U5.js';
|
|
16
|
+
import './image-resources-DxF-SN_8.js';
|
|
17
|
+
import './omml-equation-Bk3OP1fv.js';
|
|
18
|
+
import './editor-scope-OHPwVQ5l.js';
|
|
18
19
|
|
|
19
20
|
/**
|
|
20
21
|
* The result of counting ONE list paragraph: the level that applied, the counter vector after it,
|
|
@@ -489,6 +490,8 @@ interface PendingLine {
|
|
|
489
490
|
exclusionSkipBefore?: number;
|
|
490
491
|
/** Tracked anchored-drawing attributions on this line; see {@link LineRecord.anchorRevisions}. */
|
|
491
492
|
anchorRevisions?: readonly RevisionAttribution[];
|
|
493
|
+
/** Revisions a resolved view answered on this line; see {@link LineRecord.changeSites}. */
|
|
494
|
+
changeSites?: readonly RevisionAttribution[];
|
|
492
495
|
}
|
|
493
496
|
|
|
494
497
|
/**
|
|
@@ -2153,6 +2156,15 @@ interface SemanticLayoutOptions {
|
|
|
2153
2156
|
readonly sectionFurniture?: readonly (PageFurniture | undefined)[];
|
|
2154
2157
|
/** Authored column count/gap for anchored `relativeFrom="column"` frame resolution. */
|
|
2155
2158
|
readonly sectionColumns?: SectionColumns;
|
|
2159
|
+
/** Section grid pitch used for line-unit paragraph margins. */
|
|
2160
|
+
readonly paragraphLineUnitPt?: number;
|
|
2161
|
+
/**
|
|
2162
|
+
* This section's resolved `w:pgBorders`, for the frame each of its sheets publishes.
|
|
2163
|
+
*
|
|
2164
|
+
* Section-scoped, not document-scoped: `w:display="firstPage"` means the first page of THIS
|
|
2165
|
+
* section, and multi-section layout hands each pass its own.
|
|
2166
|
+
*/
|
|
2167
|
+
readonly sectionPageBorders?: SectionPageBorders;
|
|
2156
2168
|
/**
|
|
2157
2169
|
* Styles-part cascade table (docDefaults + `w:style` last-wins). Absent keeps direct
|
|
2158
2170
|
* formatting only — the pre-cascade behaviour, used by unit tests that never open a
|
|
@@ -2661,6 +2673,19 @@ declare function reviewItemGeometry(item: ReviewItem, index: ReadonlyMap<string,
|
|
|
2661
2673
|
readonly y: number;
|
|
2662
2674
|
} | null;
|
|
2663
2675
|
|
|
2676
|
+
/**
|
|
2677
|
+
* The frame for one sheet, or undefined when this page does not carry one.
|
|
2678
|
+
*
|
|
2679
|
+
* `isFirstPageOfSection` is the SECTION's first page, not the document's: `w:display` is a
|
|
2680
|
+
* section property, so in a three-section document a `firstPage` frame draws three times.
|
|
2681
|
+
*
|
|
2682
|
+
* The four rules close a rectangle rather than each spanning its own side. Word draws one box,
|
|
2683
|
+
* and horizontal rules that stopped at the text column while the verticals sat outside it read
|
|
2684
|
+
* as two rules with two detached bars beside them — the same thing `w:pBdr` gets right by
|
|
2685
|
+
* spanning from the left rule's outer edge to the right rule's.
|
|
2686
|
+
*/
|
|
2687
|
+
declare function pageBorderFrame(borders: SectionPageBorders | undefined, geometry: PageGeometry, isFirstPageOfSection: boolean): PageBorderFrameRecord | undefined;
|
|
2688
|
+
|
|
2664
2689
|
/** The visible band of the document, in layout units. */
|
|
2665
2690
|
interface ViewportWindow {
|
|
2666
2691
|
/** Distance from the top of the document to the top of the visible area, in layout units. */
|
|
@@ -2705,4 +2730,4 @@ declare function paragraphMarkDeleted(paragraph: OoxmlNode): boolean;
|
|
|
2705
2730
|
*/
|
|
2706
2731
|
declare function revisionRemovesParagraph(paragraph: OoxmlNode, displayMode?: RevisionDisplayMode, authorFilter?: RevisionAuthorFilter): boolean;
|
|
2707
2732
|
|
|
2708
|
-
export { AnchoredDrawingRecord, type AutonumFieldKind, type AutonumFieldSpec, BlockFragmentRecord, COMPOUND_BORDER_MIN_GAP_PT, COMPOUND_BORDER_MIN_STROKE_PT, type CanvasMeasurerOptions, type CanvasTextContext, type CanvasTextMetrics, type CompoundBorderMetrics, ContentControlBoundaryRecord$1 as ContentControlBoundaryRecord, type ContentControlFragmentRecord, ContentControlLock, type CreateDocumentFurnitureSourceOptions, type CreateDocumentNotesInputOptions, DEFAULT_CANVAS_FONT_STACK, type DocumentFurnitureSource, type DocumentLinkProjectors, type DocumentStyleDependencies, DrawingInsets, DrawingPoint, FieldLinkProjector, type FieldLinkRegistry, FixedPoint, FixedPointRoundingMode, FontByteValidator, 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, HeaderFooterStoryRecord, type HeaderFooterVariantName, HyperlinkFieldSpec, HyperlinkProjector, InlineDrawingRecord, type KeyedRange, LayoutBox, type LayoutCacheStats, type LayoutScheduler, type LayoutSchedulerOptions, type LayoutScope, type LayoutSession, type LayoutSessionStats, LineRecord, type LineSegment, type ListCounterAdvance, type ListCounterState, MAX_EACH_PAGE_MARK_CANDIDATES, MAX_LVL_TEXT_LENGTH, MAX_MARKER_TEXT_LENGTH, MAX_NOTES_LAID_OUT, MAX_NOTE_FRAGMENTS, MAX_NOTE_OVERFLOW_PAGES, MAX_NOTE_REFLOW_ATTEMPTS, MAX_TABLE_COLUMNS, MAX_TABLE_ROW_FRAGMENTS, type MaterializationInput, NoteAreaRecord, type NoteDisplayMark, type NoteLayoutFallbackReason, type NoteMarkContext, type NotePaginationFallbackReason, type NoteReferenceSite, type NoteSeparatorLayout, type NoteSeparatorRuleStyle, type NoteStoryDrawings, type NoteStoryLayout, NoteStoryRecord, type NotesAttachResult, type NotesLayoutInput, NumberingIndex, NumberingLevel, type PageFurniture, PageGeometry, PageRecord, type PageRefIndex, ParagraphFragmentRecord, type ParagraphKeyInputs, type ParagraphLayoutCache, type ParagraphLayoutCacheOptions, RefFieldContext, type RefFieldRefreshOptions, type RegisteredFieldLink, ResolvedListItem, type ResolvedSurfaceMeasurer, ReviewItem, type ReviewParagraphAnchor, RevisionAttribution, RevisionAuthorFilter, RevisionDisplayMode, SectionColumns, SelectionRect, type SemanticDrawingLayer, type SemanticDrawingVisit, SemanticLayout, type SemanticLayoutOptions, SemanticPosition, type SemanticRootStoryKind, SemanticSelection, type SemanticSpanVisit, type SemanticStoryKind, type SemanticStoryVisit, SemanticTableStructure, ShapedRun, SourceRange, SpanLinkRecord, type StoryDrawingContext, type StoryDrawingHost, type StoryParagraphFragmentContext, type StoryProjectionDependencies, StyleCascadeTable, StyleSpanRecord, TableBorderSide, TablePaginationError, type TablePaginationErrorCode, TextMeasurer, TextShaper, VersionedShapingLibrary, type ViewportWindow, WORD_SEGMENTER_LOCALE, type WordBoundary, type WordBoundaryResolverDeps, type WordSegment, anchorLineY, attachNotesToLayout, boundedFallbackWordSegments, buildPageRefIndex, clampListValue, computeDoubleBorderMetricsPt, computeFootnoteReserves, contentControlBoundaries, contentControlHoldingParagraph, contentControlRecordsInPart, contentControlsOfLayout, createBoundedFallbackWordBoundary, createDefaultWordBoundary, createDocumentFurnitureSource, createDocumentLinkProjectors, createDocumentNotesInput, createDocumentStyleDependencies, createFieldLinkRegistry, createFixedMeasurer, createHarfBuzzTextShaper, createIntlWordBoundary, createLayoutScheduler, createLayoutSession, createListCounterState, createParagraphLayoutCache, defaultNoteSeparatorRuleStyle, deriveNoteDisplayMarks, deriveNoteDisplayMarksResolved, documentOrder, documentRelationshipTargetIn, effectiveBorderSide, effectiveContentControlLock, emptyTocPlaceholderParagraphIds, emptyTocSuppressedResultParagraphIds, everyStoryOrder, expandLvlText, exportSourceRangeOf, filterRefsOnPage, findSeparatorNote, forEachSemanticDrawing, forEachSemanticSpan, forEachSemanticStory, forEachStoryParagraphFragment, formatDecimal, formatDecimalZero, formatLowerLetter, formatLowerRoman, formatNumFmt, formatPageNumber, formatUpperLetter, formatUpperRoman, fragmentOwnsAtomOffset, fragmentsOfParagraph, graphemeBoundaryEpoch, graphemeCount, graphemeOffsetToUtf16, harfBuzzFontValidator, initializeHarfBuzz, intlGraphemeBoundary, isCanvasMeasurementAvailable, isCumulativeGeometryTrustedFromLineOrigin, isGeometryTrustedCaretOffset, isHarfBuzzInitialized, isIntlSegmenterAvailable, isIntlWordSegmenterAvailable, isMarkerOnlySeparatorNote, isWholeGraphemeHorizontalBoundary, keyedRangeRects, layoutHeaderFooterStory, layoutNoteById, layoutNoteSeparator, layoutNoteStory, layoutSemanticDocument, lineAtPosition, lineSegments, linesOf, normalNotesOf, noteDisplayMarkMap, noteLineIdPrefix, noteMarkKey, noteSeparatorAreaBox, noteStoryBlocks, pageRefPageNumbersFromLayout, pagesToMaterialize, paragraphFragmentsOf, paragraphFragmentsOfBlocks, paragraphLayoutKey, paragraphMarkDeleted, paragraphShading, paragraphShadingBox, parseAutonumInstruction, planRefFieldResultRefresh, positionPastDeletion, projectedNoteMarkText, provisionalNoteMarks, resetGraphemeBoundary, resolveDefaultSurfaceMeasurer, resolveDefaultWordBoundary, resolveOoxmlShadingFill, resolveStrictHexFill, reviewAnchorIndex, reviewItemGeometry, revisionRemovesParagraph, roundFontUnitToFixedPoint, segmentGraphemes, segmentWords, selectionRects, semanticHorizontalBoundaries, setGraphemeBoundary, setHarfBuzzWasmUrl, sha256FontBytes, shadingFillFromElement, shapedHorizontalBoundaries, storyBlocks, syntheticSeparatorBox, tableOriginX, tocFieldChromeParagraphIds, tryCreateCanvasMeasurer, unionLayoutBoxes, utf16OffsetToGrapheme, wordBoundary, wordSegmentsToGraphemeRecords };
|
|
2733
|
+
export { AnchoredDrawingRecord, type AutonumFieldKind, type AutonumFieldSpec, BlockFragmentRecord, COMPOUND_BORDER_MIN_GAP_PT, COMPOUND_BORDER_MIN_STROKE_PT, type CanvasMeasurerOptions, type CanvasTextContext, type CanvasTextMetrics, type CompoundBorderMetrics, ContentControlBoundaryRecord$1 as ContentControlBoundaryRecord, type ContentControlFragmentRecord, ContentControlLock, type CreateDocumentFurnitureSourceOptions, type CreateDocumentNotesInputOptions, DEFAULT_CANVAS_FONT_STACK, type DocumentFurnitureSource, type DocumentLinkProjectors, type DocumentStyleDependencies, DrawingInsets, DrawingPoint, FieldLinkProjector, type FieldLinkRegistry, FixedPoint, FixedPointRoundingMode, FontByteValidator, 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, HeaderFooterStoryRecord, type HeaderFooterVariantName, HyperlinkFieldSpec, HyperlinkProjector, InlineDrawingRecord, type KeyedRange, LayoutBox, type LayoutCacheStats, type LayoutScheduler, type LayoutSchedulerOptions, type LayoutScope, type LayoutSession, type LayoutSessionStats, LineRecord, type LineSegment, type ListCounterAdvance, type ListCounterState, MAX_EACH_PAGE_MARK_CANDIDATES, MAX_LVL_TEXT_LENGTH, MAX_MARKER_TEXT_LENGTH, MAX_NOTES_LAID_OUT, MAX_NOTE_FRAGMENTS, MAX_NOTE_OVERFLOW_PAGES, MAX_NOTE_REFLOW_ATTEMPTS, MAX_TABLE_COLUMNS, MAX_TABLE_ROW_FRAGMENTS, type MaterializationInput, NoteAreaRecord, type NoteDisplayMark, type NoteLayoutFallbackReason, type NoteMarkContext, type NotePaginationFallbackReason, type NoteReferenceSite, type NoteSeparatorLayout, type NoteSeparatorRuleStyle, type NoteStoryDrawings, type NoteStoryLayout, NoteStoryRecord, type NotesAttachResult, type NotesLayoutInput, NumberingIndex, NumberingLevel, PageBorderFrameRecord, type PageFurniture, PageGeometry, PageRecord, type PageRefIndex, ParagraphFragmentRecord, type ParagraphKeyInputs, type ParagraphLayoutCache, type ParagraphLayoutCacheOptions, RefFieldContext, type RefFieldRefreshOptions, type RegisteredFieldLink, ResolvedListItem, type ResolvedSurfaceMeasurer, ReviewItem, type ReviewParagraphAnchor, RevisionAttribution, RevisionAuthorFilter, RevisionDisplayMode, SectionColumns, SectionPageBorders, SelectionRect, type SemanticDrawingLayer, type SemanticDrawingVisit, SemanticLayout, type SemanticLayoutOptions, SemanticPosition, type SemanticRootStoryKind, SemanticSelection, type SemanticSpanVisit, type SemanticStoryKind, type SemanticStoryVisit, SemanticTableStructure, ShapedRun, SourceRange, SpanLinkRecord, type StoryDrawingContext, type StoryDrawingHost, type StoryParagraphFragmentContext, type StoryProjectionDependencies, StyleCascadeTable, StyleSpanRecord, TableBorderSide, TablePaginationError, type TablePaginationErrorCode, TextMeasurer, TextShaper, VersionedShapingLibrary, type ViewportWindow, WORD_SEGMENTER_LOCALE, type WordBoundary, type WordBoundaryResolverDeps, type WordSegment, anchorLineY, attachNotesToLayout, boundedFallbackWordSegments, buildPageRefIndex, clampListValue, computeDoubleBorderMetricsPt, computeFootnoteReserves, contentControlBoundaries, contentControlHoldingParagraph, contentControlRecordsInPart, contentControlsOfLayout, createBoundedFallbackWordBoundary, createDefaultWordBoundary, createDocumentFurnitureSource, createDocumentLinkProjectors, createDocumentNotesInput, createDocumentStyleDependencies, createFieldLinkRegistry, createFixedMeasurer, createHarfBuzzTextShaper, createIntlWordBoundary, createLayoutScheduler, createLayoutSession, createListCounterState, createParagraphLayoutCache, defaultNoteSeparatorRuleStyle, deriveNoteDisplayMarks, deriveNoteDisplayMarksResolved, documentOrder, documentRelationshipTargetIn, effectiveBorderSide, effectiveContentControlLock, emptyTocPlaceholderParagraphIds, emptyTocSuppressedResultParagraphIds, everyStoryOrder, expandLvlText, exportSourceRangeOf, filterRefsOnPage, findSeparatorNote, forEachSemanticDrawing, forEachSemanticSpan, forEachSemanticStory, forEachStoryParagraphFragment, formatDecimal, formatDecimalZero, formatLowerLetter, formatLowerRoman, formatNumFmt, formatPageNumber, formatUpperLetter, formatUpperRoman, fragmentOwnsAtomOffset, fragmentsOfParagraph, graphemeBoundaryEpoch, graphemeCount, graphemeOffsetToUtf16, harfBuzzFontValidator, initializeHarfBuzz, intlGraphemeBoundary, isCanvasMeasurementAvailable, isCumulativeGeometryTrustedFromLineOrigin, isGeometryTrustedCaretOffset, isHarfBuzzInitialized, isIntlSegmenterAvailable, isIntlWordSegmenterAvailable, isMarkerOnlySeparatorNote, isWholeGraphemeHorizontalBoundary, keyedRangeRects, layoutHeaderFooterStory, layoutNoteById, layoutNoteSeparator, layoutNoteStory, layoutSemanticDocument, lineAtPosition, lineSegments, linesOf, normalNotesOf, noteDisplayMarkMap, noteLineIdPrefix, noteMarkKey, noteSeparatorAreaBox, noteStoryBlocks, pageBorderFrame, pageRefPageNumbersFromLayout, pagesToMaterialize, paragraphFragmentsOf, paragraphFragmentsOfBlocks, paragraphLayoutKey, paragraphMarkDeleted, paragraphShading, paragraphShadingBox, parseAutonumInstruction, planRefFieldResultRefresh, positionPastDeletion, projectedNoteMarkText, provisionalNoteMarks, resetGraphemeBoundary, resolveDefaultSurfaceMeasurer, resolveDefaultWordBoundary, resolveOoxmlShadingFill, resolveStrictHexFill, reviewAnchorIndex, reviewItemGeometry, revisionRemovesParagraph, roundFontUnitToFixedPoint, segmentGraphemes, segmentWords, selectionRects, semanticHorizontalBoundaries, setGraphemeBoundary, setHarfBuzzWasmUrl, sha256FontBytes, shadingFillFromElement, shapedHorizontalBoundaries, storyBlocks, syntheticSeparatorBox, tableOriginX, tocFieldChromeParagraphIds, tryCreateCanvasMeasurer, unionLayoutBoxes, utf16OffsetToGrapheme, wordBoundary, wordSegmentsToGraphemeRecords };
|
package/dist/layout.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{$ as DEFAULT_CANVAS_FONT_STACK,d as FontResolutionError,c as HARD_MAX_AGGREGATE_FONT_BYTES,a as HARD_MAX_FONT_BYTES,b as HARD_MAX_FONT_SOURCES,q as HARFBUZZ_SHAPING_LIBRARY,t as HarfBuzzShapingError,y as LayoutShapingConfigurationError,Y as ResolvedCache,N as WORD_SEGMENTER_LOCALE,ia as anchorLineY,Q as boundedFallbackWordSegments,i as boundedStructuralFontValidator,W as captureOperationSnapshot,ra as cellSelectionBetween,va as cellSelectionRects,wa as cellSelectionText,ha as contentControlBoundaries,R as createBoundedFallbackWordBoundary,S as createDefaultWordBoundary,j as createFontResourceSnapshot,w as createHarfBuzzTextShaper,P as createIntlWordBoundary,qa as createLayoutScheduler,oa as createLayoutShapedMeasurer,F as createLayoutShaping,na as createShapedMeasurer,o as createShapedRun,l as createShapingEnvironment,H as disposeLayoutShaping,Z as exportSourceRangeOf,k as fixedPoint,g as fontRequestKey,_ as forEachSemanticSpan,X as guardOperationSnapshot,u as harfBuzzFontValidator,r as initializeHarfBuzz,ba as isCanvasMeasurementAvailable,L as isCumulativeGeometryTrustedFromLineOrigin,K as isGeometryTrustedCaretOffset,s as isHarfBuzzInitialized,O as isIntlWordSegmenterAvailable,J as isWholeGraphemeHorizontalBoundary,E as layoutFontConfigurationFingerprint,ea as pageRefPageNumbersFromLayout,pa as pagesToMaterialize,ta as paragraphsInCells,fa as planRefFieldResultRefresh,C as prepareLayoutFontConfiguration,da as resolveDefaultSurfaceMeasurer,T as resolveDefaultWordBoundary,ja as reviewAnchorIndex,ka as reviewItemGeometry,v as roundFontUnitToFixedPoint,U as segmentWords,M as semanticHorizontalBoundaries,I as shapedHorizontalBoundaries,p as shapedRunComparatorInputs,n as shapingEnvironmentFingerprint,m as shapingEnvironmentFingerprintInputs,ua as spansInCells,xa as tableContextAt,ca as tryCreateCanvasMeasurer,V as wordSegmentsToGraphemeRecords}from'./chunk-
|
|
1
|
+
export{$ as DEFAULT_CANVAS_FONT_STACK,d as FontResolutionError,c as HARD_MAX_AGGREGATE_FONT_BYTES,a as HARD_MAX_FONT_BYTES,b as HARD_MAX_FONT_SOURCES,q as HARFBUZZ_SHAPING_LIBRARY,t as HarfBuzzShapingError,y as LayoutShapingConfigurationError,Y as ResolvedCache,N as WORD_SEGMENTER_LOCALE,ia as anchorLineY,Q as boundedFallbackWordSegments,i as boundedStructuralFontValidator,W as captureOperationSnapshot,ra as cellSelectionBetween,va as cellSelectionRects,wa as cellSelectionText,ha as contentControlBoundaries,R as createBoundedFallbackWordBoundary,S as createDefaultWordBoundary,j as createFontResourceSnapshot,w as createHarfBuzzTextShaper,P as createIntlWordBoundary,qa as createLayoutScheduler,oa as createLayoutShapedMeasurer,F as createLayoutShaping,na as createShapedMeasurer,o as createShapedRun,l as createShapingEnvironment,H as disposeLayoutShaping,Z as exportSourceRangeOf,k as fixedPoint,g as fontRequestKey,_ as forEachSemanticSpan,X as guardOperationSnapshot,u as harfBuzzFontValidator,r as initializeHarfBuzz,ba as isCanvasMeasurementAvailable,L as isCumulativeGeometryTrustedFromLineOrigin,K as isGeometryTrustedCaretOffset,s as isHarfBuzzInitialized,O as isIntlWordSegmenterAvailable,J as isWholeGraphemeHorizontalBoundary,E as layoutFontConfigurationFingerprint,ea as pageRefPageNumbersFromLayout,pa as pagesToMaterialize,ta as paragraphsInCells,fa as planRefFieldResultRefresh,C as prepareLayoutFontConfiguration,da as resolveDefaultSurfaceMeasurer,T as resolveDefaultWordBoundary,ja as reviewAnchorIndex,ka as reviewItemGeometry,v as roundFontUnitToFixedPoint,U as segmentWords,M as semanticHorizontalBoundaries,I as shapedHorizontalBoundaries,p as shapedRunComparatorInputs,n as shapingEnvironmentFingerprint,m as shapingEnvironmentFingerprintInputs,ua as spansInCells,xa as tableContextAt,ca as tryCreateCanvasMeasurer,V as wordSegmentsToGraphemeRecords}from'./chunk-OKY6JRJL.js';export{a as setHarfBuzzWasmUrl}from'./chunk-RIYSCEFQ.js';export{gb as AUTO_PARAGRAPH_SPACING_PT,Kc as AUTO_PREFERRED_WIDTH,Lc as CELL_PAD,ab as COMPOUND_BORDER_MIN_GAP_PT,$a as COMPOUND_BORDER_MIN_STROKE_PT,Mc as DEFAULT_CELL_MARGINS,P as DEFAULT_PAGE_GEOMETRY,Y as DEFAULT_REVISION_DISPLAY_MODE,h as DEFAULT_RUN_STYLE,Yb as DEFAULT_SECTION_PROPERTIES,Ra as DEFAULT_TAB_INTERVAL_PT,Qa as DEFAULT_TAB_INTERVAL_TWIPS,Wc as DEFAULT_VERTICAL_WEIGHT,yc as EMPTY_NUMBERING_INDEX,Ta as EMPTY_TAB_STOPS,n as GRAPHEME_SEGMENTER_LOCALE,fb as MAX_BORDER_SPACE_PT,eb as MAX_BORDER_WIDTH_PT,Xb as MAX_DOCUMENT_SECTIONS,Rd as MAX_EACH_PAGE_MARK_CANDIDATES,vc as MAX_LVL_OVERRIDES,sa as MAX_LVL_TEXT_LENGTH,ra as MAX_MARKER_TEXT_LENGTH,Dd as MAX_NOTES_LAID_OUT,Ed as MAX_NOTE_FRAGMENTS,Qd as MAX_NOTE_OVERFLOW_PAGES,Pd as MAX_NOTE_REFLOW_ATTEMPTS,uc as MAX_NUMBERING_DEFINITIONS,db as MAX_PARAGRAPH_SPACING_PT,Cb as MAX_STYLE_BASED_ON_DEPTH,Db as MAX_STYLE_DEFINITIONS,Cc as MAX_TABLE_BORDER_STROKES,Pc as MAX_TABLE_NESTING,kd as MAX_TABLE_ROW_FRAGMENTS,Qc as MAX_TABLE_ROW_HEIGHT_PT,Pa as MAX_TAB_POSITION_TWIPS,Oa as MAX_TAB_STOPS,Ub as PAGE_BORDER_SIDES,ib as PARAGRAPH_BORDER_SIDES,hb as SINGLE_LINE_SPACING,Sa as TAB_LEADER_GLYPH,ld as TablePaginationError,x as UnsupportedScriptError,vb as appliedSpaceBefore,mb as applyLineSpacing,Wd as attachNotesToLayout,m as baselineShiftPtOf,Jc as borderExtentPt,Gc as borderWeight,sb as bottomBorderExtentPt,wc as buildNumberingIndex,Td as buildPageRefIndex,Eb as buildStyleCascadeTable,ne as caretAt,dd as caretBoxOnLine,le as caretStops,me as caretStopsForBlocks,Fb as cascadeParagraphFormatting,Hb as cascadeRunProperties,Gb as cascadedBottomBorder,pb as cascadedParagraphBorders,Ua as cascadedTabStops,ta as clampListValue,ub as collapsedSpaceBefore,ue as compositionAnchor,bb as computeDoubleBorderMetricsPt,Vd as computeFootnoteReserves,ad as contentControlAtPoint,pe as contentControlAtSemantic,Cd as contentControlHoldingParagraph,Bd as contentControlRecordsInPart,qe as contentControlsInLayout,M as contentControlsOfLayout,pd as createDocumentFurnitureSource,sd as createDocumentLinkProjectors,qd as createDocumentNotesInput,zc as createDocumentStyleDependencies,td as createFieldLinkRegistry,b as createFixedMeasurer,Yd as createLayoutSession,Ma as createListCounterState,La as createParagraphLayoutCache,Kd as defaultNoteSeparatorRuleStyle,Xa as defaultTabIntervalFromSettings,se as deletedTextBoundaries,Rb as deriveNoteDisplayMarks,Sb as deriveNoteDisplayMarksResolved,j as displayText,V as documentOrder,rd as documentRelationshipTargetIn,Bc as effectiveBorderSide,O as effectiveContentControlLock,wd as emptyTocPlaceholderParagraphIds,xd as emptyTocSuppressedResultParagraphIds,cc as enumerateDocumentSections,ec as enumerateDocumentSectionsBounded,W as everyStoryOrder,Ba as expandLvlText,Ud as filterRefsOnPage,ed as findDrawingOverlayFrameInLayout,Hd as findSeparatorNote,I as forEachSemanticDrawing,G as forEachSemanticStory,J as forEachStoryParagraphFragment,ua as formatDecimal,va as formatDecimalZero,za as formatLowerLetter,xa as formatLowerRoman,Aa as formatNumFmt,lc as formatPageNumber,ga as formatRevisionOf,ya as formatUpperLetter,wa as formatUpperRoman,Sd as fragmentOwnsAtomOffset,K as fragmentsOfParagraph,fc as geometryOfSection,q as graphemeBoundaryEpoch,u as graphemeCount,w as graphemeOffsetToUtf16,Zc as hitTestPage,oe as hitTestSemantic,$c as hitTestSheet,p as intlGraphemeBoundary,Yc as isFurniturePoint,o as isIntlSegmenterAvailable,Ld as isMarkerOnlySeparatorNote,Bb as isValidStyleId,y as itemizeScriptFontSlots,ge as keyedRangeRects,zb as layoutEquation,od as layoutHeaderFooterStory,Jd as layoutNoteById,Md as layoutNoteSeparator,Id as layoutNoteStory,Zd as layoutSemanticDocument,L as lineAtPosition,bd as lineEndOffset,Q as lineSegments,D as linesOf,Qb as listMarkerBox,ea as markRevisionRemovesMark,k as measureDisplayText,Mb as mergeListIndent,te as moveCaret,Ya as nextTabDestination,Gd as normalNotesOf,Tb as noteDisplayMarkMap,Fd as noteLineIdPrefix,rc as noteMarkKey,Od as noteSeparatorAreaBox,Ia as noteStoryBlocks,Xc as pageAtY,zd as pageBorderFrame,Wb as pageBordersFingerprint,rb as paragraphBorderExtentPt,qb as paragraphBorderStrokeWidthPt,ob as paragraphBorders,tb as paragraphBordersFingerprint,cb as paragraphBreaksBefore,nb as paragraphContextualSpacing,B as paragraphFragmentsOf,C as paragraphFragmentsOfBlocks,Ka as paragraphLayoutKey,lb as paragraphLineSpacing,Da as paragraphMarkDeleted,ca as paragraphMarkFormatRevisionOf,fa as paragraphMarkRevisionOf,ba as paragraphMarkRevisionsOf,ac as paragraphSectionNode,f as paragraphShading,g as paragraphShadingBox,kb as paragraphSpacing,Va as paragraphTabStops,re as paragraphTextFromLayout,Ca as parseAutonumInstruction,Vb as parsePageBorders,Zb as parsePageNumbering,qa as parseRefInstruction,_b as parseSectionProperties,ae as positionPastDeletion,sc as projectedNoteMarkText,dc as projectedSectionSourceIndexes,Xd as provisionalNoteMarks,Dc as readBorderSide,Fc as readCellBorders,Kb as readNumPr,bc as readSectionProperties,Ec as readTableBorders,Rc as readTableStructure,t as resetGraphemeBoundary,Hc as resolveBorderConflict,xc as resolveNumberingLevel,d as resolveOoxmlShadingFill,Ib as resolveParagraphLayoutInputs,i as resolveRunStyle,Ob as resolveStoryListItems,ic as resolveStoryRefFields,c as resolveStrictHexFill,Ic as resolveTableCellBorderGrid,$ as revisionAuthorFilter,Fa as revisionRemovesParagraph,ha as revisionsAreDeletion,aa as revisionsVisible,l as runStylesEqual,r as segmentGraphemes,ee as selectionRects,s as setGraphemeBoundary,e as shadingFillFromElement,da as shownMarkRevision,cd as spanOffsetX,ve as spansInSelection,Ha as storyBlocks,z as styleForFontSlot,Nd as syntheticSeparatorBox,Za as tabAdvanceWidth,_a as tabStopsFingerprint,Oc as tableOriginX,vd as tocFieldChromeParagraphIds,N as unionLayoutBoxes,v as utf16OffsetToGrapheme,Nb as walkStoryParagraphs,Wa as withDefaultTabInterval,Lb as withNumberingStyleLinks,Pb as withResolvedListItems,be as wordBoundary}from'./chunk-JL3SI5SZ.js';import'./chunk-VP7SDFCM.js';export{Ia as activeReviewItem,Ka as commentBodyText,La as commentInitials,Fa as firstReviewRange,Da as reviewItemKey,Ga as reviewItemPositionRank,Ea as reviewItemRanges,Ha as reviewItemsAt,Ja as reviewThreadRootOf}from'./chunk-3P3DNJYM.js';export{Dd as MAX_SDT_NESTING,Ch as MAX_TABLE_COLUMNS,vg as W15_NAMESPACE_URI,Id as collectFlowBlocks,Hd as contentControlContentChildren,Ed as isContentControl,Fd as isContentControlContent,ei as paragraphOrderOfPart,a as sha256FontBytes}from'./chunk-3B3DQMSL.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { O as OoxmlPart, i as OoxmlNode, j as OoxmlPackage } from './types-barrel-
|
|
1
|
+
import { O as OoxmlPart, i as OoxmlNode, j as OoxmlPackage } from './types-barrel-PwcfEkaX.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 { U as OoxmlNodeId, V as OoxmlGenericElementNode, i as OoxmlNode } from './types-barrel-
|
|
1
|
+
import { U as OoxmlNodeId, V as OoxmlGenericElementNode, i as OoxmlNode } from './types-barrel-PwcfEkaX.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";
|
package/dist/output.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkF4H3LC6M_cjs=require('./chunk-F4H3LC6M.cjs');require('./chunk-IYCXQAFT.cjs'),require('./chunk-QBKAOSVF.cjs'),require('./chunk-FGBADUSK.cjs'),require('./chunk-DFTVN25X.cjs'),require('./chunk-ZZRCVDQU.cjs');Object.defineProperty(exports,"DEFAULT_FIELD_SHADING",{enumerable:true,get:function(){return chunkF4H3LC6M_cjs.j}});Object.defineProperty(exports,"paintSelectionOverlay",{enumerable:true,get:function(){return chunkF4H3LC6M_cjs.o}});Object.defineProperty(exports,"paintSemanticLayout",{enumerable:true,get:function(){return chunkF4H3LC6M_cjs.m}});
|
package/dist/output.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
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 './image-resources-
|
|
5
|
-
import './types-barrel-
|
|
6
|
-
import './
|
|
7
|
-
import './
|
|
1
|
+
import { R as ReviewAuthorInfo } from './semantic-paint-BHKprI9P.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-BHKprI9P.js';
|
|
3
|
+
import { S as SemanticLayout } from './semantic-records-StH-AnHK.js';
|
|
4
|
+
import './image-resources-DxF-SN_8.js';
|
|
5
|
+
import './types-barrel-PwcfEkaX.js';
|
|
6
|
+
import './editor-scope-OHPwVQ5l.js';
|
|
7
|
+
import './revision-projection-kVd7p6Wd.js';
|
|
8
|
+
import './omml-equation-Bk3OP1fv.js';
|
|
8
9
|
|
|
9
10
|
/** A rectangle in page-content coordinates, on a named page. */
|
|
10
11
|
interface OverlayRect {
|
package/dist/output.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{j as DEFAULT_FIELD_SHADING,o as paintSelectionOverlay,m as paintSemanticLayout}from'./chunk-
|
|
1
|
+
export{j as DEFAULT_FIELD_SHADING,o as paintSelectionOverlay,m as paintSemanticLayout}from'./chunk-DGONGMAV.js';import'./chunk-OKY6JRJL.js';import'./chunk-RIYSCEFQ.js';import'./chunk-JL3SI5SZ.js';import'./chunk-VP7SDFCM.js';import'./chunk-3P3DNJYM.js';import'./chunk-3B3DQMSL.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a6 as AutomationTableMutation, _ as RevisionBatchResult } from './types-barrel-
|
|
2
|
-
import { H as HeaderFooterVariant, N as NoteKind } from './
|
|
1
|
+
import { a6 as AutomationTableMutation, _ as RevisionBatchResult } from './types-barrel-PwcfEkaX.js';
|
|
2
|
+
import { H as HeaderFooterVariant, N as NoteKind } from './tree-package-fragment-CpEV1gl3.js';
|
|
3
3
|
|
|
4
4
|
interface AutomationInlinePictureRead {
|
|
5
5
|
readonly width: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as OoxmlNode, a1 as OoxmlElement, a2 as OoxmlContentControlNode, V as OoxmlGenericElementNode, a3 as OoxmlContentControlContentNode, C as CommentRecord, O as OoxmlPart } from './types-barrel-
|
|
1
|
+
import { i as OoxmlNode, a1 as OoxmlElement, a2 as OoxmlContentControlNode, V as OoxmlGenericElementNode, a3 as OoxmlContentControlContentNode, C as CommentRecord, O as OoxmlPart } from './types-barrel-PwcfEkaX.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,4 +1,4 @@
|
|
|
1
|
-
import { i as OoxmlNode } from './types-barrel-
|
|
1
|
+
import { i as OoxmlNode } from './types-barrel-PwcfEkaX.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* What a revision wrapper asserts about the content inside it.
|
|
@@ -37,6 +37,12 @@ interface RevisionAttribution {
|
|
|
37
37
|
* them testable, without either applying an op.
|
|
38
38
|
*/
|
|
39
39
|
type RevisionDisplayMode = 'all-markup' | 'proposed' | 'original';
|
|
40
|
+
/**
|
|
41
|
+
* The views the review chrome offers, in Word's terms: the three layout projections plus
|
|
42
|
+
* Simple Markup, which reads as the proposed result with a red change bar beside every line
|
|
43
|
+
* a change touched — the document as accepting everything would leave it, and where.
|
|
44
|
+
*/
|
|
45
|
+
type ReviewDisplayMode = RevisionDisplayMode | 'simple-markup';
|
|
40
46
|
/**
|
|
41
47
|
* How a document renders tracked changes when nothing says otherwise.
|
|
42
48
|
*
|
|
@@ -58,6 +64,14 @@ interface RevisionFilter {
|
|
|
58
64
|
readonly includesNode?: (nodeId: string, author: string) => boolean;
|
|
59
65
|
/** Accepted/original projection for a revision excluded by `includesNode`. */
|
|
60
66
|
readonly excludedNodeMode?: (nodeId: string, author: string) => 'proposed' | 'original';
|
|
67
|
+
/**
|
|
68
|
+
* In a resolved view, content the view keeps paints as ORDINARY text: no author ink, no
|
|
69
|
+
* decoration, no change bar of its own. This is Word's No Markup, Original and Simple
|
|
70
|
+
* Markup, which the review chrome asks for. Without it the accepted projection keeps the
|
|
71
|
+
* attribution on kept insertions, which is what the engine paints when no review module
|
|
72
|
+
* is registered — colour by author, deletions resolved — and what its roster reads.
|
|
73
|
+
*/
|
|
74
|
+
readonly resolvedMarkup?: 'plain';
|
|
61
75
|
readonly cacheKey: string;
|
|
62
76
|
}
|
|
63
77
|
/** @deprecated Use {@link RevisionFilter}. */
|
|
@@ -153,4 +167,4 @@ declare function formatRevisionOf(properties: readonly {
|
|
|
153
167
|
/** True when this stack of revisions marks its content as deleted from the live document. */
|
|
154
168
|
declare function revisionsAreDeletion(revisions: readonly RevisionAttribution[]): boolean;
|
|
155
169
|
|
|
156
|
-
export { DEFAULT_REVISION_DISPLAY_MODE as D, type
|
|
170
|
+
export { DEFAULT_REVISION_DISPLAY_MODE as D, type ReviewDisplayMode as R, type RevisionDisplayMode as a, type RevisionAuthorFilter as b, type RevisionAttribution as c, type RevisionFilter as d, type RevisionKind as e, formatRevisionOf as f, paragraphMarkRevisionOf as g, paragraphMarkRevisionsOf as h, revisionsAreDeletion as i, revisionsVisible as j, markRevisionRemovesMark as m, paragraphMarkFormatRevisionOf as p, revisionAuthorFilter as r, shownMarkRevision as s };
|
package/dist/{semantic-cell-selection-R9wrenwR.d.ts → semantic-cell-selection-CkSsZHDL.d.ts}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { O as OoxmlPart, a1 as OoxmlElement, i as OoxmlNode } from './types-barrel-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { S as SemanticPosition, C as CaretGeometry, a as SemanticSelection } from './semantic-interaction-
|
|
1
|
+
import { O as OoxmlPart, a1 as OoxmlElement, i as OoxmlNode } from './types-barrel-PwcfEkaX.js';
|
|
2
|
+
import { a as RevisionDisplayMode, b as RevisionAuthorFilter } from './revision-projection-kVd7p6Wd.js';
|
|
3
|
+
import { b as SectionPageBorders, P as PageGeometry, I as InlineDrawingRecord, A as AnchoredDrawingRecord, T as TextMeasurer, L as LineRecord, a as StyleSpanRecord, S as SemanticLayout, C as ContentControlBoundaryRecord, c as TableRowFragmentRecord, d as TableCellFragmentRecord } from './semantic-records-StH-AnHK.js';
|
|
4
|
+
import { S as SemanticPosition, C as CaretGeometry, a as SemanticSelection } from './semantic-interaction-Z2Xa68U5.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Hard ceiling on sections enumerated from a document (matches write-path
|
|
@@ -79,6 +79,8 @@ interface SectionPageNumbering {
|
|
|
79
79
|
* inherited.
|
|
80
80
|
*/
|
|
81
81
|
interface SectionProperties {
|
|
82
|
+
/** Active document grid line pitch for line-unit paragraph margins. */
|
|
83
|
+
readonly gridLinePitchTwips?: number;
|
|
82
84
|
readonly pageSize: {
|
|
83
85
|
readonly widthTwips: number;
|
|
84
86
|
readonly heightTwips: number;
|
|
@@ -94,6 +96,11 @@ interface SectionProperties {
|
|
|
94
96
|
* element is present with no attributes (comprehensive-fixture shape).
|
|
95
97
|
*/
|
|
96
98
|
readonly pageNumbering?: SectionPageNumbering;
|
|
99
|
+
/**
|
|
100
|
+
* Resolved `w:pgBorders` (§17.6.10). Absent when the section declares none, or when every
|
|
101
|
+
* edge it declares is off or an art border — see {@link parsePageBorders}.
|
|
102
|
+
*/
|
|
103
|
+
readonly pageBorders?: SectionPageBorders;
|
|
97
104
|
}
|
|
98
105
|
/**
|
|
99
106
|
* One section of the body story: contiguous top-level blocks plus the properties that end it.
|
|
@@ -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-StH-AnHK.js';
|
|
2
2
|
|
|
3
3
|
/** A caret position in the model. */
|
|
4
4
|
interface SemanticPosition {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as ContentControlBoundaryRecord, S as SemanticLayout } from './semantic-records-
|
|
2
|
-
import { V as ValidatedImageBytesHandle, R as RenderableImageMime } from './image-resources-
|
|
1
|
+
import { C as ContentControlBoundaryRecord, S as SemanticLayout } from './semantic-records-StH-AnHK.js';
|
|
2
|
+
import { V as ValidatedImageBytesHandle, R as RenderableImageMime } from './image-resources-DxF-SN_8.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Everything a host can say about ONE author's presentation. Every field is optional and
|
|
@@ -120,6 +120,9 @@ interface DrawingPaintStrings {
|
|
|
120
120
|
readonly pendingResource: string;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
+
/** Which bars a paint draws: the view's own, or none for the resolved views. */
|
|
124
|
+
type ChangeBarsMode = 'all-markup' | 'simple-markup' | 'none';
|
|
125
|
+
|
|
123
126
|
/**
|
|
124
127
|
* When a field's result is drawn on its grey block, following Word's own View option.
|
|
125
128
|
*
|
|
@@ -176,6 +179,19 @@ interface PaintOptions {
|
|
|
176
179
|
* See {@link RevisionStyles}.
|
|
177
180
|
*/
|
|
178
181
|
readonly revisionStyles?: RevisionStyles;
|
|
182
|
+
/**
|
|
183
|
+
* Which change bars the margin draws: All Markup's neutral rule beside attributed lines
|
|
184
|
+
* (the default, whatever the layout's projection — a layout that carries attribution gets
|
|
185
|
+
* its bars), Simple Markup's red rule beside the change sites a resolved layout published,
|
|
186
|
+
* or none, which the review chrome names for its resolved views.
|
|
187
|
+
*/
|
|
188
|
+
readonly changeBars?: ChangeBarsMode;
|
|
189
|
+
/**
|
|
190
|
+
* Whether a change bar takes the pointer as Word's does — a click swaps Simple and All
|
|
191
|
+
* Markup. Only a host that can act on the press should set it; the bars stay inert
|
|
192
|
+
* furniture otherwise.
|
|
193
|
+
*/
|
|
194
|
+
readonly changeBarsToggle?: boolean;
|
|
179
195
|
/**
|
|
180
196
|
* Relationship id of the header/footer story currently open for editing.
|
|
181
197
|
*
|