@office-open/docx 0.2.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -7
- package/dist/_chunks/chunk-DmsbSTSH.mjs +27 -0
- package/dist/index.d.mts +1417 -2122
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +9512 -12415
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -12
package/dist/index.d.mts
CHANGED
|
@@ -1,1648 +1,723 @@
|
|
|
1
|
+
import { AppProperties, AttributeData, AttributeMap, AttributePayload, BaseXmlComponent, BuilderElement, EMPTY_OBJECT, EmptyElement, HpsMeasureElement, IContext as IContext$1, IXmlableObject, IgnoreIfEmptyXmlComponent, ImportedRootElementAttributes, ImportedXmlComponent, InitializableXmlComponent, MixedChildren, NextAttributeComponent, NumberValueElement, OnOffElement, RawElement, Relationships, StringContainer, StringEnumValueElement, StringValueElement, UniqueNumericIdCreator, XmlAttributeComponent, XmlAttributeComponent as XmlAttributeComponent$1, XmlComponent, XmlComponent as XmlComponent$1, chartAttr, convertInchesToTwip, convertMillimetersToTwip, convertToXmlComponent, hashedId, isRaw, uniqueId, uniqueNumericIdCreator, uniqueUuid, wrapEl } from "@office-open/core";
|
|
1
2
|
import { DataType } from "undio";
|
|
3
|
+
import { BlipEffectsOptions, CustomGeometryOptions, EffectDagOptions, EffectListOptions, FillOptions, OutlineOptions, Scene3DOptions, Shape3DOptions, SourceRectangleOptions, TileOptions } from "@office-open/core/drawingml";
|
|
4
|
+
import { ChartCollection, ChartType, IChartData } from "@office-open/core/chart";
|
|
5
|
+
import { COLOR_CATEGORIES, ISmartArtData, ITreeNode, LAYOUT_CATEGORIES, STYLE_CATEGORIES, SmartArtCollection, createDataModel } from "@office-open/core/smartart";
|
|
6
|
+
import { Element } from "@office-open/xml";
|
|
2
7
|
import { Readable } from "stream";
|
|
3
8
|
import { Buffer } from "\u0000polyfill-node.buffer";
|
|
9
|
+
export * from "@office-open/core/values";
|
|
10
|
+
export * from "@office-open/core/smartart";
|
|
4
11
|
|
|
5
12
|
//#region src/file/file-child.d.ts
|
|
6
|
-
|
|
13
|
+
interface FileChild extends BaseXmlComponent {
|
|
7
14
|
readonly fileChild: symbol;
|
|
8
15
|
}
|
|
9
16
|
//#endregion
|
|
10
|
-
//#region src/
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
declare const decimalNumber: (val: number) => number;
|
|
17
|
-
declare const unsignedDecimalNumber: (val: number) => number;
|
|
18
|
-
declare const longHexNumber: (val: string) => string;
|
|
19
|
-
declare const shortHexNumber: (val: string) => string;
|
|
20
|
-
declare const uCharHexNumber: (val: string) => string;
|
|
21
|
-
declare const universalMeasureValue: (val: UniversalMeasure) => UniversalMeasure;
|
|
22
|
-
declare const positiveUniversalMeasureValue: (val: PositiveUniversalMeasure) => PositiveUniversalMeasure;
|
|
23
|
-
declare const hexColorValue: (val: string) => string;
|
|
24
|
-
declare const signedTwipsMeasureValue: (val: UniversalMeasure | number) => UniversalMeasure | number;
|
|
25
|
-
declare const hpsMeasureValue: (val: PositiveUniversalMeasure | number) => string | number;
|
|
26
|
-
declare const signedHpsMeasureValue: (val: UniversalMeasure | number) => string | number;
|
|
27
|
-
declare const twipsMeasureValue: (val: PositiveUniversalMeasure | number) => PositiveUniversalMeasure | number;
|
|
28
|
-
declare const percentageValue: (val: Percentage) => Percentage;
|
|
29
|
-
declare const measurementOrPercentValue: (val: number | Percentage | UniversalMeasure) => number | UniversalMeasure | Percentage;
|
|
30
|
-
declare const eighthPointMeasureValue: (val: number) => number;
|
|
31
|
-
declare const pointMeasureValue: (val: number) => number;
|
|
32
|
-
declare const dateTimeValue: (val: Date) => string;
|
|
33
|
-
declare const ThemeColor: {
|
|
34
|
-
readonly DARK1: "dark1";
|
|
35
|
-
readonly LIGHT1: "light1";
|
|
36
|
-
readonly DARK2: "dark2";
|
|
37
|
-
readonly LIGHT2: "light2";
|
|
38
|
-
readonly ACCENT1: "accent1";
|
|
39
|
-
readonly ACCENT2: "accent2";
|
|
40
|
-
readonly ACCENT3: "accent3";
|
|
41
|
-
readonly ACCENT4: "accent4";
|
|
42
|
-
readonly ACCENT5: "accent5";
|
|
43
|
-
readonly ACCENT6: "accent6";
|
|
44
|
-
readonly HYPERLINK: "hyperlink";
|
|
45
|
-
readonly FOLLOWED_HYPERLINK: "followedHyperlink";
|
|
46
|
-
readonly NONE: "none";
|
|
47
|
-
readonly BACKGROUND1: "background1";
|
|
48
|
-
readonly TEXT1: "text1";
|
|
49
|
-
readonly BACKGROUND2: "background2";
|
|
50
|
-
readonly TEXT2: "text2";
|
|
51
|
-
};
|
|
52
|
-
declare const ThemeFont: {
|
|
53
|
-
readonly MAJOR_EAST_ASIA: "majorEastAsia";
|
|
54
|
-
readonly MAJOR_BIDI: "majorBidi";
|
|
55
|
-
readonly MAJOR_ASCII: "majorAscii";
|
|
56
|
-
readonly MAJOR_H_ANSI: "majorHAnsi";
|
|
57
|
-
readonly MINOR_EAST_ASIA: "minorEastAsia";
|
|
58
|
-
readonly MINOR_BIDI: "minorBidi";
|
|
59
|
-
readonly MINOR_ASCII: "minorAscii";
|
|
60
|
-
readonly MINOR_H_ANSI: "minorHAnsi";
|
|
61
|
-
};
|
|
62
|
-
//#endregion
|
|
63
|
-
//#region src/file/table/grid.d.ts
|
|
64
|
-
interface ITableGridChangeOptions {
|
|
65
|
-
readonly id: number;
|
|
66
|
-
readonly columnWidths: readonly number[] | readonly PositiveUniversalMeasure[];
|
|
17
|
+
//#region src/file/footer/footer.d.ts
|
|
18
|
+
declare class Footer$1 extends InitializableXmlComponent {
|
|
19
|
+
private readonly refId;
|
|
20
|
+
constructor(referenceNumber: number, initContent?: XmlComponent);
|
|
21
|
+
get ReferenceId(): number;
|
|
22
|
+
add(item: FileChild): void;
|
|
67
23
|
}
|
|
68
24
|
//#endregion
|
|
69
|
-
//#region src/file/
|
|
70
|
-
|
|
71
|
-
readonly
|
|
72
|
-
readonly
|
|
73
|
-
};
|
|
74
|
-
interface ITableCellSpacingProperties {
|
|
75
|
-
readonly value: number | Percentage | UniversalMeasure;
|
|
76
|
-
readonly type?: (typeof CellSpacingType)[keyof typeof CellSpacingType];
|
|
25
|
+
//#region src/file/drawing/inline/graphic/graphic-data/wpg/wpg-group.d.ts
|
|
26
|
+
interface IChildOffset {
|
|
27
|
+
readonly x: number;
|
|
28
|
+
readonly y: number;
|
|
77
29
|
}
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
readonly id: number;
|
|
82
|
-
readonly author: string;
|
|
83
|
-
readonly date: string;
|
|
30
|
+
interface IChildExtent {
|
|
31
|
+
readonly cx: number;
|
|
32
|
+
readonly cy: number;
|
|
84
33
|
}
|
|
85
34
|
//#endregion
|
|
86
|
-
//#region src/file/
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
readonly themeShade?: string;
|
|
94
|
-
readonly themeFill?: (typeof ThemeColor)[keyof typeof ThemeColor];
|
|
95
|
-
readonly themeFillTint?: string;
|
|
96
|
-
readonly themeFillShade?: string;
|
|
35
|
+
//#region src/file/drawing/inline/graphic/graphic-data/wps/body-properties.d.ts
|
|
36
|
+
declare enum VerticalAnchor {
|
|
37
|
+
TOP = "t",
|
|
38
|
+
CENTER = "ctr",
|
|
39
|
+
BOTTOM = "b",
|
|
40
|
+
JUSTIFY = "just",
|
|
41
|
+
DISTRIBUTED = "dist"
|
|
97
42
|
}
|
|
98
|
-
declare const
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
themeColor,
|
|
103
|
-
themeTint,
|
|
104
|
-
themeShade,
|
|
105
|
-
themeFill,
|
|
106
|
-
themeFillTint,
|
|
107
|
-
themeFillShade
|
|
108
|
-
}: IShadingAttributesProperties) => XmlComponent;
|
|
109
|
-
declare const ShadingType: {
|
|
110
|
-
readonly CLEAR: "clear";
|
|
111
|
-
readonly DIAGONAL_CROSS: "diagCross";
|
|
112
|
-
readonly DIAGONAL_STRIPE: "diagStripe";
|
|
113
|
-
readonly HORIZONTAL_CROSS: "horzCross";
|
|
114
|
-
readonly HORIZONTAL_STRIPE: "horzStripe";
|
|
115
|
-
readonly NIL: "nil";
|
|
116
|
-
readonly PERCENT_10: "pct10";
|
|
117
|
-
readonly PERCENT_12: "pct12";
|
|
118
|
-
readonly PERCENT_15: "pct15";
|
|
119
|
-
readonly PERCENT_20: "pct20";
|
|
120
|
-
readonly PERCENT_25: "pct25";
|
|
121
|
-
readonly PERCENT_30: "pct30";
|
|
122
|
-
readonly PERCENT_35: "pct35";
|
|
123
|
-
readonly PERCENT_37: "pct37";
|
|
124
|
-
readonly PERCENT_40: "pct40";
|
|
125
|
-
readonly PERCENT_45: "pct45";
|
|
126
|
-
readonly PERCENT_5: "pct5";
|
|
127
|
-
readonly PERCENT_50: "pct50";
|
|
128
|
-
readonly PERCENT_55: "pct55";
|
|
129
|
-
readonly PERCENT_60: "pct60";
|
|
130
|
-
readonly PERCENT_62: "pct62";
|
|
131
|
-
readonly PERCENT_65: "pct65";
|
|
132
|
-
readonly PERCENT_70: "pct70";
|
|
133
|
-
readonly PERCENT_75: "pct75";
|
|
134
|
-
readonly PERCENT_80: "pct80";
|
|
135
|
-
readonly PERCENT_85: "pct85";
|
|
136
|
-
readonly PERCENT_87: "pct87";
|
|
137
|
-
readonly PERCENT_90: "pct90";
|
|
138
|
-
readonly PERCENT_95: "pct95";
|
|
139
|
-
readonly REVERSE_DIAGONAL_STRIPE: "reverseDiagStripe";
|
|
140
|
-
readonly SOLID: "solid";
|
|
141
|
-
readonly THIN_DIAGONAL_CROSS: "thinDiagCross";
|
|
142
|
-
readonly THIN_DIAGONAL_STRIPE: "thinDiagStripe";
|
|
143
|
-
readonly THIN_HORIZONTAL_CROSS: "thinHorzCross";
|
|
144
|
-
readonly THIN_REVERSE_DIAGONAL_STRIPE: "thinReverseDiagStripe";
|
|
145
|
-
readonly THIN_VERTICAL_STRIPE: "thinVertStripe";
|
|
146
|
-
readonly VERTICAL_STRIPE: "vertStripe";
|
|
43
|
+
declare const TextVertOverflowType: {
|
|
44
|
+
readonly OVERFLOW: "overflow";
|
|
45
|
+
readonly ELLIPSIS: "ellipsis";
|
|
46
|
+
readonly CLIP: "clip";
|
|
147
47
|
};
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
readonly AUTO: "auto";
|
|
152
|
-
readonly DXA: "dxa";
|
|
153
|
-
readonly NIL: "nil";
|
|
154
|
-
readonly PERCENTAGE: "pct";
|
|
48
|
+
declare const TextHorzOverflowType: {
|
|
49
|
+
readonly OVERFLOW: "overflow";
|
|
50
|
+
readonly CLIP: "clip";
|
|
155
51
|
};
|
|
156
|
-
|
|
157
|
-
readonly
|
|
158
|
-
readonly
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
interface IBorderOptions {
|
|
167
|
-
readonly style: (typeof BorderStyle)[keyof typeof BorderStyle];
|
|
168
|
-
readonly color?: string;
|
|
169
|
-
readonly themeColor?: (typeof ThemeColor)[keyof typeof ThemeColor];
|
|
170
|
-
readonly themeTint?: string;
|
|
171
|
-
readonly themeShade?: string;
|
|
172
|
-
readonly shadow?: boolean;
|
|
173
|
-
readonly frame?: boolean;
|
|
174
|
-
readonly size?: number;
|
|
175
|
-
readonly space?: number;
|
|
176
|
-
}
|
|
177
|
-
declare const createBorderElement: (elementName: string, {
|
|
178
|
-
color,
|
|
179
|
-
size,
|
|
180
|
-
space,
|
|
181
|
-
style,
|
|
182
|
-
themeColor,
|
|
183
|
-
themeTint,
|
|
184
|
-
themeShade,
|
|
185
|
-
shadow,
|
|
186
|
-
frame
|
|
187
|
-
}: IBorderOptions) => XmlComponent;
|
|
188
|
-
declare const BorderStyle: {
|
|
189
|
-
readonly SINGLE: "single";
|
|
190
|
-
readonly DASH_DOT_STROKED: "dashDotStroked";
|
|
191
|
-
readonly DASHED: "dashed";
|
|
192
|
-
readonly DASH_SMALL_GAP: "dashSmallGap";
|
|
193
|
-
readonly DOT_DASH: "dotDash";
|
|
194
|
-
readonly DOT_DOT_DASH: "dotDotDash";
|
|
195
|
-
readonly DOTTED: "dotted";
|
|
196
|
-
readonly DOUBLE: "double";
|
|
197
|
-
readonly DOUBLE_WAVE: "doubleWave";
|
|
198
|
-
readonly INSET: "inset";
|
|
199
|
-
readonly NIL: "nil";
|
|
52
|
+
declare const TextVerticalType: {
|
|
53
|
+
readonly HORIZONTAL: "horz";
|
|
54
|
+
readonly VERTICAL: "vert";
|
|
55
|
+
readonly VERTICAL_270: "vert270";
|
|
56
|
+
readonly WORD_ART_VERTICAL: "wordArtVert";
|
|
57
|
+
readonly EAST_ASIAN_VERTICAL: "eaVert";
|
|
58
|
+
readonly MONGOLIAN_VERTICAL: "mongolianVert";
|
|
59
|
+
readonly WORD_ART_VERTICAL_RTL: "wordArtVertRtl";
|
|
60
|
+
};
|
|
61
|
+
declare const TextBodyWrappingType: {
|
|
200
62
|
readonly NONE: "none";
|
|
201
|
-
readonly
|
|
202
|
-
readonly THICK: "thick";
|
|
203
|
-
readonly THICK_THIN_LARGE_GAP: "thickThinLargeGap";
|
|
204
|
-
readonly THICK_THIN_MEDIUM_GAP: "thickThinMediumGap";
|
|
205
|
-
readonly THICK_THIN_SMALL_GAP: "thickThinSmallGap";
|
|
206
|
-
readonly THIN_THICK_LARGE_GAP: "thinThickLargeGap";
|
|
207
|
-
readonly THIN_THICK_MEDIUM_GAP: "thinThickMediumGap";
|
|
208
|
-
readonly THIN_THICK_SMALL_GAP: "thinThickSmallGap";
|
|
209
|
-
readonly THIN_THICK_THIN_LARGE_GAP: "thinThickThinLargeGap";
|
|
210
|
-
readonly THIN_THICK_THIN_MEDIUM_GAP: "thinThickThinMediumGap";
|
|
211
|
-
readonly THIN_THICK_THIN_SMALL_GAP: "thinThickThinSmallGap";
|
|
212
|
-
readonly THREE_D_EMBOSS: "threeDEmboss";
|
|
213
|
-
readonly THREE_D_ENGRAVE: "threeDEngrave";
|
|
214
|
-
readonly TRIPLE: "triple";
|
|
215
|
-
readonly WAVE: "wave";
|
|
63
|
+
readonly SQUARE: "square";
|
|
216
64
|
};
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
readonly top?: IBorderOptions;
|
|
221
|
-
readonly bottom?: IBorderOptions;
|
|
222
|
-
readonly left?: IBorderOptions;
|
|
223
|
-
readonly right?: IBorderOptions;
|
|
224
|
-
readonly insideHorizontal?: IBorderOptions;
|
|
225
|
-
readonly insideVertical?: IBorderOptions;
|
|
65
|
+
interface NormalAutofitOptions {
|
|
66
|
+
readonly fontScale?: number;
|
|
67
|
+
readonly lnSpcReduction?: number;
|
|
226
68
|
}
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
69
|
+
interface PresetTextShapeOptions {
|
|
70
|
+
readonly preset: string;
|
|
71
|
+
readonly adjustments?: readonly {
|
|
72
|
+
readonly name: string;
|
|
73
|
+
readonly formula: string;
|
|
74
|
+
}[];
|
|
75
|
+
}
|
|
76
|
+
interface FlatTextOptions {
|
|
77
|
+
readonly z?: number;
|
|
78
|
+
}
|
|
79
|
+
interface IBodyPropertiesOptions {
|
|
80
|
+
readonly rotation?: number;
|
|
81
|
+
readonly spcFirstLastPara?: boolean;
|
|
82
|
+
readonly vertOverflow?: (typeof TextVertOverflowType)[keyof typeof TextVertOverflowType];
|
|
83
|
+
readonly horzOverflow?: (typeof TextHorzOverflowType)[keyof typeof TextHorzOverflowType];
|
|
84
|
+
readonly vert?: (typeof TextVerticalType)[keyof typeof TextVerticalType];
|
|
85
|
+
readonly wrap?: (typeof TextBodyWrappingType)[keyof typeof TextBodyWrappingType];
|
|
86
|
+
readonly lIns?: number;
|
|
87
|
+
readonly tIns?: number;
|
|
88
|
+
readonly rIns?: number;
|
|
89
|
+
readonly bIns?: number;
|
|
90
|
+
readonly numCol?: number;
|
|
91
|
+
readonly spcCol?: number;
|
|
92
|
+
readonly rtlCol?: boolean;
|
|
93
|
+
readonly fromWordArt?: boolean;
|
|
94
|
+
readonly anchor?: (typeof VerticalAnchor)[keyof typeof VerticalAnchor];
|
|
95
|
+
readonly anchorCtr?: boolean;
|
|
96
|
+
readonly forceAA?: boolean;
|
|
97
|
+
readonly upright?: boolean;
|
|
98
|
+
readonly compatLnSpc?: boolean;
|
|
99
|
+
readonly verticalAnchor?: VerticalAnchor;
|
|
100
|
+
readonly margins?: {
|
|
101
|
+
readonly top?: number;
|
|
102
|
+
readonly bottom?: number;
|
|
103
|
+
readonly left?: number;
|
|
104
|
+
readonly right?: number;
|
|
105
|
+
};
|
|
106
|
+
readonly prstTxWarp?: PresetTextShapeOptions;
|
|
107
|
+
readonly noAutoFit?: boolean;
|
|
108
|
+
readonly normAutofit?: NormalAutofitOptions;
|
|
109
|
+
readonly spAutoFit?: boolean;
|
|
110
|
+
readonly scene3d?: Scene3DOptions;
|
|
111
|
+
readonly sp3d?: Shape3DOptions;
|
|
112
|
+
readonly flatTx?: FlatTextOptions;
|
|
230
113
|
}
|
|
114
|
+
declare const createBodyProperties: (options?: IBodyPropertiesOptions) => XmlComponent;
|
|
231
115
|
//#endregion
|
|
232
|
-
//#region src/file/
|
|
233
|
-
interface
|
|
234
|
-
readonly
|
|
235
|
-
readonly top?: number;
|
|
236
|
-
readonly bottom?: number;
|
|
237
|
-
readonly left?: number;
|
|
238
|
-
readonly right?: number;
|
|
116
|
+
//#region src/file/drawing/inline/graphic/graphic-data/wps/non-visual-shape-properties.d.ts
|
|
117
|
+
interface INonVisualShapePropertiesOptions {
|
|
118
|
+
readonly txBox: string;
|
|
239
119
|
}
|
|
240
120
|
//#endregion
|
|
241
|
-
//#region src/file/
|
|
242
|
-
|
|
243
|
-
readonly
|
|
244
|
-
readonly
|
|
245
|
-
readonly
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
readonly
|
|
249
|
-
readonly
|
|
250
|
-
readonly
|
|
251
|
-
readonly
|
|
252
|
-
readonly
|
|
253
|
-
};
|
|
254
|
-
declare const RelativeVerticalPosition: {
|
|
255
|
-
readonly BOTTOM: "bottom";
|
|
256
|
-
readonly CENTER: "center";
|
|
257
|
-
readonly INLINE: "inline";
|
|
258
|
-
readonly INSIDE: "inside";
|
|
259
|
-
readonly OUTSIDE: "outside";
|
|
260
|
-
readonly TOP: "top";
|
|
261
|
-
};
|
|
262
|
-
declare const OverlapType: {
|
|
263
|
-
readonly NEVER: "never";
|
|
264
|
-
readonly OVERLAP: "overlap";
|
|
265
|
-
};
|
|
266
|
-
interface ITableFloatOptions {
|
|
267
|
-
readonly horizontalAnchor?: (typeof TableAnchorType)[keyof typeof TableAnchorType];
|
|
268
|
-
readonly absoluteHorizontalPosition?: number | UniversalMeasure;
|
|
269
|
-
readonly relativeHorizontalPosition?: (typeof RelativeHorizontalPosition)[keyof typeof RelativeHorizontalPosition];
|
|
270
|
-
readonly verticalAnchor?: (typeof TableAnchorType)[keyof typeof TableAnchorType];
|
|
271
|
-
readonly absoluteVerticalPosition?: number | UniversalMeasure;
|
|
272
|
-
readonly relativeVerticalPosition?: (typeof RelativeVerticalPosition)[keyof typeof RelativeVerticalPosition];
|
|
273
|
-
readonly bottomFromText?: number | PositiveUniversalMeasure;
|
|
274
|
-
readonly topFromText?: number | PositiveUniversalMeasure;
|
|
275
|
-
readonly leftFromText?: number | PositiveUniversalMeasure;
|
|
276
|
-
readonly rightFromText?: number | PositiveUniversalMeasure;
|
|
277
|
-
readonly overlap?: (typeof OverlapType)[keyof typeof OverlapType];
|
|
121
|
+
//#region src/file/drawing/inline/graphic/graphic-data/wps/wps-shape.d.ts
|
|
122
|
+
interface WpsShapeCoreOptions {
|
|
123
|
+
readonly children: readonly Paragraph[];
|
|
124
|
+
readonly nonVisualProperties?: INonVisualShapePropertiesOptions;
|
|
125
|
+
readonly bodyProperties?: IBodyPropertiesOptions;
|
|
126
|
+
readonly outline?: OutlineOptions;
|
|
127
|
+
readonly fill?: FillOptions;
|
|
128
|
+
readonly customGeometry?: CustomGeometryOptions;
|
|
129
|
+
readonly effectDag?: EffectDagOptions;
|
|
130
|
+
readonly effects?: EffectListOptions;
|
|
131
|
+
readonly scene3d?: Scene3DOptions;
|
|
132
|
+
readonly shape3d?: Shape3DOptions;
|
|
278
133
|
}
|
|
279
|
-
declare const createTableFloatProperties: ({
|
|
280
|
-
horizontalAnchor,
|
|
281
|
-
verticalAnchor,
|
|
282
|
-
absoluteHorizontalPosition,
|
|
283
|
-
relativeHorizontalPosition,
|
|
284
|
-
absoluteVerticalPosition,
|
|
285
|
-
relativeVerticalPosition,
|
|
286
|
-
bottomFromText,
|
|
287
|
-
topFromText,
|
|
288
|
-
leftFromText,
|
|
289
|
-
rightFromText,
|
|
290
|
-
overlap
|
|
291
|
-
}: ITableFloatOptions) => XmlComponent;
|
|
292
134
|
//#endregion
|
|
293
|
-
//#region src/file/
|
|
294
|
-
|
|
295
|
-
readonly
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
readonly
|
|
306
|
-
|
|
307
|
-
|
|
135
|
+
//#region src/file/media/data.d.ts
|
|
136
|
+
interface IMediaDataTransformation {
|
|
137
|
+
readonly offset?: {
|
|
138
|
+
readonly pixels: {
|
|
139
|
+
readonly x: number;
|
|
140
|
+
readonly y: number;
|
|
141
|
+
};
|
|
142
|
+
readonly emus?: {
|
|
143
|
+
readonly x: number;
|
|
144
|
+
readonly y: number;
|
|
145
|
+
};
|
|
146
|
+
};
|
|
147
|
+
readonly pixels: {
|
|
148
|
+
readonly x: number;
|
|
149
|
+
readonly y: number;
|
|
150
|
+
};
|
|
151
|
+
readonly emus: {
|
|
152
|
+
readonly x: number;
|
|
153
|
+
readonly y: number;
|
|
154
|
+
};
|
|
155
|
+
readonly flip?: {
|
|
156
|
+
readonly vertical?: boolean;
|
|
157
|
+
readonly horizontal?: boolean;
|
|
158
|
+
};
|
|
159
|
+
readonly rotation?: number;
|
|
308
160
|
}
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
noHBand,
|
|
315
|
-
noVBand
|
|
316
|
-
}: ITableLookOptions) => XmlComponent;
|
|
317
|
-
//#endregion
|
|
318
|
-
//#region src/file/table/table-properties/table-properties.d.ts
|
|
319
|
-
interface ITablePropertiesOptionsBase {
|
|
320
|
-
readonly width?: ITableWidthProperties;
|
|
321
|
-
readonly indent?: ITableWidthProperties;
|
|
322
|
-
readonly layout?: (typeof TableLayoutType)[keyof typeof TableLayoutType];
|
|
323
|
-
readonly borders?: ITableBordersOptions;
|
|
324
|
-
readonly float?: ITableFloatOptions;
|
|
325
|
-
readonly shading?: IShadingAttributesProperties;
|
|
326
|
-
readonly style?: string;
|
|
327
|
-
readonly alignment?: (typeof AlignmentType)[keyof typeof AlignmentType];
|
|
328
|
-
readonly cellMargin?: ITableCellMarginOptions;
|
|
329
|
-
readonly visuallyRightToLeft?: boolean;
|
|
330
|
-
readonly tableLook?: ITableLookOptions;
|
|
331
|
-
readonly cellSpacing?: ITableCellSpacingProperties;
|
|
332
|
-
readonly styleRowBandSize?: number;
|
|
333
|
-
readonly styleColBandSize?: number;
|
|
334
|
-
readonly caption?: string;
|
|
335
|
-
readonly description?: string;
|
|
161
|
+
interface CoreMediaData {
|
|
162
|
+
readonly fileName: string;
|
|
163
|
+
readonly transformation: IMediaDataTransformation;
|
|
164
|
+
readonly data: Uint8Array;
|
|
165
|
+
readonly srcRect?: SourceRectangleOptions;
|
|
336
166
|
}
|
|
337
|
-
|
|
338
|
-
type
|
|
339
|
-
readonly revision?: ITablePropertiesChangeOptions;
|
|
340
|
-
readonly includeIfEmpty?: boolean;
|
|
341
|
-
} & ITablePropertiesOptionsBase;
|
|
342
|
-
declare class TableProperties extends IgnoreIfEmptyXmlComponent {
|
|
343
|
-
constructor(options: ITablePropertiesOptions);
|
|
167
|
+
interface RegularMediaData {
|
|
168
|
+
readonly type: "jpg" | "png" | "gif" | "bmp" | "tif" | "ico" | "emf" | "wmf";
|
|
344
169
|
}
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
declare class InsertedTextRun extends XmlComponent {
|
|
349
|
-
constructor(options: IInsertedRunOptions);
|
|
170
|
+
interface SvgMediaData {
|
|
171
|
+
readonly type: "svg";
|
|
172
|
+
readonly fallback: RegularMediaData & CoreMediaData;
|
|
350
173
|
}
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
readonly
|
|
355
|
-
readonly ROUND: "round";
|
|
356
|
-
readonly SQUARE: "square";
|
|
357
|
-
readonly ANGLE: "angle";
|
|
358
|
-
readonly CURLY: "curly";
|
|
359
|
-
};
|
|
360
|
-
interface EastAsianLayoutOptions {
|
|
361
|
-
readonly id?: number;
|
|
362
|
-
readonly combine?: boolean;
|
|
363
|
-
readonly combineBrackets?: (typeof CombineBracketsType)[keyof typeof CombineBracketsType];
|
|
364
|
-
readonly vert?: boolean;
|
|
365
|
-
readonly vertCompress?: boolean;
|
|
174
|
+
interface WpsMediaData {
|
|
175
|
+
readonly type: "wps";
|
|
176
|
+
readonly transformation: IMediaDataTransformation;
|
|
177
|
+
readonly data: WpsShapeCoreOptions;
|
|
366
178
|
}
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
readonly NONE: "none";
|
|
371
|
-
readonly COMMA: "comma";
|
|
372
|
-
readonly CIRCLE: "circle";
|
|
373
|
-
readonly DOT: "dot";
|
|
374
|
-
readonly UNDER_DOT: "underDot";
|
|
375
|
-
};
|
|
376
|
-
declare const createEmphasisMark: (emphasisMarkType?: (typeof EmphasisMarkType)[keyof typeof EmphasisMarkType]) => XmlComponent;
|
|
377
|
-
declare const createDotEmphasisMark: () => XmlComponent;
|
|
378
|
-
//#endregion
|
|
379
|
-
//#region src/file/paragraph/run/formatting.d.ts
|
|
380
|
-
interface ColorOptions {
|
|
381
|
-
readonly val?: string;
|
|
382
|
-
readonly themeColor?: (typeof ThemeColor)[keyof typeof ThemeColor];
|
|
383
|
-
readonly themeTint?: string;
|
|
384
|
-
readonly themeShade?: string;
|
|
179
|
+
interface WpgCommonMediaData {
|
|
180
|
+
readonly outline?: OutlineOptions;
|
|
181
|
+
readonly fill?: FillOptions;
|
|
385
182
|
}
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
readonly
|
|
390
|
-
readonly
|
|
391
|
-
readonly
|
|
183
|
+
type IGroupChildMediaData = (WpsMediaData | IMediaData) & WpgCommonMediaData;
|
|
184
|
+
interface WpgMediaData {
|
|
185
|
+
readonly type: "wpg";
|
|
186
|
+
readonly transformation: IMediaDataTransformation;
|
|
187
|
+
readonly children: readonly IGroupChildMediaData[];
|
|
188
|
+
readonly chOff?: IChildOffset;
|
|
189
|
+
readonly chExt?: IChildExtent;
|
|
190
|
+
readonly fill?: FillOptions;
|
|
191
|
+
readonly effects?: EffectListOptions;
|
|
392
192
|
}
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
readonly
|
|
397
|
-
readonly cs?: string;
|
|
398
|
-
readonly eastAsia?: string;
|
|
399
|
-
readonly hAnsi?: string;
|
|
400
|
-
readonly hint?: string;
|
|
401
|
-
readonly asciiTheme?: (typeof ThemeFont)[keyof typeof ThemeFont];
|
|
402
|
-
readonly hAnsiTheme?: (typeof ThemeFont)[keyof typeof ThemeFont];
|
|
403
|
-
readonly eastAsiaTheme?: (typeof ThemeFont)[keyof typeof ThemeFont];
|
|
404
|
-
readonly cstheme?: (typeof ThemeFont)[keyof typeof ThemeFont];
|
|
193
|
+
interface ChartMediaData {
|
|
194
|
+
readonly type: "chart";
|
|
195
|
+
readonly transformation: IMediaDataTransformation;
|
|
196
|
+
readonly chartKey: string;
|
|
405
197
|
}
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
readonly SINGLE: "single";
|
|
411
|
-
readonly WORDS: "words";
|
|
412
|
-
readonly DOUBLE: "double";
|
|
413
|
-
readonly THICK: "thick";
|
|
414
|
-
readonly DOTTED: "dotted";
|
|
415
|
-
readonly DOTTEDHEAVY: "dottedHeavy";
|
|
416
|
-
readonly DASH: "dash";
|
|
417
|
-
readonly DASHEDHEAVY: "dashedHeavy";
|
|
418
|
-
readonly DASHLONG: "dashLong";
|
|
419
|
-
readonly DASHLONGHEAVY: "dashLongHeavy";
|
|
420
|
-
readonly DOTDASH: "dotDash";
|
|
421
|
-
readonly DASHDOTHEAVY: "dashDotHeavy";
|
|
422
|
-
readonly DOTDOTDASH: "dotDotDash";
|
|
423
|
-
readonly DASHDOTDOTHEAVY: "dashDotDotHeavy";
|
|
424
|
-
readonly WAVE: "wave";
|
|
425
|
-
readonly WAVYHEAVY: "wavyHeavy";
|
|
426
|
-
readonly WAVYDOUBLE: "wavyDouble";
|
|
427
|
-
readonly NONE: "none";
|
|
428
|
-
};
|
|
429
|
-
declare const createUnderline: (underlineType?: (typeof UnderlineType)[keyof typeof UnderlineType], color?: string, themeColor?: (typeof ThemeColor)[keyof typeof ThemeColor], themeTint?: string, themeShade?: string) => XmlComponent;
|
|
430
|
-
//#endregion
|
|
431
|
-
//#region src/file/paragraph/run/properties.d.ts
|
|
432
|
-
interface IFontOptions {
|
|
433
|
-
readonly name: string;
|
|
434
|
-
readonly hint?: string;
|
|
198
|
+
interface SmartArtMediaData {
|
|
199
|
+
readonly type: "smartart";
|
|
200
|
+
readonly transformation: IMediaDataTransformation;
|
|
201
|
+
readonly smartArtKey: string;
|
|
435
202
|
}
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
readonly
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
declare const HighlightColor: {
|
|
446
|
-
readonly BLACK: "black";
|
|
447
|
-
readonly BLUE: "blue";
|
|
448
|
-
readonly CYAN: "cyan";
|
|
449
|
-
readonly DARK_BLUE: "darkBlue";
|
|
450
|
-
readonly DARK_CYAN: "darkCyan";
|
|
451
|
-
readonly DARK_GRAY: "darkGray";
|
|
452
|
-
readonly DARK_GREEN: "darkGreen";
|
|
453
|
-
readonly DARK_MAGENTA: "darkMagenta";
|
|
454
|
-
readonly DARK_RED: "darkRed";
|
|
455
|
-
readonly DARK_YELLOW: "darkYellow";
|
|
456
|
-
readonly GREEN: "green";
|
|
457
|
-
readonly LIGHT_GRAY: "lightGray";
|
|
458
|
-
readonly MAGENTA: "magenta";
|
|
459
|
-
readonly NONE: "none";
|
|
460
|
-
readonly RED: "red";
|
|
461
|
-
readonly WHITE: "white";
|
|
462
|
-
readonly YELLOW: "yellow";
|
|
463
|
-
};
|
|
464
|
-
interface RunStylePropertiesOptions {
|
|
465
|
-
readonly noProof?: boolean;
|
|
466
|
-
readonly bold?: boolean;
|
|
467
|
-
readonly boldComplexScript?: boolean;
|
|
468
|
-
readonly italics?: boolean;
|
|
469
|
-
readonly italicsComplexScript?: boolean;
|
|
470
|
-
readonly underline?: {
|
|
471
|
-
readonly color?: string;
|
|
472
|
-
readonly type?: (typeof UnderlineType)[keyof typeof UnderlineType];
|
|
203
|
+
type IExtendedMediaData = IMediaData | WpsMediaData | WpgMediaData | ChartMediaData | SmartArtMediaData;
|
|
204
|
+
type IMediaData = (RegularMediaData | SvgMediaData) & CoreMediaData;
|
|
205
|
+
declare const WORKAROUND2 = "";
|
|
206
|
+
//#endregion
|
|
207
|
+
//#region src/file/media/media.d.ts
|
|
208
|
+
interface IMediaTransformation {
|
|
209
|
+
readonly offset?: {
|
|
210
|
+
readonly top?: number;
|
|
211
|
+
readonly left?: number;
|
|
473
212
|
};
|
|
474
|
-
readonly
|
|
475
|
-
readonly
|
|
476
|
-
|
|
213
|
+
readonly width: number;
|
|
214
|
+
readonly height: number;
|
|
215
|
+
readonly flip?: {
|
|
216
|
+
readonly vertical?: boolean;
|
|
217
|
+
readonly horizontal?: boolean;
|
|
477
218
|
};
|
|
478
|
-
readonly
|
|
479
|
-
readonly kern?: number | PositiveUniversalMeasure;
|
|
480
|
-
readonly position?: UniversalMeasure;
|
|
481
|
-
readonly size?: number | PositiveUniversalMeasure;
|
|
482
|
-
readonly sizeComplexScript?: boolean | number | PositiveUniversalMeasure;
|
|
483
|
-
readonly rightToLeft?: boolean;
|
|
484
|
-
readonly smallCaps?: boolean;
|
|
485
|
-
readonly allCaps?: boolean;
|
|
486
|
-
readonly strike?: boolean;
|
|
487
|
-
readonly doubleStrike?: boolean;
|
|
488
|
-
readonly subScript?: boolean;
|
|
489
|
-
readonly superScript?: boolean;
|
|
490
|
-
readonly font?: string | IFontOptions | IFontAttributesProperties;
|
|
491
|
-
readonly highlight?: (typeof HighlightColor)[keyof typeof HighlightColor];
|
|
492
|
-
readonly highlightComplexScript?: boolean | string;
|
|
493
|
-
readonly characterSpacing?: number;
|
|
494
|
-
readonly shading?: IShadingAttributesProperties;
|
|
495
|
-
readonly emboss?: boolean;
|
|
496
|
-
readonly imprint?: boolean;
|
|
497
|
-
readonly revision?: IRunPropertiesChangeOptions;
|
|
498
|
-
readonly language?: ILanguageOptions;
|
|
499
|
-
readonly border?: IBorderOptions;
|
|
500
|
-
readonly snapToGrid?: boolean;
|
|
501
|
-
readonly vanish?: boolean;
|
|
502
|
-
readonly specVanish?: boolean;
|
|
503
|
-
readonly scale?: number;
|
|
504
|
-
readonly math?: boolean;
|
|
505
|
-
readonly outline?: boolean;
|
|
506
|
-
readonly shadow?: boolean;
|
|
507
|
-
readonly webHidden?: boolean;
|
|
508
|
-
readonly fitText?: number;
|
|
509
|
-
readonly complexScript?: boolean;
|
|
510
|
-
readonly eastAsianLayout?: EastAsianLayoutOptions;
|
|
511
|
-
}
|
|
512
|
-
type IRunPropertiesOptions = {
|
|
513
|
-
readonly style?: string;
|
|
514
|
-
} & RunStylePropertiesOptions;
|
|
515
|
-
type IRunPropertiesChangeOptions = {} & IRunPropertiesOptions & IChangedAttributesProperties;
|
|
516
|
-
type IParagraphRunPropertiesOptions = {
|
|
517
|
-
readonly insertion?: IChangedAttributesProperties;
|
|
518
|
-
readonly deletion?: IChangedAttributesProperties;
|
|
519
|
-
} & IRunPropertiesOptions;
|
|
520
|
-
declare class RunProperties extends IgnoreIfEmptyXmlComponent {
|
|
521
|
-
constructor(options?: IRunPropertiesOptions);
|
|
522
|
-
push(item: XmlComponent): void;
|
|
523
|
-
}
|
|
524
|
-
declare class ParagraphRunProperties extends RunProperties {
|
|
525
|
-
constructor(options?: IParagraphRunPropertiesOptions);
|
|
219
|
+
readonly rotation?: number;
|
|
526
220
|
}
|
|
527
|
-
declare
|
|
528
|
-
|
|
221
|
+
declare const createTransformation: (options: IMediaTransformation) => IMediaDataTransformation;
|
|
222
|
+
declare class Media {
|
|
223
|
+
private readonly map;
|
|
224
|
+
constructor();
|
|
225
|
+
addImage(key: string, mediaData: IMediaData): void;
|
|
226
|
+
get Array(): readonly IMediaData[];
|
|
529
227
|
}
|
|
530
228
|
//#endregion
|
|
531
|
-
//#region src/file/
|
|
532
|
-
declare class
|
|
533
|
-
|
|
229
|
+
//#region src/file/table-of-contents/table-of-contents-properties.d.ts
|
|
230
|
+
declare class StyleLevel {
|
|
231
|
+
readonly styleName: string;
|
|
232
|
+
readonly level: number;
|
|
233
|
+
constructor(styleName: string, level: number);
|
|
534
234
|
}
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
readonly
|
|
539
|
-
readonly
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
235
|
+
interface ITableOfContentsOptions {
|
|
236
|
+
readonly captionLabel?: string;
|
|
237
|
+
readonly entriesFromBookmark?: string;
|
|
238
|
+
readonly captionLabelIncludingNumbers?: string;
|
|
239
|
+
readonly sequenceAndPageNumbersSeparator?: string;
|
|
240
|
+
readonly tcFieldIdentifier?: string;
|
|
241
|
+
readonly hyperlink?: boolean;
|
|
242
|
+
readonly tcFieldLevelRange?: string;
|
|
243
|
+
readonly pageNumbersEntryLevelsRange?: string;
|
|
244
|
+
readonly headingStyleRange?: string;
|
|
245
|
+
readonly entryAndPageNumberSeparator?: string;
|
|
246
|
+
readonly seqFieldIdentifierForPrefix?: string;
|
|
247
|
+
readonly stylesWithLevels?: readonly StyleLevel[];
|
|
248
|
+
readonly useAppliedParagraphOutlineLevel?: boolean;
|
|
249
|
+
readonly preserveTabInEntries?: boolean;
|
|
250
|
+
readonly preserveNewLineInEntries?: boolean;
|
|
251
|
+
readonly hideTabAndPageNumbersInWebView?: boolean;
|
|
543
252
|
}
|
|
544
253
|
//#endregion
|
|
545
|
-
//#region src/file/
|
|
546
|
-
interface
|
|
547
|
-
readonly
|
|
548
|
-
readonly
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
readonly name: string;
|
|
552
|
-
readonly description?: string;
|
|
553
|
-
readonly title?: string;
|
|
554
|
-
readonly id?: string;
|
|
555
|
-
readonly hyperlink?: HyperlinkOptions;
|
|
254
|
+
//#region src/file/table-of-contents/table-of-contents.d.ts
|
|
255
|
+
interface ToCEntry {
|
|
256
|
+
readonly title: string;
|
|
257
|
+
readonly level: number;
|
|
258
|
+
readonly page?: number;
|
|
259
|
+
readonly href?: string;
|
|
556
260
|
}
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
261
|
+
declare class TableOfContents extends XmlComponent implements FileChild {
|
|
262
|
+
readonly fileChild: symbol;
|
|
263
|
+
constructor(alias?: string, {
|
|
264
|
+
contentChildren,
|
|
265
|
+
cachedEntries,
|
|
266
|
+
beginDirty,
|
|
267
|
+
...properties
|
|
268
|
+
}?: ITableOfContentsOptions & {
|
|
269
|
+
readonly contentChildren?: readonly (BaseXmlComponent | string)[];
|
|
270
|
+
readonly cachedEntries?: readonly ToCEntry[];
|
|
271
|
+
readonly beginDirty?: boolean;
|
|
272
|
+
});
|
|
273
|
+
private getTabStopsForLevel;
|
|
274
|
+
private buildCachedContentRun;
|
|
275
|
+
private buildCachedContentParagraphChild;
|
|
564
276
|
}
|
|
565
277
|
//#endregion
|
|
566
|
-
//#region src/file/
|
|
567
|
-
|
|
568
|
-
readonly
|
|
569
|
-
readonly
|
|
570
|
-
readonly
|
|
571
|
-
readonly
|
|
572
|
-
readonly gray?: boolean;
|
|
573
|
-
readonly alpha?: number;
|
|
574
|
-
readonly alphaOff?: number;
|
|
575
|
-
readonly alphaMod?: number;
|
|
576
|
-
readonly hue?: number;
|
|
577
|
-
readonly hueOff?: number;
|
|
578
|
-
readonly hueMod?: number;
|
|
579
|
-
readonly sat?: number;
|
|
580
|
-
readonly satOff?: number;
|
|
581
|
-
readonly satMod?: number;
|
|
582
|
-
readonly lum?: number;
|
|
583
|
-
readonly lumOff?: number;
|
|
584
|
-
readonly lumMod?: number;
|
|
585
|
-
readonly red?: number;
|
|
586
|
-
readonly redOff?: number;
|
|
587
|
-
readonly redMod?: number;
|
|
588
|
-
readonly green?: number;
|
|
589
|
-
readonly greenOff?: number;
|
|
590
|
-
readonly greenMod?: number;
|
|
591
|
-
readonly blue?: number;
|
|
592
|
-
readonly blueOff?: number;
|
|
593
|
-
readonly blueMod?: number;
|
|
594
|
-
readonly gamma?: boolean;
|
|
595
|
-
readonly invGamma?: boolean;
|
|
596
|
-
}
|
|
597
|
-
//#endregion
|
|
598
|
-
//#region src/file/drawing/inline/graphic/graphic-data/pic/shape-properties/outline/hsl-color.d.ts
|
|
599
|
-
interface HslColorOptions {
|
|
600
|
-
readonly hue: number;
|
|
601
|
-
readonly sat: number;
|
|
602
|
-
readonly lum: number;
|
|
603
|
-
readonly transforms?: ColorTransformOptions;
|
|
604
|
-
}
|
|
605
|
-
//#endregion
|
|
606
|
-
//#region src/file/drawing/inline/graphic/graphic-data/pic/shape-properties/outline/preset-color.d.ts
|
|
607
|
-
declare const PresetColor: {
|
|
608
|
-
readonly ALICE_BLUE: "aliceBlue";
|
|
609
|
-
readonly ANTIQUE_WHITE: "antiqueWhite";
|
|
610
|
-
readonly AQUA: "aqua";
|
|
611
|
-
readonly AQUAMARINE: "aquamarine";
|
|
612
|
-
readonly AZURE: "azure";
|
|
613
|
-
readonly BEIGE: "beige";
|
|
614
|
-
readonly BISQUE: "bisque";
|
|
615
|
-
readonly BLACK: "black";
|
|
616
|
-
readonly BLANCHED_ALMOND: "blanchedAlmond";
|
|
617
|
-
readonly BLUE: "blue";
|
|
618
|
-
readonly BLUE_VIOLET: "blueViolet";
|
|
619
|
-
readonly BROWN: "brown";
|
|
620
|
-
readonly BURLY_WOOD: "burlyWood";
|
|
621
|
-
readonly CADET_BLUE: "cadetBlue";
|
|
622
|
-
readonly CHARTREUSE: "chartreuse";
|
|
623
|
-
readonly CHOCOLATE: "chocolate";
|
|
624
|
-
readonly CORAL: "coral";
|
|
625
|
-
readonly CORNFLOWER_BLUE: "cornflowerBlue";
|
|
626
|
-
readonly CORNSILK: "cornsilk";
|
|
627
|
-
readonly CRIMSON: "crimson";
|
|
628
|
-
readonly CYAN: "cyan";
|
|
629
|
-
readonly DARK_BLUE: "darkBlue";
|
|
630
|
-
readonly DARK_CYAN: "darkCyan";
|
|
631
|
-
readonly DARK_GOLDENROD: "darkGoldenrod";
|
|
632
|
-
readonly DARK_GRAY: "darkGray";
|
|
633
|
-
readonly DARK_GREY: "darkGrey";
|
|
634
|
-
readonly DARK_GREEN: "darkGreen";
|
|
635
|
-
readonly DARK_KHAKI: "darkKhaki";
|
|
636
|
-
readonly DARK_MAGENTA: "darkMagenta";
|
|
637
|
-
readonly DARK_OLIVE_GREEN: "darkOliveGreen";
|
|
638
|
-
readonly DARK_ORANGE: "darkOrange";
|
|
639
|
-
readonly DARK_ORCHID: "darkOrchid";
|
|
640
|
-
readonly DARK_RED: "darkRed";
|
|
641
|
-
readonly DARK_SALMON: "darkSalmon";
|
|
642
|
-
readonly DARK_SEA_GREEN: "darkSeaGreen";
|
|
643
|
-
readonly DARK_SLATE_BLUE: "darkSlateBlue";
|
|
644
|
-
readonly DARK_SLATE_GRAY: "darkSlateGray";
|
|
645
|
-
readonly DARK_SLATE_GREY: "darkSlateGrey";
|
|
646
|
-
readonly DARK_TURQUOISE: "darkTurquoise";
|
|
647
|
-
readonly DARK_VIOLET: "darkViolet";
|
|
648
|
-
readonly DEEP_PINK: "deepPink";
|
|
649
|
-
readonly DEEP_SKY_BLUE: "deepSkyBlue";
|
|
650
|
-
readonly DIM_GRAY: "dimGray";
|
|
651
|
-
readonly DIM_GREY: "dimGrey";
|
|
652
|
-
readonly DODGER_BLUE: "dodgerBlue";
|
|
653
|
-
readonly FIREBRICK: "firebrick";
|
|
654
|
-
readonly FLORAL_WHITE: "floralWhite";
|
|
655
|
-
readonly FOREST_GREEN: "forestGreen";
|
|
656
|
-
readonly FUCHSIA: "fuchsia";
|
|
657
|
-
readonly GAINSBORO: "gainsboro";
|
|
658
|
-
readonly GHOST_WHITE: "ghostWhite";
|
|
659
|
-
readonly GOLD: "gold";
|
|
660
|
-
readonly GOLDENROD: "goldenrod";
|
|
661
|
-
readonly GRAY: "gray";
|
|
662
|
-
readonly GREY: "grey";
|
|
663
|
-
readonly GREEN: "green";
|
|
664
|
-
readonly GREEN_YELLOW: "greenYellow";
|
|
665
|
-
readonly HONEYDEW: "honeydew";
|
|
666
|
-
readonly HOT_PINK: "hotPink";
|
|
667
|
-
readonly INDIAN_RED: "indianRed";
|
|
668
|
-
readonly INDIGO: "indigo";
|
|
669
|
-
readonly IVORY: "ivory";
|
|
670
|
-
readonly KHAKI: "khaki";
|
|
671
|
-
readonly LAVENDER: "lavender";
|
|
672
|
-
readonly LAVENDER_BLUSH: "lavenderBlush";
|
|
673
|
-
readonly LAWN_GREEN: "lawnGreen";
|
|
674
|
-
readonly LEMON_CHIFFON: "lemonChiffon";
|
|
675
|
-
readonly LIGHT_BLUE: "lightBlue";
|
|
676
|
-
readonly LIGHT_CORAL: "lightCoral";
|
|
677
|
-
readonly LIGHT_CYAN: "lightCyan";
|
|
678
|
-
readonly LIGHT_GOLDENROD_YELLOW: "lightGoldenrodYellow";
|
|
679
|
-
readonly LIGHT_GRAY: "lightGray";
|
|
680
|
-
readonly LIGHT_GREY: "lightGrey";
|
|
681
|
-
readonly LIGHT_GREEN: "lightGreen";
|
|
682
|
-
readonly LIGHT_PINK: "lightPink";
|
|
683
|
-
readonly LIGHT_SALMON: "lightSalmon";
|
|
684
|
-
readonly LIGHT_SEA_GREEN: "lightSeaGreen";
|
|
685
|
-
readonly LIGHT_SKY_BLUE: "lightSkyBlue";
|
|
686
|
-
readonly LIGHT_SLATE_GRAY: "lightSlateGray";
|
|
687
|
-
readonly LIGHT_SLATE_GREY: "lightSlateGrey";
|
|
688
|
-
readonly LIGHT_STEEL_BLUE: "lightSteelBlue";
|
|
689
|
-
readonly LIGHT_YELLOW: "lightYellow";
|
|
690
|
-
readonly LIME: "lime";
|
|
691
|
-
readonly LIME_GREEN: "limeGreen";
|
|
692
|
-
readonly LINEN: "linen";
|
|
693
|
-
readonly MAGENTA: "magenta";
|
|
694
|
-
readonly MAROON: "maroon";
|
|
695
|
-
readonly MEDIUM_AQUAMARINE: "mediumAquamarine";
|
|
696
|
-
readonly MEDIUM_BLUE: "mediumBlue";
|
|
697
|
-
readonly MEDIUM_ORCHID: "mediumOrchid";
|
|
698
|
-
readonly MEDIUM_PURPLE: "mediumPurple";
|
|
699
|
-
readonly MEDIUM_SEA_GREEN: "mediumSeaGreen";
|
|
700
|
-
readonly MEDIUM_SLATE_BLUE: "mediumSlateBlue";
|
|
701
|
-
readonly MEDIUM_SPRING_GREEN: "mediumSpringGreen";
|
|
702
|
-
readonly MEDIUM_TURQUOISE: "mediumTurquoise";
|
|
703
|
-
readonly MEDIUM_VIOLET_RED: "mediumVioletRed";
|
|
704
|
-
readonly MIDNIGHT_BLUE: "midnightBlue";
|
|
705
|
-
readonly MINT_CREAM: "mintCream";
|
|
706
|
-
readonly MISTY_ROSE: "mistyRose";
|
|
707
|
-
readonly MOCCASIN: "moccasin";
|
|
708
|
-
readonly NAVAJO_WHITE: "navajoWhite";
|
|
709
|
-
readonly NAVY: "navy";
|
|
710
|
-
readonly OLD_LACE: "oldLace";
|
|
711
|
-
readonly OLIVE: "olive";
|
|
712
|
-
readonly OLIVE_DRAB: "oliveDrab";
|
|
713
|
-
readonly ORANGE: "orange";
|
|
714
|
-
readonly ORANGE_RED: "orangeRed";
|
|
715
|
-
readonly ORCHID: "orchid";
|
|
716
|
-
readonly PALE_GOLDENROD: "paleGoldenrod";
|
|
717
|
-
readonly PALE_GREEN: "paleGreen";
|
|
718
|
-
readonly PALE_TURQUOISE: "paleTurquoise";
|
|
719
|
-
readonly PALE_VIOLET_RED: "paleVioletRed";
|
|
720
|
-
readonly PAPAYA_WHIP: "papayaWhip";
|
|
721
|
-
readonly PEACH_PUFF: "peachPuff";
|
|
722
|
-
readonly PERU: "peru";
|
|
723
|
-
readonly PINK: "pink";
|
|
724
|
-
readonly PLUM: "plum";
|
|
725
|
-
readonly POWDER_BLUE: "powderBlue";
|
|
726
|
-
readonly PURPLE: "purple";
|
|
727
|
-
readonly RED: "red";
|
|
728
|
-
readonly ROSY_BROWN: "rosyBrown";
|
|
729
|
-
readonly ROYAL_BLUE: "royalBlue";
|
|
730
|
-
readonly SADDLE_BROWN: "saddleBrown";
|
|
731
|
-
readonly SALMON: "salmon";
|
|
732
|
-
readonly SANDY_BROWN: "sandyBrown";
|
|
733
|
-
readonly SEA_GREEN: "seaGreen";
|
|
734
|
-
readonly SEA_SHELL: "seaShell";
|
|
735
|
-
readonly SIENNA: "sienna";
|
|
736
|
-
readonly SILVER: "silver";
|
|
737
|
-
readonly SKY_BLUE: "skyBlue";
|
|
738
|
-
readonly SLATE_BLUE: "slateBlue";
|
|
739
|
-
readonly SLATE_GRAY: "slateGray";
|
|
740
|
-
readonly SLATE_GREY: "slateGrey";
|
|
741
|
-
readonly SNOW: "snow";
|
|
742
|
-
readonly SPRING_GREEN: "springGreen";
|
|
743
|
-
readonly STEEL_BLUE: "steelBlue";
|
|
744
|
-
readonly TAN: "tan";
|
|
745
|
-
readonly TEAL: "teal";
|
|
746
|
-
readonly THISTLE: "thistle";
|
|
747
|
-
readonly TOMATO: "tomato";
|
|
748
|
-
readonly TURQUOISE: "turquoise";
|
|
749
|
-
readonly VIOLET: "violet";
|
|
750
|
-
readonly WHEAT: "wheat";
|
|
751
|
-
readonly WHITE: "white";
|
|
752
|
-
readonly WHITE_SMOKE: "whiteSmoke";
|
|
753
|
-
readonly YELLOW: "yellow";
|
|
754
|
-
readonly YELLOW_GREEN: "yellowGreen";
|
|
278
|
+
//#region src/file/table-of-contents/sdt-properties.d.ts
|
|
279
|
+
declare const SdtLock: {
|
|
280
|
+
readonly SDT_LOCKED: "sdtLocked";
|
|
281
|
+
readonly CONTENT_LOCKED: "contentLocked";
|
|
282
|
+
readonly UNLOCKED: "unlocked";
|
|
283
|
+
readonly SDT_CONTENT_LOCKED: "sdtContentLocked";
|
|
755
284
|
};
|
|
756
|
-
interface
|
|
757
|
-
readonly
|
|
758
|
-
readonly
|
|
285
|
+
interface SdtListItem {
|
|
286
|
+
readonly displayText?: string;
|
|
287
|
+
readonly value?: string;
|
|
759
288
|
}
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
readonly
|
|
770
|
-
readonly
|
|
771
|
-
readonly
|
|
772
|
-
readonly transforms?: ColorTransformOptions;
|
|
773
|
-
}
|
|
774
|
-
//#endregion
|
|
775
|
-
//#region src/file/drawing/inline/graphic/graphic-data/pic/shape-properties/outline/scheme-color.d.ts
|
|
776
|
-
interface SchemeColorOptions {
|
|
777
|
-
readonly value: (typeof SchemeColor)[keyof typeof SchemeColor];
|
|
778
|
-
readonly transforms?: ColorTransformOptions;
|
|
779
|
-
}
|
|
780
|
-
declare const SchemeColor: {
|
|
781
|
-
readonly BG1: "bg1";
|
|
782
|
-
readonly TX1: "tx1";
|
|
783
|
-
readonly BG2: "bg2";
|
|
784
|
-
readonly TX2: "tx2";
|
|
785
|
-
readonly ACCENT1: "accent1";
|
|
786
|
-
readonly ACCENT2: "accent2";
|
|
787
|
-
readonly ACCENT3: "accent3";
|
|
788
|
-
readonly ACCENT4: "accent4";
|
|
789
|
-
readonly ACCENT5: "accent5";
|
|
790
|
-
readonly ACCENT6: "accent6";
|
|
791
|
-
readonly HLINK: "hlink";
|
|
792
|
-
readonly FOLHLINK: "folHlink";
|
|
793
|
-
readonly DK1: "dk1";
|
|
794
|
-
readonly LT1: "lt1";
|
|
795
|
-
readonly DK2: "dk2";
|
|
796
|
-
readonly LT2: "lt2";
|
|
797
|
-
readonly PHCLR: "phClr";
|
|
798
|
-
};
|
|
799
|
-
//#endregion
|
|
800
|
-
//#region src/file/drawing/inline/graphic/graphic-data/pic/shape-properties/outline/system-color.d.ts
|
|
801
|
-
declare const SystemColor: {
|
|
802
|
-
readonly SCROLL_BAR: "scrollBar";
|
|
803
|
-
readonly BACKGROUND: "background";
|
|
804
|
-
readonly ACTIVE_CAPTION: "activeCaption";
|
|
805
|
-
readonly INACTIVE_CAPTION: "inactiveCaption";
|
|
806
|
-
readonly MENU: "menu";
|
|
807
|
-
readonly WINDOW: "window";
|
|
808
|
-
readonly WINDOW_FRAME: "windowFrame";
|
|
809
|
-
readonly MENU_TEXT: "menuText";
|
|
810
|
-
readonly WINDOW_TEXT: "windowText";
|
|
811
|
-
readonly CAPTION_TEXT: "captionText";
|
|
812
|
-
readonly ACTIVE_BORDER: "activeBorder";
|
|
813
|
-
readonly INACTIVE_BORDER: "inactiveBorder";
|
|
814
|
-
readonly APP_WORKSPACE: "appWorkspace";
|
|
815
|
-
readonly HIGHLIGHT: "highlight";
|
|
816
|
-
readonly HIGHLIGHT_TEXT: "highlightText";
|
|
817
|
-
readonly BTN_FACE: "btnFace";
|
|
818
|
-
readonly BTN_SHADOW: "btnShadow";
|
|
819
|
-
readonly GRAY_TEXT: "grayText";
|
|
820
|
-
readonly BTN_TEXT: "btnText";
|
|
821
|
-
readonly INACTIVE_CAPTION_TEXT: "inactiveCaptionText";
|
|
822
|
-
readonly BTN_HIGHLIGHT: "btnHighlight";
|
|
823
|
-
readonly THREE_D_DK_SHADOW: "3dDkShadow";
|
|
824
|
-
readonly THREE_D_LIGHT: "3dLight";
|
|
825
|
-
readonly INFO_TEXT: "infoText";
|
|
826
|
-
readonly INFO_BK: "infoBk";
|
|
827
|
-
readonly HOT_LIGHT: "hotLight";
|
|
828
|
-
readonly GRADIENT_ACTIVE_CAPTION: "gradientActiveCaption";
|
|
829
|
-
readonly GRADIENT_INACTIVE_CAPTION: "gradientInactiveCaption";
|
|
830
|
-
readonly MENU_HIGHLIGHT: "menuHighlight";
|
|
831
|
-
readonly MENU_BAR: "menuBar";
|
|
289
|
+
interface SdtComboBoxOptions {
|
|
290
|
+
readonly items?: readonly SdtListItem[];
|
|
291
|
+
readonly lastValue?: string;
|
|
292
|
+
}
|
|
293
|
+
interface SdtDropDownListOptions {
|
|
294
|
+
readonly items?: readonly SdtListItem[];
|
|
295
|
+
readonly lastValue?: string;
|
|
296
|
+
}
|
|
297
|
+
declare const SdtDateMappingType: {
|
|
298
|
+
readonly TEXT: "text";
|
|
299
|
+
readonly DATE: "date";
|
|
300
|
+
readonly DATE_TIME: "dateTime";
|
|
832
301
|
};
|
|
833
|
-
interface
|
|
834
|
-
readonly
|
|
835
|
-
readonly
|
|
836
|
-
readonly
|
|
302
|
+
interface SdtDateOptions {
|
|
303
|
+
readonly dateFormat?: string;
|
|
304
|
+
readonly languageId?: string;
|
|
305
|
+
readonly storeMappedDataAs?: (typeof SdtDateMappingType)[keyof typeof SdtDateMappingType];
|
|
306
|
+
readonly calendar?: string;
|
|
307
|
+
readonly fullDate?: string;
|
|
308
|
+
}
|
|
309
|
+
interface SdtTextOptions {
|
|
310
|
+
readonly multiLine?: boolean;
|
|
311
|
+
}
|
|
312
|
+
interface SdtDataBindingOptions {
|
|
313
|
+
readonly prefixMappings?: string;
|
|
314
|
+
readonly xpath: string;
|
|
315
|
+
readonly storeItemID: string;
|
|
316
|
+
}
|
|
317
|
+
interface SdtPropertiesOptions {
|
|
318
|
+
readonly alias?: string;
|
|
319
|
+
readonly tag?: string;
|
|
320
|
+
readonly id?: number;
|
|
321
|
+
readonly lock?: (typeof SdtLock)[keyof typeof SdtLock];
|
|
322
|
+
readonly temporary?: boolean;
|
|
323
|
+
readonly showingPlaceholder?: boolean;
|
|
324
|
+
readonly placeholder?: XmlComponent[];
|
|
325
|
+
readonly dataBinding?: SdtDataBindingOptions;
|
|
326
|
+
readonly label?: number;
|
|
327
|
+
readonly tabIndex?: number;
|
|
328
|
+
readonly runProperties?: XmlComponent;
|
|
329
|
+
readonly equation?: boolean;
|
|
330
|
+
readonly comboBox?: SdtComboBoxOptions;
|
|
331
|
+
readonly date?: SdtDateOptions;
|
|
332
|
+
readonly docPartObj?: {
|
|
333
|
+
readonly gallery?: string;
|
|
334
|
+
readonly category?: string;
|
|
335
|
+
readonly unique?: boolean;
|
|
336
|
+
};
|
|
337
|
+
readonly docPartList?: {
|
|
338
|
+
readonly gallery?: string;
|
|
339
|
+
readonly category?: string;
|
|
340
|
+
readonly unique?: boolean;
|
|
341
|
+
};
|
|
342
|
+
readonly dropDownList?: SdtDropDownListOptions;
|
|
343
|
+
readonly picture?: boolean;
|
|
344
|
+
readonly richText?: boolean;
|
|
345
|
+
readonly text?: SdtTextOptions;
|
|
346
|
+
readonly citation?: boolean;
|
|
347
|
+
readonly group?: boolean;
|
|
348
|
+
readonly bibliography?: boolean;
|
|
349
|
+
}
|
|
350
|
+
declare class StructuredDocumentTagProperties extends XmlComponent {
|
|
351
|
+
constructor(aliasOrOptions?: string | SdtPropertiesOptions);
|
|
837
352
|
}
|
|
838
353
|
//#endregion
|
|
839
|
-
//#region src/file/
|
|
840
|
-
|
|
354
|
+
//#region src/file/table-of-contents/sdt-content.d.ts
|
|
355
|
+
declare class StructuredDocumentTagContent extends XmlComponent {
|
|
356
|
+
constructor();
|
|
357
|
+
}
|
|
841
358
|
//#endregion
|
|
842
|
-
//#region src/file/
|
|
843
|
-
interface
|
|
844
|
-
readonly
|
|
845
|
-
readonly
|
|
359
|
+
//#region src/file/sdt/sdt.d.ts
|
|
360
|
+
interface ISdtRunOptions {
|
|
361
|
+
readonly properties: SdtPropertiesOptions;
|
|
362
|
+
readonly children?: readonly BaseXmlComponent[];
|
|
846
363
|
}
|
|
847
|
-
declare
|
|
848
|
-
|
|
849
|
-
readonly CIRCLE: "circle";
|
|
850
|
-
readonly RECT: "rect";
|
|
851
|
-
};
|
|
852
|
-
declare const TileFlipMode$1: {
|
|
853
|
-
readonly NONE: "none";
|
|
854
|
-
readonly X: "x";
|
|
855
|
-
readonly Y: "y";
|
|
856
|
-
readonly XY: "xy";
|
|
857
|
-
};
|
|
858
|
-
interface LinearShadeOptions {
|
|
859
|
-
readonly angle?: number;
|
|
860
|
-
readonly scaled?: boolean;
|
|
364
|
+
declare class StructuredDocumentTagRun extends XmlComponent {
|
|
365
|
+
constructor(options: ISdtRunOptions);
|
|
861
366
|
}
|
|
862
|
-
interface
|
|
863
|
-
readonly
|
|
864
|
-
readonly
|
|
865
|
-
readonly right?: string;
|
|
866
|
-
readonly bottom?: string;
|
|
367
|
+
interface ISdtBlockOptions {
|
|
368
|
+
readonly properties: SdtPropertiesOptions;
|
|
369
|
+
readonly children?: readonly BaseXmlComponent[];
|
|
867
370
|
}
|
|
868
|
-
|
|
869
|
-
readonly
|
|
870
|
-
|
|
871
|
-
}
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
readonly
|
|
876
|
-
readonly
|
|
877
|
-
readonly tileRect?: RelativeRect;
|
|
878
|
-
readonly rotateWithShape?: boolean;
|
|
879
|
-
}
|
|
880
|
-
//#endregion
|
|
881
|
-
//#region src/file/drawing/inline/graphic/graphic-data/pic/shape-properties/fill/pattern-fill.d.ts
|
|
882
|
-
declare const PresetPattern: {
|
|
883
|
-
readonly PCT5: "pct5";
|
|
884
|
-
readonly PCT10: "pct10";
|
|
885
|
-
readonly PCT20: "pct20";
|
|
886
|
-
readonly PCT25: "pct25";
|
|
887
|
-
readonly PCT30: "pct30";
|
|
888
|
-
readonly PCT40: "pct40";
|
|
889
|
-
readonly PCT50: "pct50";
|
|
890
|
-
readonly PCT60: "pct60";
|
|
891
|
-
readonly PCT70: "pct70";
|
|
892
|
-
readonly PCT75: "pct75";
|
|
893
|
-
readonly PCT80: "pct80";
|
|
894
|
-
readonly PCT90: "pct90";
|
|
895
|
-
readonly HORZ: "horz";
|
|
896
|
-
readonly VERT: "vert";
|
|
897
|
-
readonly LT_HORZ: "ltHorz";
|
|
898
|
-
readonly LT_VERT: "ltVert";
|
|
899
|
-
readonly DK_HORZ: "dkHorz";
|
|
900
|
-
readonly DK_VERT: "dkVert";
|
|
901
|
-
readonly NAR_HORZ: "narHorz";
|
|
902
|
-
readonly NAR_VERT: "narVert";
|
|
903
|
-
readonly DASH_HORZ: "dashHorz";
|
|
904
|
-
readonly DASH_VERT: "dashVert";
|
|
905
|
-
readonly CROSS: "cross";
|
|
906
|
-
readonly DN_DIAG: "dnDiag";
|
|
907
|
-
readonly UP_DIAG: "upDiag";
|
|
908
|
-
readonly LT_DN_DIAG: "ltDnDiag";
|
|
909
|
-
readonly LT_UP_DIAG: "ltUpDiag";
|
|
910
|
-
readonly DK_DN_DIAG: "dkDnDiag";
|
|
911
|
-
readonly DK_UP_DIAG: "dkUpDiag";
|
|
912
|
-
readonly WD_DN_DIAG: "wdDnDiag";
|
|
913
|
-
readonly WD_UP_DIAG: "wdUpDiag";
|
|
914
|
-
readonly DASH_DN_DIAG: "dashDnDiag";
|
|
915
|
-
readonly DASH_UP_DIAG: "dashUpDiag";
|
|
916
|
-
readonly DIAG_CROSS: "diagCross";
|
|
917
|
-
readonly SM_CHECK: "smCheck";
|
|
918
|
-
readonly LG_CHECK: "lgCheck";
|
|
919
|
-
readonly SM_GRID: "smGrid";
|
|
920
|
-
readonly LG_GRID: "lgGrid";
|
|
921
|
-
readonly DOT_GRID: "dotGrid";
|
|
922
|
-
readonly SM_CONFETTI: "smConfetti";
|
|
923
|
-
readonly LG_CONFETTI: "lgConfetti";
|
|
924
|
-
readonly HORZ_BRICK: "horzBrick";
|
|
925
|
-
readonly DIAG_BRICK: "diagBrick";
|
|
926
|
-
readonly SOLID_DMND: "solidDmnd";
|
|
927
|
-
readonly OPEN_DMND: "openDmnd";
|
|
928
|
-
readonly DOT_DMND: "dotDmnd";
|
|
929
|
-
readonly PLAID: "plaid";
|
|
930
|
-
readonly SPHERE: "sphere";
|
|
931
|
-
readonly WEAVE: "weave";
|
|
932
|
-
readonly DIVOT: "divot";
|
|
933
|
-
readonly SHINGLE: "shingle";
|
|
934
|
-
readonly WAVE: "wave";
|
|
935
|
-
readonly TRELLIS: "trellis";
|
|
936
|
-
readonly ZIG_ZAG: "zigZag";
|
|
937
|
-
};
|
|
938
|
-
interface PatternFillOptions {
|
|
939
|
-
readonly pattern: (typeof PresetPattern)[keyof typeof PresetPattern];
|
|
940
|
-
readonly foregroundColor?: SolidFillOptions;
|
|
941
|
-
readonly backgroundColor?: SolidFillOptions;
|
|
942
|
-
}
|
|
943
|
-
//#endregion
|
|
944
|
-
//#region src/file/drawing/inline/graphic/graphic-data/pic/shape-properties/effects/fill-overlay.d.ts
|
|
945
|
-
declare const BlendMode: {
|
|
946
|
-
readonly OVER: "over";
|
|
947
|
-
readonly MULTIPLY: "mult";
|
|
948
|
-
readonly SCREEN: "screen";
|
|
949
|
-
readonly DARKEN: "darken";
|
|
950
|
-
readonly LIGHTEN: "lighten";
|
|
951
|
-
};
|
|
952
|
-
interface FillOverlayEffectOptions {
|
|
953
|
-
readonly blend: (typeof BlendMode)[keyof typeof BlendMode];
|
|
954
|
-
readonly solidFill?: SolidFillOptions;
|
|
955
|
-
readonly gradientFill?: GradientFillOptions;
|
|
956
|
-
readonly patternFill?: PatternFillOptions;
|
|
957
|
-
readonly groupFill?: boolean;
|
|
958
|
-
readonly noFill?: boolean;
|
|
959
|
-
}
|
|
960
|
-
//#endregion
|
|
961
|
-
//#region src/file/drawing/inline/graphic/graphic-data/pic/shape-properties/effects/glow.d.ts
|
|
962
|
-
interface GlowEffectOptions {
|
|
963
|
-
readonly rad?: number;
|
|
964
|
-
readonly color: SolidFillOptions;
|
|
965
|
-
}
|
|
966
|
-
//#endregion
|
|
967
|
-
//#region src/file/drawing/inline/graphic/graphic-data/pic/shape-properties/effects/inner-shadow.d.ts
|
|
968
|
-
interface InnerShadowEffectOptions {
|
|
969
|
-
readonly blurRad?: number;
|
|
970
|
-
readonly dist?: number;
|
|
971
|
-
readonly dir?: number;
|
|
972
|
-
readonly color: SolidFillOptions;
|
|
973
|
-
}
|
|
974
|
-
//#endregion
|
|
975
|
-
//#region src/file/drawing/inline/graphic/graphic-data/pic/shape-properties/effects/outer-shadow.d.ts
|
|
976
|
-
declare const RectAlignment: {
|
|
977
|
-
readonly TOP_LEFT: "tl";
|
|
978
|
-
readonly TOP: "t";
|
|
979
|
-
readonly TOP_RIGHT: "tr";
|
|
980
|
-
readonly LEFT: "l";
|
|
981
|
-
readonly CENTER: "ctr";
|
|
982
|
-
readonly RIGHT: "r";
|
|
983
|
-
readonly BOTTOM_LEFT: "bl";
|
|
984
|
-
readonly BOTTOM: "b";
|
|
985
|
-
readonly BOTTOM_RIGHT: "br";
|
|
986
|
-
};
|
|
987
|
-
interface OuterShadowEffectOptions {
|
|
988
|
-
readonly blurRad?: number;
|
|
989
|
-
readonly dist?: number;
|
|
990
|
-
readonly dir?: number;
|
|
991
|
-
readonly sx?: number;
|
|
992
|
-
readonly sy?: number;
|
|
993
|
-
readonly kx?: number;
|
|
994
|
-
readonly ky?: number;
|
|
995
|
-
readonly algn?: keyof typeof RectAlignment;
|
|
996
|
-
readonly rotWithShape?: boolean;
|
|
997
|
-
readonly color: SolidFillOptions;
|
|
998
|
-
}
|
|
999
|
-
//#endregion
|
|
1000
|
-
//#region src/file/drawing/inline/graphic/graphic-data/pic/shape-properties/effects/preset-shadow.d.ts
|
|
1001
|
-
declare const PresetShadowVal: {
|
|
1002
|
-
readonly SHDW1: "shdw1";
|
|
1003
|
-
readonly SHDW2: "shdw2";
|
|
1004
|
-
readonly SHDW3: "shdw3";
|
|
1005
|
-
readonly SHDW4: "shdw4";
|
|
1006
|
-
readonly SHDW5: "shdw5";
|
|
1007
|
-
readonly SHDW6: "shdw6";
|
|
1008
|
-
readonly SHDW7: "shdw7";
|
|
1009
|
-
readonly SHDW8: "shdw8";
|
|
1010
|
-
readonly SHDW9: "shdw9";
|
|
1011
|
-
readonly SHDW10: "shdw10";
|
|
1012
|
-
readonly SHDW11: "shdw11";
|
|
1013
|
-
readonly SHDW12: "shdw12";
|
|
1014
|
-
readonly SHDW13: "shdw13";
|
|
1015
|
-
readonly SHDW14: "shdw14";
|
|
1016
|
-
readonly SHDW15: "shdw15";
|
|
1017
|
-
readonly SHDW16: "shdw16";
|
|
1018
|
-
readonly SHDW17: "shdw17";
|
|
1019
|
-
readonly SHDW18: "shdw18";
|
|
1020
|
-
readonly SHDW19: "shdw19";
|
|
1021
|
-
readonly SHDW20: "shdw20";
|
|
1022
|
-
};
|
|
1023
|
-
interface PresetShadowEffectOptions {
|
|
1024
|
-
readonly prst: keyof typeof PresetShadowVal;
|
|
1025
|
-
readonly dist?: number;
|
|
1026
|
-
readonly dir?: number;
|
|
1027
|
-
readonly color: SolidFillOptions;
|
|
1028
|
-
}
|
|
1029
|
-
//#endregion
|
|
1030
|
-
//#region src/file/drawing/inline/graphic/graphic-data/pic/shape-properties/effects/reflection.d.ts
|
|
1031
|
-
interface ReflectionEffectOptions {
|
|
1032
|
-
readonly blurRad?: number;
|
|
1033
|
-
readonly stA?: number;
|
|
1034
|
-
readonly stPos?: number;
|
|
1035
|
-
readonly endA?: number;
|
|
1036
|
-
readonly endPos?: number;
|
|
1037
|
-
readonly dist?: number;
|
|
1038
|
-
readonly dir?: number;
|
|
1039
|
-
readonly fadeDir?: number;
|
|
1040
|
-
readonly sx?: number;
|
|
1041
|
-
readonly sy?: number;
|
|
1042
|
-
readonly kx?: number;
|
|
1043
|
-
readonly ky?: number;
|
|
1044
|
-
readonly algn?: string;
|
|
1045
|
-
readonly rotWithShape?: boolean;
|
|
1046
|
-
}
|
|
1047
|
-
//#endregion
|
|
1048
|
-
//#region src/file/drawing/inline/graphic/graphic-data/pic/shape-properties/effects/effect-list.d.ts
|
|
1049
|
-
interface BlurEffectOptions {
|
|
1050
|
-
readonly rad?: number;
|
|
1051
|
-
readonly grow?: boolean;
|
|
371
|
+
declare class StructuredDocumentTagBlock extends XmlComponent implements FileChild {
|
|
372
|
+
readonly fileChild: symbol;
|
|
373
|
+
constructor(options: ISdtBlockOptions);
|
|
374
|
+
}
|
|
375
|
+
//#endregion
|
|
376
|
+
//#region src/file/sdt/sdt-cell.d.ts
|
|
377
|
+
interface ISdtCellOptions {
|
|
378
|
+
readonly properties: SdtPropertiesOptions;
|
|
379
|
+
readonly children?: readonly TableCell[];
|
|
1052
380
|
}
|
|
1053
|
-
|
|
1054
|
-
readonly
|
|
1055
|
-
|
|
1056
|
-
readonly glow?: GlowEffectOptions;
|
|
1057
|
-
readonly innerShadow?: InnerShadowEffectOptions;
|
|
1058
|
-
readonly outerShadow?: OuterShadowEffectOptions;
|
|
1059
|
-
readonly presetShadow?: PresetShadowEffectOptions;
|
|
1060
|
-
readonly reflection?: ReflectionEffectOptions | true;
|
|
1061
|
-
readonly softEdge?: number;
|
|
381
|
+
declare class StructuredDocumentTagCell extends XmlComponent {
|
|
382
|
+
readonly options: ITableCellOptions;
|
|
383
|
+
constructor(sdtOptions: ISdtCellOptions);
|
|
1062
384
|
}
|
|
1063
385
|
//#endregion
|
|
1064
|
-
//#region src/file/
|
|
1065
|
-
interface
|
|
1066
|
-
readonly
|
|
1067
|
-
readonly
|
|
386
|
+
//#region src/file/track-revision/track-revision.d.ts
|
|
387
|
+
interface IChangedAttributesProperties {
|
|
388
|
+
readonly id: number;
|
|
389
|
+
readonly author: string;
|
|
390
|
+
readonly date: string;
|
|
1068
391
|
}
|
|
1069
392
|
//#endregion
|
|
1070
|
-
//#region src/file/
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
readonly STEALTH: "stealth";
|
|
1075
|
-
readonly DIAMOND: "diamond";
|
|
1076
|
-
readonly OVAL: "oval";
|
|
1077
|
-
readonly ARROW: "arrow";
|
|
1078
|
-
};
|
|
1079
|
-
declare const LineEndWidth: {
|
|
1080
|
-
readonly SMALL: "sm";
|
|
1081
|
-
readonly MEDIUM: "med";
|
|
1082
|
-
readonly LARGE: "lg";
|
|
1083
|
-
};
|
|
1084
|
-
declare const LineEndLength: {
|
|
1085
|
-
readonly SMALL: "sm";
|
|
1086
|
-
readonly MEDIUM: "med";
|
|
1087
|
-
readonly LARGE: "lg";
|
|
1088
|
-
};
|
|
1089
|
-
interface LineEndOptions {
|
|
1090
|
-
readonly type: keyof typeof LineEndType;
|
|
1091
|
-
readonly width?: keyof typeof LineEndWidth;
|
|
1092
|
-
readonly length?: keyof typeof LineEndLength;
|
|
393
|
+
//#region src/file/track-revision/track-revision-components/inserted-text-run.d.ts
|
|
394
|
+
type IInsertedRunOptions = IChangedAttributesProperties & IRunOptions;
|
|
395
|
+
declare class InsertedTextRun extends XmlComponent {
|
|
396
|
+
constructor(options: IInsertedRunOptions);
|
|
1093
397
|
}
|
|
398
|
+
import * as import__office_open_core_values from "@office-open/core/values";
|
|
1094
399
|
//#endregion
|
|
1095
|
-
//#region src/file/
|
|
1096
|
-
|
|
1097
|
-
readonly
|
|
1098
|
-
readonly
|
|
1099
|
-
readonly
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
readonly
|
|
1103
|
-
readonly
|
|
1104
|
-
readonly
|
|
1105
|
-
readonly
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
readonly
|
|
1120
|
-
readonly
|
|
1121
|
-
readonly
|
|
1122
|
-
readonly
|
|
1123
|
-
readonly
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
readonly
|
|
1127
|
-
readonly
|
|
1128
|
-
readonly
|
|
400
|
+
//#region src/file/border/border.d.ts
|
|
401
|
+
interface IBorderOptions {
|
|
402
|
+
readonly style: (typeof BorderStyle)[keyof typeof BorderStyle];
|
|
403
|
+
readonly color?: string;
|
|
404
|
+
readonly themeColor?: (typeof values_d_exports.ThemeColor)[keyof typeof values_d_exports.ThemeColor];
|
|
405
|
+
readonly themeTint?: string;
|
|
406
|
+
readonly themeShade?: string;
|
|
407
|
+
readonly shadow?: boolean;
|
|
408
|
+
readonly frame?: boolean;
|
|
409
|
+
readonly size?: number;
|
|
410
|
+
readonly space?: number;
|
|
411
|
+
}
|
|
412
|
+
declare const createBorderElement: (elementName: string, {
|
|
413
|
+
color,
|
|
414
|
+
size,
|
|
415
|
+
space,
|
|
416
|
+
style,
|
|
417
|
+
themeColor,
|
|
418
|
+
themeTint,
|
|
419
|
+
themeShade,
|
|
420
|
+
shadow,
|
|
421
|
+
frame
|
|
422
|
+
}: IBorderOptions) => XmlComponent;
|
|
423
|
+
declare const BorderStyle: {
|
|
424
|
+
readonly SINGLE: "single";
|
|
425
|
+
readonly DASH_DOT_STROKED: "dashDotStroked";
|
|
426
|
+
readonly DASHED: "dashed";
|
|
427
|
+
readonly DASH_SMALL_GAP: "dashSmallGap";
|
|
428
|
+
readonly DOT_DASH: "dotDash";
|
|
429
|
+
readonly DOT_DOT_DASH: "dotDotDash";
|
|
430
|
+
readonly DOTTED: "dotted";
|
|
431
|
+
readonly DOUBLE: "double";
|
|
432
|
+
readonly DOUBLE_WAVE: "doubleWave";
|
|
433
|
+
readonly INSET: "inset";
|
|
434
|
+
readonly NIL: "nil";
|
|
435
|
+
readonly NONE: "none";
|
|
436
|
+
readonly OUTSET: "outset";
|
|
437
|
+
readonly THICK: "thick";
|
|
438
|
+
readonly THICK_THIN_LARGE_GAP: "thickThinLargeGap";
|
|
439
|
+
readonly THICK_THIN_MEDIUM_GAP: "thickThinMediumGap";
|
|
440
|
+
readonly THICK_THIN_SMALL_GAP: "thickThinSmallGap";
|
|
441
|
+
readonly THIN_THICK_LARGE_GAP: "thinThickLargeGap";
|
|
442
|
+
readonly THIN_THICK_MEDIUM_GAP: "thinThickMediumGap";
|
|
443
|
+
readonly THIN_THICK_SMALL_GAP: "thinThickSmallGap";
|
|
444
|
+
readonly THIN_THICK_THIN_LARGE_GAP: "thinThickThinLargeGap";
|
|
445
|
+
readonly THIN_THICK_THIN_MEDIUM_GAP: "thinThickThinMediumGap";
|
|
446
|
+
readonly THIN_THICK_THIN_SMALL_GAP: "thinThickThinSmallGap";
|
|
447
|
+
readonly THREE_D_EMBOSS: "threeDEmboss";
|
|
448
|
+
readonly THREE_D_ENGRAVE: "threeDEngrave";
|
|
449
|
+
readonly TRIPLE: "triple";
|
|
450
|
+
readonly WAVE: "wave";
|
|
1129
451
|
};
|
|
1130
|
-
interface OutlineAttributes {
|
|
1131
|
-
readonly width?: number;
|
|
1132
|
-
readonly cap?: keyof typeof LineCap;
|
|
1133
|
-
readonly compoundLine?: keyof typeof CompoundLine;
|
|
1134
|
-
readonly align?: keyof typeof PenAlignment;
|
|
1135
|
-
readonly dash?: keyof typeof PresetDash;
|
|
1136
|
-
readonly customDash?: readonly DashStop[];
|
|
1137
|
-
readonly join?: keyof typeof LineJoin;
|
|
1138
|
-
readonly miterLimit?: number;
|
|
1139
|
-
readonly headEnd?: LineEndOptions;
|
|
1140
|
-
readonly tailEnd?: LineEndOptions;
|
|
1141
|
-
}
|
|
1142
|
-
interface OutlineFillProperties {
|
|
1143
|
-
readonly type?: "noFill" | "solidFill" | "gradFill" | "pattFill";
|
|
1144
|
-
readonly color?: SolidFillOptions;
|
|
1145
|
-
readonly gradientFill?: GradientFillOptions;
|
|
1146
|
-
readonly patternFill?: PatternFillOptions;
|
|
1147
|
-
}
|
|
1148
|
-
type OutlineOptions = OutlineAttributes & OutlineFillProperties;
|
|
1149
|
-
//#endregion
|
|
1150
|
-
//#region src/file/drawing/inline/graphic/graphic-data/wpg/wpg-group.d.ts
|
|
1151
|
-
interface IChildOffset {
|
|
1152
|
-
readonly x: number;
|
|
1153
|
-
readonly y: number;
|
|
1154
|
-
}
|
|
1155
|
-
interface IChildExtent {
|
|
1156
|
-
readonly cx: number;
|
|
1157
|
-
readonly cy: number;
|
|
1158
|
-
}
|
|
1159
452
|
//#endregion
|
|
1160
|
-
//#region src/file/
|
|
1161
|
-
interface
|
|
1162
|
-
readonly
|
|
1163
|
-
readonly
|
|
453
|
+
//#region src/file/shading/shading.d.ts
|
|
454
|
+
interface IShadingAttributesProperties {
|
|
455
|
+
readonly fill?: string;
|
|
456
|
+
readonly color?: string;
|
|
457
|
+
readonly type?: (typeof ShadingType)[keyof typeof ShadingType];
|
|
458
|
+
readonly themeColor?: (typeof values_d_exports.ThemeColor)[keyof typeof values_d_exports.ThemeColor];
|
|
459
|
+
readonly themeTint?: string;
|
|
460
|
+
readonly themeShade?: string;
|
|
461
|
+
readonly themeFill?: (typeof values_d_exports.ThemeColor)[keyof typeof values_d_exports.ThemeColor];
|
|
462
|
+
readonly themeFillTint?: string;
|
|
463
|
+
readonly themeFillShade?: string;
|
|
1164
464
|
}
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
readonly
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
readonly
|
|
1181
|
-
readonly
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
readonly
|
|
1185
|
-
readonly
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
readonly
|
|
1189
|
-
readonly
|
|
1190
|
-
readonly
|
|
1191
|
-
readonly
|
|
1192
|
-
readonly
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
readonly
|
|
1196
|
-
readonly
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
readonly
|
|
1200
|
-
readonly
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
readonly
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
readonly
|
|
1208
|
-
readonly
|
|
1209
|
-
readonly
|
|
1210
|
-
readonly
|
|
1211
|
-
readonly
|
|
1212
|
-
readonly
|
|
1213
|
-
|
|
1214
|
-
interface AdjustHandlePosition {
|
|
1215
|
-
readonly x: string;
|
|
1216
|
-
readonly y: string;
|
|
1217
|
-
}
|
|
1218
|
-
interface XYAdjustHandle {
|
|
1219
|
-
readonly type: "xy";
|
|
1220
|
-
readonly gdRefX?: string;
|
|
1221
|
-
readonly minX?: string;
|
|
1222
|
-
readonly maxX?: string;
|
|
1223
|
-
readonly gdRefY?: string;
|
|
1224
|
-
readonly minY?: string;
|
|
1225
|
-
readonly maxY?: string;
|
|
1226
|
-
readonly position: AdjustHandlePosition;
|
|
1227
|
-
}
|
|
1228
|
-
interface PolarAdjustHandle {
|
|
1229
|
-
readonly type: "polar";
|
|
1230
|
-
readonly gdRefR?: string;
|
|
1231
|
-
readonly minR?: string;
|
|
1232
|
-
readonly maxR?: string;
|
|
1233
|
-
readonly gdRefAng?: string;
|
|
1234
|
-
readonly minAng?: string;
|
|
1235
|
-
readonly maxAng?: string;
|
|
1236
|
-
readonly position: AdjustHandlePosition;
|
|
1237
|
-
}
|
|
1238
|
-
type AdjustHandle = XYAdjustHandle | PolarAdjustHandle;
|
|
1239
|
-
interface ConnectionSite {
|
|
1240
|
-
readonly ang: string;
|
|
1241
|
-
readonly position: AdjustHandlePosition;
|
|
1242
|
-
}
|
|
1243
|
-
interface GeomRect {
|
|
1244
|
-
readonly l: string;
|
|
1245
|
-
readonly t: string;
|
|
1246
|
-
readonly r: string;
|
|
1247
|
-
readonly b: string;
|
|
1248
|
-
}
|
|
1249
|
-
interface CustomGeometryOptions {
|
|
1250
|
-
readonly adjustmentValues?: readonly GeometryGuide[];
|
|
1251
|
-
readonly guides?: readonly GeometryGuide[];
|
|
1252
|
-
readonly adjustHandles?: readonly AdjustHandle[];
|
|
1253
|
-
readonly connectionSites?: readonly ConnectionSite[];
|
|
1254
|
-
readonly textRect?: GeomRect;
|
|
1255
|
-
readonly pathList: readonly PathOptions[];
|
|
1256
|
-
}
|
|
1257
|
-
//#endregion
|
|
1258
|
-
//#region src/file/drawing/inline/graphic/graphic-data/pic/shape-properties/effects/effect-dag.d.ts
|
|
1259
|
-
declare const EffectContainerType: {
|
|
1260
|
-
readonly SIB: "sib";
|
|
1261
|
-
readonly TREE: "tree";
|
|
465
|
+
declare const createShading: ({
|
|
466
|
+
fill,
|
|
467
|
+
color,
|
|
468
|
+
type,
|
|
469
|
+
themeColor,
|
|
470
|
+
themeTint,
|
|
471
|
+
themeShade,
|
|
472
|
+
themeFill,
|
|
473
|
+
themeFillTint,
|
|
474
|
+
themeFillShade
|
|
475
|
+
}: IShadingAttributesProperties) => XmlComponent;
|
|
476
|
+
declare const ShadingType: {
|
|
477
|
+
readonly CLEAR: "clear";
|
|
478
|
+
readonly DIAGONAL_CROSS: "diagCross";
|
|
479
|
+
readonly DIAGONAL_STRIPE: "diagStripe";
|
|
480
|
+
readonly HORIZONTAL_CROSS: "horzCross";
|
|
481
|
+
readonly HORIZONTAL_STRIPE: "horzStripe";
|
|
482
|
+
readonly NIL: "nil";
|
|
483
|
+
readonly PERCENT_10: "pct10";
|
|
484
|
+
readonly PERCENT_12: "pct12";
|
|
485
|
+
readonly PERCENT_15: "pct15";
|
|
486
|
+
readonly PERCENT_20: "pct20";
|
|
487
|
+
readonly PERCENT_25: "pct25";
|
|
488
|
+
readonly PERCENT_30: "pct30";
|
|
489
|
+
readonly PERCENT_35: "pct35";
|
|
490
|
+
readonly PERCENT_37: "pct37";
|
|
491
|
+
readonly PERCENT_40: "pct40";
|
|
492
|
+
readonly PERCENT_45: "pct45";
|
|
493
|
+
readonly PERCENT_5: "pct5";
|
|
494
|
+
readonly PERCENT_50: "pct50";
|
|
495
|
+
readonly PERCENT_55: "pct55";
|
|
496
|
+
readonly PERCENT_60: "pct60";
|
|
497
|
+
readonly PERCENT_62: "pct62";
|
|
498
|
+
readonly PERCENT_65: "pct65";
|
|
499
|
+
readonly PERCENT_70: "pct70";
|
|
500
|
+
readonly PERCENT_75: "pct75";
|
|
501
|
+
readonly PERCENT_80: "pct80";
|
|
502
|
+
readonly PERCENT_85: "pct85";
|
|
503
|
+
readonly PERCENT_87: "pct87";
|
|
504
|
+
readonly PERCENT_90: "pct90";
|
|
505
|
+
readonly PERCENT_95: "pct95";
|
|
506
|
+
readonly REVERSE_DIAGONAL_STRIPE: "reverseDiagStripe";
|
|
507
|
+
readonly SOLID: "solid";
|
|
508
|
+
readonly THIN_DIAGONAL_CROSS: "thinDiagCross";
|
|
509
|
+
readonly THIN_DIAGONAL_STRIPE: "thinDiagStripe";
|
|
510
|
+
readonly THIN_HORIZONTAL_CROSS: "thinHorzCross";
|
|
511
|
+
readonly THIN_REVERSE_DIAGONAL_STRIPE: "thinReverseDiagStripe";
|
|
512
|
+
readonly THIN_VERTICAL_STRIPE: "thinVertStripe";
|
|
513
|
+
readonly VERTICAL_STRIPE: "vertStripe";
|
|
1262
514
|
};
|
|
1263
|
-
interface AlphaBiLevelEffectOptions$1 {
|
|
1264
|
-
readonly thresh: number;
|
|
1265
|
-
}
|
|
1266
|
-
interface AlphaInverseEffectOptions {
|
|
1267
|
-
readonly color?: SolidFillOptions;
|
|
1268
|
-
}
|
|
1269
|
-
interface AlphaModulateFixedEffectOptions$1 {
|
|
1270
|
-
readonly amt?: number;
|
|
1271
|
-
}
|
|
1272
|
-
interface AlphaOutsetEffectOptions {
|
|
1273
|
-
readonly rad?: number;
|
|
1274
|
-
}
|
|
1275
|
-
interface AlphaReplaceEffectOptions$1 {
|
|
1276
|
-
readonly a: number;
|
|
1277
|
-
}
|
|
1278
|
-
interface BlendEffectOptions {
|
|
1279
|
-
readonly blend: (typeof BlendMode)[keyof typeof BlendMode];
|
|
1280
|
-
readonly container: EffectDagOptions;
|
|
1281
|
-
}
|
|
1282
|
-
interface ColorChangeEffectOptions$1 {
|
|
1283
|
-
readonly from: SolidFillOptions;
|
|
1284
|
-
readonly to: SolidFillOptions;
|
|
1285
|
-
readonly useA?: boolean;
|
|
1286
|
-
}
|
|
1287
|
-
interface DuotoneEffectOptions$1 {
|
|
1288
|
-
readonly color1: SolidFillOptions;
|
|
1289
|
-
readonly color2: SolidFillOptions;
|
|
1290
|
-
}
|
|
1291
|
-
interface FillEffectOptions {
|
|
1292
|
-
readonly solidFill?: SolidFillOptions;
|
|
1293
|
-
readonly gradientFill?: GradientFillOptions;
|
|
1294
|
-
readonly patternFill?: PatternFillOptions;
|
|
1295
|
-
readonly groupFill?: boolean;
|
|
1296
|
-
readonly noFill?: boolean;
|
|
1297
|
-
}
|
|
1298
|
-
interface HSLEffectOptions$1 {
|
|
1299
|
-
readonly hue?: number;
|
|
1300
|
-
readonly sat?: number;
|
|
1301
|
-
readonly lum?: number;
|
|
1302
|
-
}
|
|
1303
|
-
interface LuminanceEffectOptions$1 {
|
|
1304
|
-
readonly bright?: number;
|
|
1305
|
-
readonly contrast?: number;
|
|
1306
|
-
}
|
|
1307
|
-
interface TintEffectOptions$1 {
|
|
1308
|
-
readonly hue?: number;
|
|
1309
|
-
readonly amt?: number;
|
|
1310
|
-
}
|
|
1311
|
-
interface RelativeOffsetEffectOptions {
|
|
1312
|
-
readonly tx?: number;
|
|
1313
|
-
readonly ty?: number;
|
|
1314
|
-
}
|
|
1315
|
-
interface TransformEffectOptions {
|
|
1316
|
-
readonly sx?: number;
|
|
1317
|
-
readonly sy?: number;
|
|
1318
|
-
readonly kx?: number;
|
|
1319
|
-
readonly ky?: number;
|
|
1320
|
-
readonly tx?: number;
|
|
1321
|
-
readonly ty?: number;
|
|
1322
|
-
}
|
|
1323
|
-
interface EffectReferenceOptions {
|
|
1324
|
-
readonly ref: string;
|
|
1325
|
-
}
|
|
1326
|
-
interface EffectDagOptions {
|
|
1327
|
-
readonly type?: (typeof EffectContainerType)[keyof typeof EffectContainerType];
|
|
1328
|
-
readonly name?: string;
|
|
1329
|
-
readonly blur?: BlurEffectOptions;
|
|
1330
|
-
readonly fillOverlay?: FillOverlayEffectOptions;
|
|
1331
|
-
readonly glow?: GlowEffectOptions;
|
|
1332
|
-
readonly innerShadow?: InnerShadowEffectOptions;
|
|
1333
|
-
readonly outerShadow?: OuterShadowEffectOptions;
|
|
1334
|
-
readonly presetShadow?: PresetShadowEffectOptions;
|
|
1335
|
-
readonly reflection?: ReflectionEffectOptions | true;
|
|
1336
|
-
readonly softEdge?: number;
|
|
1337
|
-
readonly containers?: readonly EffectDagOptions[];
|
|
1338
|
-
readonly effectRefs?: readonly EffectReferenceOptions[];
|
|
1339
|
-
readonly alphaBiLevel?: AlphaBiLevelEffectOptions$1;
|
|
1340
|
-
readonly alphaCeiling?: boolean;
|
|
1341
|
-
readonly alphaFloor?: boolean;
|
|
1342
|
-
readonly alphaInverse?: AlphaInverseEffectOptions;
|
|
1343
|
-
readonly alphaModulate?: EffectDagOptions;
|
|
1344
|
-
readonly alphaModulateFixed?: AlphaModulateFixedEffectOptions$1;
|
|
1345
|
-
readonly alphaOutset?: AlphaOutsetEffectOptions;
|
|
1346
|
-
readonly alphaReplace?: AlphaReplaceEffectOptions$1;
|
|
1347
|
-
readonly biLevel?: {
|
|
1348
|
-
readonly thresh: number;
|
|
1349
|
-
};
|
|
1350
|
-
readonly blend?: BlendEffectOptions;
|
|
1351
|
-
readonly colorChange?: ColorChangeEffectOptions$1;
|
|
1352
|
-
readonly colorReplace?: SolidFillOptions;
|
|
1353
|
-
readonly duotone?: DuotoneEffectOptions$1;
|
|
1354
|
-
readonly fill?: FillEffectOptions;
|
|
1355
|
-
readonly grayscale?: boolean;
|
|
1356
|
-
readonly hsl?: HSLEffectOptions$1;
|
|
1357
|
-
readonly luminance?: LuminanceEffectOptions$1;
|
|
1358
|
-
readonly tint?: TintEffectOptions$1;
|
|
1359
|
-
readonly relativeOffset?: RelativeOffsetEffectOptions;
|
|
1360
|
-
readonly transform?: TransformEffectOptions;
|
|
1361
|
-
}
|
|
1362
|
-
//#endregion
|
|
1363
|
-
//#region src/file/drawing/inline/graphic/graphic-data/pic/shape-properties/three-d/scene-3d.d.ts
|
|
1364
|
-
interface SphereCoords {
|
|
1365
|
-
readonly lat: number;
|
|
1366
|
-
readonly lon: number;
|
|
1367
|
-
readonly rev: number;
|
|
1368
|
-
}
|
|
1369
|
-
interface CameraOptions {
|
|
1370
|
-
readonly preset: string;
|
|
1371
|
-
readonly fov?: number;
|
|
1372
|
-
readonly zoom?: string;
|
|
1373
|
-
readonly rotation?: SphereCoords;
|
|
1374
|
-
}
|
|
1375
|
-
interface LightRigOptions {
|
|
1376
|
-
readonly rig: string;
|
|
1377
|
-
readonly direction: string;
|
|
1378
|
-
readonly rotation?: SphereCoords;
|
|
1379
|
-
}
|
|
1380
|
-
interface Point3D {
|
|
1381
|
-
readonly x: number;
|
|
1382
|
-
readonly y: number;
|
|
1383
|
-
readonly z: number;
|
|
1384
|
-
}
|
|
1385
|
-
interface Vector3D {
|
|
1386
|
-
readonly dx: number;
|
|
1387
|
-
readonly dy: number;
|
|
1388
|
-
readonly dz: number;
|
|
1389
|
-
}
|
|
1390
|
-
interface BackdropOptions {
|
|
1391
|
-
readonly anchor: Point3D;
|
|
1392
|
-
readonly normal: Vector3D;
|
|
1393
|
-
readonly up: Vector3D;
|
|
1394
|
-
}
|
|
1395
|
-
interface Scene3DOptions {
|
|
1396
|
-
readonly camera: CameraOptions;
|
|
1397
|
-
readonly lightRig: LightRigOptions;
|
|
1398
|
-
readonly backdrop?: BackdropOptions;
|
|
1399
|
-
}
|
|
1400
515
|
//#endregion
|
|
1401
|
-
//#region src/file/
|
|
1402
|
-
declare const
|
|
1403
|
-
readonly
|
|
1404
|
-
readonly
|
|
1405
|
-
readonly
|
|
1406
|
-
readonly CROSS: "cross";
|
|
516
|
+
//#region src/file/paragraph/run/east-asian-layout.d.ts
|
|
517
|
+
declare const CombineBracketsType: {
|
|
518
|
+
readonly NONE: "none";
|
|
519
|
+
readonly ROUND: "round";
|
|
520
|
+
readonly SQUARE: "square";
|
|
1407
521
|
readonly ANGLE: "angle";
|
|
1408
|
-
readonly
|
|
1409
|
-
readonly CONVEX: "convex";
|
|
1410
|
-
readonly COOL_SLANT: "coolSlant";
|
|
1411
|
-
readonly DIVOT: "divot";
|
|
1412
|
-
readonly RIBLET: "riblet";
|
|
1413
|
-
readonly HARD_EDGE: "hardEdge";
|
|
1414
|
-
readonly ART_DECO: "artDeco";
|
|
1415
|
-
};
|
|
1416
|
-
interface BevelOptions {
|
|
1417
|
-
readonly w?: number;
|
|
1418
|
-
readonly h?: number;
|
|
1419
|
-
readonly prst?: keyof typeof BevelPresetType;
|
|
1420
|
-
}
|
|
1421
|
-
//#endregion
|
|
1422
|
-
//#region src/file/drawing/inline/graphic/graphic-data/pic/shape-properties/three-d/shape-3d.d.ts
|
|
1423
|
-
declare const PresetMaterialType: {
|
|
1424
|
-
readonly LEGACY_MATTE: "legacyMatte";
|
|
1425
|
-
readonly LEGACY_PLASTIC: "legacyPlastic";
|
|
1426
|
-
readonly LEGACY_METAL: "legacyMetal";
|
|
1427
|
-
readonly LEGACY_WIREFRAME: "legacyWireframe";
|
|
1428
|
-
readonly MATTE: "matte";
|
|
1429
|
-
readonly PLASTIC: "plastic";
|
|
1430
|
-
readonly METAL: "metal";
|
|
1431
|
-
readonly WARM_MATTE: "warmMatte";
|
|
1432
|
-
readonly TRANSLUCENT_POWDER: "translucentPowder";
|
|
1433
|
-
readonly POWDER: "powder";
|
|
1434
|
-
readonly DK_EDGE: "dkEdge";
|
|
1435
|
-
readonly SOFT_EDGE: "softEdge";
|
|
1436
|
-
readonly CLEAR: "clear";
|
|
1437
|
-
readonly FLAT: "flat";
|
|
1438
|
-
readonly SOFT_METAL: "softmetal";
|
|
522
|
+
readonly CURLY: "curly";
|
|
1439
523
|
};
|
|
1440
|
-
interface
|
|
1441
|
-
readonly
|
|
1442
|
-
readonly
|
|
1443
|
-
readonly
|
|
1444
|
-
readonly
|
|
1445
|
-
readonly
|
|
1446
|
-
readonly extrusionH?: number;
|
|
1447
|
-
readonly contourW?: number;
|
|
1448
|
-
readonly prstMaterial?: keyof typeof PresetMaterialType;
|
|
524
|
+
interface EastAsianLayoutOptions {
|
|
525
|
+
readonly id?: number;
|
|
526
|
+
readonly combine?: boolean;
|
|
527
|
+
readonly combineBrackets?: (typeof CombineBracketsType)[keyof typeof CombineBracketsType];
|
|
528
|
+
readonly vert?: boolean;
|
|
529
|
+
readonly vertCompress?: boolean;
|
|
1449
530
|
}
|
|
1450
531
|
//#endregion
|
|
1451
|
-
//#region src/file/
|
|
1452
|
-
declare
|
|
1453
|
-
TOP = "t",
|
|
1454
|
-
CENTER = "ctr",
|
|
1455
|
-
BOTTOM = "b",
|
|
1456
|
-
JUSTIFY = "just",
|
|
1457
|
-
DISTRIBUTED = "dist"
|
|
1458
|
-
}
|
|
1459
|
-
declare const TextVertOverflowType: {
|
|
1460
|
-
readonly OVERFLOW: "overflow";
|
|
1461
|
-
readonly ELLIPSIS: "ellipsis";
|
|
1462
|
-
readonly CLIP: "clip";
|
|
1463
|
-
};
|
|
1464
|
-
declare const TextHorzOverflowType: {
|
|
1465
|
-
readonly OVERFLOW: "overflow";
|
|
1466
|
-
readonly CLIP: "clip";
|
|
1467
|
-
};
|
|
1468
|
-
declare const TextVerticalType: {
|
|
1469
|
-
readonly HORIZONTAL: "horz";
|
|
1470
|
-
readonly VERTICAL: "vert";
|
|
1471
|
-
readonly VERTICAL_270: "vert270";
|
|
1472
|
-
readonly WORD_ART_VERTICAL: "wordArtVert";
|
|
1473
|
-
readonly EAST_ASIAN_VERTICAL: "eaVert";
|
|
1474
|
-
readonly MONGOLIAN_VERTICAL: "mongolianVert";
|
|
1475
|
-
readonly WORD_ART_VERTICAL_RTL: "wordArtVertRtl";
|
|
1476
|
-
};
|
|
1477
|
-
declare const TextBodyWrappingType: {
|
|
532
|
+
//#region src/file/paragraph/run/emphasis-mark.d.ts
|
|
533
|
+
declare const EmphasisMarkType: {
|
|
1478
534
|
readonly NONE: "none";
|
|
1479
|
-
readonly
|
|
535
|
+
readonly COMMA: "comma";
|
|
536
|
+
readonly CIRCLE: "circle";
|
|
537
|
+
readonly DOT: "dot";
|
|
538
|
+
readonly UNDER_DOT: "underDot";
|
|
1480
539
|
};
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
interface
|
|
1486
|
-
readonly
|
|
1487
|
-
readonly
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
}[];
|
|
1491
|
-
}
|
|
1492
|
-
interface FlatTextOptions {
|
|
1493
|
-
readonly z?: number;
|
|
1494
|
-
}
|
|
1495
|
-
interface IBodyPropertiesOptions {
|
|
1496
|
-
readonly rotation?: number;
|
|
1497
|
-
readonly spcFirstLastPara?: boolean;
|
|
1498
|
-
readonly vertOverflow?: (typeof TextVertOverflowType)[keyof typeof TextVertOverflowType];
|
|
1499
|
-
readonly horzOverflow?: (typeof TextHorzOverflowType)[keyof typeof TextHorzOverflowType];
|
|
1500
|
-
readonly vert?: (typeof TextVerticalType)[keyof typeof TextVerticalType];
|
|
1501
|
-
readonly wrap?: (typeof TextBodyWrappingType)[keyof typeof TextBodyWrappingType];
|
|
1502
|
-
readonly lIns?: number;
|
|
1503
|
-
readonly tIns?: number;
|
|
1504
|
-
readonly rIns?: number;
|
|
1505
|
-
readonly bIns?: number;
|
|
1506
|
-
readonly numCol?: number;
|
|
1507
|
-
readonly spcCol?: number;
|
|
1508
|
-
readonly rtlCol?: boolean;
|
|
1509
|
-
readonly fromWordArt?: boolean;
|
|
1510
|
-
readonly anchor?: (typeof VerticalAnchor)[keyof typeof VerticalAnchor];
|
|
1511
|
-
readonly anchorCtr?: boolean;
|
|
1512
|
-
readonly forceAA?: boolean;
|
|
1513
|
-
readonly upright?: boolean;
|
|
1514
|
-
readonly compatLnSpc?: boolean;
|
|
1515
|
-
readonly verticalAnchor?: VerticalAnchor;
|
|
1516
|
-
readonly margins?: {
|
|
1517
|
-
readonly top?: number;
|
|
1518
|
-
readonly bottom?: number;
|
|
1519
|
-
readonly left?: number;
|
|
1520
|
-
readonly right?: number;
|
|
1521
|
-
};
|
|
1522
|
-
readonly prstTxWarp?: PresetTextShapeOptions;
|
|
1523
|
-
readonly noAutoFit?: boolean;
|
|
1524
|
-
readonly normAutofit?: NormalAutofitOptions;
|
|
1525
|
-
readonly spAutoFit?: boolean;
|
|
1526
|
-
readonly scene3d?: Scene3DOptions;
|
|
1527
|
-
readonly sp3d?: Shape3DOptions;
|
|
1528
|
-
readonly flatTx?: FlatTextOptions;
|
|
540
|
+
declare const createEmphasisMark: (emphasisMarkType?: (typeof EmphasisMarkType)[keyof typeof EmphasisMarkType]) => XmlComponent;
|
|
541
|
+
declare const createDotEmphasisMark: () => XmlComponent;
|
|
542
|
+
//#endregion
|
|
543
|
+
//#region src/file/paragraph/run/formatting.d.ts
|
|
544
|
+
interface ColorOptions {
|
|
545
|
+
readonly val?: string;
|
|
546
|
+
readonly themeColor?: (typeof values_d_exports.ThemeColor)[keyof typeof values_d_exports.ThemeColor];
|
|
547
|
+
readonly themeTint?: string;
|
|
548
|
+
readonly themeShade?: string;
|
|
1529
549
|
}
|
|
1530
|
-
declare const createBodyProperties: (options?: IBodyPropertiesOptions) => XmlComponent;
|
|
1531
550
|
//#endregion
|
|
1532
|
-
//#region src/file/
|
|
1533
|
-
interface
|
|
1534
|
-
readonly
|
|
551
|
+
//#region src/file/paragraph/run/language.d.ts
|
|
552
|
+
interface ILanguageOptions {
|
|
553
|
+
readonly value?: string;
|
|
554
|
+
readonly eastAsia?: string;
|
|
555
|
+
readonly bidirectional?: string;
|
|
1535
556
|
}
|
|
1536
557
|
//#endregion
|
|
1537
|
-
//#region src/file/
|
|
1538
|
-
interface
|
|
1539
|
-
readonly
|
|
1540
|
-
readonly
|
|
1541
|
-
readonly
|
|
1542
|
-
readonly
|
|
1543
|
-
readonly
|
|
1544
|
-
readonly
|
|
1545
|
-
readonly
|
|
1546
|
-
readonly
|
|
1547
|
-
readonly
|
|
1548
|
-
readonly effectDag?: EffectDagOptions;
|
|
1549
|
-
readonly effects?: EffectListOptions;
|
|
1550
|
-
readonly scene3d?: Scene3DOptions;
|
|
1551
|
-
readonly shape3d?: Shape3DOptions;
|
|
558
|
+
//#region src/file/paragraph/run/run-fonts.d.ts
|
|
559
|
+
interface IFontAttributesProperties {
|
|
560
|
+
readonly ascii?: string;
|
|
561
|
+
readonly cs?: string;
|
|
562
|
+
readonly eastAsia?: string;
|
|
563
|
+
readonly hAnsi?: string;
|
|
564
|
+
readonly hint?: string;
|
|
565
|
+
readonly asciiTheme?: (typeof values_d_exports.ThemeFont)[keyof typeof values_d_exports.ThemeFont];
|
|
566
|
+
readonly hAnsiTheme?: (typeof values_d_exports.ThemeFont)[keyof typeof values_d_exports.ThemeFont];
|
|
567
|
+
readonly eastAsiaTheme?: (typeof values_d_exports.ThemeFont)[keyof typeof values_d_exports.ThemeFont];
|
|
568
|
+
readonly cstheme?: (typeof values_d_exports.ThemeFont)[keyof typeof values_d_exports.ThemeFont];
|
|
1552
569
|
}
|
|
570
|
+
declare const createRunFonts: (nameOrAttrs: string | IFontAttributesProperties, hint?: string) => XmlComponent;
|
|
1553
571
|
//#endregion
|
|
1554
|
-
//#region src/file/
|
|
1555
|
-
|
|
1556
|
-
readonly
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
readonly
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
readonly
|
|
1571
|
-
|
|
1572
|
-
|
|
572
|
+
//#region src/file/paragraph/run/underline.d.ts
|
|
573
|
+
declare const UnderlineType: {
|
|
574
|
+
readonly SINGLE: "single";
|
|
575
|
+
readonly WORDS: "words";
|
|
576
|
+
readonly DOUBLE: "double";
|
|
577
|
+
readonly THICK: "thick";
|
|
578
|
+
readonly DOTTED: "dotted";
|
|
579
|
+
readonly DOTTEDHEAVY: "dottedHeavy";
|
|
580
|
+
readonly DASH: "dash";
|
|
581
|
+
readonly DASHEDHEAVY: "dashedHeavy";
|
|
582
|
+
readonly DASHLONG: "dashLong";
|
|
583
|
+
readonly DASHLONGHEAVY: "dashLongHeavy";
|
|
584
|
+
readonly DOTDASH: "dotDash";
|
|
585
|
+
readonly DASHDOTHEAVY: "dashDotHeavy";
|
|
586
|
+
readonly DOTDOTDASH: "dotDotDash";
|
|
587
|
+
readonly DASHDOTDOTHEAVY: "dashDotDotHeavy";
|
|
588
|
+
readonly WAVE: "wave";
|
|
589
|
+
readonly WAVYHEAVY: "wavyHeavy";
|
|
590
|
+
readonly WAVYDOUBLE: "wavyDouble";
|
|
591
|
+
readonly NONE: "none";
|
|
592
|
+
};
|
|
593
|
+
declare const createUnderline: (underlineType?: (typeof UnderlineType)[keyof typeof UnderlineType], color?: string, themeColor?: (typeof values_d_exports.ThemeColor)[keyof typeof values_d_exports.ThemeColor], themeTint?: string, themeShade?: string) => XmlComponent;
|
|
594
|
+
//#endregion
|
|
595
|
+
//#region src/file/paragraph/run/properties.d.ts
|
|
596
|
+
interface IFontOptions {
|
|
597
|
+
readonly name: string;
|
|
598
|
+
readonly hint?: string;
|
|
599
|
+
}
|
|
600
|
+
declare const TextEffect: {
|
|
601
|
+
readonly BLINK_BACKGROUND: "blinkBackground";
|
|
602
|
+
readonly LIGHTS: "lights";
|
|
603
|
+
readonly ANTS_BLACK: "antsBlack";
|
|
604
|
+
readonly ANTS_RED: "antsRed";
|
|
605
|
+
readonly SHIMMER: "shimmer";
|
|
606
|
+
readonly SPARKLE: "sparkle";
|
|
607
|
+
readonly NONE: "none";
|
|
608
|
+
};
|
|
609
|
+
declare const HighlightColor: {
|
|
610
|
+
readonly BLACK: "black";
|
|
611
|
+
readonly BLUE: "blue";
|
|
612
|
+
readonly CYAN: "cyan";
|
|
613
|
+
readonly DARK_BLUE: "darkBlue";
|
|
614
|
+
readonly DARK_CYAN: "darkCyan";
|
|
615
|
+
readonly DARK_GRAY: "darkGray";
|
|
616
|
+
readonly DARK_GREEN: "darkGreen";
|
|
617
|
+
readonly DARK_MAGENTA: "darkMagenta";
|
|
618
|
+
readonly DARK_RED: "darkRed";
|
|
619
|
+
readonly DARK_YELLOW: "darkYellow";
|
|
620
|
+
readonly GREEN: "green";
|
|
621
|
+
readonly LIGHT_GRAY: "lightGray";
|
|
622
|
+
readonly MAGENTA: "magenta";
|
|
623
|
+
readonly NONE: "none";
|
|
624
|
+
readonly RED: "red";
|
|
625
|
+
readonly WHITE: "white";
|
|
626
|
+
readonly YELLOW: "yellow";
|
|
627
|
+
};
|
|
628
|
+
interface RunStylePropertiesOptions {
|
|
629
|
+
readonly noProof?: boolean;
|
|
630
|
+
readonly bold?: boolean;
|
|
631
|
+
readonly boldComplexScript?: boolean;
|
|
632
|
+
readonly italics?: boolean;
|
|
633
|
+
readonly italicsComplexScript?: boolean;
|
|
634
|
+
readonly underline?: {
|
|
635
|
+
readonly color?: string;
|
|
636
|
+
readonly type?: (typeof UnderlineType)[keyof typeof UnderlineType];
|
|
1573
637
|
};
|
|
1574
|
-
readonly
|
|
1575
|
-
|
|
1576
|
-
readonly
|
|
638
|
+
readonly effect?: (typeof TextEffect)[keyof typeof TextEffect];
|
|
639
|
+
readonly emphasisMark?: {
|
|
640
|
+
readonly type?: (typeof EmphasisMarkType)[keyof typeof EmphasisMarkType];
|
|
1577
641
|
};
|
|
1578
|
-
readonly
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
readonly
|
|
1582
|
-
readonly
|
|
1583
|
-
readonly
|
|
1584
|
-
readonly
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
readonly
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
readonly
|
|
1591
|
-
readonly
|
|
642
|
+
readonly color?: string | ColorOptions;
|
|
643
|
+
readonly kern?: number | values_d_exports.PositiveUniversalMeasure;
|
|
644
|
+
readonly position?: values_d_exports.UniversalMeasure;
|
|
645
|
+
readonly size?: number | values_d_exports.PositiveUniversalMeasure;
|
|
646
|
+
readonly sizeComplexScript?: boolean | number | values_d_exports.PositiveUniversalMeasure;
|
|
647
|
+
readonly rightToLeft?: boolean;
|
|
648
|
+
readonly smallCaps?: boolean;
|
|
649
|
+
readonly allCaps?: boolean;
|
|
650
|
+
readonly strike?: boolean;
|
|
651
|
+
readonly doubleStrike?: boolean;
|
|
652
|
+
readonly subScript?: boolean;
|
|
653
|
+
readonly superScript?: boolean;
|
|
654
|
+
readonly font?: string | IFontOptions | IFontAttributesProperties;
|
|
655
|
+
readonly highlight?: (typeof HighlightColor)[keyof typeof HighlightColor];
|
|
656
|
+
readonly highlightComplexScript?: boolean | string;
|
|
657
|
+
readonly characterSpacing?: number;
|
|
658
|
+
readonly shading?: IShadingAttributesProperties;
|
|
659
|
+
readonly emboss?: boolean;
|
|
660
|
+
readonly imprint?: boolean;
|
|
661
|
+
readonly revision?: IRunPropertiesChangeOptions;
|
|
662
|
+
readonly language?: ILanguageOptions;
|
|
663
|
+
readonly border?: IBorderOptions;
|
|
664
|
+
readonly snapToGrid?: boolean;
|
|
665
|
+
readonly vanish?: boolean;
|
|
666
|
+
readonly specVanish?: boolean;
|
|
667
|
+
readonly scale?: number;
|
|
668
|
+
readonly math?: boolean;
|
|
669
|
+
readonly outline?: boolean;
|
|
670
|
+
readonly shadow?: boolean;
|
|
671
|
+
readonly webHidden?: boolean;
|
|
672
|
+
readonly fitText?: number;
|
|
673
|
+
readonly complexScript?: boolean;
|
|
674
|
+
readonly eastAsianLayout?: EastAsianLayoutOptions;
|
|
1592
675
|
}
|
|
1593
|
-
|
|
1594
|
-
readonly
|
|
1595
|
-
|
|
1596
|
-
|
|
676
|
+
type IRunPropertiesOptions = {
|
|
677
|
+
readonly style?: string;
|
|
678
|
+
} & RunStylePropertiesOptions;
|
|
679
|
+
type IRunPropertiesChangeOptions = {} & IRunPropertiesOptions & IChangedAttributesProperties;
|
|
680
|
+
type IParagraphRunPropertiesOptions = {
|
|
681
|
+
readonly insertion?: IChangedAttributesProperties;
|
|
682
|
+
readonly deletion?: IChangedAttributesProperties;
|
|
683
|
+
} & IRunPropertiesOptions;
|
|
684
|
+
declare class RunProperties extends IgnoreIfEmptyXmlComponent {
|
|
685
|
+
constructor(options?: IRunPropertiesOptions);
|
|
686
|
+
push(item: XmlComponent): void;
|
|
1597
687
|
}
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
readonly solidFill?: SolidFillOptions;
|
|
688
|
+
declare class ParagraphRunProperties extends RunProperties {
|
|
689
|
+
constructor(options?: IParagraphRunPropertiesOptions);
|
|
1601
690
|
}
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
readonly type: "wpg";
|
|
1605
|
-
readonly transformation: IMediaDataTransformation;
|
|
1606
|
-
readonly children: readonly IGroupChildMediaData[];
|
|
1607
|
-
readonly chOff?: IChildOffset;
|
|
1608
|
-
readonly chExt?: IChildExtent;
|
|
1609
|
-
readonly solidFill?: SolidFillOptions;
|
|
1610
|
-
readonly effects?: EffectListOptions;
|
|
691
|
+
declare class RunPropertiesChange extends XmlComponent {
|
|
692
|
+
constructor(options: IRunPropertiesChangeOptions);
|
|
1611
693
|
}
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
694
|
+
declare function buildRunProperties(options?: IRunPropertiesOptions): IXmlableObject | undefined;
|
|
695
|
+
//#endregion
|
|
696
|
+
//#region src/file/paragraph/run/text-run.d.ts
|
|
697
|
+
declare class TextRun extends Run {
|
|
698
|
+
constructor(options: IRunOptions | string);
|
|
1616
699
|
}
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
readonly
|
|
700
|
+
//#endregion
|
|
701
|
+
//#region src/file/paragraph/run/symbol-run.d.ts
|
|
702
|
+
type ISymbolRunOptions = {
|
|
703
|
+
readonly char: string;
|
|
704
|
+
readonly symbolfont?: string;
|
|
705
|
+
} & IRunOptions;
|
|
706
|
+
declare class SymbolRun extends Run {
|
|
707
|
+
constructor(options: ISymbolRunOptions | string);
|
|
1621
708
|
}
|
|
1622
|
-
type IExtendedMediaData = IMediaData | WpsMediaData | WpgMediaData | ChartMediaData | SmartArtMediaData;
|
|
1623
|
-
type IMediaData = (RegularMediaData | SvgMediaData) & CoreMediaData;
|
|
1624
|
-
declare const WORKAROUND2 = "";
|
|
1625
709
|
//#endregion
|
|
1626
|
-
//#region src/file/
|
|
1627
|
-
interface
|
|
1628
|
-
readonly
|
|
1629
|
-
|
|
1630
|
-
readonly left?: number;
|
|
1631
|
-
};
|
|
1632
|
-
readonly width: number;
|
|
1633
|
-
readonly height: number;
|
|
1634
|
-
readonly flip?: {
|
|
1635
|
-
readonly vertical?: boolean;
|
|
1636
|
-
readonly horizontal?: boolean;
|
|
1637
|
-
};
|
|
1638
|
-
readonly rotation?: number;
|
|
710
|
+
//#region src/file/drawing/doc-properties/doc-properties.d.ts
|
|
711
|
+
interface HyperlinkOptions {
|
|
712
|
+
readonly click?: string;
|
|
713
|
+
readonly hover?: string;
|
|
1639
714
|
}
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
715
|
+
interface DocPropertiesOptions {
|
|
716
|
+
readonly name: string;
|
|
717
|
+
readonly description?: string;
|
|
718
|
+
readonly title?: string;
|
|
719
|
+
readonly id?: string;
|
|
720
|
+
readonly hyperlink?: HyperlinkOptions;
|
|
1646
721
|
}
|
|
1647
722
|
//#endregion
|
|
1648
723
|
//#region src/file/shared/alignment.d.ts
|
|
@@ -1768,93 +843,6 @@ declare const createVerticalPosition: ({
|
|
|
1768
843
|
offset
|
|
1769
844
|
}: IVerticalPositionOptions) => XmlComponent;
|
|
1770
845
|
//#endregion
|
|
1771
|
-
//#region src/file/drawing/inline/graphic/graphic-data/pic/blip/blip-effects.d.ts
|
|
1772
|
-
interface LuminanceEffectOptions {
|
|
1773
|
-
readonly bright?: number;
|
|
1774
|
-
readonly contrast?: number;
|
|
1775
|
-
}
|
|
1776
|
-
interface HSLEffectOptions {
|
|
1777
|
-
readonly hue?: number;
|
|
1778
|
-
readonly sat?: number;
|
|
1779
|
-
readonly lum?: number;
|
|
1780
|
-
}
|
|
1781
|
-
interface TintEffectOptions {
|
|
1782
|
-
readonly hue?: number;
|
|
1783
|
-
readonly amt?: number;
|
|
1784
|
-
}
|
|
1785
|
-
interface DuotoneEffectOptions {
|
|
1786
|
-
readonly color1: SolidFillOptions;
|
|
1787
|
-
readonly color2: SolidFillOptions;
|
|
1788
|
-
}
|
|
1789
|
-
interface BiLevelEffectOptions {
|
|
1790
|
-
readonly thresh: number;
|
|
1791
|
-
}
|
|
1792
|
-
interface AlphaReplaceEffectOptions {
|
|
1793
|
-
readonly amount: number;
|
|
1794
|
-
}
|
|
1795
|
-
interface AlphaBiLevelEffectOptions {
|
|
1796
|
-
readonly thresh: number;
|
|
1797
|
-
}
|
|
1798
|
-
interface AlphaModulateFixedEffectOptions {
|
|
1799
|
-
readonly amount?: number;
|
|
1800
|
-
}
|
|
1801
|
-
interface ColorChangeEffectOptions {
|
|
1802
|
-
readonly from: SolidFillOptions;
|
|
1803
|
-
readonly to: SolidFillOptions;
|
|
1804
|
-
readonly useAlpha?: boolean;
|
|
1805
|
-
}
|
|
1806
|
-
interface ColorReplaceEffectOptions {
|
|
1807
|
-
readonly color: SolidFillOptions;
|
|
1808
|
-
}
|
|
1809
|
-
interface BlipBlurEffectOptions {
|
|
1810
|
-
readonly rad?: number;
|
|
1811
|
-
readonly grow?: boolean;
|
|
1812
|
-
}
|
|
1813
|
-
interface BlipEffectsOptions {
|
|
1814
|
-
readonly grayscale?: boolean;
|
|
1815
|
-
readonly luminance?: LuminanceEffectOptions;
|
|
1816
|
-
readonly hsl?: HSLEffectOptions;
|
|
1817
|
-
readonly tint?: TintEffectOptions;
|
|
1818
|
-
readonly duotone?: DuotoneEffectOptions;
|
|
1819
|
-
readonly biLevel?: BiLevelEffectOptions;
|
|
1820
|
-
readonly alphaCeiling?: boolean;
|
|
1821
|
-
readonly alphaFloor?: boolean;
|
|
1822
|
-
readonly alphaInverse?: SolidFillOptions;
|
|
1823
|
-
readonly alphaModFix?: AlphaModulateFixedEffectOptions;
|
|
1824
|
-
readonly alphaRepl?: AlphaReplaceEffectOptions;
|
|
1825
|
-
readonly alphaBiLevel?: AlphaBiLevelEffectOptions;
|
|
1826
|
-
readonly colorChange?: ColorChangeEffectOptions;
|
|
1827
|
-
readonly colorRepl?: ColorReplaceEffectOptions;
|
|
1828
|
-
readonly blur?: BlipBlurEffectOptions;
|
|
1829
|
-
}
|
|
1830
|
-
//#endregion
|
|
1831
|
-
//#region src/file/drawing/inline/graphic/graphic-data/pic/blip/tile.d.ts
|
|
1832
|
-
declare const TileFlipMode: {
|
|
1833
|
-
readonly NONE: "none";
|
|
1834
|
-
readonly X: "x";
|
|
1835
|
-
readonly Y: "y";
|
|
1836
|
-
readonly XY: "xy";
|
|
1837
|
-
};
|
|
1838
|
-
declare const TileAlignment: {
|
|
1839
|
-
readonly TOP_LEFT: "tl";
|
|
1840
|
-
readonly TOP: "t";
|
|
1841
|
-
readonly TOP_RIGHT: "tr";
|
|
1842
|
-
readonly LEFT: "l";
|
|
1843
|
-
readonly CENTER: "ctr";
|
|
1844
|
-
readonly RIGHT: "r";
|
|
1845
|
-
readonly BOTTOM_LEFT: "bl";
|
|
1846
|
-
readonly BOTTOM: "b";
|
|
1847
|
-
readonly BOTTOM_RIGHT: "br";
|
|
1848
|
-
};
|
|
1849
|
-
interface TileOptions {
|
|
1850
|
-
readonly tx?: number;
|
|
1851
|
-
readonly ty?: number;
|
|
1852
|
-
readonly sx?: number;
|
|
1853
|
-
readonly sy?: number;
|
|
1854
|
-
readonly flip?: keyof typeof TileFlipMode;
|
|
1855
|
-
readonly align?: keyof typeof TileAlignment;
|
|
1856
|
-
}
|
|
1857
|
-
//#endregion
|
|
1858
846
|
//#region src/file/drawing/drawing.d.ts
|
|
1859
847
|
interface IDistance {
|
|
1860
848
|
readonly distT?: number;
|
|
@@ -1866,7 +854,7 @@ interface IDrawingOptions {
|
|
|
1866
854
|
readonly floating?: IFloating;
|
|
1867
855
|
readonly docProperties?: DocPropertiesOptions;
|
|
1868
856
|
readonly outline?: OutlineOptions;
|
|
1869
|
-
readonly
|
|
857
|
+
readonly fill?: FillOptions;
|
|
1870
858
|
readonly effects?: EffectListOptions;
|
|
1871
859
|
readonly blipEffects?: BlipEffectsOptions;
|
|
1872
860
|
readonly tile?: TileOptions;
|
|
@@ -1881,7 +869,7 @@ interface CoreImageOptions {
|
|
|
1881
869
|
readonly floating?: IFloating;
|
|
1882
870
|
readonly altText?: DocPropertiesOptions;
|
|
1883
871
|
readonly outline?: OutlineOptions;
|
|
1884
|
-
readonly
|
|
872
|
+
readonly fill?: FillOptions;
|
|
1885
873
|
readonly effects?: EffectListOptions;
|
|
1886
874
|
readonly blipEffects?: BlipEffectsOptions;
|
|
1887
875
|
readonly srcRect?: SourceRectangleOptions;
|
|
@@ -1940,6 +928,9 @@ interface ISmartArtOptions {
|
|
|
1940
928
|
readonly transformation: IMediaTransformation;
|
|
1941
929
|
readonly floating?: IFloating;
|
|
1942
930
|
readonly altText?: DocPropertiesOptions;
|
|
931
|
+
readonly layout?: string;
|
|
932
|
+
readonly style?: string;
|
|
933
|
+
readonly color?: string;
|
|
1943
934
|
}
|
|
1944
935
|
declare class SmartArtRun extends Run {
|
|
1945
936
|
private readonly smartArtOptions;
|
|
@@ -1993,19 +984,6 @@ declare class SimpleMailMergeField extends SimpleField {
|
|
|
1993
984
|
constructor(fieldName: string);
|
|
1994
985
|
}
|
|
1995
986
|
//#endregion
|
|
1996
|
-
//#region src/file/relationships/relationship/relationship.d.ts
|
|
1997
|
-
type RelationshipType = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/image" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/fontTable" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/webSettings" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/numbering" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/header" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" | "http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/footnotes" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/endnotes" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/bibliography" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/font" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/diagramData" | "http://schemas.microsoft.com/office/2007/relationships/diagramLayout" | "http://schemas.microsoft.com/office/2007/relationships/diagramStyle" | "http://schemas.microsoft.com/office/2007/relationships/diagramColors";
|
|
1998
|
-
declare const TargetModeType: {
|
|
1999
|
-
readonly EXTERNAL: "External";
|
|
2000
|
-
};
|
|
2001
|
-
//#endregion
|
|
2002
|
-
//#region src/file/relationships/relationships.d.ts
|
|
2003
|
-
declare class Relationships extends XmlComponent {
|
|
2004
|
-
constructor();
|
|
2005
|
-
addRelationship(id: number | string, type: RelationshipType, target: string, targetMode?: (typeof TargetModeType)[keyof typeof TargetModeType]): void;
|
|
2006
|
-
get RelationshipCount(): number;
|
|
2007
|
-
}
|
|
2008
|
-
//#endregion
|
|
2009
987
|
//#region src/file/paragraph/run/comment-run.d.ts
|
|
2010
988
|
interface ICommentOptions {
|
|
2011
989
|
readonly id: number;
|
|
@@ -2191,6 +1169,11 @@ interface FormFieldOptions extends FormFieldCommonOptions {
|
|
|
2191
1169
|
}
|
|
2192
1170
|
declare const createFormFieldData: (options: FormFieldOptions) => XmlComponent;
|
|
2193
1171
|
//#endregion
|
|
1172
|
+
//#region src/file/paragraph/run/break.d.ts
|
|
1173
|
+
declare const createBreak: (options?: {
|
|
1174
|
+
readonly clear?: "none" | "left" | "right" | "all";
|
|
1175
|
+
}) => XmlComponent;
|
|
1176
|
+
//#endregion
|
|
2194
1177
|
//#region src/file/footnotes/footnote/run/reference-run.d.ts
|
|
2195
1178
|
declare class FootNoteReferenceRunAttributes extends XmlAttributeComponent<{
|
|
2196
1179
|
readonly id: number;
|
|
@@ -2206,31 +1189,6 @@ declare class FootnoteReferenceRun extends Run {
|
|
|
2206
1189
|
constructor(id: number);
|
|
2207
1190
|
}
|
|
2208
1191
|
//#endregion
|
|
2209
|
-
//#region src/file/table-of-contents/table-of-contents-properties.d.ts
|
|
2210
|
-
declare class StyleLevel {
|
|
2211
|
-
readonly styleName: string;
|
|
2212
|
-
readonly level: number;
|
|
2213
|
-
constructor(styleName: string, level: number);
|
|
2214
|
-
}
|
|
2215
|
-
interface ITableOfContentsOptions {
|
|
2216
|
-
readonly captionLabel?: string;
|
|
2217
|
-
readonly entriesFromBookmark?: string;
|
|
2218
|
-
readonly captionLabelIncludingNumbers?: string;
|
|
2219
|
-
readonly sequenceAndPageNumbersSeparator?: string;
|
|
2220
|
-
readonly tcFieldIdentifier?: string;
|
|
2221
|
-
readonly hyperlink?: boolean;
|
|
2222
|
-
readonly tcFieldLevelRange?: string;
|
|
2223
|
-
readonly pageNumbersEntryLevelsRange?: string;
|
|
2224
|
-
readonly headingStyleRange?: string;
|
|
2225
|
-
readonly entryAndPageNumberSeparator?: string;
|
|
2226
|
-
readonly seqFieldIdentifierForPrefix?: string;
|
|
2227
|
-
readonly stylesWithLevels?: readonly StyleLevel[];
|
|
2228
|
-
readonly useAppliedParagraphOutlineLevel?: boolean;
|
|
2229
|
-
readonly preserveTabInEntries?: boolean;
|
|
2230
|
-
readonly preserveNewLineInEntries?: boolean;
|
|
2231
|
-
readonly hideTabAndPageNumbersInWebView?: boolean;
|
|
2232
|
-
}
|
|
2233
|
-
//#endregion
|
|
2234
1192
|
//#region src/file/table-of-contents/field-instruction.d.ts
|
|
2235
1193
|
declare class FieldInstruction extends XmlComponent {
|
|
2236
1194
|
private readonly properties;
|
|
@@ -2239,7 +1197,7 @@ declare class FieldInstruction extends XmlComponent {
|
|
|
2239
1197
|
//#endregion
|
|
2240
1198
|
//#region src/file/paragraph/run/run.d.ts
|
|
2241
1199
|
interface IRunOptionsBase {
|
|
2242
|
-
readonly children?: readonly (FieldInstruction | (typeof PageNumber)[keyof typeof PageNumber] | FootnoteReferenceRun | string | AnnotationReference | CarriageReturn | ContinuationSeparator | DayLong | DayShort | EndnoteReference | FootnoteReferenceElement | LastRenderedPageBreak | MonthLong | MonthShort | NoBreakHyphen | PageNumberElement | Separator | SoftHyphen | Tab | YearLong | YearShort |
|
|
1200
|
+
readonly children?: readonly (FieldInstruction | (typeof PageNumber)[keyof typeof PageNumber] | FootnoteReferenceRun | string | AnnotationReference | CarriageReturn | ContinuationSeparator | DayLong | DayShort | EndnoteReference | FootnoteReferenceElement | LastRenderedPageBreak | MonthLong | MonthShort | NoBreakHyphen | PageNumberElement | Separator | SoftHyphen | Tab | YearLong | YearShort | BaseXmlComponent)[];
|
|
2243
1201
|
readonly break?: number;
|
|
2244
1202
|
readonly text?: string;
|
|
2245
1203
|
}
|
|
@@ -2251,9 +1209,11 @@ declare const PageNumber: {
|
|
|
2251
1209
|
readonly TOTAL_PAGES_IN_SECTION: "TOTAL_PAGES_IN_SECTION";
|
|
2252
1210
|
readonly CURRENT_SECTION: "SECTION";
|
|
2253
1211
|
};
|
|
2254
|
-
declare class Run extends
|
|
2255
|
-
|
|
1212
|
+
declare class Run extends BaseXmlComponent {
|
|
1213
|
+
private readonly options;
|
|
1214
|
+
protected extraChildren: (BaseXmlComponent | IXmlableObject)[];
|
|
2256
1215
|
constructor(options: IRunOptions);
|
|
1216
|
+
prepForXml(context: IContext): IXmlableObject | undefined;
|
|
2257
1217
|
}
|
|
2258
1218
|
//#endregion
|
|
2259
1219
|
//#region src/file/track-revision/track-revision-components/deleted-text-run.d.ts
|
|
@@ -2266,6 +1226,15 @@ declare class DeletedTextRunWrapper extends XmlComponent {
|
|
|
2266
1226
|
constructor(options: IRunOptions);
|
|
2267
1227
|
}
|
|
2268
1228
|
//#endregion
|
|
1229
|
+
//#region src/file/track-revision/track-revision-components/moved-text-run.d.ts
|
|
1230
|
+
type IMovedRunOptions = IRunOptions & IChangedAttributesProperties;
|
|
1231
|
+
declare class MovedFromTextRun extends XmlComponent {
|
|
1232
|
+
constructor(options: IMovedRunOptions);
|
|
1233
|
+
}
|
|
1234
|
+
declare class MovedToTextRun extends XmlComponent {
|
|
1235
|
+
constructor(options: IMovedRunOptions);
|
|
1236
|
+
}
|
|
1237
|
+
//#endregion
|
|
2269
1238
|
//#region src/file/track-revision/track-revision-components/inserted-table-row.d.ts
|
|
2270
1239
|
declare class InsertedTableRow extends XmlComponent {
|
|
2271
1240
|
constructor(options: IChangedAttributesProperties);
|
|
@@ -2326,9 +1295,44 @@ declare const VerticalAlign: {
|
|
|
2326
1295
|
readonly CENTER: "center";
|
|
2327
1296
|
readonly TOP: "top";
|
|
2328
1297
|
};
|
|
2329
|
-
type TableVerticalAlign = (typeof VerticalAlignTable)[keyof typeof VerticalAlignTable];
|
|
2330
|
-
type SectionVerticalAlign = (typeof VerticalAlignSection)[keyof typeof VerticalAlignSection];
|
|
2331
|
-
declare const createVerticalAlign: (value: (typeof VerticalAlign)[keyof typeof VerticalAlign]) => XmlComponent;
|
|
1298
|
+
type TableVerticalAlign = (typeof VerticalAlignTable)[keyof typeof VerticalAlignTable];
|
|
1299
|
+
type SectionVerticalAlign = (typeof VerticalAlignSection)[keyof typeof VerticalAlignSection];
|
|
1300
|
+
declare const createVerticalAlign: (value: (typeof VerticalAlign)[keyof typeof VerticalAlign]) => XmlComponent;
|
|
1301
|
+
//#endregion
|
|
1302
|
+
//#region src/file/table/table-properties/table-cell-margin.d.ts
|
|
1303
|
+
interface ITableCellMarginOptions {
|
|
1304
|
+
readonly marginUnitType?: (typeof WidthType)[keyof typeof WidthType];
|
|
1305
|
+
readonly top?: number;
|
|
1306
|
+
readonly bottom?: number;
|
|
1307
|
+
readonly left?: number;
|
|
1308
|
+
readonly right?: number;
|
|
1309
|
+
}
|
|
1310
|
+
//#endregion
|
|
1311
|
+
//#region src/file/table/table-cell-spacing.d.ts
|
|
1312
|
+
declare const CellSpacingType: {
|
|
1313
|
+
readonly DXA: "dxa";
|
|
1314
|
+
readonly NIL: "nil";
|
|
1315
|
+
};
|
|
1316
|
+
interface ITableCellSpacingProperties {
|
|
1317
|
+
readonly value: number | values_d_exports.Percentage | values_d_exports.UniversalMeasure;
|
|
1318
|
+
readonly type?: (typeof CellSpacingType)[keyof typeof CellSpacingType];
|
|
1319
|
+
}
|
|
1320
|
+
//#endregion
|
|
1321
|
+
//#region src/file/table/table-width.d.ts
|
|
1322
|
+
declare const WidthType: {
|
|
1323
|
+
readonly AUTO: "auto";
|
|
1324
|
+
readonly DXA: "dxa";
|
|
1325
|
+
readonly NIL: "nil";
|
|
1326
|
+
readonly PERCENTAGE: "pct";
|
|
1327
|
+
};
|
|
1328
|
+
interface ITableWidthProperties {
|
|
1329
|
+
readonly size: number | values_d_exports.Percentage | values_d_exports.UniversalMeasure;
|
|
1330
|
+
readonly type?: (typeof WidthType)[keyof typeof WidthType];
|
|
1331
|
+
}
|
|
1332
|
+
declare const createTableWidthElement: (name: string, {
|
|
1333
|
+
type,
|
|
1334
|
+
size
|
|
1335
|
+
}: ITableWidthProperties) => XmlComponent;
|
|
2332
1336
|
//#endregion
|
|
2333
1337
|
//#region src/file/table/table-row/table-row-height.d.ts
|
|
2334
1338
|
declare const HeightRule: {
|
|
@@ -2336,7 +1340,7 @@ declare const HeightRule: {
|
|
|
2336
1340
|
readonly ATLEAST: "atLeast";
|
|
2337
1341
|
readonly EXACT: "exact";
|
|
2338
1342
|
};
|
|
2339
|
-
declare const createTableRowHeight: (value: number | PositiveUniversalMeasure, rule: (typeof HeightRule)[keyof typeof HeightRule]) => XmlComponent;
|
|
1343
|
+
declare const createTableRowHeight: (value: number | values_d_exports.PositiveUniversalMeasure, rule: (typeof HeightRule)[keyof typeof HeightRule]) => XmlComponent;
|
|
2340
1344
|
//#endregion
|
|
2341
1345
|
//#region src/file/table/table-row/table-row-properties.d.ts
|
|
2342
1346
|
interface CnfStyleOptions {
|
|
@@ -2348,7 +1352,7 @@ interface ITableRowPropertiesOptionsBase {
|
|
|
2348
1352
|
readonly cantSplit?: boolean;
|
|
2349
1353
|
readonly tableHeader?: boolean;
|
|
2350
1354
|
readonly height?: {
|
|
2351
|
-
readonly value: number | PositiveUniversalMeasure;
|
|
1355
|
+
readonly value: number | values_d_exports.PositiveUniversalMeasure;
|
|
2352
1356
|
readonly rule: (typeof HeightRule)[keyof typeof HeightRule];
|
|
2353
1357
|
};
|
|
2354
1358
|
readonly cellSpacing?: ITableCellSpacingProperties;
|
|
@@ -2434,42 +1438,135 @@ type ITableCellPropertiesChangeOptions = ITableCellPropertiesOptionsBase & IChan
|
|
|
2434
1438
|
//#endregion
|
|
2435
1439
|
//#region src/file/table/table-cell/table-cell.d.ts
|
|
2436
1440
|
type ITableCellOptions = {
|
|
2437
|
-
readonly children: readonly (Paragraph | Table)[];
|
|
1441
|
+
readonly children: readonly (Paragraph | Table | StructuredDocumentTagCell)[];
|
|
2438
1442
|
} & ITableCellPropertiesOptions;
|
|
2439
|
-
declare class TableCell extends
|
|
1443
|
+
declare class TableCell extends BaseXmlComponent {
|
|
2440
1444
|
readonly options: ITableCellOptions;
|
|
2441
1445
|
constructor(options: ITableCellOptions);
|
|
2442
1446
|
prepForXml(context: IContext): IXmlableObject | undefined;
|
|
2443
1447
|
}
|
|
2444
1448
|
//#endregion
|
|
2445
|
-
//#region src/file/
|
|
2446
|
-
|
|
2447
|
-
readonly
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
1449
|
+
//#region src/file/sdt/sdt-row.d.ts
|
|
1450
|
+
interface ISdtRowOptions {
|
|
1451
|
+
readonly properties: SdtPropertiesOptions;
|
|
1452
|
+
readonly children?: readonly TableRow[];
|
|
1453
|
+
}
|
|
1454
|
+
declare class StructuredDocumentTagRow extends XmlComponent {
|
|
1455
|
+
private readonly rows;
|
|
1456
|
+
constructor(options: ISdtRowOptions);
|
|
2452
1457
|
get CellCount(): number;
|
|
2453
1458
|
get cells(): readonly TableCell[];
|
|
2454
|
-
addCellToIndex(cell: TableCell, index: number): void;
|
|
2455
1459
|
addCellToColumnIndex(cell: TableCell, columnIndex: number): void;
|
|
2456
|
-
rootIndexToColumnIndex(rootIndex: number): number;
|
|
2457
|
-
columnIndexToRootIndex(columnIndex: number, allowEndNewCell?: boolean): number;
|
|
2458
1460
|
}
|
|
2459
1461
|
//#endregion
|
|
2460
|
-
//#region src/file/table/
|
|
2461
|
-
interface
|
|
2462
|
-
readonly
|
|
1462
|
+
//#region src/file/table/grid.d.ts
|
|
1463
|
+
interface ITableGridChangeOptions {
|
|
1464
|
+
readonly id: number;
|
|
1465
|
+
readonly columnWidths: readonly number[] | readonly values_d_exports.PositiveUniversalMeasure[];
|
|
1466
|
+
}
|
|
1467
|
+
//#endregion
|
|
1468
|
+
//#region src/file/table/table-properties/table-borders.d.ts
|
|
1469
|
+
interface ITableBordersOptions {
|
|
1470
|
+
readonly top?: IBorderOptions;
|
|
1471
|
+
readonly bottom?: IBorderOptions;
|
|
1472
|
+
readonly left?: IBorderOptions;
|
|
1473
|
+
readonly right?: IBorderOptions;
|
|
1474
|
+
readonly insideHorizontal?: IBorderOptions;
|
|
1475
|
+
readonly insideVertical?: IBorderOptions;
|
|
1476
|
+
}
|
|
1477
|
+
declare class TableBorders extends XmlComponent {
|
|
1478
|
+
static readonly NONE: ITableBordersOptions;
|
|
1479
|
+
constructor(options: ITableBordersOptions);
|
|
1480
|
+
}
|
|
1481
|
+
//#endregion
|
|
1482
|
+
//#region src/file/table/table-properties/table-float-properties.d.ts
|
|
1483
|
+
declare const TableAnchorType: {
|
|
1484
|
+
readonly MARGIN: "margin";
|
|
1485
|
+
readonly PAGE: "page";
|
|
1486
|
+
readonly TEXT: "text";
|
|
1487
|
+
};
|
|
1488
|
+
declare const RelativeHorizontalPosition: {
|
|
1489
|
+
readonly CENTER: "center";
|
|
1490
|
+
readonly INSIDE: "inside";
|
|
1491
|
+
readonly LEFT: "left";
|
|
1492
|
+
readonly OUTSIDE: "outside";
|
|
1493
|
+
readonly RIGHT: "right";
|
|
1494
|
+
};
|
|
1495
|
+
declare const RelativeVerticalPosition: {
|
|
1496
|
+
readonly BOTTOM: "bottom";
|
|
1497
|
+
readonly CENTER: "center";
|
|
1498
|
+
readonly INLINE: "inline";
|
|
1499
|
+
readonly INSIDE: "inside";
|
|
1500
|
+
readonly OUTSIDE: "outside";
|
|
1501
|
+
readonly TOP: "top";
|
|
1502
|
+
};
|
|
1503
|
+
declare const OverlapType: {
|
|
1504
|
+
readonly NEVER: "never";
|
|
1505
|
+
readonly OVERLAP: "overlap";
|
|
1506
|
+
};
|
|
1507
|
+
interface ITableFloatOptions {
|
|
1508
|
+
readonly horizontalAnchor?: (typeof TableAnchorType)[keyof typeof TableAnchorType];
|
|
1509
|
+
readonly absoluteHorizontalPosition?: number | values_d_exports.UniversalMeasure;
|
|
1510
|
+
readonly relativeHorizontalPosition?: (typeof RelativeHorizontalPosition)[keyof typeof RelativeHorizontalPosition];
|
|
1511
|
+
readonly verticalAnchor?: (typeof TableAnchorType)[keyof typeof TableAnchorType];
|
|
1512
|
+
readonly absoluteVerticalPosition?: number | values_d_exports.UniversalMeasure;
|
|
1513
|
+
readonly relativeVerticalPosition?: (typeof RelativeVerticalPosition)[keyof typeof RelativeVerticalPosition];
|
|
1514
|
+
readonly bottomFromText?: number | values_d_exports.PositiveUniversalMeasure;
|
|
1515
|
+
readonly topFromText?: number | values_d_exports.PositiveUniversalMeasure;
|
|
1516
|
+
readonly leftFromText?: number | values_d_exports.PositiveUniversalMeasure;
|
|
1517
|
+
readonly rightFromText?: number | values_d_exports.PositiveUniversalMeasure;
|
|
1518
|
+
readonly overlap?: (typeof OverlapType)[keyof typeof OverlapType];
|
|
1519
|
+
}
|
|
1520
|
+
declare const createTableFloatProperties: ({
|
|
1521
|
+
horizontalAnchor,
|
|
1522
|
+
verticalAnchor,
|
|
1523
|
+
absoluteHorizontalPosition,
|
|
1524
|
+
relativeHorizontalPosition,
|
|
1525
|
+
absoluteVerticalPosition,
|
|
1526
|
+
relativeVerticalPosition,
|
|
1527
|
+
bottomFromText,
|
|
1528
|
+
topFromText,
|
|
1529
|
+
leftFromText,
|
|
1530
|
+
rightFromText
|
|
1531
|
+
}: ITableFloatOptions) => XmlComponent;
|
|
1532
|
+
declare const createTableOverlap: (overlap: (typeof OverlapType)[keyof typeof OverlapType]) => XmlComponent;
|
|
1533
|
+
//#endregion
|
|
1534
|
+
//#region src/file/table/table-properties/table-layout.d.ts
|
|
1535
|
+
declare const TableLayoutType: {
|
|
1536
|
+
readonly AUTOFIT: "autofit";
|
|
1537
|
+
readonly FIXED: "fixed";
|
|
1538
|
+
};
|
|
1539
|
+
declare const createTableLayout: (type: (typeof TableLayoutType)[keyof typeof TableLayoutType]) => XmlComponent;
|
|
1540
|
+
//#endregion
|
|
1541
|
+
//#region src/file/table/table-properties/table-look.d.ts
|
|
1542
|
+
interface ITableLookOptions {
|
|
1543
|
+
readonly firstRow?: boolean;
|
|
1544
|
+
readonly lastRow?: boolean;
|
|
1545
|
+
readonly firstColumn?: boolean;
|
|
1546
|
+
readonly lastColumn?: boolean;
|
|
1547
|
+
readonly noHBand?: boolean;
|
|
1548
|
+
readonly noVBand?: boolean;
|
|
1549
|
+
}
|
|
1550
|
+
declare const createTableLook: ({
|
|
1551
|
+
firstRow,
|
|
1552
|
+
lastRow,
|
|
1553
|
+
firstColumn,
|
|
1554
|
+
lastColumn,
|
|
1555
|
+
noHBand,
|
|
1556
|
+
noVBand
|
|
1557
|
+
}: ITableLookOptions) => XmlComponent;
|
|
1558
|
+
//#endregion
|
|
1559
|
+
//#region src/file/table/table-properties/table-properties.d.ts
|
|
1560
|
+
interface ITablePropertiesOptionsBase {
|
|
2463
1561
|
readonly width?: ITableWidthProperties;
|
|
2464
|
-
readonly columnWidths?: readonly number[];
|
|
2465
|
-
readonly columnWidthsRevision?: ITableGridChangeOptions;
|
|
2466
|
-
readonly margins?: ITableCellMarginOptions;
|
|
2467
1562
|
readonly indent?: ITableWidthProperties;
|
|
2468
|
-
readonly float?: ITableFloatOptions;
|
|
2469
1563
|
readonly layout?: (typeof TableLayoutType)[keyof typeof TableLayoutType];
|
|
2470
|
-
readonly style?: string;
|
|
2471
1564
|
readonly borders?: ITableBordersOptions;
|
|
1565
|
+
readonly float?: ITableFloatOptions;
|
|
1566
|
+
readonly shading?: IShadingAttributesProperties;
|
|
1567
|
+
readonly style?: string;
|
|
2472
1568
|
readonly alignment?: (typeof AlignmentType)[keyof typeof AlignmentType];
|
|
1569
|
+
readonly cellMargin?: ITableCellMarginOptions;
|
|
2473
1570
|
readonly visuallyRightToLeft?: boolean;
|
|
2474
1571
|
readonly tableLook?: ITableLookOptions;
|
|
2475
1572
|
readonly cellSpacing?: ITableCellSpacingProperties;
|
|
@@ -2477,142 +1574,78 @@ interface ITableOptions {
|
|
|
2477
1574
|
readonly styleColBandSize?: number;
|
|
2478
1575
|
readonly caption?: string;
|
|
2479
1576
|
readonly description?: string;
|
|
2480
|
-
readonly revision?: ITablePropertiesChangeOptions;
|
|
2481
1577
|
}
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
|
|
2486
|
-
|
|
2487
|
-
|
|
2488
|
-
|
|
2489
|
-
indent,
|
|
2490
|
-
float,
|
|
2491
|
-
layout,
|
|
2492
|
-
style,
|
|
2493
|
-
borders,
|
|
2494
|
-
alignment,
|
|
2495
|
-
visuallyRightToLeft,
|
|
2496
|
-
tableLook,
|
|
2497
|
-
cellSpacing,
|
|
2498
|
-
styleRowBandSize,
|
|
2499
|
-
styleColBandSize,
|
|
2500
|
-
caption,
|
|
2501
|
-
description,
|
|
2502
|
-
revision
|
|
2503
|
-
}: ITableOptions);
|
|
1578
|
+
type ITablePropertiesChangeOptions = ITablePropertiesOptions & IChangedAttributesProperties;
|
|
1579
|
+
type ITablePropertiesOptions = {
|
|
1580
|
+
readonly revision?: ITablePropertiesChangeOptions;
|
|
1581
|
+
readonly includeIfEmpty?: boolean;
|
|
1582
|
+
} & ITablePropertiesOptionsBase;
|
|
1583
|
+
declare class TableProperties extends IgnoreIfEmptyXmlComponent {
|
|
1584
|
+
constructor(options: ITablePropertiesOptions);
|
|
2504
1585
|
}
|
|
2505
1586
|
//#endregion
|
|
2506
|
-
//#region src/file/table-
|
|
2507
|
-
interface
|
|
2508
|
-
readonly
|
|
2509
|
-
readonly
|
|
2510
|
-
readonly
|
|
2511
|
-
readonly
|
|
1587
|
+
//#region src/file/table/table-properties/table-property-exceptions.d.ts
|
|
1588
|
+
interface ITablePropertyExOptions {
|
|
1589
|
+
readonly width?: ITableWidthProperties;
|
|
1590
|
+
readonly indent?: ITableWidthProperties;
|
|
1591
|
+
readonly layout?: (typeof TableLayoutType)[keyof typeof TableLayoutType];
|
|
1592
|
+
readonly borders?: ITableBordersOptions;
|
|
1593
|
+
readonly shading?: IShadingAttributesProperties;
|
|
1594
|
+
readonly alignment?: (typeof AlignmentType)[keyof typeof AlignmentType];
|
|
1595
|
+
readonly cellMargin?: ITableCellMarginOptions;
|
|
1596
|
+
readonly tableLook?: ITableLookOptions;
|
|
1597
|
+
readonly cellSpacing?: ITableCellSpacingProperties;
|
|
2512
1598
|
}
|
|
2513
|
-
declare class
|
|
2514
|
-
constructor(
|
|
2515
|
-
contentChildren,
|
|
2516
|
-
cachedEntries,
|
|
2517
|
-
beginDirty,
|
|
2518
|
-
...properties
|
|
2519
|
-
}?: ITableOfContentsOptions & {
|
|
2520
|
-
readonly contentChildren?: readonly (XmlComponent | string)[];
|
|
2521
|
-
readonly cachedEntries?: readonly ToCEntry[];
|
|
2522
|
-
readonly beginDirty?: boolean;
|
|
2523
|
-
});
|
|
2524
|
-
private getTabStopsForLevel;
|
|
2525
|
-
private buildCachedContentRun;
|
|
2526
|
-
private buildCachedContentParagraphChild;
|
|
1599
|
+
declare class TablePropertyExceptions extends IgnoreIfEmptyXmlComponent {
|
|
1600
|
+
constructor(options: ITablePropertyExOptions);
|
|
2527
1601
|
}
|
|
2528
1602
|
//#endregion
|
|
2529
|
-
//#region src/file/table-
|
|
2530
|
-
|
|
2531
|
-
readonly
|
|
2532
|
-
readonly
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
readonly items?: readonly SdtListItem[];
|
|
2546
|
-
readonly lastValue?: string;
|
|
2547
|
-
}
|
|
2548
|
-
declare const SdtDateMappingType: {
|
|
2549
|
-
readonly TEXT: "text";
|
|
2550
|
-
readonly DATE: "date";
|
|
2551
|
-
readonly DATE_TIME: "dateTime";
|
|
2552
|
-
};
|
|
2553
|
-
interface SdtDateOptions {
|
|
2554
|
-
readonly dateFormat?: string;
|
|
2555
|
-
readonly languageId?: string;
|
|
2556
|
-
readonly storeMappedDataAs?: (typeof SdtDateMappingType)[keyof typeof SdtDateMappingType];
|
|
2557
|
-
readonly calendar?: string;
|
|
2558
|
-
readonly fullDate?: string;
|
|
2559
|
-
}
|
|
2560
|
-
interface SdtTextOptions {
|
|
2561
|
-
readonly multiLine?: boolean;
|
|
2562
|
-
}
|
|
2563
|
-
interface SdtDataBindingOptions {
|
|
2564
|
-
readonly prefixMappings?: string;
|
|
2565
|
-
readonly xpath: string;
|
|
2566
|
-
readonly storeItemID: string;
|
|
2567
|
-
}
|
|
2568
|
-
interface SdtPropertiesOptions {
|
|
2569
|
-
readonly alias?: string;
|
|
2570
|
-
readonly tag?: string;
|
|
2571
|
-
readonly id?: number;
|
|
2572
|
-
readonly lock?: (typeof SdtLock)[keyof typeof SdtLock];
|
|
2573
|
-
readonly temporary?: boolean;
|
|
2574
|
-
readonly showingPlaceholder?: boolean;
|
|
2575
|
-
readonly placeholder?: XmlComponent[];
|
|
2576
|
-
readonly dataBinding?: SdtDataBindingOptions;
|
|
2577
|
-
readonly label?: number;
|
|
2578
|
-
readonly tabIndex?: number;
|
|
2579
|
-
readonly runProperties?: XmlComponent;
|
|
2580
|
-
readonly equation?: boolean;
|
|
2581
|
-
readonly comboBox?: SdtComboBoxOptions;
|
|
2582
|
-
readonly date?: SdtDateOptions;
|
|
2583
|
-
readonly docPartObj?: {
|
|
2584
|
-
readonly gallery?: string;
|
|
2585
|
-
readonly category?: string;
|
|
2586
|
-
readonly unique?: boolean;
|
|
2587
|
-
};
|
|
2588
|
-
readonly docPartList?: {
|
|
2589
|
-
readonly gallery?: string;
|
|
2590
|
-
readonly category?: string;
|
|
2591
|
-
readonly unique?: boolean;
|
|
2592
|
-
};
|
|
2593
|
-
readonly dropDownList?: SdtDropDownListOptions;
|
|
2594
|
-
readonly picture?: boolean;
|
|
2595
|
-
readonly richText?: boolean;
|
|
2596
|
-
readonly text?: SdtTextOptions;
|
|
2597
|
-
readonly citation?: boolean;
|
|
2598
|
-
readonly group?: boolean;
|
|
2599
|
-
readonly bibliography?: boolean;
|
|
2600
|
-
}
|
|
2601
|
-
declare class StructuredDocumentTagProperties extends XmlComponent {
|
|
2602
|
-
constructor(aliasOrOptions?: string | SdtPropertiesOptions);
|
|
1603
|
+
//#region src/file/table/table-row/table-row.d.ts
|
|
1604
|
+
type ITableRowOptions = {
|
|
1605
|
+
readonly children: readonly (TableCell | StructuredDocumentTagRow)[];
|
|
1606
|
+
readonly propertyExceptions?: ITablePropertyExOptions;
|
|
1607
|
+
} & ITableRowPropertiesOptions;
|
|
1608
|
+
declare class TableRow extends BaseXmlComponent {
|
|
1609
|
+
private readonly options;
|
|
1610
|
+
private extraCells;
|
|
1611
|
+
constructor(options: ITableRowOptions);
|
|
1612
|
+
get CellCount(): number;
|
|
1613
|
+
get cells(): readonly TableCell[];
|
|
1614
|
+
addCellToColumnIndex(cell: TableCell, columnIndex: number): void;
|
|
1615
|
+
rootIndexToColumnIndex(rootIndex: number): number;
|
|
1616
|
+
columnIndexToRootIndex(columnIndex: number, allowEndNewCell?: boolean): number;
|
|
1617
|
+
prepForXml(context: IContext): IXmlableObject | undefined;
|
|
1618
|
+
private findInsertIndex;
|
|
2603
1619
|
}
|
|
2604
1620
|
//#endregion
|
|
2605
|
-
//#region src/file/table
|
|
2606
|
-
|
|
2607
|
-
|
|
1621
|
+
//#region src/file/table/table.d.ts
|
|
1622
|
+
interface ITableOptions {
|
|
1623
|
+
readonly rows: readonly (TableRow | StructuredDocumentTagRow)[];
|
|
1624
|
+
readonly width?: ITableWidthProperties;
|
|
1625
|
+
readonly columnWidths?: readonly number[];
|
|
1626
|
+
readonly columnWidthsRevision?: ITableGridChangeOptions;
|
|
1627
|
+
readonly margins?: ITableCellMarginOptions;
|
|
1628
|
+
readonly indent?: ITableWidthProperties;
|
|
1629
|
+
readonly float?: ITableFloatOptions;
|
|
1630
|
+
readonly layout?: (typeof TableLayoutType)[keyof typeof TableLayoutType];
|
|
1631
|
+
readonly style?: string;
|
|
1632
|
+
readonly borders?: ITableBordersOptions;
|
|
1633
|
+
readonly alignment?: (typeof AlignmentType)[keyof typeof AlignmentType];
|
|
1634
|
+
readonly visuallyRightToLeft?: boolean;
|
|
1635
|
+
readonly tableLook?: ITableLookOptions;
|
|
1636
|
+
readonly cellSpacing?: ITableCellSpacingProperties;
|
|
1637
|
+
readonly styleRowBandSize?: number;
|
|
1638
|
+
readonly styleColBandSize?: number;
|
|
1639
|
+
readonly caption?: string;
|
|
1640
|
+
readonly description?: string;
|
|
1641
|
+
readonly revision?: ITablePropertiesChangeOptions;
|
|
2608
1642
|
}
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
|
-
private readonly
|
|
2613
|
-
constructor(
|
|
2614
|
-
|
|
2615
|
-
add(item: Paragraph | Table): void;
|
|
1643
|
+
declare class Table extends BaseXmlComponent implements FileChild {
|
|
1644
|
+
readonly fileChild: symbol;
|
|
1645
|
+
private readonly options;
|
|
1646
|
+
private readonly columnWidths;
|
|
1647
|
+
constructor(options: ITableOptions);
|
|
1648
|
+
prepForXml(context: IContext): IXmlableObject | undefined;
|
|
2616
1649
|
}
|
|
2617
1650
|
//#endregion
|
|
2618
1651
|
//#region src/file/footer-wrapper.d.ts
|
|
@@ -2637,7 +1670,7 @@ declare class Header$1 extends InitializableXmlComponent {
|
|
|
2637
1670
|
private readonly refId;
|
|
2638
1671
|
constructor(referenceNumber: number, initContent?: XmlComponent);
|
|
2639
1672
|
get ReferenceId(): number;
|
|
2640
|
-
add(item:
|
|
1673
|
+
add(item: FileChild): void;
|
|
2641
1674
|
}
|
|
2642
1675
|
//#endregion
|
|
2643
1676
|
//#region src/file/header-wrapper.d.ts
|
|
@@ -2659,8 +1692,8 @@ declare class HeaderWrapper implements IViewWrapper {
|
|
|
2659
1692
|
//#endregion
|
|
2660
1693
|
//#region src/file/document/body/section-properties/properties/column.d.ts
|
|
2661
1694
|
interface IColumnAttributes {
|
|
2662
|
-
readonly width: number | PositiveUniversalMeasure;
|
|
2663
|
-
readonly space?: number | PositiveUniversalMeasure;
|
|
1695
|
+
readonly width: number | values_d_exports.PositiveUniversalMeasure;
|
|
1696
|
+
readonly space?: number | values_d_exports.PositiveUniversalMeasure;
|
|
2664
1697
|
}
|
|
2665
1698
|
declare class Column extends XmlComponent {
|
|
2666
1699
|
constructor(options: IColumnAttributes);
|
|
@@ -2668,7 +1701,7 @@ declare class Column extends XmlComponent {
|
|
|
2668
1701
|
//#endregion
|
|
2669
1702
|
//#region src/file/document/body/section-properties/properties/columns.d.ts
|
|
2670
1703
|
interface IColumnsAttributes {
|
|
2671
|
-
readonly space?: number | PositiveUniversalMeasure;
|
|
1704
|
+
readonly space?: number | values_d_exports.PositiveUniversalMeasure;
|
|
2672
1705
|
readonly count?: number;
|
|
2673
1706
|
readonly separate?: boolean;
|
|
2674
1707
|
readonly equalWidth?: boolean;
|
|
@@ -2805,7 +1838,7 @@ interface ILineNumberAttributes {
|
|
|
2805
1838
|
readonly countBy?: number;
|
|
2806
1839
|
readonly start?: number;
|
|
2807
1840
|
readonly restart?: (typeof LineNumberRestartFormat)[keyof typeof LineNumberRestartFormat];
|
|
2808
|
-
readonly distance?: number | PositiveUniversalMeasure;
|
|
1841
|
+
readonly distance?: number | values_d_exports.PositiveUniversalMeasure;
|
|
2809
1842
|
}
|
|
2810
1843
|
declare const createLineNumberType: ({
|
|
2811
1844
|
countBy,
|
|
@@ -2846,15 +1879,15 @@ declare class PageBorders extends IgnoreIfEmptyXmlComponent {
|
|
|
2846
1879
|
//#endregion
|
|
2847
1880
|
//#region src/file/document/body/section-properties/properties/page-margin.d.ts
|
|
2848
1881
|
interface IPageMarginAttributes {
|
|
2849
|
-
readonly top?: number | UniversalMeasure;
|
|
2850
|
-
readonly right?: number | PositiveUniversalMeasure;
|
|
2851
|
-
readonly bottom?: number | UniversalMeasure;
|
|
2852
|
-
readonly left?: number | PositiveUniversalMeasure;
|
|
2853
|
-
readonly header?: number | PositiveUniversalMeasure;
|
|
2854
|
-
readonly footer?: number | PositiveUniversalMeasure;
|
|
2855
|
-
readonly gutter?: number | PositiveUniversalMeasure;
|
|
1882
|
+
readonly top?: number | values_d_exports.UniversalMeasure;
|
|
1883
|
+
readonly right?: number | values_d_exports.PositiveUniversalMeasure;
|
|
1884
|
+
readonly bottom?: number | values_d_exports.UniversalMeasure;
|
|
1885
|
+
readonly left?: number | values_d_exports.PositiveUniversalMeasure;
|
|
1886
|
+
readonly header?: number | values_d_exports.PositiveUniversalMeasure;
|
|
1887
|
+
readonly footer?: number | values_d_exports.PositiveUniversalMeasure;
|
|
1888
|
+
readonly gutter?: number | values_d_exports.PositiveUniversalMeasure;
|
|
2856
1889
|
}
|
|
2857
|
-
declare const createPageMargin: (top: number | UniversalMeasure, right: number | PositiveUniversalMeasure, bottom: number | UniversalMeasure, left: number | PositiveUniversalMeasure, header: number | PositiveUniversalMeasure, footer: number | PositiveUniversalMeasure, gutter: number | PositiveUniversalMeasure) => XmlComponent;
|
|
1890
|
+
declare const createPageMargin: (top: number | values_d_exports.UniversalMeasure, right: number | values_d_exports.PositiveUniversalMeasure, bottom: number | values_d_exports.UniversalMeasure, left: number | values_d_exports.PositiveUniversalMeasure, header: number | values_d_exports.PositiveUniversalMeasure, footer: number | values_d_exports.PositiveUniversalMeasure, gutter: number | values_d_exports.PositiveUniversalMeasure) => XmlComponent;
|
|
2858
1891
|
//#endregion
|
|
2859
1892
|
//#region src/file/document/body/section-properties/properties/page-number.d.ts
|
|
2860
1893
|
declare const PageNumberSeparator: {
|
|
@@ -2883,8 +1916,8 @@ declare const PageOrientation: {
|
|
|
2883
1916
|
readonly LANDSCAPE: "landscape";
|
|
2884
1917
|
};
|
|
2885
1918
|
interface IPageSizeAttributes {
|
|
2886
|
-
readonly width: number | PositiveUniversalMeasure;
|
|
2887
|
-
readonly height: number | PositiveUniversalMeasure;
|
|
1919
|
+
readonly width: number | values_d_exports.PositiveUniversalMeasure;
|
|
1920
|
+
readonly height: number | values_d_exports.PositiveUniversalMeasure;
|
|
2888
1921
|
readonly orientation?: (typeof PageOrientation)[keyof typeof PageOrientation];
|
|
2889
1922
|
readonly code?: number;
|
|
2890
1923
|
}
|
|
@@ -3021,7 +2054,7 @@ declare class Body extends XmlComponent {
|
|
|
3021
2054
|
constructor();
|
|
3022
2055
|
addSection(options: ISectionPropertiesOptions): void;
|
|
3023
2056
|
prepForXml(context: IContext): IXmlableObject | undefined;
|
|
3024
|
-
push(component:
|
|
2057
|
+
push(component: BaseXmlComponent | string): void;
|
|
3025
2058
|
private createSectionParagraph;
|
|
3026
2059
|
}
|
|
3027
2060
|
//#endregion
|
|
@@ -3055,14 +2088,21 @@ declare class DocumentBackgroundAttributes extends XmlAttributeComponent<{
|
|
|
3055
2088
|
themeTint: string;
|
|
3056
2089
|
};
|
|
3057
2090
|
}
|
|
2091
|
+
interface IBackgroundImageOptions {
|
|
2092
|
+
readonly data: DataType;
|
|
2093
|
+
readonly type: "jpg" | "png" | "gif" | "bmp" | "tif" | "ico" | "emf" | "wmf";
|
|
2094
|
+
}
|
|
3058
2095
|
interface IDocumentBackgroundOptions {
|
|
3059
2096
|
readonly color?: string;
|
|
3060
2097
|
readonly themeColor?: string;
|
|
3061
2098
|
readonly themeShade?: string;
|
|
3062
2099
|
readonly themeTint?: string;
|
|
2100
|
+
readonly image?: IBackgroundImageOptions;
|
|
3063
2101
|
}
|
|
3064
2102
|
declare class DocumentBackground extends XmlComponent {
|
|
2103
|
+
private readonly imageData?;
|
|
3065
2104
|
constructor(options: IDocumentBackgroundOptions);
|
|
2105
|
+
prepForXml(context: IContext): IXmlableObject | undefined;
|
|
3066
2106
|
}
|
|
3067
2107
|
//#endregion
|
|
3068
2108
|
//#region src/file/document/document.d.ts
|
|
@@ -3072,7 +2112,7 @@ interface IDocumentOptions {
|
|
|
3072
2112
|
declare class Document extends XmlComponent {
|
|
3073
2113
|
private readonly body;
|
|
3074
2114
|
constructor(options: IDocumentOptions);
|
|
3075
|
-
add(item:
|
|
2115
|
+
add(item: FileChild | ConcreteHyperlink): Document;
|
|
3076
2116
|
get Body(): Body;
|
|
3077
2117
|
}
|
|
3078
2118
|
//#endregion
|
|
@@ -3117,13 +2157,7 @@ declare const DocumentAttributeNamespaces: {
|
|
|
3117
2157
|
xsi: string;
|
|
3118
2158
|
};
|
|
3119
2159
|
type DocumentAttributeNamespace = keyof typeof DocumentAttributeNamespaces;
|
|
3120
|
-
|
|
3121
|
-
readonly Ignorable?: string;
|
|
3122
|
-
};
|
|
3123
|
-
declare class DocumentAttributes extends XmlAttributeComponent<IDocumentAttributesProperties> {
|
|
3124
|
-
protected readonly xmlKeys: AttributeMap<IDocumentAttributesProperties>;
|
|
3125
|
-
constructor(ns: readonly DocumentAttributeNamespace[], Ignorable?: string);
|
|
3126
|
-
}
|
|
2160
|
+
declare function buildDocumentAttributes(ns: readonly DocumentAttributeNamespace[], Ignorable?: string): IXmlableObject;
|
|
3127
2161
|
//#endregion
|
|
3128
2162
|
//#region src/file/endnotes/endnotes.d.ts
|
|
3129
2163
|
declare class Endnotes extends XmlComponent {
|
|
@@ -3165,9 +2199,19 @@ declare class DocumentWrapper implements IViewWrapper {
|
|
|
3165
2199
|
get Relationships(): Relationships;
|
|
3166
2200
|
}
|
|
3167
2201
|
//#endregion
|
|
3168
|
-
//#region src/file/
|
|
3169
|
-
|
|
2202
|
+
//#region src/file/alt-chunk/alt-chunk-collection.d.ts
|
|
2203
|
+
interface IAltChunkData {
|
|
2204
|
+
readonly key: string;
|
|
2205
|
+
readonly data: Uint8Array;
|
|
2206
|
+
readonly path: string;
|
|
2207
|
+
readonly extension: string;
|
|
2208
|
+
readonly contentType: string;
|
|
2209
|
+
}
|
|
2210
|
+
declare class AltChunkCollection {
|
|
2211
|
+
private readonly map;
|
|
3170
2212
|
constructor();
|
|
2213
|
+
addAltChunk(key: string, data: IAltChunkData): void;
|
|
2214
|
+
get Array(): readonly IAltChunkData[];
|
|
3171
2215
|
}
|
|
3172
2216
|
//#endregion
|
|
3173
2217
|
//#region src/file/bibliography/bibliography.d.ts
|
|
@@ -3199,21 +2243,10 @@ declare class Bibliography extends XmlComponent {
|
|
|
3199
2243
|
get Relationships(): Relationships;
|
|
3200
2244
|
}
|
|
3201
2245
|
//#endregion
|
|
3202
|
-
//#region src/file/chart/chart-collection.d.ts
|
|
3203
|
-
interface IChartData {
|
|
3204
|
-
readonly key: string;
|
|
3205
|
-
readonly chartSpace: XmlComponent;
|
|
3206
|
-
}
|
|
3207
|
-
declare class ChartCollection {
|
|
3208
|
-
private readonly map;
|
|
3209
|
-
constructor();
|
|
3210
|
-
addChart(key: string, chartData: IChartData): void;
|
|
3211
|
-
get Array(): readonly IChartData[];
|
|
3212
|
-
}
|
|
3213
|
-
//#endregion
|
|
3214
2246
|
//#region src/file/content-types/content-types.d.ts
|
|
3215
2247
|
declare class ContentTypes extends XmlComponent {
|
|
3216
2248
|
constructor();
|
|
2249
|
+
addBibliography(): void;
|
|
3217
2250
|
addFooter(index: number): void;
|
|
3218
2251
|
addHeader(index: number): void;
|
|
3219
2252
|
addChart(index: number): void;
|
|
@@ -3221,50 +2254,9 @@ declare class ContentTypes extends XmlComponent {
|
|
|
3221
2254
|
addDiagramLayout(index: number): void;
|
|
3222
2255
|
addDiagramStyle(index: number): void;
|
|
3223
2256
|
addDiagramColors(index: number): void;
|
|
3224
|
-
|
|
3225
|
-
|
|
3226
|
-
|
|
3227
|
-
declare const CharacterSet: {
|
|
3228
|
-
readonly ANSI: "00";
|
|
3229
|
-
readonly ARABIC: "B2";
|
|
3230
|
-
readonly BALTIC: "BA";
|
|
3231
|
-
readonly CHINESEBIG5: "88";
|
|
3232
|
-
readonly DEFAULT: "01";
|
|
3233
|
-
readonly EASTEUROPE: "EE";
|
|
3234
|
-
readonly GB_2312: "86";
|
|
3235
|
-
readonly GREEK: "A1";
|
|
3236
|
-
readonly HANGUL: "81";
|
|
3237
|
-
readonly HEBREW: "B1";
|
|
3238
|
-
readonly JIS: "80";
|
|
3239
|
-
readonly JOHAB: "82";
|
|
3240
|
-
readonly MAC: "4D";
|
|
3241
|
-
readonly OEM: "FF";
|
|
3242
|
-
readonly RUSSIAN: "CC";
|
|
3243
|
-
readonly SYMBOL: "02";
|
|
3244
|
-
readonly THAI: "DE";
|
|
3245
|
-
readonly TURKISH: "A2";
|
|
3246
|
-
readonly VIETNAMESE: "A3";
|
|
3247
|
-
};
|
|
3248
|
-
//#endregion
|
|
3249
|
-
//#region src/file/fonts/font-wrapper.d.ts
|
|
3250
|
-
type FontOptionsWithKey = FontOptions & {
|
|
3251
|
-
readonly fontKey: string;
|
|
3252
|
-
};
|
|
3253
|
-
declare class FontWrapper implements IViewWrapper {
|
|
3254
|
-
readonly options: readonly FontOptions[];
|
|
3255
|
-
private readonly fontTable;
|
|
3256
|
-
private readonly relationships;
|
|
3257
|
-
readonly fontOptionsWithKey: readonly FontOptionsWithKey[];
|
|
3258
|
-
constructor(options: readonly FontOptions[]);
|
|
3259
|
-
get View(): XmlComponent;
|
|
3260
|
-
get Relationships(): Relationships;
|
|
3261
|
-
}
|
|
3262
|
-
//#endregion
|
|
3263
|
-
//#region src/file/fonts/font-table.d.ts
|
|
3264
|
-
interface FontOptions {
|
|
3265
|
-
readonly name: string;
|
|
3266
|
-
readonly data: Buffer;
|
|
3267
|
-
readonly characterSet?: (typeof CharacterSet)[keyof typeof CharacterSet];
|
|
2257
|
+
addDiagramDrawing(index: number): void;
|
|
2258
|
+
addAltChunk(path: string, contentType: string, _extension: string): void;
|
|
2259
|
+
addSubDoc(path: string): void;
|
|
3268
2260
|
}
|
|
3269
2261
|
//#endregion
|
|
3270
2262
|
//#region src/file/settings/compatibility.d.ts
|
|
@@ -3350,6 +2342,50 @@ interface ISettingsOptions {
|
|
|
3350
2342
|
readonly defaultTabStop?: number;
|
|
3351
2343
|
readonly hyphenation?: IHyphenationOptions;
|
|
3352
2344
|
readonly characterSpacingControl?: "compressPunctuation" | "doNotCompress";
|
|
2345
|
+
readonly documentProtection?: IDocumentProtectionOptions;
|
|
2346
|
+
readonly view?: "none" | "print" | "outline" | "masterPages" | "normal" | "web";
|
|
2347
|
+
readonly zoom?: {
|
|
2348
|
+
readonly percent?: number;
|
|
2349
|
+
readonly val?: "none" | "fullPage" | "bestFit" | "textFit";
|
|
2350
|
+
};
|
|
2351
|
+
readonly writeProtection?: IWriteProtectionOptions;
|
|
2352
|
+
readonly displayBackgroundShape?: boolean;
|
|
2353
|
+
readonly embedTrueTypeFonts?: boolean;
|
|
2354
|
+
readonly embedSystemFonts?: boolean;
|
|
2355
|
+
readonly saveSubsetFonts?: boolean;
|
|
2356
|
+
readonly docVars?: readonly {
|
|
2357
|
+
readonly name: string;
|
|
2358
|
+
readonly val: string;
|
|
2359
|
+
}[];
|
|
2360
|
+
readonly colorSchemeMapping?: {
|
|
2361
|
+
readonly bg1?: string;
|
|
2362
|
+
readonly t1?: string;
|
|
2363
|
+
readonly bg2?: string;
|
|
2364
|
+
readonly t2?: string;
|
|
2365
|
+
readonly accent1?: string;
|
|
2366
|
+
readonly accent2?: string;
|
|
2367
|
+
readonly accent3?: string;
|
|
2368
|
+
readonly accent4?: string;
|
|
2369
|
+
readonly accent5?: string;
|
|
2370
|
+
readonly accent6?: string;
|
|
2371
|
+
readonly hyperlink?: string;
|
|
2372
|
+
readonly followedHyperlink?: string;
|
|
2373
|
+
};
|
|
2374
|
+
}
|
|
2375
|
+
interface IDocumentProtectionOptions {
|
|
2376
|
+
readonly edit?: "none" | "readOnly" | "comments" | "trackedChanges" | "forms";
|
|
2377
|
+
readonly formatting?: boolean;
|
|
2378
|
+
readonly hashValue?: string;
|
|
2379
|
+
readonly saltValue?: string;
|
|
2380
|
+
readonly spinCount?: number;
|
|
2381
|
+
readonly algorithmName?: string;
|
|
2382
|
+
}
|
|
2383
|
+
interface IWriteProtectionOptions {
|
|
2384
|
+
readonly hashValue?: string;
|
|
2385
|
+
readonly saltValue?: string;
|
|
2386
|
+
readonly spinCount?: number;
|
|
2387
|
+
readonly algorithmName?: string;
|
|
2388
|
+
readonly recommended?: boolean;
|
|
3353
2389
|
}
|
|
3354
2390
|
interface IHyphenationOptions {
|
|
3355
2391
|
readonly autoHyphenation?: boolean;
|
|
@@ -3361,6 +2397,50 @@ declare class Settings extends XmlComponent {
|
|
|
3361
2397
|
constructor(options: ISettingsOptions);
|
|
3362
2398
|
}
|
|
3363
2399
|
//#endregion
|
|
2400
|
+
//#region src/file/fonts/font.d.ts
|
|
2401
|
+
declare const CharacterSet: {
|
|
2402
|
+
readonly ANSI: "00";
|
|
2403
|
+
readonly ARABIC: "B2";
|
|
2404
|
+
readonly BALTIC: "BA";
|
|
2405
|
+
readonly CHINESEBIG5: "88";
|
|
2406
|
+
readonly DEFAULT: "01";
|
|
2407
|
+
readonly EASTEUROPE: "EE";
|
|
2408
|
+
readonly GB_2312: "86";
|
|
2409
|
+
readonly GREEK: "A1";
|
|
2410
|
+
readonly HANGUL: "81";
|
|
2411
|
+
readonly HEBREW: "B1";
|
|
2412
|
+
readonly JIS: "80";
|
|
2413
|
+
readonly JOHAB: "82";
|
|
2414
|
+
readonly MAC: "4D";
|
|
2415
|
+
readonly OEM: "FF";
|
|
2416
|
+
readonly RUSSIAN: "CC";
|
|
2417
|
+
readonly SYMBOL: "02";
|
|
2418
|
+
readonly THAI: "DE";
|
|
2419
|
+
readonly TURKISH: "A2";
|
|
2420
|
+
readonly VIETNAMESE: "A3";
|
|
2421
|
+
};
|
|
2422
|
+
//#endregion
|
|
2423
|
+
//#region src/file/fonts/font-wrapper.d.ts
|
|
2424
|
+
type FontOptionsWithKey = FontOptions & {
|
|
2425
|
+
readonly fontKey: string;
|
|
2426
|
+
};
|
|
2427
|
+
declare class FontWrapper implements IViewWrapper {
|
|
2428
|
+
readonly options: readonly FontOptions[];
|
|
2429
|
+
private readonly fontTable;
|
|
2430
|
+
private readonly relationships;
|
|
2431
|
+
readonly fontOptionsWithKey: readonly FontOptionsWithKey[];
|
|
2432
|
+
constructor(options: readonly FontOptions[]);
|
|
2433
|
+
get View(): XmlComponent;
|
|
2434
|
+
get Relationships(): Relationships;
|
|
2435
|
+
}
|
|
2436
|
+
//#endregion
|
|
2437
|
+
//#region src/file/fonts/font-table.d.ts
|
|
2438
|
+
interface FontOptions {
|
|
2439
|
+
readonly name: string;
|
|
2440
|
+
readonly data: Buffer;
|
|
2441
|
+
readonly characterSet?: (typeof CharacterSet)[keyof typeof CharacterSet];
|
|
2442
|
+
}
|
|
2443
|
+
//#endregion
|
|
3364
2444
|
//#region src/file/custom-properties/custom-property.d.ts
|
|
3365
2445
|
interface ICustomPropertyOptions {
|
|
3366
2446
|
readonly name: string;
|
|
@@ -3410,17 +2490,17 @@ declare const createCnfStyle: (options: ICnfStyleOptions) => XmlComponent;
|
|
|
3410
2490
|
//#endregion
|
|
3411
2491
|
//#region src/file/paragraph/formatting/indent.d.ts
|
|
3412
2492
|
interface IIndentAttributesProperties {
|
|
3413
|
-
readonly start?: number | UniversalMeasure;
|
|
2493
|
+
readonly start?: number | values_d_exports.UniversalMeasure;
|
|
3414
2494
|
readonly startChars?: number;
|
|
3415
|
-
readonly end?: number | UniversalMeasure;
|
|
2495
|
+
readonly end?: number | values_d_exports.UniversalMeasure;
|
|
3416
2496
|
readonly endChars?: number;
|
|
3417
|
-
readonly left?: number | UniversalMeasure;
|
|
2497
|
+
readonly left?: number | values_d_exports.UniversalMeasure;
|
|
3418
2498
|
readonly leftChars?: number;
|
|
3419
|
-
readonly right?: number | UniversalMeasure;
|
|
2499
|
+
readonly right?: number | values_d_exports.UniversalMeasure;
|
|
3420
2500
|
readonly rightChars?: number;
|
|
3421
|
-
readonly hanging?: number | PositiveUniversalMeasure;
|
|
2501
|
+
readonly hanging?: number | values_d_exports.PositiveUniversalMeasure;
|
|
3422
2502
|
readonly hangingChars?: number;
|
|
3423
|
-
readonly firstLine?: number | PositiveUniversalMeasure;
|
|
2503
|
+
readonly firstLine?: number | values_d_exports.PositiveUniversalMeasure;
|
|
3424
2504
|
readonly firstLineChars?: number;
|
|
3425
2505
|
}
|
|
3426
2506
|
declare const createIndent: ({
|
|
@@ -3915,7 +2995,7 @@ interface IDefaultStylesOptions {
|
|
|
3915
2995
|
//#region src/file/styles/styles.d.ts
|
|
3916
2996
|
interface IStylesOptions {
|
|
3917
2997
|
readonly default?: IDefaultStylesOptions;
|
|
3918
|
-
readonly initialStyles?: BaseXmlComponent;
|
|
2998
|
+
readonly initialStyles?: BaseXmlComponent | IXmlableObject;
|
|
3919
2999
|
readonly paragraphStyles?: readonly IParagraphStyleOptions[];
|
|
3920
3000
|
readonly characterStyles?: readonly ICharacterStyleOptions[];
|
|
3921
3001
|
readonly importedStyles?: readonly (XmlComponent | StyleForParagraph | StyleForCharacter | ImportedXmlComponent)[];
|
|
@@ -3949,6 +3029,7 @@ interface IPropertiesOptions {
|
|
|
3949
3029
|
readonly features?: {
|
|
3950
3030
|
readonly trackRevisions?: boolean;
|
|
3951
3031
|
readonly updateFields?: boolean;
|
|
3032
|
+
readonly documentProtection?: IDocumentProtectionOptions;
|
|
3952
3033
|
};
|
|
3953
3034
|
readonly compatabilityModeVersion?: number;
|
|
3954
3035
|
readonly compatibility?: ICompatibilityOptions;
|
|
@@ -3958,6 +3039,21 @@ interface IPropertiesOptions {
|
|
|
3958
3039
|
readonly fonts?: readonly FontOptions[];
|
|
3959
3040
|
readonly hyphenation?: IHyphenationOptions;
|
|
3960
3041
|
readonly characterSpacingControl?: "compressPunctuation" | "doNotCompress";
|
|
3042
|
+
readonly view?: "none" | "print" | "outline" | "masterPages" | "normal" | "web";
|
|
3043
|
+
readonly zoom?: {
|
|
3044
|
+
readonly percent?: number;
|
|
3045
|
+
readonly val?: "none" | "fullPage" | "bestFit" | "textFit";
|
|
3046
|
+
};
|
|
3047
|
+
readonly writeProtection?: IWriteProtectionOptions;
|
|
3048
|
+
readonly displayBackgroundShape?: boolean;
|
|
3049
|
+
readonly embedTrueTypeFonts?: boolean;
|
|
3050
|
+
readonly embedSystemFonts?: boolean;
|
|
3051
|
+
readonly saveSubsetFonts?: boolean;
|
|
3052
|
+
readonly docVars?: readonly {
|
|
3053
|
+
readonly name: string;
|
|
3054
|
+
readonly val: string;
|
|
3055
|
+
}[];
|
|
3056
|
+
readonly colorSchemeMapping?: ISettingsOptions["colorSchemeMapping"];
|
|
3961
3057
|
}
|
|
3962
3058
|
declare class CoreProperties extends XmlComponent {
|
|
3963
3059
|
constructor(options: Omit<IPropertiesOptions, "sections">);
|
|
@@ -3994,26 +3090,16 @@ declare class Footer {
|
|
|
3994
3090
|
constructor(options?: IHeaderOptions);
|
|
3995
3091
|
}
|
|
3996
3092
|
//#endregion
|
|
3997
|
-
//#region src/file/
|
|
3998
|
-
|
|
3999
|
-
|
|
4000
|
-
|
|
4001
|
-
//#endregion
|
|
4002
|
-
//#region src/file/smartart/data-model/data-model.d.ts
|
|
4003
|
-
declare class DataModel extends XmlComponent {
|
|
4004
|
-
constructor(points: readonly XmlComponent[], connections: readonly Connection[]);
|
|
4005
|
-
}
|
|
4006
|
-
//#endregion
|
|
4007
|
-
//#region src/file/smartart/smartart-collection.d.ts
|
|
4008
|
-
interface ISmartArtData {
|
|
4009
|
-
readonly key: string;
|
|
4010
|
-
readonly dataModel: DataModel;
|
|
3093
|
+
//#region src/file/sub-doc/sub-doc-collection.d.ts
|
|
3094
|
+
interface ISubDocData {
|
|
3095
|
+
readonly data: Uint8Array;
|
|
3096
|
+
readonly path: string;
|
|
4011
3097
|
}
|
|
4012
|
-
declare class
|
|
3098
|
+
declare class SubDocCollection {
|
|
4013
3099
|
private readonly map;
|
|
4014
3100
|
constructor();
|
|
4015
|
-
|
|
4016
|
-
get Array(): readonly
|
|
3101
|
+
addSubDoc(key: string, data: ISubDocData): void;
|
|
3102
|
+
get Array(): readonly ISubDocData[];
|
|
4017
3103
|
}
|
|
4018
3104
|
//#endregion
|
|
4019
3105
|
//#region src/file/file.d.ts
|
|
@@ -4041,6 +3127,8 @@ declare class File {
|
|
|
4041
3127
|
private readonly media;
|
|
4042
3128
|
private readonly charts;
|
|
4043
3129
|
private readonly smartArts;
|
|
3130
|
+
private readonly altChunks;
|
|
3131
|
+
private readonly subDocs;
|
|
4044
3132
|
private readonly fileRelationships;
|
|
4045
3133
|
private readonly footnotesWrapper;
|
|
4046
3134
|
private readonly endnotesWrapper;
|
|
@@ -4066,6 +3154,8 @@ declare class File {
|
|
|
4066
3154
|
get Media(): Media;
|
|
4067
3155
|
get Charts(): ChartCollection;
|
|
4068
3156
|
get SmartArts(): SmartArtCollection;
|
|
3157
|
+
get AltChunks(): AltChunkCollection;
|
|
3158
|
+
get SubDocs(): SubDocCollection;
|
|
4069
3159
|
get FileRelationships(): Relationships;
|
|
4070
3160
|
get Headers(): readonly HeaderWrapper[];
|
|
4071
3161
|
get Footers(): readonly FooterWrapper[];
|
|
@@ -4080,58 +3170,14 @@ declare class File {
|
|
|
4080
3170
|
get FontTable(): FontWrapper;
|
|
4081
3171
|
}
|
|
4082
3172
|
//#endregion
|
|
4083
|
-
//#region src/file/xml-components/xmlable-object.d.ts
|
|
4084
|
-
type IXmlAttribute = Readonly<Record<string, string | number | boolean>>;
|
|
4085
|
-
type IXmlableObject = Readonly<Record<string, any>>;
|
|
4086
|
-
declare const WORKAROUND3 = "";
|
|
4087
|
-
//#endregion
|
|
4088
3173
|
//#region src/file/xml-components/base.d.ts
|
|
4089
|
-
interface IContext {
|
|
3174
|
+
interface IContext extends IContext$1<File> {
|
|
4090
3175
|
readonly file: File;
|
|
4091
3176
|
readonly viewWrapper: IViewWrapper;
|
|
4092
|
-
readonly stack: IXmlableObject[];
|
|
4093
|
-
}
|
|
4094
|
-
declare abstract class BaseXmlComponent {
|
|
4095
|
-
protected readonly rootKey: string;
|
|
4096
|
-
constructor(rootKey: string);
|
|
4097
|
-
abstract prepForXml(context: IContext): IXmlableObject | undefined;
|
|
4098
|
-
}
|
|
4099
|
-
//#endregion
|
|
4100
|
-
//#region src/file/xml-components/xml-component.d.ts
|
|
4101
|
-
declare const EMPTY_OBJECT: {};
|
|
4102
|
-
declare abstract class XmlComponent extends BaseXmlComponent {
|
|
4103
|
-
protected root: (BaseXmlComponent | IXmlableObject | string)[];
|
|
4104
|
-
constructor(rootKey: string);
|
|
4105
|
-
prepForXml(context: IContext): IXmlableObject | undefined;
|
|
4106
|
-
addChildElement(child: XmlComponent | string): XmlComponent;
|
|
4107
|
-
}
|
|
4108
|
-
declare abstract class IgnoreIfEmptyXmlComponent extends XmlComponent {
|
|
4109
|
-
private readonly includeIfEmpty;
|
|
4110
|
-
constructor(rootKey: string, includeIfEmpty?: boolean);
|
|
4111
|
-
prepForXml(context: IContext): IXmlableObject | undefined;
|
|
4112
|
-
}
|
|
4113
|
-
//#endregion
|
|
4114
|
-
//#region src/file/xml-components/default-attributes.d.ts
|
|
4115
|
-
type AttributeMap<T> = Record<keyof T, string>;
|
|
4116
|
-
type AttributeData = Record<string, boolean | number | string>;
|
|
4117
|
-
type AttributePayload<T> = { readonly [P in keyof T]: {
|
|
4118
|
-
readonly key: string;
|
|
4119
|
-
readonly value: T[P];
|
|
4120
|
-
} };
|
|
4121
|
-
declare abstract class XmlAttributeComponent<T extends Record<string, any>> extends BaseXmlComponent {
|
|
4122
|
-
private readonly root;
|
|
4123
|
-
protected readonly xmlKeys?: AttributeMap<T>;
|
|
4124
|
-
constructor(root: T);
|
|
4125
|
-
prepForXml(_: IContext): IXmlableObject;
|
|
4126
|
-
}
|
|
4127
|
-
declare class NextAttributeComponent<T> extends BaseXmlComponent {
|
|
4128
|
-
private readonly root;
|
|
4129
|
-
constructor(root: AttributePayload<T>);
|
|
4130
|
-
prepForXml(_: IContext): IXmlableObject;
|
|
4131
3177
|
}
|
|
4132
3178
|
//#endregion
|
|
4133
3179
|
//#region src/file/xml-components/attributes.d.ts
|
|
4134
|
-
declare class Attributes extends XmlAttributeComponent<{
|
|
3180
|
+
declare class Attributes extends XmlAttributeComponent$1<{
|
|
4135
3181
|
readonly val?: string | number | boolean;
|
|
4136
3182
|
readonly color?: string;
|
|
4137
3183
|
readonly fill?: string;
|
|
@@ -4183,85 +3229,8 @@ declare class Attributes extends XmlAttributeComponent<{
|
|
|
4183
3229
|
};
|
|
4184
3230
|
}
|
|
4185
3231
|
//#endregion
|
|
4186
|
-
//#region ../xml/dist/index.d.mts
|
|
4187
|
-
//#endregion
|
|
4188
|
-
//#region src/types.d.ts
|
|
4189
|
-
interface Attributes$1 {
|
|
4190
|
-
[key: string]: string | number | undefined;
|
|
4191
|
-
}
|
|
4192
|
-
interface DeclarationAttributes {
|
|
4193
|
-
version?: string | number;
|
|
4194
|
-
encoding?: string;
|
|
4195
|
-
standalone?: string;
|
|
4196
|
-
}
|
|
4197
|
-
interface Element {
|
|
4198
|
-
declaration?: {
|
|
4199
|
-
attributes?: DeclarationAttributes;
|
|
4200
|
-
};
|
|
4201
|
-
instruction?: string;
|
|
4202
|
-
attributes?: Attributes$1;
|
|
4203
|
-
cdata?: string;
|
|
4204
|
-
doctype?: string;
|
|
4205
|
-
comment?: string;
|
|
4206
|
-
text?: string | number | boolean;
|
|
4207
|
-
type?: string;
|
|
4208
|
-
name?: string;
|
|
4209
|
-
elements?: Element[];
|
|
4210
|
-
parent?: Element;
|
|
4211
|
-
}
|
|
4212
|
-
//#endregion
|
|
4213
|
-
//#region src/file/xml-components/imported-xml-component.d.ts
|
|
4214
|
-
declare const convertToXmlComponent: (element: Element) => ImportedXmlComponent | string | undefined;
|
|
4215
|
-
declare class ImportedXmlComponent extends XmlComponent {
|
|
4216
|
-
static fromXmlString(importedContent: string): ImportedXmlComponent;
|
|
4217
|
-
constructor(rootKey: string, _attr?: any);
|
|
4218
|
-
push(xmlComponent: XmlComponent | string): void;
|
|
4219
|
-
}
|
|
4220
|
-
declare class ImportedRootElementAttributes extends XmlComponent {
|
|
4221
|
-
private readonly _attr;
|
|
4222
|
-
constructor(_attr: any);
|
|
4223
|
-
prepForXml(_: IContext): IXmlableObject;
|
|
4224
|
-
}
|
|
4225
|
-
//#endregion
|
|
4226
|
-
//#region src/file/xml-components/initializable-xml-component.d.ts
|
|
4227
|
-
declare abstract class InitializableXmlComponent extends XmlComponent {
|
|
4228
|
-
constructor(rootKey: string, initComponent?: InitializableXmlComponent);
|
|
4229
|
-
}
|
|
4230
|
-
//#endregion
|
|
4231
3232
|
//#region src/file/xml-components/simple-elements.d.ts
|
|
4232
|
-
declare
|
|
4233
|
-
constructor(name: string, val?: boolean | undefined);
|
|
4234
|
-
}
|
|
4235
|
-
declare class HpsMeasureElement extends XmlComponent {
|
|
4236
|
-
constructor(name: string, val: number | PositiveUniversalMeasure);
|
|
4237
|
-
}
|
|
4238
|
-
declare class EmptyElement extends XmlComponent {}
|
|
4239
|
-
declare class StringValueElement extends XmlComponent {
|
|
4240
|
-
constructor(name: string, val: string);
|
|
4241
|
-
}
|
|
4242
|
-
declare const createStringElement: (name: string, value: string) => XmlComponent;
|
|
4243
|
-
declare class NumberValueElement extends XmlComponent {
|
|
4244
|
-
constructor(name: string, val: number);
|
|
4245
|
-
}
|
|
4246
|
-
declare class StringEnumValueElement<T extends string> extends XmlComponent {
|
|
4247
|
-
constructor(name: string, val: T);
|
|
4248
|
-
}
|
|
4249
|
-
declare class StringContainer extends XmlComponent {
|
|
4250
|
-
constructor(name: string, val: string);
|
|
4251
|
-
}
|
|
4252
|
-
declare class BuilderElement<T = {}> extends XmlComponent {
|
|
4253
|
-
constructor({
|
|
4254
|
-
name,
|
|
4255
|
-
attributes,
|
|
4256
|
-
children
|
|
4257
|
-
}: {
|
|
4258
|
-
readonly name: string;
|
|
4259
|
-
readonly attributes?: AttributePayload<T>;
|
|
4260
|
-
readonly children?: readonly XmlComponent[];
|
|
4261
|
-
});
|
|
4262
|
-
}
|
|
4263
|
-
declare const chartAttr: (attrs: Record<string, string | number | boolean>) => BaseXmlComponent;
|
|
4264
|
-
declare function wrapEl(elementName: string, child: BaseXmlComponent): XmlComponent;
|
|
3233
|
+
declare const createStringElement: (name: string, value: string) => XmlComponent$1;
|
|
4265
3234
|
//#endregion
|
|
4266
3235
|
//#region src/file/paragraph/formatting/alignment.d.ts
|
|
4267
3236
|
declare const AlignmentType: {
|
|
@@ -4297,6 +3266,20 @@ declare class NumberProperties extends XmlComponent {
|
|
|
4297
3266
|
constructor(numberId: number | string, indentLevel: number);
|
|
4298
3267
|
}
|
|
4299
3268
|
//#endregion
|
|
3269
|
+
//#region src/file/alt-chunk/alt-chunk.d.ts
|
|
3270
|
+
interface IAltChunkOptions {
|
|
3271
|
+
readonly data: Uint8Array | string;
|
|
3272
|
+
readonly contentType: "text/html" | "application/rtf" | "text/plain";
|
|
3273
|
+
readonly extension: "html" | "rtf" | "txt";
|
|
3274
|
+
readonly matchSrc?: boolean;
|
|
3275
|
+
}
|
|
3276
|
+
declare class AltChunk extends XmlComponent implements FileChild {
|
|
3277
|
+
readonly fileChild: symbol;
|
|
3278
|
+
private readonly options;
|
|
3279
|
+
constructor(options: IAltChunkOptions);
|
|
3280
|
+
prepForXml(context: IContext): IXmlableObject;
|
|
3281
|
+
}
|
|
3282
|
+
//#endregion
|
|
4300
3283
|
//#region src/file/checkbox/checkbox-util.d.ts
|
|
4301
3284
|
interface ICheckboxSymbolProperties {
|
|
4302
3285
|
readonly value?: string;
|
|
@@ -4328,20 +3311,40 @@ declare class CheckBox extends XmlComponent {
|
|
|
4328
3311
|
constructor(options?: ICheckboxSymbolOptions);
|
|
4329
3312
|
}
|
|
4330
3313
|
//#endregion
|
|
4331
|
-
//#region src/file/
|
|
4332
|
-
|
|
4333
|
-
readonly
|
|
4334
|
-
readonly
|
|
3314
|
+
//#region src/file/permissions/perm-start.d.ts
|
|
3315
|
+
declare const EditGroupType: {
|
|
3316
|
+
readonly NONE: "none";
|
|
3317
|
+
readonly EVERYONE: "everyone";
|
|
3318
|
+
readonly ADMINISTRATORS: "administrators";
|
|
3319
|
+
readonly CONTRIBUTORS: "contributors";
|
|
3320
|
+
readonly EDITORS: "editors";
|
|
3321
|
+
readonly OWNERS: "owners";
|
|
3322
|
+
readonly CURRENT: "current";
|
|
3323
|
+
};
|
|
3324
|
+
type EditGroup = (typeof EditGroupType)[keyof typeof EditGroupType];
|
|
3325
|
+
interface IPermStartOptions {
|
|
3326
|
+
readonly id: string | number;
|
|
3327
|
+
readonly edGroup?: EditGroup;
|
|
3328
|
+
readonly ed?: string;
|
|
3329
|
+
readonly colFirst?: number;
|
|
3330
|
+
readonly colLast?: number;
|
|
4335
3331
|
}
|
|
4336
|
-
declare class
|
|
4337
|
-
constructor(options:
|
|
3332
|
+
declare class PermStart extends XmlComponent {
|
|
3333
|
+
constructor(options: IPermStartOptions);
|
|
4338
3334
|
}
|
|
4339
|
-
|
|
4340
|
-
|
|
4341
|
-
readonly children?: readonly XmlComponent[];
|
|
3335
|
+
declare class PermEnd extends XmlComponent {
|
|
3336
|
+
constructor(id: string | number);
|
|
4342
3337
|
}
|
|
4343
|
-
|
|
4344
|
-
|
|
3338
|
+
//#endregion
|
|
3339
|
+
//#region src/file/sub-doc/sub-doc.d.ts
|
|
3340
|
+
interface ISubDocOptions {
|
|
3341
|
+
readonly data: Uint8Array | string;
|
|
3342
|
+
}
|
|
3343
|
+
declare class SubDoc extends XmlComponent implements FileChild {
|
|
3344
|
+
readonly fileChild: symbol;
|
|
3345
|
+
private readonly options;
|
|
3346
|
+
constructor(options: ISubDocOptions);
|
|
3347
|
+
prepForXml(context: IContext): IXmlableObject;
|
|
4345
3348
|
}
|
|
4346
3349
|
//#endregion
|
|
4347
3350
|
//#region src/file/paragraph/links/hyperlink.d.ts
|
|
@@ -4352,14 +3355,17 @@ declare const HyperlinkType: {
|
|
|
4352
3355
|
interface IInternalHyperlinkOptions {
|
|
4353
3356
|
readonly children: readonly ParagraphChild[];
|
|
4354
3357
|
readonly anchor: string;
|
|
3358
|
+
readonly tooltip?: string;
|
|
4355
3359
|
}
|
|
4356
3360
|
interface IExternalHyperlinkOptions {
|
|
4357
3361
|
readonly children: readonly ParagraphChild[];
|
|
4358
3362
|
readonly link: string;
|
|
3363
|
+
readonly tooltip?: string;
|
|
3364
|
+
readonly tgtFrame?: string;
|
|
4359
3365
|
}
|
|
4360
3366
|
declare class ConcreteHyperlink extends XmlComponent {
|
|
4361
3367
|
readonly linkId: string;
|
|
4362
|
-
constructor(children: readonly ParagraphChild[], relationshipId: string, anchor?: string);
|
|
3368
|
+
constructor(children: readonly ParagraphChild[], relationshipId: string, anchor?: string, tooltip?: string, tgtFrame?: string);
|
|
4363
3369
|
}
|
|
4364
3370
|
declare class InternalHyperlink extends ConcreteHyperlink {
|
|
4365
3371
|
constructor(options: IInternalHyperlinkOptions);
|
|
@@ -4388,6 +3394,20 @@ declare class BookmarkEnd extends XmlComponent {
|
|
|
4388
3394
|
constructor(linkId: number);
|
|
4389
3395
|
}
|
|
4390
3396
|
//#endregion
|
|
3397
|
+
//#region src/file/paragraph/links/move-bookmark.d.ts
|
|
3398
|
+
declare class MoveFromRangeStart extends XmlComponent {
|
|
3399
|
+
constructor(id: number, name?: string, author?: string, date?: string);
|
|
3400
|
+
}
|
|
3401
|
+
declare class MoveFromRangeEnd extends XmlComponent {
|
|
3402
|
+
constructor(id: number);
|
|
3403
|
+
}
|
|
3404
|
+
declare class MoveToRangeStart extends XmlComponent {
|
|
3405
|
+
constructor(id: number, name?: string, author?: string, date?: string);
|
|
3406
|
+
}
|
|
3407
|
+
declare class MoveToRangeEnd extends XmlComponent {
|
|
3408
|
+
constructor(id: number);
|
|
3409
|
+
}
|
|
3410
|
+
//#endregion
|
|
4391
3411
|
//#region src/file/paragraph/links/div-id.d.ts
|
|
4392
3412
|
declare const createDivId: (id: number) => XmlComponent;
|
|
4393
3413
|
//#endregion
|
|
@@ -4418,6 +3438,18 @@ declare class PageReference extends Run {
|
|
|
4418
3438
|
constructor(bookmarkId: string, options?: IPageReferenceOptions);
|
|
4419
3439
|
}
|
|
4420
3440
|
//#endregion
|
|
3441
|
+
//#region src/file/paragraph/links/bidi.d.ts
|
|
3442
|
+
interface IDirOptions {
|
|
3443
|
+
readonly children: readonly ParagraphChild[];
|
|
3444
|
+
readonly val: "ltr" | "rtl";
|
|
3445
|
+
}
|
|
3446
|
+
declare class Dir extends XmlComponent {
|
|
3447
|
+
constructor(options: IDirOptions);
|
|
3448
|
+
}
|
|
3449
|
+
declare class Bdo extends XmlComponent {
|
|
3450
|
+
constructor(options: IDirOptions);
|
|
3451
|
+
}
|
|
3452
|
+
//#endregion
|
|
4421
3453
|
//#region src/file/paragraph/math/border-box/math-border-box-properties.d.ts
|
|
4422
3454
|
interface MathBorderBoxPropertiesOptions {
|
|
4423
3455
|
readonly hideTop?: boolean;
|
|
@@ -4914,16 +3946,20 @@ interface MathPropertiesOptions {
|
|
|
4914
3946
|
declare const createMathProperties: (options: MathPropertiesOptions) => XmlComponent;
|
|
4915
3947
|
//#endregion
|
|
4916
3948
|
//#region src/file/paragraph/paragraph.d.ts
|
|
4917
|
-
type ParagraphChild = TextRun | ImageRun | SymbolRun | Bookmark | PageBreak | ColumnBreak | SequentialIdentifier | FootnoteReferenceRun | InternalHyperlink | ExternalHyperlink | InsertedTextRun | DeletedTextRun | Math | SimpleField | SimpleMailMergeField | Comments | Comment | CommentRangeStart | CommentRangeEnd | CommentReference | CheckBox | StructuredDocumentTagRun;
|
|
3949
|
+
type ParagraphChild = TextRun | ImageRun | SymbolRun | Bookmark | PageBreak | ColumnBreak | SequentialIdentifier | FootnoteReferenceRun | InternalHyperlink | ExternalHyperlink | InsertedTextRun | DeletedTextRun | Math | SimpleField | SimpleMailMergeField | ChartRun | SmartArtRun | Comments | Comment | CommentRangeStart | CommentRangeEnd | CommentReference | CheckBox | StructuredDocumentTagRun | MoveFromRangeStart | MoveFromRangeEnd | MoveToRangeStart | MoveToRangeEnd | MovedFromTextRun | MovedToTextRun | PermStart | PermEnd | Dir | Bdo | AltChunk | SubDoc;
|
|
4918
3950
|
type IParagraphOptions = {
|
|
4919
3951
|
readonly text?: string;
|
|
4920
3952
|
readonly children?: readonly ParagraphChild[];
|
|
4921
3953
|
} & IParagraphPropertiesOptions;
|
|
4922
|
-
declare class Paragraph extends FileChild {
|
|
4923
|
-
|
|
3954
|
+
declare class Paragraph extends BaseXmlComponent implements FileChild {
|
|
3955
|
+
readonly fileChild: symbol;
|
|
3956
|
+
private readonly options;
|
|
3957
|
+
private frontRuns;
|
|
3958
|
+
private sectionProperties?;
|
|
4924
3959
|
constructor(options: string | IParagraphOptions);
|
|
4925
3960
|
prepForXml(context: IContext): IXmlableObject | undefined;
|
|
4926
3961
|
addRunToFront(run: Run): Paragraph;
|
|
3962
|
+
setSectionProperties(section: SectionProperties): void;
|
|
4927
3963
|
}
|
|
4928
3964
|
//#endregion
|
|
4929
3965
|
//#region src/file/shared/space-type.d.ts
|
|
@@ -4933,7 +3969,7 @@ declare const SpaceType: {
|
|
|
4933
3969
|
};
|
|
4934
3970
|
//#endregion
|
|
4935
3971
|
//#region src/file/textbox/types.d.ts
|
|
4936
|
-
type LengthUnit = "auto" | number | Percentage | UniversalMeasure | RelativeMeasure;
|
|
3972
|
+
type LengthUnit = "auto" | number | values_d_exports.Percentage | values_d_exports.UniversalMeasure | values_d_exports.RelativeMeasure;
|
|
4937
3973
|
//#endregion
|
|
4938
3974
|
//#region src/file/textbox/shape/shape.d.ts
|
|
4939
3975
|
interface VmlShapeStyle {
|
|
@@ -4963,10 +3999,12 @@ interface VmlShapeStyle {
|
|
|
4963
3999
|
}
|
|
4964
4000
|
//#endregion
|
|
4965
4001
|
//#region src/file/textbox/textbox.d.ts
|
|
4966
|
-
type ITextboxOptions = Omit<IParagraphOptions, "style"> & {
|
|
4002
|
+
type ITextboxOptions = Omit<IParagraphOptions, "style" | "children"> & {
|
|
4967
4003
|
readonly style?: VmlShapeStyle;
|
|
4004
|
+
readonly children?: readonly FileChild[];
|
|
4968
4005
|
};
|
|
4969
|
-
declare class Textbox extends FileChild {
|
|
4006
|
+
declare class Textbox extends XmlComponent implements FileChild {
|
|
4007
|
+
readonly fileChild: symbol;
|
|
4970
4008
|
constructor({
|
|
4971
4009
|
style,
|
|
4972
4010
|
children,
|
|
@@ -4974,9 +4012,6 @@ declare class Textbox extends FileChild {
|
|
|
4974
4012
|
}: ITextboxOptions);
|
|
4975
4013
|
}
|
|
4976
4014
|
//#endregion
|
|
4977
|
-
//#region src/file/chart/chart-types/create-chart-type.d.ts
|
|
4978
|
-
type ChartType = "column" | "bar" | "line" | "pie" | "area" | "scatter";
|
|
4979
|
-
//#endregion
|
|
4980
4015
|
//#region src/file/chart/chart-space.d.ts
|
|
4981
4016
|
interface IChartSeriesData {
|
|
4982
4017
|
readonly name: string;
|
|
@@ -4994,27 +4029,17 @@ declare class ChartSpace extends XmlComponent {
|
|
|
4994
4029
|
constructor(options: IChartSpaceOptions);
|
|
4995
4030
|
}
|
|
4996
4031
|
//#endregion
|
|
4997
|
-
//#region src/file/smartart/built-in-
|
|
4998
|
-
declare
|
|
4999
|
-
declare
|
|
5000
|
-
declare
|
|
5001
|
-
|
|
5002
|
-
|
|
5003
|
-
|
|
5004
|
-
constructor(modelId: number, text: string, type?: string);
|
|
5005
|
-
}
|
|
5006
|
-
//#endregion
|
|
5007
|
-
//#region src/file/smartart/tree-to-model.d.ts
|
|
5008
|
-
interface ITreeNode {
|
|
5009
|
-
readonly text: string;
|
|
5010
|
-
readonly children?: readonly ITreeNode[];
|
|
4032
|
+
//#region src/file/smartart/built-in-definitions.d.ts
|
|
4033
|
+
declare function getLayoutXml(layoutId: string): string;
|
|
4034
|
+
declare function getStyleXml(styleId: string): string;
|
|
4035
|
+
declare function getColorXml(colorId: string): string;
|
|
4036
|
+
declare const DEFAULT_DRAWING_XML: string;
|
|
4037
|
+
declare namespace index_d_exports$3 {
|
|
4038
|
+
export { COLOR_CATEGORIES, DEFAULT_DRAWING_XML, ISmartArtData, ITreeNode, LAYOUT_CATEGORIES, STYLE_CATEGORIES, SmartArtCollection, createDataModel, getColorXml, getLayoutXml, getStyleXml };
|
|
5011
4039
|
}
|
|
5012
|
-
|
|
5013
|
-
readonly points: XmlComponent[];
|
|
5014
|
-
readonly connections: Connection[];
|
|
4040
|
+
declare namespace index_d_exports$2 {
|
|
4041
|
+
export { AbstractNumbering, AlignmentType, AltChunk, AltChunkCollection, AnnotationReference, AttributeData, AttributeMap, AttributePayload, Attributes, BaseXmlComponent, Bdo, Bibliography, Body, Bookmark, BookmarkEnd, BookmarkStart, Border, BorderStyle, BuilderElement, COLOR_CATEGORIES, CarriageReturn, CellMerge, CellMergeAttributes, CharacterSet, ChartCollection, ChartMediaData, ChartRun, ChartSpace, CheckBox, CheckBoxOptions, CheckBoxSymbolElement, CheckBoxUtil, CnfStyleOptions, Column, ColumnBreak, Comment, CommentRangeEnd, CommentRangeStart, CommentReference, Comments, ConcreteHyperlink, ConcreteNumbering, ContinuationSeparator, DEFAULT_DRAWING_XML, DayLong, DayShort, DeletedTableCell, DeletedTableRow, DeletedTextRun, Dir, Document, DocumentAttributeNamespace, DocumentAttributeNamespaces, DocumentBackground, DocumentBackgroundAttributes, DocumentDefaults, DocumentGridType, Drawing, DropCapType, DropDownListOptions, EMPTY_OBJECT, EditGroup, EditGroupType, EmphasisMarkType, EmptyElement, EndnoteIdReference, EndnoteReference, EndnoteReferenceRun, EndnoteReferenceRunAttributes, Endnotes, ExternalHyperlink, File, FileChild, FlatTextOptions, FootNoteReferenceRunAttributes, FootNotes, Footer, FooterWrapper, FootnoteReference, FootnoteReferenceElement, FootnoteReferenceRun, FormFieldCommonOptions, FormFieldOptions, FormFieldTextOptions, FormFieldTextType, FractionType, FrameAnchorType, FrameWrap, GridSpan, Header, HeaderFooterReferenceType, HeaderFooterType, HeaderWrapper, HeadingLevel, HeightRule, HighlightColor, HorizontalPositionAlign, HorizontalPositionRelativeFrom, HpsMeasureElement, HyperlinkType, IAlignmentFrameOptions, IAltChunkData, IAltChunkOptions, IBackgroundImageOptions, IBaseCharacterStyleOptions, IBaseParagraphStyleOptions, IBibliographyOptions, IBodyPropertiesOptions, IBookmarkOptions, IBorderOptions, IBordersOptions, ICellMergeAttributes, ICharacterStyleOptions, IChartData, IChartOptions, IChartSeriesData, IChartSpaceOptions, ICheckboxSymbolOptions, ICheckboxSymbolProperties, ICnfStyleOptions, IColumnAttributes, IColumnsAttributes, ICommentOptions, ICommentsOptions, IConcreteNumberingOptions, IContext, IDirOptions, IDistance, IDocGridAttributesProperties, IDocumentBackgroundOptions, IDocumentDefaultsOptions, IDocumentFooter, IDocumentHeader, IDocumentOptions, IDrawingOptions, IExtendedMediaData, IExternalHyperlinkOptions, IFloating, IFontAttributesProperties, IFrameOptions, IGroupChildMediaData, IHeaderFooterGroup, IHeaderFooterOptions, IHeaderOptions, IHorizontalPositionOptions, IImageOptions, IIndentAttributesProperties, IInternalHyperlinkOptions, ILevelsOptions, ILineNumberAttributes, IMargins, IMathBorderBoxOptions, IMathBoxOptions, IMathEqArrOptions, IMathFractionOptions, IMathFunctionOptions, IMathGroupChrOptions, IMathIntegralOptions, IMathLimitLowerOptions, IMathLimitUpperOptions, IMathMatrixOptions, IMathOptions, IMathParagraphOptions, IMathPhantOptions, IMathPreSubSuperScriptOptions, IMathRadicalOptions, IMathSubScriptOptions, IMathSubSuperScriptOptions, IMathSumOptions, IMathSuperScriptOptions, IMediaData, IMediaDataTransformation, IMediaTransformation, INumberedItemReferenceOptions, INumberingOptions, IPageBorderAttributes, IPageBordersOptions, IPageMarginAttributes, IPageNumberTypeAttributes, IPageReferenceOptions, IPageSizeAttributes, IParagraphOptions, IParagraphPropertiesChangeOptions, IParagraphPropertiesOptions, IParagraphPropertiesOptionsBase, IParagraphRunOptions, IParagraphRunPropertiesOptions, IParagraphStyleOptions, IParagraphStylePropertiesOptions, IPermStartOptions, IPropertiesOptions, IRunOptions, IRunPropertiesChangeOptions, IRunPropertiesOptions, ISdtBlockOptions, ISdtCellOptions, ISdtRowOptions, ISdtRunOptions, ISectionOptions, ISectionPropertiesChangeOptions, ISectionPropertiesOptions, ISectionPropertiesOptionsBase, IShadingAttributesProperties, ISmartArtData, ISmartArtNode, ISmartArtOptions, ISpacingProperties, IStylesOptions, ISubDocData, ISubDocOptions, ISymbolRunOptions, ITableBordersOptions, ITableCellBorders, ITableCellOptions, ITableFloatOptions, ITableLookOptions, ITableOfContentsOptions, ITableOptions, ITablePropertiesChangeOptions, ITablePropertiesOptions, ITablePropertiesOptionsBase, ITablePropertyExOptions, ITableRowOptions, ITableRowPropertiesChangeOptions, ITableRowPropertiesOptions, ITableRowPropertiesOptionsBase, ITableWidthProperties, ITextWrapping, ITreeNode, IVerticalPositionOptions, IWpgGroupOptions, IWpsShapeOptions, IXYFrameOptions, IXmlableObject, IgnoreIfEmptyXmlComponent, ImageRun, ImportedRootElementAttributes, ImportedXmlComponent, InitializableXmlComponent, InsertedTableCell, InsertedTableRow, InsertedTextRun, InternalHyperlink, LAYOUT_CATEGORIES, LastRenderedPageBreak, LeaderType, Level, LevelBase, LevelForOverride, LevelFormat, LevelOverride, LevelParagraphStylePropertiesOptions, LevelSuffix, LineNumberRestartFormat, LineRuleType, Math, MathAccentOptions, MathAccentPropertiesOptions, MathAngledBrackets, MathBaseOptions, MathBorderBox, MathBorderBoxPropertiesOptions, MathBox, MathBoxPropertiesOptions, MathBreakBin, MathBreakBinSub, MathComponent, MathControlPropertiesOptions, MathCurlyBrackets, MathDegree, MathDenominator, MathEqArr, MathEqArrPropertiesOptions, MathFraction, MathFractionPropertiesOptions, MathFunction, MathFunctionName, MathFunctionPropertiesOptions, MathGroupChr, MathGroupChrPropertiesOptions, MathIntegral, MathJustification, MathLimit, MathLimitLowPropertiesOptions, MathLimitLower, MathLimitUpper, MathLimitUpperPropertiesOptions, MathMatrix, MathMatrixPropertiesOptions, MathNAryPropertiesOptions, MathNumerator, MathParagraph, MathPhant, MathPhantPropertiesOptions, MathPreSubSuperScript, MathPropertiesJustification, MathPropertiesOptions, MathRadical, MathRadicalProperties, MathRoundBrackets, MathRun, MathRunOptions, MathRunPropertiesOptions, MathScriptType, MathSquareBrackets, MathStyleType, MathSubScript, MathSubSuperScript, MathSubSuperScriptPropertiesOptions, MathSum, MathSuperScript, Media, MonthLong, MonthShort, MoveFromRangeEnd, MoveFromRangeStart, MoveToRangeEnd, MoveToRangeStart, MovedFromTextRun, MovedToTextRun, NextAttributeComponent, NoBreakHyphen, NormalAutofitOptions, NumberFormat, NumberProperties, NumberValueElement, NumberedItemReference, NumberedItemReferenceFormat, Numbering, OnOffElement, OverlapType, PageBorderDisplay, PageBorderOffsetFrom, PageBorderZOrder, PageBorders, PageBreak, PageBreakBefore, PageNumber, PageNumberElement, PageNumberSeparator, PageOrientation, PageReference, PageTextDirection, PageTextDirectionType, Paragraph, ParagraphChild, ParagraphProperties, ParagraphPropertiesChange, ParagraphPropertiesDefaults, ParagraphRunProperties, PermEnd, PermStart, PositionalTab, PositionalTabAlignment, PositionalTabLeader, PositionalTabOptions, PositionalTabRelativeTo, PresetTextShapeOptions, RelativeHorizontalPosition, RelativeVerticalPosition, RubyAlign, RubyOptions, Run, RunProperties, RunPropertiesChange, RunPropertiesDefaults, RunStylePropertiesOptions, STYLE_CATEGORIES, SdtComboBoxOptions, SdtDataBindingOptions, SdtDateMappingType, SdtDateOptions, SdtDropDownListOptions, SdtListItem, SdtLock, SdtPropertiesOptions, SdtTextOptions, SectionProperties, SectionPropertiesChange, SectionType, SectionVerticalAlign, Separator, SequentialIdentifier, ShadingType, SimpleField, SimpleMailMergeField, SmartArtCollection, SmartArtMediaData, SmartArtRun, SoftHyphen, SourceTypeOptions, SpaceType, StringContainer, StringEnumValueElement, StringValueElement, StructuredDocumentTagBlock, StructuredDocumentTagCell, StructuredDocumentTagContent, StructuredDocumentTagProperties, StructuredDocumentTagRow, StructuredDocumentTagRun, StyleForCharacter, StyleForParagraph, StyleLevel, Styles, SubDoc, SubDocCollection, SymbolRun, TDirection, Tab, TabStopDefinition, TabStopPosition, TabStopType, Table, TableAnchorType, TableBorders, TableCell, TableCellBorders, TableLayoutType, TableOfContents, TableProperties, TablePropertyExceptions, TableRow, TableRowProperties, TableRowPropertiesChange, TableVerticalAlign, TextAlignmentType, TextBodyWrappingType, TextDirection, TextEffect, TextHorzOverflowType, TextInputOptions, TextRun, TextVertOverflowType, TextVerticalType, TextWrappingSide, TextWrappingType, Textbox, TextboxTightWrapType, ThematicBreak, UnderlineType, VerticalAlign, VerticalAlignSection, VerticalAlignTable, VerticalAnchor, VerticalMerge, VerticalMergeRevisionType, VerticalMergeType, VerticalPositionAlign, VerticalPositionRelativeFrom, WORKAROUND2, WORKAROUND4, WidthType, WpgCommonMediaData, WpgGroupRun, WpgMediaData, WpsMediaData, WpsShapeRun, XmlAttributeComponent, XmlComponent, YearLong, YearShort, buildDocumentAttributes, buildRunProperties, chartAttr, convertToXmlComponent, createAlignment, createBodyProperties, createBorderElement, createBreak, createCnfStyle, createColumns, createDataModel, createDivId, createDocumentGrid, createDotEmphasisMark, createEmphasisMark, createFormFieldData, createFrameProperties, createHeaderFooterReference, createHorizontalPosition, createIndent, createLineNumberType, createMathAccent, createMathAccentCharacter, createMathAccentProperties, createMathBar, createMathBarProperties, createMathBase, createMathBorderBoxProperties, createMathBoxProperties, createMathControlProperties, createMathEqArrProperties, createMathFractionProperties, createMathFunctionProperties, createMathGroupChrProperties, createMathLimitLocation, createMathLimitLowProperties, createMathLimitUpperProperties, createMathMatrixProperties, createMathNAryProperties, createMathPhantProperties, createMathPreSubSuperScriptProperties, createMathProperties, createMathRunProperties, createMathSubScriptElement, createMathSubScriptProperties, createMathSubSuperScriptProperties, createMathSuperScriptElement, createMathSuperScriptProperties, createOutlineLevel, createPageMargin, createPageNumberType, createPageSize, createParagraphStyle, createRuby, createRunFonts, createSectionType, createShading, createSimplePos, createSpacing, createStringElement, createTabStop, createTabStopItem, createTableFloatProperties, createTableLayout, createTableLook, createTableOverlap, createTableRowHeight, createTableWidthElement, createTransformation, createUnderline, createVerticalAlign, createVerticalPosition, createWrapNone, createWrapSquare, createWrapThrough, createWrapTight, createWrapTopAndBottom, getColorXml, getLayoutXml, getStyleXml, sectionMarginDefaults, sectionPageSizeDefaults, wrapEl };
|
|
5015
4042
|
}
|
|
5016
|
-
declare const treeToModel: (nodes: readonly ITreeNode[]) => IFlatResult;
|
|
5017
|
-
declare const createDataModel: (nodes: readonly ITreeNode[]) => DataModel;
|
|
5018
4043
|
//#endregion
|
|
5019
4044
|
//#region src/util/output-type.d.ts
|
|
5020
4045
|
interface OutputByType {
|
|
@@ -5033,7 +4058,7 @@ declare const convertOutput: <T extends OutputType>(data: Uint8Array, type: T) =
|
|
|
5033
4058
|
//#endregion
|
|
5034
4059
|
//#region src/export/packer/next-compiler.d.ts
|
|
5035
4060
|
interface IXmlifyedFile {
|
|
5036
|
-
readonly data: string;
|
|
4061
|
+
readonly data: string | Uint8Array;
|
|
5037
4062
|
readonly path: string;
|
|
5038
4063
|
}
|
|
5039
4064
|
//#endregion
|
|
@@ -5056,17 +4081,13 @@ declare class Packer {
|
|
|
5056
4081
|
}
|
|
5057
4082
|
//#endregion
|
|
5058
4083
|
//#region src/util/convenience-functions.d.ts
|
|
5059
|
-
declare const
|
|
5060
|
-
declare const
|
|
5061
|
-
|
|
5062
|
-
declare const
|
|
5063
|
-
declare
|
|
5064
|
-
|
|
5065
|
-
|
|
5066
|
-
declare const bookmarkUniqueNumericIdGen: () => UniqueNumericIdCreator;
|
|
5067
|
-
declare const uniqueId: () => string;
|
|
5068
|
-
declare const hashedId: (data: Buffer | string | Uint8Array | ArrayBuffer) => string;
|
|
5069
|
-
declare const uniqueUuid: () => string;
|
|
4084
|
+
declare const abstractNumUniqueNumericIdGen: () => (() => number);
|
|
4085
|
+
declare const concreteNumUniqueNumericIdGen: () => (() => number);
|
|
4086
|
+
declare const docPropertiesUniqueNumericIdGen: () => (() => number);
|
|
4087
|
+
declare const bookmarkUniqueNumericIdGen: () => (() => number);
|
|
4088
|
+
declare namespace index_d_exports$1 {
|
|
4089
|
+
export { OutputByType, OutputType, UniqueNumericIdCreator, abstractNumUniqueNumericIdGen, bookmarkUniqueNumericIdGen, concreteNumUniqueNumericIdGen, convertInchesToTwip, convertMillimetersToTwip, convertOutput, docPropertiesUniqueNumericIdGen, hashedId, uniqueId, uniqueNumericIdCreator, uniqueUuid };
|
|
4090
|
+
}
|
|
5070
4091
|
//#endregion
|
|
5071
4092
|
//#region src/patcher/from-docx.d.ts
|
|
5072
4093
|
type InputDataType = Buffer | string | number[] | Uint8Array | ArrayBuffer | Blob;
|
|
@@ -5112,5 +4133,279 @@ declare const patchDetector: ({
|
|
|
5112
4133
|
data
|
|
5113
4134
|
}: PatchDetectorOptions) => Promise<readonly string[]>;
|
|
5114
4135
|
//#endregion
|
|
5115
|
-
export { AbstractNumbering, AlignmentType, AnnotationReference, AttributeData, AttributeMap, AttributePayload, Attributes, BaseXmlComponent, Bibliography, Body, Bookmark, BookmarkEnd, BookmarkStart, Border, BorderStyle, BuilderElement, CarriageReturn, CellMerge, CellMergeAttributes, CharacterSet, ChartCollection, ChartMediaData, ChartRun, ChartSpace, CheckBox, CheckBoxOptions, CheckBoxSymbolElement, CheckBoxUtil, CnfStyleOptions, Column, ColumnBreak, Comment, CommentRangeEnd, CommentRangeStart, CommentReference, Comments, ConcreteHyperlink, ConcreteNumbering, Connection, ContinuationSeparator, DEFAULT_COLOR_URI, DEFAULT_STYLE_URI, DataModel, DayLong, DayShort, DeletedTableCell, DeletedTableRow, DeletedTextRun, File as Document, File, DocumentAttributeNamespace, DocumentAttributeNamespaces, DocumentAttributes, DocumentBackground, DocumentBackgroundAttributes, DocumentDefaults, DocumentGridType, Drawing, DropCapType, DropDownListOptions, EMPTY_OBJECT, EmphasisMarkType, EmptyElement, EndnoteIdReference, EndnoteReference, EndnoteReferenceRun, EndnoteReferenceRunAttributes, Endnotes, ExternalHyperlink, FileChild, FlatTextOptions, FootNoteReferenceRunAttributes, FootNotes, Footer, FooterWrapper, FootnoteReference, FootnoteReferenceElement, FootnoteReferenceRun, FormFieldCommonOptions, FormFieldOptions, FormFieldTextOptions, FormFieldTextType, FractionType, FrameAnchorType, FrameWrap, GridSpan, Header, HeaderFooterReferenceType, HeaderFooterType, HeaderWrapper, HeadingLevel, HeightRule, HighlightColor, HorizontalPositionAlign, HorizontalPositionRelativeFrom, HpsMeasureElement, HyperlinkType, IAlignmentFrameOptions, IBaseCharacterStyleOptions, IBaseParagraphStyleOptions, IBibliographyOptions, IBodyPropertiesOptions, IBookmarkOptions, IBorderOptions, IBordersOptions, ICellMergeAttributes, ICharacterStyleOptions, IChartData, IChartOptions, IChartSeriesData, IChartSpaceOptions, ICheckboxSymbolOptions, ICheckboxSymbolProperties, ICnfStyleOptions, IColumnAttributes, IColumnsAttributes, ICommentOptions, ICommentsOptions, IConcreteNumberingOptions, IContext, IDistance, IDocGridAttributesProperties, IDocumentAttributesProperties, IDocumentBackgroundOptions, IDocumentDefaultsOptions, IDocumentFooter, IDocumentHeader, IDocumentOptions, IDrawingOptions, IExtendedMediaData, IExternalHyperlinkOptions, IFloating, IFontAttributesProperties, IFrameOptions, IGroupChildMediaData, IHeaderFooterGroup, IHeaderFooterOptions, IHeaderOptions, IHorizontalPositionOptions, IImageOptions, IIndentAttributesProperties, IInternalHyperlinkOptions, ILevelsOptions, ILineNumberAttributes, IMargins, IMathBorderBoxOptions, IMathBoxOptions, IMathEqArrOptions, IMathFractionOptions, IMathFunctionOptions, IMathGroupChrOptions, IMathIntegralOptions, IMathLimitLowerOptions, IMathLimitUpperOptions, IMathMatrixOptions, IMathOptions, IMathParagraphOptions, IMathPhantOptions, IMathPreSubSuperScriptOptions, IMathRadicalOptions, IMathSubScriptOptions, IMathSubSuperScriptOptions, IMathSumOptions, IMathSuperScriptOptions, IMediaData, IMediaDataTransformation, IMediaTransformation, INumberedItemReferenceOptions, INumberingOptions, IPageBorderAttributes, IPageBordersOptions, IPageMarginAttributes, IPageNumberTypeAttributes, IPageReferenceOptions, IPageSizeAttributes, IParagraphOptions, IParagraphPropertiesChangeOptions, IParagraphPropertiesOptions, IParagraphPropertiesOptionsBase, IParagraphRunOptions, IParagraphRunPropertiesOptions, IParagraphStyleOptions, IParagraphStylePropertiesOptions, IPatch, type IPropertiesOptions, IRunOptions, IRunPropertiesChangeOptions, IRunPropertiesOptions, ISdtBlockOptions, ISdtRunOptions, ISectionOptions, ISectionPropertiesChangeOptions, ISectionPropertiesOptions, ISectionPropertiesOptionsBase, IShadingAttributesProperties, ISmartArtData, ISmartArtNode, ISmartArtOptions, ISpacingProperties, IStylesOptions, ISymbolRunOptions, ITableBordersOptions, ITableCellBorders, ITableCellOptions, ITableFloatOptions, ITableLookOptions, ITableOfContentsOptions, ITableOptions, ITablePropertiesChangeOptions, ITablePropertiesOptions, ITablePropertiesOptionsBase, ITableRowOptions, ITableRowPropertiesChangeOptions, ITableRowPropertiesOptions, ITableRowPropertiesOptionsBase, ITableWidthProperties, ITextWrapping, ITreeNode, IVerticalPositionOptions, IWpgGroupOptions, IWpsShapeOptions, IXYFrameOptions, IXmlAttribute, IXmlableObject, IgnoreIfEmptyXmlComponent, ImageRun, ImportedRootElementAttributes, ImportedXmlComponent, InitializableXmlComponent, InputDataType, InsertedTableCell, InsertedTableRow, InsertedTextRun, InternalHyperlink, LAYOUTS, LastRenderedPageBreak, LeaderType, Level, LevelBase, LevelForOverride, LevelFormat, LevelOverride, LevelParagraphStylePropertiesOptions, LevelSuffix, LineNumberRestartFormat, LineRuleType, Math, MathAccentOptions, MathAccentPropertiesOptions, MathAngledBrackets, MathBaseOptions, MathBorderBox, MathBorderBoxPropertiesOptions, MathBox, MathBoxPropertiesOptions, MathBreakBin, MathBreakBinSub, MathComponent, MathControlPropertiesOptions, MathCurlyBrackets, MathDegree, MathDenominator, MathEqArr, MathEqArrPropertiesOptions, MathFraction, MathFractionPropertiesOptions, MathFunction, MathFunctionName, MathFunctionPropertiesOptions, MathGroupChr, MathGroupChrPropertiesOptions, MathIntegral, MathJustification, MathLimit, MathLimitLowPropertiesOptions, MathLimitLower, MathLimitUpper, MathLimitUpperPropertiesOptions, MathMatrix, MathMatrixPropertiesOptions, MathNAryPropertiesOptions, MathNumerator, MathParagraph, MathPhant, MathPhantPropertiesOptions, MathPreSubSuperScript, MathPropertiesJustification, MathPropertiesOptions, MathRadical, MathRadicalProperties, MathRoundBrackets, MathRun, MathRunOptions, MathRunPropertiesOptions, MathScriptType, MathSquareBrackets, MathStyleType, MathSubScript, MathSubSuperScript, MathSubSuperScriptPropertiesOptions, MathSum, MathSuperScript, Media, MonthLong, MonthShort, NextAttributeComponent, NoBreakHyphen, NormalAutofitOptions, NumberFormat, NumberProperties, NumberValueElement, NumberedItemReference, NumberedItemReferenceFormat, Numbering, OnOffElement, OutputByType, OutputType, OverlapType, Packer, PageBorderDisplay, PageBorderOffsetFrom, PageBorderZOrder, PageBorders, PageBreak, PageBreakBefore, PageNumber, PageNumberElement, PageNumberSeparator, PageOrientation, PageReference, PageTextDirection, PageTextDirectionType, Paragraph, ParagraphChild, ParagraphProperties, ParagraphPropertiesChange, ParagraphPropertiesDefaults, ParagraphRunProperties, PatchDocumentOptions, PatchDocumentOutputType, PatchType, Percentage, Point, PositionalTab, PositionalTabAlignment, PositionalTabLeader, PositionalTabOptions, PositionalTabRelativeTo, PositivePercentage, PositiveUniversalMeasure, PresetTextShapeOptions, PrettifyType, RelativeHorizontalPosition, RelativeMeasure, RelativeVerticalPosition, RubyAlign, RubyOptions, Run, RunProperties, RunPropertiesChange, RunPropertiesDefaults, RunStylePropertiesOptions, SdtComboBoxOptions, SdtDataBindingOptions, SdtDateMappingType, SdtDateOptions, SdtDropDownListOptions, SdtListItem, SdtLock, SdtPropertiesOptions, SdtTextOptions, SectionProperties, SectionPropertiesChange, SectionType, SectionVerticalAlign, Separator, SequentialIdentifier, ShadingType, SimpleField, SimpleMailMergeField, SmartArtCollection, SmartArtMediaData, SmartArtRun, SoftHyphen, SourceTypeOptions, SpaceType, StringContainer, StringEnumValueElement, StringValueElement, StructuredDocumentTagBlock, StructuredDocumentTagContent, StructuredDocumentTagProperties, StructuredDocumentTagRun, StyleForCharacter, StyleForParagraph, StyleLevel, Styles, SymbolRun, TDirection, Tab, TabStopDefinition, TabStopPosition, TabStopType, Table, TableAnchorType, TableBorders, TableCell, TableCellBorders, TableLayoutType, TableOfContents, TableProperties, TableRow, TableRowProperties, TableRowPropertiesChange, TableVerticalAlign, TextAlignmentType, TextBodyWrappingType, TextDirection, TextEffect, TextHorzOverflowType, TextInputOptions, TextRun, TextVertOverflowType, TextVerticalType, TextWrappingSide, TextWrappingType, Textbox, TextboxTightWrapType, ThematicBreak, ThemeColor, ThemeFont, UnderlineType, UniqueNumericIdCreator, UniversalMeasure, VerticalAlign, VerticalAlignSection, VerticalAlignTable, VerticalAnchor, VerticalMerge, VerticalMergeRevisionType, VerticalMergeType, VerticalPositionAlign, VerticalPositionRelativeFrom, WORKAROUND2, WORKAROUND3, WORKAROUND4, WidthType, WpgCommonMediaData, WpgGroupRun, WpgMediaData, WpsMediaData, WpsShapeRun, XmlAttributeComponent, XmlComponent, YearLong, YearShort, abstractNumUniqueNumericIdGen, bookmarkUniqueNumericIdGen, chartAttr, concreteNumUniqueNumericIdGen, convertInchesToTwip, convertMillimetersToTwip, convertOutput, convertToXmlComponent, createAlignment, createBodyProperties, createBorderElement, createCnfStyle, createColumns, createDataModel, createDivId, createDocumentGrid, createDotEmphasisMark, createEmphasisMark, createFormFieldData, createFrameProperties, createHeaderFooterReference, createHorizontalPosition, createIndent, createLineNumberType, createMathAccent, createMathAccentCharacter, createMathAccentProperties, createMathBar, createMathBarProperties, createMathBase, createMathBorderBoxProperties, createMathBoxProperties, createMathControlProperties, createMathEqArrProperties, createMathFractionProperties, createMathFunctionProperties, createMathGroupChrProperties, createMathLimitLocation, createMathLimitLowProperties, createMathLimitUpperProperties, createMathMatrixProperties, createMathNAryProperties, createMathPhantProperties, createMathPreSubSuperScriptProperties, createMathProperties, createMathRunProperties, createMathSubScriptElement, createMathSubScriptProperties, createMathSubSuperScriptProperties, createMathSuperScriptElement, createMathSuperScriptProperties, createOutlineLevel, createPageMargin, createPageNumberType, createPageSize, createParagraphStyle, createRuby, createRunFonts, createSectionType, createShading, createSimplePos, createSpacing, createStringElement, createTabStop, createTabStopItem, createTableFloatProperties, createTableLayout, createTableLook, createTableRowHeight, createTableWidthElement, createTransformation, createUnderline, createVerticalAlign, createVerticalPosition, createWrapNone, createWrapSquare, createWrapThrough, createWrapTight, createWrapTopAndBottom, dateTimeValue, decimalNumber, docPropertiesUniqueNumericIdGen, eighthPointMeasureValue, hashedId, hexColorValue, hpsMeasureValue, longHexNumber, measurementOrPercentValue, patchDetector, patchDocument, percentageValue, pointMeasureValue, positiveUniversalMeasureValue, sectionMarginDefaults, sectionPageSizeDefaults, shortHexNumber, signedHpsMeasureValue, signedTwipsMeasureValue, treeToModel, twipsMeasureValue, uCharHexNumber, uniqueId, uniqueNumericIdCreator, uniqueUuid, universalMeasureValue, unsignedDecimalNumber, wrapEl };
|
|
4136
|
+
//#region src/parse/numbering.d.ts
|
|
4137
|
+
interface ParsedLevel {
|
|
4138
|
+
level: number;
|
|
4139
|
+
format?: string;
|
|
4140
|
+
text?: string;
|
|
4141
|
+
alignment?: string;
|
|
4142
|
+
start?: number;
|
|
4143
|
+
suffix?: string;
|
|
4144
|
+
isLegalNumberingStyle?: boolean;
|
|
4145
|
+
style?: {
|
|
4146
|
+
paragraph?: {
|
|
4147
|
+
indent?: {
|
|
4148
|
+
left?: number;
|
|
4149
|
+
hanging?: number;
|
|
4150
|
+
};
|
|
4151
|
+
};
|
|
4152
|
+
run?: Record<string, unknown>;
|
|
4153
|
+
};
|
|
4154
|
+
}
|
|
4155
|
+
interface ParsedNumberingConfig {
|
|
4156
|
+
reference: string;
|
|
4157
|
+
levels: ParsedLevel[];
|
|
4158
|
+
}
|
|
4159
|
+
//#endregion
|
|
4160
|
+
//#region src/parse/types.d.ts
|
|
4161
|
+
type FileChildJson = ParagraphJson | TableJson | ImageRunJson | ExternalHyperlinkJson | PageBreakJson | SdtJson | MathJson | RawElement;
|
|
4162
|
+
type ParagraphChildJson = TextRunJson | ImageRunJson | ExternalHyperlinkJson | PageBreakJson | LineBreakJson | ColumnBreakJson | TabJson | BookmarkJson | SdtRunJson | MathJson | FieldJson | RawElement;
|
|
4163
|
+
interface ParagraphJson {
|
|
4164
|
+
$type?: "paragraph";
|
|
4165
|
+
children?: MixedChildren<ParagraphChildJson>;
|
|
4166
|
+
text?: string;
|
|
4167
|
+
alignment?: string;
|
|
4168
|
+
spacing?: {
|
|
4169
|
+
before?: number;
|
|
4170
|
+
after?: number;
|
|
4171
|
+
line?: number;
|
|
4172
|
+
lineRule?: string;
|
|
4173
|
+
};
|
|
4174
|
+
indent?: {
|
|
4175
|
+
left?: number;
|
|
4176
|
+
right?: number;
|
|
4177
|
+
firstLine?: number;
|
|
4178
|
+
hanging?: number;
|
|
4179
|
+
};
|
|
4180
|
+
heading?: string;
|
|
4181
|
+
style?: string;
|
|
4182
|
+
bullet?: {
|
|
4183
|
+
level: number;
|
|
4184
|
+
};
|
|
4185
|
+
numbering?: {
|
|
4186
|
+
reference: string;
|
|
4187
|
+
level: number;
|
|
4188
|
+
instance?: number;
|
|
4189
|
+
};
|
|
4190
|
+
border?: Record<string, unknown>;
|
|
4191
|
+
shading?: {
|
|
4192
|
+
fill?: string;
|
|
4193
|
+
type?: string;
|
|
4194
|
+
};
|
|
4195
|
+
thematicBreak?: boolean;
|
|
4196
|
+
pageBreakBefore?: boolean;
|
|
4197
|
+
keepNext?: boolean;
|
|
4198
|
+
keepLines?: boolean;
|
|
4199
|
+
widowControl?: boolean;
|
|
4200
|
+
outlineLevel?: number;
|
|
4201
|
+
tabs?: Array<{
|
|
4202
|
+
pos: number;
|
|
4203
|
+
align?: string;
|
|
4204
|
+
leader?: string;
|
|
4205
|
+
}>;
|
|
4206
|
+
suppressLineNumbers?: boolean;
|
|
4207
|
+
contextualSpacing?: boolean;
|
|
4208
|
+
mirrorIndents?: boolean;
|
|
4209
|
+
run?: Record<string, unknown>;
|
|
4210
|
+
}
|
|
4211
|
+
interface TextRunJson {
|
|
4212
|
+
$type?: "textRun";
|
|
4213
|
+
text?: string;
|
|
4214
|
+
deletedText?: boolean;
|
|
4215
|
+
bold?: boolean;
|
|
4216
|
+
italics?: boolean;
|
|
4217
|
+
underline?: {
|
|
4218
|
+
type?: string;
|
|
4219
|
+
color?: string;
|
|
4220
|
+
};
|
|
4221
|
+
strike?: boolean;
|
|
4222
|
+
doubleStrike?: boolean;
|
|
4223
|
+
smallCaps?: boolean;
|
|
4224
|
+
allCaps?: boolean;
|
|
4225
|
+
subScript?: boolean;
|
|
4226
|
+
superScript?: boolean;
|
|
4227
|
+
size?: number;
|
|
4228
|
+
sizeCs?: number;
|
|
4229
|
+
sizeComplexScript?: boolean | number;
|
|
4230
|
+
color?: string;
|
|
4231
|
+
font?: string | {
|
|
4232
|
+
ascii?: string;
|
|
4233
|
+
hAnsi?: string;
|
|
4234
|
+
eastAsia?: string;
|
|
4235
|
+
cs?: string;
|
|
4236
|
+
hint?: string;
|
|
4237
|
+
};
|
|
4238
|
+
highlight?: string;
|
|
4239
|
+
characterSpacing?: number;
|
|
4240
|
+
rightToLeft?: boolean;
|
|
4241
|
+
shading?: {
|
|
4242
|
+
fill?: string;
|
|
4243
|
+
};
|
|
4244
|
+
kern?: number;
|
|
4245
|
+
position?: string;
|
|
4246
|
+
emboss?: boolean;
|
|
4247
|
+
imprint?: boolean;
|
|
4248
|
+
shadow?: boolean;
|
|
4249
|
+
outline?: boolean;
|
|
4250
|
+
vanish?: boolean;
|
|
4251
|
+
noProof?: boolean;
|
|
4252
|
+
effect?: string;
|
|
4253
|
+
math?: boolean;
|
|
4254
|
+
boldCs?: boolean;
|
|
4255
|
+
italicCs?: boolean;
|
|
4256
|
+
lang?: string;
|
|
4257
|
+
}
|
|
4258
|
+
interface ImageRunJson {
|
|
4259
|
+
$type?: "imageRun";
|
|
4260
|
+
type: string;
|
|
4261
|
+
data: string;
|
|
4262
|
+
transformation?: {
|
|
4263
|
+
width?: number;
|
|
4264
|
+
height?: number;
|
|
4265
|
+
};
|
|
4266
|
+
floating?: Record<string, unknown>;
|
|
4267
|
+
altText?: {
|
|
4268
|
+
name?: string;
|
|
4269
|
+
description?: string;
|
|
4270
|
+
};
|
|
4271
|
+
}
|
|
4272
|
+
interface ExternalHyperlinkJson {
|
|
4273
|
+
$type?: "externalHyperlink";
|
|
4274
|
+
link: string;
|
|
4275
|
+
children?: MixedChildren<ParagraphChildJson>;
|
|
4276
|
+
tooltip?: string;
|
|
4277
|
+
}
|
|
4278
|
+
interface PageBreakJson {
|
|
4279
|
+
$type?: "pageBreak";
|
|
4280
|
+
}
|
|
4281
|
+
interface LineBreakJson {
|
|
4282
|
+
$type?: "lineBreak";
|
|
4283
|
+
}
|
|
4284
|
+
interface ColumnBreakJson {
|
|
4285
|
+
$type?: "columnBreak";
|
|
4286
|
+
}
|
|
4287
|
+
interface TabJson {
|
|
4288
|
+
$type?: "tab";
|
|
4289
|
+
}
|
|
4290
|
+
interface BookmarkJson {
|
|
4291
|
+
$type?: "bookmark";
|
|
4292
|
+
name?: string;
|
|
4293
|
+
element?: Element;
|
|
4294
|
+
}
|
|
4295
|
+
interface SdtJson {
|
|
4296
|
+
$type?: "sdt";
|
|
4297
|
+
sdtPr?: Element;
|
|
4298
|
+
content?: MixedChildren<FileChildJson>;
|
|
4299
|
+
element?: Element;
|
|
4300
|
+
}
|
|
4301
|
+
interface SdtRunJson {
|
|
4302
|
+
$type?: "sdtRun";
|
|
4303
|
+
sdtPr?: Element;
|
|
4304
|
+
content?: MixedChildren<ParagraphChildJson>;
|
|
4305
|
+
element?: Element;
|
|
4306
|
+
}
|
|
4307
|
+
interface MathJson {
|
|
4308
|
+
$type?: "math";
|
|
4309
|
+
element: Element;
|
|
4310
|
+
}
|
|
4311
|
+
interface FieldJson {
|
|
4312
|
+
$type?: "field";
|
|
4313
|
+
instruction?: string;
|
|
4314
|
+
locked?: boolean;
|
|
4315
|
+
dirty?: boolean;
|
|
4316
|
+
children?: MixedChildren<ParagraphChildJson>;
|
|
4317
|
+
}
|
|
4318
|
+
interface TableJson {
|
|
4319
|
+
$type?: "table";
|
|
4320
|
+
rows: TableRowJson[];
|
|
4321
|
+
width?: {
|
|
4322
|
+
size?: number;
|
|
4323
|
+
type?: string;
|
|
4324
|
+
};
|
|
4325
|
+
columnWidths?: number[];
|
|
4326
|
+
style?: string;
|
|
4327
|
+
alignment?: string;
|
|
4328
|
+
borders?: Record<string, unknown>;
|
|
4329
|
+
cellMargins?: Record<string, unknown>;
|
|
4330
|
+
indentation?: Record<string, unknown>;
|
|
4331
|
+
layout?: string;
|
|
4332
|
+
}
|
|
4333
|
+
interface TableRowJson {
|
|
4334
|
+
cells: TableCellJson[];
|
|
4335
|
+
height?: {
|
|
4336
|
+
value: number;
|
|
4337
|
+
rule?: string;
|
|
4338
|
+
};
|
|
4339
|
+
isHeader?: boolean;
|
|
4340
|
+
}
|
|
4341
|
+
interface TableCellJson {
|
|
4342
|
+
children: MixedChildren<ParagraphJson>;
|
|
4343
|
+
width?: {
|
|
4344
|
+
size?: number;
|
|
4345
|
+
type?: string;
|
|
4346
|
+
};
|
|
4347
|
+
shading?: {
|
|
4348
|
+
fill?: string;
|
|
4349
|
+
};
|
|
4350
|
+
verticalAlign?: string;
|
|
4351
|
+
borders?: Record<string, unknown>;
|
|
4352
|
+
columnSpan?: number;
|
|
4353
|
+
rowSpan?: number;
|
|
4354
|
+
noWrap?: boolean;
|
|
4355
|
+
textDirection?: string;
|
|
4356
|
+
margins?: Record<string, unknown>;
|
|
4357
|
+
}
|
|
4358
|
+
interface SectionJson {
|
|
4359
|
+
properties?: Record<string, unknown>;
|
|
4360
|
+
children: FileChildJson[];
|
|
4361
|
+
headers?: Record<string, {
|
|
4362
|
+
children: FileChildJson[];
|
|
4363
|
+
}>;
|
|
4364
|
+
footers?: Record<string, {
|
|
4365
|
+
children: FileChildJson[];
|
|
4366
|
+
}>;
|
|
4367
|
+
}
|
|
4368
|
+
interface DocxDocumentJson {
|
|
4369
|
+
sections: SectionJson[];
|
|
4370
|
+
title?: string;
|
|
4371
|
+
subject?: string;
|
|
4372
|
+
creator?: string;
|
|
4373
|
+
keywords?: string;
|
|
4374
|
+
description?: string;
|
|
4375
|
+
lastModifiedBy?: string;
|
|
4376
|
+
revision?: string;
|
|
4377
|
+
numbering?: ParsedNumberingConfig[];
|
|
4378
|
+
$parts?: Record<string, Element>;
|
|
4379
|
+
footnotes?: FootnoteEntry[];
|
|
4380
|
+
endnotes?: FootnoteEntry[];
|
|
4381
|
+
comments?: CommentEntry[];
|
|
4382
|
+
}
|
|
4383
|
+
interface FootnoteEntry {
|
|
4384
|
+
id: string;
|
|
4385
|
+
type?: "separator" | "continuationSeparator" | "normal";
|
|
4386
|
+
children?: MixedChildren<FileChildJson>;
|
|
4387
|
+
}
|
|
4388
|
+
interface CommentEntry {
|
|
4389
|
+
id: string;
|
|
4390
|
+
author?: string;
|
|
4391
|
+
date?: string;
|
|
4392
|
+
initials?: string;
|
|
4393
|
+
children?: MixedChildren<FileChildJson>;
|
|
4394
|
+
}
|
|
4395
|
+
//#endregion
|
|
4396
|
+
//#region src/parse/document.d.ts
|
|
4397
|
+
interface ParseDocxOptions {
|
|
4398
|
+
includeRawParts?: boolean;
|
|
4399
|
+
}
|
|
4400
|
+
declare function parseDocx(data: Uint8Array, options?: ParseDocxOptions): Promise<DocxDocumentJson>;
|
|
4401
|
+
//#endregion
|
|
4402
|
+
//#region src/parse/convert.d.ts
|
|
4403
|
+
declare function toSectionChildren(children: FileChildJson[]): BaseXmlComponent[];
|
|
4404
|
+
declare function toParagraphChildren(children: ParagraphChildJson[]): BaseXmlComponent[];
|
|
4405
|
+
declare function toDocumentOptions(json: DocxDocumentJson): IPropertiesOptions;
|
|
4406
|
+
declare namespace index_d_exports {
|
|
4407
|
+
export { AbstractNumbering, AlignmentType, AltChunk, AltChunkCollection, AnnotationReference, AttributeData, AttributeMap, AttributePayload, Attributes, BaseXmlComponent, Bdo, Bibliography, Body, Bookmark, BookmarkEnd, BookmarkStart, Border, BorderStyle, BuilderElement, COLOR_CATEGORIES, CarriageReturn, CellMerge, CellMergeAttributes, CharacterSet, ChartCollection, ChartMediaData, ChartRun, ChartSpace, CheckBox, CheckBoxOptions, CheckBoxSymbolElement, CheckBoxUtil, CnfStyleOptions, Column, ColumnBreak, ColumnBreakJson, Comment, CommentEntry, CommentRangeEnd, CommentRangeStart, CommentReference, Comments, ConcreteHyperlink, ConcreteNumbering, ContinuationSeparator, DEFAULT_DRAWING_XML, DayLong, DayShort, DeletedTableCell, DeletedTableRow, DeletedTextRun, Dir, File as Document, DocumentAttributeNamespace, DocumentAttributeNamespaces, DocumentBackground, DocumentBackgroundAttributes, DocumentDefaults, DocumentGridType, DocxDocumentJson, Drawing, DropCapType, DropDownListOptions, EMPTY_OBJECT, EditGroup, EditGroupType, EmphasisMarkType, EmptyElement, EndnoteIdReference, EndnoteReference, EndnoteReferenceRun, EndnoteReferenceRunAttributes, Endnotes, ExternalHyperlink, ExternalHyperlinkJson, FieldJson, File, FileChild, FileChildJson, FlatTextOptions, FootNoteReferenceRunAttributes, FootNotes, Footer, FooterWrapper, FootnoteEntry, FootnoteReference, FootnoteReferenceElement, FootnoteReferenceRun, FormFieldCommonOptions, FormFieldOptions, FormFieldTextOptions, FormFieldTextType, FractionType, FrameAnchorType, FrameWrap, GridSpan, Header, HeaderFooterReferenceType, HeaderFooterType, HeaderWrapper, HeadingLevel, HeightRule, HighlightColor, HorizontalPositionAlign, HorizontalPositionRelativeFrom, HpsMeasureElement, HyperlinkType, IAlignmentFrameOptions, IAltChunkData, IAltChunkOptions, IBackgroundImageOptions, IBaseCharacterStyleOptions, IBaseParagraphStyleOptions, IBibliographyOptions, IBodyPropertiesOptions, IBookmarkOptions, IBorderOptions, IBordersOptions, ICellMergeAttributes, ICharacterStyleOptions, IChartData, IChartOptions, IChartSeriesData, IChartSpaceOptions, ICheckboxSymbolOptions, ICheckboxSymbolProperties, ICnfStyleOptions, IColumnAttributes, IColumnsAttributes, ICommentOptions, ICommentsOptions, IConcreteNumberingOptions, IContext, IDirOptions, IDistance, IDocGridAttributesProperties, IDocumentBackgroundOptions, IDocumentDefaultsOptions, IDocumentFooter, IDocumentHeader, IDocumentOptions, IDrawingOptions, IExtendedMediaData, IExternalHyperlinkOptions, IFloating, IFontAttributesProperties, IFrameOptions, IGroupChildMediaData, IHeaderFooterGroup, IHeaderFooterOptions, IHeaderOptions, IHorizontalPositionOptions, IImageOptions, IIndentAttributesProperties, IInternalHyperlinkOptions, ILevelsOptions, ILineNumberAttributes, IMargins, IMathBorderBoxOptions, IMathBoxOptions, IMathEqArrOptions, IMathFractionOptions, IMathFunctionOptions, IMathGroupChrOptions, IMathIntegralOptions, IMathLimitLowerOptions, IMathLimitUpperOptions, IMathMatrixOptions, IMathOptions, IMathParagraphOptions, IMathPhantOptions, IMathPreSubSuperScriptOptions, IMathRadicalOptions, IMathSubScriptOptions, IMathSubSuperScriptOptions, IMathSumOptions, IMathSuperScriptOptions, IMediaData, IMediaDataTransformation, IMediaTransformation, INumberedItemReferenceOptions, INumberingOptions, IPageBorderAttributes, IPageBordersOptions, IPageMarginAttributes, IPageNumberTypeAttributes, IPageReferenceOptions, IPageSizeAttributes, IParagraphOptions, IParagraphPropertiesChangeOptions, IParagraphPropertiesOptions, IParagraphPropertiesOptionsBase, IParagraphRunOptions, IParagraphRunPropertiesOptions, IParagraphStyleOptions, IParagraphStylePropertiesOptions, IPatch, IPermStartOptions, IPropertiesOptions, IRunOptions, IRunPropertiesChangeOptions, IRunPropertiesOptions, ISdtBlockOptions, ISdtCellOptions, ISdtRowOptions, ISdtRunOptions, ISectionOptions, ISectionPropertiesChangeOptions, ISectionPropertiesOptions, ISectionPropertiesOptionsBase, IShadingAttributesProperties, ISmartArtData, ISmartArtNode, ISmartArtOptions, ISpacingProperties, IStylesOptions, ISubDocData, ISubDocOptions, ISymbolRunOptions, ITableBordersOptions, ITableCellBorders, ITableCellOptions, ITableFloatOptions, ITableLookOptions, ITableOfContentsOptions, ITableOptions, ITablePropertiesChangeOptions, ITablePropertiesOptions, ITablePropertiesOptionsBase, ITablePropertyExOptions, ITableRowOptions, ITableRowPropertiesChangeOptions, ITableRowPropertiesOptions, ITableRowPropertiesOptionsBase, ITableWidthProperties, ITextWrapping, ITreeNode, IVerticalPositionOptions, IWpgGroupOptions, IWpsShapeOptions, IXYFrameOptions, IXmlableObject, IgnoreIfEmptyXmlComponent, ImageRun, ImageRunJson, ImportedRootElementAttributes, ImportedXmlComponent, InitializableXmlComponent, InputDataType, InsertedTableCell, InsertedTableRow, InsertedTextRun, InternalHyperlink, LAYOUT_CATEGORIES, LastRenderedPageBreak, LeaderType, Level, LevelBase, LevelForOverride, LevelFormat, LevelOverride, LevelParagraphStylePropertiesOptions, LevelSuffix, LineBreakJson, LineNumberRestartFormat, LineRuleType, Math, MathAccentOptions, MathAccentPropertiesOptions, MathAngledBrackets, MathBaseOptions, MathBorderBox, MathBorderBoxPropertiesOptions, MathBox, MathBoxPropertiesOptions, MathBreakBin, MathBreakBinSub, MathComponent, MathControlPropertiesOptions, MathCurlyBrackets, MathDegree, MathDenominator, MathEqArr, MathEqArrPropertiesOptions, MathFraction, MathFractionPropertiesOptions, MathFunction, MathFunctionName, MathFunctionPropertiesOptions, MathGroupChr, MathGroupChrPropertiesOptions, MathIntegral, MathJson, MathJustification, MathLimit, MathLimitLowPropertiesOptions, MathLimitLower, MathLimitUpper, MathLimitUpperPropertiesOptions, MathMatrix, MathMatrixPropertiesOptions, MathNAryPropertiesOptions, MathNumerator, MathParagraph, MathPhant, MathPhantPropertiesOptions, MathPreSubSuperScript, MathPropertiesJustification, MathPropertiesOptions, MathRadical, MathRadicalProperties, MathRoundBrackets, MathRun, MathRunOptions, MathRunPropertiesOptions, MathScriptType, MathSquareBrackets, MathStyleType, MathSubScript, MathSubSuperScript, MathSubSuperScriptPropertiesOptions, MathSum, MathSuperScript, Media, MixedChildren, MonthLong, MonthShort, MoveFromRangeEnd, MoveFromRangeStart, MoveToRangeEnd, MoveToRangeStart, MovedFromTextRun, MovedToTextRun, NextAttributeComponent, NoBreakHyphen, NormalAutofitOptions, NumberFormat, NumberProperties, NumberValueElement, NumberedItemReference, NumberedItemReferenceFormat, Numbering, OnOffElement, OutputByType, OutputType, OverlapType, Packer, PageBorderDisplay, PageBorderOffsetFrom, PageBorderZOrder, PageBorders, PageBreak, PageBreakBefore, PageBreakJson, PageNumber, PageNumberElement, PageNumberSeparator, PageOrientation, PageReference, PageTextDirection, PageTextDirectionType, Paragraph, ParagraphChild, ParagraphJson, ParagraphProperties, ParagraphPropertiesChange, ParagraphPropertiesDefaults, ParagraphRunProperties, ParseDocxOptions, PatchDocumentOptions, PatchDocumentOutputType, PatchType, PermEnd, PermStart, PositionalTab, PositionalTabAlignment, PositionalTabLeader, PositionalTabOptions, PositionalTabRelativeTo, PresetTextShapeOptions, PrettifyType, RawElement, RelativeHorizontalPosition, RelativeVerticalPosition, RubyAlign, RubyOptions, Run, RunProperties, RunPropertiesChange, RunPropertiesDefaults, RunStylePropertiesOptions, STYLE_CATEGORIES, SdtComboBoxOptions, SdtDataBindingOptions, SdtDateMappingType, SdtDateOptions, SdtDropDownListOptions, SdtJson, SdtListItem, SdtLock, SdtPropertiesOptions, SdtRunJson, SdtTextOptions, SectionJson, SectionProperties, SectionPropertiesChange, SectionType, SectionVerticalAlign, Separator, SequentialIdentifier, ShadingType, SimpleField, SimpleMailMergeField, SmartArtCollection, SmartArtMediaData, SmartArtRun, SoftHyphen, SourceTypeOptions, SpaceType, StringContainer, StringEnumValueElement, StringValueElement, StructuredDocumentTagBlock, StructuredDocumentTagCell, StructuredDocumentTagContent, StructuredDocumentTagProperties, StructuredDocumentTagRow, StructuredDocumentTagRun, StyleForCharacter, StyleForParagraph, StyleLevel, Styles, SubDoc, SubDocCollection, SymbolRun, TDirection, Tab, TabStopDefinition, TabStopPosition, TabStopType, Table, TableAnchorType, TableBorders, TableCell, TableCellBorders, TableCellJson, TableJson, TableLayoutType, TableOfContents, TableProperties, TablePropertyExceptions, TableRow, TableRowJson, TableRowProperties, TableRowPropertiesChange, TableVerticalAlign, TextAlignmentType, TextBodyWrappingType, TextDirection, TextEffect, TextHorzOverflowType, TextInputOptions, TextRun, TextRunJson, TextVertOverflowType, TextVerticalType, TextWrappingSide, TextWrappingType, Textbox, TextboxTightWrapType, ThematicBreak, UnderlineType, UniqueNumericIdCreator, VerticalAlign, VerticalAlignSection, VerticalAlignTable, VerticalAnchor, VerticalMerge, VerticalMergeRevisionType, VerticalMergeType, VerticalPositionAlign, VerticalPositionRelativeFrom, WORKAROUND2, WORKAROUND4, WidthType, WpgCommonMediaData, WpgGroupRun, WpgMediaData, WpsMediaData, WpsShapeRun, XmlAttributeComponent, XmlComponent, YearLong, YearShort, abstractNumUniqueNumericIdGen, bookmarkUniqueNumericIdGen, buildDocumentAttributes, buildRunProperties, chartAttr, concreteNumUniqueNumericIdGen, convertInchesToTwip, convertMillimetersToTwip, convertOutput, convertToXmlComponent, createAlignment, createBodyProperties, createBorderElement, createBreak, createCnfStyle, createColumns, createDataModel, createDivId, createDocumentGrid, createDotEmphasisMark, createEmphasisMark, createFormFieldData, createFrameProperties, createHeaderFooterReference, createHorizontalPosition, createIndent, createLineNumberType, createMathAccent, createMathAccentCharacter, createMathAccentProperties, createMathBar, createMathBarProperties, createMathBase, createMathBorderBoxProperties, createMathBoxProperties, createMathControlProperties, createMathEqArrProperties, createMathFractionProperties, createMathFunctionProperties, createMathGroupChrProperties, createMathLimitLocation, createMathLimitLowProperties, createMathLimitUpperProperties, createMathMatrixProperties, createMathNAryProperties, createMathPhantProperties, createMathPreSubSuperScriptProperties, createMathProperties, createMathRunProperties, createMathSubScriptElement, createMathSubScriptProperties, createMathSubSuperScriptProperties, createMathSuperScriptElement, createMathSuperScriptProperties, createOutlineLevel, createPageMargin, createPageNumberType, createPageSize, createParagraphStyle, createRuby, createRunFonts, createSectionType, createShading, createSimplePos, createSpacing, createStringElement, createTabStop, createTabStopItem, createTableFloatProperties, createTableLayout, createTableLook, createTableOverlap, createTableRowHeight, createTableWidthElement, createTransformation, createUnderline, createVerticalAlign, createVerticalPosition, createWrapNone, createWrapSquare, createWrapThrough, createWrapTight, createWrapTopAndBottom, docPropertiesUniqueNumericIdGen, getColorXml, getLayoutXml, getStyleXml, hashedId, isRaw, parseDocx, patchDetector, patchDocument, sectionMarginDefaults, sectionPageSizeDefaults, toDocumentOptions, toParagraphChildren, toSectionChildren, uniqueId, uniqueNumericIdCreator, uniqueUuid, wrapEl };
|
|
4408
|
+
}
|
|
4409
|
+
//#endregion
|
|
4410
|
+
export { AbstractNumbering, AlignmentType, AltChunk, AltChunkCollection, AnnotationReference, type AttributeData, type AttributeMap, type AttributePayload, Attributes, BaseXmlComponent, Bdo, Bibliography, Body, Bookmark, BookmarkEnd, BookmarkStart, Border, BorderStyle, BuilderElement, COLOR_CATEGORIES, CarriageReturn, CellMerge, CellMergeAttributes, CharacterSet, ChartCollection, ChartMediaData, ChartRun, ChartSpace, CheckBox, CheckBoxOptions, CheckBoxSymbolElement, CheckBoxUtil, CnfStyleOptions, Column, ColumnBreak, type ColumnBreakJson, Comment, type CommentEntry, CommentRangeEnd, CommentRangeStart, CommentReference, Comments, ConcreteHyperlink, ConcreteNumbering, ContinuationSeparator, DEFAULT_DRAWING_XML, DayLong, DayShort, DeletedTableCell, DeletedTableRow, DeletedTextRun, Dir, File as Document, File, DocumentAttributeNamespace, DocumentAttributeNamespaces, DocumentBackground, DocumentBackgroundAttributes, DocumentDefaults, DocumentGridType, type DocxDocumentJson, Drawing, DropCapType, DropDownListOptions, EMPTY_OBJECT, EditGroup, EditGroupType, EmphasisMarkType, EmptyElement, EndnoteIdReference, EndnoteReference, EndnoteReferenceRun, EndnoteReferenceRunAttributes, Endnotes, ExternalHyperlink, type ExternalHyperlinkJson, type FieldJson, FileChild, type FileChildJson, FlatTextOptions, FootNoteReferenceRunAttributes, FootNotes, Footer, FooterWrapper, type FootnoteEntry, FootnoteReference, FootnoteReferenceElement, FootnoteReferenceRun, FormFieldCommonOptions, FormFieldOptions, FormFieldTextOptions, FormFieldTextType, FractionType, FrameAnchorType, FrameWrap, GridSpan, Header, HeaderFooterReferenceType, HeaderFooterType, HeaderWrapper, HeadingLevel, HeightRule, HighlightColor, HorizontalPositionAlign, HorizontalPositionRelativeFrom, HpsMeasureElement, HyperlinkType, IAlignmentFrameOptions, IAltChunkData, IAltChunkOptions, IBackgroundImageOptions, IBaseCharacterStyleOptions, IBaseParagraphStyleOptions, IBibliographyOptions, IBodyPropertiesOptions, IBookmarkOptions, IBorderOptions, IBordersOptions, ICellMergeAttributes, ICharacterStyleOptions, type IChartData, IChartOptions, type IChartSeriesData, IChartSpaceOptions, ICheckboxSymbolOptions, ICheckboxSymbolProperties, ICnfStyleOptions, IColumnAttributes, IColumnsAttributes, ICommentOptions, ICommentsOptions, IConcreteNumberingOptions, type IContext, IDirOptions, IDistance, IDocGridAttributesProperties, IDocumentBackgroundOptions, IDocumentDefaultsOptions, IDocumentFooter, IDocumentHeader, IDocumentOptions, IDrawingOptions, IExtendedMediaData, IExternalHyperlinkOptions, IFloating, IFontAttributesProperties, IFrameOptions, IGroupChildMediaData, IHeaderFooterGroup, IHeaderFooterOptions, IHeaderOptions, IHorizontalPositionOptions, IImageOptions, IIndentAttributesProperties, IInternalHyperlinkOptions, ILevelsOptions, ILineNumberAttributes, IMargins, IMathBorderBoxOptions, IMathBoxOptions, IMathEqArrOptions, IMathFractionOptions, IMathFunctionOptions, IMathGroupChrOptions, IMathIntegralOptions, IMathLimitLowerOptions, IMathLimitUpperOptions, IMathMatrixOptions, IMathOptions, IMathParagraphOptions, IMathPhantOptions, IMathPreSubSuperScriptOptions, IMathRadicalOptions, IMathSubScriptOptions, IMathSubSuperScriptOptions, IMathSumOptions, IMathSuperScriptOptions, IMediaData, IMediaDataTransformation, IMediaTransformation, INumberedItemReferenceOptions, INumberingOptions, IPageBorderAttributes, IPageBordersOptions, IPageMarginAttributes, IPageNumberTypeAttributes, IPageReferenceOptions, IPageSizeAttributes, IParagraphOptions, IParagraphPropertiesChangeOptions, IParagraphPropertiesOptions, IParagraphPropertiesOptionsBase, IParagraphRunOptions, IParagraphRunPropertiesOptions, IParagraphStyleOptions, IParagraphStylePropertiesOptions, IPatch, IPermStartOptions, type IPropertiesOptions, IRunOptions, IRunPropertiesChangeOptions, IRunPropertiesOptions, ISdtBlockOptions, ISdtCellOptions, ISdtRowOptions, ISdtRunOptions, ISectionOptions, ISectionPropertiesChangeOptions, ISectionPropertiesOptions, ISectionPropertiesOptionsBase, IShadingAttributesProperties, type ISmartArtData, ISmartArtNode, ISmartArtOptions, ISpacingProperties, IStylesOptions, ISubDocData, ISubDocOptions, ISymbolRunOptions, ITableBordersOptions, ITableCellBorders, ITableCellOptions, ITableFloatOptions, ITableLookOptions, ITableOfContentsOptions, ITableOptions, ITablePropertiesChangeOptions, ITablePropertiesOptions, ITablePropertiesOptionsBase, ITablePropertyExOptions, ITableRowOptions, ITableRowPropertiesChangeOptions, ITableRowPropertiesOptions, ITableRowPropertiesOptionsBase, ITableWidthProperties, ITextWrapping, type ITreeNode, IVerticalPositionOptions, IWpgGroupOptions, IWpsShapeOptions, IXYFrameOptions, type IXmlableObject, IgnoreIfEmptyXmlComponent, ImageRun, type ImageRunJson, ImportedRootElementAttributes, ImportedXmlComponent, InitializableXmlComponent, InputDataType, InsertedTableCell, InsertedTableRow, InsertedTextRun, InternalHyperlink, LAYOUT_CATEGORIES, LastRenderedPageBreak, LeaderType, Level, LevelBase, LevelForOverride, LevelFormat, LevelOverride, LevelParagraphStylePropertiesOptions, LevelSuffix, type LineBreakJson, LineNumberRestartFormat, LineRuleType, Math, MathAccentOptions, MathAccentPropertiesOptions, MathAngledBrackets, MathBaseOptions, MathBorderBox, MathBorderBoxPropertiesOptions, MathBox, MathBoxPropertiesOptions, MathBreakBin, MathBreakBinSub, MathComponent, MathControlPropertiesOptions, MathCurlyBrackets, MathDegree, MathDenominator, MathEqArr, MathEqArrPropertiesOptions, MathFraction, MathFractionPropertiesOptions, MathFunction, MathFunctionName, MathFunctionPropertiesOptions, MathGroupChr, MathGroupChrPropertiesOptions, MathIntegral, type MathJson, MathJustification, MathLimit, MathLimitLowPropertiesOptions, MathLimitLower, MathLimitUpper, MathLimitUpperPropertiesOptions, MathMatrix, MathMatrixPropertiesOptions, MathNAryPropertiesOptions, MathNumerator, MathParagraph, MathPhant, MathPhantPropertiesOptions, MathPreSubSuperScript, MathPropertiesJustification, MathPropertiesOptions, MathRadical, MathRadicalProperties, MathRoundBrackets, MathRun, MathRunOptions, MathRunPropertiesOptions, MathScriptType, MathSquareBrackets, MathStyleType, MathSubScript, MathSubSuperScript, MathSubSuperScriptPropertiesOptions, MathSum, MathSuperScript, Media, type MixedChildren, MonthLong, MonthShort, MoveFromRangeEnd, MoveFromRangeStart, MoveToRangeEnd, MoveToRangeStart, MovedFromTextRun, MovedToTextRun, NextAttributeComponent, NoBreakHyphen, NormalAutofitOptions, NumberFormat, NumberProperties, NumberValueElement, NumberedItemReference, NumberedItemReferenceFormat, Numbering, OnOffElement, OutputByType, OutputType, OverlapType, Packer, PageBorderDisplay, PageBorderOffsetFrom, PageBorderZOrder, PageBorders, PageBreak, PageBreakBefore, type PageBreakJson, PageNumber, PageNumberElement, PageNumberSeparator, PageOrientation, PageReference, PageTextDirection, PageTextDirectionType, Paragraph, ParagraphChild, type ParagraphJson, ParagraphProperties, ParagraphPropertiesChange, ParagraphPropertiesDefaults, ParagraphRunProperties, ParseDocxOptions, PatchDocumentOptions, PatchDocumentOutputType, PatchType, PermEnd, PermStart, PositionalTab, PositionalTabAlignment, PositionalTabLeader, PositionalTabOptions, PositionalTabRelativeTo, PresetTextShapeOptions, PrettifyType, type RawElement, RelativeHorizontalPosition, RelativeVerticalPosition, RubyAlign, RubyOptions, Run, RunProperties, RunPropertiesChange, RunPropertiesDefaults, RunStylePropertiesOptions, STYLE_CATEGORIES, SdtComboBoxOptions, SdtDataBindingOptions, SdtDateMappingType, SdtDateOptions, SdtDropDownListOptions, type SdtJson, SdtListItem, SdtLock, SdtPropertiesOptions, type SdtRunJson, SdtTextOptions, type SectionJson, SectionProperties, SectionPropertiesChange, SectionType, SectionVerticalAlign, Separator, SequentialIdentifier, ShadingType, SimpleField, SimpleMailMergeField, SmartArtCollection, SmartArtMediaData, SmartArtRun, SoftHyphen, SourceTypeOptions, SpaceType, StringContainer, StringEnumValueElement, StringValueElement, StructuredDocumentTagBlock, StructuredDocumentTagCell, StructuredDocumentTagContent, StructuredDocumentTagProperties, StructuredDocumentTagRow, StructuredDocumentTagRun, StyleForCharacter, StyleForParagraph, StyleLevel, Styles, SubDoc, SubDocCollection, SymbolRun, TDirection, Tab, TabStopDefinition, TabStopPosition, TabStopType, Table, TableAnchorType, TableBorders, TableCell, TableCellBorders, type TableCellJson, type TableJson, TableLayoutType, TableOfContents, TableProperties, TablePropertyExceptions, TableRow, type TableRowJson, TableRowProperties, TableRowPropertiesChange, TableVerticalAlign, TextAlignmentType, TextBodyWrappingType, TextDirection, TextEffect, TextHorzOverflowType, TextInputOptions, TextRun, type TextRunJson, TextVertOverflowType, TextVerticalType, TextWrappingSide, TextWrappingType, Textbox, TextboxTightWrapType, ThematicBreak, UnderlineType, type UniqueNumericIdCreator, VerticalAlign, VerticalAlignSection, VerticalAlignTable, VerticalAnchor, VerticalMerge, VerticalMergeRevisionType, VerticalMergeType, VerticalPositionAlign, VerticalPositionRelativeFrom, WORKAROUND2, WORKAROUND4, WidthType, WpgCommonMediaData, WpgGroupRun, WpgMediaData, WpsMediaData, WpsShapeRun, XmlAttributeComponent, XmlComponent, YearLong, YearShort, abstractNumUniqueNumericIdGen, bookmarkUniqueNumericIdGen, buildDocumentAttributes, buildRunProperties, chartAttr, concreteNumUniqueNumericIdGen, convertInchesToTwip, convertMillimetersToTwip, convertOutput, convertToXmlComponent, createAlignment, createBodyProperties, createBorderElement, createBreak, createCnfStyle, createColumns, createDataModel, createDivId, createDocumentGrid, createDotEmphasisMark, createEmphasisMark, createFormFieldData, createFrameProperties, createHeaderFooterReference, createHorizontalPosition, createIndent, createLineNumberType, createMathAccent, createMathAccentCharacter, createMathAccentProperties, createMathBar, createMathBarProperties, createMathBase, createMathBorderBoxProperties, createMathBoxProperties, createMathControlProperties, createMathEqArrProperties, createMathFractionProperties, createMathFunctionProperties, createMathGroupChrProperties, createMathLimitLocation, createMathLimitLowProperties, createMathLimitUpperProperties, createMathMatrixProperties, createMathNAryProperties, createMathPhantProperties, createMathPreSubSuperScriptProperties, createMathProperties, createMathRunProperties, createMathSubScriptElement, createMathSubScriptProperties, createMathSubSuperScriptProperties, createMathSuperScriptElement, createMathSuperScriptProperties, createOutlineLevel, createPageMargin, createPageNumberType, createPageSize, createParagraphStyle, createRuby, createRunFonts, createSectionType, createShading, createSimplePos, createSpacing, createStringElement, createTabStop, createTabStopItem, createTableFloatProperties, createTableLayout, createTableLook, createTableOverlap, createTableRowHeight, createTableWidthElement, createTransformation, createUnderline, createVerticalAlign, createVerticalPosition, createWrapNone, createWrapSquare, createWrapThrough, createWrapTight, createWrapTopAndBottom, docPropertiesUniqueNumericIdGen, getColorXml, getLayoutXml, getStyleXml, hashedId, isRaw, parseDocx, patchDetector, patchDocument, sectionMarginDefaults, sectionPageSizeDefaults, toDocumentOptions, toParagraphChildren, toSectionChildren, uniqueId, uniqueNumericIdCreator, uniqueUuid, wrapEl };
|
|
5116
4411
|
//# sourceMappingURL=index.d.mts.map
|