@docx-editor.dev/core 2.4.0 → 2.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/automation.cjs +1 -1
- package/dist/automation.d.cts +6 -6
- package/dist/automation.d.ts +6 -6
- package/dist/automation.js +1 -1
- package/dist/binding.cjs +1 -1
- package/dist/binding.d.cts +12 -12
- package/dist/binding.d.ts +12 -12
- package/dist/binding.js +1 -1
- package/dist/chunk-2GSRLGUI.cjs +10 -0
- package/dist/chunk-2QIA75K3.js +2 -0
- package/dist/chunk-32NXPFYL.js +5 -0
- package/dist/chunk-3C533HSQ.cjs +18 -0
- package/dist/{chunk-YMIMLEX4.cjs → chunk-3FRSOOND.cjs} +1 -1
- package/dist/chunk-45FL7KH4.js +1 -0
- package/dist/chunk-7GYF33B5.cjs +2 -0
- package/dist/chunk-H3DZP4LE.cjs +5 -0
- package/dist/chunk-IJ4V3LGV.cjs +2 -0
- package/dist/chunk-JDHTCMFA.cjs +2 -0
- package/dist/chunk-L2GMLEHX.cjs +14 -0
- package/dist/chunk-LJIX4ZDF.js +10 -0
- package/dist/chunk-QUZM6LWQ.js +14 -0
- package/dist/chunk-T252F4US.js +18 -0
- package/dist/chunk-UVIUNAQ6.js +2 -0
- package/dist/chunk-YTZIGUXT.js +2 -0
- package/dist/{content-control-walk-CbTqHq6O.d.cts → content-control-walk-BeAFh6Xi.d.cts} +1 -1
- package/dist/{content-control-walk-D06GijR0.d.ts → content-control-walk-CQp8l6eS.d.ts} +1 -1
- package/dist/contracts/editor.d.cts +9 -9
- package/dist/contracts/editor.d.ts +9 -9
- package/dist/contracts/interaction.d.cts +9 -9
- package/dist/contracts/interaction.d.ts +9 -9
- package/dist/contracts/modules.d.cts +5 -5
- package/dist/contracts/modules.d.ts +5 -5
- package/dist/{custom-node-writes-BkMgMXxs.d.ts → custom-node-writes-2clI36T9.d.ts} +22 -7
- package/dist/{custom-node-writes-C5YRoPcc.d.cts → custom-node-writes-CIC_-wad.d.cts} +22 -7
- package/dist/{editor-DYvC9CZs.d.cts → editor-CUul9IuY.d.cts} +22 -5
- package/dist/{editor-D1qHfzOt.d.ts → editor-DIwctMcU.d.ts} +22 -5
- package/dist/editor.cjs +1 -1
- package/dist/editor.css +32 -0
- package/dist/editor.d.cts +24 -24
- package/dist/editor.d.ts +24 -24
- package/dist/editor.js +1 -1
- package/dist/{hf-references-CgEOSw3i.d.cts → hf-references-BPET4tlK.d.cts} +2 -2
- package/dist/{hf-references-BdjsQNE_.d.ts → hf-references-CAp1xTv6.d.ts} +2 -2
- package/dist/{image-resources-DXvPZvXD.d.cts → image-resources-CSlQmPIm.d.cts} +10 -10
- package/dist/{image-resources-BG9DLyW7.d.ts → image-resources-e13t-pgy.d.ts} +10 -10
- package/dist/{index-Bb-QAg_f.d.cts → index-8t44iXTY.d.cts} +79 -14
- package/dist/{index-DpY3WZuP.d.ts → index-BUsYjxF5.d.ts} +79 -14
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +18 -18
- package/dist/index.d.ts +18 -18
- package/dist/index.js +1 -1
- package/dist/layout.cjs +1 -1
- package/dist/layout.d.cts +114 -50
- package/dist/layout.d.ts +114 -50
- package/dist/layout.js +1 -1
- package/dist/{note-nodes-C6DLxlvj.d.cts → note-nodes-B2wWES2L.d.cts} +1 -1
- package/dist/{note-nodes-BPSTVDMr.d.ts → note-nodes-CZQXU6Fg.d.ts} +1 -1
- package/dist/{review-reads-CQmU9Lcl.d.ts → note-properties-BS66XmcC.d.ts} +91 -67
- package/dist/{review-reads-CxgN62yp.d.cts → note-properties-Dhqkro--.d.cts} +91 -67
- package/dist/{ooxml-package-D_CtywTW.d.ts → ooxml-package-BrxTmTsZ.d.ts} +115 -115
- package/dist/{ooxml-package-CR5us6ad.d.cts → ooxml-package-Cmbe_M04.d.cts} +115 -115
- package/dist/{ooxml-tree-BU0e3DVi.d.cts → ooxml-tree-CG0odFyi.d.cts} +1 -1
- package/dist/{ooxml-tree-BU0e3DVi.d.ts → ooxml-tree-CG0odFyi.d.ts} +1 -1
- package/dist/output.cjs +1 -1
- package/dist/output.d.cts +7 -7
- package/dist/output.d.ts +7 -7
- package/dist/output.js +1 -1
- package/dist/{protocol-CD7slqvl.d.cts → protocol-B5oSt08P.d.cts} +2 -2
- package/dist/{protocol-DsbfgBwA.d.ts → protocol-ooK7PAXz.d.ts} +2 -2
- package/dist/{review-support-DgXTIYBW.d.ts → review-support-Bl9sN8cv.d.ts} +47 -3
- package/dist/{review-support-BJ-YjGmD.d.cts → review-support-CHuJxHmz.d.cts} +47 -3
- package/dist/{revision-projection-DHAkcD_L.d.ts → revision-projection-DRZMzoLD.d.cts} +54 -3
- package/dist/{revision-projection-72ZApe-g.d.cts → revision-projection-u4nT52xT.d.ts} +54 -3
- package/dist/{semantic-cell-selection-DZtyMXkH.d.ts → semantic-cell-selection-CdNQ-a9-.d.cts} +8 -5
- package/dist/{semantic-cell-selection--ezfezTe.d.cts → semantic-cell-selection-Dc-_enhm.d.ts} +8 -5
- package/dist/{semantic-interaction-DrgbgKg6.d.ts → semantic-interaction-CCVwyw2A.d.ts} +2 -30
- package/dist/{semantic-interaction-2yxdv7q0.d.cts → semantic-interaction-DgaWs-5w.d.cts} +2 -30
- package/dist/{semantic-paint-BYjE0Xbl.d.cts → semantic-paint-6iIB4fhx.d.cts} +2 -2
- package/dist/{semantic-paint-BedBxkyY.d.ts → semantic-paint-CKIbFkQ7.d.ts} +2 -2
- package/dist/{semantic-records-CR5hTqMK.d.ts → semantic-records-B-qbrnp2.d.ts} +107 -9
- package/dist/{semantic-records-DSD8WENa.d.cts → semantic-records-Dq8SlCY8.d.cts} +107 -9
- package/dist/{shaped-measurer-BL8g4AcW.d.ts → shaped-measurer-BT4FqYe9.d.ts} +1 -1
- package/dist/{shaped-measurer-CBOTJTV_.d.cts → shaped-measurer-Dx4llNhK.d.cts} +1 -1
- package/dist/store.cjs +1 -1
- package/dist/store.d.cts +254 -231
- package/dist/store.d.ts +254 -231
- package/dist/store.js +1 -1
- package/dist/{tree-op-types-8a6xyRCN.d.ts → tree-op-types-CZw9QhWX.d.ts} +219 -219
- package/dist/{tree-op-types-EZXbR8bW.d.cts → tree-op-types-DOYNkKqD.d.cts} +219 -219
- package/dist/{tree-session-SucW0znF.d.ts → tree-session-CF_EOhTW.d.ts} +14 -8
- package/dist/{tree-session-DrMm8Cj2.d.cts → tree-session-CtK3KgFU.d.cts} +14 -8
- package/dist/{tree-store-BoM6eXaL.d.ts → tree-store-9TaX-L0V.d.ts} +31 -4
- package/dist/{tree-store-UYrGKF_Q.d.cts → tree-store-Jg-q7fyf.d.cts} +31 -4
- package/package.json +3 -3
- package/dist/chunk-33F6TRXO.js +0 -2
- package/dist/chunk-4WWEDTTE.js +0 -2
- package/dist/chunk-BS554B6D.cjs +0 -2
- package/dist/chunk-DQ5HGUWG.cjs +0 -12
- package/dist/chunk-EQO762XH.cjs +0 -10
- package/dist/chunk-F6WNPYOM.js +0 -2
- package/dist/chunk-FL4GWK76.js +0 -12
- package/dist/chunk-GWG5IVVX.cjs +0 -5
- package/dist/chunk-IZIL6BAW.cjs +0 -12
- package/dist/chunk-LIJPSHRA.js +0 -5
- package/dist/chunk-MHDO6HLI.cjs +0 -2
- package/dist/chunk-SG7OH2EK.js +0 -12
- package/dist/chunk-TCX3PVWR.js +0 -10
- package/dist/chunk-YTYKNA6X.cjs +0 -2
- package/dist/chunk-ZACHY6OS.js +0 -1
package/dist/layout.d.ts
CHANGED
|
@@ -1,37 +1,24 @@
|
|
|
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
|
|
4
|
-
export { s as AUTO_PARAGRAPH_SPACING_PT, t as BorderGridGeometry, C as ContentControlBoundaryRecord, u as ContentControlGeometryFragment, v as ContentControlLevel, w as ContentControlLock, x as ContentControlMappedType, y as DEFAULT_PAGE_GEOMETRY, z as DEFAULT_RUN_STYLE, E as DEFAULT_TAB_INTERVAL_PT,
|
|
5
|
-
import { O as OoxmlNode, a as OoxmlElement, e as OoxmlPart } from './ooxml-tree-
|
|
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 {
|
|
8
|
-
import { N as NoteKind, n as noteTypeOf } from './note-nodes-
|
|
9
|
-
import { R as ResolvedFootnoteProperties, a as ResolvedEndnoteProperties } from './
|
|
10
|
-
export { p as paragraphOrderOfPart } from './
|
|
11
|
-
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
export {
|
|
16
|
-
export {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
import './
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* Which allowlisted page fields a header/footer story actually contains.
|
|
24
|
-
*
|
|
25
|
-
* Drives layout reuse: no fields → one baseline; NUMPAGES only → one layout per page count;
|
|
26
|
-
* SECTIONPAGES only → one layout per section page count; PAGE (alone or combined) → per
|
|
27
|
-
* distinct evaluated values with a bounded cache. Counts both complex markers and
|
|
28
|
-
* `w:fldSimple` (including an allowlisted page field nested inside a non-page simple field).
|
|
29
|
-
*/
|
|
30
|
-
interface StoryPageFieldNeeds {
|
|
31
|
-
readonly hasPage: boolean;
|
|
32
|
-
readonly hasNumPages: boolean;
|
|
33
|
-
readonly hasSectionPages: boolean;
|
|
34
|
-
}
|
|
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-BT4FqYe9.js';
|
|
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-BT4FqYe9.js';
|
|
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, B as BlockFragmentRecord, m as InlineDrawingLayoutContext, T as TextMeasurer, H as HyperlinkProjector, F as FieldLinkProjector, n as PageRecord, o as ParagraphFragmentRecord, p as StoryPageFieldNeeds, A as AnchoredDrawingRecord, P as PageGeometry, q as CellBorderBox, r as TableBorderBox } from './semantic-records-B-qbrnp2.js';
|
|
4
|
+
export { s as AUTO_PARAGRAPH_SPACING_PT, t as BorderGridGeometry, C as ContentControlBoundaryRecord, u as ContentControlGeometryFragment, v as ContentControlLevel, w as ContentControlLock, 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, L as LineRecord, 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 contentControlsOfLayout, av as defaultTabIntervalFromSettings, aw as displayText, ax as effectiveContentControlLock, ay as fragmentsOfParagraph, az as lineAtPosition, aA as linesOf, aB as measureDisplayText, aC as nextTabDestination, aD as paragraphBorderExtentPt, aE as paragraphBorderStrokeWidthPt, aF as paragraphBorders, aG as paragraphBordersFingerprint, aH as paragraphBreaksBefore, aI as paragraphContextualSpacing, aJ as paragraphFragmentsOf, aK as paragraphFragmentsOfBlocks, aL as paragraphLineSpacing, aM as paragraphSpacing, aN as paragraphTabStops, aO as readBorderSide, aP as readCellBorders, aQ as readTableBorders, aR as resolveBorderConflict, aS as resolveRunStyle, aT as resolveTableCellBorderGrid, aU as runStylesEqual, aV as tabAdvanceWidth, aW as tabStopsFingerprint, aX as unionLayoutBoxes, aY as withDefaultTabInterval } from './semantic-records-B-qbrnp2.js';
|
|
5
|
+
import { O as OoxmlNode, a as OoxmlElement, e as OoxmlPart } from './ooxml-tree-CG0odFyi.js';
|
|
6
|
+
import { O as OoxmlProperty, C as ContentControlKind, n as ContentControlLevel, o as ContentControlLock, p as ContentControlDataBinding, I as ImpactClass } from './tree-op-types-CZw9QhWX.js';
|
|
7
|
+
export { m as TableBorderStyle } from './tree-op-types-CZw9QhWX.js';
|
|
8
|
+
import { N as NoteKind, n as noteTypeOf } from './note-nodes-CZQXU6Fg.js';
|
|
9
|
+
import { R as ResolvedFootnoteProperties, a as ResolvedEndnoteProperties } from './note-properties-BS66XmcC.js';
|
|
10
|
+
export { p as paragraphOrderOfPart } from './note-properties-BS66XmcC.js';
|
|
11
|
+
import { D as DocumentProperties, T as TreeModelChange } from './tree-store-9TaX-L0V.js';
|
|
12
|
+
import { R as RevisionDisplayMode } from './revision-projection-u4nT52xT.js';
|
|
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-u4nT52xT.js';
|
|
14
|
+
import { a as SectionColumns } from './semantic-cell-selection-Dc-_enhm.js';
|
|
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-Dc-_enhm.js';
|
|
16
|
+
export { M as MAX_SDT_NESTING, c as collectFlowBlocks, a as contentControlContentChildren, i as isContentControl, b as isContentControlContent } from './content-control-walk-CQp8l6eS.js';
|
|
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-Bl9sN8cv.js';
|
|
18
|
+
import { S as SemanticPosition, b as SelectionRect, a as SemanticSelection } from './semantic-interaction-CCVwyw2A.js';
|
|
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-CCVwyw2A.js';
|
|
20
|
+
import './image-resources-e13t-pgy.js';
|
|
21
|
+
import './ooxml-package-BrxTmTsZ.js';
|
|
35
22
|
|
|
36
23
|
/**
|
|
37
24
|
* Page-field evaluation context for furniture projection.
|
|
@@ -64,7 +51,13 @@ declare function formatPageNumber(value: number, format: string | undefined): st
|
|
|
64
51
|
* — fail-open with an empty display (model atom preserved).
|
|
65
52
|
*/
|
|
66
53
|
interface NoteMarkContext {
|
|
67
|
-
/**
|
|
54
|
+
/**
|
|
55
|
+
* scopeId → formatted mark (or null when suppressed).
|
|
56
|
+
*
|
|
57
|
+
* IMMUTABLE once the context is built. `noteMarksCacheToken` memoizes on the context object
|
|
58
|
+
* and that token reaches every paragraph's cache key, so a later `marks.set` would pin the
|
|
59
|
+
* whole document to a token for marks it no longer has.
|
|
60
|
+
*/
|
|
68
61
|
readonly marks: ReadonlyMap<string, string | null>;
|
|
69
62
|
/**
|
|
70
63
|
* When set, every automatic mark measures at least this string's width (eachPage
|
|
@@ -107,16 +100,6 @@ interface ProjectedNoteMark {
|
|
|
107
100
|
/** Resolve display text for a noteReference / noteRef node under a mark context. */
|
|
108
101
|
declare function projectedNoteMarkText(node: OoxmlNode, context: NoteMarkContext | undefined): ProjectedNoteMark | null;
|
|
109
102
|
|
|
110
|
-
/**
|
|
111
|
-
* How layout turns a typed `w:hyperlink` node into the sanitized record spans carry.
|
|
112
|
-
*
|
|
113
|
-
* Injected rather than computed here because resolving `r:id` needs the PACKAGE's
|
|
114
|
-
* relationships and this module only ever sees one part's tree. `null` means the caller
|
|
115
|
-
* declined to project — the runs still measure and paint, they simply carry no link, which is
|
|
116
|
-
* the right degradation: text is never lost for want of a target.
|
|
117
|
-
*/
|
|
118
|
-
type HyperlinkProjector = (link: OoxmlNode) => SpanLinkRecord | null;
|
|
119
|
-
|
|
120
103
|
/** A fingerprint over one paragraph's layout inputs. */
|
|
121
104
|
type ParagraphLayoutKey = string;
|
|
122
105
|
/** Cache counters, for asserting that incremental layout is actually reusing work. */
|
|
@@ -481,6 +464,10 @@ declare function withResolvedListItems<T extends {
|
|
|
481
464
|
* Host oracle for "is this font family really loaded". Supplied, a Symbol/Wingdings
|
|
482
465
|
* bullet keeps the file's own private-use codepoint so the authored typeface draws it;
|
|
483
466
|
* absent, it falls back to the Unicode equivalent rather than a tofu box.
|
|
467
|
+
*
|
|
468
|
+
* The resolve is memoized on this function's IDENTITY: a host whose answers change
|
|
469
|
+
* over time (a font finished loading) must supply a new closure at that point, or the
|
|
470
|
+
* memo will keep serving marker glyphs computed from the old answers.
|
|
484
471
|
*/
|
|
485
472
|
readonly isFontAvailable?: (family: string) => boolean;
|
|
486
473
|
}>(options: T, blocks: readonly OoxmlElement[]): T & {
|
|
@@ -736,6 +723,36 @@ interface CompoundBorderMetrics {
|
|
|
736
723
|
*/
|
|
737
724
|
declare function computeDoubleBorderMetricsPt(widthPt: number): CompoundBorderMetrics;
|
|
738
725
|
|
|
726
|
+
/** Paragraph ids in document order, deduplicated across fragments. */
|
|
727
|
+
declare function documentOrder(layout: SemanticLayout): string[];
|
|
728
|
+
|
|
729
|
+
/** The rectangles covering a selection, one per line it spans. */
|
|
730
|
+
declare function selectionRects(layout: SemanticLayout, selection: SemanticSelection): SelectionRect[];
|
|
731
|
+
/** A model range to highlight, and the key the caller knows it by. */
|
|
732
|
+
interface KeyedRange {
|
|
733
|
+
readonly key: string;
|
|
734
|
+
readonly from: SemanticPosition;
|
|
735
|
+
readonly to: SemanticPosition;
|
|
736
|
+
}
|
|
737
|
+
/**
|
|
738
|
+
* Rectangles for MANY ranges in ONE pass over the lines.
|
|
739
|
+
*
|
|
740
|
+
* Not `selectionRects` in a loop. That walks every page, fragment and line per range, and a
|
|
741
|
+
* contract with two hundred comments would re-walk the whole document two hundred times on
|
|
742
|
+
* every layout — the highlight would cost more than the layout it decorates. One pass tests
|
|
743
|
+
* each line against every range instead, which is the same work a single selection does.
|
|
744
|
+
*/
|
|
745
|
+
declare function keyedRangeRects(layout: SemanticLayout, ranges: readonly KeyedRange[],
|
|
746
|
+
/**
|
|
747
|
+
* Pages to measure, or every page when absent.
|
|
748
|
+
*
|
|
749
|
+
* A band that is not on screen is not painted, so measuring it is pure cost — and it is
|
|
750
|
+
* cost paid per keystroke, because an edit republishes the layout. Bounding this to the
|
|
751
|
+
* materialized pages is what keeps typing in a heavily reviewed document as fast as
|
|
752
|
+
* typing in a clean one.
|
|
753
|
+
*/
|
|
754
|
+
pages?: ReadonlySet<number>): Map<string, SelectionRect[]>;
|
|
755
|
+
|
|
739
756
|
/**
|
|
740
757
|
* The next word boundary from `offset`, in `direction`.
|
|
741
758
|
*
|
|
@@ -1220,6 +1237,15 @@ interface LayoutNoteStoryOptions {
|
|
|
1220
1237
|
readonly cache?: ParagraphLayoutCache<readonly PendingLine[]>;
|
|
1221
1238
|
readonly styleCascade?: StyleCascadeTable;
|
|
1222
1239
|
readonly defaultTabStopPt?: number;
|
|
1240
|
+
/**
|
|
1241
|
+
* Same projector seams the BODY walk uses. Without them a `w:hyperlink` or a HYPERLINK
|
|
1242
|
+
* field inside a note painted as plain text — measured, but carrying no link record for
|
|
1243
|
+
* paint to anchor and navigation to activate.
|
|
1244
|
+
*/
|
|
1245
|
+
readonly projectLink?: HyperlinkProjector;
|
|
1246
|
+
readonly projectFieldLink?: FieldLinkProjector;
|
|
1247
|
+
/** Document properties for a document-property field inside a note story. */
|
|
1248
|
+
readonly documentProperties?: DocumentProperties;
|
|
1223
1249
|
/** Derived display marks for noteRef projection inside the note body. */
|
|
1224
1250
|
readonly noteMarks?: NoteMarkContext;
|
|
1225
1251
|
/**
|
|
@@ -1333,6 +1359,15 @@ interface NotesLayoutInput {
|
|
|
1333
1359
|
readonly cache?: ParagraphLayoutCache<readonly PendingLine[]>;
|
|
1334
1360
|
readonly styleCascade?: StyleCascadeTable;
|
|
1335
1361
|
readonly defaultTabStopPt?: number;
|
|
1362
|
+
/**
|
|
1363
|
+
* Link projector seams, same as the body walk's. Normally injected by `semantic-layout`
|
|
1364
|
+
* from its own options, so a note's `w:hyperlink` / HYPERLINK field carries the same
|
|
1365
|
+
* sanitized record a body one does instead of painting dead text.
|
|
1366
|
+
*/
|
|
1367
|
+
readonly projectLink?: HyperlinkProjector;
|
|
1368
|
+
readonly projectFieldLink?: FieldLinkProjector;
|
|
1369
|
+
/** Document properties for a document-property field inside a note story. */
|
|
1370
|
+
readonly documentProperties?: DocumentProperties;
|
|
1336
1371
|
/**
|
|
1337
1372
|
* Inline drawing support per notes part. Absent means note paragraphs flow without
|
|
1338
1373
|
* drawing records, which is what a headless caller with no image port wants.
|
|
@@ -1469,7 +1504,7 @@ interface HeaderFooterStoryLayout {
|
|
|
1469
1504
|
* on a constant. It sits at the tail because the parameters ahead of it are already
|
|
1470
1505
|
* positional; new callers should keep passing `undefined` for what they do not set.
|
|
1471
1506
|
*/
|
|
1472
|
-
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): HeaderFooterStoryLayout;
|
|
1507
|
+
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;
|
|
1473
1508
|
|
|
1474
1509
|
/** The flow state as it stood immediately before one block was placed. */
|
|
1475
1510
|
interface FlowCheckpoint {
|
|
@@ -1479,6 +1514,17 @@ interface FlowCheckpoint {
|
|
|
1479
1514
|
readonly pageFragments: readonly BlockFragmentRecord[];
|
|
1480
1515
|
/** Anchored drawings already collected for the open page. */
|
|
1481
1516
|
readonly pendingAnchoredDrawings: readonly AnchoredDrawingRecord[];
|
|
1517
|
+
/**
|
|
1518
|
+
* Anchored drawings overlap resolution pushed onto the NEXT page, and how many times each
|
|
1519
|
+
* drawing has been pushed.
|
|
1520
|
+
*
|
|
1521
|
+
* Flow state like the rest of this record, and carried for the same reason: a resume that
|
|
1522
|
+
* started with an empty list dropped a drawing that the previous pass had deferred but not
|
|
1523
|
+
* yet placed, and a convergence that did not compare them accepted a flow that still owed
|
|
1524
|
+
* the next page a drawing as equal to one that owed it nothing.
|
|
1525
|
+
*/
|
|
1526
|
+
readonly deferredAnchoredDrawings: readonly AnchoredDrawingRecord[];
|
|
1527
|
+
readonly anchorPageDeferCounts: ReadonlyMap<string, number>;
|
|
1482
1528
|
readonly cursorY: number;
|
|
1483
1529
|
readonly lineCounter: number;
|
|
1484
1530
|
/** Trailing paragraph spacing participating in adjacent-spacing collapse. */
|
|
@@ -1699,6 +1745,19 @@ interface SemanticLayoutOptions {
|
|
|
1699
1745
|
* degradation a headless test or a furniture-only pass gets, and it is the safe one.
|
|
1700
1746
|
*/
|
|
1701
1747
|
readonly projectLink?: HyperlinkProjector;
|
|
1748
|
+
/**
|
|
1749
|
+
* Turns a parsed HYPERLINK field instruction into the SANITIZED record its result carries.
|
|
1750
|
+
*
|
|
1751
|
+
* An option for the same reason as {@link projectLink}: the raw target must cross the
|
|
1752
|
+
* surface's href trust boundary, which layout cannot see. Absent means the field's cached
|
|
1753
|
+
* result still measures, breaks and paints — it simply is not clickable.
|
|
1754
|
+
*/
|
|
1755
|
+
readonly projectFieldLink?: FieldLinkProjector;
|
|
1756
|
+
/**
|
|
1757
|
+
* The document's parsed metadata, for document-property fields (TITLE, AUTHOR, …). Read once
|
|
1758
|
+
* by the surface and shared across body, table, note and header/footer flows.
|
|
1759
|
+
*/
|
|
1760
|
+
readonly documentProperties?: DocumentProperties;
|
|
1702
1761
|
/**
|
|
1703
1762
|
* Footnote/endnote layout input. When present, body layout projects note marks and a
|
|
1704
1763
|
* post-pass attaches note areas (with bounded reflow for pageBottom reservation).
|
|
@@ -1951,6 +2010,9 @@ declare function resolveDefaultSurfaceMeasurer(scale?: number, options?: CanvasM
|
|
|
1951
2010
|
/**
|
|
1952
2011
|
* The story's blocks — paragraphs and tables — in document order, flattening through
|
|
1953
2012
|
* block-level content-control wrappers under the shared nesting budget.
|
|
2013
|
+
*
|
|
2014
|
+
* Repeated calls with the same part and display mode return the SAME array instance,
|
|
2015
|
+
* shared by every caller — treat it as read-only; mutating it corrupts later callers.
|
|
1954
2016
|
*/
|
|
1955
2017
|
declare function storyBlocks(part: OoxmlPart, displayMode?: RevisionDisplayMode): OoxmlElement[];
|
|
1956
2018
|
/**
|
|
@@ -2377,10 +2439,12 @@ declare function readTableStructure(table: OoxmlNode, contentWidthPt: number, de
|
|
|
2377
2439
|
displayMode?: RevisionDisplayMode): SemanticTableStructure | null;
|
|
2378
2440
|
|
|
2379
2441
|
/**
|
|
2380
|
-
* `w:pPr/w:rPr/w:del`
|
|
2442
|
+
* `w:pPr/w:rPr/w:del` or `w:moveFrom` — a tracked revision REMOVES the paragraph mark.
|
|
2381
2443
|
*
|
|
2382
|
-
*
|
|
2383
|
-
*
|
|
2444
|
+
* Both say the break goes away once the decision is taken: a deletion outright, a `moveFrom`
|
|
2445
|
+
* because the paragraph left this place for another. Read from the paragraph-mark run
|
|
2446
|
+
* properties only. A `w:del` anywhere else in the paragraph deletes run content, which is a
|
|
2447
|
+
* different statement entirely.
|
|
2384
2448
|
*/
|
|
2385
2449
|
declare function paragraphMarkDeleted(paragraph: OoxmlNode): boolean;
|
|
2386
2450
|
/**
|
|
@@ -2407,4 +2471,4 @@ declare class TablePaginationError extends Error {
|
|
|
2407
2471
|
constructor(code: TablePaginationErrorCode, message: string);
|
|
2408
2472
|
}
|
|
2409
2473
|
|
|
2410
|
-
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, 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, type
|
|
2474
|
+
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, projectedNoteMarkText, provisionalNoteMarks, readNumPr, readTableStructure, resetGraphemeBoundary, resolveDefaultSurfaceMeasurer, resolveDefaultWordBoundary, resolveNumberingLevel, resolveOoxmlShadingFill, resolveParagraphLayoutInputs, resolveStoryListItems, resolveStrictHexFill, revisionRemovesParagraph, roundFontUnitToFixedPoint, segmentGraphemes, segmentWords, selectionRects, semanticHorizontalBoundaries, setGraphemeBoundary, shadingFillFromElement, shapedHorizontalBoundaries, storyBlocks, syntheticSeparatorBox, tableOriginX, tocFieldChromeParagraphIds, tryCreateCanvasMeasurer, utf16OffsetToGrapheme, walkStoryParagraphs, withNumberingStyleLinks, withResolvedListItems, wordBoundary, wordSegmentsToGraphemeRecords };
|
package/dist/layout.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{fa as AUTO_PARAGRAPH_SPACING_PT,
|
|
1
|
+
export{fa as AUTO_PARAGRAPH_SPACING_PT,Nb as AUTO_PREFERRED_WIDTH,Pb as CELL_PAD,$ as COMPOUND_BORDER_MIN_GAP_PT,_ as COMPOUND_BORDER_MIN_STROKE_PT,pd as DEFAULT_CANVAS_FONT_STACK,Rb as DEFAULT_CELL_MARGINS,Q as DEFAULT_PAGE_GEOMETRY,cb as DEFAULT_REVISION_DISPLAY_MODE,Ya as DEFAULT_RUN_STYLE,Ic as DEFAULT_SECTION_PROPERTIES,Ca as DEFAULT_TAB_INTERVAL_PT,Ba as DEFAULT_TAB_INTERVAL_TWIPS,kc as DEFAULT_VERTICAL_WEIGHT,Yb as EMPTY_NUMBERING_INDEX,Ea as EMPTY_TAB_STOPS,p as GRAPHEME_SEGMENTER_LOCALE,g as HARFBUZZ_SHAPING_LIBRARY,j as HarfBuzzShapingError,ea as MAX_BORDER_SPACE_PT,da as MAX_BORDER_WIDTH_PT,Hc as MAX_DOCUMENT_SECTIONS,fd as MAX_EACH_PAGE_MARK_CANDIDATES,Vb as MAX_LVL_OVERRIDES,Na as MAX_LVL_TEXT_LENGTH,Ma as MAX_MARKER_TEXT_LENGTH,Tc as MAX_NOTES_LAID_OUT,Uc as MAX_NOTE_FRAGMENTS,ed as MAX_NOTE_OVERFLOW_PAGES,dd as MAX_NOTE_REFLOW_ATTEMPTS,Ub as MAX_NUMBERING_DEFINITIONS,ca as MAX_PARAGRAPH_SPACING_PT,sb as MAX_STYLE_BASED_ON_DEPTH,tb as MAX_STYLE_DEFINITIONS,Fb as MAX_TABLE_BORDER_STROKES,Ob as MAX_TABLE_NESTING,Ac as MAX_TABLE_ROW_FRAGMENTS,Qb as MAX_TABLE_ROW_HEIGHT_PT,Aa as MAX_TAB_POSITION_TWIPS,za as MAX_TAB_STOPS,ha as PARAGRAPH_BORDER_SIDES,P as ResolvedCache,ga as SINGLE_LINE_SPACING,Da as TAB_LEADER_GLYPH,Bc as TablePaginationError,n as UnsupportedScriptError,E as WORD_SEGMENTER_LOCALE,ta as appliedSpaceBefore,ka as applyLineSpacing,kd as attachNotesToLayout,bb as baselineShiftPtOf,Mb as borderExtentPt,Jb as borderWeight,qa as bottomBorderExtentPt,H as boundedFallbackWordSegments,Wb as buildNumberingIndex,hd as buildPageRefIndex,vb as buildStyleCascadeTable,N as captureOperationSnapshot,Cd as caretAt,tc as caretBoxOnLine,Ad as caretStops,Bd as caretStopsForBlocks,wb as cascadeParagraphFormatting,yb as cascadeRunProperties,xb as cascadedBottomBorder,na as cascadedParagraphBorders,Fa as cascadedTabStops,Kd as cellSelectionBetween,Nd as cellSelectionRects,Od as cellSelectionText,Oa as clampListValue,sa as collapsedSpaceBefore,Id as compositionAnchor,aa as computeDoubleBorderMetricsPt,jd as computeFootnoteReserves,qc as contentControlAtPoint,Ed as contentControlAtSemantic,td as contentControlBoundaries,Fd as contentControlsInLayout,X as contentControlsOfLayout,I as createBoundedFallbackWordBoundary,J as createDefaultWordBoundary,nd as createFixedMeasurer,m as createHarfBuzzTextShaper,G as createIntlWordBoundary,wd as createLayoutScheduler,md as createLayoutSession,Zb as createListCounterState,ob as createParagraphLayoutCache,ud as createShapedMeasurer,e as createShapedRun,b as createShapingEnvironment,_c as defaultNoteSeparatorRuleStyle,Ia as defaultTabIntervalFromSettings,Qc as deriveNoteDisplayMarks,Rc as deriveNoteDisplayMarksResolved,_a as displayText,fc as documentOrder,Eb as effectiveBorderSide,Z as effectiveContentControlLock,Ec as emptyTocPlaceholderParagraphIds,Fc as emptyTocSuppressedResultParagraphIds,Nc as enumerateDocumentSections,Oc as enumerateDocumentSectionsBounded,Wa as expandLvlText,id as filterRefsOnPage,uc as findDrawingOverlayFrameInLayout,Xc as findSeparatorNote,a as fixedPoint,Pa as formatDecimal,Qa as formatDecimalZero,Ua as formatLowerLetter,Sa as formatLowerRoman,Va as formatNumFmt,Xa as formatPageNumber,jb as formatRevisionOf,Ta as formatUpperLetter,Ra as formatUpperRoman,gd as fragmentOwnsAtomOffset,V as fragmentsOfParagraph,Pc as geometryOfSection,s as graphemeBoundaryEpoch,w as graphemeCount,y as graphemeOffsetToUtf16,O as guardOperationSnapshot,k as harfBuzzFontValidator,nc as hitTestPage,Dd as hitTestSemantic,pc as hitTestSheet,h as initializeHarfBuzz,r as intlGraphemeBoundary,qd as isCanvasMeasurementAvailable,C as isCumulativeGeometryTrustedFromLineOrigin,mc as isFurniturePoint,B as isGeometryTrustedCaretOffset,i as isHarfBuzzInitialized,q as isIntlSegmenterAvailable,F as isIntlWordSegmenterAvailable,$c as isMarkerOnlySeparatorNote,ub as isValidStyleId,A as isWholeGraphemeHorizontalBoundary,o as itemizeScriptFontSlots,yd as keyedRangeRects,Gc as layoutHeaderFooterStory,Zc as layoutNoteById,ad as layoutNoteSeparator,Yc as layoutNoteStory,od as layoutSemanticDocument,W as lineAtPosition,rc as lineEndOffset,T as linesOf,ec as listMarkerBox,hb as markRevisionRemovesMark,$a as measureDisplayText,ac as mergeListIndent,Hd as moveCaret,Ja as nextTabDestination,Wc as normalNotesOf,Sc as noteDisplayMarkMap,Vc as noteLineIdPrefix,lb as noteMarkKey,cd as noteSeparatorAreaBox,Db as noteStoryBlocks,lc as pageAtY,vd as pagesToMaterialize,pa as paragraphBorderExtentPt,oa as paragraphBorderStrokeWidthPt,ma as paragraphBorders,ra as paragraphBordersFingerprint,ba as paragraphBreaksBefore,la as paragraphContextualSpacing,R as paragraphFragmentsOf,S as paragraphFragmentsOfBlocks,nb as paragraphLayoutKey,ja as paragraphLineSpacing,Ab as paragraphMarkDeleted,fb as paragraphMarkFormatRevisionOf,ib as paragraphMarkRevisionOf,eb as paragraphMarkRevisionsOf,Lc as paragraphSectionNode,xa as paragraphShading,ya as paragraphShadingBox,ia as paragraphSpacing,Ga as paragraphTabStops,Gd as paragraphTextFromLayout,Ld as paragraphsInCells,Jc as parsePageNumbering,Kc as parseSectionProperties,mb as projectedNoteMarkText,ld as provisionalNoteMarks,Gb as readBorderSide,Ib as readCellBorders,_b as readNumPr,Mc as readSectionProperties,Hb as readTableBorders,Tb as readTableStructure,v as resetGraphemeBoundary,Kb as resolveBorderConflict,sd as resolveDefaultSurfaceMeasurer,K as resolveDefaultWordBoundary,Xb as resolveNumberingLevel,va as resolveOoxmlShadingFill,zb as resolveParagraphLayoutInputs,Za as resolveRunStyle,cc as resolveStoryListItems,ua as resolveStrictHexFill,Lb as resolveTableCellBorderGrid,Bb as revisionRemovesParagraph,kb as revisionsAreDeletion,db as revisionsVisible,l as roundFontUnitToFixedPoint,ab as runStylesEqual,t as segmentGraphemes,L as segmentWords,xd as selectionRects,D as semanticHorizontalBoundaries,u as setGraphemeBoundary,wa as shadingFillFromElement,z as shapedHorizontalBoundaries,f as shapedRunComparatorInputs,d as shapingEnvironmentFingerprint,c as shapingEnvironmentFingerprintInputs,gb as shownMarkRevision,sc as spanOffsetX,Md as spansInCells,Jd as spansInSelection,Cb as storyBlocks,bd as syntheticSeparatorBox,Ka as tabAdvanceWidth,La as tabStopsFingerprint,Pd as tableContextAt,Sb as tableOriginX,Dc as tocFieldChromeParagraphIds,rd as tryCreateCanvasMeasurer,Y as unionLayoutBoxes,x as utf16OffsetToGrapheme,bc as walkStoryParagraphs,Ha as withDefaultTabInterval,$b as withNumberingStyleLinks,dc as withResolvedListItems,zd as wordBoundary,M as wordSegmentsToGraphemeRecords}from'./chunk-T252F4US.js';export{a as W15_NAMESPACE_URI,i as activeReviewItem,k as anchorLineY,c as commentBodyText,d as commentInitials,f as firstReviewRange,l as reviewAnchorIndex,m as reviewItemGeometry,b as reviewItemKey,g as reviewItemPositionRank,e as reviewItemRanges,h as reviewItemsAt,j as reviewThreadRootOf}from'./chunk-UVIUNAQ6.js';import'./chunk-YTZIGUXT.js';export{d as FontResolutionError,c as HARD_MAX_AGGREGATE_FONT_BYTES,a as HARD_MAX_FONT_BYTES,b as HARD_MAX_FONT_SOURCES,Kb as MAX_SDT_NESTING,pf as MAX_TABLE_COLUMNS,j as boundedStructuralFontValidator,Pb as collectFlowBlocks,Ob as contentControlContentChildren,k as createFontResourceSnapshot,e as fontRequestKey,Lb as isContentControl,Mb as isContentControlContent,tg as paragraphOrderOfPart,i as sha256FontBytes}from'./chunk-LJIX4ZDF.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { O as OoxmlNode, f as OoxmlParagraphNode, g as OoxmlNoteNode, h as OoxmlContinuationSeparatorNode, i as OoxmlEndnotesNode, j as OoxmlFootnotesNode, k as OoxmlNoteRefNode, l as OoxmlNoteReferenceNode, m as OoxmlSeparatorNode } from './ooxml-tree-
|
|
1
|
+
import { O as OoxmlNode, f as OoxmlParagraphNode, g as OoxmlNoteNode, h as OoxmlContinuationSeparatorNode, i as OoxmlEndnotesNode, j as OoxmlFootnotesNode, k as OoxmlNoteRefNode, l as OoxmlNoteReferenceNode, m as OoxmlSeparatorNode } from './ooxml-tree-CG0odFyi.cjs';
|
|
2
2
|
|
|
3
3
|
/** UTF-16 placeholder for one atomic note unit in `paragraphTextOf` / segments. */
|
|
4
4
|
declare const NOTE_ATOM_CHAR = "\uFFFC";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { O as OoxmlNode, f as OoxmlParagraphNode, g as OoxmlNoteNode, h as OoxmlContinuationSeparatorNode, i as OoxmlEndnotesNode, j as OoxmlFootnotesNode, k as OoxmlNoteRefNode, l as OoxmlNoteReferenceNode, m as OoxmlSeparatorNode } from './ooxml-tree-
|
|
1
|
+
import { O as OoxmlNode, f as OoxmlParagraphNode, g as OoxmlNoteNode, h as OoxmlContinuationSeparatorNode, i as OoxmlEndnotesNode, j as OoxmlFootnotesNode, k as OoxmlNoteRefNode, l as OoxmlNoteReferenceNode, m as OoxmlSeparatorNode } from './ooxml-tree-CG0odFyi.js';
|
|
2
2
|
|
|
3
3
|
/** UTF-16 placeholder for one atomic note unit in `paragraphTextOf` / segments. */
|
|
4
4
|
declare const NOTE_ATOM_CHAR = "\uFFFC";
|
|
@@ -1,70 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
/** `w:pos` — where a section's footnotes are laid out. */
|
|
6
|
-
type FootnotePosition = 'pageBottom' | 'beneathText' | 'sectEnd' | 'docEnd';
|
|
7
|
-
/** `w:pos` for endnotes — only the two document-level placements are legal. */
|
|
8
|
-
type EndnotePosition = 'sectEnd' | 'docEnd';
|
|
9
|
-
/** `w:numRestart` — when note numbering starts over. `eachPage` needs the reference's page. */
|
|
10
|
-
type NoteNumRestart = 'continuous' | 'eachSect' | 'eachPage';
|
|
11
|
-
/** Authored subset — only keys present in the file appear. */
|
|
12
|
-
interface AuthoredNoteProperties {
|
|
13
|
-
readonly pos?: string;
|
|
14
|
-
readonly numFmt?: string;
|
|
15
|
-
readonly numStart?: number;
|
|
16
|
-
readonly numRestart?: string;
|
|
17
|
-
}
|
|
18
|
-
/** Fully resolved footnote properties (defaults filled). */
|
|
19
|
-
interface ResolvedFootnoteProperties {
|
|
20
|
-
readonly pos: FootnotePosition;
|
|
21
|
-
readonly numFmt: string;
|
|
22
|
-
readonly numStart: number;
|
|
23
|
-
readonly numRestart: NoteNumRestart;
|
|
24
|
-
}
|
|
25
|
-
/** Fully resolved endnote properties (defaults filled). */
|
|
26
|
-
interface ResolvedEndnoteProperties {
|
|
27
|
-
readonly pos: EndnotePosition;
|
|
28
|
-
readonly numFmt: string;
|
|
29
|
-
readonly numStart: number;
|
|
30
|
-
readonly numRestart: NoteNumRestart;
|
|
31
|
-
}
|
|
32
|
-
/** Word's own footnote defaults, applied where a section declares no `w:footnotePr`. */
|
|
33
|
-
declare const DEFAULT_FOOTNOTE_PROPERTIES: ResolvedFootnoteProperties;
|
|
34
|
-
/**
|
|
35
|
-
* Word-compatible defaults. ECMA-376 says omitted endnote `numFmt` is decimal;
|
|
36
|
-
* MS-OE376 / MS-OI29500 document that Word’s default is `lowerRoman` instead.
|
|
37
|
-
* Resolved (not authored) — unedited packages still invent nothing on save.
|
|
38
|
-
*/
|
|
39
|
-
declare const DEFAULT_ENDNOTE_PROPERTIES: ResolvedEndnoteProperties;
|
|
40
|
-
/** Parse authored CT_FtnProps / CT_EdnProps without inventing defaults. */
|
|
41
|
-
declare function parseAuthoredNoteProperties(propsNode: OoxmlNode | null | undefined): AuthoredNoteProperties | undefined;
|
|
42
|
-
/** Authored footnotePr on a sectPr node. */
|
|
43
|
-
declare function authoredFootnotePropertiesFromSectPr(sectPr: OoxmlNode | null | undefined): AuthoredNoteProperties | undefined;
|
|
44
|
-
/** Authored endnotePr on a sectPr node. */
|
|
45
|
-
declare function authoredEndnotePropertiesFromSectPr(sectPr: OoxmlNode | null | undefined): AuthoredNoteProperties | undefined;
|
|
46
|
-
/** Locate settings.xml via the main document relationship when present. */
|
|
47
|
-
declare function settingsPartOf(pkg: OoxmlPackage): OoxmlPart | null;
|
|
48
|
-
/** Authored document-level footnotePr from settings. */
|
|
49
|
-
declare function authoredDocumentFootnoteProperties(settings: OoxmlPart | null | undefined): AuthoredNoteProperties | undefined;
|
|
50
|
-
/** Authored document-level endnotePr from settings. */
|
|
51
|
-
declare function authoredDocumentEndnoteProperties(settings: OoxmlPart | null | undefined): AuthoredNoteProperties | undefined;
|
|
52
|
-
/**
|
|
53
|
-
* Resolve footnote properties: section → document → defaults.
|
|
54
|
-
* Illegal position strings fall through to the next layer / default.
|
|
55
|
-
*/
|
|
56
|
-
declare function resolveFootnoteProperties(section?: AuthoredNoteProperties, document?: AuthoredNoteProperties): ResolvedFootnoteProperties;
|
|
57
|
-
/**
|
|
58
|
-
* Resolve endnote properties: section → document → defaults.
|
|
59
|
-
* `pageBottom` is never a legal endnote position — falls back.
|
|
60
|
-
*/
|
|
61
|
-
declare function resolveEndnoteProperties(section?: AuthoredNoteProperties, document?: AuthoredNoteProperties): ResolvedEndnoteProperties;
|
|
62
|
-
/** Validate an authored endnote position write — refuse `pageBottom`. */
|
|
63
|
-
declare function isLegalEndnotePosition(pos: string): pos is EndnotePosition;
|
|
64
|
-
/** Validate an authored footnote position write. */
|
|
65
|
-
declare function isLegalFootnotePosition(pos: string): pos is FootnotePosition;
|
|
66
|
-
/** Whether a file-supplied string is a legal `w:numRestart` value. Narrows the type. */
|
|
67
|
-
declare function isLegalNumRestart(value: string): value is NoteNumRestart;
|
|
1
|
+
import { a as OoxmlElement, e as OoxmlPart, O as OoxmlNode } from './ooxml-tree-CG0odFyi.js';
|
|
2
|
+
import { R as RevisionAddress } from './tree-op-types-CZw9QhWX.js';
|
|
3
|
+
import { O as OoxmlPackage } from './ooxml-package-BrxTmTsZ.js';
|
|
68
4
|
|
|
69
5
|
/** The `w15` namespace: `commentsExtended.xml` — thread parent and resolved state. */
|
|
70
6
|
declare const W15_NAMESPACE_URI = "http://schemas.microsoft.com/office/word/2012/wordml";
|
|
@@ -196,12 +132,34 @@ interface ReviewRevisionItem {
|
|
|
196
132
|
/** The words a replacement removes. Empty for every other kind. */
|
|
197
133
|
readonly replacedText: string;
|
|
198
134
|
readonly revisionKind: ReviewRevisionKind;
|
|
135
|
+
/**
|
|
136
|
+
* WHICH decision a `paragraphMark` records, absent for every other kind.
|
|
137
|
+
*
|
|
138
|
+
* `EG_ParaRPrTrackChanges` is `ins? del? moveFrom? moveTo?`, and the four say opposite
|
|
139
|
+
* things about the same break: one proposes it, another proposes taking it away. Collapsing
|
|
140
|
+
* them into the single kind lost that, and a card then described a deleted break as an
|
|
141
|
+
* inserted one — the reverse of what Accept on that card does.
|
|
142
|
+
*/
|
|
143
|
+
readonly markDirection?: 'insert' | 'delete' | 'moveFrom' | 'moveTo';
|
|
199
144
|
readonly author: string;
|
|
200
145
|
readonly date?: string;
|
|
201
146
|
/** Text the revision covers, for the card summary. Empty for changes with no characters. */
|
|
202
147
|
readonly text: string;
|
|
203
148
|
/** Every site this decision touches, in document order. */
|
|
204
149
|
readonly ranges: readonly ReviewRange[];
|
|
150
|
+
/**
|
|
151
|
+
* How deeply this change is NESTED inside other changes, 0 for an unenclosed one.
|
|
152
|
+
*
|
|
153
|
+
* Revisions nest for real, and OOXML has no other way to say what happened: `w:ins` wrapping
|
|
154
|
+
* `w:del` is content one reviewer added and another struck. Both stay pending, because each
|
|
155
|
+
* author has to be answered separately, so both are cards — over one identical range.
|
|
156
|
+
*
|
|
157
|
+
* A range therefore cannot say which change a position is "in", and this is what settles it.
|
|
158
|
+
* Word treats the innermost change as the operative one: the words are struck on the page
|
|
159
|
+
* because of the deletion, and accepting the change under them performs that deletion. So the
|
|
160
|
+
* deepest card wins the caret, and the one enclosing it stays listed and reachable.
|
|
161
|
+
*/
|
|
162
|
+
readonly nesting: number;
|
|
205
163
|
/**
|
|
206
164
|
* How many leading `ranges` are the STRUCK half of a replacement.
|
|
207
165
|
*
|
|
@@ -347,6 +305,8 @@ interface LinkableReviewItem {
|
|
|
347
305
|
readonly parentRevisionId?: string;
|
|
348
306
|
readonly replyIds?: readonly string[];
|
|
349
307
|
readonly orphaned?: boolean;
|
|
308
|
+
/** How deeply a revision is nested; absent on the kinds that cannot nest. */
|
|
309
|
+
readonly nesting?: number;
|
|
350
310
|
}
|
|
351
311
|
/**
|
|
352
312
|
* Attach each comment that answers a tracked change to the change it answers.
|
|
@@ -405,4 +365,68 @@ declare function reviewItemRanges(item: ReviewItem): readonly ReviewRange[];
|
|
|
405
365
|
/** The range an item is anchored at — where its card belongs and how it sorts. */
|
|
406
366
|
declare function firstReviewRange(item: ReviewItem): ReviewRange | null;
|
|
407
367
|
|
|
368
|
+
/** `w:pos` — where a section's footnotes are laid out. */
|
|
369
|
+
type FootnotePosition = 'pageBottom' | 'beneathText' | 'sectEnd' | 'docEnd';
|
|
370
|
+
/** `w:pos` for endnotes — only the two document-level placements are legal. */
|
|
371
|
+
type EndnotePosition = 'sectEnd' | 'docEnd';
|
|
372
|
+
/** `w:numRestart` — when note numbering starts over. `eachPage` needs the reference's page. */
|
|
373
|
+
type NoteNumRestart = 'continuous' | 'eachSect' | 'eachPage';
|
|
374
|
+
/** Authored subset — only keys present in the file appear. */
|
|
375
|
+
interface AuthoredNoteProperties {
|
|
376
|
+
readonly pos?: string;
|
|
377
|
+
readonly numFmt?: string;
|
|
378
|
+
readonly numStart?: number;
|
|
379
|
+
readonly numRestart?: string;
|
|
380
|
+
}
|
|
381
|
+
/** Fully resolved footnote properties (defaults filled). */
|
|
382
|
+
interface ResolvedFootnoteProperties {
|
|
383
|
+
readonly pos: FootnotePosition;
|
|
384
|
+
readonly numFmt: string;
|
|
385
|
+
readonly numStart: number;
|
|
386
|
+
readonly numRestart: NoteNumRestart;
|
|
387
|
+
}
|
|
388
|
+
/** Fully resolved endnote properties (defaults filled). */
|
|
389
|
+
interface ResolvedEndnoteProperties {
|
|
390
|
+
readonly pos: EndnotePosition;
|
|
391
|
+
readonly numFmt: string;
|
|
392
|
+
readonly numStart: number;
|
|
393
|
+
readonly numRestart: NoteNumRestart;
|
|
394
|
+
}
|
|
395
|
+
/** Word's own footnote defaults, applied where a section declares no `w:footnotePr`. */
|
|
396
|
+
declare const DEFAULT_FOOTNOTE_PROPERTIES: ResolvedFootnoteProperties;
|
|
397
|
+
/**
|
|
398
|
+
* Word-compatible defaults. ECMA-376 says omitted endnote `numFmt` is decimal;
|
|
399
|
+
* MS-OE376 / MS-OI29500 document that Word’s default is `lowerRoman` instead.
|
|
400
|
+
* Resolved (not authored) — unedited packages still invent nothing on save.
|
|
401
|
+
*/
|
|
402
|
+
declare const DEFAULT_ENDNOTE_PROPERTIES: ResolvedEndnoteProperties;
|
|
403
|
+
/** Parse authored CT_FtnProps / CT_EdnProps without inventing defaults. */
|
|
404
|
+
declare function parseAuthoredNoteProperties(propsNode: OoxmlNode | null | undefined): AuthoredNoteProperties | undefined;
|
|
405
|
+
/** Authored footnotePr on a sectPr node. */
|
|
406
|
+
declare function authoredFootnotePropertiesFromSectPr(sectPr: OoxmlNode | null | undefined): AuthoredNoteProperties | undefined;
|
|
407
|
+
/** Authored endnotePr on a sectPr node. */
|
|
408
|
+
declare function authoredEndnotePropertiesFromSectPr(sectPr: OoxmlNode | null | undefined): AuthoredNoteProperties | undefined;
|
|
409
|
+
/** Locate settings.xml via the main document relationship when present. */
|
|
410
|
+
declare function settingsPartOf(pkg: OoxmlPackage): OoxmlPart | null;
|
|
411
|
+
/** Authored document-level footnotePr from settings. */
|
|
412
|
+
declare function authoredDocumentFootnoteProperties(settings: OoxmlPart | null | undefined): AuthoredNoteProperties | undefined;
|
|
413
|
+
/** Authored document-level endnotePr from settings. */
|
|
414
|
+
declare function authoredDocumentEndnoteProperties(settings: OoxmlPart | null | undefined): AuthoredNoteProperties | undefined;
|
|
415
|
+
/**
|
|
416
|
+
* Resolve footnote properties: section → document → defaults.
|
|
417
|
+
* Illegal position strings fall through to the next layer / default.
|
|
418
|
+
*/
|
|
419
|
+
declare function resolveFootnoteProperties(section?: AuthoredNoteProperties, document?: AuthoredNoteProperties): ResolvedFootnoteProperties;
|
|
420
|
+
/**
|
|
421
|
+
* Resolve endnote properties: section → document → defaults.
|
|
422
|
+
* `pageBottom` is never a legal endnote position — falls back.
|
|
423
|
+
*/
|
|
424
|
+
declare function resolveEndnoteProperties(section?: AuthoredNoteProperties, document?: AuthoredNoteProperties): ResolvedEndnoteProperties;
|
|
425
|
+
/** Validate an authored endnote position write — refuse `pageBottom`. */
|
|
426
|
+
declare function isLegalEndnotePosition(pos: string): pos is EndnotePosition;
|
|
427
|
+
/** Validate an authored footnote position write. */
|
|
428
|
+
declare function isLegalFootnotePosition(pos: string): pos is FootnotePosition;
|
|
429
|
+
/** Whether a file-supplied string is a legal `w:numRestart` value. Narrows the type. */
|
|
430
|
+
declare function isLegalNumRestart(value: string): value is NoteNumRestart;
|
|
431
|
+
|
|
408
432
|
export { type AuthoredNoteProperties as A, isLegalEndnotePosition as B, type CommentAnchor as C, DEFAULT_ENDNOTE_PROPERTIES as D, type EndnotePosition as E, type FootnotePosition as F, isLegalFootnotePosition as G, isLegalNumRestart as H, linkRevisionReplies as I, parseAuthoredNoteProperties as J, resolveEndnoteProperties as K, type LinkableReviewItem as L, resolveFootnoteProperties as M, type NoteNumRestart as N, reviewItemKey as O, reviewItemRanges as P, revisionItemsOf as Q, type ResolvedFootnoteProperties as R, settingsPartOf as S, threadStateOfPart as T, W15_NAMESPACE_URI as W, type ResolvedEndnoteProperties as a, type CommentPosition as b, type CommentRecord as c, type CommentThreadState as d, DEFAULT_FOOTNOTE_PROPERTIES as e, type ReviewCommentItem as f, type ReviewItem as g, type ReviewModelInput as h, type ReviewPosition as i, type ReviewRange as j, type ReviewRevisionItem as k, type ReviewRevisionKind as l, authoredDocumentEndnoteProperties as m, authoredDocumentFootnoteProperties as n, authoredEndnotePropertiesFromSectPr as o, paragraphOrderOfPart as p, authoredFootnotePropertiesFromSectPr as q, collectReviewItems as r, commentAnchorsOfStory as s, commentBodyText as t, commentInitials as u, commentItemsOf as v, commentsOfPart as w, deepParagraphOrderOfPart as x, firstReviewRange as y, hasAnyComment as z };
|