@docx-editor.dev/core 2.30.0 → 2.31.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/automation.cjs +1 -1
- package/dist/automation.d.ts +16 -25
- package/dist/automation.js +1 -1
- package/dist/binding.cjs +1 -1
- package/dist/binding.d.ts +15 -16
- package/dist/binding.js +1 -1
- package/dist/bookmark-names-DDuAra_V.d.ts +37 -0
- package/dist/{chrome-print-BM3Js-6X.d.ts → chrome-print-BWvaVEhD.d.ts} +318 -33
- package/dist/chunk-243W4WW2.cjs +2 -0
- package/dist/{chunk-RJCQGJR7.js → chunk-2E2RPEKX.js} +1 -1
- package/dist/chunk-4S24UOPG.js +30 -0
- package/dist/chunk-5JPIEN54.cjs +3 -0
- package/dist/{chunk-KJRTNY2Q.cjs → chunk-5SO5QDMV.cjs} +1 -1
- package/dist/{chunk-WF7JZ755.cjs → chunk-6IDOVU6L.cjs} +1 -1
- package/dist/chunk-DBOOTED4.cjs +30 -0
- package/dist/chunk-EOTAXOJY.cjs +5 -0
- package/dist/chunk-FDAKJ2SJ.cjs +30 -0
- package/dist/chunk-FNNOJNGY.js +3 -0
- package/dist/chunk-FT33HRZP.js +5 -0
- package/dist/{chunk-HYASLE2G.cjs → chunk-HC6YNKUI.cjs} +1 -1
- package/dist/chunk-HZ66UCIS.js +2 -0
- package/dist/{chunk-5RRAZMBU.cjs → chunk-IBRBNT37.cjs} +1 -1
- package/dist/chunk-IVIN7X43.js +30 -0
- package/dist/chunk-LZY6B6IV.js +4 -0
- package/dist/chunk-MOYYRVFV.cjs +2 -0
- package/dist/{chunk-YZGUBCHP.js → chunk-N6B3BXCL.js} +1 -1
- package/dist/chunk-Q5K2GGNG.js +2 -0
- package/dist/chunk-R2XINWVE.js +7 -0
- package/dist/chunk-SUEXVBPR.js +1 -0
- package/dist/chunk-T2QQHG5C.js +18 -0
- package/dist/{chunk-T32MGBJS.js → chunk-VWIJKH4A.js} +1 -1
- package/dist/chunk-WO4V6PNS.cjs +18 -0
- package/dist/chunk-XMJKFURD.cjs +4 -0
- package/dist/{chunk-FLBEJC6X.cjs → chunk-XSTGE3NI.cjs} +1 -1
- package/dist/chunk-YQWMI6J5.cjs +7 -0
- package/dist/{chunk-WPDD2Y32.js → chunk-ZCJS7D7S.js} +1 -1
- package/dist/collaboration/replication.cjs +1 -1
- package/dist/collaboration/replication.d.ts +4 -5
- package/dist/collaboration/replication.js +1 -1
- package/dist/collaboration.d.ts +3 -4
- package/dist/contracts/document.d.ts +3 -3
- package/dist/contracts/editor.d.ts +8 -9
- package/dist/contracts/interaction.d.ts +2 -2
- package/dist/contracts/modules.d.ts +12 -13
- package/dist/contracts/types.d.ts +2 -2
- package/dist/{custom-node-writes-0v0Kgw1T.d.ts → custom-node-writes-TeUvMP13.d.ts} +2 -2
- package/dist/{diagnostic-context-CcAO4q1s.d.ts → diagnostic-context-DJ0P1uZE.d.ts} +3 -2
- package/dist/{diagnostic-hints-2Bke6H_w.d.ts → diagnostic-hints-C9JlLz1L.d.ts} +1 -1
- package/dist/{document-protection-8eyMWIJ0.d.ts → document-protection-C8x3P2J6.d.ts} +1 -1
- package/dist/{editor-DaEJd2so.d.ts → editor-B2ShlO23.d.ts} +292 -50
- package/dist/{editor-scope-7o9xweiJ.d.ts → editor-scope-C7ke1KJG.d.ts} +57 -4
- package/dist/editor.cjs +1 -1
- package/dist/editor.css +5 -3
- package/dist/editor.d.ts +602 -31
- package/dist/editor.js +1 -1
- package/dist/export.cjs +2 -2
- package/dist/export.d.ts +13 -14
- package/dist/export.js +2 -2
- package/dist/{font-resolver-CL9BVKZo.d.ts → font-resolver-CWh40DYp.d.ts} +1 -1
- package/dist/{headless-document-view-DZQN8Bnx.d.ts → headless-document-view-qOpaCF82.d.ts} +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +22 -23
- package/dist/index.js +1 -1
- package/dist/{layout-shaping-cEnVrhWg.d.ts → layout-shaping-CWS3j0Xr.d.ts} +1 -1
- package/dist/layout.cjs +1 -1
- package/dist/layout.d.ts +87 -22
- package/dist/layout.js +1 -1
- package/dist/{note-properties-9FH8zAeG.d.ts → note-properties-QsKh24sM.d.ts} +1 -1
- package/dist/{omml-equation-DP2WpUbK.d.ts → omml-equation-BsLAa2lX.d.ts} +27 -9
- package/dist/output.cjs +1 -1
- package/dist/output.d.ts +20 -10
- package/dist/output.js +1 -1
- package/dist/{protocol-CZ1uUlPO.d.ts → protocol-COZJUKUY.d.ts} +94 -2
- package/dist/{review-paragraph-order-CqVelc5A.d.ts → review-paragraph-order-C_QbCKcH.d.ts} +1 -1
- package/dist/{semantic-cell-selection-Dr9yxFZt.d.ts → semantic-cell-selection-Cub9FDa8.d.ts} +2 -2
- package/dist/{semantic-interaction-Dc3pf3hr.d.ts → semantic-interaction-dApRIYpt.d.ts} +1 -1
- package/dist/{semantic-paint-Bz3FBAoH.d.ts → semantic-paint-DLzA8sjP.d.ts} +3 -3
- package/dist/{semantic-record-queries-Bx0pl6kL.d.ts → semantic-record-queries-3yp9o11g.d.ts} +1 -1
- package/dist/{semantic-records-CjcF26ZL.d.ts → semantic-records-B-akgRch.d.ts} +130 -87
- package/dist/store.cjs +1 -1
- package/dist/store.d.ts +48 -22
- package/dist/store.js +1 -1
- package/dist/{tree-package-store-DKhdEVym.d.ts → tree-package-store-B8l8DX3Z.d.ts} +675 -645
- package/dist/{tree-session-contract-CwnTEVLF.d.ts → tree-session-contract-DeLRqohz.d.ts} +26 -13
- package/dist/{types-barrel-CA0xB8kH.d.ts → types-barrel-CkF2JbU4.d.ts} +1146 -745
- package/package.json +2 -2
- package/dist/chunk-2PV5L5NJ.js +0 -5
- package/dist/chunk-5OTS2EJ7.js +0 -7
- package/dist/chunk-5P4223J4.cjs +0 -27
- package/dist/chunk-5SPITS5F.js +0 -18
- package/dist/chunk-7ATNKARV.js +0 -2
- package/dist/chunk-BGCUTKWE.cjs +0 -5
- package/dist/chunk-EBCXSH2W.js +0 -3
- package/dist/chunk-ERECKTIR.cjs +0 -2
- package/dist/chunk-JC47NRJC.cjs +0 -3
- package/dist/chunk-NKPUH3QJ.js +0 -1
- package/dist/chunk-PF5NJWS3.js +0 -2
- package/dist/chunk-PWTRJSES.cjs +0 -18
- package/dist/chunk-QFKGI242.cjs +0 -30
- package/dist/chunk-RPPV4S6T.cjs +0 -4
- package/dist/chunk-UM26GH5B.js +0 -30
- package/dist/chunk-VRCZBFLH.js +0 -27
- package/dist/chunk-WK5X2MMA.cjs +0 -7
- package/dist/chunk-YBMWBXST.cjs +0 -2
- package/dist/chunk-ZOS2PM4A.js +0 -4
- package/dist/image-resources-Bipz8toD.d.ts +0 -211
package/dist/output.d.ts
CHANGED
|
@@ -8,14 +8,13 @@
|
|
|
8
8
|
* @packageDocumentation
|
|
9
9
|
* @public
|
|
10
10
|
*/
|
|
11
|
-
import { R as ReviewAuthorInfo } from './semantic-paint-
|
|
12
|
-
export { B as BreakMarkStrings, C as ChangeBarsMode, D as DEFAULT_FIELD_SHADING, F as FieldShadingMode, P as PageChangeBars, a as PaintOptions, b as RevisionAuthorAssignments, c as RevisionAuthorStyle, d as RevisionStyles, e as collectPageChangeBars, p as paintSemanticLayout } from './semantic-paint-
|
|
13
|
-
import { S as SemanticLayout } from './semantic-records-
|
|
14
|
-
import './semantic-record-queries-
|
|
15
|
-
import './
|
|
16
|
-
import './
|
|
17
|
-
import './
|
|
18
|
-
import './omml-equation-DP2WpUbK.js';
|
|
11
|
+
import { R as ReviewAuthorInfo } from './semantic-paint-DLzA8sjP.js';
|
|
12
|
+
export { B as BreakMarkStrings, C as ChangeBarsMode, D as DEFAULT_FIELD_SHADING, F as FieldShadingMode, P as PageChangeBars, a as PaintOptions, b as RevisionAuthorAssignments, c as RevisionAuthorStyle, d as RevisionStyles, e as collectPageChangeBars, p as paintSemanticLayout } from './semantic-paint-DLzA8sjP.js';
|
|
13
|
+
import { S as SemanticLayout } from './semantic-records-B-akgRch.js';
|
|
14
|
+
import './semantic-record-queries-3yp9o11g.js';
|
|
15
|
+
import './types-barrel-CkF2JbU4.js';
|
|
16
|
+
import './editor-scope-C7ke1KJG.js';
|
|
17
|
+
import './omml-equation-BsLAa2lX.js';
|
|
19
18
|
|
|
20
19
|
/** A rectangle in page-content coordinates, on a named page. */
|
|
21
20
|
interface OverlayRect {
|
|
@@ -92,5 +91,16 @@ interface SelectionOverlayOptions {
|
|
|
92
91
|
*/
|
|
93
92
|
declare function paintSelectionOverlay(layer: HTMLElement, layout: SemanticLayout, rects: readonly OverlayRect[], options: SelectionOverlayOptions): void;
|
|
94
93
|
|
|
95
|
-
|
|
96
|
-
|
|
94
|
+
/** `out = slope * in + intercept` over sRGB channels in [0, 1]. */
|
|
95
|
+
interface LumTransfer {
|
|
96
|
+
readonly slope: number;
|
|
97
|
+
readonly intercept: number;
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Word's `a:lum` transfer for `bright`/`contrast` given in percent (`70.001` for `70001`).
|
|
101
|
+
* Returns `null` for the identity transfer and for non-finite input.
|
|
102
|
+
*/
|
|
103
|
+
declare function lumTransfer(brightPercent: number, contrastPercent: number): LumTransfer | null;
|
|
104
|
+
|
|
105
|
+
export { ReviewAuthorInfo, lumTransfer, paintSelectionOverlay };
|
|
106
|
+
export type { LumTransfer, OverlayRect, SelectionOverlayOptions };
|
package/dist/output.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{n as DEFAULT_FIELD_SHADING,h as collectPageChangeBars,i as lumTransfer,s as paintSelectionOverlay,q as paintSemanticLayout}from'./chunk-LZY6B6IV.js';import'./chunk-FNNOJNGY.js';import'./chunk-RIYSCEFQ.js';import'./chunk-4S24UOPG.js';import'./chunk-VWIJKH4A.js';import'./chunk-Q5K2GGNG.js';import'./chunk-T2QQHG5C.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as HeaderFooterVariant, N as NoteKind } from './tree-package-store-
|
|
1
|
+
import { aF as AutomationTableMutation, ac as RevisionBatchResult, ab as RevisionAuthorResult } from './types-barrel-CkF2JbU4.js';
|
|
2
|
+
import { c as HeaderFooterVariant, N as NoteKind } from './tree-package-store-B8l8DX3Z.js';
|
|
3
3
|
|
|
4
4
|
/** Word's shape types, as `Word.ShapeType` spells them. */
|
|
5
5
|
type AutomationShapeType = 'TextBox' | 'GeometricShape' | 'Picture' | 'Group' | 'Canvas' | 'Unsupported';
|
|
@@ -877,6 +877,50 @@ type AutomationOperation = AutomationAuthoringOperation | {
|
|
|
877
877
|
readonly op: 'getBookmarkRange';
|
|
878
878
|
readonly bookmark: AutomationHandle;
|
|
879
879
|
}
|
|
880
|
+
/**
|
|
881
|
+
* The names of the bookmarks a span overlaps, in document order: `Range.getBookmarks`.
|
|
882
|
+
*
|
|
883
|
+
* A non-empty span holds a bookmark when the two share text, and a point bookmark when the
|
|
884
|
+
* point is inside the span. An empty span holds the bookmarks around it. `includeAdjacent`
|
|
885
|
+
* adds the bookmarks that only touch the span; `includeHidden` adds names starting with `_`.
|
|
886
|
+
*/
|
|
887
|
+
| {
|
|
888
|
+
readonly op: 'getBookmarkNames';
|
|
889
|
+
readonly scope: AutomationSpanRef;
|
|
890
|
+
readonly includeHidden: boolean;
|
|
891
|
+
readonly includeAdjacent: boolean;
|
|
892
|
+
}
|
|
893
|
+
/**
|
|
894
|
+
* The range of the bookmark with this name, compared without case, in any story: main text
|
|
895
|
+
* first, then headers, footers and notes. Answers no span when nothing declares the name.
|
|
896
|
+
*/
|
|
897
|
+
| {
|
|
898
|
+
readonly op: 'getBookmarkRangeByName';
|
|
899
|
+
readonly document: AutomationHandle;
|
|
900
|
+
readonly name: string;
|
|
901
|
+
}
|
|
902
|
+
/**
|
|
903
|
+
* Add a bookmark around a span, or at a point. A bookmark any story declares under the same
|
|
904
|
+
* name, compared without case, moves here in the same write.
|
|
905
|
+
*/
|
|
906
|
+
| {
|
|
907
|
+
readonly op: 'insertBookmark';
|
|
908
|
+
readonly span: AutomationSpanRef;
|
|
909
|
+
readonly name: string;
|
|
910
|
+
}
|
|
911
|
+
/**
|
|
912
|
+
* Remove a bookmark: by name anywhere in the document, or the one a handle names. The text
|
|
913
|
+
* stays. A name nothing declares is not an error and changes nothing.
|
|
914
|
+
*/
|
|
915
|
+
| {
|
|
916
|
+
readonly op: 'deleteBookmark';
|
|
917
|
+
readonly target: {
|
|
918
|
+
readonly document: AutomationHandle;
|
|
919
|
+
readonly name: string;
|
|
920
|
+
} | {
|
|
921
|
+
readonly bookmark: AutomationHandle;
|
|
922
|
+
};
|
|
923
|
+
}
|
|
880
924
|
/**
|
|
881
925
|
* The comments anchored in a scope, in document order — the TOP-LEVEL ones.
|
|
882
926
|
*
|
|
@@ -990,6 +1034,31 @@ type AutomationOperation = AutomationAuthoringOperation | {
|
|
|
990
1034
|
readonly op: 'getRevisions';
|
|
991
1035
|
readonly body: AutomationHandle;
|
|
992
1036
|
}
|
|
1037
|
+
/**
|
|
1038
|
+
* The listed tracked changes whose characters a span overlaps, in document order. A collapsed
|
|
1039
|
+
* span lists the changes it touches. Handles are the story-wide listing's handles.
|
|
1040
|
+
*/
|
|
1041
|
+
| {
|
|
1042
|
+
readonly op: 'getRevisions';
|
|
1043
|
+
readonly scope: AutomationSpanRef;
|
|
1044
|
+
}
|
|
1045
|
+
/**
|
|
1046
|
+
* The listed tracked changes a review-queue key names: one, or the two halves of a paired
|
|
1047
|
+
* replacement. A key naming nothing answers no handles.
|
|
1048
|
+
*/
|
|
1049
|
+
| {
|
|
1050
|
+
readonly op: 'getRevisions';
|
|
1051
|
+
readonly key: string;
|
|
1052
|
+
}
|
|
1053
|
+
/**
|
|
1054
|
+
* The stretch a review-queue key names: `revision-<id>`, a paired `revision-replace:<a>+<b>`,
|
|
1055
|
+
* or `comment-<id>`. Answers `spans` holding one span covering every range of the item, or no
|
|
1056
|
+
* span when the key names nothing this document holds.
|
|
1057
|
+
*/
|
|
1058
|
+
| {
|
|
1059
|
+
readonly op: 'getReviewItemRange';
|
|
1060
|
+
readonly key: string;
|
|
1061
|
+
}
|
|
993
1062
|
/** Resolve eligible decisions in one story. Omit revisions to select every canonical decision. */
|
|
994
1063
|
| {
|
|
995
1064
|
readonly op: 'resolveRevisionBatch';
|
|
@@ -1061,6 +1130,24 @@ type AutomationOperation = AutomationAuthoringOperation | {
|
|
|
1061
1130
|
readonly op: 'rejectAllRevisions';
|
|
1062
1131
|
readonly document: AutomationHandle;
|
|
1063
1132
|
}
|
|
1133
|
+
/**
|
|
1134
|
+
* Accept or reject every change a span overlaps, or the changes a review-queue key names, as
|
|
1135
|
+
* one transaction. Structural changes absent from listings are included. Refused whole when
|
|
1136
|
+
* any of them is read-only or cannot be resolved, and when the key names nothing.
|
|
1137
|
+
*/
|
|
1138
|
+
| {
|
|
1139
|
+
readonly op: 'acceptAllRevisions';
|
|
1140
|
+
readonly scope: AutomationSpanRef;
|
|
1141
|
+
} | {
|
|
1142
|
+
readonly op: 'rejectAllRevisions';
|
|
1143
|
+
readonly scope: AutomationSpanRef;
|
|
1144
|
+
} | {
|
|
1145
|
+
readonly op: 'acceptAllRevisions';
|
|
1146
|
+
readonly key: string;
|
|
1147
|
+
} | {
|
|
1148
|
+
readonly op: 'rejectAllRevisions';
|
|
1149
|
+
readonly key: string;
|
|
1150
|
+
}
|
|
1064
1151
|
/**
|
|
1065
1152
|
* Put the reader's selection on a span. Requires the `selection` capability, so a headless
|
|
1066
1153
|
* host refuses it rather than pretending to have a caret.
|
|
@@ -1493,6 +1580,11 @@ type AutomationValue = {
|
|
|
1493
1580
|
} | {
|
|
1494
1581
|
readonly kind: 'text';
|
|
1495
1582
|
readonly text: string;
|
|
1583
|
+
}
|
|
1584
|
+
/** Several strings, in document order: the names of the bookmarks a range holds. */
|
|
1585
|
+
| {
|
|
1586
|
+
readonly kind: 'texts';
|
|
1587
|
+
readonly texts: readonly string[];
|
|
1496
1588
|
} | {
|
|
1497
1589
|
readonly kind: 'span';
|
|
1498
1590
|
readonly span: AutomationSpan;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { N as OoxmlNode,
|
|
1
|
+
import { N as OoxmlNode, ap as OoxmlElement, aq as OoxmlContentControlNode, V as OoxmlGenericElementNode, ar as OoxmlContentControlContentNode, C as CommentRecord, O as OoxmlPart } from './types-barrel-CkF2JbU4.js';
|
|
2
2
|
|
|
3
3
|
/** Nested content-control wrappers deeper than this stop flattening; content stays preserved. */
|
|
4
4
|
declare const MAX_CONTENT_CONTROL_NESTING = 32;
|
package/dist/{semantic-cell-selection-Dr9yxFZt.d.ts → semantic-cell-selection-Cub9FDa8.d.ts}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as SemanticPosition, C as CaretGeometry, a as SemanticSelection } from './semantic-interaction-
|
|
2
|
-
import { I as InlineDrawingRecord, A as AnchoredDrawingRecord, T as TextMeasurer, L as LineRecord, g as StyleSpanRecord, S as SemanticLayout, C as ContentControlBoundaryRecord, h as TableRowFragmentRecord, i as TableCellFragmentRecord } from './semantic-records-
|
|
1
|
+
import { S as SemanticPosition, C as CaretGeometry, a as SemanticSelection } from './semantic-interaction-dApRIYpt.js';
|
|
2
|
+
import { I as InlineDrawingRecord, A as AnchoredDrawingRecord, T as TextMeasurer, L as LineRecord, g as StyleSpanRecord, S as SemanticLayout, C as ContentControlBoundaryRecord, h as TableRowFragmentRecord, i as TableCellFragmentRecord } from './semantic-records-B-akgRch.js';
|
|
3
3
|
|
|
4
4
|
/** A point in the coordinate space named by the function taking it. */
|
|
5
5
|
interface HitPoint {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { T as TextMeasurer, S as SemanticLayout, B as BlockFragmentRecord, C as ContentControlBoundaryRecord, g as StyleSpanRecord } from './semantic-records-
|
|
1
|
+
import { T as TextMeasurer, S as SemanticLayout, B as BlockFragmentRecord, C as ContentControlBoundaryRecord, g as StyleSpanRecord } from './semantic-records-B-akgRch.js';
|
|
2
2
|
|
|
3
3
|
/** How `moveCaret` resolves a motion. */
|
|
4
4
|
interface MoveCaretOptions {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as PageRecord, q as ResolvedRevisionMarkup, C as ContentControlBoundaryRecord, S as SemanticLayout } from './semantic-records-
|
|
2
|
-
import { S as SemanticRootStoryKind } from './semantic-record-queries-
|
|
3
|
-
import {
|
|
1
|
+
import { c as PageRecord, q as ResolvedRevisionMarkup, C as ContentControlBoundaryRecord, S as SemanticLayout } from './semantic-records-B-akgRch.js';
|
|
2
|
+
import { S as SemanticRootStoryKind } from './semantic-record-queries-3yp9o11g.js';
|
|
3
|
+
import { aj as ValidatedImageBytesHandle, aa as RenderableImageMime } from './types-barrel-CkF2JbU4.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Everything a host can say about ONE author's presentation. Every field is optional and
|
package/dist/{semantic-record-queries-Bx0pl6kL.d.ts → semantic-record-queries-3yp9o11g.d.ts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { I as InlineDrawingRecord, A as AnchoredDrawingRecord, P as ParagraphFragmentRecord, L as LineRecord, c as PageRecord, N as NoteAreaRecord, d as LayoutBox, H as HeaderFooterStoryRecord, e as NoteStoryRecord, B as BlockFragmentRecord, S as SemanticLayout, C as ContentControlBoundaryRecord, f as ContentControlLock } from './semantic-records-
|
|
1
|
+
import { I as InlineDrawingRecord, A as AnchoredDrawingRecord, P as ParagraphFragmentRecord, L as LineRecord, c as PageRecord, N as NoteAreaRecord, d as LayoutBox, H as HeaderFooterStoryRecord, e as NoteStoryRecord, B as BlockFragmentRecord, S as SemanticLayout, C as ContentControlBoundaryRecord, f as ContentControlLock } from './semantic-records-B-akgRch.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Depth-first paragraph fragments of one page, in reading order.
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { N as OoxmlNode,
|
|
2
|
-
import {
|
|
3
|
-
import { O as OmmlEquationProjection } from './omml-equation-DP2WpUbK.js';
|
|
1
|
+
import { N as OoxmlNode, at as OoxmlProperty, O as OoxmlPart, ap as OoxmlElement, b3 as TableBorderStyle, a1 as ImageResourceState, b4 as DrawingAccessibility, b5 as DrawingImageEffects, aT as SourceCrop, b2 as DrawingTransform, b6 as VectorShapeProjection, X as DrawingHorizontalReferenceFrame, $ as DrawingVerticalReferenceFrame, a2 as ImageWrapTarget, b7 as DrawingProjection, b8 as OoxmlDrawingNode } from './types-barrel-CkF2JbU4.js';
|
|
2
|
+
import { O as OmmlEquationProjection } from './omml-equation-BsLAa2lX.js';
|
|
4
3
|
|
|
5
4
|
/** Named revision colors. Identifiers are stable and never contain CSS. @public */
|
|
6
5
|
declare const REVISION_MARKUP_COLORS: readonly ['black', 'blue', 'turquoise', 'green', 'pink', 'red', 'yellow', 'white', 'darkBlue', 'teal', 'darkGreen', 'violet', 'darkRed', 'darkYellow', 'gray50', 'gray25', 'lightBlue', 'lightYellow', 'lightOrange', 'lightPurple', 'lightGreen', 'gray'];
|
|
@@ -240,14 +239,6 @@ declare function formatRevisionOf(properties: readonly {
|
|
|
240
239
|
/** True when this stack of revisions marks its content as deleted from the live document. */
|
|
241
240
|
declare function revisionsAreDeletion(revisions: readonly RevisionAttribution[]): boolean;
|
|
242
241
|
|
|
243
|
-
/** A strikeout stroke at the drawn size, in points. `offsetPt` is the stroke TOP. @public */
|
|
244
|
-
interface StrikeoutStrokePt {
|
|
245
|
-
/** Distance from the baseline UP to the top of the stroke. */
|
|
246
|
-
readonly offsetPt: number;
|
|
247
|
-
/** Stroke height. Always positive. */
|
|
248
|
-
readonly thicknessPt: number;
|
|
249
|
-
}
|
|
250
|
-
|
|
251
242
|
/**
|
|
252
243
|
* Whether a paragraph must start a new page (`w:pageBreakBefore`).
|
|
253
244
|
*
|
|
@@ -1905,6 +1896,12 @@ declare function resolveStoryRefFields(blocks: readonly OoxmlElement[], listItem
|
|
|
1905
1896
|
* view decision made downstream, so this states the fact and nothing about the appearance.
|
|
1906
1897
|
*/
|
|
1907
1898
|
interface FieldAtomMarker {
|
|
1899
|
+
/**
|
|
1900
|
+
* A plain REF cross-reference with no nested field (not PAGEREF or NOTEREF): its result,
|
|
1901
|
+
* the target's text or number, never changes with pagination, so a justified line may treat
|
|
1902
|
+
* it as an ordinary word.
|
|
1903
|
+
*/
|
|
1904
|
+
readonly fixedResult?: true;
|
|
1908
1905
|
/**
|
|
1909
1906
|
* A legacy form field: `w:fldChar/w:ffData` (FORMTEXT, FORMCHECKBOX, FORMDROPDOWN).
|
|
1910
1907
|
*
|
|
@@ -1988,6 +1985,22 @@ type HyperlinkProjector = (link: OoxmlNode) => SpanLinkRecord | null;
|
|
|
1988
1985
|
*/
|
|
1989
1986
|
type FieldLinkProjector = (spec: HyperlinkFieldSpec) => SpanLinkRecord | null;
|
|
1990
1987
|
|
|
1988
|
+
/** Document-wide East Asian line-break and whitespace policy. @public */
|
|
1989
|
+
interface CjkTypographySettings {
|
|
1990
|
+
/** Apply the strict Japanese small-kana and prolonged-sound-mark restrictions. */
|
|
1991
|
+
readonly strict: boolean;
|
|
1992
|
+
/** Disable adjacent full-width punctuation compression when false. */
|
|
1993
|
+
readonly punctuationKerning?: boolean;
|
|
1994
|
+
/** The document defaults explicitly select an East Asian face as the East Asian font. */
|
|
1995
|
+
readonly sourceEastAsianFont?: boolean;
|
|
1996
|
+
/** Whitespace compression selected by `w:characterSpacingControl`. */
|
|
1997
|
+
readonly compression: 'doNotCompress' | 'compressPunctuation' | 'compressPunctuationAndJapaneseKana';
|
|
1998
|
+
/** Custom no-line-start characters, keyed by normalized language tag. */
|
|
1999
|
+
readonly before: Readonly<Record<string, string>>;
|
|
2000
|
+
/** Custom no-line-end characters, keyed by normalized language tag. */
|
|
2001
|
+
readonly after: Readonly<Record<string, string>>;
|
|
2002
|
+
}
|
|
2003
|
+
|
|
1991
2004
|
/** Soft ceiling matching Word's practical custom-tab UI limit. */
|
|
1992
2005
|
declare const MAX_TAB_STOPS = 64;
|
|
1993
2006
|
/**
|
|
@@ -2109,22 +2122,6 @@ declare function tabAdvanceWidth(alignment: TabAlignment, currentX: number, dest
|
|
|
2109
2122
|
*/
|
|
2110
2123
|
declare function tabStopsFingerprint(tabs: ResolvedTabStops): string;
|
|
2111
2124
|
|
|
2112
|
-
/** Document-wide East Asian line-break and whitespace policy. @public */
|
|
2113
|
-
interface CjkTypographySettings {
|
|
2114
|
-
/** Apply the strict Japanese small-kana and prolonged-sound-mark restrictions. */
|
|
2115
|
-
readonly strict: boolean;
|
|
2116
|
-
/** Disable adjacent full-width punctuation compression when false. */
|
|
2117
|
-
readonly punctuationKerning?: boolean;
|
|
2118
|
-
/** The document defaults explicitly select an East Asian face as the East Asian font. */
|
|
2119
|
-
readonly sourceEastAsianFont?: boolean;
|
|
2120
|
-
/** Whitespace compression selected by `w:characterSpacingControl`. */
|
|
2121
|
-
readonly compression: 'doNotCompress' | 'compressPunctuation' | 'compressPunctuationAndJapaneseKana';
|
|
2122
|
-
/** Custom no-line-start characters, keyed by normalized language tag. */
|
|
2123
|
-
readonly before: Readonly<Record<string, string>>;
|
|
2124
|
-
/** Custom no-line-end characters, keyed by normalized language tag. */
|
|
2125
|
-
readonly after: Readonly<Record<string, string>>;
|
|
2126
|
-
}
|
|
2127
|
-
|
|
2128
2125
|
/** Test-only mutable counters; omitted by production call sites. Not package-public. */
|
|
2129
2126
|
interface TableBorderGridResolveWork {
|
|
2130
2127
|
/** Sparse intervals emitted (not dense column slots). */
|
|
@@ -2378,6 +2375,39 @@ interface GroupTextboxStoryRecord {
|
|
|
2378
2375
|
readonly rotationDegrees: number;
|
|
2379
2376
|
}
|
|
2380
2377
|
|
|
2378
|
+
/** `x' = scaleX * x + offsetX`, `y' = scaleY * y + offsetY`, from text space into the box. */
|
|
2379
|
+
interface TextArtFit {
|
|
2380
|
+
readonly scaleX: number;
|
|
2381
|
+
readonly scaleY: number;
|
|
2382
|
+
readonly offsetX: number;
|
|
2383
|
+
readonly offsetY: number;
|
|
2384
|
+
}
|
|
2385
|
+
interface DrawingTextArtRecord {
|
|
2386
|
+
readonly text: string;
|
|
2387
|
+
readonly fontFamily: string;
|
|
2388
|
+
readonly bold: boolean;
|
|
2389
|
+
readonly italic: boolean;
|
|
2390
|
+
/** Size of the unfitted text that `fit` maps into the box. */
|
|
2391
|
+
readonly fontSizePt: number;
|
|
2392
|
+
/** `RRGGBB`, or null when the text is not filled. */
|
|
2393
|
+
readonly fillHex: string | null;
|
|
2394
|
+
readonly fillAlpha: number;
|
|
2395
|
+
/** `RRGGBB`, or null when the text is not outlined. */
|
|
2396
|
+
readonly strokeHex: string | null;
|
|
2397
|
+
readonly strokeAlpha: number;
|
|
2398
|
+
readonly strokeWidthPt: number;
|
|
2399
|
+
/** Clockwise rotation about the box centre. */
|
|
2400
|
+
readonly rotationDegrees: number;
|
|
2401
|
+
/**
|
|
2402
|
+
* The fitted glyph outlines in points from the box's top-left corner, as absolute M/L/Q/C/Z
|
|
2403
|
+
* path data. Null when the measurer knew only the ink box: paint then draws the text at
|
|
2404
|
+
* `fontSizePt` through `fit`.
|
|
2405
|
+
*/
|
|
2406
|
+
readonly path: string | null;
|
|
2407
|
+
/** Null when the measurer could not bound the string's ink: nothing paints. */
|
|
2408
|
+
readonly fit: TextArtFit | null;
|
|
2409
|
+
}
|
|
2410
|
+
|
|
2381
2411
|
/** Clip `box` to a horizontal content band; preserves authored size, zeroes clipped axes. */
|
|
2382
2412
|
/** How a drawing record holds the picture member of a shape group. */
|
|
2383
2413
|
interface DrawingGroupPictureRecord {
|
|
@@ -2495,6 +2525,8 @@ interface AnchoredDrawingRecord extends Omit<InlineDrawingRecord, 'kind' | 'base
|
|
|
2495
2525
|
readonly layoutFallback?: AnchoredDrawingLayoutFallback;
|
|
2496
2526
|
/** Canonical document traversal index within the owner story part. */
|
|
2497
2527
|
readonly sourceOrder?: number;
|
|
2528
|
+
/** Floating VML text art fitted to the box; paint draws it instead of a resource. */
|
|
2529
|
+
readonly textArt?: DrawingTextArtRecord;
|
|
2498
2530
|
}
|
|
2499
2531
|
|
|
2500
2532
|
/**
|
|
@@ -2557,25 +2589,6 @@ declare function readNumPr(paragraphPropertyNodes: readonly OoxmlNode[]): {
|
|
|
2557
2589
|
* and so it is when nothing delegates, which keeps layout cache identity.
|
|
2558
2590
|
*/
|
|
2559
2591
|
declare function withNumberingStyleLinks(index: NumberingIndex, styleCascade: StyleCascadeTable | undefined): NumberingIndex;
|
|
2560
|
-
/**
|
|
2561
|
-
* The effective indent of a list paragraph: `inherited`, then the numbering LEVEL, then
|
|
2562
|
-
* `direct`, per attribute.
|
|
2563
|
-
*
|
|
2564
|
-
* A level's `w:pPr/w:ind` applies per attribute between the two tiers, and the ordering
|
|
2565
|
-
* matters on real documents. A converted agreement numbers its `(a)` items with a level
|
|
2566
|
-
* stating `left=1512 hanging=738` under a `ListParagraph` style stating
|
|
2567
|
-
* `left=775 hanging=624`, and states only `hanging="737"` on the paragraph itself. Reading
|
|
2568
|
-
* the flattened cascade as "the paragraph's indent" gave the STYLE's 775 to a level that had
|
|
2569
|
-
* overridden it, so every lettered sub-item hung a full indent step to the left of where
|
|
2570
|
-
* Word puts it.
|
|
2571
|
-
*
|
|
2572
|
-
* `inherited` is what the level outranks and `direct` is what outranks it. When the
|
|
2573
|
-
* paragraph's own `w:pPr` states a `w:numPr`, these are the style chain (after the document
|
|
2574
|
-
* defaults) and that `w:pPr`. Otherwise the level sits directly below the nearest style that
|
|
2575
|
-
* states a `w:numPr`: that style, the styles based on it and the paragraph's own `w:pPr` go
|
|
2576
|
-
* in `direct`, and the defaults and that style's bases go in `inherited`.
|
|
2577
|
-
*/
|
|
2578
|
-
declare function mergeListIndent(levelIndent: NumberingLevelIndent, inherited: readonly OoxmlProperty[], direct?: readonly OoxmlProperty[]): NumberingLevelIndent;
|
|
2579
2592
|
|
|
2580
2593
|
/**
|
|
2581
2594
|
* Resolve every list paragraph in a story to a {@link ResolvedListItem}, keyed by node id.
|
|
@@ -3072,6 +3085,75 @@ interface PageGeometry {
|
|
|
3072
3085
|
/** US Letter with one-inch margins, in points. */
|
|
3073
3086
|
declare const DEFAULT_PAGE_GEOMETRY: PageGeometry;
|
|
3074
3087
|
|
|
3088
|
+
/** A strikeout stroke at the drawn size, in points. `offsetPt` is the stroke TOP. @public */
|
|
3089
|
+
interface StrikeoutStrokePt {
|
|
3090
|
+
/** Distance from the baseline UP to the top of the stroke. */
|
|
3091
|
+
readonly offsetPt: number;
|
|
3092
|
+
/** Stroke height. Always positive. */
|
|
3093
|
+
readonly thicknessPt: number;
|
|
3094
|
+
}
|
|
3095
|
+
|
|
3096
|
+
/**
|
|
3097
|
+
* A string's glyphs in points, x right and y down from the pen origin on the baseline, at the
|
|
3098
|
+
* style's size.
|
|
3099
|
+
*
|
|
3100
|
+
* `path` is SVG path data made only of absolute `M`, `L`, `Q`, `C` and `Z` commands, or null
|
|
3101
|
+
* when the measurer knows the ink box but not the outlines (a canvas measurer). `ink` bounds
|
|
3102
|
+
* every glyph's ink in the same space.
|
|
3103
|
+
*/
|
|
3104
|
+
interface TextOutline {
|
|
3105
|
+
readonly path: string | null;
|
|
3106
|
+
readonly ink: {
|
|
3107
|
+
readonly left: number;
|
|
3108
|
+
readonly top: number;
|
|
3109
|
+
readonly right: number;
|
|
3110
|
+
readonly bottom: number;
|
|
3111
|
+
};
|
|
3112
|
+
}
|
|
3113
|
+
/**
|
|
3114
|
+
* Text measurement, injected.
|
|
3115
|
+
*
|
|
3116
|
+
* A real implementation shapes with the resolved font; the tests supply a deterministic one.
|
|
3117
|
+
* Layout never reads the DOM, so this is the only way width and height enter it.
|
|
3118
|
+
*/
|
|
3119
|
+
interface TextMeasurer {
|
|
3120
|
+
/** Advance width of `text` in the resolved style. */
|
|
3121
|
+
measure(text: string, style: ResolvedRunStyle): number;
|
|
3122
|
+
/**
|
|
3123
|
+
* Optional whole-span logical caret advances, indexed by UTF-16 offset. Values
|
|
3124
|
+
* are nondecreasing, start at zero, and end at the measured advance. Ligature
|
|
3125
|
+
* interiors may share an edge. Undefined selects a bounded approximate fallback.
|
|
3126
|
+
*/
|
|
3127
|
+
caretAdvances?(text: string, style: ResolvedRunStyle): readonly number[] | undefined;
|
|
3128
|
+
/**
|
|
3129
|
+
* Optional conservative ink bounds for one grapheme, in points from its origin.
|
|
3130
|
+
* Includes size and horizontal scale, but not trailing character spacing.
|
|
3131
|
+
* Undefined keeps layout on the advance-only path.
|
|
3132
|
+
*/
|
|
3133
|
+
inkBounds?(text: string, style: ResolvedRunStyle): {
|
|
3134
|
+
left: number;
|
|
3135
|
+
right: number;
|
|
3136
|
+
} | undefined;
|
|
3137
|
+
/**
|
|
3138
|
+
* Optional glyph outlines of a whole string, for text drawn as a shape (VML text art).
|
|
3139
|
+
* Undefined when the face cannot answer; the shape then paints nothing rather than guess.
|
|
3140
|
+
*/
|
|
3141
|
+
textOutline?(text: string, style: ResolvedRunStyle): TextOutline | undefined;
|
|
3142
|
+
/** Whether line metrics use an admitted face instead of approximate fallback metrics. */
|
|
3143
|
+
hasResolvedFont?(style: ResolvedRunStyle): boolean;
|
|
3144
|
+
/**
|
|
3145
|
+
* Optional `OS/2` strikeout stroke for the resolved face, at the drawn size. Word paints
|
|
3146
|
+
* `w:separator` as a strikeout, so the note rule reads its thickness and offset here rather
|
|
3147
|
+
* than assuming one face's numbers. Undefined keeps the caller's own default.
|
|
3148
|
+
*/
|
|
3149
|
+
strikeoutMetrics?(style: ResolvedRunStyle): StrikeoutStrokePt | undefined;
|
|
3150
|
+
/** Line metrics for the actual text faces; omitted text measures the primary face. */
|
|
3151
|
+
lineMetrics(style: ResolvedRunStyle, text?: string): {
|
|
3152
|
+
height: number;
|
|
3153
|
+
baseline: number;
|
|
3154
|
+
};
|
|
3155
|
+
}
|
|
3156
|
+
|
|
3075
3157
|
/** A half-open UTF-16 range inside one paragraph, addressed by its canonical node id. */
|
|
3076
3158
|
interface SourceRange {
|
|
3077
3159
|
readonly paragraphId: string;
|
|
@@ -3965,44 +4047,5 @@ interface SectionBreakMarkRecord {
|
|
|
3965
4047
|
readonly kind: SectionBreakType;
|
|
3966
4048
|
}
|
|
3967
4049
|
|
|
3968
|
-
|
|
3969
|
-
|
|
3970
|
-
*
|
|
3971
|
-
* A real implementation shapes with the resolved font; the tests supply a deterministic one.
|
|
3972
|
-
* Layout never reads the DOM, so this is the only way width and height enter it.
|
|
3973
|
-
*/
|
|
3974
|
-
interface TextMeasurer {
|
|
3975
|
-
/** Advance width of `text` in the resolved style. */
|
|
3976
|
-
measure(text: string, style: ResolvedRunStyle): number;
|
|
3977
|
-
/**
|
|
3978
|
-
* Optional whole-span logical caret advances, indexed by UTF-16 offset. Values
|
|
3979
|
-
* are nondecreasing, start at zero, and end at the measured advance. Ligature
|
|
3980
|
-
* interiors may share an edge. Undefined selects a bounded approximate fallback.
|
|
3981
|
-
*/
|
|
3982
|
-
caretAdvances?(text: string, style: ResolvedRunStyle): readonly number[] | undefined;
|
|
3983
|
-
/**
|
|
3984
|
-
* Optional conservative ink bounds for one grapheme, in points from its origin.
|
|
3985
|
-
* Includes size and horizontal scale, but not trailing character spacing.
|
|
3986
|
-
* Undefined keeps layout on the advance-only path.
|
|
3987
|
-
*/
|
|
3988
|
-
inkBounds?(text: string, style: ResolvedRunStyle): {
|
|
3989
|
-
left: number;
|
|
3990
|
-
right: number;
|
|
3991
|
-
} | undefined;
|
|
3992
|
-
/** Whether line metrics use an admitted face instead of approximate fallback metrics. */
|
|
3993
|
-
hasResolvedFont?(style: ResolvedRunStyle): boolean;
|
|
3994
|
-
/**
|
|
3995
|
-
* Optional `OS/2` strikeout stroke for the resolved face, at the drawn size. Word paints
|
|
3996
|
-
* `w:separator` as a strikeout, so the note rule reads its thickness and offset here rather
|
|
3997
|
-
* than assuming one face's numbers. Undefined keeps the caller's own default.
|
|
3998
|
-
*/
|
|
3999
|
-
strikeoutMetrics?(style: ResolvedRunStyle): StrikeoutStrokePt | undefined;
|
|
4000
|
-
/** Line metrics for the actual text faces; omitted text measures the primary face. */
|
|
4001
|
-
lineMetrics(style: ResolvedRunStyle, text?: string): {
|
|
4002
|
-
height: number;
|
|
4003
|
-
baseline: number;
|
|
4004
|
-
};
|
|
4005
|
-
}
|
|
4006
|
-
|
|
4007
|
-
export { DEFAULT_REVISION_MARKUP as D, resolveRevisionMarkup as Q, DEFAULT_PAGE_GEOMETRY as aA, DEFAULT_REVISION_DISPLAY_MODE as aB, DEFAULT_RUN_STYLE as aC, DEFAULT_SECTION_PROPERTIES as aD, DEFAULT_TAB_INTERVAL_PT as aE, DEFAULT_TAB_INTERVAL_TWIPS as aF, EMPTY_NUMBERING_INDEX as aM, EMPTY_TAB_STOPS as aN, FontResolutionError as aZ, AUTO_PARAGRAPH_SPACING_PT as ap, HARD_MAX_AGGREGATE_FONT_BYTES as b6, HARD_MAX_FONT_BYTES as b7, HARD_MAX_FONT_SOURCES as b8, SINGLE_LINE_SPACING as bU, MAX_BORDER_SPACE_PT as be, MAX_BORDER_WIDTH_PT as bf, MAX_DOCUMENT_SECTIONS as bg, MAX_LVL_OVERRIDES as bh, MAX_NUMBERING_DEFINITIONS as bi, MAX_PARAGRAPH_SPACING_PT as bj, MAX_SHAPING_CONTEXT as bk, MAX_STYLE_DEFINITIONS as bl, MAX_TABLE_BORDER_STROKES as bm, MAX_TAB_POSITION_TWIPS as bn, MAX_TAB_STOPS as bo, PAGE_BORDER_SIDES as bs, PARAGRAPH_BORDER_SIDES as bt, nextTabDestination as c$, boundedStructuralFontValidator as cA, buildNumberingIndex as cB, buildStyleCascadeTable as cC, cascadeParagraphFormatting as cD, cascadeRunProperties as cE, cascadedBottomBorder as cF, cascadedParagraphBorders as cG, cascadedTabStops as cH, collapsedSpaceBefore as cI, createFontResourceSnapshot as cJ, createShapedRun as cK, createShapingEnvironment as cL, defaultTabIntervalFromSettings as cM, displayText as cN, enumerateDocumentSections as cO, enumerateDocumentSectionsBounded as cP, fixedPoint as cQ, fontRequestKey as cR, formatRevisionOf as cS, geometryOfSection as cT, glyphSizeFactorOf as cU, isValidStyleId as cV, itemizeScriptFontSlots as cW, layoutEquation as cX, markRevisionRemovesMark as cY, measureDisplayText as cZ, mergeListIndent as c_, TAB_LEADER_GLYPH as ch, UnsupportedScriptError as cs, appliedSpaceBefore as cu, applyLineSpacing as cv, baselineShiftPtOf as cw, borderExtentPt as cx, borderWeight as cy, bottomBorderExtentPt as cz, pageBordersFingerprint as d0, paragraphBorderExtentPt as d1, paragraphBorderStrokeWidthPt as d2, paragraphBorders as d3, paragraphBordersFingerprint as d4, paragraphBreaksBefore as d5, paragraphContextualSpacing as d6, paragraphLineSpacing as d7, paragraphMarkFormatRevisionOf as d8, paragraphMarkRevisionOf as d9, shapedRunComparatorInputs as dA, shapingEnvironmentFingerprint as dB, shapingEnvironmentFingerprintInputs as dC, shownMarkRevision as dD, styleForFontSlot as dE, tabAdvanceWidth as dF, tabStopsFingerprint as dG, withDefaultTabInterval as dH, withNumberingStyleLinks as dI, withResolvedListItems as dJ, paragraphMarkRevisionsOf as da, paragraphSectionNode as db, paragraphSpacing as dc, paragraphTabStops as dd, parsePageBorders as de, parsePageNumbering as df, parseRefInstruction as dg, parseSectionProperties as dh, projectedSectionSourceIndexes as di, readBorderSide as dj, readCellBorders as dk, readNumPr as dl, readSectionProperties as dm, readTableBorders as dn, resolveBorderConflict as dp, resolveNumberingLevel as dq, resolveParagraphLayoutInputs as dr, resolveRunStyle as ds, resolveStoryListItems as dt, resolveStoryRefFields as du, resolveTableCellBorderGrid as dv, revisionAuthorFilter as dw, revisionsAreDeletion as dx, revisionsVisible as dy, runStylesEqual as dz, REVISION_MARKUP_COLORS as w };
|
|
4008
|
-
export type { TableBorderSide as $, AnchoredDrawingRecord as A, BlockFragmentRecord as B, ContentControlBoundaryRecord as C, RevisionMarkupColor as E, FontResourceSnapshot as F, RevisionMarkupMark as G, HeaderFooterStoryRecord as H, InlineDrawingRecord as I, RevisionMarkupNamedColor as J, RevisionMarkupStyle as K, LineRecord as L, RevisionMarkupTextStyle as M, NoteAreaRecord as N, SectionProperties as O, ParagraphFragmentRecord as P, RevisionMarkupDialogSession as R, SemanticLayout as S, TextMeasurer as T, NumberingLevel as U, VersionedShapingLibrary as V, NumberingIndex as W, DrawingPoint as X, DrawingInsets as Y, ModelRange as Z, RevisionAttribution as _, ReviewDisplayMode as a, FontResourceDefinition as a$, TableFloatXSpec as a0, TableFloatYSpec as a1, ResolvedListItem as a2, RefFieldContext as a3, InlineDrawingLayoutContext as a4, CellBorderBox as a5, TableBorderBox as a6, TableCellStyleFormatting as a7, TableFloatPosition as a8, StyleCascadeTable as a9, DeclaredFontSubstitution as aG, DocumentSection as aH, DocumentSectionsEnumeration as aI, DrawingClipFallback as aJ, DrawingGeometry as aK, DrawingGroupPictureRecord as aL, EquationBarGeometry as aO, EquationFractionGeometry as aP, EquationGeometry as aQ, EquationNaryGeometry as aR, EquationRadicalGeometry as aS, EquationRowGeometry as aT, EquationScriptGeometry as aU, EquationSpanRecord as aV, EquationTextGeometry as aW, FieldAtomMarker as aX, FontFingerprintInputs as aY, FontResolutionErrorCode as a_, RevisionAuthorFilter as aa, FixedPoint as ab, FontByteValidator as ac, SourceRange as ad, HyperlinkProjector as ae, FieldLinkProjector as af, StoryPageFieldNeeds as ag, HyperlinkFieldSpec as ah, SpanLinkRecord as ai, PageGeometry as aj, SectionColumns as ak, SectionPageBorders as al, PageBorderFrameRecord as am, ParagraphBorderStrokeRecord as an, StrikeoutStrokePt as ao, AbstractNumDefinition as aq, AnchoredDrawingLayoutFallback as ar, BidiEmbeddingLevels as as, BorderGridGeometry as at, CascadedParagraphFormatting as au, CjkTypographySettings as av, ContentControlGeometryFragment as aw, ContentControlLevel as ax, ContentControlMappedType as ay, ContentControlModelRange as az, RevisionDisplayMode as b, SemanticArtifactRootStoryKind as b$, FontResourceInstrumentation as b0, FontResourceSnapshotOptions as b1, FontSlot as b2, FontValidationResult as b3, GlyphOutline as b4, GroupTextboxStoryRecord as b5, LevelOverride as b9, PageRefFieldProjection as bA, ParagraphAutoSpacingContext as bB, ParagraphBorderEdge as bC, ParagraphBorderSide as bD, ParagraphBorders as bE, ParagraphBottomBorderRecord as bF, ParagraphIndent as bG, ParagraphLayoutInputs as bH, ParagraphLineSpacing as bI, ParagraphSpacing as bJ, RefFieldSpec as bK, RefNoteParts as bL, ResolvedCellBorders as bM, ResolvedPictureBullet as bN, ResolvedTabStops as bO, ResolvedTableBorderEdge as bP, ResolvedTableBorderEdgeSegment as bQ, ResolvedUnderline as bR, RevisionFilter as bS, RevisionKind as bT, ScriptItem as bV, SectionBreakMarkRecord as bW, SectionBreakType as bX, SectionColumnDefinition as bY, SectionMargins as bZ, SectionPageNumbering as b_, LineSpacingRule as ba, ListMarkerAlign as bb, ListMarkerRecord as bc, ListSuffix as bd, NumDefinition as bp, NumberingLevelIndent as bq, NumberingPictureBullet as br, PageBorderDisplay as bu, PageBorderOffsetFrom as bv, PageBorderSide as bw, PageBorderStrokeRecord as bx, PageBorderZOrder as by, PageRefCalibrationCell as bz, PageRecord as c, SemanticArtifactStoryKind as c0, SemanticCommentArtifactRecord as c1, SemanticReviewArtifactOccurrence as c2, SemanticReviewArtifactOccurrenceGeometry as c3, SemanticReviewArtifactPosition as c4, SemanticReviewArtifactSource as c5, SemanticTrackedChangeArtifactRecord as c6, ShapeInput as c7, ShapedCluster as c8, ShapedFontSpan as c9, ShapedGlyph as ca, ShapedRunComparatorInputs as cb, ShapedVerticalMetrics as cc, ShapingContext as cd, ShapingEnvironment as ce, ShapingEnvironmentFingerprintInputs as cf, StyleDefinition as cg, TabAlignment as ci, TabDestination as cj, TabLeader as ck, TabStop as cl, TableBorderSideName as cm, TableBorderStrokeRecord as cn, TableFragmentRecord as co, TextDirection as cp, TextboxStoryFallbackReason as cq, TextboxStoryLayout as cr, VerticalAlign as ct, LayoutBox as d, NoteStoryRecord as e, ContentControlLock as f, StyleSpanRecord as g, TableRowFragmentRecord as h, TableCellFragmentRecord as i, ShapingEnvironmentInput as j, TextShaper as k, ResolvedRunStyle as l, ResolvedFont as m, NormalizationPolicy as n, FixedPointRoundingMode as o, FontRequest as p, ResolvedRevisionMarkup as q, SemanticReviewArtifactRecord as r, ListMarkerPictureRecord as s, RevisionMarkupOptions as t, FontSubstitution as u, ShapedRun as v, RevisionChangedLinesMark as x, RevisionDeletionMark as y, RevisionMarkupChromeHandlers as z };
|
|
4050
|
+
export { DEFAULT_REVISION_MARKUP as D, resolveRevisionMarkup as Q, FontResolutionError as a$, DEFAULT_PAGE_GEOMETRY as aB, DEFAULT_REVISION_DISPLAY_MODE as aC, DEFAULT_RUN_STYLE as aD, DEFAULT_SECTION_PROPERTIES as aE, DEFAULT_TAB_INTERVAL_PT as aF, DEFAULT_TAB_INTERVAL_TWIPS as aG, EMPTY_NUMBERING_INDEX as aO, EMPTY_TAB_STOPS as aP, AUTO_PARAGRAPH_SPACING_PT as aq, HARD_MAX_AGGREGATE_FONT_BYTES as b8, HARD_MAX_FONT_BYTES as b9, SINGLE_LINE_SPACING as bV, HARD_MAX_FONT_SOURCES as ba, MAX_BORDER_SPACE_PT as bg, MAX_BORDER_WIDTH_PT as bh, MAX_DOCUMENT_SECTIONS as bi, MAX_LVL_OVERRIDES as bj, MAX_NUMBERING_DEFINITIONS as bk, MAX_PARAGRAPH_SPACING_PT as bl, MAX_SHAPING_CONTEXT as bm, MAX_STYLE_DEFINITIONS as bn, MAX_TABLE_BORDER_STROKES as bo, MAX_TAB_POSITION_TWIPS as bp, MAX_TAB_STOPS as bq, PAGE_BORDER_SIDES as bt, PARAGRAPH_BORDER_SIDES as bu, markRevisionRemovesMark as c$, borderExtentPt as cA, borderWeight as cB, bottomBorderExtentPt as cC, boundedStructuralFontValidator as cD, buildNumberingIndex as cE, buildStyleCascadeTable as cF, cascadeParagraphFormatting as cG, cascadeRunProperties as cH, cascadedBottomBorder as cI, cascadedParagraphBorders as cJ, cascadedTabStops as cK, collapsedSpaceBefore as cL, createFontResourceSnapshot as cM, createShapedRun as cN, createShapingEnvironment as cO, defaultTabIntervalFromSettings as cP, displayText as cQ, enumerateDocumentSections as cR, enumerateDocumentSectionsBounded as cS, fixedPoint as cT, fontRequestKey as cU, formatRevisionOf as cV, geometryOfSection as cW, glyphSizeFactorOf as cX, isValidStyleId as cY, itemizeScriptFontSlots as cZ, layoutEquation as c_, TAB_LEADER_GLYPH as ci, UnsupportedScriptError as cv, appliedSpaceBefore as cx, applyLineSpacing as cy, baselineShiftPtOf as cz, measureDisplayText as d0, nextTabDestination as d1, pageBordersFingerprint as d2, paragraphBorderExtentPt as d3, paragraphBorderStrokeWidthPt as d4, paragraphBorders as d5, paragraphBordersFingerprint as d6, paragraphBreaksBefore as d7, paragraphContextualSpacing as d8, paragraphLineSpacing as d9, revisionsVisible as dA, runStylesEqual as dB, shapedRunComparatorInputs as dC, shapingEnvironmentFingerprint as dD, shapingEnvironmentFingerprintInputs as dE, shownMarkRevision as dF, styleForFontSlot as dG, tabAdvanceWidth as dH, tabStopsFingerprint as dI, withDefaultTabInterval as dJ, withNumberingStyleLinks as dK, withResolvedListItems as dL, paragraphMarkFormatRevisionOf as da, paragraphMarkRevisionOf as db, paragraphMarkRevisionsOf as dc, paragraphSectionNode as dd, paragraphSpacing as de, paragraphTabStops as df, parsePageBorders as dg, parsePageNumbering as dh, parseRefInstruction as di, parseSectionProperties as dj, projectedSectionSourceIndexes as dk, readBorderSide as dl, readCellBorders as dm, readNumPr as dn, readSectionProperties as dp, readTableBorders as dq, resolveBorderConflict as dr, resolveNumberingLevel as ds, resolveParagraphLayoutInputs as dt, resolveRunStyle as du, resolveStoryListItems as dv, resolveStoryRefFields as dw, resolveTableCellBorderGrid as dx, revisionAuthorFilter as dy, revisionsAreDeletion as dz, REVISION_MARKUP_COLORS as w };
|
|
4051
|
+
export type { TableBorderSide as $, AnchoredDrawingRecord as A, BlockFragmentRecord as B, ContentControlBoundaryRecord as C, RevisionMarkupColor as E, FontResourceSnapshot as F, RevisionMarkupMark as G, HeaderFooterStoryRecord as H, InlineDrawingRecord as I, RevisionMarkupNamedColor as J, RevisionMarkupStyle as K, LineRecord as L, RevisionMarkupTextStyle as M, NoteAreaRecord as N, SectionProperties as O, ParagraphFragmentRecord as P, RevisionMarkupDialogSession as R, SemanticLayout as S, TextMeasurer as T, NumberingLevel as U, VersionedShapingLibrary as V, NumberingIndex as W, DrawingPoint as X, DrawingInsets as Y, ModelRange as Z, RevisionAttribution as _, ReviewDisplayMode as a, TableFloatXSpec as a0, TableFloatYSpec as a1, NumberingLevelIndent as a2, ResolvedListItem as a3, RefFieldContext as a4, InlineDrawingLayoutContext as a5, CellBorderBox as a6, TableBorderBox as a7, TableCellStyleFormatting as a8, TableFloatPosition as a9, ContentControlModelRange as aA, DeclaredFontSubstitution as aH, DocumentSection as aI, DocumentSectionsEnumeration as aJ, DrawingClipFallback as aK, DrawingGeometry as aL, DrawingGroupPictureRecord as aM, DrawingTextArtRecord as aN, EquationBarGeometry as aQ, EquationFractionGeometry as aR, EquationGeometry as aS, EquationNaryGeometry as aT, EquationRadicalGeometry as aU, EquationRowGeometry as aV, EquationScriptGeometry as aW, EquationSpanRecord as aX, EquationTextGeometry as aY, FieldAtomMarker as aZ, FontFingerprintInputs as a_, StyleCascadeTable as aa, RevisionAuthorFilter as ab, FixedPoint as ac, FontByteValidator as ad, SourceRange as ae, HyperlinkProjector as af, FieldLinkProjector as ag, StoryPageFieldNeeds as ah, HyperlinkFieldSpec as ai, SpanLinkRecord as aj, PageGeometry as ak, SectionColumns as al, SectionPageBorders as am, PageBorderFrameRecord as an, ParagraphBorderStrokeRecord as ao, StrikeoutStrokePt as ap, AbstractNumDefinition as ar, AnchoredDrawingLayoutFallback as as, BidiEmbeddingLevels as at, BorderGridGeometry as au, CascadedParagraphFormatting as av, CjkTypographySettings as aw, ContentControlGeometryFragment as ax, ContentControlLevel as ay, ContentControlMappedType as az, RevisionDisplayMode as b, SectionPageNumbering as b$, FontResolutionErrorCode as b0, FontResourceDefinition as b1, FontResourceInstrumentation as b2, FontResourceSnapshotOptions as b3, FontSlot as b4, FontValidationResult as b5, GlyphOutline as b6, GroupTextboxStoryRecord as b7, PageRefCalibrationCell as bA, PageRefFieldProjection as bB, ParagraphAutoSpacingContext as bC, ParagraphBorderEdge as bD, ParagraphBorderSide as bE, ParagraphBorders as bF, ParagraphBottomBorderRecord as bG, ParagraphIndent as bH, ParagraphLayoutInputs as bI, ParagraphLineSpacing as bJ, ParagraphSpacing as bK, RefFieldSpec as bL, RefNoteParts as bM, ResolvedCellBorders as bN, ResolvedPictureBullet as bO, ResolvedTabStops as bP, ResolvedTableBorderEdge as bQ, ResolvedTableBorderEdgeSegment as bR, ResolvedUnderline as bS, RevisionFilter as bT, RevisionKind as bU, ScriptItem as bW, SectionBreakMarkRecord as bX, SectionBreakType as bY, SectionColumnDefinition as bZ, SectionMargins as b_, LevelOverride as bb, LineSpacingRule as bc, ListMarkerAlign as bd, ListMarkerRecord as be, ListSuffix as bf, NumDefinition as br, NumberingPictureBullet as bs, PageBorderDisplay as bv, PageBorderOffsetFrom as bw, PageBorderSide as bx, PageBorderStrokeRecord as by, PageBorderZOrder as bz, PageRecord as c, SemanticArtifactRootStoryKind as c0, SemanticArtifactStoryKind as c1, SemanticCommentArtifactRecord as c2, SemanticReviewArtifactOccurrence as c3, SemanticReviewArtifactOccurrenceGeometry as c4, SemanticReviewArtifactPosition as c5, SemanticReviewArtifactSource as c6, SemanticTrackedChangeArtifactRecord as c7, ShapeInput as c8, ShapedCluster as c9, ShapedFontSpan as ca, ShapedGlyph as cb, ShapedRunComparatorInputs as cc, ShapedVerticalMetrics as cd, ShapingContext as ce, ShapingEnvironment as cf, ShapingEnvironmentFingerprintInputs as cg, StyleDefinition as ch, TabAlignment as cj, TabDestination as ck, TabLeader as cl, TabStop as cm, TableBorderSideName as cn, TableBorderStrokeRecord as co, TableFragmentRecord as cp, TextArtFit as cq, TextDirection as cr, TextOutline as cs, TextboxStoryFallbackReason as ct, TextboxStoryLayout as cu, VerticalAlign as cw, LayoutBox as d, NoteStoryRecord as e, ContentControlLock as f, StyleSpanRecord as g, TableRowFragmentRecord as h, TableCellFragmentRecord as i, ShapingEnvironmentInput as j, TextShaper as k, ResolvedRunStyle as l, ResolvedFont as m, NormalizationPolicy as n, FixedPointRoundingMode as o, FontRequest as p, ResolvedRevisionMarkup as q, SemanticReviewArtifactRecord as r, ListMarkerPictureRecord as s, RevisionMarkupOptions as t, FontSubstitution as u, ShapedRun as v, RevisionChangedLinesMark as x, RevisionDeletionMark as y, RevisionMarkupChromeHandlers as z };
|