@docx-editor.dev/core 2.22.0 → 2.24.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/README.md +7 -6
- package/dist/automation.cjs +1 -1
- package/dist/automation.d.ts +13 -12
- package/dist/automation.js +1 -1
- package/dist/binding.cjs +1 -1
- package/dist/binding.d.ts +11 -10
- package/dist/binding.js +1 -1
- package/dist/{chunk-5RKCJ5DF.js → chunk-2LXGB2X7.js} +1 -1
- package/dist/chunk-3OMDEMLL.js +1 -0
- package/dist/{chunk-RLKX7BIP.cjs → chunk-6CPYOVRT.cjs} +1 -1
- package/dist/chunk-AKF5KM2W.cjs +4 -0
- package/dist/chunk-BOGQGMMU.cjs +1 -0
- package/dist/chunk-CVNDMQIX.cjs +26 -0
- package/dist/chunk-DF7F7TNU.cjs +1 -0
- package/dist/{chunk-IWAUA732.js → chunk-G765WG4R.js} +1 -1
- package/dist/{chunk-X2LJDR53.cjs → chunk-IEXYOLNR.cjs} +5 -5
- package/dist/chunk-J3EM5ZEA.js +18 -0
- package/dist/{chunk-P5PWSRNW.cjs → chunk-JDAAGZNE.cjs} +1 -1
- package/dist/chunk-JNE6QF47.js +26 -0
- package/dist/chunk-JQTVFP72.cjs +2 -0
- package/dist/chunk-JXL25DRU.js +11 -0
- package/dist/chunk-KPSGB64S.js +1 -0
- package/dist/chunk-P4SBMHHO.cjs +5 -0
- package/dist/chunk-QQAF64KN.js +5 -0
- package/dist/chunk-SI5FLZGU.js +4 -0
- package/dist/chunk-SOUJNWXV.js +1 -0
- package/dist/chunk-T4TKRNZT.cjs +11 -0
- package/dist/chunk-TBFZZX7Z.cjs +1 -0
- package/dist/chunk-VPKKYCZI.cjs +2 -0
- package/dist/chunk-W3ZUPQIZ.cjs +18 -0
- package/dist/chunk-XMWH2R23.js +5 -0
- package/dist/chunk-XWXJB4J7.js +1 -0
- package/dist/chunk-YIBEBHT3.js +2 -0
- package/dist/chunk-ZSM6X52G.cjs +1 -0
- package/dist/chunk-ZXAGLAY2.js +2 -0
- package/dist/collaboration/replication.cjs +1 -1
- package/dist/collaboration/replication.d.ts +6 -5
- package/dist/collaboration/replication.js +1 -1
- package/dist/collaboration.d.ts +7 -6
- package/dist/contracts/document.d.ts +4 -3
- package/dist/contracts/editor.d.ts +9 -9
- package/dist/contracts/interaction.d.ts +2 -1
- package/dist/contracts/modules.d.ts +9 -8
- package/dist/contracts/types.d.ts +1 -1
- package/dist/{custom-node-writes-Ck6eOiJ3.d.ts → custom-node-writes-77rvPW2-.d.ts} +4 -3
- package/dist/{document-protection-CMPEonQc.d.ts → document-protection-CYIjO-li.d.ts} +3 -2
- package/dist/{editor-BKDVqXyk.d.ts → editor-BU6rjQZz.d.ts} +134 -26
- package/dist/editor.cjs +1 -1
- package/dist/editor.css +1 -1
- package/dist/editor.d.ts +57 -66
- package/dist/editor.js +1 -1
- package/dist/export.cjs +2 -2
- package/dist/export.d.ts +17 -16
- package/dist/export.js +2 -2
- package/dist/{failure-DNNmwsgD.d.ts → failure-BIPVQbRm.d.ts} +2 -1
- package/dist/{font-resolver-PBc8Vuxs.d.ts → font-resolver-CPO7wtg6.d.ts} +3 -2
- package/dist/{headless-document-view-9wjJT20Y.d.ts → headless-document-view-Cc3fFWhv.d.ts} +4 -3
- package/dist/{image-resources-B0v-XaTM.d.ts → image-resources-DkuzBnTM.d.ts} +3 -2
- package/dist/{index-DQA53aR1.d.ts → index-BOkQYOsZ.d.ts} +75 -36
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +18 -18
- package/dist/index.js +1 -1
- package/dist/{layout-shaping-Dyr0ZSOI.d.ts → layout-shaping-BOOxnLxF.d.ts} +3 -2
- package/dist/layout.cjs +1 -1
- package/dist/layout.d.ts +164 -83
- package/dist/layout.js +1 -1
- package/dist/{note-properties-D_lmG9xx.d.ts → note-properties-DMfKK3QU.d.ts} +3 -2
- package/dist/{omml-equation-CfTm3jOK.d.ts → omml-equation-BY7OdfGY.d.ts} +3 -2
- package/dist/output.cjs +1 -1
- package/dist/output.d.ts +9 -8
- package/dist/output.js +1 -1
- package/dist/{protocol-CkVDxyQ3.d.ts → protocol-CPAakntQ.d.ts} +4 -3
- package/dist/{review-paragraph-order-BjUs-tDd.d.ts → review-paragraph-order-B0BP_wJP.d.ts} +1 -1
- package/dist/{revision-projection-DDVBYTIG.d.ts → revision-projection-CVJeA2jp.d.ts} +3 -2
- package/dist/{semantic-cell-selection-DW6qsmoC.d.ts → semantic-cell-selection-BtO2s2Za.d.ts} +10 -6
- package/dist/{semantic-interaction-BNiYSBcB.d.ts → semantic-interaction-COMnWyBQ.d.ts} +3 -2
- package/dist/{semantic-paint-DE236npp.d.ts → semantic-paint-C032N0ps.d.ts} +4 -3
- package/dist/{semantic-records-C5OeXnaL.d.ts → semantic-records-BSjo-xck.d.ts} +889 -779
- package/dist/store.cjs +1 -1
- package/dist/store.d.ts +17 -17
- package/dist/store.js +1 -1
- package/dist/{tree-package-fragment-DBb97w3F.d.ts → tree-package-fragment-BIyGh6L8.d.ts} +4 -3
- package/dist/{tree-session-contract-BYat3RKx.d.ts → tree-session-contract-CHcCnz3W.d.ts} +7 -6
- package/dist/{types-barrel-ChGvWjkO.d.ts → types-barrel-DN_-gaRX.d.ts} +70 -5
- package/package.json +3 -3
- package/dist/chunk-65GJRSZ5.cjs +0 -18
- package/dist/chunk-6TBRG6SA.cjs +0 -20
- package/dist/chunk-A72MJGY7.cjs +0 -4
- package/dist/chunk-AZ7QSAXH.js +0 -4
- package/dist/chunk-BL57VQ7E.js +0 -1
- package/dist/chunk-CB6RQ3GD.cjs +0 -11
- package/dist/chunk-FGBADUSK.cjs +0 -1
- package/dist/chunk-GG4IAKFI.js +0 -5
- package/dist/chunk-HJYLFMLX.js +0 -2
- package/dist/chunk-HL6NO7IH.cjs +0 -2
- package/dist/chunk-HZQFGB2X.cjs +0 -5
- package/dist/chunk-OZXBAEWW.js +0 -2
- package/dist/chunk-PD5XKBJA.js +0 -1
- package/dist/chunk-REMFTPDL.cjs +0 -2
- package/dist/chunk-UGLO2GA5.cjs +0 -1
- package/dist/chunk-UOQONZVQ.js +0 -11
- package/dist/chunk-VD2MWTR6.js +0 -20
- package/dist/chunk-VIXH2OVP.js +0 -1
- package/dist/chunk-VP7SDFCM.js +0 -1
- package/dist/chunk-W2JIZ5JH.js +0 -18
- package/dist/chunk-W5H62AWM.cjs +0 -1
- package/dist/chunk-YQXY6TQ3.js +0 -5
- package/dist/chunk-YYFBYVW4.cjs +0 -1
package/dist/layout.d.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { n as NumberingLevel, o as NumberingIndex, S as SemanticLayout, p as
|
|
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,
|
|
5
|
-
export { a_ as CommentAnchor, a$ as CommentPosition, C as CommentRecord, aV as CommentThreadState, aH as DrawingAccessibility, aj as DrawingHorizontalReferenceFrame, aI as DrawingImageEffects, aJ as DrawingTransform, ak as DrawingVerticalReferenceFrame, aa as ImageWrapTarget, c as ReviewCommentItem, d as ReviewCustomItem, R as ReviewModelInput, e as ReviewPosition, f as ReviewRange, b as ReviewRevisionItem, g as ReviewRevisionKind, a8 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-
|
|
6
|
-
import { H as HeadlessDocumentView, D as DocumentProperties, r as relationshipTargetIn } from './headless-document-view-
|
|
7
|
-
import { c as RevisionAttribution, a as RevisionDisplayMode, b as RevisionAuthorFilter } from './revision-projection-
|
|
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-
|
|
9
|
-
import { b as ResolvedFootnoteProperties, R as ResolvedEndnoteProperties } from './note-properties-
|
|
10
|
-
import { c as TreeModelChange, N as NoteKind, az as noteTypeOf } from './tree-package-fragment-
|
|
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 { n as NumberingLevel, o as NumberingIndex, S as SemanticLayout, p as LayoutBox, D as DrawingPoint, q as DrawingInsets, a as StyleSpanRecord, I as InlineDrawingRecord, M as ModelRange, r as TableBorderSide, s as TableFloatXSpec, t as TableFloatYSpec, u as ParagraphFragmentRecord, B as BlockFragmentRecord, A as AnchoredDrawingRecord, v as PageRecord, w as ResolvedListItem, x as CellBorderBox, y as TableCellStyleFormatting, z as TableFloatPosition, E as TableBorderBox, G as StyleCascadeTable, L as LineRecord, H as NoteAreaRecord, J as HeaderFooterStoryRecord, K as NoteStoryRecord, C as ContentControlBoundaryRecord$1, O as ContentControlLock, T as TextMeasurer, h as FixedPointRoundingMode, Q as FixedPoint, V as VersionedShapingLibrary, f as TextShaper, U as FontByteValidator, m as ShapedRun, W as SourceRange, X as HyperlinkProjector, Y as InlineDrawingLayoutContext, Z as FieldLinkProjector, _ as StoryPageFieldNeeds, $ as RefFieldContext, a0 as HyperlinkFieldSpec, a1 as SpanLinkRecord, P as PageGeometry, b as SectionPageBorders, a2 as PageBorderFrameRecord, a3 as ParagraphBorderStrokeRecord, a4 as StrikeoutStrokePt } from './semantic-records-BSjo-xck.js';
|
|
2
|
+
export { a5 as AUTO_PARAGRAPH_SPACING_PT, a6 as AbstractNumDefinition, a7 as AnchoredDrawingLayoutFallback, a8 as BidiEmbeddingLevels, a9 as BorderGridGeometry, aa as CascadedParagraphFormatting, ab as CjkTypographySettings, ac as ContentControlGeometryFragment, ad as ContentControlLevel, ae as ContentControlMappedType, af as DEFAULT_PAGE_GEOMETRY, ag as DEFAULT_RUN_STYLE, ah as DEFAULT_TAB_INTERVAL_PT, ai as DEFAULT_TAB_INTERVAL_TWIPS, aj as DeclaredFontSubstitution, ak as DrawingClipFallback, al as DrawingGeometry, am as DrawingGroupPictureRecord, an as EMPTY_NUMBERING_INDEX, ao as EMPTY_TAB_STOPS, ap as EquationFractionGeometry, aq as EquationGeometry, ar as EquationNaryGeometry, as as EquationRadicalGeometry, at as EquationRowGeometry, au as EquationScriptGeometry, av as EquationSpanRecord, aw as EquationTextGeometry, ax as FieldAtomMarker, ay as FontFingerprintInputs, i as FontRequest, az as FontResolutionError, aA as FontResolutionErrorCode, aB as FontResourceDefinition, aC as FontResourceInstrumentation, F as FontResourceSnapshot, aD as FontResourceSnapshotOptions, aE as FontSlot, l as FontSubstitution, aF as FontValidationResult, aG as GlyphOutline, aH as HARD_MAX_AGGREGATE_FONT_BYTES, aI as HARD_MAX_FONT_BYTES, aJ as HARD_MAX_FONT_SOURCES, aK as LevelOverride, aL as LineSpacingRule, aM as ListMarkerAlign, k as ListMarkerPictureRecord, aN as ListMarkerRecord, aO as ListSuffix, aP as MAX_BORDER_SPACE_PT, aQ as MAX_BORDER_WIDTH_PT, aR as MAX_LVL_OVERRIDES, aS as MAX_NUMBERING_DEFINITIONS, aT as MAX_PARAGRAPH_SPACING_PT, aU as MAX_SHAPING_CONTEXT, aV as MAX_STYLE_DEFINITIONS, aW as MAX_TABLE_BORDER_STROKES, aX as MAX_TAB_POSITION_TWIPS, aY as MAX_TAB_STOPS, N as NormalizationPolicy, aZ as NumDefinition, a_ as NumberingLevelIndent, a$ as NumberingPictureBullet, b0 as PAGE_BORDER_SIDES, b1 as PARAGRAPH_BORDER_SIDES, b2 as PageBorderDisplay, b3 as PageBorderOffsetFrom, b4 as PageBorderSide, b5 as PageBorderStrokeRecord, b6 as PageBorderZOrder, b7 as PageRefCalibrationCell, b8 as PageRefFieldProjection, b9 as ParagraphAutoSpacingContext, ba as ParagraphBorderEdge, bb as ParagraphBorderSide, bc as ParagraphBorders, bd as ParagraphBottomBorderRecord, be as ParagraphIndent, bf as ParagraphLayoutInputs, bg as ParagraphLineSpacing, bh as ParagraphSpacing, bi as RefFieldSpec, bj as RefNoteParts, bk as ResolvedCellBorders, g as ResolvedFont, bl as ResolvedPictureBullet, 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 SemanticTrackedChangeArtifactRecord, bA as ShapeInput, bB as ShapedCluster, bC as ShapedFontSpan, bD as ShapedGlyph, bE as ShapedRunComparatorInputs, bF as ShapedVerticalMetrics, bG as ShapingContext, bH as ShapingEnvironment, bI as ShapingEnvironmentFingerprintInputs, e as ShapingEnvironmentInput, bJ as StyleDefinition, bK as TAB_LEADER_GLYPH, bL as TabAlignment, bM as TabDestination, bN as TabLeader, bO as TabStop, bP as TableBorderSideName, bQ as TableBorderStrokeRecord, d as TableCellFragmentRecord, bR as TableFragmentRecord, c as TableRowFragmentRecord, bS as TextDirection, bT as TextboxStoryFallbackReason, bU as TextboxStoryLayout, bV as UnsupportedScriptError, bW as VerticalAlign, bX as appliedSpaceBefore, bY as applyLineSpacing, bZ as baselineShiftPtOf, b_ as borderExtentPt, b$ as borderWeight, c0 as bottomBorderExtentPt, c1 as boundedStructuralFontValidator, c2 as buildNumberingIndex, c3 as buildStyleCascadeTable, c4 as cascadeParagraphFormatting, c5 as cascadeRunProperties, c6 as cascadedBottomBorder, c7 as cascadedParagraphBorders, c8 as cascadedTabStops, c9 as collapsedSpaceBefore, ca as createFontResourceSnapshot, cb as createShapedRun, cc as createShapingEnvironment, cd as defaultTabIntervalFromSettings, ce as displayText, cf as fixedPoint, cg as fontRequestKey, ch as glyphSizeFactorOf, ci as isValidStyleId, cj as itemizeScriptFontSlots, ck as layoutEquation, cl as measureDisplayText, cm as mergeListIndent, cn as nextTabDestination, co as pageBordersFingerprint, cp as paragraphBorderExtentPt, cq as paragraphBorderStrokeWidthPt, cr as paragraphBorders, cs as paragraphBordersFingerprint, ct as paragraphBreaksBefore, cu as paragraphContextualSpacing, cv as paragraphLineSpacing, cw as paragraphSpacing, cx as paragraphTabStops, cy as parsePageBorders, cz as parseRefInstruction, cA as readBorderSide, cB as readCellBorders, cC as readNumPr, cD as readTableBorders, cE as resolveBorderConflict, cF as resolveNumberingLevel, cG as resolveParagraphLayoutInputs, cH as resolveRunStyle, cI as resolveStoryListItems, cJ as resolveStoryRefFields, cK as resolveTableCellBorderGrid, cL as runStylesEqual, cM as shapedRunComparatorInputs, cN as shapingEnvironmentFingerprint, cO as shapingEnvironmentFingerprintInputs, cP as styleForFontSlot, cQ as tabAdvanceWidth, cR as tabStopsFingerprint, cS as walkStoryParagraphs, cT as withDefaultTabInterval, cU as withNumberingStyleLinks, cV as withResolvedListItems } from './semantic-records-BSjo-xck.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-BOOxnLxF.js';
|
|
4
|
+
import { aC as ImpactClass, N as OoxmlNode, a0 as OoxmlProperty, a1 as OoxmlElement, O as OoxmlPart, W as TreeDocOp, Q as OoxmlPackage, b6 as ContentControlKind, b7 as ContentControlLevel, b9 as ContentControlLock$1, b3 as ContentControlDataBinding, a as ReviewItem } from './types-barrel-DN_-gaRX.js';
|
|
5
|
+
export { a_ as CommentAnchor, a$ as CommentPosition, C as CommentRecord, aV as CommentThreadState, aH as DrawingAccessibility, aj as DrawingHorizontalReferenceFrame, aI as DrawingImageEffects, aJ as DrawingTransform, ak as DrawingVerticalReferenceFrame, aa as ImageWrapTarget, c as ReviewCommentItem, d as ReviewCustomItem, R as ReviewModelInput, e as ReviewPosition, f as ReviewRange, b as ReviewRevisionItem, g as ReviewRevisionKind, a8 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-DN_-gaRX.js';
|
|
6
|
+
import { H as HeadlessDocumentView, D as DocumentProperties, r as relationshipTargetIn } from './headless-document-view-Cc3fFWhv.js';
|
|
7
|
+
import { c as RevisionAttribution, a as RevisionDisplayMode, b as RevisionAuthorFilter } from './revision-projection-CVJeA2jp.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-CVJeA2jp.js';
|
|
9
|
+
import { b as ResolvedFootnoteProperties, R as ResolvedEndnoteProperties } from './note-properties-DMfKK3QU.js';
|
|
10
|
+
import { c as TreeModelChange, N as NoteKind, az as noteTypeOf } from './tree-package-fragment-BIyGh6L8.js';
|
|
11
|
+
import { a as SectionColumns } from './semantic-cell-selection-BtO2s2Za.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-BtO2s2Za.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-B0BP_wJP.js';
|
|
14
|
+
import { S as SemanticPosition, b as SelectionRect, a as SemanticSelection } from './semantic-interaction-COMnWyBQ.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-COMnWyBQ.js';
|
|
16
|
+
import './image-resources-DkuzBnTM.js';
|
|
17
|
+
import './omml-equation-BY7OdfGY.js';
|
|
18
18
|
import './editor-scope-OHPwVQ5l.js';
|
|
19
19
|
|
|
20
20
|
/**
|
|
@@ -56,6 +56,9 @@ interface ListCounterState {
|
|
|
56
56
|
*/
|
|
57
57
|
declare function createListCounterState(index: NumberingIndex): ListCounterState;
|
|
58
58
|
|
|
59
|
+
/** Synchronous platform-neutral SHA-256 used before font bytes cross into a shaping implementation. */
|
|
60
|
+
declare const sha256FontBytes: (bytes: Uint8Array) => string;
|
|
61
|
+
|
|
59
62
|
/**
|
|
60
63
|
* What a batch of commits can affect.
|
|
61
64
|
*
|
|
@@ -163,72 +166,29 @@ interface PendingPositionedTableTokens {
|
|
|
163
166
|
readonly signature: string;
|
|
164
167
|
}
|
|
165
168
|
|
|
166
|
-
/** Numeric, auto-height text frames. Other frame variants retain ordinary flow. */
|
|
167
|
-
interface ParagraphFrame {
|
|
168
|
-
/** Explicit-size drop cap aligned against this many lines of its anchor paragraph. */
|
|
169
|
-
readonly dropCapLines?: number;
|
|
170
|
-
readonly x: number;
|
|
171
|
-
readonly y: number;
|
|
172
|
-
readonly width: number;
|
|
173
|
-
readonly horizontalAnchor: 'page' | 'margin' | 'text';
|
|
174
|
-
readonly verticalAnchor: 'page' | 'margin' | 'text';
|
|
175
|
-
/** Equal authored frame properties group adjacent paragraphs into one frame. */
|
|
176
|
-
readonly token: string;
|
|
177
|
-
readonly wrap: 'around' | 'none' | 'notBeside';
|
|
178
|
-
readonly hSpace: number;
|
|
179
|
-
readonly vSpace: number;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
interface PendingParagraphFrame {
|
|
183
|
-
readonly frame: ParagraphFrame;
|
|
184
|
-
readonly fragment: ParagraphFragmentRecord;
|
|
185
|
-
readonly groupId: string;
|
|
186
|
-
readonly sourceOrder: number;
|
|
187
|
-
}
|
|
188
|
-
/** Immutable prefix shared by every checkpoint; one node per pending paragraph. */
|
|
189
|
-
interface PendingParagraphFrames {
|
|
190
|
-
readonly item: PendingParagraphFrame;
|
|
191
|
-
readonly previous: PendingParagraphFrames | undefined;
|
|
192
|
-
readonly length: number;
|
|
193
|
-
readonly signature: string;
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
/** Synchronous platform-neutral SHA-256 used before font bytes cross into a shaping implementation. */
|
|
197
|
-
declare const sha256FontBytes: (bytes: Uint8Array) => string;
|
|
198
|
-
|
|
199
|
-
type AutonumFieldKind = 'AUTONUM' | 'AUTONUMLGL' | 'AUTONUMOUT';
|
|
200
|
-
/** One recognized AUTONUM-family instruction: the kind and its supported switches. */
|
|
201
|
-
interface AutonumFieldSpec {
|
|
202
|
-
readonly kind: AutonumFieldKind;
|
|
203
|
-
/** ST_NumberFormat resolved from the `\*` switch; null paints decimal. */
|
|
204
|
-
readonly numFmt: string | null;
|
|
205
|
-
/** `\e`: display the number without its trailing period. */
|
|
206
|
-
readonly suppressPeriod: boolean;
|
|
207
|
-
}
|
|
208
|
-
/**
|
|
209
|
-
* Recognize `AUTONUM | AUTONUMLGL | AUTONUMOUT [\* <format>] [\e] [\* MERGEFORMAT]`, or null
|
|
210
|
-
* for anything else. Any unrecognized switch fails the parse so the field stays inert (paints
|
|
211
|
-
* nothing — its historical rendering), never the raw instruction, never a guessed number.
|
|
212
|
-
*/
|
|
213
|
-
declare function parseAutonumInstruction(raw: string): AutonumFieldSpec | null;
|
|
214
|
-
|
|
215
169
|
/**
|
|
216
170
|
* Page-field evaluation context for furniture projection.
|
|
217
171
|
*
|
|
218
172
|
* `pageNumber` is the displayed PAGE value after section `w:pgNumType/@w:start` (1-based).
|
|
219
173
|
* `pageCount` is document NUMPAGES. `sectionPageCount` is SECTIONPAGES for the attached
|
|
220
|
-
* section. `format` is the authored `w:pgNumType/@w:fmt` applied only to PAGE.
|
|
174
|
+
* section. `format` is the authored `w:pgNumType/@w:fmt` applied only to PAGE. `sheetNumber` is
|
|
175
|
+
* the 1-based physical sheet, which a restart does not renumber: it decides which margin an
|
|
176
|
+
* `inside` or `outside` header frame takes.
|
|
221
177
|
*
|
|
222
178
|
* A new field here must also join `sameFieldPageContext` below, or finalize compares two
|
|
223
179
|
* contexts that differ in it as equal and keeps a reused story's stale text.
|
|
224
180
|
*/
|
|
225
181
|
interface FieldPageContext {
|
|
182
|
+
/** Local character-style results for one physical page. @internal */
|
|
183
|
+
readonly characterStyleValues?: ReadonlyMap<string, string>;
|
|
226
184
|
readonly pageNumber: number;
|
|
227
185
|
readonly pageCount: number;
|
|
228
186
|
/** SECTIONPAGES; defaults to `pageCount` when omitted (single-section callers). */
|
|
229
187
|
readonly sectionPageCount?: number;
|
|
230
188
|
/** Authored ST_NumberFormat for PAGE; absent → decimal. */
|
|
231
189
|
readonly format?: string;
|
|
190
|
+
/** 1-based physical sheet; absent → `pageNumber` (single-section callers). */
|
|
191
|
+
readonly sheetNumber?: number;
|
|
232
192
|
}
|
|
233
193
|
/**
|
|
234
194
|
* Format a displayed PAGE value through the shared ST_NumberFormat resolver.
|
|
@@ -239,6 +199,22 @@ interface FieldPageContext {
|
|
|
239
199
|
*/
|
|
240
200
|
declare function formatPageNumber(value: number, format: string | undefined): string;
|
|
241
201
|
|
|
202
|
+
type AutonumFieldKind = 'AUTONUM' | 'AUTONUMLGL' | 'AUTONUMOUT';
|
|
203
|
+
/** One recognized AUTONUM-family instruction: the kind and its supported switches. */
|
|
204
|
+
interface AutonumFieldSpec {
|
|
205
|
+
readonly kind: AutonumFieldKind;
|
|
206
|
+
/** ST_NumberFormat resolved from the `\*` switch; null paints decimal. */
|
|
207
|
+
readonly numFmt: string | null;
|
|
208
|
+
/** `\e`: display the number without its trailing period. */
|
|
209
|
+
readonly suppressPeriod: boolean;
|
|
210
|
+
}
|
|
211
|
+
/**
|
|
212
|
+
* Recognize `AUTONUM | AUTONUMLGL | AUTONUMOUT [\* <format>] [\e] [\* MERGEFORMAT]`, or null
|
|
213
|
+
* for anything else. Any unrecognized switch fails the parse so the field stays inert (paints
|
|
214
|
+
* nothing — its historical rendering), never the raw instruction, never a guessed number.
|
|
215
|
+
*/
|
|
216
|
+
declare function parseAutonumInstruction(raw: string): AutonumFieldSpec | null;
|
|
217
|
+
|
|
242
218
|
/**
|
|
243
219
|
* Lookup of derived display marks keyed by {@link formatNoteScopeId}.
|
|
244
220
|
*
|
|
@@ -499,10 +475,23 @@ interface PendingLine {
|
|
|
499
475
|
columnBreakAfter?: boolean;
|
|
500
476
|
/** An authored line break (`w:br` textWrapping or `w:cr`), never an automatic wrap. */
|
|
501
477
|
manualBreakAfter?: true;
|
|
478
|
+
/**
|
|
479
|
+
* The flow kept the paragraph's last word on this line by borrowing inter-word space.
|
|
480
|
+
* Alignment compresses a paragraph's last line only when this is set, never for another
|
|
481
|
+
* overflow such as hanging punctuation.
|
|
482
|
+
*/
|
|
483
|
+
spaceShrink?: true;
|
|
502
484
|
/** Model ranges on this line covering deleted content; see {@link LineRecord.deletedRanges}. */
|
|
503
485
|
deletedRanges?: readonly ModelRange[];
|
|
504
486
|
/** Vertical gap inserted before this line to clear a drawing exclusion band. */
|
|
505
487
|
exclusionSkipBefore?: number;
|
|
488
|
+
/** Clearance inherited by an empty anchor paragraph from other drawing bands. */
|
|
489
|
+
anchorClearanceBefore?: number;
|
|
490
|
+
/**
|
|
491
|
+
* The first-line offset this line was broken with: the paragraph's first line, and the
|
|
492
|
+
* first line after page breaks that open it ({@link holdsOnlyPageBreak}). Absent when zero.
|
|
493
|
+
*/
|
|
494
|
+
firstLineOffset?: number;
|
|
506
495
|
/**
|
|
507
496
|
* The horizontal passage a float left this line, when that passage is narrower than the
|
|
508
497
|
* paragraph's measure and holds the whole line.
|
|
@@ -579,6 +568,48 @@ declare class TablePaginationError extends Error {
|
|
|
579
568
|
constructor(code: TablePaginationErrorCode, message: string);
|
|
580
569
|
}
|
|
581
570
|
|
|
571
|
+
type ParagraphFrameHeightRule = 'auto' | 'atLeast' | 'exact';
|
|
572
|
+
type ParagraphFrameWrap = 'auto' | 'around' | 'tight' | 'through' | 'none' | 'notBeside';
|
|
573
|
+
/** Bounded text-frame properties resolved for semantic layout. */
|
|
574
|
+
interface ParagraphFrame {
|
|
575
|
+
/** Explicit-size drop cap aligned against this many lines of its anchor paragraph. */
|
|
576
|
+
readonly dropCapLines?: number;
|
|
577
|
+
readonly dropCap?: 'drop' | 'margin';
|
|
578
|
+
readonly dropCapRtl?: boolean;
|
|
579
|
+
readonly x: number;
|
|
580
|
+
readonly y: number;
|
|
581
|
+
/** Zero until the containing text width resolves an omitted `w:w`. */
|
|
582
|
+
readonly width: number;
|
|
583
|
+
readonly autoWidth: boolean;
|
|
584
|
+
/** Authored exact or minimum height. Absent for `hRule="auto"`. */
|
|
585
|
+
readonly height?: number;
|
|
586
|
+
readonly heightRule: ParagraphFrameHeightRule;
|
|
587
|
+
readonly horizontalAnchor: 'page' | 'margin' | 'text';
|
|
588
|
+
readonly verticalAnchor: 'page' | 'margin' | 'text';
|
|
589
|
+
readonly xAlign?: TableFloatXSpec;
|
|
590
|
+
readonly yAlign?: TableFloatYSpec;
|
|
591
|
+
readonly anchorLocked: boolean;
|
|
592
|
+
/** Equal authored frame properties group adjacent paragraphs into one frame. */
|
|
593
|
+
readonly token: string;
|
|
594
|
+
readonly wrap: ParagraphFrameWrap;
|
|
595
|
+
readonly hSpace: number;
|
|
596
|
+
readonly vSpace: number;
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
interface PendingParagraphFrame {
|
|
600
|
+
readonly frame: ParagraphFrame;
|
|
601
|
+
readonly fragment: ParagraphFragmentRecord;
|
|
602
|
+
readonly groupId: string;
|
|
603
|
+
readonly sourceOrder: number;
|
|
604
|
+
}
|
|
605
|
+
/** Immutable prefix shared by every checkpoint; one node per pending paragraph. */
|
|
606
|
+
interface PendingParagraphFrames {
|
|
607
|
+
readonly item: PendingParagraphFrame;
|
|
608
|
+
readonly previous: PendingParagraphFrames | undefined;
|
|
609
|
+
readonly length: number;
|
|
610
|
+
readonly signature: string;
|
|
611
|
+
}
|
|
612
|
+
|
|
582
613
|
/** The flow state as it stood immediately before one block was placed. */
|
|
583
614
|
interface FlowCheckpoint {
|
|
584
615
|
/** Completed pages at this point. The prefix of the previous layout that still stands. */
|
|
@@ -646,6 +677,8 @@ interface SectionStackSpan {
|
|
|
646
677
|
* section just returned.
|
|
647
678
|
*/
|
|
648
679
|
readonly sourcePages: readonly PageRecord[];
|
|
680
|
+
/** The blank parity sheet published in front of the section, kept for identity reuse. */
|
|
681
|
+
readonly paritySheet?: PageRecord;
|
|
649
682
|
}
|
|
650
683
|
/** Orchestrator state for multi-section incremental layout. */
|
|
651
684
|
interface MultiSectionLayoutState {
|
|
@@ -780,6 +813,9 @@ declare function listMarkerBox(item: ResolvedListItem, markerWidth: number, line
|
|
|
780
813
|
height: number;
|
|
781
814
|
} | null;
|
|
782
815
|
|
|
816
|
+
/** Soft ceiling on `basedOn` chain length — enough for real templates, refuses hostile graphs. */
|
|
817
|
+
declare const MAX_STYLE_BASED_ON_DEPTH = 32;
|
|
818
|
+
|
|
783
819
|
/** Far above anything Word authors (its UI caps at 63) while keeping allocation bounded. */
|
|
784
820
|
declare const MAX_TABLE_COLUMNS = 1024;
|
|
785
821
|
|
|
@@ -834,9 +870,13 @@ type CellVerticalAlign = 'top' | 'center' | 'bottom';
|
|
|
834
870
|
/**
|
|
835
871
|
* Where a table's left edge sits inside the box that contains it.
|
|
836
872
|
*
|
|
837
|
-
* Ordinary left-aligned tables start at their indent
|
|
838
|
-
*
|
|
839
|
-
*
|
|
873
|
+
* Ordinary left-aligned tables start at their indent, which may be negative and is not
|
|
874
|
+
* limited to the remaining width. Centered and right-aligned left-to-right tables use the
|
|
875
|
+
* remaining width and ignore the indent. `outerRuleOffsetPt` then moves the grid inward by
|
|
876
|
+
* half the outer side rule where the table puts that rule's outer edge on the aligned edge.
|
|
877
|
+
* For a supported mode-14 fixed table, that offset instead aligns the first cell's content.
|
|
878
|
+
* A verified legacy content-aligned table instead aligns the leading cell's content edge
|
|
879
|
+
* with the text column, without changing its indent.
|
|
840
880
|
*/
|
|
841
881
|
declare function tableOriginX(structure: SemanticTableStructure, containerWidthPt: number): number;
|
|
842
882
|
|
|
@@ -980,12 +1020,20 @@ interface SemanticTableStructure {
|
|
|
980
1020
|
readonly rows: readonly SemanticTableRow[];
|
|
981
1021
|
/** Verified pre-2013 percentage-width inline table; derived, never serialized. */
|
|
982
1022
|
readonly legacyContentAlignment?: true;
|
|
1023
|
+
/**
|
|
1024
|
+
* Derived, never serialized: how far the grid moves from the aligned table edge, in points.
|
|
1025
|
+
* A supported mode-14 fixed table shifts by its leading cell margin in the other direction.
|
|
1026
|
+
* A compatibility-mode-15 left- or right-aligned table puts the outer edge of its side rule
|
|
1027
|
+
* on that edge, so its first grid line sits half a rule inward. Positive moves right.
|
|
1028
|
+
*/
|
|
1029
|
+
readonly outerRuleOffsetPt?: number;
|
|
983
1030
|
/** `w:tblPr/w:tblW` — the width the table asked for. */
|
|
984
1031
|
readonly tableWidth: PreferredWidth;
|
|
985
1032
|
/**
|
|
986
1033
|
* `w:tblInd` (17.4.50) in points — "this indentation should shift the table into the text
|
|
987
1034
|
* margin by the specified amount". Applies to a left-aligned table; `w:jc` decides the
|
|
988
|
-
* placement outright for the other two.
|
|
1035
|
+
* placement outright for the other two. Negative on a top-level table, which the indent
|
|
1036
|
+
* pulls into the leading margin; never negative on a nested table.
|
|
989
1037
|
*/
|
|
990
1038
|
readonly indentPt: number;
|
|
991
1039
|
/** `w:tblPr/w:jc` (17.4.29) — where the table sits in the text column. */
|
|
@@ -1322,6 +1370,9 @@ declare function positionPastDeletion(layout: SemanticLayout, position: Semantic
|
|
|
1322
1370
|
*/
|
|
1323
1371
|
declare function mapSymbolPuaText(text: string, fontFamily: string | null | undefined, isFamilyAvailable?: (family: string) => boolean): string;
|
|
1324
1372
|
|
|
1373
|
+
/** Convert signed font units by an exact rational multiplier using the declared tie rule. */
|
|
1374
|
+
declare const roundFontUnitToFixedPoint: (fontUnits: number, denominator: number, numerator: number, mode: FixedPointRoundingMode) => FixedPoint;
|
|
1375
|
+
|
|
1325
1376
|
/**
|
|
1326
1377
|
* The exact HarfBuzz build this engine shapes against.
|
|
1327
1378
|
*
|
|
@@ -1426,8 +1477,6 @@ interface HarfBuzzTextShaper extends TextShaper {
|
|
|
1426
1477
|
}
|
|
1427
1478
|
/** Structural sfnt validation that does not construct native HarfBuzz objects. */
|
|
1428
1479
|
declare const harfBuzzFontValidator: FontByteValidator;
|
|
1429
|
-
/** Convert signed font units by an exact rational multiplier using the declared tie rule. */
|
|
1430
|
-
declare const roundFontUnitToFixedPoint: (fontUnits: number, denominator: number, numerator: number, mode: FixedPointRoundingMode) => FixedPoint;
|
|
1431
1480
|
/**
|
|
1432
1481
|
* Build a HarfBuzz-backed shaper.
|
|
1433
1482
|
*
|
|
@@ -1671,6 +1720,29 @@ interface LineSegment {
|
|
|
1671
1720
|
/** Every paragraph a line carries, in visual order. One entry for an ordinary line. */
|
|
1672
1721
|
declare function lineSegments(line: LineRecord): readonly LineSegment[];
|
|
1673
1722
|
|
|
1723
|
+
/**
|
|
1724
|
+
* The box a painter clips a vector shape to: `bounds` grown on each side where a stroked
|
|
1725
|
+
* outline reaches past the drawing extent.
|
|
1726
|
+
*
|
|
1727
|
+
* An outline is centred on its geometry and is not cut at the extent, a text column, or a cell
|
|
1728
|
+
* edge that meets the extent: a rule at x=0 of a group with `wp:effectExtent l="0"` keeps
|
|
1729
|
+
* its full width. The reach comes from butt-capped segments and miter joins, measured
|
|
1730
|
+
* only on the part of each segment inside the extent, so geometry outside the extent stays
|
|
1731
|
+
* clipped and a side grows by at most the miter reach. A line-end triangle on a line that
|
|
1732
|
+
* ends inside the extent grows it too. A side stays as it is when a layout region or a
|
|
1733
|
+
* negative effect extent cut into the shape itself, and a drawing clipped to nothing stays
|
|
1734
|
+
* empty.
|
|
1735
|
+
*
|
|
1736
|
+
* Only the paint clip grows. Collisions, hit testing, and pointer targets keep `paintBounds`,
|
|
1737
|
+
* so a painter clips with this box without making it clickable.
|
|
1738
|
+
*
|
|
1739
|
+
* `bounds` is the drawing's `paintBounds` in any translation: the record's own, or the
|
|
1740
|
+
* absolute paint bounds of an export visit.
|
|
1741
|
+
*
|
|
1742
|
+
* @public
|
|
1743
|
+
*/
|
|
1744
|
+
declare function vectorShapeInkClip(drawing: InlineDrawingRecord | AnchoredDrawingRecord, bounds: LayoutBox): LayoutBox;
|
|
1745
|
+
|
|
1674
1746
|
/** Memoized style inputs shared by every story in one document view. @public */
|
|
1675
1747
|
interface DocumentStyleDependencies {
|
|
1676
1748
|
readonly styleCascade: () => StyleCascadeTable | undefined;
|
|
@@ -1713,6 +1785,8 @@ interface HeaderFooterPageContext {
|
|
|
1713
1785
|
readonly marginRight: number;
|
|
1714
1786
|
readonly marginTop: number;
|
|
1715
1787
|
readonly marginBottom: number;
|
|
1788
|
+
/** `w:pgMar/@w:header` for a header, `@w:footer` for a footer: the story edge's distance. */
|
|
1789
|
+
readonly storyDistance?: number;
|
|
1716
1790
|
}
|
|
1717
1791
|
/** Per-sheet geometry needed to resolve header/footer anchors before wrap and clipping. */
|
|
1718
1792
|
interface HeaderFooterLayoutPageContext extends FieldPageContext {
|
|
@@ -1928,7 +2002,7 @@ declare const MAX_NOTE_FRAGMENTS = 512;
|
|
|
1928
2002
|
*/
|
|
1929
2003
|
type NoteLayoutFallbackReason = 'note-count-limit' | 'note-fragment-limit' | 'note-reflow-exhausted' | 'note-height-cap'
|
|
1930
2004
|
/** Authored separator/continuationSeparator taller than the content column. */
|
|
1931
|
-
| 'note-separator-height-cap' | 'missing-note-body' | 'dangling-note-reference';
|
|
2005
|
+
| 'note-separator-height-cap' | 'note-continuation-notice-height-cap' | 'missing-note-body' | 'dangling-note-reference';
|
|
1932
2006
|
/**
|
|
1933
2007
|
* One note's body laid out as its own story, in story-relative coordinates.
|
|
1934
2008
|
*
|
|
@@ -2468,9 +2542,15 @@ interface SemanticLayoutOptions {
|
|
|
2468
2542
|
* OOXML inheritance). `furniture` remains the single-section / last-section fallback.
|
|
2469
2543
|
*/
|
|
2470
2544
|
readonly sectionFurniture?: readonly (PageFurniture | undefined)[];
|
|
2545
|
+
/**
|
|
2546
|
+
* `w:evenAndOddHeaders` from settings.xml. A section that restarts its page numbering then
|
|
2547
|
+
* starts on a sheet whose position has the parity of the restarted number. When absent,
|
|
2548
|
+
* layout reads the flag from the section furniture.
|
|
2549
|
+
*/
|
|
2550
|
+
readonly evenAndOddHeaders?: boolean;
|
|
2471
2551
|
/** Authored column count/gap for anchored `relativeFrom="column"` frame resolution. */
|
|
2472
2552
|
readonly sectionColumns?: SectionColumns;
|
|
2473
|
-
/**
|
|
2553
|
+
/** Active section line-grid pitch: line-unit margins and line snapping. Absent: no grid. */
|
|
2474
2554
|
readonly paragraphLineUnitPt?: number;
|
|
2475
2555
|
/**
|
|
2476
2556
|
* This section's resolved `w:pgBorders`, for the frame each of its sheets publishes.
|
|
@@ -2560,7 +2640,7 @@ interface SemanticLayoutOptions {
|
|
|
2560
2640
|
readonly projectionTokenForTable?: (table: OoxmlNode) => string;
|
|
2561
2641
|
/** @deprecated Prefer {@link drawingTokenForParagraph}. */
|
|
2562
2642
|
readonly drawingLayoutToken?: string;
|
|
2563
|
-
/** Internal: reflow pass index
|
|
2643
|
+
/** Internal: reflow pass index; negative values establish anchor pages before backward wrap. */
|
|
2564
2644
|
readonly drawingExclusionPass?: number;
|
|
2565
2645
|
/** Internal: converged exclusion zones — skips the reflow loop when set with zones. */
|
|
2566
2646
|
readonly drawingExclusionConverged?: boolean;
|
|
@@ -2664,7 +2744,7 @@ declare function formatLowerLetter(value: number): string;
|
|
|
2664
2744
|
* literal text, and formatting it as decimal invents a number the document never had.
|
|
2665
2745
|
* `bullet` is not formatted here — callers use the literal `lvlText`.
|
|
2666
2746
|
*
|
|
2667
|
-
* The remaining enumerants (`japaneseCounting`, `
|
|
2747
|
+
* The remaining enumerants (`japaneseCounting`, `thaiNumbers`, `ganada`, …) are
|
|
2668
2748
|
* per-script numeral sequences we do not carry glyph tables for. They fall back to decimal
|
|
2669
2749
|
* deliberately: the ORDINAL is still the authored one, only the script differs, which reads
|
|
2670
2750
|
* as a number in the wrong alphabet rather than as a missing or wrong marker.
|
|
@@ -2831,13 +2911,13 @@ declare function pageRefPageNumbersFromLayout(layout: SemanticLayout): (targetPa
|
|
|
2831
2911
|
declare function planRefFieldResultRefresh(part: OoxmlPart, options: RefFieldRefreshOptions): RefreshFieldResultsOp | null;
|
|
2832
2912
|
|
|
2833
2913
|
/**
|
|
2834
|
-
*
|
|
2835
|
-
*
|
|
2914
|
+
* Return story blocks in document order, flattening block-level content controls.
|
|
2915
|
+
* Compatible hidden paragraph marks join in body stories using the supplied styles and numbering.
|
|
2916
|
+
* Repeated calls with the same part and projection inputs share one array. Treat it as read-only.
|
|
2836
2917
|
*
|
|
2837
|
-
*
|
|
2838
|
-
* shared by every caller — treat it as read-only; mutating it corrupts later callers.
|
|
2918
|
+
* @public
|
|
2839
2919
|
*/
|
|
2840
|
-
declare function storyBlocks(part: OoxmlPart, displayMode?: RevisionDisplayMode, authorFilter?: RevisionAuthorFilter): OoxmlElement[];
|
|
2920
|
+
declare function storyBlocks(part: OoxmlPart, displayMode?: RevisionDisplayMode, authorFilter?: RevisionAuthorFilter, styles?: StyleCascadeTable, numberingIndex?: NumberingIndex): OoxmlElement[];
|
|
2841
2921
|
/**
|
|
2842
2922
|
* Blocks of one typed footnote/endnote node — a separate semantic story root.
|
|
2843
2923
|
*
|
|
@@ -3073,4 +3153,5 @@ declare function tabLeaderPattern(startPt: number, widthPt: number, advancePt: n
|
|
|
3073
3153
|
*/
|
|
3074
3154
|
declare function noteSeparatorRuleBox(span: StyleSpanRecord, line: LineRecord, stroke?: StrikeoutStrokePt): LayoutBox;
|
|
3075
3155
|
|
|
3076
|
-
export { AUTO_PREFERRED_WIDTH, AnchoredDrawingRecord,
|
|
3156
|
+
export { AUTO_PREFERRED_WIDTH, AnchoredDrawingRecord, BlockFragmentRecord, CELL_PAD, COMPOUND_BORDER_MIN_GAP_PT, COMPOUND_BORDER_MIN_STROKE_PT, CellBorderBox, ContentControlBoundaryRecord$1 as ContentControlBoundaryRecord, ContentControlLock, DEFAULT_CANVAS_FONT_STACK, DEFAULT_CELL_MARGINS, DrawingInsets, DrawingPoint, FieldLinkProjector, FixedPoint, FixedPointRoundingMode, FontByteValidator, GRAPHEME_SEGMENTER_LOCALE, HARFBUZZ_SHAPING_LIBRARY, HarfBuzzShapingError, HeaderFooterStoryRecord, HyperlinkFieldSpec, HyperlinkProjector, InlineDrawingRecord, LayoutBox, LineRecord, MAX_EACH_PAGE_MARK_CANDIDATES, MAX_LVL_TEXT_LENGTH, MAX_MARKER_TEXT_LENGTH, MAX_NOTES_LAID_OUT, MAX_NOTE_FRAGMENTS, MAX_NOTE_OVERFLOW_PAGES, MAX_NOTE_REFLOW_ATTEMPTS, MAX_STYLE_BASED_ON_DEPTH, MAX_TABLE_COLUMNS, MAX_TABLE_NESTING, MAX_TABLE_ROW_FRAGMENTS, MAX_TABLE_ROW_HEIGHT_PT, NoteAreaRecord, NoteStoryRecord, NumberingIndex, NumberingLevel, PageBorderFrameRecord, PageGeometry, PageRecord, ParagraphBorderStrokeRecord, ParagraphFragmentRecord, RefFieldContext, ResolvedListItem, ReviewItem, RevisionAttribution, RevisionAuthorFilter, RevisionDisplayMode, SectionColumns, SectionPageBorders, SelectionRect, SemanticLayout, SemanticPosition, SemanticSelection, ShapedRun, SourceRange, SpanLinkRecord, StrikeoutStrokePt, StyleCascadeTable, StyleSpanRecord, TableBorderBox, TableBorderSide, TableCellStyleFormatting, TablePaginationError, TextMeasurer, TextShaper, VersionedShapingLibrary, WORD_SEGMENTER_LOCALE, 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, listMarkerBox, mapSymbolPuaText, normalNotesOf, noteDisplayMarkMap, noteLineIdPrefix, noteMarkKey, noteSeparatorAreaBox, noteSeparatorRuleBox, noteStoryBlocks, pageBorderFrame, pageRefPageNumbersFromLayout, pagesToMaterialize, paragraphFragmentsOf, paragraphFragmentsOfBlocks, paragraphLayoutKey, paragraphMarkDeleted, paragraphShading, paragraphShadingBox, parseAutonumInstruction, planRefFieldResultRefresh, positionPastDeletion, projectedNoteMarkText, provisionalNoteMarks, readTableStructure, resetGraphemeBoundary, resolveDefaultSurfaceMeasurer, resolveDefaultWordBoundary, resolveOoxmlShadingFill, resolveStrictHexFill, reviewAnchorIndex, reviewItemGeometry, revisionRemovesParagraph, roundFontUnitToFixedPoint, runBorderStrokesForLine, segmentGraphemes, segmentWords, selectionRects, semanticHorizontalBoundaries, setGraphemeBoundary, setHarfBuzzWasmUrl, sha256FontBytes, shadingFillFromElement, shapedHorizontalBoundaries, storyBlocks, syntheticSeparatorBox, tabLeaderPattern, tableOriginX, tocFieldChromeParagraphIds, tryCreateCanvasMeasurer, unionLayoutBoxes, utf16OffsetToGrapheme, vectorShapeInkClip, wordBoundary, wordSegmentsToGraphemeRecords };
|
|
3157
|
+
export type { AutonumFieldKind, AutonumFieldSpec, CanvasMeasurerOptions, CanvasTextContext, CanvasTextMetrics, CellMarginsPt, CellVerticalAlign, CompoundBorderMetrics, ContentControlFragmentRecord, CreateDocumentFurnitureSourceOptions, CreateDocumentNotesInputOptions, DocumentFurnitureSource, DocumentLinkProjectors, DocumentStyleDependencies, FieldLinkRegistry, GraphemeBoundary, GraphemeSegment, GraphemeWordSegmentRecord, HarfBuzzFaceCacheEvent, HarfBuzzOutlineCacheEvent, HarfBuzzShapeCacheEvent, HarfBuzzShapingErrorCode, HarfBuzzTextShaper, HarfBuzzTextShaperInstrumentation, HarfBuzzTextShaperOptions, HeaderFooterVariantName, KeyedRange, LayoutCacheStats, LayoutScheduler, LayoutSchedulerOptions, LayoutScope, LayoutSession, LayoutSessionStats, LineSegment, ListCounterAdvance, ListCounterState, MaterializationInput, NoteDisplayMark, NoteLayoutFallbackReason, NoteMarkContext, NotePaginationFallbackReason, NoteReferenceSite, NoteSeparatorLayout, NoteSeparatorRuleStyle, NoteStoryDrawings, NoteStoryLayout, NotesAttachResult, NotesLayoutInput, PageFurniture, PageRefIndex, ParagraphKeyInputs, ParagraphLayoutCache, ParagraphLayoutCacheOptions, PreferredWidth, PreferredWidthType, RefFieldRefreshOptions, RegisteredFieldLink, ResolvedSurfaceMeasurer, ReviewParagraphAnchor, SemanticDrawingLayer, SemanticDrawingVisit, SemanticLayoutOptions, SemanticRootStoryKind, SemanticSpanVisit, SemanticStoryKind, SemanticStoryVisit, SemanticTableCell, SemanticTableRow, SemanticTableStructure, StoryDrawingContext, StoryDrawingHost, StoryParagraphFragmentContext, StoryProjectionDependencies, TableAlignment, TablePaginationErrorCode, TableRowHeight, TableRowHeightRule, ViewportWindow, WordBoundary, WordBoundaryResolverDeps, WordSegment };
|
package/dist/layout.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{N as DEFAULT_CANVAS_FONT_STACK,b as HARFBUZZ_SHAPING_LIBRARY,e as HarfBuzzShapingError,i as LayoutShapingConfigurationError,I as ResolvedCache,x as WORD_SEGMENTER_LOCALE,W as anchorLineY,A as boundedFallbackWordSegments,G as captureOperationSnapshot,da as cellSelectionBetween,ha as cellSelectionRects,ia as cellSelectionText,V as contentControlBoundaries,B as createBoundedFallbackWordBoundary,C as createDefaultWordBoundary,g as createHarfBuzzTextShaper,z as createIntlWordBoundary,ca as createLayoutScheduler,aa as createLayoutShapedMeasurer,p as createLayoutShaping,$ as createShapedMeasurer,r as disposeLayoutShaping,J as exportSourceRangeOf,K as forEachSemanticSpan,H as guardOperationSnapshot,f as harfBuzzFontValidator,c as initializeHarfBuzz,P as isCanvasMeasurementAvailable,v as isCumulativeGeometryTrustedFromLineOrigin,u as isGeometryTrustedCaretOffset,d as isHarfBuzzInitialized,y as isIntlWordSegmenterAvailable,t as isWholeGraphemeHorizontalBoundary,o as layoutFontConfigurationFingerprint,S as pageRefPageNumbersFromLayout,ba as pagesToMaterialize,fa as paragraphsInCells,T as planRefFieldResultRefresh,m as prepareLayoutFontConfiguration,R as resolveDefaultSurfaceMeasurer,D as resolveDefaultWordBoundary,X as reviewAnchorIndex,Y as reviewItemGeometry,a as roundFontUnitToFixedPoint,E as segmentWords,w as semanticHorizontalBoundaries,s as shapedHorizontalBoundaries,ga as spansInCells,ma as tabLeaderPattern,ja as tableContextAt,Q as tryCreateCanvasMeasurer,L as vectorShapeInkClip,F as wordSegmentsToGraphemeRecords}from'./chunk-SI5FLZGU.js';export{a as setHarfBuzzWasmUrl}from'./chunk-RIYSCEFQ.js';export{J as AUTO_PARAGRAPH_SPACING_PT,ud as AUTO_PREFERRED_WIDTH,vd as CELL_PAD,D as COMPOUND_BORDER_MIN_GAP_PT,C as COMPOUND_BORDER_MIN_STROKE_PT,wd as DEFAULT_CELL_MARGINS,Ia as DEFAULT_PAGE_GEOMETRY,Ra as DEFAULT_REVISION_DISPLAY_MODE,Z as DEFAULT_RUN_STYLE,Hc as DEFAULT_SECTION_PROPERTIES,Jb as DEFAULT_TAB_INTERVAL_PT,Ib as DEFAULT_TAB_INTERVAL_TWIPS,Hd as DEFAULT_VERTICAL_WEIGHT,hd as EMPTY_NUMBERING_INDEX,Lb as EMPTY_TAB_STOPS,e as FontResolutionError,ga as GRAPHEME_SEGMENTER_LOCALE,d as HARD_MAX_AGGREGATE_FONT_BYTES,b as HARD_MAX_FONT_BYTES,c as HARD_MAX_FONT_SOURCES,I as MAX_BORDER_SPACE_PT,H as MAX_BORDER_WIDTH_PT,Gc as MAX_DOCUMENT_SECTIONS,Ae as MAX_EACH_PAGE_MARK_CANDIDATES,ed as MAX_LVL_OVERRIDES,rb as MAX_LVL_TEXT_LENGTH,qb as MAX_MARKER_TEXT_LENGTH,me as MAX_NOTES_LAID_OUT,ne as MAX_NOTE_FRAGMENTS,ze as MAX_NOTE_OVERFLOW_PAGES,ye as MAX_NOTE_REFLOW_ATTEMPTS,dd as MAX_NUMBERING_DEFINITIONS,G as MAX_PARAGRAPH_SPACING_PT,p as MAX_SHAPING_CONTEXT,Wb as MAX_STYLE_BASED_ON_DEPTH,bc as MAX_STYLE_DEFINITIONS,md as MAX_TABLE_BORDER_STROKES,zd as MAX_TABLE_NESTING,Zd as MAX_TABLE_ROW_FRAGMENTS,Ad as MAX_TABLE_ROW_HEIGHT_PT,Hb as MAX_TAB_POSITION_TWIPS,Gb as MAX_TAB_STOPS,Cc as PAGE_BORDER_SIDES,L as PARAGRAPH_BORDER_SIDES,K as SINGLE_LINE_SPACING,Kb as TAB_LEADER_GLYPH,_d as TablePaginationError,qa as UnsupportedScriptError,Y as appliedSpaceBefore,P as applyLineSpacing,Fe as attachNotesToLayout,ca as baselineShiftPtOf,td as borderExtentPt,qd as borderWeight,V as bottomBorderExtentPt,m as boundedStructuralFontValidator,fd as buildNumberingIndex,Ce as buildPageRefIndex,cc as buildStyleCascadeTable,Ye as caretAt,Rd as caretBoxOnLine,We as caretStops,Xe as caretStopsForBlocks,dc as cascadeParagraphFormatting,fc as cascadeRunProperties,ec as cascadedBottomBorder,S as cascadedParagraphBorders,Mb as cascadedTabStops,sb as clampListValue,X as collapsedSpaceBefore,df as compositionAnchor,E as computeDoubleBorderMetricsPt,Ee as computeFootnoteReserves,Od as contentControlAtPoint,_e as contentControlAtSemantic,ke as contentControlHoldingParagraph,je as contentControlRecordsInPart,$e as contentControlsInLayout,Fa as contentControlsOfLayout,ce as createDocumentFurnitureSource,fe as createDocumentLinkProjectors,de as createDocumentNotesInput,id as createDocumentStyleDependencies,ge as createFieldLinkRegistry,fa as createFixedMeasurer,n as createFontResourceSnapshot,He as createLayoutSession,ic as createListCounterState,gb as createParagraphLayoutCache,t as createShapedRun,q as createShapingEnvironment,te as defaultNoteSeparatorRuleStyle,Pb as defaultTabIntervalFromSettings,bf as deletedTextBoundaries,zc as deriveNoteDisplayMarks,Ac as deriveNoteDisplayMarksResolved,$ as displayText,Oa as documentOrder,ee as documentRelationshipTargetIn,ld as effectiveBorderSide,Ha as effectiveContentControlLock,Db as emptyTocPlaceholderParagraphIds,Eb as emptyTocSuppressedResultParagraphIds,Nc as enumerateDocumentSections,Pc as enumerateDocumentSectionsBounded,Pa as everyStoryOrder,Ab as expandLvlText,De as filterRefsOnPage,Sd as findDrawingOverlayFrameInLayout,qe as findSeparatorNote,o as fixedPoint,i as fontRequestKey,Ba as forEachSemanticDrawing,za as forEachSemanticStory,Ca as forEachStoryParagraphFragment,tb as formatDecimal,ub as formatDecimalZero,yb as formatLowerLetter,wb as formatLowerRoman,zb as formatNumFmt,Wc as formatPageNumber,$a as formatRevisionOf,xb as formatUpperLetter,vb as formatUpperRoman,Be as fragmentOwnsAtomOffset,Da as fragmentsOfParagraph,Qc as geometryOfSection,da as glyphSizeFactorOf,ja as graphemeBoundaryEpoch,na as graphemeCount,pa as graphemeOffsetToUtf16,Ld as hitTestPage,Ze as hitTestSemantic,Nd as hitTestSheet,ia as intlGraphemeBoundary,Jd as isFurniturePoint,ha as isIntlSegmenterAvailable,ue as isMarkerOnlySeparatorNote,Vb as isValidStyleId,ra as itemizeScriptFontSlots,Re as keyedRangeRects,$b as layoutEquation,be as layoutHeaderFooterStory,se as layoutNoteById,ve as layoutNoteSeparator,re as layoutNoteStory,Ie as layoutSemanticDocument,Ea as lineAtPosition,Pd as lineEndOffset,Ja as lineSegments,wa as linesOf,nc as listMarkerBox,a as mapSymbolPuaText,Za as markRevisionRemovesMark,aa as measureDisplayText,rc as mergeListIndent,cf as moveCaret,Qb as nextTabDestination,pe as normalNotesOf,Bc as noteDisplayMarkMap,oe as noteLineIdPrefix,ad as noteMarkKey,xe as noteSeparatorAreaBox,le as noteSeparatorRuleBox,yc as noteStoryBlocks,Id as pageAtY,ie as pageBorderFrame,Ec as pageBordersFingerprint,U as paragraphBorderExtentPt,T as paragraphBorderStrokeWidthPt,R as paragraphBorders,W as paragraphBordersFingerprint,F as paragraphBreaksBefore,Q as paragraphContextualSpacing,ua as paragraphFragmentsOf,va as paragraphFragmentsOfBlocks,fb as paragraphLayoutKey,O as paragraphLineSpacing,jc as paragraphMarkDeleted,Xa as paragraphMarkFormatRevisionOf,_a as paragraphMarkRevisionOf,Wa as paragraphMarkRevisionsOf,Lc as paragraphSectionNode,y as paragraphShading,z as paragraphShadingBox,N as paragraphSpacing,Nb as paragraphTabStops,af as paragraphTextFromLayout,Bb as parseAutonumInstruction,Dc as parsePageBorders,Ic as parsePageNumbering,pb as parseRefInstruction,Jc as parseSectionProperties,Le as positionPastDeletion,bd as projectedNoteMarkText,Oc as projectedSectionSourceIndexes,Ge as provisionalNoteMarks,nd as readBorderSide,pd as readCellBorders,pc as readNumPr,Mc as readSectionProperties,od as readTableBorders,Bd as readTableStructure,ma as resetGraphemeBoundary,rd as resolveBorderConflict,gd as resolveNumberingLevel,w as resolveOoxmlShadingFill,gc as resolveParagraphLayoutInputs,_ as resolveRunStyle,tc as resolveStoryListItems,Tc as resolveStoryRefFields,v as resolveStrictHexFill,sd as resolveTableCellBorderGrid,Ua as revisionAuthorFilter,lc as revisionRemovesParagraph,ab as revisionsAreDeletion,Va as revisionsVisible,Ub as runBorderStrokesForLine,ba as runStylesEqual,ka as segmentGraphemes,Pe as selectionRects,la as setGraphemeBoundary,x as shadingFillFromElement,u as shapedRunComparatorInputs,s as shapingEnvironmentFingerprint,r as shapingEnvironmentFingerprintInputs,Ya as shownMarkRevision,Qd as spanOffsetX,ef as spansInSelection,xc as storyBlocks,sa as styleForFontSlot,we as syntheticSeparatorBox,Rb as tabAdvanceWidth,Sb as tabStopsFingerprint,yd as tableOriginX,Cb as tocFieldChromeParagraphIds,Ga as unionLayoutBoxes,oa as utf16OffsetToGrapheme,sc as walkStoryParagraphs,Ob as withDefaultTabInterval,qc as withNumberingStyleLinks,uc as withResolvedListItems,Me as wordBoundary}from'./chunk-J3EM5ZEA.js';import'./chunk-XWXJB4J7.js';export{ra as activeReviewItem,ta as commentBodyText,ua as commentInitials,oa as firstReviewRange,ma as reviewItemKey,pa as reviewItemPositionRank,na as reviewItemRanges,qa as reviewItemsAt,sa as reviewThreadRootOf}from'./chunk-XMWH2R23.js';export{sc as MAX_SDT_NESTING,hi as MAX_TABLE_COLUMNS,ah as W15_NAMESPACE_URI,xc as collectFlowBlocks,wc as contentControlContentChildren,tc as isContentControl,uc as isContentControlContent,Li as paragraphOrderOfPart,a as sha256FontBytes}from'./chunk-JXL25DRU.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { O as OoxmlPart,
|
|
1
|
+
import { O as OoxmlPart, N as OoxmlNode, Q as OoxmlPackage } from './types-barrel-DN_-gaRX.js';
|
|
2
2
|
|
|
3
3
|
/** `w:pos` — where a section's footnotes are laid out. */
|
|
4
4
|
type FootnotePosition = 'pageBottom' | 'beneathText' | 'sectEnd' | 'docEnd';
|
|
@@ -64,4 +64,5 @@ declare function isLegalFootnotePosition(pos: string): pos is FootnotePosition;
|
|
|
64
64
|
/** Whether a file-supplied string is a legal `w:numRestart` value. Narrows the type. */
|
|
65
65
|
declare function isLegalNumRestart(value: string): value is NoteNumRestart;
|
|
66
66
|
|
|
67
|
-
export {
|
|
67
|
+
export { DEFAULT_ENDNOTE_PROPERTIES as D, DEFAULT_FOOTNOTE_PROPERTIES as a, authoredDocumentEndnoteProperties as c, authoredDocumentFootnoteProperties as d, authoredEndnotePropertiesFromSectPr as e, authoredFootnotePropertiesFromSectPr as f, isLegalFootnotePosition as g, isLegalNumRestart as h, isLegalEndnotePosition as i, resolveFootnoteProperties as j, parseAuthoredNoteProperties as p, resolveEndnoteProperties as r, settingsPartOf as s };
|
|
68
|
+
export type { AuthoredNoteProperties as A, EndnotePosition as E, FootnotePosition as F, NoteNumRestart as N, ResolvedEndnoteProperties as R, ResolvedFootnoteProperties as b };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { U as OoxmlNodeId, V as OoxmlGenericElementNode,
|
|
1
|
+
import { U as OoxmlNodeId, V as OoxmlGenericElementNode, N as OoxmlNode } from './types-barrel-DN_-gaRX.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";
|
|
@@ -81,4 +81,5 @@ type NextNodeId = () => string;
|
|
|
81
81
|
/** Parse compact linear math and generate fresh canonical OMML in one bounded operation. */
|
|
82
82
|
declare function linearMathToOmml(input: string, nextId: NextNodeId, limits?: OmmlLimits): LinearMathOmmlResult;
|
|
83
83
|
|
|
84
|
-
export { DEFAULT_OMML_LIMITS as D,
|
|
84
|
+
export { DEFAULT_OMML_LIMITS as D, OFFICE_MATH_NAMESPACE_URI as c, equationExpressionToLinearMath as e, projectOmmlEquation as f, linearMathToOmml as l, parseLinearMath as p };
|
|
85
|
+
export type { EquationExpression as E, LinearMathOmmlResult as L, OmmlEquationProjection as O, LinearMathParseResult as a, LinearMathRejection as b, OmmlLimits as d };
|
package/dist/output.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkVPKKYCZI_cjs=require('./chunk-VPKKYCZI.cjs');require('./chunk-AKF5KM2W.cjs'),require('./chunk-W3ZUPQIZ.cjs'),require('./chunk-TBFZZX7Z.cjs'),require('./chunk-P4SBMHHO.cjs'),require('./chunk-T4TKRNZT.cjs');Object.defineProperty(exports,"DEFAULT_FIELD_SHADING",{enumerable:true,get:function(){return chunkVPKKYCZI_cjs.j}});Object.defineProperty(exports,"paintSelectionOverlay",{enumerable:true,get:function(){return chunkVPKKYCZI_cjs.o}});Object.defineProperty(exports,"paintSemanticLayout",{enumerable:true,get:function(){return chunkVPKKYCZI_cjs.m}});
|
package/dist/output.d.ts
CHANGED
|
@@ -1,11 +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-
|
|
1
|
+
import { R as ReviewAuthorInfo } from './semantic-paint-C032N0ps.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-C032N0ps.js';
|
|
3
|
+
import { S as SemanticLayout } from './semantic-records-BSjo-xck.js';
|
|
4
|
+
import './image-resources-DkuzBnTM.js';
|
|
5
|
+
import './types-barrel-DN_-gaRX.js';
|
|
6
6
|
import './editor-scope-OHPwVQ5l.js';
|
|
7
|
-
import './revision-projection-
|
|
8
|
-
import './omml-equation-
|
|
7
|
+
import './revision-projection-CVJeA2jp.js';
|
|
8
|
+
import './omml-equation-BY7OdfGY.js';
|
|
9
9
|
|
|
10
10
|
/** A rectangle in page-content coordinates, on a named page. */
|
|
11
11
|
interface OverlayRect {
|
|
@@ -82,4 +82,5 @@ interface SelectionOverlayOptions {
|
|
|
82
82
|
*/
|
|
83
83
|
declare function paintSelectionOverlay(layer: HTMLElement, layout: SemanticLayout, rects: readonly OverlayRect[], options: SelectionOverlayOptions): void;
|
|
84
84
|
|
|
85
|
-
export {
|
|
85
|
+
export { ReviewAuthorInfo, paintSelectionOverlay };
|
|
86
|
+
export type { OverlayRect, SelectionOverlayOptions };
|
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-YIBEBHT3.js';import'./chunk-SI5FLZGU.js';import'./chunk-RIYSCEFQ.js';import'./chunk-J3EM5ZEA.js';import'./chunk-XWXJB4J7.js';import'./chunk-XMWH2R23.js';import'./chunk-JXL25DRU.js';
|