@docx-editor.dev/core 2.6.1 → 2.8.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.js +1 -1
- package/dist/binding.cjs +1 -1
- package/dist/binding.d.cts +8 -7
- package/dist/binding.d.ts +8 -7
- package/dist/binding.js +1 -1
- package/dist/chunk-2WIXJ7CW.js +10 -0
- package/dist/chunk-42PRWWVE.js +2 -0
- package/dist/chunk-5XKD3VFP.js +18 -0
- package/dist/{chunk-SFMAIFEN.cjs → chunk-HCSWWXS2.cjs} +2 -2
- package/dist/chunk-HTJLSGBH.cjs +18 -0
- package/dist/chunk-JEHWQPXS.cjs +1 -0
- package/dist/chunk-KCJLRAKT.js +5 -0
- package/dist/chunk-KTL3UMPK.js +2 -0
- package/dist/chunk-M6ZIVJUA.cjs +2 -0
- package/dist/chunk-NU57YOQE.js +15 -0
- package/dist/chunk-RUS2YBWU.cjs +10 -0
- package/dist/chunk-TJEWP7MX.cjs +15 -0
- package/dist/chunk-UGUPVZDY.cjs +5 -0
- package/dist/chunk-XJRMFS6O.js +1 -0
- package/dist/chunk-XN634HAC.js +2 -0
- package/dist/chunk-XRDTD4X3.cjs +2 -0
- package/dist/contracts/document.d.cts +25 -3
- package/dist/contracts/document.d.ts +25 -3
- package/dist/contracts/editor.d.cts +7 -7
- package/dist/contracts/editor.d.ts +7 -7
- package/dist/contracts/interaction.d.cts +6 -6
- package/dist/contracts/interaction.d.ts +6 -6
- package/dist/contracts/modules.d.cts +4 -3
- package/dist/contracts/modules.d.ts +4 -3
- package/dist/contracts/types.d.cts +110 -2
- package/dist/contracts/types.d.ts +110 -2
- package/dist/{custom-node-writes-tJw8U9MO.d.ts → custom-node-writes-BdVl-LAC.d.ts} +19 -10
- package/dist/{custom-node-writes-D9G3GKQ7.d.cts → custom-node-writes-Bu8JIqfA.d.cts} +19 -10
- package/dist/{editor-BZEJL3vv.d.cts → editor-CWlj33GH.d.cts} +80 -69
- package/dist/{editor-D2zOJztO.d.ts → editor-D52SD4jG.d.ts} +80 -69
- package/dist/editor.cjs +1 -1
- package/dist/editor.d.cts +63 -31
- package/dist/editor.d.ts +63 -31
- package/dist/editor.js +1 -1
- package/dist/{image-resources-BaHz4QAd.d.cts → image-resources-BveffuKp.d.cts} +1 -1
- package/dist/{image-resources-Cl5_cNi9.d.ts → image-resources-D63k8w5f.d.ts} +1 -1
- package/dist/{index-_xF7n_z0.d.cts → index-39yzaZO_.d.cts} +1573 -1429
- package/dist/{index-D8L8WrNF.d.ts → index-ZuqIj0b9.d.ts} +1573 -1429
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +14 -14
- package/dist/index.d.ts +14 -14
- package/dist/index.js +1 -1
- package/dist/layout.cjs +1 -1
- package/dist/layout.d.cts +220 -23
- package/dist/layout.d.ts +220 -23
- package/dist/layout.js +1 -1
- package/dist/output.cjs +1 -1
- package/dist/output.d.cts +6 -5
- package/dist/output.d.ts +6 -5
- package/dist/output.js +1 -1
- package/dist/{review-reads-HDvoQXK2.d.ts → review-reads-B_pXe43J.d.ts} +1 -1
- package/dist/{review-reads-Dr0CpW6u.d.cts → review-reads-Bn7aZU4u.d.cts} +1 -1
- package/dist/{review-support-D4ZBdUXa.d.ts → review-support--I4ChuzF.d.ts} +1 -1
- package/dist/{review-support-T-riLz4Y.d.cts → review-support-CG7aVSPh.d.cts} +1 -1
- package/dist/{semantic-cell-selection-BTQFpN0S.d.cts → semantic-cell-selection-C45Gn4K-.d.cts} +14 -2
- package/dist/{semantic-cell-selection-B5vfPz4Q.d.ts → semantic-cell-selection-I-uAmi0q.d.ts} +14 -2
- package/dist/{semantic-interaction-CDNEU_Tx.d.cts → semantic-interaction-Bu_3IPaV.d.ts} +14 -2
- package/dist/{semantic-interaction-lvpzZRpA.d.ts → semantic-interaction-DVUqu_47.d.cts} +14 -2
- package/dist/{semantic-paint-BBPL3u5w.d.ts → semantic-paint-BKiiDJol.d.ts} +8 -2
- package/dist/{semantic-paint-IjbL-4CT.d.cts → semantic-paint-COQY0Lnq.d.cts} +8 -2
- package/dist/{semantic-records-CdQvpUj1.d.ts → semantic-records-DHcMZM2-.d.ts} +35 -36
- package/dist/{semantic-records-DEOs3_tE.d.cts → semantic-records-rAKWaD-1.d.cts} +35 -36
- package/dist/{shaped-measurer-C2SJAjV0.d.cts → shaped-measurer-BRL__nm2.d.cts} +1 -1
- package/dist/{shaped-measurer-l4o5ITJ0.d.ts → shaped-measurer-Cw45Nu5R.d.ts} +1 -1
- package/dist/store.cjs +1 -1
- package/dist/store.d.cts +55 -9
- package/dist/store.d.ts +55 -9
- package/dist/store.js +1 -1
- package/dist/{tree-op-types-CUCwPWjT.d.cts → tree-op-types-A-SLSKzK.d.cts} +62 -9
- package/dist/{tree-op-types-D0fTNBVW.d.ts → tree-op-types-BbzrA-kg.d.ts} +62 -9
- package/dist/{tree-session-b7bggR-S.d.cts → tree-session-C2NsEgfW.d.cts} +41 -6
- package/dist/{tree-session-CH1oA75f.d.ts → tree-session-DeNJa86l.d.ts} +41 -6
- package/dist/{tree-store-CIKASRHk.d.ts → tree-store-CKswbQl3.d.ts} +13 -1
- package/dist/{tree-store-BqgeCa1Q.d.cts → tree-store-Dob9Us6Y.d.cts} +13 -1
- package/package.json +2 -2
- package/dist/chunk-4GQXAXTZ.js +0 -5
- package/dist/chunk-DGUHCJPF.cjs +0 -18
- package/dist/chunk-DY3QVCWC.cjs +0 -10
- package/dist/chunk-E7BXJ4BF.js +0 -1
- package/dist/chunk-F7Z6PWAZ.cjs +0 -2
- package/dist/chunk-IJ4V3LGV.cjs +0 -2
- package/dist/chunk-JEMP5YI5.cjs +0 -15
- package/dist/chunk-JZXK4DKV.cjs +0 -1
- package/dist/chunk-NIGGABAA.js +0 -15
- package/dist/chunk-OPKOTVQQ.js +0 -18
- package/dist/chunk-R75OLPL6.js +0 -10
- package/dist/chunk-SKWYEZCO.cjs +0 -5
- package/dist/chunk-SMRD66T5.js +0 -2
- package/dist/chunk-UVIUNAQ6.js +0 -2
- package/dist/chunk-WAVN7MAT.js +0 -2
package/dist/layout.d.cts
CHANGED
|
@@ -1,24 +1,25 @@
|
|
|
1
|
-
import { V as VersionedShapingLibrary, T as TextShaper, F as FontByteValidator, a as FixedPointRoundingMode, b as FixedPoint, c as TextDirection, S as ShapedRun } from './shaped-measurer-
|
|
2
|
-
export { C as CacheLookup, d as CacheMiss, e as CacheProvenance, D as DeclaredFontSubstitution, f as FontFingerprintInputs, g as FontRequest, h as FontResolutionError, i as FontResolutionErrorCode, j as FontResourceDefinition, k as FontResourceInstrumentation, l as FontResourceSnapshot, m as FontResourceSnapshotOptions, n as FontSubstitution, o as FontValidationResult, G as GlyphOutline, H as HARD_MAX_AGGREGATE_FONT_BYTES, p as HARD_MAX_FONT_BYTES, q as HARD_MAX_FONT_SOURCES, L as LayoutShapingOptions, N as NormalizationPolicy, O as OperationSnapshot, r as OperationSnapshotField, s as OperationSnapshotGuard, R as ResolvedCache, t as ResolvedFont, u as ResourceDependencyProvenance, v as ShapeInput, w as ShapedCluster, x as ShapedFontSpan, y as ShapedGlyph, z as ShapedMeasurerOptions, A as ShapedRunComparatorInputs, B as ShapedVerticalMetrics, E as ShapingEnvironment, I as ShapingEnvironmentFingerprintInputs, J as ShapingEnvironmentInput, K as boundedStructuralFontValidator, M as captureOperationSnapshot, P as createFontResourceSnapshot, Q as createShapedMeasurer, U as createShapedRun, W as createShapingEnvironment, X as fixedPoint, Y as fontRequestKey, Z as guardOperationSnapshot, _ as sha256FontBytes, $ as shapedRunComparatorInputs, a0 as shapingEnvironmentFingerprint, a1 as shapingEnvironmentFingerprintInputs } from './shaped-measurer-
|
|
3
|
-
import { d as LayoutBox, D as DrawingPoint, e as DrawingInsets, a as StyleSpanRecord, I as InlineDrawingRecord, M as ModelRange, R as ResolvedRunStyle, f as ThemeFonts, g as ParagraphSpacing, h as ParagraphLineSpacing, i as ParagraphBorderEdge, j as ParagraphBorders, k as ResolvedTabStops, l as TableBorderSide, S as SemanticLayout,
|
|
4
|
-
export {
|
|
1
|
+
import { V as VersionedShapingLibrary, T as TextShaper, F as FontByteValidator, a as FixedPointRoundingMode, b as FixedPoint, c as TextDirection, S as ShapedRun } from './shaped-measurer-BRL__nm2.cjs';
|
|
2
|
+
export { C as CacheLookup, d as CacheMiss, e as CacheProvenance, D as DeclaredFontSubstitution, f as FontFingerprintInputs, g as FontRequest, h as FontResolutionError, i as FontResolutionErrorCode, j as FontResourceDefinition, k as FontResourceInstrumentation, l as FontResourceSnapshot, m as FontResourceSnapshotOptions, n as FontSubstitution, o as FontValidationResult, G as GlyphOutline, H as HARD_MAX_AGGREGATE_FONT_BYTES, p as HARD_MAX_FONT_BYTES, q as HARD_MAX_FONT_SOURCES, L as LayoutShapingOptions, N as NormalizationPolicy, O as OperationSnapshot, r as OperationSnapshotField, s as OperationSnapshotGuard, R as ResolvedCache, t as ResolvedFont, u as ResourceDependencyProvenance, v as ShapeInput, w as ShapedCluster, x as ShapedFontSpan, y as ShapedGlyph, z as ShapedMeasurerOptions, A as ShapedRunComparatorInputs, B as ShapedVerticalMetrics, E as ShapingEnvironment, I as ShapingEnvironmentFingerprintInputs, J as ShapingEnvironmentInput, K as boundedStructuralFontValidator, M as captureOperationSnapshot, P as createFontResourceSnapshot, Q as createShapedMeasurer, U as createShapedRun, W as createShapingEnvironment, X as fixedPoint, Y as fontRequestKey, Z as guardOperationSnapshot, _ as sha256FontBytes, $ as shapedRunComparatorInputs, a0 as shapingEnvironmentFingerprint, a1 as shapingEnvironmentFingerprintInputs } from './shaped-measurer-BRL__nm2.cjs';
|
|
3
|
+
import { d as LayoutBox, D as DrawingPoint, e as DrawingInsets, a as StyleSpanRecord, I as InlineDrawingRecord, M as ModelRange, R as ResolvedRunStyle, f as ThemeFonts, g as ParagraphSpacing, h as ParagraphLineSpacing, i as ParagraphBorderEdge, j as ParagraphBorders, k as ResolvedTabStops, l as TableBorderSide, S as SemanticLayout, C as ContentControlBoundaryRecord$1, m as ContentControlLock, n as ParagraphFragmentRecord, L as LineRecord, o as PageRecord, B as BlockFragmentRecord, p as InlineDrawingLayoutContext, T as TextMeasurer, H as HyperlinkProjector, F as FieldLinkProjector, q as StoryPageFieldNeeds, A as AnchoredDrawingRecord, P as PageGeometry, r as CellBorderBox, s as TableBorderBox } from './semantic-records-rAKWaD-1.cjs';
|
|
4
|
+
export { t as AUTO_PARAGRAPH_SPACING_PT, u as BorderGridGeometry, v as ContentControlGeometryFragment, w as ContentControlLevel, x as ContentControlMappedType, y as DEFAULT_PAGE_GEOMETRY, z as DEFAULT_RUN_STYLE, E as DEFAULT_TAB_INTERVAL_PT, G as DEFAULT_TAB_INTERVAL_TWIPS, J as EMPTY_TAB_STOPS, K as FieldAtomMarker, N as HeaderFooterStoryRecord, O as HyperlinkFieldSpec, Q as LineSpacingRule, U as ListMarkerRecord, V as MAX_BORDER_SPACE_PT, W as MAX_BORDER_WIDTH_PT, X as MAX_PARAGRAPH_SPACING_PT, Y as MAX_TABLE_BORDER_STROKES, Z as MAX_TAB_POSITION_TWIPS, _ as MAX_TAB_STOPS, $ as PARAGRAPH_BORDER_SIDES, a0 as ParagraphAutoSpacingContext, a1 as ParagraphBorderSide, a2 as ParagraphBorderStrokeRecord, a3 as ParagraphBottomBorderRecord, a4 as ParagraphIndent, a5 as ResolvedCellBorders, a6 as ResolvedTableBorderEdge, a7 as ResolvedTableBorderEdgeSegment, a8 as ResolvedUnderline, a9 as SINGLE_LINE_SPACING, aa as SourceRange, ab as SpanLinkRecord, ac as TAB_LEADER_GLYPH, ad as TabAlignment, ae as TabDestination, af as TabLeader, ag as TabStop, ah as TableBorderSideName, ai as TableBorderStrokeRecord, c as TableCellFragmentRecord, aj as TableFragmentRecord, b as TableRowFragmentRecord, ak as VerticalAlign, al as appliedSpaceBefore, am as applyLineSpacing, an as baselineShiftPtOf, ao as borderExtentPt, ap as borderWeight, aq as bottomBorderExtentPt, ar as cascadedParagraphBorders, as as cascadedTabStops, at as collapsedSpaceBefore, au as defaultTabIntervalFromSettings, av as displayText, aw as measureDisplayText, ax as nextTabDestination, ay as paragraphBorderExtentPt, az as paragraphBorderStrokeWidthPt, aA as paragraphBorders, aB as paragraphBordersFingerprint, aC as paragraphBreaksBefore, aD as paragraphContextualSpacing, aE as paragraphLineSpacing, aF as paragraphSpacing, aG as paragraphTabStops, aH as readBorderSide, aI as readCellBorders, aJ as readTableBorders, aK as resolveBorderConflict, aL as resolveRunStyle, aM as resolveTableCellBorderGrid, aN as runStylesEqual, aO as tabAdvanceWidth, aP as tabStopsFingerprint, aQ as withDefaultTabInterval } from './semantic-records-rAKWaD-1.cjs';
|
|
5
5
|
import { O as OoxmlNode, a as OoxmlElement, e as OoxmlPart } from './ooxml-tree-BU0e3DVi.cjs';
|
|
6
|
-
import { O as OoxmlProperty, C as ContentControlKind, n as ContentControlLevel, o as ContentControlLock, p as ContentControlDataBinding, I as ImpactClass } from './tree-op-types-
|
|
7
|
-
export {
|
|
6
|
+
import { O as OoxmlProperty, C as ContentControlKind, n as ContentControlLevel, o as ContentControlLock$1, p as ContentControlDataBinding, I as ImpactClass } from './tree-op-types-A-SLSKzK.cjs';
|
|
7
|
+
export { k as TableBorderStyle } from './tree-op-types-A-SLSKzK.cjs';
|
|
8
8
|
import { N as NoteKind, n as noteTypeOf } from './note-nodes-C6DLxlvj.cjs';
|
|
9
|
-
import { R as ResolvedFootnoteProperties, a as ResolvedEndnoteProperties } from './review-reads-
|
|
10
|
-
export { p as paragraphOrderOfPart } from './review-reads-
|
|
11
|
-
import { D as DocumentProperties, T as TreeModelChange } from './tree-store-
|
|
9
|
+
import { R as ResolvedFootnoteProperties, a as ResolvedEndnoteProperties } from './review-reads-Bn7aZU4u.cjs';
|
|
10
|
+
export { p as paragraphOrderOfPart } from './review-reads-Bn7aZU4u.cjs';
|
|
11
|
+
import { D as DocumentProperties, T as TreeModelChange } from './tree-store-Dob9Us6Y.cjs';
|
|
12
12
|
import { R as RevisionDisplayMode } from './revision-projection-WzlQGBJx.cjs';
|
|
13
13
|
export { D as DEFAULT_REVISION_DISPLAY_MODE, a as RevisionAttribution, b as RevisionKind, f as formatRevisionOf, m as markRevisionRemovesMark, p as paragraphMarkFormatRevisionOf, c as paragraphMarkRevisionOf, d as paragraphMarkRevisionsOf, r as revisionsAreDeletion, e as revisionsVisible, s as shownMarkRevision } from './revision-projection-WzlQGBJx.cjs';
|
|
14
|
-
import { a as SectionColumns } from './semantic-cell-selection-
|
|
15
|
-
export { C as CellSelection, D as DEFAULT_SECTION_PROPERTIES, b as DEFAULT_VERTICAL_WEIGHT, c as DocumentSection, d as DocumentSectionsEnumeration, e as DrawingOverlayFrame, H as HitPoint, f as HitTestOptions, M as MAX_DOCUMENT_SECTIONS, P as PlacedCell, g as SectionBreakType, h as SectionColumnDefinition, i as SectionMargins, j as SectionPageNumbering, S as SectionProperties, k as SemanticHit, l as SemanticHitDrawing, T as TableCellAddress, m as TableCellContext, n as caretBoxOnLine, o as cellSelectionBetween, p as cellSelectionRects, q as cellSelectionText, r as contentControlAtPoint, s as enumerateDocumentSections, t as enumerateDocumentSectionsBounded, u as findDrawingOverlayFrameInLayout, v as geometryOfSection, w as hitTestPage, x as hitTestSheet, y as isFurniturePoint, z as lineEndOffset, A as pageAtY, B as paragraphSectionNode, E as paragraphsInCells, F as parsePageNumbering, G as parseSectionProperties, I as readSectionProperties, J as spanOffsetX, K as spansInCells, L as tableContextAt } from './semantic-cell-selection-
|
|
14
|
+
import { a as SectionColumns } from './semantic-cell-selection-C45Gn4K-.cjs';
|
|
15
|
+
export { C as CellSelection, D as DEFAULT_SECTION_PROPERTIES, b as DEFAULT_VERTICAL_WEIGHT, c as DocumentSection, d as DocumentSectionsEnumeration, e as DrawingOverlayFrame, H as HitPoint, f as HitTestOptions, M as MAX_DOCUMENT_SECTIONS, P as PlacedCell, g as SectionBreakType, h as SectionColumnDefinition, i as SectionMargins, j as SectionPageNumbering, S as SectionProperties, k as SemanticHit, l as SemanticHitDrawing, T as TableCellAddress, m as TableCellContext, n as caretBoxOnLine, o as cellSelectionBetween, p as cellSelectionRects, q as cellSelectionText, r as contentControlAtPoint, s as enumerateDocumentSections, t as enumerateDocumentSectionsBounded, u as findDrawingOverlayFrameInLayout, v as geometryOfSection, w as hitTestPage, x as hitTestSheet, y as isFurniturePoint, z as lineEndOffset, A as pageAtY, B as paragraphSectionNode, E as paragraphsInCells, F as parsePageNumbering, G as parseSectionProperties, I as readSectionProperties, J as spanOffsetX, K as spansInCells, L as tableContextAt } from './semantic-cell-selection-C45Gn4K-.cjs';
|
|
16
16
|
export { M as MAX_SDT_NESTING, c as collectFlowBlocks, a as contentControlContentChildren, i as isContentControl, b as isContentControlContent } from './content-control-walk-CbTqHq6O.cjs';
|
|
17
|
-
export { h as CommentAnchor, i as CommentPosition, C as CommentRecord, j as CommentThreadState, c as ReviewCommentItem, d as ReviewCustomItem, a as ReviewItem, R as ReviewModelInput, k as ReviewParagraphAnchor, e as ReviewPosition, f as ReviewRange, b as ReviewRevisionItem, g as ReviewRevisionKind, W as W15_NAMESPACE_URI, l as activeReviewItem, m as anchorLineY, n as commentBodyText, o as commentInitials, p as firstReviewRange, r as reviewAnchorIndex, q as reviewItemGeometry, s as reviewItemKey, t as reviewItemPositionRank, u as reviewItemRanges, v as reviewItemsAt, w as reviewThreadRootOf } from './review-support-
|
|
18
|
-
import { S as SemanticPosition, b as SelectionRect, a as SemanticSelection } from './semantic-interaction-
|
|
19
|
-
export { c as CaretAtOptions, C as CaretGeometry, M as MoveCaretOptions, N as NavigationCommand, d as caretAt, e as caretStops, f as caretStopsForBlocks, g as compositionAnchor, h as contentControlAtSemantic, i as contentControlsInLayout, j as hitTestSemantic, m as moveCaret, p as paragraphTextFromLayout, s as spansInSelection } from './semantic-interaction-
|
|
20
|
-
import './image-resources-
|
|
17
|
+
export { h as CommentAnchor, i as CommentPosition, C as CommentRecord, j as CommentThreadState, c as ReviewCommentItem, d as ReviewCustomItem, a as ReviewItem, R as ReviewModelInput, k as ReviewParagraphAnchor, e as ReviewPosition, f as ReviewRange, b as ReviewRevisionItem, g as ReviewRevisionKind, W as W15_NAMESPACE_URI, l as activeReviewItem, m as anchorLineY, n as commentBodyText, o as commentInitials, p as firstReviewRange, r as reviewAnchorIndex, q as reviewItemGeometry, s as reviewItemKey, t as reviewItemPositionRank, u as reviewItemRanges, v as reviewItemsAt, w as reviewThreadRootOf } from './review-support-CG7aVSPh.cjs';
|
|
18
|
+
import { S as SemanticPosition, b as SelectionRect, a as SemanticSelection } from './semantic-interaction-DVUqu_47.cjs';
|
|
19
|
+
export { c as CaretAtOptions, C as CaretGeometry, M as MoveCaretOptions, N as NavigationCommand, d as caretAt, e as caretStops, f as caretStopsForBlocks, g as compositionAnchor, h as contentControlAtSemantic, i as contentControlsInLayout, j as hitTestSemantic, m as moveCaret, p as paragraphTextFromLayout, s as spansInSelection } from './semantic-interaction-DVUqu_47.cjs';
|
|
20
|
+
import './image-resources-BveffuKp.cjs';
|
|
21
21
|
import './ooxml-package-CR5us6ad.cjs';
|
|
22
|
+
import './contracts/types.cjs';
|
|
22
23
|
|
|
23
24
|
/**
|
|
24
25
|
* Page-field evaluation context for furniture projection.
|
|
@@ -121,6 +122,15 @@ interface ParagraphLayoutCache<T> {
|
|
|
121
122
|
set(key: ParagraphLayoutKey, value: T): void;
|
|
122
123
|
/** Drop entries for paragraphs a commit removed, so the cache cannot grow without bound. */
|
|
123
124
|
retain(keys: ReadonlySet<ParagraphLayoutKey>): void;
|
|
125
|
+
/**
|
|
126
|
+
* Whether THIS published pass should pay for a document-wide {@link retain} sweep.
|
|
127
|
+
*
|
|
128
|
+
* Retention only trims memory — the aging window tolerates deferral — while building the
|
|
129
|
+
* union of live keys costs real time on a large document, so callers ask per pass and
|
|
130
|
+
* sweep on a stride. Per cache instance, so one editor's cadence cannot starve another's.
|
|
131
|
+
* Optional for compatibility: a cache without it is retained on every pass.
|
|
132
|
+
*/
|
|
133
|
+
retentionPassDue?(): boolean;
|
|
124
134
|
clear(): void;
|
|
125
135
|
readonly stats: LayoutCacheStats;
|
|
126
136
|
}
|
|
@@ -171,11 +181,16 @@ interface ParagraphLayoutCacheOptions {
|
|
|
171
181
|
readonly maxEntries?: number;
|
|
172
182
|
}
|
|
173
183
|
/**
|
|
174
|
-
* A bounded least-recently-used cache.
|
|
184
|
+
* A bounded least-recently-used cache with generation-scoped retention.
|
|
175
185
|
*
|
|
176
186
|
* Bounded because a long editing session touches far more paragraph states than a document
|
|
177
187
|
* contains — every keystroke mints a new key for the paragraph being typed in — and an
|
|
178
188
|
* unbounded cache would hold every intermediate state of the session.
|
|
189
|
+
*
|
|
190
|
+
* The bound never evicts the CURRENT working set: entries stamped by this generation's
|
|
191
|
+
* retain or touched since it began are skipped, and the map grows past `maxEntries` when a
|
|
192
|
+
* document is larger than the configured cap — evicting live entries made every full pass
|
|
193
|
+
* on a 500-page document re-measure the whole document.
|
|
179
194
|
*/
|
|
180
195
|
declare function createParagraphLayoutCache<T>(options?: ParagraphLayoutCacheOptions): ParagraphLayoutCache<T>;
|
|
181
196
|
|
|
@@ -723,11 +738,76 @@ interface CompoundBorderMetrics {
|
|
|
723
738
|
*/
|
|
724
739
|
declare function computeDoubleBorderMetricsPt(widthPt: number): CompoundBorderMetrics;
|
|
725
740
|
|
|
741
|
+
/**
|
|
742
|
+
* Depth-first paragraph fragments of one page, in reading order.
|
|
743
|
+
*
|
|
744
|
+
* Table interiors flatten through rows and cells; header-repeat rows are skipped unless
|
|
745
|
+
* asked for, so interaction sees each caret stop exactly once while paint sees everything.
|
|
746
|
+
*/
|
|
747
|
+
declare function paragraphFragmentsOf(page: PageRecord, includeHeaderRepeats?: boolean): ParagraphFragmentRecord[];
|
|
748
|
+
declare function paragraphFragmentsOfBlocks(blocks: readonly BlockFragmentRecord[], includeHeaderRepeats?: boolean): ParagraphFragmentRecord[];
|
|
749
|
+
/** Every line in a layout, in reading order — the order caret navigation walks. */
|
|
750
|
+
declare function linesOf(layout: SemanticLayout): LineRecord[];
|
|
751
|
+
/** Every fragment belonging to one paragraph, in order, across page boundaries. */
|
|
752
|
+
declare function fragmentsOfParagraph(layout: SemanticLayout, paragraphId: string): ParagraphFragmentRecord[];
|
|
753
|
+
/** The line containing a model position, or null when the position is not laid out. */
|
|
754
|
+
declare function lineAtPosition(layout: SemanticLayout, paragraphId: string, offset: number,
|
|
755
|
+
/** Lines to test, when the caller already knows which ones can carry the paragraph. */
|
|
756
|
+
candidates?: Iterable<LineRecord>): LineRecord | null;
|
|
757
|
+
/** Every content-control boundary on a layout, preferring the layout-level list. */
|
|
758
|
+
declare function contentControlsOfLayout(layout: SemanticLayout): readonly ContentControlBoundaryRecord$1[];
|
|
759
|
+
/**
|
|
760
|
+
* Axis-aligned union of boxes, or null when the list is empty.
|
|
761
|
+
*
|
|
762
|
+
* Used when a control's content spans several fragments or spans on one page.
|
|
763
|
+
*/
|
|
764
|
+
declare function unionLayoutBoxes(boxes: readonly LayoutBox[]): LayoutBox | null;
|
|
765
|
+
/** Collapse raw + ancestor locks into one `ST_Lock` vocabulary value. */
|
|
766
|
+
declare function effectiveContentControlLock(locks: readonly ContentControlLock[]): ContentControlLock;
|
|
767
|
+
|
|
726
768
|
/** Paragraph ids in document order, deduplicated across fragments. */
|
|
727
769
|
declare function documentOrder(layout: SemanticLayout): string[];
|
|
770
|
+
/**
|
|
771
|
+
* Paragraph ids of EVERY story the layout paints, in the order they sit on the page.
|
|
772
|
+
*
|
|
773
|
+
* Body, then each page's header and footer, then its note areas — per page, so a story's own
|
|
774
|
+
* paragraphs stay adjacent and in reading order. That is all any caller needs: a selection
|
|
775
|
+
* cannot span two stories (the engine refuses one), so only the order WITHIN a story is ever
|
|
776
|
+
* compared, and this gets that right for all of them at once.
|
|
777
|
+
*
|
|
778
|
+
* What a caller passes when it has no story in hand — `selectionRects` and
|
|
779
|
+
* `spansInSelection` both REQUIRE an order rather than defaulting to one, deliberately.
|
|
780
|
+
* {@link documentOrder} is the body alone, and
|
|
781
|
+
* using it as a default is what let selection reads silently answer about the wrong story —
|
|
782
|
+
* two paragraphs selected in a header both ranked -1, the walk gave up, and the run properties
|
|
783
|
+
* came back short. A caller that DOES know its story should still pass that story's order:
|
|
784
|
+
* it is smaller, and it cannot match a paragraph the caret is not among.
|
|
785
|
+
*/
|
|
786
|
+
declare function everyStoryOrder(layout: SemanticLayout): string[];
|
|
728
787
|
|
|
729
|
-
/**
|
|
730
|
-
|
|
788
|
+
/**
|
|
789
|
+
* The rectangles covering a selection, one per line it spans.
|
|
790
|
+
*
|
|
791
|
+
* BODY fragments only, and a selection outside the body paints nothing. That is a real gap —
|
|
792
|
+
* a retained pin in a header shows no highlight, and a comment anchored in one draws no band
|
|
793
|
+
* even though the review queue lists it — but it is the honest shape of what this can answer
|
|
794
|
+
* today. Widening the walk to the other stories is not enough on its own: header and footer
|
|
795
|
+
* fragments carry positions relative to their own story box, note fragments relative to their
|
|
796
|
+
* note area, and one header story object is attached to EVERY page it applies to. Fed straight
|
|
797
|
+
* into a page-content-relative rect, those produce a band per page, at coordinates belonging
|
|
798
|
+
* to a different box. Measured, that put a header comment's band on all six pages of a
|
|
799
|
+
* document at the top-left of the body text. Painting nothing is wrong; painting over the
|
|
800
|
+
* wrong words is worse, so the walk stays here until the geometry is carried with it.
|
|
801
|
+
*/
|
|
802
|
+
declare function selectionRects(layout: SemanticLayout, selection: SemanticSelection,
|
|
803
|
+
/**
|
|
804
|
+
* Reading order of the ACTIVE story.
|
|
805
|
+
*
|
|
806
|
+
* REQUIRED, for the reason `spansInSelection` gives: any default is one story's order, and
|
|
807
|
+
* it is wrong for every caret outside that story. A caller with no story in hand passes
|
|
808
|
+
* {@link everyStoryOrder}.
|
|
809
|
+
*/
|
|
810
|
+
order: readonly string[]): SelectionRect[];
|
|
731
811
|
/** A model range to highlight, and the key the caller knows it by. */
|
|
732
812
|
interface KeyedRange {
|
|
733
813
|
readonly key: string;
|
|
@@ -1284,6 +1364,13 @@ interface LayoutNoteStoryOptions {
|
|
|
1284
1364
|
readonly producer: string;
|
|
1285
1365
|
readonly cache?: ParagraphLayoutCache<readonly PendingLine[]>;
|
|
1286
1366
|
readonly styleCascade?: StyleCascadeTable;
|
|
1367
|
+
/**
|
|
1368
|
+
* `numbering.xml`, so a `w:numPr` paragraph inside a note resolves a marker.
|
|
1369
|
+
*
|
|
1370
|
+
* Per story, like every other: `createListCounterState` is fresh per walk, so a numbered
|
|
1371
|
+
* list in a footnote starts at `w:start` rather than continuing the body's sequence.
|
|
1372
|
+
*/
|
|
1373
|
+
readonly numberingIndex?: NumberingIndex;
|
|
1287
1374
|
readonly defaultTabStopPt?: number;
|
|
1288
1375
|
/**
|
|
1289
1376
|
* Same projector seams the BODY walk uses. Without them a `w:hyperlink` or a HYPERLINK
|
|
@@ -1406,6 +1493,8 @@ interface NotesLayoutInput {
|
|
|
1406
1493
|
readonly producer: string;
|
|
1407
1494
|
readonly cache?: ParagraphLayoutCache<readonly PendingLine[]>;
|
|
1408
1495
|
readonly styleCascade?: StyleCascadeTable;
|
|
1496
|
+
/** `numbering.xml`, so a `w:numPr` paragraph inside a note resolves a marker. */
|
|
1497
|
+
readonly numberingIndex?: NumberingIndex;
|
|
1409
1498
|
readonly defaultTabStopPt?: number;
|
|
1410
1499
|
/**
|
|
1411
1500
|
* Link projector seams, same as the body walk's. Normally injected by `semantic-layout`
|
|
@@ -1421,6 +1510,13 @@ interface NotesLayoutInput {
|
|
|
1421
1510
|
* drawing records, which is what a headless caller with no image port wants.
|
|
1422
1511
|
*/
|
|
1423
1512
|
readonly drawingsForPart?: (ownerPartName: string) => NoteStoryDrawings | undefined;
|
|
1513
|
+
/**
|
|
1514
|
+
* Part-level drawing epoch covering the notes parts, standing in for
|
|
1515
|
+
* {@link drawingsForPart}'s closure in the notes-pass memo (the closure is rebuilt per
|
|
1516
|
+
* pass, so only an epoch can say "the drawing state did not move"). A caller that
|
|
1517
|
+
* supplies `drawingsForPart` without this keeps the rebuild path.
|
|
1518
|
+
*/
|
|
1519
|
+
readonly drawingLayoutEpoch?: string;
|
|
1424
1520
|
}
|
|
1425
1521
|
/**
|
|
1426
1522
|
* The layout with notes attached, plus any fallbacks taken and the mark context used.
|
|
@@ -1473,7 +1569,9 @@ declare function filterRefsOnPage(page: PageRecord, allRefs: readonly PageRefHit
|
|
|
1473
1569
|
* notes then compete for the same band. Oversized notes still split/continue within the budget;
|
|
1474
1570
|
* {@link MIN_FOOTNOTE_BODY_BAND_PT} keeps a body band so reflow cannot chase blank sheets.
|
|
1475
1571
|
*/
|
|
1476
|
-
declare function computeFootnoteReserves(layout: SemanticLayout, allRefs: readonly PageRefHit[], input: NotesLayoutInput, noteMarks: NoteMarkContext
|
|
1572
|
+
declare function computeFootnoteReserves(layout: SemanticLayout, allRefs: readonly PageRefHit[], input: NotesLayoutInput, noteMarks: NoteMarkContext,
|
|
1573
|
+
/** Session-carried notes memo (opaque; owned by this module). */
|
|
1574
|
+
passMemo?: unknown): {
|
|
1477
1575
|
readonly reserves: ReadonlyMap<number, number>;
|
|
1478
1576
|
readonly stable: boolean;
|
|
1479
1577
|
readonly reasons: readonly NotePaginationFallbackReason[];
|
|
@@ -1485,6 +1583,11 @@ declare function computeFootnoteReserves(layout: SemanticLayout, allRefs: readon
|
|
|
1485
1583
|
declare function attachNotesToLayout(layout: SemanticLayout, allRefs: readonly PageRefHit[], input: NotesLayoutInput, options?: {
|
|
1486
1584
|
readonly fallbackReasons?: readonly NotePaginationFallbackReason[];
|
|
1487
1585
|
readonly paragraphSectionIndex?: ReadonlyMap<string, number>;
|
|
1586
|
+
/**
|
|
1587
|
+
* Session-carried notes memo, already validated against `allRefs` and `input`.
|
|
1588
|
+
* Opaque at this boundary; the shape is owned by this module.
|
|
1589
|
+
*/
|
|
1590
|
+
readonly memo?: unknown;
|
|
1488
1591
|
}): NotesAttachResult;
|
|
1489
1592
|
/**
|
|
1490
1593
|
* Build a continuous (pre-page) mark context for the first body layout pass.
|
|
@@ -1505,6 +1608,14 @@ interface HeaderFooterPageContext {
|
|
|
1505
1608
|
}
|
|
1506
1609
|
interface HeaderFooterStoryLayout {
|
|
1507
1610
|
readonly partName: string;
|
|
1611
|
+
/**
|
|
1612
|
+
* The part this story was laid out from.
|
|
1613
|
+
*
|
|
1614
|
+
* Carried because a derivation that runs over the finished layout cannot reach it otherwise:
|
|
1615
|
+
* the layout receives furniture as fragments plus a NAME, and a name is not a tree. The
|
|
1616
|
+
* content-control boundary pass needs the tree to know which controls exist at all.
|
|
1617
|
+
*/
|
|
1618
|
+
readonly part?: OoxmlPart;
|
|
1508
1619
|
/** Main-document relationship id when the furniture source knows it. */
|
|
1509
1620
|
readonly rId?: string;
|
|
1510
1621
|
/**
|
|
@@ -1536,6 +1647,23 @@ interface HeaderFooterStoryLayout {
|
|
|
1536
1647
|
*/
|
|
1537
1648
|
readonly withPageContext: (ctx: FieldPageContext) => HeaderFooterStoryLayout;
|
|
1538
1649
|
}
|
|
1650
|
+
/**
|
|
1651
|
+
* Story-level inputs the body path has always had and furniture never did.
|
|
1652
|
+
*
|
|
1653
|
+
* A BAG, not more positional parameters. The signature below already carries fifteen, and its
|
|
1654
|
+
* own doc comment used to tell new callers to "keep passing `undefined` for what they do not
|
|
1655
|
+
* set" — which is why `numberingIndex` was never added and a numbered paragraph in a header
|
|
1656
|
+
* painted no marker for as long as headers have been editable. Everything new goes here.
|
|
1657
|
+
*/
|
|
1658
|
+
interface HeaderFooterStoryInputs {
|
|
1659
|
+
/**
|
|
1660
|
+
* `numbering.xml`, so a `w:numPr` paragraph in this story resolves a marker.
|
|
1661
|
+
*
|
|
1662
|
+
* Absent, the story lays out exactly as before: no marker record, and no numbering indent
|
|
1663
|
+
* merged into the paragraph's own.
|
|
1664
|
+
*/
|
|
1665
|
+
readonly numberingIndex?: NumberingIndex;
|
|
1666
|
+
}
|
|
1539
1667
|
/**
|
|
1540
1668
|
* Lay one header/footer part out at `contentWidth`.
|
|
1541
1669
|
*
|
|
@@ -1551,8 +1679,11 @@ interface HeaderFooterStoryLayout {
|
|
|
1551
1679
|
* body — a page-number tab in a metric-locale footer belongs on the document's interval, not
|
|
1552
1680
|
* on a constant. It sits at the tail because the parameters ahead of it are already
|
|
1553
1681
|
* positional; new callers should keep passing `undefined` for what they do not set.
|
|
1682
|
+
*
|
|
1683
|
+
* NEW inputs belong in {@link HeaderFooterStoryInputs}, the trailing bag, rather than as a
|
|
1684
|
+
* sixteenth position. Fifteen is what stopped `numberingIndex` being threaded here at all.
|
|
1554
1685
|
*/
|
|
1555
|
-
declare function layoutHeaderFooterStory(part: OoxmlPart, contentWidth: number, measurer: TextMeasurer, producer: string, cache?: ParagraphLayoutCache<readonly PendingLine[]>, styleCascade?: StyleCascadeTable, pageContext?: FieldPageContext, maxPageContextEntries?: number, defaultTabStopPt?: number, displayMode?: RevisionDisplayMode, inlineDrawingLayout?: InlineDrawingLayoutContext, drawingTokenForParagraph?: (paragraph: OoxmlNode) => string, drawingLayoutToken?: string, hfPageContext?: HeaderFooterPageContext, documentProperties?: DocumentProperties): HeaderFooterStoryLayout;
|
|
1686
|
+
declare function layoutHeaderFooterStory(part: OoxmlPart, contentWidth: number, measurer: TextMeasurer, producer: string, cache?: ParagraphLayoutCache<readonly PendingLine[]>, styleCascade?: StyleCascadeTable, pageContext?: FieldPageContext, maxPageContextEntries?: number, defaultTabStopPt?: number, displayMode?: RevisionDisplayMode, inlineDrawingLayout?: InlineDrawingLayoutContext, drawingTokenForParagraph?: (paragraph: OoxmlNode) => string, drawingLayoutToken?: string, hfPageContext?: HeaderFooterPageContext, documentProperties?: DocumentProperties, inputs?: HeaderFooterStoryInputs): HeaderFooterStoryLayout;
|
|
1556
1687
|
|
|
1557
1688
|
/** The flow state as it stood immediately before one block was placed. */
|
|
1558
1689
|
interface FlowCheckpoint {
|
|
@@ -1628,6 +1759,30 @@ interface LayoutSession {
|
|
|
1628
1759
|
keys: string[];
|
|
1629
1760
|
/** Geometry and producer of the previous pass; a change to either forces a full pass. */
|
|
1630
1761
|
context: string;
|
|
1762
|
+
/**
|
|
1763
|
+
* Whether the previous pass read page PARITY: even/odd header variants, or an anchored
|
|
1764
|
+
* drawing positioned against an inside/outside frame or alignment.
|
|
1765
|
+
*
|
|
1766
|
+
* The document page index is not part of {@link context} — page numbers re-project at
|
|
1767
|
+
* finalize and page shells renumber at remap — so parity is the only page-position input
|
|
1768
|
+
* that can invalidate a section's layout. Tracked separately so the common document pays
|
|
1769
|
+
* nothing for a start-index shift.
|
|
1770
|
+
*/
|
|
1771
|
+
parityDependent: boolean;
|
|
1772
|
+
/** Parity (0/1) of the document page index this session's layout started on. */
|
|
1773
|
+
startPageParity: number;
|
|
1774
|
+
/**
|
|
1775
|
+
* The section's memoized prepass (prepared blocks, cache keys, flow keys, document
|
|
1776
|
+
* order), reused verbatim while its inputs are unchanged. Opaque here: the shape is
|
|
1777
|
+
* owned by `semantic-layout.ts`, which is the only reader and writer.
|
|
1778
|
+
*/
|
|
1779
|
+
prepass: unknown;
|
|
1780
|
+
/**
|
|
1781
|
+
* The notes pass's memoized state (reference hits, mark contexts, per-page attach
|
|
1782
|
+
* results), reused while its inputs are unchanged. Opaque here: the shape is owned by
|
|
1783
|
+
* `note-pagination.ts`, which is the only reader and writer.
|
|
1784
|
+
*/
|
|
1785
|
+
notes: unknown;
|
|
1631
1786
|
/** Line counter at the start of the previous pass, for translating reused section counts. */
|
|
1632
1787
|
startLineCounter: number;
|
|
1633
1788
|
/**
|
|
@@ -1685,6 +1840,31 @@ declare function createLayoutSession(): LayoutSession;
|
|
|
1685
1840
|
*/
|
|
1686
1841
|
declare function createFixedMeasurer(charWidth?: number, lineHeight?: number): TextMeasurer;
|
|
1687
1842
|
|
|
1843
|
+
/**
|
|
1844
|
+
* Every content control a part declares, in document order, WITHOUT geometry.
|
|
1845
|
+
*
|
|
1846
|
+
* For callers that want the ROSTER rather than the rectangles — the Tab walk through form
|
|
1847
|
+
* fields is the one, and it needs story order, not boxes. `fragments` comes back empty here
|
|
1848
|
+
* by design; a caller that needs geometry reads `layout.contentControls`, which covers every
|
|
1849
|
+
* story the layout draws.
|
|
1850
|
+
*/
|
|
1851
|
+
declare function contentControlRecordsInPart(part: OoxmlPart,
|
|
1852
|
+
/**
|
|
1853
|
+
* Keep only controls holding one of these paragraphs.
|
|
1854
|
+
*
|
|
1855
|
+
* For a notes PART, which holds every note in the document rather than one story. Rostered
|
|
1856
|
+
* whole, Tab walked out of the open footnote and into the next one, and the keystrokes after
|
|
1857
|
+
* it landed in a note the reader was not in.
|
|
1858
|
+
*/
|
|
1859
|
+
withinParagraphs?: ReadonlySet<string>): readonly ContentControlBoundaryRecord$1[];
|
|
1860
|
+
/**
|
|
1861
|
+
* The innermost content control holding `paragraphId`, in `part`.
|
|
1862
|
+
*
|
|
1863
|
+
* Deepest wins, matching the geometry path's innermost-by-nesting rule: a control inside a
|
|
1864
|
+
* control is the one the caret is actually in.
|
|
1865
|
+
*/
|
|
1866
|
+
declare function contentControlHoldingParagraph(part: OoxmlPart, paragraphId: string): ContentControlBoundaryRecord$1 | null;
|
|
1867
|
+
|
|
1688
1868
|
/** Which header/footer variant a page shows (ECMA-376 §17.10.5). */
|
|
1689
1869
|
type HeaderFooterVariantName = 'default' | 'first' | 'even';
|
|
1690
1870
|
/**
|
|
@@ -1718,6 +1898,23 @@ interface SemanticLayoutOptions {
|
|
|
1718
1898
|
* nobody touched are never measured again.
|
|
1719
1899
|
*/
|
|
1720
1900
|
readonly cache?: ParagraphLayoutCache<readonly PendingLine[]>;
|
|
1901
|
+
/**
|
|
1902
|
+
* Collector for the cache keys a pass wants retained, instead of retaining directly.
|
|
1903
|
+
* Supplied by the multi-section orchestrator, which retains once over the union —
|
|
1904
|
+
* retaining per section evicted every other section's entries. `false` skips retention
|
|
1905
|
+
* for this pass entirely (the orchestrator strides sweeps). See
|
|
1906
|
+
* {@link retainLiveBreakKeys}.
|
|
1907
|
+
*/
|
|
1908
|
+
readonly retainKeys?: Set<string> | false;
|
|
1909
|
+
/**
|
|
1910
|
+
* Part-level drawing projection/resource epoch for the section prepass memo.
|
|
1911
|
+
*
|
|
1912
|
+
* Moves whenever any drawing projection or resource state in the part does, standing in
|
|
1913
|
+
* for the per-paragraph drawing tokens the memo would otherwise have to recompute to
|
|
1914
|
+
* validate. A caller that supplies `drawingTokenForParagraph` without this epoch keeps
|
|
1915
|
+
* the recompute path — the memo must never miss a token move it cannot see.
|
|
1916
|
+
*/
|
|
1917
|
+
readonly drawingLayoutEpoch?: string;
|
|
1721
1918
|
/**
|
|
1722
1919
|
* Who produced the measurements, folded into every cache key.
|
|
1723
1920
|
*
|
|
@@ -2104,9 +2301,9 @@ interface ContentControlBoundaryRecord {
|
|
|
2104
2301
|
readonly level: ContentControlLevel;
|
|
2105
2302
|
/** 0 for a top-level control; the nesting depth otherwise. */
|
|
2106
2303
|
readonly depth: number;
|
|
2107
|
-
readonly lock: ContentControlLock;
|
|
2304
|
+
readonly lock: ContentControlLock$1;
|
|
2108
2305
|
/** The lock in force here, including every lock an enclosing control imposes. */
|
|
2109
|
-
readonly effectiveLock: ContentControlLock;
|
|
2306
|
+
readonly effectiveLock: ContentControlLock$1;
|
|
2110
2307
|
readonly showingPlaceholder: boolean;
|
|
2111
2308
|
readonly temporary: boolean;
|
|
2112
2309
|
readonly tag?: string;
|
|
@@ -2519,4 +2716,4 @@ declare class TablePaginationError extends Error {
|
|
|
2519
2716
|
constructor(code: TablePaginationErrorCode, message: string);
|
|
2520
2717
|
}
|
|
2521
2718
|
|
|
2522
|
-
export { AUTO_PREFERRED_WIDTH, type AbstractNumDefinition, type BidiEmbeddingLevels, BlockFragmentRecord, CELL_PAD, COMPOUND_BORDER_MIN_GAP_PT, COMPOUND_BORDER_MIN_STROKE_PT, type CanvasMeasurerOptions, type CanvasTextContext, type CanvasTextMetrics, type CascadedParagraphFormatting, CellBorderBox, type CellMarginsPt, type CellVerticalAlign, type CompoundBorderMetrics, type ContentControlFragmentRecord, DEFAULT_CANVAS_FONT_STACK, DEFAULT_CELL_MARGINS, EMPTY_NUMBERING_INDEX, FieldLinkProjector, FixedPoint, FixedPointRoundingMode, FontByteValidator, type FontSlot, GRAPHEME_SEGMENTER_LOCALE, type GraphemeBoundary, type GraphemeSegment, type GraphemeWordSegmentRecord, HARFBUZZ_SHAPING_LIBRARY, type HarfBuzzFaceCacheEvent, type HarfBuzzOutlineCacheEvent, type HarfBuzzShapeCacheEvent, HarfBuzzShapingError, type HarfBuzzShapingErrorCode, type HarfBuzzTextShaper, type HarfBuzzTextShaperInstrumentation, type HarfBuzzTextShaperOptions, type HeaderFooterVariantName, HyperlinkProjector, type KeyedRange, LayoutBox, type LayoutCacheStats, type LayoutScheduler, type LayoutSchedulerOptions, type LayoutScope, type LayoutSession, type LayoutSessionStats, type LevelOverride, type ListCounterAdvance, type ListCounterState, type ListMarkerAlign, type ListSuffix, MAX_EACH_PAGE_MARK_CANDIDATES, MAX_LVL_OVERRIDES, MAX_LVL_TEXT_LENGTH, MAX_MARKER_TEXT_LENGTH, MAX_NOTES_LAID_OUT, MAX_NOTE_FRAGMENTS, MAX_NOTE_OVERFLOW_PAGES, MAX_NOTE_REFLOW_ATTEMPTS, MAX_NUMBERING_DEFINITIONS, MAX_STYLE_BASED_ON_DEPTH, MAX_STYLE_DEFINITIONS, MAX_TABLE_COLUMNS, MAX_TABLE_NESTING, MAX_TABLE_ROW_FRAGMENTS, MAX_TABLE_ROW_HEIGHT_PT, type MaterializationInput, type NoteDisplayMark, type NoteLayoutFallbackReason, type NoteMarkContext, type NotePaginationFallbackReason, type NoteReferenceSite, type NoteSeparatorLayout, type NoteSeparatorRuleStyle, type NoteStoryDrawings, type NoteStoryLayout, type NotesAttachResult, type NotesLayoutInput, type NumDefinition, type NumberingIndex, type NumberingLevel, type NumberingLevelIndent, type PageFurniture, PageGeometry, PageRecord, type PageRefIndex, ParagraphBorderEdge, ParagraphBorders, ParagraphFragmentRecord, type ParagraphKeyInputs, type ParagraphLayoutCache, type ParagraphLayoutCacheOptions, type ParagraphLayoutInputs, ParagraphLineSpacing, ParagraphSpacing, type PreferredWidth, type PreferredWidthType, type ResolvedListItem, ResolvedRunStyle, type ResolvedSurfaceMeasurer, ResolvedTabStops, RevisionDisplayMode, type ScriptItem, SectionColumns, SelectionRect, SemanticLayout, type SemanticLayoutOptions, SemanticPosition, SemanticSelection, type SemanticTableCell, type SemanticTableRow, type SemanticTableStructure, ShapedRun, type StyleCascadeTable, type StyleDefinition, StyleSpanRecord, type TableAlignment, TableBorderBox, TableBorderSide, type TableCellStyleFormatting, TablePaginationError, type TablePaginationErrorCode, type TableRowHeight, type TableRowHeightRule, TextDirection, TextMeasurer, TextShaper, UnsupportedScriptError, VersionedShapingLibrary, type ViewportWindow, WORD_SEGMENTER_LOCALE, type WordBoundary, type WordBoundaryResolverDeps, type WordSegment, attachNotesToLayout, boundedFallbackWordSegments, buildNumberingIndex, buildPageRefIndex, buildStyleCascadeTable, cascadeParagraphFormatting, cascadeRunProperties, cascadedBottomBorder, clampListValue, computeDoubleBorderMetricsPt, computeFootnoteReserves, contentControlBoundaries, createBoundedFallbackWordBoundary, createDefaultWordBoundary, createFixedMeasurer, createHarfBuzzTextShaper, createIntlWordBoundary, createLayoutScheduler, createLayoutSession, createListCounterState, createParagraphLayoutCache, defaultNoteSeparatorRuleStyle, deriveNoteDisplayMarks, deriveNoteDisplayMarksResolved, documentOrder, effectiveBorderSide, emptyTocPlaceholderParagraphIds, emptyTocSuppressedResultParagraphIds, expandLvlText, filterRefsOnPage, findSeparatorNote, formatDecimal, formatDecimalZero, formatLowerLetter, formatLowerRoman, formatNumFmt, formatPageNumber, formatUpperLetter, formatUpperRoman, fragmentOwnsAtomOffset, graphemeBoundaryEpoch, graphemeCount, graphemeOffsetToUtf16, harfBuzzFontValidator, initializeHarfBuzz, intlGraphemeBoundary, isCanvasMeasurementAvailable, isCumulativeGeometryTrustedFromLineOrigin, isGeometryTrustedCaretOffset, isHarfBuzzInitialized, isIntlSegmenterAvailable, isIntlWordSegmenterAvailable, isMarkerOnlySeparatorNote, isValidStyleId, isWholeGraphemeHorizontalBoundary, itemizeScriptFontSlots, keyedRangeRects, layoutHeaderFooterStory, layoutNoteById, layoutNoteSeparator, layoutNoteStory, layoutSemanticDocument, listMarkerBox, mergeListIndent, normalNotesOf, noteDisplayMarkMap, noteLineIdPrefix, noteMarkKey, noteSeparatorAreaBox, noteStoryBlocks, pagesToMaterialize, paragraphLayoutKey, paragraphMarkDeleted, paragraphShading, paragraphShadingBox, positionPastDeletion, projectedNoteMarkText, provisionalNoteMarks, readNumPr, readTableStructure, resetGraphemeBoundary, resolveDefaultSurfaceMeasurer, resolveDefaultWordBoundary, resolveNumberingLevel, resolveOoxmlShadingFill, resolveParagraphLayoutInputs, resolveStoryListItems, resolveStrictHexFill, revisionRemovesParagraph, roundFontUnitToFixedPoint, segmentGraphemes, segmentWords, selectionRects, semanticHorizontalBoundaries, setGraphemeBoundary, setHarfBuzzWasmUrl, shadingFillFromElement, shapedHorizontalBoundaries, storyBlocks, syntheticSeparatorBox, tableOriginX, tocFieldChromeParagraphIds, tryCreateCanvasMeasurer, utf16OffsetToGrapheme, walkStoryParagraphs, withNumberingStyleLinks, withResolvedListItems, wordBoundary, wordSegmentsToGraphemeRecords };
|
|
2719
|
+
export { AUTO_PREFERRED_WIDTH, type AbstractNumDefinition, type BidiEmbeddingLevels, BlockFragmentRecord, CELL_PAD, COMPOUND_BORDER_MIN_GAP_PT, COMPOUND_BORDER_MIN_STROKE_PT, type CanvasMeasurerOptions, type CanvasTextContext, type CanvasTextMetrics, type CascadedParagraphFormatting, CellBorderBox, type CellMarginsPt, type CellVerticalAlign, type CompoundBorderMetrics, ContentControlBoundaryRecord$1 as ContentControlBoundaryRecord, type ContentControlFragmentRecord, ContentControlLock, DEFAULT_CANVAS_FONT_STACK, DEFAULT_CELL_MARGINS, EMPTY_NUMBERING_INDEX, FieldLinkProjector, FixedPoint, FixedPointRoundingMode, FontByteValidator, type FontSlot, GRAPHEME_SEGMENTER_LOCALE, type GraphemeBoundary, type GraphemeSegment, type GraphemeWordSegmentRecord, HARFBUZZ_SHAPING_LIBRARY, type HarfBuzzFaceCacheEvent, type HarfBuzzOutlineCacheEvent, type HarfBuzzShapeCacheEvent, HarfBuzzShapingError, type HarfBuzzShapingErrorCode, type HarfBuzzTextShaper, type HarfBuzzTextShaperInstrumentation, type HarfBuzzTextShaperOptions, type HeaderFooterVariantName, HyperlinkProjector, type KeyedRange, LayoutBox, type LayoutCacheStats, type LayoutScheduler, type LayoutSchedulerOptions, type LayoutScope, type LayoutSession, type LayoutSessionStats, type LevelOverride, LineRecord, type ListCounterAdvance, type ListCounterState, type ListMarkerAlign, type ListSuffix, MAX_EACH_PAGE_MARK_CANDIDATES, MAX_LVL_OVERRIDES, MAX_LVL_TEXT_LENGTH, MAX_MARKER_TEXT_LENGTH, MAX_NOTES_LAID_OUT, MAX_NOTE_FRAGMENTS, MAX_NOTE_OVERFLOW_PAGES, MAX_NOTE_REFLOW_ATTEMPTS, MAX_NUMBERING_DEFINITIONS, MAX_STYLE_BASED_ON_DEPTH, MAX_STYLE_DEFINITIONS, MAX_TABLE_COLUMNS, MAX_TABLE_NESTING, MAX_TABLE_ROW_FRAGMENTS, MAX_TABLE_ROW_HEIGHT_PT, type MaterializationInput, type NoteDisplayMark, type NoteLayoutFallbackReason, type NoteMarkContext, type NotePaginationFallbackReason, type NoteReferenceSite, type NoteSeparatorLayout, type NoteSeparatorRuleStyle, type NoteStoryDrawings, type NoteStoryLayout, type NotesAttachResult, type NotesLayoutInput, type NumDefinition, type NumberingIndex, type NumberingLevel, type NumberingLevelIndent, type PageFurniture, PageGeometry, PageRecord, type PageRefIndex, ParagraphBorderEdge, ParagraphBorders, ParagraphFragmentRecord, type ParagraphKeyInputs, type ParagraphLayoutCache, type ParagraphLayoutCacheOptions, type ParagraphLayoutInputs, ParagraphLineSpacing, ParagraphSpacing, type PreferredWidth, type PreferredWidthType, type ResolvedListItem, ResolvedRunStyle, type ResolvedSurfaceMeasurer, ResolvedTabStops, RevisionDisplayMode, type ScriptItem, SectionColumns, SelectionRect, SemanticLayout, type SemanticLayoutOptions, SemanticPosition, SemanticSelection, type SemanticTableCell, type SemanticTableRow, type SemanticTableStructure, ShapedRun, type StyleCascadeTable, type StyleDefinition, StyleSpanRecord, type TableAlignment, TableBorderBox, TableBorderSide, type TableCellStyleFormatting, TablePaginationError, type TablePaginationErrorCode, type TableRowHeight, type TableRowHeightRule, TextDirection, TextMeasurer, TextShaper, UnsupportedScriptError, VersionedShapingLibrary, type ViewportWindow, WORD_SEGMENTER_LOCALE, type WordBoundary, type WordBoundaryResolverDeps, type WordSegment, attachNotesToLayout, boundedFallbackWordSegments, buildNumberingIndex, buildPageRefIndex, buildStyleCascadeTable, cascadeParagraphFormatting, cascadeRunProperties, cascadedBottomBorder, clampListValue, computeDoubleBorderMetricsPt, computeFootnoteReserves, contentControlBoundaries, contentControlHoldingParagraph, contentControlRecordsInPart, contentControlsOfLayout, createBoundedFallbackWordBoundary, createDefaultWordBoundary, createFixedMeasurer, createHarfBuzzTextShaper, createIntlWordBoundary, createLayoutScheduler, createLayoutSession, createListCounterState, createParagraphLayoutCache, defaultNoteSeparatorRuleStyle, deriveNoteDisplayMarks, deriveNoteDisplayMarksResolved, documentOrder, effectiveBorderSide, effectiveContentControlLock, emptyTocPlaceholderParagraphIds, emptyTocSuppressedResultParagraphIds, everyStoryOrder, expandLvlText, filterRefsOnPage, findSeparatorNote, formatDecimal, formatDecimalZero, formatLowerLetter, formatLowerRoman, formatNumFmt, formatPageNumber, formatUpperLetter, formatUpperRoman, fragmentOwnsAtomOffset, fragmentsOfParagraph, graphemeBoundaryEpoch, graphemeCount, graphemeOffsetToUtf16, harfBuzzFontValidator, initializeHarfBuzz, intlGraphemeBoundary, isCanvasMeasurementAvailable, isCumulativeGeometryTrustedFromLineOrigin, isGeometryTrustedCaretOffset, isHarfBuzzInitialized, isIntlSegmenterAvailable, isIntlWordSegmenterAvailable, isMarkerOnlySeparatorNote, isValidStyleId, isWholeGraphemeHorizontalBoundary, itemizeScriptFontSlots, keyedRangeRects, layoutHeaderFooterStory, layoutNoteById, layoutNoteSeparator, layoutNoteStory, layoutSemanticDocument, lineAtPosition, linesOf, listMarkerBox, mergeListIndent, normalNotesOf, noteDisplayMarkMap, noteLineIdPrefix, noteMarkKey, noteSeparatorAreaBox, noteStoryBlocks, pagesToMaterialize, paragraphFragmentsOf, paragraphFragmentsOfBlocks, paragraphLayoutKey, paragraphMarkDeleted, paragraphShading, paragraphShadingBox, positionPastDeletion, projectedNoteMarkText, provisionalNoteMarks, readNumPr, readTableStructure, resetGraphemeBoundary, resolveDefaultSurfaceMeasurer, resolveDefaultWordBoundary, resolveNumberingLevel, resolveOoxmlShadingFill, resolveParagraphLayoutInputs, resolveStoryListItems, resolveStrictHexFill, revisionRemovesParagraph, roundFontUnitToFixedPoint, segmentGraphemes, segmentWords, selectionRects, semanticHorizontalBoundaries, setGraphemeBoundary, setHarfBuzzWasmUrl, shadingFillFromElement, shapedHorizontalBoundaries, storyBlocks, syntheticSeparatorBox, tableOriginX, tocFieldChromeParagraphIds, tryCreateCanvasMeasurer, unionLayoutBoxes, utf16OffsetToGrapheme, walkStoryParagraphs, withNumberingStyleLinks, withResolvedListItems, wordBoundary, wordSegmentsToGraphemeRecords };
|