@docx-editor.dev/core 2.30.0 → 2.32.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 +24 -0
- package/dist/automation.cjs +1 -1
- package/dist/automation.d.ts +18 -27
- package/dist/automation.js +1 -1
- package/dist/binding.cjs +1 -1
- package/dist/binding.d.ts +17 -16
- package/dist/binding.js +1 -1
- package/dist/bookmark-names-DDuAra_V.d.ts +37 -0
- package/dist/{chrome-print-BM3Js-6X.d.ts → chrome-print-CznJ0ucN.d.ts} +361 -41
- package/dist/chunk-25EXMBV2.cjs +5 -0
- package/dist/chunk-2CWQY27B.cjs +1 -0
- package/dist/chunk-3IEXDEFH.cjs +7 -0
- package/dist/chunk-65XBN67F.cjs +2 -0
- package/dist/chunk-6NVZNB7O.cjs +3 -0
- package/dist/chunk-6UDJUI3W.cjs +2 -0
- package/dist/chunk-ACLR4DMK.js +1 -0
- package/dist/{chunk-RJCQGJR7.js → chunk-B2BEELUE.js} +1 -1
- package/dist/chunk-DDFHKQFU.js +30 -0
- package/dist/chunk-E4IAO4CY.cjs +2 -0
- package/dist/chunk-ETDZFNMI.js +2 -0
- package/dist/chunk-FDSL5OJU.cjs +30 -0
- package/dist/chunk-FS7CMYLT.js +4 -0
- package/dist/chunk-GDS24SZN.js +30 -0
- package/dist/chunk-GIY6NT2X.js +5 -0
- package/dist/chunk-GWM3AKUD.js +18 -0
- package/dist/chunk-HDOXACHP.js +2 -0
- package/dist/chunk-IILEENID.js +1 -0
- package/dist/chunk-L5TYBFDB.js +1 -0
- package/dist/chunk-MNF2K7NN.cjs +30 -0
- package/dist/chunk-O324RB6R.cjs +1 -0
- package/dist/chunk-OKMEMSKB.cjs +1 -0
- package/dist/chunk-QXJKYNYZ.js +1 -0
- package/dist/chunk-RALTVLB6.js +2 -0
- package/dist/chunk-SRVKFUFI.js +3 -0
- package/dist/chunk-TELQ52LG.cjs +1 -0
- package/dist/chunk-TJHE5EET.cjs +1 -0
- package/dist/chunk-UMMRURPE.js +7 -0
- package/dist/chunk-WN7ICTA5.js +1 -0
- package/dist/{chunk-FLBEJC6X.cjs → chunk-XJYZVGQR.cjs} +1 -1
- package/dist/chunk-ZGTIE3QJ.cjs +4 -0
- package/dist/chunk-ZOZI27AW.cjs +18 -0
- package/dist/collaboration/replication.cjs +1 -1
- package/dist/collaboration/replication.d.ts +20 -5
- package/dist/collaboration/replication.js +1 -1
- package/dist/collaboration.cjs +1 -1
- package/dist/collaboration.d.ts +5 -6
- package/dist/collaboration.js +1 -1
- package/dist/contracts/document.d.ts +3 -3
- package/dist/contracts/editor.d.ts +13 -10
- package/dist/contracts/interaction.d.ts +2 -2
- package/dist/contracts/modules.d.ts +15 -13
- package/dist/contracts/types.d.ts +135 -2
- package/dist/{custom-node-writes-0v0Kgw1T.d.ts → custom-node-writes-CLJKGD9t.d.ts} +7 -2
- package/dist/{diagnostic-context-CcAO4q1s.d.ts → diagnostic-context-BtDUY3v2.d.ts} +3 -2
- package/dist/{diagnostic-hints-2Bke6H_w.d.ts → diagnostic-hints-DK8-V0fk.d.ts} +2 -2
- package/dist/{document-protection-8eyMWIJ0.d.ts → document-protection-NaniLHWF.d.ts} +1 -1
- package/dist/{editor-DaEJd2so.d.ts → editor-DZwOTmlR.d.ts} +386 -279
- package/dist/editor-fonts-D_-vjuJi.d.ts +53 -0
- package/dist/{editor-scope-7o9xweiJ.d.ts → editor-scope-B3L-1ALc.d.ts} +57 -4
- package/dist/editor.cjs +1 -1
- package/dist/editor.css +6 -4
- package/dist/editor.d.ts +646 -31
- package/dist/editor.js +1 -1
- package/dist/export.cjs +2 -2
- package/dist/export.d.ts +9 -16
- package/dist/export.js +2 -2
- package/dist/{failure-NS2lsya4.d.ts → failure-6KGFrDO9.d.ts} +1 -1
- package/dist/{font-resolver-CL9BVKZo.d.ts → font-resolver-BlQNGdvR.d.ts} +1 -1
- package/dist/{headless-document-view-DZQN8Bnx.d.ts → headless-document-view-Bcz9_Qva.d.ts} +115 -4
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +27 -26
- package/dist/index.js +1 -1
- package/dist/{layout-shaping-cEnVrhWg.d.ts → layout-shaping-E5J4Z1Gf.d.ts} +1 -1
- package/dist/layout.cjs +1 -1
- package/dist/layout.d.ts +95 -23
- package/dist/layout.js +1 -1
- package/dist/{note-properties-9FH8zAeG.d.ts → note-properties-Ds5R2_3F.d.ts} +1 -1
- package/dist/output.cjs +1 -1
- package/dist/output.d.ts +24 -10
- package/dist/output.js +1 -1
- package/dist/{protocol-CZ1uUlPO.d.ts → protocol-DKa4qt7F.d.ts} +167 -5
- package/dist/{review-paragraph-order-CqVelc5A.d.ts → review-paragraph-order-Dc17w_6v.d.ts} +1 -1
- package/dist/revision-projection-Cn6rZJ7H.d.ts +258 -0
- package/dist/{semantic-cell-selection-Dr9yxFZt.d.ts → semantic-cell-selection-BaUR0iJ4.d.ts} +2 -2
- package/dist/{semantic-interaction-Dc3pf3hr.d.ts → semantic-interaction-CJoHLoOl.d.ts} +1 -1
- package/dist/{semantic-paint-Bz3FBAoH.d.ts → semantic-paint-BPw_n0li.d.ts} +7 -4
- package/dist/{semantic-record-queries-Bx0pl6kL.d.ts → semantic-record-queries-C0rJ3sB4.d.ts} +1 -1
- package/dist/{semantic-records-CjcF26ZL.d.ts → semantic-records-BvN-WWst.d.ts} +365 -512
- package/dist/store.cjs +1 -1
- package/dist/store.d.ts +47 -22
- package/dist/store.js +1 -1
- package/dist/{types-barrel-CA0xB8kH.d.ts → tree-op-types-C_S2niXW.d.ts} +1239 -747
- package/dist/{tree-package-store-DKhdEVym.d.ts → tree-package-store-CRHvMyNj.d.ts} +676 -646
- package/dist/{tree-session-contract-CwnTEVLF.d.ts → tree-session-contract-D1awo_dA.d.ts} +26 -13
- package/dist/unsupported-elements-CVos5cqe.d.ts +23 -0
- package/docs/accept-reject-without-scrolling.md +95 -0
- package/docs/comment-on-found-text.md +72 -0
- package/docs/custom-review-cards.md +178 -0
- package/docs/highlight-ranges.md +48 -0
- package/docs/index.md +36 -0
- package/docs/propose-rewrite.md +247 -0
- package/docs/tracked-replacement.md +68 -0
- package/package.json +3 -2
- package/dist/chunk-2PV5L5NJ.js +0 -5
- package/dist/chunk-5OTS2EJ7.js +0 -7
- package/dist/chunk-5P4223J4.cjs +0 -27
- package/dist/chunk-5RRAZMBU.cjs +0 -1
- package/dist/chunk-5SPITS5F.js +0 -18
- package/dist/chunk-6JIJOZDW.js +0 -1
- package/dist/chunk-7ATNKARV.js +0 -2
- package/dist/chunk-BGCUTKWE.cjs +0 -5
- package/dist/chunk-BTQKU64Q.cjs +0 -1
- package/dist/chunk-EBCXSH2W.js +0 -3
- package/dist/chunk-ERECKTIR.cjs +0 -2
- package/dist/chunk-HYASLE2G.cjs +0 -1
- package/dist/chunk-JC47NRJC.cjs +0 -3
- package/dist/chunk-KJRTNY2Q.cjs +0 -2
- package/dist/chunk-NKPUH3QJ.js +0 -1
- package/dist/chunk-PF5NJWS3.js +0 -2
- package/dist/chunk-PWTRJSES.cjs +0 -18
- package/dist/chunk-QFKGI242.cjs +0 -30
- package/dist/chunk-RPPV4S6T.cjs +0 -4
- package/dist/chunk-T32MGBJS.js +0 -1
- package/dist/chunk-UM26GH5B.js +0 -30
- package/dist/chunk-VRCZBFLH.js +0 -27
- package/dist/chunk-WF7JZ755.cjs +0 -1
- package/dist/chunk-WK5X2MMA.cjs +0 -7
- package/dist/chunk-WPDD2Y32.js +0 -2
- package/dist/chunk-YBMWBXST.cjs +0 -2
- package/dist/chunk-YZGUBCHP.js +0 -1
- package/dist/chunk-ZOS2PM4A.js +0 -4
- package/dist/image-resources-Bipz8toD.d.ts +0 -211
- package/dist/omml-equation-DP2WpUbK.d.ts +0 -97
package/dist/layout.d.ts
CHANGED
|
@@ -11,24 +11,24 @@
|
|
|
11
11
|
* @packageDocumentation
|
|
12
12
|
* @public
|
|
13
13
|
*/
|
|
14
|
-
import {
|
|
15
|
-
export {
|
|
14
|
+
import { u as NumberingLevel, v as NumberingIndex, S as SemanticLayout, b as LayoutBox, D as DrawingPoint, w as DrawingInsets, g as StyleSpanRecord, I as InlineDrawingRecord, M as ModelRange, x as TableBorderSide, y as TableFloatXSpec, z as TableFloatYSpec, P as ParagraphFragmentRecord, B as BlockFragmentRecord, A as AnchoredDrawingRecord, a as PageRecord, E as NumberingLevelIndent, G as ResolvedListItem, J as RefFieldContext, T as TextMeasurer, K as InlineDrawingLayoutContext, O as CellBorderBox, Q as TableBorderBox, W as TableCellStyleFormatting, X as TableFloatPosition, Y as StyleCascadeTable, C as ContentControlBoundaryRecord$1, n as FixedPointRoundingMode, Z as FixedPoint, V as VersionedShapingLibrary, k as TextShaper, _ as FontByteValidator, s as ShapedRun, L as LineRecord, $ as SourceRange, a0 as HyperlinkProjector, a1 as FieldLinkProjector, a2 as StoryPageFieldNeeds, a3 as HyperlinkFieldSpec, a4 as SpanLinkRecord, a5 as PageGeometry, a6 as SectionColumns, a7 as SectionPageBorders, a8 as PageBorderFrameRecord, a9 as ParagraphBorderStrokeRecord, aa as StrikeoutStrokePt } from './semantic-records-BvN-WWst.js';
|
|
15
|
+
export { ab as AUTO_PARAGRAPH_SPACING_PT, ac as AbstractNumDefinition, ad as AnchoredDrawingLayoutFallback, ae as BidiEmbeddingLevels, af as BorderGridGeometry, ag as CascadedParagraphFormatting, ah as CjkTypographySettings, ai as ContentControlGeometryFragment, aj as ContentControlLevel, d as ContentControlLock, ak as ContentControlMappedType, al as ContentControlModelRange, am as DEFAULT_PAGE_GEOMETRY, an as DEFAULT_RUN_STYLE, ao as DEFAULT_SECTION_PROPERTIES, ap as DEFAULT_TAB_INTERVAL_PT, aq as DEFAULT_TAB_INTERVAL_TWIPS, ar as DeclaredFontSubstitution, as as DocumentSection, at as DocumentSectionsEnumeration, au as DrawingClipFallback, av as DrawingGeometry, aw as DrawingGroupPictureRecord, ax as DrawingTextArtRecord, ay as EMPTY_NUMBERING_INDEX, az as EMPTY_TAB_STOPS, aA as EquationBarGeometry, aB as EquationFractionGeometry, aC as EquationGeometry, aD as EquationNaryGeometry, aE as EquationRadicalGeometry, aF as EquationRowGeometry, aG as EquationScriptGeometry, aH as EquationSpanRecord, aI as EquationTextGeometry, aJ as FieldAtomMarker, aK as FontFingerprintInputs, o as FontRequest, aL as FontResolutionError, aM as FontResolutionErrorCode, aN as FontResourceDefinition, aO as FontResourceInstrumentation, F as FontResourceSnapshot, aP as FontResourceSnapshotOptions, aQ as FontSlot, r as FontSubstitution, aR as FontValidationResult, aS as GlyphOutline, aT as GroupTextboxStoryRecord, aU as HARD_MAX_AGGREGATE_FONT_BYTES, aV as HARD_MAX_FONT_BYTES, aW as HARD_MAX_FONT_SOURCES, H as HeaderFooterStoryRecord, aX as LevelOverride, aY as LineSpacingRule, aZ as ListMarkerAlign, q as ListMarkerPictureRecord, a_ as ListMarkerRecord, a$ as ListSuffix, b0 as MAX_BORDER_SPACE_PT, b1 as MAX_BORDER_WIDTH_PT, b2 as MAX_DOCUMENT_SECTIONS, b3 as MAX_LVL_OVERRIDES, b4 as MAX_NUMBERING_DEFINITIONS, b5 as MAX_PARAGRAPH_SPACING_PT, b6 as MAX_SHAPING_CONTEXT, b7 as MAX_STYLE_DEFINITIONS, b8 as MAX_TABLE_BORDER_STROKES, b9 as MAX_TAB_POSITION_TWIPS, ba as MAX_TAB_STOPS, m as NormalizationPolicy, N as NoteAreaRecord, c as NoteStoryRecord, bb as NumDefinition, bc as NumberingPictureBullet, bd as PAGE_BORDER_SIDES, be as PARAGRAPH_BORDER_SIDES, bf as PageBorderDisplay, bg as PageBorderOffsetFrom, bh as PageBorderSide, bi as PageBorderStrokeRecord, bj as PageBorderZOrder, bk as PageRefCalibrationCell, bl as PageRefFieldProjection, bm as ParagraphAutoSpacingContext, bn as ParagraphBorderEdge, bo as ParagraphBorderSide, bp as ParagraphBorders, bq as ParagraphBottomBorderRecord, br as ParagraphIndent, bs as ParagraphLayoutInputs, bt as ParagraphLineSpacing, bu as ParagraphSpacing, bv as RefFieldSpec, bw as RefNoteParts, bx as ResolvedCellBorders, l as ResolvedFont, by as ResolvedPictureBullet, R as ResolvedRunStyle, bz as ResolvedTabStops, bA as ResolvedTableBorderEdge, bB as ResolvedTableBorderEdgeSegment, bC as ResolvedUnderline, bD as SINGLE_LINE_SPACING, bE as ScriptItem, bF as SectionBreakMarkRecord, bG as SectionBreakType, bH as SectionColumnDefinition, bI as SectionMargins, bJ as SectionPageNumbering, t as SectionProperties, bK as SemanticArtifactRootStoryKind, bL as SemanticArtifactStoryKind, bM as SemanticCommentArtifactRecord, bN as SemanticReviewArtifactOccurrence, bO as SemanticReviewArtifactOccurrenceGeometry, bP as SemanticReviewArtifactPosition, p as SemanticReviewArtifactRecord, bQ as SemanticReviewArtifactSource, bR as SemanticTrackedChangeArtifactRecord, bS as ShapeInput, bT as ShapedCluster, bU as ShapedFontSpan, bV as ShapedGlyph, bW as ShapedRunComparatorInputs, bX as ShapedVerticalMetrics, bY as ShapingContext, bZ as ShapingEnvironment, b_ as ShapingEnvironmentFingerprintInputs, j as ShapingEnvironmentInput, b$ as StyleDefinition, c0 as TAB_LEADER_GLYPH, c1 as TabAlignment, c2 as TabDestination, c3 as TabLeader, c4 as TabStop, c5 as TableBorderSideName, c6 as TableBorderStrokeRecord, i as TableCellFragmentRecord, c7 as TableFragmentRecord, h as TableRowFragmentRecord, c8 as TextArtFit, c9 as TextDirection, ca as TextOutline, cb as TextboxStoryFallbackReason, cc as TextboxStoryLayout, U as UnsupportedElement, e as UnsupportedElementLayout, f as UnsupportedElementRule, cd as UnsupportedScriptError, ce as VerticalAlign, cf as appliedSpaceBefore, cg as applyLineSpacing, ch as baselineShiftPtOf, ci as borderExtentPt, cj as borderWeight, ck as bottomBorderExtentPt, cl as boundedStructuralFontValidator, cm as buildNumberingIndex, cn as buildStyleCascadeTable, co as cascadeParagraphFormatting, cp as cascadeRunProperties, cq as cascadedBottomBorder, cr as cascadedParagraphBorders, cs as cascadedTabStops, ct as collapsedSpaceBefore, cu as createFontResourceSnapshot, cv as createShapedRun, cw as createShapingEnvironment, cx as createUnsupportedContentProjector, cy as defaultTabIntervalFromSettings, cz as displayText, cA as enumerateDocumentSections, cB as enumerateDocumentSectionsBounded, cC as fixedPoint, cD as fontRequestKey, cE as geometryOfSection, cF as glyphSizeFactorOf, cG as isValidStyleId, cH as itemizeScriptFontSlots, cI as layoutEquation, cJ as measureDisplayText, cK as nextTabDestination, cL as pageBordersFingerprint, cM as paragraphBorderExtentPt, cN as paragraphBorderStrokeWidthPt, cO as paragraphBorders, cP as paragraphBordersFingerprint, cQ as paragraphBreaksBefore, cR as paragraphContextualSpacing, cS as paragraphLineSpacing, cT as paragraphSectionNode, cU as paragraphSpacing, cV as paragraphTabStops, cW as parsePageBorders, cX as parsePageNumbering, cY as parseRefInstruction, cZ as parseSectionProperties, c_ as projectedSectionSourceIndexes, c$ as readBorderSide, d0 as readCellBorders, d1 as readNumPr, d2 as readSectionProperties, d3 as readTableBorders, d4 as resolveBorderConflict, d5 as resolveNumberingLevel, d6 as resolveParagraphLayoutInputs, d7 as resolveRunStyle, d8 as resolveStoryListItems, d9 as resolveStoryRefFields, da as resolveTableCellBorderGrid, db as runStylesEqual, dc as shapedRunComparatorInputs, dd as shapingEnvironmentFingerprint, de as shapingEnvironmentFingerprintInputs, df as styleForFontSlot, dg as tabAdvanceWidth, dh as tabStopsFingerprint, di as withDefaultTabInterval, dj as withNumberingStyleLinks, dk as withResolvedListItems } from './semantic-records-BvN-WWst.js';
|
|
16
16
|
export { F as FontShapingOptions } from './font-shaping-policy-BvpkrfxM.js';
|
|
17
|
-
export { C as CacheLookup, b as CacheMiss, c as CacheProvenance, e as LayoutEnvironmentShapedMeasurerOptions, f as LayoutFontConfiguration, g as LayoutFontSource, h as LayoutFontSubstitution, i as LayoutShapingConfigurationError, j as LayoutShapingEnvironment, L as LayoutShapingInstrumentation, a as LayoutShapingOptions, O as OperationSnapshot, k as OperationSnapshotField, l as OperationSnapshotGuard, P as PreparedLayoutFontConfiguration, R as ResolvedCache, m as ResourceDependencyProvenance, S as ShapedMeasurerOptions, n as captureOperationSnapshot, o as createLayoutShapedMeasurer, p as createLayoutShaping, q as createShapedMeasurer, d as disposeLayoutShaping, r as guardOperationSnapshot, s as layoutFontConfigurationFingerprint, t as prepareLayoutFontConfiguration } from './layout-shaping-
|
|
18
|
-
import { a as SemanticStoryKind, S as SemanticRootStoryKind, b as SemanticStoryVisit, T as TextboxOwnerRecord } from './semantic-record-queries-
|
|
19
|
-
export { c as SemanticDrawingLayer, d as SemanticDrawingVisit, e as StoryDrawingContext, f as StoryDrawingHost, g as StoryParagraphFragmentContext, h as contentControlsOfLayout, i as effectiveContentControlLock, j as forEachSemanticDrawing, k as forEachSemanticStory, l as forEachStoryParagraphFragment, m as fragmentsOfParagraph, n as lineAtPosition, o as linesOf, p as paragraphFragmentsOf, q as paragraphFragmentsOfBlocks, u as unionLayoutBoxes } from './semantic-record-queries-
|
|
20
|
-
import {
|
|
21
|
-
export {
|
|
22
|
-
import { D as DocumentProperties, H as HeadlessDocumentView,
|
|
23
|
-
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
import {
|
|
27
|
-
export {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
import './editor-scope-
|
|
17
|
+
export { C as CacheLookup, b as CacheMiss, c as CacheProvenance, e as LayoutEnvironmentShapedMeasurerOptions, f as LayoutFontConfiguration, g as LayoutFontSource, h as LayoutFontSubstitution, i as LayoutShapingConfigurationError, j as LayoutShapingEnvironment, L as LayoutShapingInstrumentation, a as LayoutShapingOptions, O as OperationSnapshot, k as OperationSnapshotField, l as OperationSnapshotGuard, P as PreparedLayoutFontConfiguration, R as ResolvedCache, m as ResourceDependencyProvenance, S as ShapedMeasurerOptions, n as captureOperationSnapshot, o as createLayoutShapedMeasurer, p as createLayoutShaping, q as createShapedMeasurer, d as disposeLayoutShaping, r as guardOperationSnapshot, s as layoutFontConfigurationFingerprint, t as prepareLayoutFontConfiguration } from './layout-shaping-E5J4Z1Gf.js';
|
|
18
|
+
import { a as SemanticStoryKind, S as SemanticRootStoryKind, b as SemanticStoryVisit, T as TextboxOwnerRecord } from './semantic-record-queries-C0rJ3sB4.js';
|
|
19
|
+
export { c as SemanticDrawingLayer, d as SemanticDrawingVisit, e as StoryDrawingContext, f as StoryDrawingHost, g as StoryParagraphFragmentContext, h as contentControlsOfLayout, i as effectiveContentControlLock, j as forEachSemanticDrawing, k as forEachSemanticStory, l as forEachStoryParagraphFragment, m as fragmentsOfParagraph, n as lineAtPosition, o as linesOf, p as paragraphFragmentsOf, q as paragraphFragmentsOfBlocks, u as unionLayoutBoxes } from './semantic-record-queries-C0rJ3sB4.js';
|
|
20
|
+
import { aK as ImpactClass, a4 as OoxmlNode, az as OoxmlProperty, av as OoxmlElement, O as OoxmlPart, au as TreeDocOp, a5 as OoxmlPackage, bw as ContentControlKind, bx as ContentControlLevel, bz as ContentControlLock, bt as ContentControlDataBinding, a as ReviewItem } from './tree-op-types-C_S2niXW.js';
|
|
21
|
+
export { bo as CommentAnchor, bp as CommentPosition, C as CommentRecord, bi as CommentThreadState, b4 as DrawingAccessibility, a7 as DrawingHorizontalReferenceFrame, b5 as DrawingImageEffects, b2 as DrawingTransform, ab as DrawingVerticalReferenceFrame, ag as ImageWrapTarget, c as ReviewCommentItem, d as ReviewCustomItem, R as ReviewModelInput, e as ReviewPosition, f as ReviewRange, b as ReviewRevisionItem, g as ReviewRevisionKind, aT as SourceCrop, b3 as TableBorderStyle, eg as VectorShapeComponent, b6 as VectorShapeProjection, cZ as W15_NAMESPACE_URI, eh as activeReviewItem, du as firstReviewRange, e3 as reviewItemKey, ei as reviewItemPositionRank, e4 as reviewItemRanges, ej as reviewItemsAt, ek as reviewThreadRootOf } from './tree-op-types-C_S2niXW.js';
|
|
22
|
+
import { D as DocumentProperties, H as HeadlessDocumentView, s as relationshipTargetIn } from './headless-document-view-Bcz9_Qva.js';
|
|
23
|
+
import { q as RevisionAttribution, b as RevisionDisplayMode, p as RevisionAuthorFilter } from './revision-projection-Cn6rZJ7H.js';
|
|
24
|
+
export { s as DEFAULT_REVISION_DISPLAY_MODE, t as RevisionFilter, u as RevisionKind, v as formatRevisionOf, w as markRevisionRemovesMark, x as paragraphMarkFormatRevisionOf, y as paragraphMarkRevisionOf, z as paragraphMarkRevisionsOf, A as revisionAuthorFilter, B as revisionsAreDeletion, C as revisionsVisible, E as shownMarkRevision } from './revision-projection-Cn6rZJ7H.js';
|
|
25
|
+
import { R as ResolvedFootnoteProperties, a as ResolvedEndnoteProperties } from './note-properties-Ds5R2_3F.js';
|
|
26
|
+
import { e as TreeModelChange, N as NoteKind, aK as noteTypeOf, F as FieldResultsMode } from './tree-package-store-CRHvMyNj.js';
|
|
27
|
+
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-Dc17w_6v.js';
|
|
28
|
+
import { S as SemanticPosition, b as SelectionRect, a as SemanticSelection, C as CaretGeometry } from './semantic-interaction-CJoHLoOl.js';
|
|
29
|
+
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-CJoHLoOl.js';
|
|
30
|
+
export { C as CellSelection, D as DEFAULT_VERTICAL_WEIGHT, a as DrawingOverlayFrame, H as HitPoint, b as HitTestOptions, P as PlacedCell, S as SemanticHit, c as SemanticHitDrawing, T as TableCellAddress, d as TableCellContext, e as caretBoxOnLine, f as cellSelectionBetween, g as cellSelectionRects, h as cellSelectionText, i as contentControlAtPoint, j as findDrawingOverlayFrameInLayout, k as hitTestPage, l as hitTestSheet, m as isFurniturePoint, n as lineEndOffset, p as pageAtY, o as paragraphsInCells, s as spanOffsetX, q as spansInCells, t as tableContextAt } from './semantic-cell-selection-BaUR0iJ4.js';
|
|
31
|
+
import './editor-scope-B3L-1ALc.js';
|
|
32
32
|
|
|
33
33
|
/**
|
|
34
34
|
* The result of counting ONE list paragraph: the level that applied, the counter vector after it,
|
|
@@ -488,6 +488,20 @@ interface FieldCodeRange {
|
|
|
488
488
|
}
|
|
489
489
|
type FieldCodeRanges = ReadonlyMap<string, readonly FieldCodeRange[]>;
|
|
490
490
|
|
|
491
|
+
/** A horizontal run of x a float leaves free on one line, in paragraph-local coordinates. */
|
|
492
|
+
interface WrapInterval {
|
|
493
|
+
readonly start: number;
|
|
494
|
+
readonly end: number;
|
|
495
|
+
}
|
|
496
|
+
/** The one passage that holds a whole line. */
|
|
497
|
+
interface WrapSegment extends WrapInterval {
|
|
498
|
+
/**
|
|
499
|
+
* Where the content ends, when the pen stepped over a float but placed nothing past it.
|
|
500
|
+
* Alignment measures the content from here rather than from the pen.
|
|
501
|
+
*/
|
|
502
|
+
readonly contentEnd?: number;
|
|
503
|
+
}
|
|
504
|
+
|
|
491
505
|
interface PendingLine {
|
|
492
506
|
readonly spans: StyleSpanRecord[];
|
|
493
507
|
readonly drawings: InlineDrawingRecord[];
|
|
@@ -549,11 +563,22 @@ interface PendingLine {
|
|
|
549
563
|
* beside it, not between the page margins, and stretches a justified line to the float's
|
|
550
564
|
* near edge rather than through it. Absent when no float shortens the line, when the line
|
|
551
565
|
* steps over a float into a later passage, or when the passage is the whole measure.
|
|
566
|
+
* `contentEnd` marks a line whose pen stepped over a float without placing anything past it.
|
|
552
567
|
*/
|
|
553
|
-
wrapSegment?:
|
|
568
|
+
wrapSegment?: WrapSegment;
|
|
569
|
+
/**
|
|
570
|
+
* The float passages a line that steps over a float holds content in, left to right, in
|
|
571
|
+
* paragraph-local coordinates. The first starts where the line's content begins.
|
|
572
|
+
*
|
|
573
|
+
* Each part of such a line aligns INSIDE its own passage: centred text is centred beside the
|
|
574
|
+
* float on each side, and right-aligned text ends at each passage's right edge. Aligning the
|
|
575
|
+
* line as one block moved the text before the float onto the picture. Absent on a line that
|
|
576
|
+
* one passage holds whole, which {@link wrapSegment} describes.
|
|
577
|
+
*/
|
|
578
|
+
wrapPassages?: readonly {
|
|
554
579
|
readonly start: number;
|
|
555
580
|
readonly end: number;
|
|
556
|
-
};
|
|
581
|
+
}[];
|
|
557
582
|
/** Tracked anchored-drawing attributions on this line; see {@link LineRecord.anchorRevisions}. */
|
|
558
583
|
anchorRevisions?: readonly RevisionAttribution[];
|
|
559
584
|
/** Revisions a resolved view answered on this line; see {@link LineRecord.changeSites}. */
|
|
@@ -830,7 +855,7 @@ interface LayoutSession {
|
|
|
830
855
|
/**
|
|
831
856
|
* Page-bottom footnote reserves from the last published notes layout.
|
|
832
857
|
*
|
|
833
|
-
* Seeded into the next {@link
|
|
858
|
+
* Seeded into the next {@link layoutSemanticDocumentWithNotesSteps} call so the first body
|
|
834
859
|
* pass already matches the reserved context key — without this, every notes document
|
|
835
860
|
* starts empty, mismatches, and throws away the session on reflow.
|
|
836
861
|
*/
|
|
@@ -841,6 +866,26 @@ interface LayoutSession {
|
|
|
841
866
|
*/
|
|
842
867
|
declare function createLayoutSession(): LayoutSession;
|
|
843
868
|
|
|
869
|
+
/**
|
|
870
|
+
* The effective indent of a list paragraph: `inherited`, then the numbering LEVEL, then
|
|
871
|
+
* `direct`, per attribute.
|
|
872
|
+
*
|
|
873
|
+
* A level's `w:pPr/w:ind` applies per attribute between the two tiers, and the ordering
|
|
874
|
+
* matters on real documents. A converted agreement numbers its `(a)` items with a level
|
|
875
|
+
* stating `left=1512 hanging=738` under a `ListParagraph` style stating
|
|
876
|
+
* `left=775 hanging=624`, and states only `hanging="737"` on the paragraph itself. Reading
|
|
877
|
+
* the flattened cascade as "the paragraph's indent" gave the STYLE's 775 to a level that had
|
|
878
|
+
* overridden it, so every lettered sub-item hung a full indent step to the left of where
|
|
879
|
+
* Word puts it.
|
|
880
|
+
*
|
|
881
|
+
* `inherited` is what the level outranks and `direct` is what outranks it. When the
|
|
882
|
+
* paragraph's own `w:pPr` states a `w:numPr`, these are the style chain (after the document
|
|
883
|
+
* defaults) and that `w:pPr`. Otherwise the level sits directly below the nearest style that
|
|
884
|
+
* states a `w:numPr`: that style, the styles based on it and the paragraph's own `w:pPr` go
|
|
885
|
+
* in `direct`, and the defaults and that style's bases go in `inherited`.
|
|
886
|
+
*/
|
|
887
|
+
declare function mergeListIndent(levelIndent: NumberingLevelIndent, inherited: readonly OoxmlProperty[], direct?: readonly OoxmlProperty[]): NumberingLevelIndent;
|
|
888
|
+
|
|
844
889
|
/** Collect story paragraphs, preserving table depth limits across immutable row reuse. */
|
|
845
890
|
declare function walkStoryParagraphs(blocks: readonly OoxmlElement[], maxTableDepth?: number): OoxmlElement[];
|
|
846
891
|
|
|
@@ -1140,6 +1185,11 @@ interface SemanticTableStructure {
|
|
|
1140
1185
|
* on that edge, so its first grid line sits half a rule inward. Positive moves right.
|
|
1141
1186
|
*/
|
|
1142
1187
|
readonly outerRuleOffsetPt?: number;
|
|
1188
|
+
/**
|
|
1189
|
+
* Derived, never serialized: the outer side rule an automatic-width mode-15 AutoFit table
|
|
1190
|
+
* keeps inside its container, so its grid settles that much narrower than the room.
|
|
1191
|
+
*/
|
|
1192
|
+
readonly autoOuterRulePt?: number;
|
|
1143
1193
|
/** `w:tblPr/w:tblW` — the width the table asked for. */
|
|
1144
1194
|
readonly tableWidth: PreferredWidth;
|
|
1145
1195
|
/**
|
|
@@ -2168,7 +2218,7 @@ interface PageRefHit {
|
|
|
2168
2218
|
}
|
|
2169
2219
|
|
|
2170
2220
|
/**
|
|
2171
|
-
* Bound on reflow attempts for
|
|
2221
|
+
* Bound on reflow attempts for one document layout pass, cold or seeded.
|
|
2172
2222
|
*
|
|
2173
2223
|
* Sized for a cold open of a reference-dense document: adoption is a forward fixed-point
|
|
2174
2224
|
* iteration whose settled prefix extends a few pages per round, so a legal document with a
|
|
@@ -2355,6 +2405,12 @@ declare function attachNotesToLayout(layout: SemanticLayout, allRefs: readonly P
|
|
|
2355
2405
|
* Opaque at this boundary; the shape is owned by this module.
|
|
2356
2406
|
*/
|
|
2357
2407
|
readonly memo?: unknown;
|
|
2408
|
+
/**
|
|
2409
|
+
* The pages are a completed prefix of a pass, shown before it ends: attach page-bottom
|
|
2410
|
+
* footnotes only. Section- and document-end notes, continuation sheets and the final marks
|
|
2411
|
+
* wait for the whole document, or they would land at the end of the prefix.
|
|
2412
|
+
*/
|
|
2413
|
+
readonly partial?: boolean;
|
|
2358
2414
|
}): NotesAttachResult;
|
|
2359
2415
|
/**
|
|
2360
2416
|
* Build a continuous (pre-page) mark context for the first body layout pass.
|
|
@@ -2524,7 +2580,7 @@ interface SemanticLayoutOptions {
|
|
|
2524
2580
|
readonly sectionFurniture?: readonly (PageFurniture | undefined)[];
|
|
2525
2581
|
/**
|
|
2526
2582
|
* `w:evenAndOddHeaders` from settings.xml. A section that restarts its page numbering then
|
|
2527
|
-
*
|
|
2583
|
+
* aligns its continued numbering with the required break or restart parity. When absent,
|
|
2528
2584
|
* layout reads the flag from the section furniture.
|
|
2529
2585
|
*/
|
|
2530
2586
|
readonly evenAndOddHeaders?: boolean;
|
|
@@ -2616,6 +2672,19 @@ interface SemanticLayoutOptions {
|
|
|
2616
2672
|
* `pageIndexStart`. Produced by the note reflow loop; absent means full content column.
|
|
2617
2673
|
*/
|
|
2618
2674
|
readonly pageBottomReserves?: ReadonlyMap<number, number>;
|
|
2675
|
+
/**
|
|
2676
|
+
* `pageBottomReserves` index the pages of the previous pass, the seed a notes pass starts
|
|
2677
|
+
* from. A multi-section pass moves each section's entries by how far its first page moved,
|
|
2678
|
+
* so a section after an edit that added or removed pages sees the reserves it had.
|
|
2679
|
+
* @internal
|
|
2680
|
+
*/
|
|
2681
|
+
readonly pageBottomReservesFromPreviousPass?: boolean;
|
|
2682
|
+
/**
|
|
2683
|
+
* With a seed: each page reads its reserve where its content stood in the previous pass, and
|
|
2684
|
+
* the pass reports what it read (`takeReadReserves`); see `note-first-round.ts`.
|
|
2685
|
+
* @internal
|
|
2686
|
+
*/
|
|
2687
|
+
readonly pageBottomReservesFollowFlow?: boolean;
|
|
2619
2688
|
/** Derived note marks for body/note projection (provisional or final). */
|
|
2620
2689
|
readonly noteMarks?: NoteMarkContext;
|
|
2621
2690
|
/** Inline drawing projection for typed `w:drawing` / `wp:inline` nodes. */
|
|
@@ -2770,6 +2839,8 @@ interface CanvasTextMetrics {
|
|
|
2770
2839
|
readonly width: number;
|
|
2771
2840
|
readonly actualBoundingBoxLeft?: number;
|
|
2772
2841
|
readonly actualBoundingBoxRight?: number;
|
|
2842
|
+
readonly actualBoundingBoxAscent?: number;
|
|
2843
|
+
readonly actualBoundingBoxDescent?: number;
|
|
2773
2844
|
readonly fontBoundingBoxAscent?: number;
|
|
2774
2845
|
readonly fontBoundingBoxDescent?: number;
|
|
2775
2846
|
}
|
|
@@ -2785,6 +2856,7 @@ interface CanvasTextContext {
|
|
|
2785
2856
|
fontKerning?: 'auto' | 'normal' | 'none';
|
|
2786
2857
|
textAlign?: 'left' | 'right' | 'center' | 'start' | 'end';
|
|
2787
2858
|
direction?: 'ltr' | 'rtl' | 'inherit';
|
|
2859
|
+
textBaseline?: 'top' | 'hanging' | 'middle' | 'alphabetic' | 'ideographic' | 'bottom';
|
|
2788
2860
|
measureText(text: string): CanvasTextMetrics;
|
|
2789
2861
|
}
|
|
2790
2862
|
/**
|
|
@@ -3147,5 +3219,5 @@ declare function tabLeaderPattern(startPt: number, widthPt: number, advancePt: n
|
|
|
3147
3219
|
*/
|
|
3148
3220
|
declare function noteSeparatorRuleBox(span: StyleSpanRecord, line: LineRecord, stroke?: StrikeoutStrokePt): LayoutBox;
|
|
3149
3221
|
|
|
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 };
|
|
3222
|
+
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, NumberingLevelIndent, 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, mergeListIndent, 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 };
|
|
3151
3223
|
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{
|
|
1
|
+
export{R as DEFAULT_CANVAS_FONT_STACK,b as HARFBUZZ_SHAPING_LIBRARY,e as HarfBuzzShapingError,k as LayoutShapingConfigurationError,K as ResolvedCache,z as WORD_SEGMENTER_LOCALE,$ as anchorLineY,C as boundedFallbackWordSegments,I as captureOperationSnapshot,ia as cellSelectionBetween,ma as cellSelectionRects,na as cellSelectionText,_ as contentControlBoundaries,D as createBoundedFallbackWordBoundary,E as createDefaultWordBoundary,g as createHarfBuzzTextShaper,B as createIntlWordBoundary,ha as createLayoutScheduler,fa as createLayoutShapedMeasurer,r as createLayoutShaping,ea as createShapedMeasurer,t as disposeLayoutShaping,L as exportSourceRangeOf,M as forEachSemanticSpan,J as guardOperationSnapshot,f as harfBuzzFontValidator,c as initializeHarfBuzz,U as isCanvasMeasurementAvailable,x as isCumulativeGeometryTrustedFromLineOrigin,w as isGeometryTrustedCaretOffset,d as isHarfBuzzInitialized,A as isIntlWordSegmenterAvailable,v as isWholeGraphemeHorizontalBoundary,q as layoutFontConfigurationFingerprint,X as pageRefPageNumbersFromLayout,ga as pagesToMaterialize,ka as paragraphsInCells,Y as planRefFieldResultRefresh,o as prepareLayoutFontConfiguration,W as resolveDefaultSurfaceMeasurer,F as resolveDefaultWordBoundary,aa as reviewAnchorIndex,ba as reviewItemGeometry,a as roundFontUnitToFixedPoint,G as segmentWords,y as semanticHorizontalBoundaries,u as shapedHorizontalBoundaries,la as spansInCells,ra as tabLeaderPattern,oa as tableContextAt,V as tryCreateCanvasMeasurer,N as vectorShapeInkClip,H as wordSegmentsToGraphemeRecords}from'./chunk-SRVKFUFI.js';export{a as setHarfBuzzWasmUrl}from'./chunk-RIYSCEFQ.js';export{O as AUTO_PARAGRAPH_SPACING_PT,_d as AUTO_PREFERRED_WIDTH,$d as CELL_PAD,I as COMPOUND_BORDER_MIN_GAP_PT,H as COMPOUND_BORDER_MIN_STROKE_PT,ae as DEFAULT_CELL_MARGINS,ya as DEFAULT_PAGE_GEOMETRY,ab as DEFAULT_REVISION_DISPLAY_MODE,ca as DEFAULT_RUN_STYLE,Sc as DEFAULT_SECTION_PROPERTIES,yb as DEFAULT_TAB_INTERVAL_PT,xb as DEFAULT_TAB_INTERVAL_TWIPS,ge as DEFAULT_VERTICAL_WEIGHT,xc as EMPTY_NUMBERING_INDEX,Ab as EMPTY_TAB_STOPS,d as FontResolutionError,la as GRAPHEME_SEGMENTER_LOCALE,c as HARD_MAX_AGGREGATE_FONT_BYTES,a as HARD_MAX_FONT_BYTES,b as HARD_MAX_FONT_SOURCES,N as MAX_BORDER_SPACE_PT,M as MAX_BORDER_WIDTH_PT,Rc as MAX_DOCUMENT_SECTIONS,Qf as MAX_EACH_PAGE_MARK_CANDIDATES,uc as MAX_LVL_OVERRIDES,Sb as MAX_LVL_TEXT_LENGTH,Rb as MAX_MARKER_TEXT_LENGTH,xf as MAX_NOTES_LAID_OUT,yf as MAX_NOTE_FRAGMENTS,Pf as MAX_NOTE_OVERFLOW_PAGES,Of as MAX_NOTE_REFLOW_ATTEMPTS,tc as MAX_NUMBERING_DEFINITIONS,L as MAX_PARAGRAPH_SPACING_PT,o as MAX_SHAPING_CONTEXT,Pb as MAX_STYLE_BASED_ON_DEPTH,sd as MAX_STYLE_DEFINITIONS,Sd as MAX_TABLE_BORDER_STROKES,ce as MAX_TABLE_NESTING,ef as MAX_TABLE_ROW_FRAGMENTS,de as MAX_TABLE_ROW_HEIGHT_PT,wb as MAX_TAB_POSITION_TWIPS,vb as MAX_TAB_STOPS,Nc as PAGE_BORDER_SIDES,Q as PARAGRAPH_BORDER_SIDES,P as SINGLE_LINE_SPACING,zb as TAB_LEADER_GLYPH,ff as TablePaginationError,va as UnsupportedScriptError,ba as appliedSpaceBefore,U as applyLineSpacing,Vf as attachNotesToLayout,ha as baselineShiftPtOf,Zd as borderExtentPt,Wd as borderWeight,_ as bottomBorderExtentPt,l as boundedStructuralFontValidator,vc as buildNumberingIndex,Sf as buildPageRefIndex,td as buildStyleCascadeTable,ze as caretAt,qe as caretBoxOnLine,xe as caretStops,ye as caretStopsForBlocks,ud as cascadeParagraphFormatting,xd as cascadeRunProperties,wd as cascadedBottomBorder,X as cascadedParagraphBorders,Bb as cascadedTabStops,Tb as clampListValue,aa as collapsedSpaceBefore,Ee as compositionAnchor,J as computeDoubleBorderMetricsPt,Uf as computeFootnoteReserves,ne as contentControlAtPoint,we as contentControlAtSemantic,qf as contentControlHoldingParagraph,pf as contentControlRecordsInPart,Ae as contentControlsInLayout,La as contentControlsOfLayout,jf as createDocumentFurnitureSource,mf as createDocumentLinkProjectors,kf as createDocumentNotesInput,Xe as createDocumentStyleDependencies,nf as createFieldLinkRegistry,ka as createFixedMeasurer,m as createFontResourceSnapshot,_f as createLayoutSession,zc as createListCounterState,Te as createParagraphLayoutCache,u as createShapedRun,r as createShapingEnvironment,ob as createUnsupportedContentProjector,Ef as defaultNoteSeparatorRuleStyle,Eb as defaultTabIntervalFromSettings,Ce as deletedTextBoundaries,Kc as deriveNoteDisplayMarks,Lc as deriveNoteDisplayMarksResolved,ea as displayText,Ua as documentOrder,lf as documentRelationshipTargetIn,Rd as effectiveBorderSide,Na as effectiveContentControlLock,rb as emptyTocPlaceholderParagraphIds,sb as emptyTocSuppressedResultParagraphIds,Yc as enumerateDocumentSections,_c as enumerateDocumentSectionsBounded,Va as everyStoryOrder,$b as expandLvlText,Tf as filterRefsOnPage,re as findDrawingOverlayFrameInLayout,Bf as findSeparatorNote,n as fixedPoint,h as fontRequestKey,Ha as forEachSemanticDrawing,Fa as forEachSemanticStory,Ia as forEachStoryParagraphFragment,Ub as formatDecimal,Vb as formatDecimalZero,Zb as formatLowerLetter,Xb as formatLowerRoman,_b as formatNumFmt,oc as formatPageNumber,kb as formatRevisionOf,Yb as formatUpperLetter,Wb as formatUpperRoman,Rf as fragmentOwnsAtomOffset,Ja as fragmentsOfParagraph,$c as geometryOfSection,ia as glyphSizeFactorOf,oa as graphemeBoundaryEpoch,sa as graphemeCount,ua as graphemeOffsetToUtf16,ke as hitTestPage,ve as hitTestSemantic,me as hitTestSheet,na as intlGraphemeBoundary,ie as isFurniturePoint,ma as isIntlSegmenterAvailable,Ff as isMarkerOnlySeparatorNote,Lb as isValidStyleId,wa as itemizeScriptFontSlots,Je as keyedRangeRects,ld as layoutEquation,if as layoutHeaderFooterStory,Df as layoutNoteById,Gf as layoutNoteSeparator,Cf as layoutNoteStory,$f as layoutSemanticDocument,Ka as lineAtPosition,oe as lineEndOffset,Oa as lineSegments,Ca as linesOf,Ec as listMarkerBox,ib as markRevisionRemovesMark,fa as measureDisplayText,yc as mergeListIndent,De as moveCaret,Fb as nextTabDestination,Af as normalNotesOf,Mc as noteDisplayMarkMap,zf as noteLineIdPrefix,hd as noteMarkKey,If as noteSeparatorAreaBox,wf as noteSeparatorRuleBox,Dd as noteStoryBlocks,he as pageAtY,vf as pageBorderFrame,Pc as pageBordersFingerprint,Z as paragraphBorderExtentPt,Y as paragraphBorderStrokeWidthPt,W as paragraphBorders,$ as paragraphBordersFingerprint,K as paragraphBreaksBefore,V as paragraphContextualSpacing,Aa as paragraphFragmentsOf,Ba as paragraphFragmentsOfBlocks,Se as paragraphLayoutKey,T as paragraphLineSpacing,Ac as paragraphMarkDeleted,gb as paragraphMarkFormatRevisionOf,jb as paragraphMarkRevisionOf,fb as paragraphMarkRevisionsOf,Wc as paragraphSectionNode,C as paragraphShading,D as paragraphShadingBox,S as paragraphSpacing,Cb as paragraphTabStops,Be as paragraphTextFromLayout,jc as parseAutonumInstruction,Oc as parsePageBorders,Tc as parsePageNumbering,ic as parseRefInstruction,Uc as parseSectionProperties,Id as positionPastDeletion,id as projectedNoteMarkText,Zc as projectedSectionSourceIndexes,Wf as provisionalNoteMarks,Td as readBorderSide,Vd as readCellBorders,Gc as readNumPr,Xc as readSectionProperties,Ud as readTableBorders,ee as readTableStructure,ra as resetGraphemeBoundary,Xd as resolveBorderConflict,wc as resolveNumberingLevel,A as resolveOoxmlShadingFill,yd as resolveParagraphLayoutInputs,da as resolveRunStyle,Ic as resolveStoryListItems,cd as resolveStoryRefFields,z as resolveStrictHexFill,Yd as resolveTableCellBorderGrid,db as revisionAuthorFilter,Cc as revisionRemovesParagraph,lb as revisionsAreDeletion,eb as revisionsVisible,Kb as runBorderStrokesForLine,ga as runStylesEqual,pa as segmentGraphemes,Ge as selectionRects,qa as setGraphemeBoundary,B as shadingFillFromElement,v as shapedRunComparatorInputs,t as shapingEnvironmentFingerprint,s as shapingEnvironmentFingerprintInputs,hb as shownMarkRevision,pe as spanOffsetX,Fe as spansInSelection,Cd as storyBlocks,xa as styleForFontSlot,Hf as syntheticSeparatorBox,Gb as tabAdvanceWidth,Hb as tabStopsFingerprint,be as tableOriginX,qb as tocFieldChromeParagraphIds,Ma as unionLayoutBoxes,ta as utf16OffsetToGrapheme,kc as walkStoryParagraphs,Db as withDefaultTabInterval,Hc as withNumberingStyleLinks,Jc as withResolvedListItems,te as wordBoundary}from'./chunk-DDFHKQFU.js';import'./chunk-ACLR4DMK.js';import'./chunk-HDOXACHP.js';export{Xc as MAX_SDT_NESTING,Zk as MAX_TABLE_COLUMNS,mi as W15_NAMESPACE_URI,Pj as activeReviewItem,ad as collectFlowBlocks,Yj as commentBodyText,_j as commentInitials,$c as contentControlContentChildren,Lj as firstReviewRange,Yc as isContentControl,Zc as isContentControlContent,d as mapSymbolPuaText,qj as paragraphOrderOfPart,Fj as reviewItemKey,Mj as reviewItemPositionRank,Kj as reviewItemRanges,Nj as reviewItemsAt,Qj as reviewThreadRootOf,f as sha256FontBytes}from'./chunk-GWM3AKUD.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { O as OoxmlPart,
|
|
1
|
+
import { O as OoxmlPart, a4 as OoxmlNode, a5 as OoxmlPackage } from './tree-op-types-C_S2niXW.js';
|
|
2
2
|
|
|
3
3
|
/** `w:pos` — where a section's footnotes are laid out. */
|
|
4
4
|
type FootnotePosition = 'pageBottom' | 'beneathText' | 'sectEnd' | 'docEnd';
|
package/dist/output.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkZGTIE3QJ_cjs=require('./chunk-ZGTIE3QJ.cjs');require('./chunk-6NVZNB7O.cjs'),require('./chunk-FDSL5OJU.cjs'),require('./chunk-TJHE5EET.cjs'),require('./chunk-65XBN67F.cjs'),require('./chunk-ZOZI27AW.cjs');Object.defineProperty(exports,"DEFAULT_FIELD_SHADING",{enumerable:true,get:function(){return chunkZGTIE3QJ_cjs.p}});Object.defineProperty(exports,"collectPageChangeBars",{enumerable:true,get:function(){return chunkZGTIE3QJ_cjs.j}});Object.defineProperty(exports,"lumTransfer",{enumerable:true,get:function(){return chunkZGTIE3QJ_cjs.k}});Object.defineProperty(exports,"observeUnsupportedElements",{enumerable:true,get:function(){return chunkZGTIE3QJ_cjs.a}});Object.defineProperty(exports,"paintSelectionOverlay",{enumerable:true,get:function(){return chunkZGTIE3QJ_cjs.u}});Object.defineProperty(exports,"paintSemanticLayout",{enumerable:true,get:function(){return chunkZGTIE3QJ_cjs.s}});
|
package/dist/output.d.ts
CHANGED
|
@@ -8,14 +8,17 @@
|
|
|
8
8
|
* @packageDocumentation
|
|
9
9
|
* @public
|
|
10
10
|
*/
|
|
11
|
-
import { R as ReviewAuthorInfo } from './semantic-paint-
|
|
12
|
-
export { B as BreakMarkStrings, C as ChangeBarsMode, D as DEFAULT_FIELD_SHADING, F as FieldShadingMode, P as PageChangeBars,
|
|
13
|
-
import { S as SemanticLayout } from './semantic-records-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
import './
|
|
17
|
-
import './
|
|
18
|
-
import './
|
|
11
|
+
import { R as ReviewAuthorInfo } from './semantic-paint-BPw_n0li.js';
|
|
12
|
+
export { B as BreakMarkStrings, C as ChangeBarsMode, D as DEFAULT_FIELD_SHADING, F as FieldShadingMode, P as PageChangeBars, d as PaintOptions, a as RevisionAuthorAssignments, b as RevisionAuthorStyle, c as RevisionStyles, e as collectPageChangeBars, p as paintSemanticLayout } from './semantic-paint-BPw_n0li.js';
|
|
13
|
+
import { S as SemanticLayout } from './semantic-records-BvN-WWst.js';
|
|
14
|
+
export { U as UnsupportedElement, e as UnsupportedElementLayout, f as UnsupportedElementRule } from './semantic-records-BvN-WWst.js';
|
|
15
|
+
export { U as UnsupportedElementHost, o as observeUnsupportedElements } from './unsupported-elements-CVos5cqe.js';
|
|
16
|
+
import './revision-projection-Cn6rZJ7H.js';
|
|
17
|
+
import './tree-op-types-C_S2niXW.js';
|
|
18
|
+
import './editor-scope-B3L-1ALc.js';
|
|
19
|
+
import './semantic-record-queries-C0rJ3sB4.js';
|
|
20
|
+
import './headless-document-view-Bcz9_Qva.js';
|
|
21
|
+
import './tree-package-store-CRHvMyNj.js';
|
|
19
22
|
|
|
20
23
|
/** A rectangle in page-content coordinates, on a named page. */
|
|
21
24
|
interface OverlayRect {
|
|
@@ -92,5 +95,16 @@ interface SelectionOverlayOptions {
|
|
|
92
95
|
*/
|
|
93
96
|
declare function paintSelectionOverlay(layer: HTMLElement, layout: SemanticLayout, rects: readonly OverlayRect[], options: SelectionOverlayOptions): void;
|
|
94
97
|
|
|
95
|
-
|
|
96
|
-
|
|
98
|
+
/** `out = slope * in + intercept` over sRGB channels in [0, 1]. */
|
|
99
|
+
interface LumTransfer {
|
|
100
|
+
readonly slope: number;
|
|
101
|
+
readonly intercept: number;
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Word's `a:lum` transfer for `bright`/`contrast` given in percent (`70.001` for `70001`).
|
|
105
|
+
* Returns `null` for the identity transfer and for non-finite input.
|
|
106
|
+
*/
|
|
107
|
+
declare function lumTransfer(brightPercent: number, contrastPercent: number): LumTransfer | null;
|
|
108
|
+
|
|
109
|
+
export { ReviewAuthorInfo, lumTransfer, paintSelectionOverlay };
|
|
110
|
+
export type { LumTransfer, OverlayRect, SelectionOverlayOptions };
|
package/dist/output.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{p as DEFAULT_FIELD_SHADING,j as collectPageChangeBars,k as lumTransfer,a as observeUnsupportedElements,u as paintSelectionOverlay,s as paintSemanticLayout}from'./chunk-FS7CMYLT.js';import'./chunk-SRVKFUFI.js';import'./chunk-RIYSCEFQ.js';import'./chunk-DDFHKQFU.js';import'./chunk-ACLR4DMK.js';import'./chunk-HDOXACHP.js';import'./chunk-GWM3AKUD.js';
|