@docx-editor.dev/core 2.27.0 → 2.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/automation.cjs +1 -1
- package/dist/automation.d.ts +26 -13
- package/dist/automation.js +1 -1
- package/dist/binding.cjs +1 -1
- package/dist/binding.d.ts +20 -9
- package/dist/binding.js +1 -1
- package/dist/chunk-2GO5T2JU.cjs +1 -0
- package/dist/chunk-2RC2EPND.js +3 -0
- package/dist/chunk-4GBTELJV.cjs +28 -0
- package/dist/chunk-4R3TEXMN.js +18 -0
- package/dist/chunk-5CSUYANV.js +1 -0
- package/dist/chunk-6APGXLBB.cjs +3 -0
- package/dist/chunk-6AWEKBLB.cjs +1 -0
- package/dist/chunk-6EYYL7FL.js +1 -0
- package/dist/chunk-E7BQA6UP.js +2 -0
- package/dist/chunk-EO4C5QJW.cjs +2 -0
- package/dist/chunk-ETTO6GK3.js +1 -0
- package/dist/chunk-FIJZIQXA.cjs +18 -0
- package/dist/chunk-FRXAOVTB.js +28 -0
- package/dist/chunk-J6BVWIDB.js +2 -0
- package/dist/chunk-JGNVNT2A.cjs +2 -0
- package/dist/chunk-K5U2PLDP.cjs +2 -0
- package/dist/chunk-KKIJG3C6.js +2 -0
- package/dist/chunk-LWDSDCMO.js +27 -0
- package/dist/chunk-O2AL2HSJ.cjs +1 -0
- package/dist/chunk-QMLCVPCD.cjs +1 -0
- package/dist/chunk-RCHS4ZEH.cjs +27 -0
- package/dist/chunk-SRPILEWV.cjs +5 -0
- package/dist/chunk-TSLBZ26X.js +1 -0
- package/dist/chunk-VDNNLG6X.js +2 -0
- package/dist/chunk-VHAVHCQY.js +7 -0
- package/dist/chunk-VX43VBAX.cjs +7 -0
- package/dist/chunk-Z6WBFXJU.js +5 -0
- package/dist/{chunk-2GK7YQB2.cjs → chunk-ZUHOMK52.cjs} +1 -1
- package/dist/collaboration/replication.cjs +1 -1
- package/dist/collaboration/replication.d.ts +41 -5
- package/dist/collaboration/replication.js +1 -1
- package/dist/collaboration.cjs +1 -1
- package/dist/collaboration.d.ts +98 -6
- package/dist/collaboration.js +1 -1
- package/dist/contracts/document.d.ts +17 -2
- package/dist/contracts/editor.d.ts +19 -9
- package/dist/contracts/interaction.d.ts +29 -0
- package/dist/contracts/modules.d.ts +31 -7
- package/dist/contracts/types.d.ts +10 -1
- package/dist/{custom-node-writes-Vzpq9I8_.d.ts → custom-node-writes-cvL5rhcD.d.ts} +2 -2
- package/dist/{document-protection-9zpIHWTE.d.ts → document-protection-BAGVGqaP.d.ts} +1 -1
- package/dist/{editor-B3OBYNrF.d.ts → editor-Ci7IZGmG.d.ts} +392 -140
- package/dist/editor.cjs +1 -1
- package/dist/editor.css +5 -5
- package/dist/editor.d.ts +415 -30
- package/dist/editor.js +1 -1
- package/dist/export.cjs +2 -2
- package/dist/export.d.ts +23 -13
- package/dist/export.js +2 -2
- package/dist/failure-NS2lsya4.d.ts +115 -0
- package/dist/{font-resolver-DN0xNOf_.d.ts → font-resolver-BVQB14qT.d.ts} +1 -1
- package/dist/{headless-document-view-ICYqNkQ1.d.ts → headless-document-view-qH331moE.d.ts} +2 -2
- package/dist/{image-resources-BDFxcu7W.d.ts → image-resources-BN-hUgCn.d.ts} +9 -9
- package/dist/{index-CkQVRJtJ.d.ts → index-Bsg7oIKP.d.ts} +234 -111
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +46 -19
- package/dist/index.js +1 -1
- package/dist/{layout-shaping-BvZD_VKP.d.ts → layout-shaping-BEyuiQOk.d.ts} +1 -1
- package/dist/layout.cjs +1 -1
- package/dist/layout.d.ts +170 -78
- package/dist/layout.js +1 -1
- package/dist/{note-properties-CkAk7g-n.d.ts → note-properties-4Y9o6Gyk.d.ts} +1 -1
- package/dist/{omml-equation-DuczgG5o.d.ts → omml-equation-CuzBL5DD.d.ts} +1 -1
- package/dist/output.cjs +1 -1
- package/dist/output.d.ts +18 -8
- package/dist/output.js +1 -1
- package/dist/{protocol-aKYr8r3u.d.ts → protocol-Bqk4Izjc.d.ts} +44 -4
- package/dist/review-pane-D9jm8DcY.d.ts +128 -0
- package/dist/{review-paragraph-order-Ddj5d6rp.d.ts → review-paragraph-order-DT-n6ouC.d.ts} +5 -2
- package/dist/{revision-projection-CSNFudZY.d.ts → revision-projection-DZ4kKVev.d.ts} +1 -1
- package/dist/{semantic-cell-selection-DoqYCz_F.d.ts → semantic-cell-selection-D9D1KSXq.d.ts} +8 -6
- package/dist/{semantic-interaction-G0bjmmmk.d.ts → semantic-interaction-CIC-PooQ.d.ts} +25 -34
- package/dist/{semantic-paint-CsMzF8-O.d.ts → semantic-paint-BME37OMv.d.ts} +4 -4
- package/dist/{semantic-record-queries-1du6lQqS.d.ts → semantic-record-queries-CBlZqZNa.d.ts} +1 -1
- package/dist/{semantic-records-B9OolWGN.d.ts → semantic-records-4B3WwFAi.d.ts} +74 -42
- package/dist/store.cjs +1 -1
- package/dist/store.d.ts +157 -134
- package/dist/store.js +1 -1
- package/dist/{tree-package-fragment-DYZIk1rY.d.ts → tree-package-fragment-BeeKxDw8.d.ts} +77 -57
- package/dist/{tree-session-contract-DQVJOOkv.d.ts → tree-session-contract-CVbmlMlq.d.ts} +7 -5
- package/dist/{types-barrel-BFKR8Pzp.d.ts → types-barrel-D3xCgQX6.d.ts} +462 -362
- package/package.json +2 -2
- package/dist/chunk-4KZ6L5YF.cjs +0 -15
- package/dist/chunk-55AT3MOU.cjs +0 -25
- package/dist/chunk-6ZQMII6V.js +0 -1
- package/dist/chunk-7IGCWG4H.js +0 -2
- package/dist/chunk-7MYITTAH.js +0 -5
- package/dist/chunk-AVKVRU7Z.cjs +0 -5
- package/dist/chunk-CWRBFNK5.cjs +0 -5
- package/dist/chunk-DGPA3TST.cjs +0 -27
- package/dist/chunk-DNXVNQEO.js +0 -1
- package/dist/chunk-FQN4KSFL.cjs +0 -7
- package/dist/chunk-GVUOWHTO.cjs +0 -1
- package/dist/chunk-GWQJ5774.js +0 -5
- package/dist/chunk-HAQ72KD7.js +0 -1
- package/dist/chunk-HO5XFO32.cjs +0 -3
- package/dist/chunk-IGR23DV2.js +0 -1
- package/dist/chunk-JSIX2EOH.js +0 -3
- package/dist/chunk-K246T47S.cjs +0 -1
- package/dist/chunk-KAXOGCGA.js +0 -1
- package/dist/chunk-LZLTN5A3.cjs +0 -1
- package/dist/chunk-OHAXVTWG.cjs +0 -1
- package/dist/chunk-S74GRBNE.js +0 -7
- package/dist/chunk-UBLUVNZR.js +0 -27
- package/dist/chunk-UMRSBLO7.js +0 -15
- package/dist/chunk-VIPMGGUT.js +0 -25
- package/dist/chunk-WG4KMSX2.cjs +0 -2
- package/dist/chunk-WRLKVNNR.cjs +0 -1
- package/dist/chunk-ZU7IVN6G.js +0 -2
- package/dist/failure-BIPVQbRm.d.ts +0 -65
package/dist/layout.d.ts
CHANGED
|
@@ -1,22 +1,35 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
export {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
import './
|
|
1
|
+
/**
|
|
2
|
+
* `@docx-editor.dev/core/layout` — DOM-free pagination, shaping, and hit testing.
|
|
3
|
+
*
|
|
4
|
+
* Text is measured through an injected `TextMeasurer` and shaped through an injected
|
|
5
|
+
* `TextShaper`, so the same code paginates in a browser and on a server. Points everywhere;
|
|
6
|
+
* twips convert at property-read boundaries.
|
|
7
|
+
*
|
|
8
|
+
* Incremental by construction: per-block cache keys and flow checkpoints mean a pass that
|
|
9
|
+
* changes nothing returns the previous pages by identity.
|
|
10
|
+
*
|
|
11
|
+
* @packageDocumentation
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
import { s as NumberingLevel, t as NumberingIndex, S as SemanticLayout, b as LayoutBox, D as DrawingPoint, u as DrawingInsets, e as StyleSpanRecord, I as InlineDrawingRecord, M as ModelRange, v as TableBorderSide, w as TableFloatXSpec, x as TableFloatYSpec, P as ParagraphFragmentRecord, B as BlockFragmentRecord, A as AnchoredDrawingRecord, a as PageRecord, y as ResolvedListItem, z as RefFieldContext, T as TextMeasurer, E as InlineDrawingLayoutContext, G as CellBorderBox, J as TableBorderBox, K as TableCellStyleFormatting, O as TableFloatPosition, Q as StyleCascadeTable, C as ContentControlBoundaryRecord$1, m as FixedPointRoundingMode, U as FixedPoint, V as VersionedShapingLibrary, j as TextShaper, W as FontByteValidator, r as ShapedRun, L as LineRecord, X as SourceRange, Y as HyperlinkProjector, Z as FieldLinkProjector, _ as StoryPageFieldNeeds, $ as HyperlinkFieldSpec, a0 as SpanLinkRecord, f as SectionPageBorders, a1 as PageBorderFrameRecord, a2 as ParagraphBorderStrokeRecord, a3 as StrikeoutStrokePt } from './semantic-records-4B3WwFAi.js';
|
|
15
|
+
export { a4 as AUTO_PARAGRAPH_SPACING_PT, a5 as AbstractNumDefinition, a6 as AnchoredDrawingLayoutFallback, a7 as BidiEmbeddingLevels, a8 as BorderGridGeometry, a9 as CascadedParagraphFormatting, aa as CjkTypographySettings, ab as ContentControlGeometryFragment, ac as ContentControlLevel, d as ContentControlLock, ad as ContentControlMappedType, ae as DEFAULT_RUN_STYLE, af as DEFAULT_TAB_INTERVAL_PT, ag as DEFAULT_TAB_INTERVAL_TWIPS, ah as DeclaredFontSubstitution, ai as DrawingClipFallback, aj as DrawingGeometry, ak as DrawingGroupPictureRecord, al as EMPTY_NUMBERING_INDEX, am as EMPTY_TAB_STOPS, an as EquationFractionGeometry, ao as EquationGeometry, ap as EquationNaryGeometry, aq as EquationRadicalGeometry, ar as EquationRowGeometry, as as EquationScriptGeometry, at as EquationSpanRecord, au as EquationTextGeometry, av as FieldAtomMarker, aw as FontFingerprintInputs, n as FontRequest, ax as FontResolutionError, ay as FontResolutionErrorCode, az as FontResourceDefinition, aA as FontResourceInstrumentation, F as FontResourceSnapshot, aB as FontResourceSnapshotOptions, aC as FontSlot, q as FontSubstitution, aD as FontValidationResult, aE as GlyphOutline, aF as GroupTextboxStoryRecord, aG as HARD_MAX_AGGREGATE_FONT_BYTES, aH as HARD_MAX_FONT_BYTES, aI as HARD_MAX_FONT_SOURCES, H as HeaderFooterStoryRecord, aJ as LevelOverride, aK as LineSpacingRule, aL as ListMarkerAlign, p as ListMarkerPictureRecord, aM as ListMarkerRecord, aN as ListSuffix, aO as MAX_BORDER_SPACE_PT, aP as MAX_BORDER_WIDTH_PT, aQ as MAX_LVL_OVERRIDES, aR as MAX_NUMBERING_DEFINITIONS, aS as MAX_PARAGRAPH_SPACING_PT, aT as MAX_SHAPING_CONTEXT, aU as MAX_STYLE_DEFINITIONS, aV as MAX_TABLE_BORDER_STROKES, aW as MAX_TAB_POSITION_TWIPS, aX as MAX_TAB_STOPS, l as NormalizationPolicy, N as NoteAreaRecord, c as NoteStoryRecord, aY as NumDefinition, aZ as NumberingLevelIndent, a_ as NumberingPictureBullet, a$ as PAGE_BORDER_SIDES, b0 as PARAGRAPH_BORDER_SIDES, b1 as PageBorderDisplay, b2 as PageBorderOffsetFrom, b3 as PageBorderSide, b4 as PageBorderStrokeRecord, b5 as PageBorderZOrder, b6 as PageRefCalibrationCell, b7 as PageRefFieldProjection, b8 as ParagraphAutoSpacingContext, b9 as ParagraphBorderEdge, ba as ParagraphBorderSide, bb as ParagraphBorders, bc as ParagraphBottomBorderRecord, bd as ParagraphIndent, be as ParagraphLayoutInputs, bf as ParagraphLineSpacing, bg as ParagraphSpacing, bh as RefFieldSpec, bi as RefNoteParts, bj as ResolvedCellBorders, k as ResolvedFont, bk as ResolvedPictureBullet, R as ResolvedRunStyle, bl as ResolvedTabStops, bm as ResolvedTableBorderEdge, bn as ResolvedTableBorderEdgeSegment, bo as ResolvedUnderline, bp as SINGLE_LINE_SPACING, bq as ScriptItem, br as SemanticArtifactRootStoryKind, bs as SemanticArtifactStoryKind, bt as SemanticCommentArtifactRecord, bu as SemanticReviewArtifactOccurrence, bv as SemanticReviewArtifactOccurrenceGeometry, bw as SemanticReviewArtifactPosition, o as SemanticReviewArtifactRecord, bx as SemanticReviewArtifactSource, by as SemanticTrackedChangeArtifactRecord, bz as ShapeInput, bA as ShapedCluster, bB as ShapedFontSpan, bC as ShapedGlyph, bD as ShapedRunComparatorInputs, bE as ShapedVerticalMetrics, bF as ShapingContext, bG as ShapingEnvironment, bH as ShapingEnvironmentFingerprintInputs, i as ShapingEnvironmentInput, bI as StyleDefinition, bJ as TAB_LEADER_GLYPH, bK as TabAlignment, bL as TabDestination, bM as TabLeader, bN as TabStop, bO as TableBorderSideName, bP as TableBorderStrokeRecord, h as TableCellFragmentRecord, bQ as TableFragmentRecord, g as TableRowFragmentRecord, bR as TextDirection, bS as TextboxStoryFallbackReason, bT as TextboxStoryLayout, bU as UnsupportedScriptError, bV as VerticalAlign, bW as appliedSpaceBefore, bX as applyLineSpacing, bY as baselineShiftPtOf, bZ as borderExtentPt, b_ as borderWeight, b$ as bottomBorderExtentPt, c0 as boundedStructuralFontValidator, c1 as buildNumberingIndex, c2 as buildStyleCascadeTable, c3 as cascadeParagraphFormatting, c4 as cascadeRunProperties, c5 as cascadedBottomBorder, c6 as cascadedParagraphBorders, c7 as cascadedTabStops, c8 as collapsedSpaceBefore, c9 as createFontResourceSnapshot, ca as createShapedRun, cb as createShapingEnvironment, cc as defaultTabIntervalFromSettings, cd as displayText, ce as fixedPoint, cf as fontRequestKey, cg as glyphSizeFactorOf, ch as isValidStyleId, ci as itemizeScriptFontSlots, cj as layoutEquation, ck as measureDisplayText, cl as mergeListIndent, cm as nextTabDestination, cn as pageBordersFingerprint, co as paragraphBorderExtentPt, cp as paragraphBorderStrokeWidthPt, cq as paragraphBorders, cr as paragraphBordersFingerprint, cs as paragraphBreaksBefore, ct as paragraphContextualSpacing, cu as paragraphLineSpacing, cv as paragraphSpacing, cw as paragraphTabStops, cx as parsePageBorders, cy as parseRefInstruction, cz as readBorderSide, cA as readCellBorders, cB as readNumPr, cC as readTableBorders, cD as resolveBorderConflict, cE as resolveNumberingLevel, cF as resolveParagraphLayoutInputs, cG as resolveRunStyle, cH as resolveStoryListItems, cI as resolveStoryRefFields, cJ as resolveTableCellBorderGrid, cK as runStylesEqual, cL as shapedRunComparatorInputs, cM as shapingEnvironmentFingerprint, cN as shapingEnvironmentFingerprintInputs, cO as styleForFontSlot, cP as tabAdvanceWidth, cQ as tabStopsFingerprint, cR as withDefaultTabInterval, cS as withNumberingStyleLinks, cT as withResolvedListItems } from './semantic-records-4B3WwFAi.js';
|
|
16
|
+
export { C as CacheLookup, b as CacheMiss, c as CacheProvenance, e as LayoutEnvironmentShapedMeasurerOptions, f as LayoutFontConfiguration, g as LayoutFontSource, h as LayoutFontSubstitution, i as LayoutShapingConfigurationError, j as LayoutShapingEnvironment, L as LayoutShapingInstrumentation, a as LayoutShapingOptions, O as OperationSnapshot, k as OperationSnapshotField, l as OperationSnapshotGuard, P as PreparedLayoutFontConfiguration, R as ResolvedCache, m as ResourceDependencyProvenance, S as ShapedMeasurerOptions, n as captureOperationSnapshot, o as createLayoutShapedMeasurer, p as createLayoutShaping, q as createShapedMeasurer, d as disposeLayoutShaping, r as guardOperationSnapshot, s as layoutFontConfigurationFingerprint, t as prepareLayoutFontConfiguration } from './layout-shaping-BEyuiQOk.js';
|
|
17
|
+
import { a as SemanticStoryKind, S as SemanticRootStoryKind, b as SemanticStoryVisit, T as TextboxOwnerRecord } from './semantic-record-queries-CBlZqZNa.js';
|
|
18
|
+
export { c as SemanticDrawingLayer, d as SemanticDrawingVisit, e as StoryDrawingContext, f as StoryDrawingHost, g as StoryParagraphFragmentContext, h as contentControlsOfLayout, i as effectiveContentControlLock, j as forEachSemanticDrawing, k as forEachSemanticStory, l as forEachStoryParagraphFragment, m as fragmentsOfParagraph, n as lineAtPosition, o as linesOf, p as paragraphFragmentsOf, q as paragraphFragmentsOfBlocks, u as unionLayoutBoxes } from './semantic-record-queries-CBlZqZNa.js';
|
|
19
|
+
import { ak as ImpactClass, N as OoxmlNode, X as OoxmlProperty, Z as OoxmlElement, O as OoxmlPart, W as TreeDocOp, Q as OoxmlPackage, b9 as ContentControlKind, ba as ContentControlLevel, bc as ContentControlLock, b6 as ContentControlDataBinding, a as ReviewItem } from './types-barrel-D3xCgQX6.js';
|
|
20
|
+
export { b1 as CommentAnchor, b2 as CommentPosition, C as CommentRecord, aY as CommentThreadState, aK as DrawingAccessibility, aw as DrawingHorizontalReferenceFrame, aL as DrawingImageEffects, aM as DrawingTransform, ax as DrawingVerticalReferenceFrame, an as ImageWrapTarget, c as ReviewCommentItem, d as ReviewCustomItem, R as ReviewModelInput, e as ReviewPosition, f as ReviewRange, b as ReviewRevisionItem, g as ReviewRevisionKind, al as SourceCrop, aJ as TableBorderStyle, dB as VectorShapeComponent, aN as VectorShapeProjection, cs as W15_NAMESPACE_URI, dC as activeReviewItem, cW as firstReviewRange, ds as reviewItemKey, dD as reviewItemPositionRank, dt as reviewItemRanges, dE as reviewItemsAt, dF as reviewThreadRootOf } from './types-barrel-D3xCgQX6.js';
|
|
21
|
+
import { D as DocumentProperties, H as HeadlessDocumentView, r as relationshipTargetIn } from './headless-document-view-qH331moE.js';
|
|
22
|
+
import { o as RevisionAttribution, b as RevisionDisplayMode, c as RevisionAuthorFilter } from './revision-projection-DZ4kKVev.js';
|
|
23
|
+
export { p as DEFAULT_REVISION_DISPLAY_MODE, q as RevisionFilter, s as RevisionKind, t as formatRevisionOf, u as markRevisionRemovesMark, v as paragraphMarkFormatRevisionOf, w as paragraphMarkRevisionOf, x as paragraphMarkRevisionsOf, y as revisionAuthorFilter, z as revisionsAreDeletion, A as revisionsVisible, B as shownMarkRevision } from './revision-projection-DZ4kKVev.js';
|
|
24
|
+
import { b as ResolvedFootnoteProperties, R as ResolvedEndnoteProperties } from './note-properties-4Y9o6Gyk.js';
|
|
25
|
+
import { e as TreeModelChange, N as NoteKind, aA as noteTypeOf, k as FieldResultsMode } from './tree-package-fragment-BeeKxDw8.js';
|
|
26
|
+
import { P as PageGeometry, a as SectionColumns } from './semantic-cell-selection-D9D1KSXq.js';
|
|
27
|
+
export { C as CellSelection, D as DEFAULT_PAGE_GEOMETRY, b as DEFAULT_SECTION_PROPERTIES, c as DEFAULT_VERTICAL_WEIGHT, d as DocumentSection, e as DocumentSectionsEnumeration, f as DrawingOverlayFrame, H as HitPoint, g as HitTestOptions, M as MAX_DOCUMENT_SECTIONS, h as PlacedCell, i as SectionBreakType, j as SectionColumnDefinition, k as SectionMargins, l as SectionPageNumbering, S as SectionProperties, m as SemanticHit, n as SemanticHitDrawing, T as TableCellAddress, o as TableCellContext, p as caretBoxOnLine, q as cellSelectionBetween, r as cellSelectionRects, s as cellSelectionText, t as contentControlAtPoint, u as enumerateDocumentSections, v as enumerateDocumentSectionsBounded, w as findDrawingOverlayFrameInLayout, x as geometryOfSection, y as hitTestPage, z as hitTestSheet, A as isFurniturePoint, B as lineEndOffset, E as pageAtY, F as paragraphSectionNode, G as paragraphsInCells, I as parsePageNumbering, J as parseSectionProperties, K as projectedSectionSourceIndexes, L as readSectionProperties, N as spanOffsetX, O as spansInCells, Q as tableContextAt } from './semantic-cell-selection-D9D1KSXq.js';
|
|
28
|
+
export { M as MAX_SDT_NESTING, c as collectFlowBlocks, a as commentBodyText, b as commentInitials, j as contentControlContentChildren, i as isContentControl, f as isContentControlContent, p as paragraphOrderOfPart } from './review-paragraph-order-DT-n6ouC.js';
|
|
29
|
+
import { S as SemanticPosition, b as SelectionRect, a as SemanticSelection, C as CaretGeometry } from './semantic-interaction-CIC-PooQ.js';
|
|
30
|
+
export { c as CaretAtOptions, M as MoveCaretOptions, N as NavigationCommand, d as caretAt, e as caretStops, f as caretStopsForBlocks, g as compositionAnchor, h as contentControlsInLayout, i as deletedTextBoundaries, m as moveCaret, p as paragraphTextFromLayout, s as spansInSelection } from './semantic-interaction-CIC-PooQ.js';
|
|
31
|
+
import './image-resources-BN-hUgCn.js';
|
|
32
|
+
import './omml-equation-CuzBL5DD.js';
|
|
20
33
|
import './editor-scope-OHPwVQ5l.js';
|
|
21
34
|
|
|
22
35
|
/**
|
|
@@ -211,6 +224,67 @@ interface FieldPageContext {
|
|
|
211
224
|
*/
|
|
212
225
|
declare function formatPageNumber(value: number, format: string | undefined): string;
|
|
213
226
|
|
|
227
|
+
type WrapTextSide = 'bothSides' | 'left' | 'right' | 'largest';
|
|
228
|
+
interface WrapExclusionInput {
|
|
229
|
+
readonly mode: 'square' | 'tight' | 'through' | 'topAndBottom';
|
|
230
|
+
readonly contentBounds: LayoutBox;
|
|
231
|
+
readonly polygon: readonly DrawingPoint[] | null;
|
|
232
|
+
readonly clipPolygon: readonly DrawingPoint[] | null;
|
|
233
|
+
readonly wrapDistances: DrawingInsets;
|
|
234
|
+
readonly effectInsets: DrawingInsets;
|
|
235
|
+
readonly textSide: WrapTextSide;
|
|
236
|
+
readonly contentLeft: number;
|
|
237
|
+
readonly contentRight: number;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
/** Paint layer relative to body text — not the OOXML wrap element. */
|
|
241
|
+
type DrawingPaintLayer = 'behind' | 'inFront';
|
|
242
|
+
/** The header or footer object a furniture exclusion zone comes from. */
|
|
243
|
+
interface FurnitureZoneSource {
|
|
244
|
+
readonly partName: string;
|
|
245
|
+
readonly kind: 'drawing' | 'table';
|
|
246
|
+
readonly nodeId: string;
|
|
247
|
+
}
|
|
248
|
+
interface ExclusionZone {
|
|
249
|
+
/** Objects outside body drawing flow publish their exclusion directly instead of synthesizing it. */
|
|
250
|
+
readonly sourceKind?: 'table' | 'frame' | 'furniture';
|
|
251
|
+
/**
|
|
252
|
+
* Placed by an earlier section on the sheet a `continuous` section continues on. Its anchor
|
|
253
|
+
* is not in the continued section, so the zone reaches every line and column there.
|
|
254
|
+
*/
|
|
255
|
+
readonly earlierSection?: boolean;
|
|
256
|
+
/**
|
|
257
|
+
* The header or footer object a `furniture` zone comes from. Node ids are unique only within
|
|
258
|
+
* one part, so a furniture zone is identified by its part, its kind, and its node together
|
|
259
|
+
* (see {@link exclusionZoneIdentity}), never by a composed id string.
|
|
260
|
+
*/
|
|
261
|
+
readonly furnitureSource?: FurnitureZoneSource;
|
|
262
|
+
readonly drawingNodeId: string;
|
|
263
|
+
readonly anchorParagraphId: string;
|
|
264
|
+
/** UTF-16 model offset of the anchor atom — exclusions apply at/after this point in the paragraph. */
|
|
265
|
+
readonly anchorModelStart: number;
|
|
266
|
+
/**
|
|
267
|
+
* The band's vertical position is resolved against the page or a margin, not against the
|
|
268
|
+
* anchor's own flow position, so it cannot move when the text beside it reflows.
|
|
269
|
+
*
|
|
270
|
+
* Such a band excludes every line it crosses on its page, including lines that PRECEDE the
|
|
271
|
+
* anchor — a picture pinned to the top of the margin wraps the paragraphs above its anchor
|
|
272
|
+
* exactly as it wraps the ones below. Flow-relative bands (`paragraph`, `line`) stay
|
|
273
|
+
* forward-only: reaching back would move the anchor that positions them.
|
|
274
|
+
*/
|
|
275
|
+
readonly pageFramedBand?: boolean;
|
|
276
|
+
readonly sourceOrder: number;
|
|
277
|
+
readonly paintLayer: DrawingPaintLayer;
|
|
278
|
+
readonly relativeHeight: number;
|
|
279
|
+
readonly allowOverlap: boolean;
|
|
280
|
+
/** Owning column index in a multi-column section — 0 for single-column and HF stories. */
|
|
281
|
+
readonly columnIndex: number;
|
|
282
|
+
/** Resolved top edge in page-content coordinates after overlap displacement. */
|
|
283
|
+
readonly y: number;
|
|
284
|
+
readonly verticalBand: LayoutBox;
|
|
285
|
+
readonly input: WrapExclusionInput;
|
|
286
|
+
}
|
|
287
|
+
|
|
214
288
|
type AutonumFieldKind = 'AUTONUM' | 'AUTONUMLGL' | 'AUTONUMOUT';
|
|
215
289
|
/** One recognized AUTONUM-family instruction: the kind and its supported switches. */
|
|
216
290
|
interface AutonumFieldSpec {
|
|
@@ -379,12 +453,14 @@ interface ParagraphLayoutCacheOptions {
|
|
|
379
453
|
* Entries retained before the least recently used are dropped.
|
|
380
454
|
*
|
|
381
455
|
* The default has to exceed a realistic document, or a full pass evicts exactly what the
|
|
382
|
-
* next one needs and the cache costs more than it saves.
|
|
456
|
+
* next one needs and the cache costs more than it saves. Unset, an estimated byte budget
|
|
457
|
+
* bounds the cache instead, because one cached break can be a hundred times another.
|
|
383
458
|
*/
|
|
384
459
|
readonly maxEntries?: number;
|
|
385
460
|
/** Keep placed breaks for later revisions. Default true; false bounds one-shot exporters. */
|
|
386
461
|
readonly retainAcrossPasses?: boolean;
|
|
387
462
|
}
|
|
463
|
+
|
|
388
464
|
/**
|
|
389
465
|
* A bounded least-recently-used cache with generation-scoped retention.
|
|
390
466
|
*
|
|
@@ -392,10 +468,10 @@ interface ParagraphLayoutCacheOptions {
|
|
|
392
468
|
* contains — every keystroke mints a new key for the paragraph being typed in — and an
|
|
393
469
|
* unbounded cache would hold every intermediate state of the session.
|
|
394
470
|
*
|
|
395
|
-
* The bound never evicts the CURRENT working set: entries
|
|
396
|
-
* retain or touched since it began are skipped, and the
|
|
397
|
-
* document is larger than
|
|
398
|
-
*
|
|
471
|
+
* The bound never evicts the CURRENT working set: entries named by this generation's
|
|
472
|
+
* retain or touched since it began are skipped, and the cache grows past its soft budget
|
|
473
|
+
* when a document is larger than it — evicting live entries made every full pass on a
|
|
474
|
+
* 500-page document re-measure the whole document.
|
|
399
475
|
*/
|
|
400
476
|
declare function createParagraphLayoutCache<T>(options?: ParagraphLayoutCacheOptions): ParagraphLayoutCache<T>;
|
|
401
477
|
|
|
@@ -414,55 +490,6 @@ interface FieldCodeRange {
|
|
|
414
490
|
}
|
|
415
491
|
type FieldCodeRanges = ReadonlyMap<string, readonly FieldCodeRange[]>;
|
|
416
492
|
|
|
417
|
-
type WrapTextSide = 'bothSides' | 'left' | 'right' | 'largest';
|
|
418
|
-
interface WrapExclusionInput {
|
|
419
|
-
readonly mode: 'square' | 'tight' | 'through' | 'topAndBottom';
|
|
420
|
-
readonly contentBounds: LayoutBox;
|
|
421
|
-
readonly polygon: readonly DrawingPoint[] | null;
|
|
422
|
-
readonly clipPolygon: readonly DrawingPoint[] | null;
|
|
423
|
-
readonly wrapDistances: DrawingInsets;
|
|
424
|
-
readonly effectInsets: DrawingInsets;
|
|
425
|
-
readonly textSide: WrapTextSide;
|
|
426
|
-
readonly contentLeft: number;
|
|
427
|
-
readonly contentRight: number;
|
|
428
|
-
}
|
|
429
|
-
|
|
430
|
-
/** Paint layer relative to body text — not the OOXML wrap element. */
|
|
431
|
-
type DrawingPaintLayer = 'behind' | 'inFront';
|
|
432
|
-
interface ExclusionZone {
|
|
433
|
-
/** Objects outside body drawing flow publish their exclusion directly instead of synthesizing it. */
|
|
434
|
-
readonly sourceKind?: 'table' | 'frame' | 'furniture';
|
|
435
|
-
/**
|
|
436
|
-
* Placed by an earlier section on the sheet a `continuous` section continues on. Its anchor
|
|
437
|
-
* is not in the continued section, so the zone reaches every line and column there.
|
|
438
|
-
*/
|
|
439
|
-
readonly earlierSection?: boolean;
|
|
440
|
-
readonly drawingNodeId: string;
|
|
441
|
-
readonly anchorParagraphId: string;
|
|
442
|
-
/** UTF-16 model offset of the anchor atom — exclusions apply at/after this point in the paragraph. */
|
|
443
|
-
readonly anchorModelStart: number;
|
|
444
|
-
/**
|
|
445
|
-
* The band's vertical position is resolved against the page or a margin, not against the
|
|
446
|
-
* anchor's own flow position, so it cannot move when the text beside it reflows.
|
|
447
|
-
*
|
|
448
|
-
* Such a band excludes every line it crosses on its page, including lines that PRECEDE the
|
|
449
|
-
* anchor — a picture pinned to the top of the margin wraps the paragraphs above its anchor
|
|
450
|
-
* exactly as it wraps the ones below. Flow-relative bands (`paragraph`, `line`) stay
|
|
451
|
-
* forward-only: reaching back would move the anchor that positions them.
|
|
452
|
-
*/
|
|
453
|
-
readonly pageFramedBand?: boolean;
|
|
454
|
-
readonly sourceOrder: number;
|
|
455
|
-
readonly paintLayer: DrawingPaintLayer;
|
|
456
|
-
readonly relativeHeight: number;
|
|
457
|
-
readonly allowOverlap: boolean;
|
|
458
|
-
/** Owning column index in a multi-column section — 0 for single-column and HF stories. */
|
|
459
|
-
readonly columnIndex: number;
|
|
460
|
-
/** Resolved top edge in page-content coordinates after overlap displacement. */
|
|
461
|
-
readonly y: number;
|
|
462
|
-
readonly verticalBand: LayoutBox;
|
|
463
|
-
readonly input: WrapExclusionInput;
|
|
464
|
-
}
|
|
465
|
-
|
|
466
493
|
interface PendingLine {
|
|
467
494
|
readonly spans: StyleSpanRecord[];
|
|
468
495
|
readonly drawings: InlineDrawingRecord[];
|
|
@@ -502,6 +529,11 @@ interface PendingLine {
|
|
|
502
529
|
deletedRanges?: readonly ModelRange[];
|
|
503
530
|
/** Vertical gap inserted before this line to clear a drawing exclusion band. */
|
|
504
531
|
exclusionSkipBefore?: number;
|
|
532
|
+
/**
|
|
533
|
+
* The line follows a text wrapping break that clears floating objects (`w:br w:clear`).
|
|
534
|
+
* Placement keeps its skip even on a line before the paragraph's first anchor.
|
|
535
|
+
*/
|
|
536
|
+
breakClearance?: true;
|
|
505
537
|
/** Clearance inherited by an empty anchor paragraph from other drawing bands. */
|
|
506
538
|
anchorClearanceBefore?: number;
|
|
507
539
|
/**
|
|
@@ -700,6 +732,8 @@ interface SectionStackSpan {
|
|
|
700
732
|
/** Orchestrator state for multi-section incremental layout. */
|
|
701
733
|
interface MultiSectionLayoutState {
|
|
702
734
|
structureKey: string;
|
|
735
|
+
/** Each section's part of {@link structureKey}, so an added section keeps the others. */
|
|
736
|
+
sectionKeys: readonly string[];
|
|
703
737
|
sections: LayoutSession[];
|
|
704
738
|
spans: SectionStackSpan[];
|
|
705
739
|
previousRemapped: readonly PageRecord[];
|
|
@@ -809,6 +843,9 @@ interface LayoutSession {
|
|
|
809
843
|
*/
|
|
810
844
|
declare function createLayoutSession(): LayoutSession;
|
|
811
845
|
|
|
846
|
+
/** Collect story paragraphs, preserving table depth limits across immutable row reuse. */
|
|
847
|
+
declare function walkStoryParagraphs(blocks: readonly OoxmlElement[], maxTableDepth?: number): OoxmlElement[];
|
|
848
|
+
|
|
812
849
|
/**
|
|
813
850
|
* Horizontal marker box inside the first-line indent slot.
|
|
814
851
|
*
|
|
@@ -853,7 +890,7 @@ type PreferredWidthType = 'dxa' | 'pct' | 'auto' | 'nil';
|
|
|
853
890
|
*/
|
|
854
891
|
interface PreferredWidth {
|
|
855
892
|
readonly type: PreferredWidthType;
|
|
856
|
-
/** POINTS for `dxa`, PERCENT (0–100
|
|
893
|
+
/** POINTS for `dxa`, PERCENT for `pct` (0–100, or up to 655.34 for a table), 0 otherwise. */
|
|
857
894
|
readonly value: number;
|
|
858
895
|
}
|
|
859
896
|
/** The frozen "no preferred width" value — what a table or cell that declares none resolves to. */
|
|
@@ -944,8 +981,8 @@ interface AutofitFieldContext {
|
|
|
944
981
|
* remaining width and ignore the indent. `outerRuleOffsetPt` then moves the grid inward by
|
|
945
982
|
* half the outer side rule where the table puts that rule's outer edge on the aligned edge.
|
|
946
983
|
* For a supported mode-14 fixed table, that offset instead aligns the first cell's content.
|
|
947
|
-
* A
|
|
948
|
-
*
|
|
984
|
+
* A legacy content-aligned table instead puts the content edge of its leading or trailing
|
|
985
|
+
* cell on the aligned edge of the text column; its indent still applies from the leading edge.
|
|
949
986
|
*/
|
|
950
987
|
declare function tableOriginX(structure: SemanticTableStructure, containerWidthPt: number): number;
|
|
951
988
|
|
|
@@ -1018,6 +1055,8 @@ interface SemanticTableCell {
|
|
|
1018
1055
|
readonly margins: CellMarginsPt;
|
|
1019
1056
|
/** Three-state authored `tcBorders` (omitted / none / edge). */
|
|
1020
1057
|
readonly borders: CellBorderBox;
|
|
1058
|
+
/** The row's `w:tblPrEx` table borders, which replace the table's own for this cell. */
|
|
1059
|
+
readonly rowTableBorders?: TableBorderBox;
|
|
1021
1060
|
/** Resolved incident edges used for content clearance, preserving authored border provenance. */
|
|
1022
1061
|
readonly contentBorders?: CellBorderBox;
|
|
1023
1062
|
/** The resolved cell (including a vertical merge) ends at the authored table bottom. */
|
|
@@ -1091,6 +1130,9 @@ interface SemanticTableStructure {
|
|
|
1091
1130
|
readonly rows: readonly SemanticTableRow[];
|
|
1092
1131
|
/** Verified pre-2013 percentage-width inline table; derived, never serialized. */
|
|
1093
1132
|
readonly legacyContentAlignment?: true;
|
|
1133
|
+
/** A legacy content-aligned table whose outer trailing edge, not its content, meets the
|
|
1134
|
+
* trailing text edge: a top-level table in a text box. Derived, never serialized. */
|
|
1135
|
+
readonly legacyTrailingOuterEdge?: true;
|
|
1094
1136
|
/**
|
|
1095
1137
|
* Derived, never serialized: how far the grid moves from the aligned table edge, in points.
|
|
1096
1138
|
* A supported mode-14 fixed table shifts by its leading cell margin in the other direction.
|
|
@@ -1141,7 +1183,9 @@ declare function readTableStructure(table: OoxmlNode, contentWidthPt: number, de
|
|
|
1141
1183
|
/** Which revisions the view resolves away; only the proposed result performs the join. */
|
|
1142
1184
|
displayMode?: RevisionDisplayMode, authorFilter?: RevisionAuthorFilter, compatibilityMode?: number,
|
|
1143
1185
|
/** Widens autofit columns to their content minimums; layout passes its measurer. */
|
|
1144
|
-
autofit?: TableAutofitContext
|
|
1186
|
+
autofit?: TableAutofitContext,
|
|
1187
|
+
/** The table is a top-level table of a text box story. */
|
|
1188
|
+
textBox?: boolean): SemanticTableStructure | null;
|
|
1145
1189
|
|
|
1146
1190
|
/** Paragraph ids in document order, deduplicated across fragments. */
|
|
1147
1191
|
declare function documentOrder(layout: SemanticLayout): string[];
|
|
@@ -1250,6 +1294,33 @@ declare function wordBoundary(text: string, offset: number, direction: -1 | 1, s
|
|
|
1250
1294
|
*/
|
|
1251
1295
|
declare function positionPastDeletion(layout: SemanticLayout, position: SemanticPosition): SemanticPosition;
|
|
1252
1296
|
|
|
1297
|
+
/**
|
|
1298
|
+
* The caret position nearest a point, in PAGE-CONTENT coordinates.
|
|
1299
|
+
*
|
|
1300
|
+
* Never returns null for a point inside the document: a click in the margin, past the end of
|
|
1301
|
+
* a line, or below the last line still has an obvious intended caret, and refusing to answer
|
|
1302
|
+
* would make those clicks do nothing.
|
|
1303
|
+
*
|
|
1304
|
+
* The rules live in `semantic-hit-test.ts`, which answers with the cell address and the
|
|
1305
|
+
* on-glyphs flag a pointer controller needs too; this keeps the geometry-only shape for
|
|
1306
|
+
* callers that want nothing else.
|
|
1307
|
+
*/
|
|
1308
|
+
declare function hitTestSemantic(layout: SemanticLayout, point: {
|
|
1309
|
+
readonly x: number;
|
|
1310
|
+
readonly y: number;
|
|
1311
|
+
readonly pageIndex?: number;
|
|
1312
|
+
}): CaretGeometry | null;
|
|
1313
|
+
/**
|
|
1314
|
+
* Innermost content-control boundary at a page-content point, or null outside every control.
|
|
1315
|
+
*
|
|
1316
|
+
* Prefers the deepest nesting depth when nested boundaries share geometry.
|
|
1317
|
+
*/
|
|
1318
|
+
declare function contentControlAtSemantic(layout: SemanticLayout, point: {
|
|
1319
|
+
readonly x: number;
|
|
1320
|
+
readonly y: number;
|
|
1321
|
+
readonly pageIndex?: number;
|
|
1322
|
+
}): ContentControlBoundaryRecord$1 | null;
|
|
1323
|
+
|
|
1253
1324
|
/**
|
|
1254
1325
|
* Rewrite private-use symbol-font codepoints to their Unicode equivalents.
|
|
1255
1326
|
*
|
|
@@ -1984,6 +2055,11 @@ interface LayoutNoteStoryOptions {
|
|
|
1984
2055
|
readonly numberingIndex?: NumberingIndex;
|
|
1985
2056
|
readonly defaultTabStopPt?: number;
|
|
1986
2057
|
readonly compatibilityMode?: number;
|
|
2058
|
+
/**
|
|
2059
|
+
* The active line-grid pitch of the section that owns the note, in points. Note lines snap
|
|
2060
|
+
* to it like body lines do; absent means no grid.
|
|
2061
|
+
*/
|
|
2062
|
+
readonly lineGridPitchPt?: number;
|
|
1987
2063
|
readonly displayMode?: RevisionDisplayMode;
|
|
1988
2064
|
readonly revisionAuthorFilter?: RevisionAuthorFilter;
|
|
1989
2065
|
/**
|
|
@@ -2148,6 +2224,8 @@ interface NotesLayoutInput {
|
|
|
2148
2224
|
readonly styleCascade?: StyleCascadeTable;
|
|
2149
2225
|
/** `numbering.xml`, so a `w:numPr` paragraph inside a note resolves a marker. */
|
|
2150
2226
|
readonly numberingIndex?: NumberingIndex;
|
|
2227
|
+
/** Per-section active line-grid pitch in points; note lines snap to their section's grid. */
|
|
2228
|
+
readonly lineGridPitchBySection?: readonly (number | undefined)[];
|
|
2151
2229
|
readonly defaultTabStopPt?: number;
|
|
2152
2230
|
readonly compatibilityMode?: number;
|
|
2153
2231
|
readonly displayMode?: RevisionDisplayMode;
|
|
@@ -2510,6 +2588,14 @@ interface SemanticLayoutOptions {
|
|
|
2510
2588
|
readonly projectFieldLink?: FieldLinkProjector;
|
|
2511
2589
|
/** Field-code inspection projection. @internal */
|
|
2512
2590
|
readonly showFieldCodes?: boolean;
|
|
2591
|
+
/**
|
|
2592
|
+
* How the pass addresses saved field results (DATE, MERGEFIELD, HYPERLINK display text, see
|
|
2593
|
+
* `FieldResultsMode`). `atomic` (the default) lays every field out as one model unit.
|
|
2594
|
+
* `editable` lays a saved result out as ordinary text at the offsets the store's editable
|
|
2595
|
+
* mode addresses, so a caret, a hit, and a selection inside it land on its characters. The
|
|
2596
|
+
* mode is folded into every cache key.
|
|
2597
|
+
*/
|
|
2598
|
+
readonly fieldResults?: FieldResultsMode;
|
|
2513
2599
|
/** @internal */
|
|
2514
2600
|
readonly fieldCodeRanges?: FieldCodeRanges;
|
|
2515
2601
|
/** @internal Word TOC character-style suppression. */
|
|
@@ -2566,6 +2652,12 @@ interface SemanticLayoutOptions {
|
|
|
2566
2652
|
* cached rows do not stack under the empty placeholder.
|
|
2567
2653
|
*/
|
|
2568
2654
|
readonly emptyTocSuppressedResultParagraphIds?: ReadonlySet<string>;
|
|
2655
|
+
/**
|
|
2656
|
+
* Lay out only the first `bodyBlockLimit` body blocks. A large open lays out a growing
|
|
2657
|
+
* prefix in separate tasks, each pass resuming from the last, so the page stays
|
|
2658
|
+
* responsive; the final pass has no limit. @internal
|
|
2659
|
+
*/
|
|
2660
|
+
readonly bodyBlockLimit?: number;
|
|
2569
2661
|
}
|
|
2570
2662
|
|
|
2571
2663
|
/**
|
|
@@ -3055,5 +3147,5 @@ declare function tabLeaderPattern(startPt: number, widthPt: number, advancePt: n
|
|
|
3055
3147
|
*/
|
|
3056
3148
|
declare function noteSeparatorRuleBox(span: StyleSpanRecord, line: LineRecord, stroke?: StrikeoutStrokePt): LayoutBox;
|
|
3057
3149
|
|
|
3058
|
-
export { AUTO_PREFERRED_WIDTH, AnchoredDrawingRecord, BlockFragmentRecord, CELL_PAD, COMPOUND_BORDER_MIN_GAP_PT, COMPOUND_BORDER_MIN_STROKE_PT, CellBorderBox, ContentControlBoundaryRecord$1 as ContentControlBoundaryRecord, DEFAULT_CANVAS_FONT_STACK, DEFAULT_CELL_MARGINS, DrawingInsets, DrawingPoint, FieldLinkProjector, FixedPoint, FixedPointRoundingMode, FontByteValidator, GRAPHEME_SEGMENTER_LOCALE, HARFBUZZ_SHAPING_LIBRARY, HarfBuzzShapingError, HyperlinkFieldSpec, HyperlinkProjector, InlineDrawingRecord, LayoutBox, LineRecord, MAX_EACH_PAGE_MARK_CANDIDATES, MAX_LVL_TEXT_LENGTH, MAX_MARKER_TEXT_LENGTH, MAX_NOTES_LAID_OUT, MAX_NOTE_FRAGMENTS, MAX_NOTE_OVERFLOW_PAGES, MAX_NOTE_REFLOW_ATTEMPTS, MAX_STYLE_BASED_ON_DEPTH, MAX_TABLE_COLUMNS, MAX_TABLE_NESTING, MAX_TABLE_ROW_FRAGMENTS, MAX_TABLE_ROW_HEIGHT_PT, NumberingIndex, NumberingLevel, PageBorderFrameRecord, PageGeometry, PageRecord, ParagraphBorderStrokeRecord, ParagraphFragmentRecord, RefFieldContext, ResolvedListItem, ReviewItem, RevisionAttribution, RevisionAuthorFilter, RevisionDisplayMode, SectionColumns, SectionPageBorders, SelectionRect, SemanticLayout, SemanticPosition, SemanticRootStoryKind, SemanticSelection, SemanticStoryKind, SemanticStoryVisit, ShapedRun, SourceRange, SpanLinkRecord, StrikeoutStrokePt, StyleCascadeTable, StyleSpanRecord, TableBorderBox, TableBorderSide, TableCellStyleFormatting, TablePaginationError, TextMeasurer, TextShaper, TextboxOwnerRecord, VersionedShapingLibrary, WORD_SEGMENTER_LOCALE, anchorLineY, attachNotesToLayout, boundedFallbackWordSegments, buildPageRefIndex, clampListValue, computeDoubleBorderMetricsPt, computeFootnoteReserves, contentControlBoundaries, contentControlHoldingParagraph, contentControlRecordsInPart, createBoundedFallbackWordBoundary, createDefaultWordBoundary, createDocumentFurnitureSource, createDocumentLinkProjectors, createDocumentNotesInput, createDocumentStyleDependencies, createFieldLinkRegistry, createFixedMeasurer, createHarfBuzzTextShaper, createIntlWordBoundary, createLayoutScheduler, createLayoutSession, createListCounterState, createParagraphLayoutCache, defaultNoteSeparatorRuleStyle, deriveNoteDisplayMarks, deriveNoteDisplayMarksResolved, documentOrder, documentRelationshipTargetIn, effectiveBorderSide, emptyTocPlaceholderParagraphIds, emptyTocSuppressedResultParagraphIds, everyStoryOrder, expandLvlText, exportSourceRangeOf, filterRefsOnPage, findSeparatorNote, forEachSemanticSpan, formatDecimal, formatDecimalZero, formatLowerLetter, formatLowerRoman, formatNumFmt, formatPageNumber, formatUpperLetter, formatUpperRoman, fragmentOwnsAtomOffset, graphemeBoundaryEpoch, graphemeCount, graphemeOffsetToUtf16, harfBuzzFontValidator, initializeHarfBuzz, intlGraphemeBoundary, isCanvasMeasurementAvailable, isCumulativeGeometryTrustedFromLineOrigin, isGeometryTrustedCaretOffset, isHarfBuzzInitialized, isIntlSegmenterAvailable, isIntlWordSegmenterAvailable, isMarkerOnlySeparatorNote, isWholeGraphemeHorizontalBoundary, keyedRangeRects, layoutHeaderFooterStory, layoutNoteById, layoutNoteSeparator, layoutNoteStory, layoutSemanticDocument, lineSegments, listMarkerBox, mapSymbolPuaText, normalNotesOf, noteDisplayMarkMap, noteLineIdPrefix, noteMarkKey, noteSeparatorAreaBox, noteSeparatorRuleBox, noteStoryBlocks, pageBorderFrame, pageRefPageNumbersFromLayout, pagesToMaterialize, paragraphLayoutKey, paragraphMarkDeleted, paragraphShading, paragraphShadingBox, parseAutonumInstruction, planRefFieldResultRefresh, positionPastDeletion, projectedNoteMarkText, provisionalNoteMarks, readTableStructure, resetGraphemeBoundary, resolveDefaultSurfaceMeasurer, resolveDefaultWordBoundary, resolveOoxmlShadingFill, resolveStrictHexFill, reviewAnchorIndex, reviewItemGeometry, revisionRemovesParagraph, roundFontUnitToFixedPoint, runBorderStrokesForLine, segmentGraphemes, segmentWords, selectionRects, semanticHorizontalBoundaries, setGraphemeBoundary, setHarfBuzzWasmUrl, sha256FontBytes, shadingFillFromElement, shapedHorizontalBoundaries, storyBlocks, syntheticSeparatorBox, tabLeaderPattern, tableOriginX, tocFieldChromeParagraphIds, tryCreateCanvasMeasurer, utf16OffsetToGrapheme, vectorShapeInkClip, wordBoundary, wordSegmentsToGraphemeRecords };
|
|
3150
|
+
export { AUTO_PREFERRED_WIDTH, AnchoredDrawingRecord, BlockFragmentRecord, CELL_PAD, COMPOUND_BORDER_MIN_GAP_PT, COMPOUND_BORDER_MIN_STROKE_PT, CaretGeometry, CellBorderBox, ContentControlBoundaryRecord$1 as ContentControlBoundaryRecord, DEFAULT_CANVAS_FONT_STACK, DEFAULT_CELL_MARGINS, DrawingInsets, DrawingPoint, FieldLinkProjector, FixedPoint, FixedPointRoundingMode, FontByteValidator, GRAPHEME_SEGMENTER_LOCALE, HARFBUZZ_SHAPING_LIBRARY, HarfBuzzShapingError, HyperlinkFieldSpec, HyperlinkProjector, InlineDrawingRecord, LayoutBox, LineRecord, MAX_EACH_PAGE_MARK_CANDIDATES, MAX_LVL_TEXT_LENGTH, MAX_MARKER_TEXT_LENGTH, MAX_NOTES_LAID_OUT, MAX_NOTE_FRAGMENTS, MAX_NOTE_OVERFLOW_PAGES, MAX_NOTE_REFLOW_ATTEMPTS, MAX_STYLE_BASED_ON_DEPTH, MAX_TABLE_COLUMNS, MAX_TABLE_NESTING, MAX_TABLE_ROW_FRAGMENTS, MAX_TABLE_ROW_HEIGHT_PT, NumberingIndex, NumberingLevel, PageBorderFrameRecord, PageGeometry, PageRecord, ParagraphBorderStrokeRecord, ParagraphFragmentRecord, RefFieldContext, ResolvedListItem, ReviewItem, RevisionAttribution, RevisionAuthorFilter, RevisionDisplayMode, SectionColumns, SectionPageBorders, SelectionRect, SemanticLayout, SemanticPosition, SemanticRootStoryKind, SemanticSelection, SemanticStoryKind, SemanticStoryVisit, ShapedRun, SourceRange, SpanLinkRecord, StrikeoutStrokePt, StyleCascadeTable, StyleSpanRecord, TableBorderBox, TableBorderSide, TableCellStyleFormatting, TablePaginationError, TextMeasurer, TextShaper, TextboxOwnerRecord, VersionedShapingLibrary, WORD_SEGMENTER_LOCALE, anchorLineY, attachNotesToLayout, boundedFallbackWordSegments, buildPageRefIndex, clampListValue, computeDoubleBorderMetricsPt, computeFootnoteReserves, contentControlAtSemantic, contentControlBoundaries, contentControlHoldingParagraph, contentControlRecordsInPart, createBoundedFallbackWordBoundary, createDefaultWordBoundary, createDocumentFurnitureSource, createDocumentLinkProjectors, createDocumentNotesInput, createDocumentStyleDependencies, createFieldLinkRegistry, createFixedMeasurer, createHarfBuzzTextShaper, createIntlWordBoundary, createLayoutScheduler, createLayoutSession, createListCounterState, createParagraphLayoutCache, defaultNoteSeparatorRuleStyle, deriveNoteDisplayMarks, deriveNoteDisplayMarksResolved, documentOrder, documentRelationshipTargetIn, effectiveBorderSide, emptyTocPlaceholderParagraphIds, emptyTocSuppressedResultParagraphIds, everyStoryOrder, expandLvlText, exportSourceRangeOf, filterRefsOnPage, findSeparatorNote, forEachSemanticSpan, formatDecimal, formatDecimalZero, formatLowerLetter, formatLowerRoman, formatNumFmt, formatPageNumber, formatUpperLetter, formatUpperRoman, fragmentOwnsAtomOffset, graphemeBoundaryEpoch, graphemeCount, graphemeOffsetToUtf16, harfBuzzFontValidator, hitTestSemantic, initializeHarfBuzz, intlGraphemeBoundary, isCanvasMeasurementAvailable, isCumulativeGeometryTrustedFromLineOrigin, isGeometryTrustedCaretOffset, isHarfBuzzInitialized, isIntlSegmenterAvailable, isIntlWordSegmenterAvailable, isMarkerOnlySeparatorNote, isWholeGraphemeHorizontalBoundary, keyedRangeRects, layoutHeaderFooterStory, layoutNoteById, layoutNoteSeparator, layoutNoteStory, layoutSemanticDocument, lineSegments, listMarkerBox, mapSymbolPuaText, normalNotesOf, noteDisplayMarkMap, noteLineIdPrefix, noteMarkKey, noteSeparatorAreaBox, noteSeparatorRuleBox, noteStoryBlocks, pageBorderFrame, pageRefPageNumbersFromLayout, pagesToMaterialize, paragraphLayoutKey, paragraphMarkDeleted, paragraphShading, paragraphShadingBox, parseAutonumInstruction, planRefFieldResultRefresh, positionPastDeletion, projectedNoteMarkText, provisionalNoteMarks, readTableStructure, resetGraphemeBoundary, resolveDefaultSurfaceMeasurer, resolveDefaultWordBoundary, resolveOoxmlShadingFill, resolveStrictHexFill, reviewAnchorIndex, reviewItemGeometry, revisionRemovesParagraph, roundFontUnitToFixedPoint, runBorderStrokesForLine, segmentGraphemes, segmentWords, selectionRects, semanticHorizontalBoundaries, setGraphemeBoundary, setHarfBuzzWasmUrl, sha256FontBytes, shadingFillFromElement, shapedHorizontalBoundaries, storyBlocks, syntheticSeparatorBox, tabLeaderPattern, tableOriginX, tocFieldChromeParagraphIds, tryCreateCanvasMeasurer, utf16OffsetToGrapheme, vectorShapeInkClip, walkStoryParagraphs, wordBoundary, wordSegmentsToGraphemeRecords };
|
|
3059
3151
|
export type { AutofitFieldContext, AutonumFieldKind, AutonumFieldSpec, CanvasMeasurerOptions, CanvasTextContext, CanvasTextMetrics, CellMarginsPt, CellVerticalAlign, CompoundBorderMetrics, ContentControlFragmentRecord, CreateDocumentFurnitureSourceOptions, CreateDocumentNotesInputOptions, DocumentFurnitureSource, DocumentLinkProjectors, DocumentStyleDependencies, FieldLinkRegistry, GraphemeBoundary, GraphemeSegment, GraphemeWordSegmentRecord, HarfBuzzFaceCacheEvent, HarfBuzzOutlineCacheEvent, HarfBuzzShapeCacheEvent, HarfBuzzShapingErrorCode, HarfBuzzTextShaper, HarfBuzzTextShaperInstrumentation, HarfBuzzTextShaperOptions, HeaderFooterVariantName, KeyedRange, LayoutCacheStats, LayoutScheduler, LayoutSchedulerOptions, LayoutScope, LayoutSession, LayoutSessionStats, LineSegment, ListCounterAdvance, ListCounterState, MaterializationInput, NoteDisplayMark, NoteLayoutFallbackReason, NoteMarkContext, NotePaginationFallbackReason, NoteReferenceSite, NoteSeparatorLayout, NoteSeparatorRuleStyle, NoteStoryDrawings, NoteStoryLayout, NotesAttachResult, NotesLayoutInput, PageFurniture, PageRefIndex, ParagraphKeyInputs, ParagraphLayoutCache, ParagraphLayoutCacheOptions, PreferredWidth, PreferredWidthType, RefFieldRefreshOptions, RegisteredFieldLink, ResolvedSurfaceMeasurer, ReviewParagraphAnchor, SemanticLayoutOptions, SemanticSpanVisit, SemanticTableCell, SemanticTableRow, SemanticTableStructure, StoryProjectionDependencies, TableAlignment, TableAutofitContext, TablePaginationErrorCode, TableRowHeight, TableRowHeightRule, ViewportWindow, WordBoundary, WordBoundaryResolverDeps, WordSegment };
|
package/dist/layout.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{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-
|
|
1
|
+
export{N as DEFAULT_CANVAS_FONT_STACK,b as HARFBUZZ_SHAPING_LIBRARY,e as HarfBuzzShapingError,i as LayoutShapingConfigurationError,I as ResolvedCache,x as WORD_SEGMENTER_LOCALE,W as anchorLineY,A as boundedFallbackWordSegments,G as captureOperationSnapshot,da as cellSelectionBetween,ha as cellSelectionRects,ia as cellSelectionText,V as contentControlBoundaries,B as createBoundedFallbackWordBoundary,C as createDefaultWordBoundary,g as createHarfBuzzTextShaper,z as createIntlWordBoundary,ca as createLayoutScheduler,aa as createLayoutShapedMeasurer,p as createLayoutShaping,$ as createShapedMeasurer,r as disposeLayoutShaping,J as exportSourceRangeOf,K as forEachSemanticSpan,H as guardOperationSnapshot,f as harfBuzzFontValidator,c as initializeHarfBuzz,P as isCanvasMeasurementAvailable,v as isCumulativeGeometryTrustedFromLineOrigin,u as isGeometryTrustedCaretOffset,d as isHarfBuzzInitialized,y as isIntlWordSegmenterAvailable,t as isWholeGraphemeHorizontalBoundary,o as layoutFontConfigurationFingerprint,S as pageRefPageNumbersFromLayout,ba as pagesToMaterialize,fa as paragraphsInCells,T as planRefFieldResultRefresh,m as prepareLayoutFontConfiguration,R as resolveDefaultSurfaceMeasurer,D as resolveDefaultWordBoundary,X as reviewAnchorIndex,Y as reviewItemGeometry,a as roundFontUnitToFixedPoint,E as segmentWords,w as semanticHorizontalBoundaries,s as shapedHorizontalBoundaries,ga as spansInCells,ma as tabLeaderPattern,ja as tableContextAt,Q as tryCreateCanvasMeasurer,L as vectorShapeInkClip,F as wordSegmentsToGraphemeRecords}from'./chunk-2RC2EPND.js';export{a as setHarfBuzzWasmUrl}from'./chunk-RIYSCEFQ.js';export{L as AUTO_PARAGRAPH_SPACING_PT,Od as AUTO_PREFERRED_WIDTH,Pd as CELL_PAD,F as COMPOUND_BORDER_MIN_GAP_PT,E as COMPOUND_BORDER_MIN_STROKE_PT,Qd as DEFAULT_CELL_MARGINS,va as DEFAULT_PAGE_GEOMETRY,Za as DEFAULT_REVISION_DISPLAY_MODE,$ as DEFAULT_RUN_STYLE,Ic as DEFAULT_SECTION_PROPERTIES,tb as DEFAULT_TAB_INTERVAL_PT,sb as DEFAULT_TAB_INTERVAL_TWIPS,Wd as DEFAULT_VERTICAL_WEIGHT,nc as EMPTY_NUMBERING_INDEX,vb as EMPTY_TAB_STOPS,d as FontResolutionError,ia as GRAPHEME_SEGMENTER_LOCALE,c as HARD_MAX_AGGREGATE_FONT_BYTES,a as HARD_MAX_FONT_BYTES,b as HARD_MAX_FONT_SOURCES,K as MAX_BORDER_SPACE_PT,J as MAX_BORDER_WIDTH_PT,Hc as MAX_DOCUMENT_SECTIONS,yf as MAX_EACH_PAGE_MARK_CANDIDATES,kc as MAX_LVL_OVERRIDES,Lb as MAX_LVL_TEXT_LENGTH,Kb as MAX_MARKER_TEXT_LENGTH,kf as MAX_NOTES_LAID_OUT,lf as MAX_NOTE_FRAGMENTS,xf as MAX_NOTE_OVERFLOW_PAGES,wf as MAX_NOTE_REFLOW_ATTEMPTS,jc as MAX_NUMBERING_DEFINITIONS,I as MAX_PARAGRAPH_SPACING_PT,o as MAX_SHAPING_CONTEXT,Ib as MAX_STYLE_BASED_ON_DEPTH,gd as MAX_STYLE_DEFINITIONS,Gd as MAX_TABLE_BORDER_STROKES,Sd as MAX_TABLE_NESTING,Te as MAX_TABLE_ROW_FRAGMENTS,Td as MAX_TABLE_ROW_HEIGHT_PT,rb as MAX_TAB_POSITION_TWIPS,qb as MAX_TAB_STOPS,Dc as PAGE_BORDER_SIDES,N as PARAGRAPH_BORDER_SIDES,M as SINGLE_LINE_SPACING,ub as TAB_LEADER_GLYPH,Ue as TablePaginationError,sa as UnsupportedScriptError,_ as appliedSpaceBefore,R as applyLineSpacing,Df as attachNotesToLayout,ea as baselineShiftPtOf,Nd as borderExtentPt,Kd as borderWeight,X as bottomBorderExtentPt,l as boundedStructuralFontValidator,lc as buildNumberingIndex,Af as buildPageRefIndex,hd as buildStyleCascadeTable,ne as caretAt,ee as caretBoxOnLine,le as caretStops,me as caretStopsForBlocks,id as cascadeParagraphFormatting,ld as cascadeRunProperties,kd as cascadedBottomBorder,U as cascadedParagraphBorders,wb as cascadedTabStops,Mb as clampListValue,Z as collapsedSpaceBefore,se as compositionAnchor,G as computeDoubleBorderMetricsPt,Cf as computeFootnoteReserves,be as contentControlAtPoint,ke as contentControlAtSemantic,df as contentControlHoldingParagraph,cf as contentControlRecordsInPart,oe as contentControlsInLayout,Ia as contentControlsOfLayout,Ye as createDocumentFurnitureSource,$e as createDocumentLinkProjectors,Ze as createDocumentNotesInput,Ke as createDocumentStyleDependencies,af as createFieldLinkRegistry,ha as createFixedMeasurer,m as createFontResourceSnapshot,Gf as createLayoutSession,oc as createListCounterState,Ge as createParagraphLayoutCache,s as createShapedRun,p as createShapingEnvironment,rf as defaultNoteSeparatorRuleStyle,zb as defaultTabIntervalFromSettings,qe as deletedTextBoundaries,Ac as deriveNoteDisplayMarks,Bc as deriveNoteDisplayMarksResolved,ba as displayText,Ra as documentOrder,_e as documentRelationshipTargetIn,Fd as effectiveBorderSide,Ka as effectiveContentControlLock,mb as emptyTocPlaceholderParagraphIds,nb as emptyTocSuppressedResultParagraphIds,Oc as enumerateDocumentSections,Qc as enumerateDocumentSectionsBounded,Sa as everyStoryOrder,Ub as expandLvlText,Bf as filterRefsOnPage,fe as findDrawingOverlayFrameInLayout,of as findSeparatorNote,n as fixedPoint,h as fontRequestKey,Ea as forEachSemanticDrawing,Ca as forEachSemanticStory,Fa as forEachStoryParagraphFragment,Nb as formatDecimal,Ob as formatDecimalZero,Sb as formatLowerLetter,Qb as formatLowerRoman,Tb as formatNumFmt,ec as formatPageNumber,hb as formatRevisionOf,Rb as formatUpperLetter,Pb as formatUpperRoman,zf as fragmentOwnsAtomOffset,Ga as fragmentsOfParagraph,Rc as geometryOfSection,fa as glyphSizeFactorOf,la as graphemeBoundaryEpoch,pa as graphemeCount,ra as graphemeOffsetToUtf16,_d as hitTestPage,je as hitTestSemantic,ae as hitTestSheet,ka as intlGraphemeBoundary,Yd as isFurniturePoint,ja as isIntlSegmenterAvailable,sf as isMarkerOnlySeparatorNote,Gb as isValidStyleId,ta as itemizeScriptFontSlots,we as keyedRangeRects,ad as layoutEquation,Xe as layoutHeaderFooterStory,qf as layoutNoteById,tf as layoutNoteSeparator,pf as layoutNoteStory,Hf as layoutSemanticDocument,Ha as lineAtPosition,ce as lineEndOffset,La as lineSegments,za as linesOf,tc as listMarkerBox,fb as markRevisionRemovesMark,ca as measureDisplayText,xc as mergeListIndent,re as moveCaret,Ab as nextTabDestination,nf as normalNotesOf,Cc as noteDisplayMarkMap,mf as noteLineIdPrefix,Zc as noteMarkKey,vf as noteSeparatorAreaBox,jf as noteSeparatorRuleBox,rd as noteStoryBlocks,Xd as pageAtY,if as pageBorderFrame,Fc as pageBordersFingerprint,W as paragraphBorderExtentPt,V as paragraphBorderStrokeWidthPt,T as paragraphBorders,Y as paragraphBordersFingerprint,H as paragraphBreaksBefore,S as paragraphContextualSpacing,xa as paragraphFragmentsOf,ya as paragraphFragmentsOfBlocks,Fe as paragraphLayoutKey,Q as paragraphLineSpacing,pc as paragraphMarkDeleted,db as paragraphMarkFormatRevisionOf,gb as paragraphMarkRevisionOf,cb as paragraphMarkRevisionsOf,Mc as paragraphSectionNode,A as paragraphShading,B as paragraphShadingBox,P as paragraphSpacing,xb as paragraphTabStops,pe as paragraphTextFromLayout,cc as parseAutonumInstruction,Ec as parsePageBorders,Jc as parsePageNumbering,bc as parseRefInstruction,Kc as parseSectionProperties,wd as positionPastDeletion,_c as projectedNoteMarkText,Pc as projectedSectionSourceIndexes,Ef as provisionalNoteMarks,Hd as readBorderSide,Jd as readCellBorders,vc as readNumPr,Nc as readSectionProperties,Id as readTableBorders,Ud as readTableStructure,oa as resetGraphemeBoundary,Ld as resolveBorderConflict,mc as resolveNumberingLevel,y as resolveOoxmlShadingFill,md as resolveParagraphLayoutInputs,aa as resolveRunStyle,yc as resolveStoryListItems,Uc as resolveStoryRefFields,x as resolveStrictHexFill,Md as resolveTableCellBorderGrid,ab as revisionAuthorFilter,rc as revisionRemovesParagraph,ib as revisionsAreDeletion,bb as revisionsVisible,Fb as runBorderStrokesForLine,da as runStylesEqual,ma as segmentGraphemes,ue as selectionRects,na as setGraphemeBoundary,z as shadingFillFromElement,t as shapedRunComparatorInputs,r as shapingEnvironmentFingerprint,q as shapingEnvironmentFingerprintInputs,eb as shownMarkRevision,de as spanOffsetX,te as spansInSelection,qd as storyBlocks,ua as styleForFontSlot,uf as syntheticSeparatorBox,Bb as tabAdvanceWidth,Cb as tabStopsFingerprint,Rd as tableOriginX,lb as tocFieldChromeParagraphIds,Ja as unionLayoutBoxes,qa as utf16OffsetToGrapheme,dc as walkStoryParagraphs,yb as withDefaultTabInterval,wc as withNumberingStyleLinks,zc as withResolvedListItems,he as wordBoundary}from'./chunk-FRXAOVTB.js';import'./chunk-TSLBZ26X.js';import'./chunk-J6BVWIDB.js';export{Tc as MAX_SDT_NESTING,$i as MAX_TABLE_COLUMNS,Yh as W15_NAMESPACE_URI,Cj as activeReviewItem,Yc as collectFlowBlocks,Lj as commentBodyText,Nj as commentInitials,Xc as contentControlContentChildren,zj as firstReviewRange,Uc as isContentControl,Vc as isContentControlContent,d as mapSymbolPuaText,kj as paragraphOrderOfPart,xj as reviewItemKey,Aj as reviewItemPositionRank,yj as reviewItemRanges,Bj as reviewItemsAt,Dj as reviewThreadRootOf,f as sha256FontBytes}from'./chunk-4R3TEXMN.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { O as OoxmlPart, N as OoxmlNode, Q as OoxmlPackage } from './types-barrel-
|
|
1
|
+
import { O as OoxmlPart, N as OoxmlNode, Q as OoxmlPackage } from './types-barrel-D3xCgQX6.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, N as OoxmlNode } from './types-barrel-
|
|
1
|
+
import { U as OoxmlNodeId, V as OoxmlGenericElementNode, N as OoxmlNode } from './types-barrel-D3xCgQX6.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 chunkEO4C5QJW_cjs=require('./chunk-EO4C5QJW.cjs');require('./chunk-6APGXLBB.cjs'),require('./chunk-4GBTELJV.cjs'),require('./chunk-O2AL2HSJ.cjs'),require('./chunk-JGNVNT2A.cjs'),require('./chunk-FIJZIQXA.cjs');Object.defineProperty(exports,"DEFAULT_FIELD_SHADING",{enumerable:true,get:function(){return chunkEO4C5QJW_cjs.k}});Object.defineProperty(exports,"collectPageChangeBars",{enumerable:true,get:function(){return chunkEO4C5QJW_cjs.f}});Object.defineProperty(exports,"paintSelectionOverlay",{enumerable:true,get:function(){return chunkEO4C5QJW_cjs.p}});Object.defineProperty(exports,"paintSemanticLayout",{enumerable:true,get:function(){return chunkEO4C5QJW_cjs.n}});
|
package/dist/output.d.ts
CHANGED
|
@@ -1,12 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
/**
|
|
2
|
+
* `@docx-editor.dev/core/output` — painting a layout into DOM.
|
|
3
|
+
*
|
|
4
|
+
* The painted pages ARE the editable surface, but the DOM is a picture: browser mutations are
|
|
5
|
+
* prevented and re-expressed as tree ops, and selection maps only through `data-paragraph-id`
|
|
6
|
+
* and `data-start`.
|
|
7
|
+
*
|
|
8
|
+
* @packageDocumentation
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
import { R as ReviewAuthorInfo } from './semantic-paint-BME37OMv.js';
|
|
12
|
+
export { C as ChangeBarsMode, D as DEFAULT_FIELD_SHADING, F as FieldShadingMode, P as PageChangeBars, a as PaintOptions, b as RevisionAuthorAssignments, c as RevisionAuthorStyle, d as RevisionStyles, e as collectPageChangeBars, p as paintSemanticLayout } from './semantic-paint-BME37OMv.js';
|
|
13
|
+
import { S as SemanticLayout } from './semantic-records-4B3WwFAi.js';
|
|
14
|
+
import './revision-projection-DZ4kKVev.js';
|
|
15
|
+
import './types-barrel-D3xCgQX6.js';
|
|
6
16
|
import './editor-scope-OHPwVQ5l.js';
|
|
7
|
-
import './semantic-record-queries-
|
|
8
|
-
import './image-resources-
|
|
9
|
-
import './omml-equation-
|
|
17
|
+
import './semantic-record-queries-CBlZqZNa.js';
|
|
18
|
+
import './image-resources-BN-hUgCn.js';
|
|
19
|
+
import './omml-equation-CuzBL5DD.js';
|
|
10
20
|
|
|
11
21
|
/** A rectangle in page-content coordinates, on a named page. */
|
|
12
22
|
interface OverlayRect {
|
package/dist/output.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{k as DEFAULT_FIELD_SHADING,f as collectPageChangeBars,p as paintSelectionOverlay,n as paintSemanticLayout}from'./chunk-
|
|
1
|
+
export{k as DEFAULT_FIELD_SHADING,f as collectPageChangeBars,p as paintSelectionOverlay,n as paintSemanticLayout}from'./chunk-KKIJG3C6.js';import'./chunk-2RC2EPND.js';import'./chunk-RIYSCEFQ.js';import'./chunk-FRXAOVTB.js';import'./chunk-TSLBZ26X.js';import'./chunk-J6BVWIDB.js';import'./chunk-4R3TEXMN.js';
|