@office-open/docx 0.10.15 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -17
- package/dist/index.d.mts +3774 -33
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +16469 -530
- package/dist/index.mjs.map +1 -1
- package/package.json +17 -34
- package/dist/chart.d.mts +0 -1
- package/dist/chart.mjs +0 -2
- package/dist/comments-D_flVfxw.mjs +0 -8509
- package/dist/comments-D_flVfxw.mjs.map +0 -1
- package/dist/context-DLmSgNzb.mjs +0 -4536
- package/dist/context-DLmSgNzb.mjs.map +0 -1
- package/dist/core-properties-BLnZI4Tr.d.mts +0 -4004
- package/dist/core-properties-BLnZI4Tr.d.mts.map +0 -1
- package/dist/document-attributes-C6PDT-ap.mjs +0 -60
- package/dist/document-attributes-C6PDT-ap.mjs.map +0 -1
- package/dist/drawingml.d.mts +0 -1
- package/dist/drawingml.mjs +0 -2
- package/dist/generate-BNjgksa0.mjs +0 -535
- package/dist/generate-BNjgksa0.mjs.map +0 -1
- package/dist/generate.d.mts +0 -10
- package/dist/generate.d.mts.map +0 -1
- package/dist/generate.mjs +0 -2
- package/dist/parse-CgAxzk5K.mjs +0 -2115
- package/dist/parse-CgAxzk5K.mjs.map +0 -1
- package/dist/parse.d.mts +0 -2
- package/dist/parse.mjs +0 -2
- package/dist/patch/index.d.mts +0 -47
- package/dist/patch/index.d.mts.map +0 -1
- package/dist/patch/index.mjs +0 -416
- package/dist/patch/index.mjs.map +0 -1
- package/dist/smartart.d.mts +0 -1
- package/dist/smartart.mjs +0 -2
|
@@ -1,4004 +0,0 @@
|
|
|
1
|
-
import { AppPropertiesInput, AppPropertiesOptions, CorePropertiesOptions, CustomPropertiesInput, CustomPropertyOptions, DataType, Media, ParsedArchive, Percentage, PositiveUniversalMeasure, Relationships, RelativeMeasure, ThemeColor, ThemeFont, UniversalMeasure, appPropertiesDesc, customPropertiesDesc, parseArchive } from "@office-open/core";
|
|
2
|
-
import { BlipEffectsOptions, CustomGeometryOptions, EffectDagOptions, EffectListOptions, FillOptions, OutlineOptions, PresetGeometryOptions, Scene3DOptions, Shape3DOptions, SolidFillOptions, SourceRectangleOptions, TileOptions } from "@office-open/core/drawingml";
|
|
3
|
-
import { Element } from "@office-open/xml";
|
|
4
|
-
import { ChartCollection, ChartSpaceOptions } from "@office-open/core/chart";
|
|
5
|
-
import { SmartArtCollection } from "@office-open/core/smartart";
|
|
6
|
-
import { CustomDescriptor, ReadContext, WriteContext } from "@office-open/core/descriptor";
|
|
7
|
-
|
|
8
|
-
//#region src/parts/bibliography.d.ts
|
|
9
|
-
interface SourceTypeOptions {
|
|
10
|
-
type?: string;
|
|
11
|
-
title?: string;
|
|
12
|
-
author?: string;
|
|
13
|
-
year?: string;
|
|
14
|
-
month?: string;
|
|
15
|
-
day?: string;
|
|
16
|
-
bookTitle?: string;
|
|
17
|
-
journal?: string;
|
|
18
|
-
volume?: string;
|
|
19
|
-
issue?: string;
|
|
20
|
-
pages?: string;
|
|
21
|
-
publisher?: string;
|
|
22
|
-
city?: string;
|
|
23
|
-
url?: string;
|
|
24
|
-
edition?: string;
|
|
25
|
-
institution?: string;
|
|
26
|
-
}
|
|
27
|
-
interface BibliographyOptions {
|
|
28
|
-
sources: SourceTypeOptions[];
|
|
29
|
-
styleName?: string;
|
|
30
|
-
}
|
|
31
|
-
declare const bibliographyDesc: CustomDescriptor<BibliographyOptions>;
|
|
32
|
-
//#endregion
|
|
33
|
-
//#region src/parts/contenttypes.d.ts
|
|
34
|
-
interface ContentTypeDefault {
|
|
35
|
-
extension: string;
|
|
36
|
-
contentType: string;
|
|
37
|
-
}
|
|
38
|
-
interface ContentTypeOverride {
|
|
39
|
-
partName: string;
|
|
40
|
-
contentType: string;
|
|
41
|
-
}
|
|
42
|
-
interface ContentTypesInput {
|
|
43
|
-
defaults: ContentTypeDefault[];
|
|
44
|
-
overrides: ContentTypeOverride[];
|
|
45
|
-
}
|
|
46
|
-
declare const contentTypesDesc: CustomDescriptor<ContentTypesInput>;
|
|
47
|
-
declare function withMediaDefaults(input: ContentTypesInput, mediaFileNames: string[]): ContentTypesInput;
|
|
48
|
-
declare function withAltChunkOverrides(input: ContentTypesInput, altChunks: readonly {
|
|
49
|
-
path: string;
|
|
50
|
-
contentType: string;
|
|
51
|
-
}[]): ContentTypesInput;
|
|
52
|
-
declare function ensureCustomPropertiesOverride(input: ContentTypesInput): ContentTypesInput;
|
|
53
|
-
declare function buildContentTypesFromRegistry(facts: ReadonlyMap<string, boolean | number>, dynamic?: {
|
|
54
|
-
altChunks?: ReadonlyArray<{
|
|
55
|
-
path: string;
|
|
56
|
-
contentType: string;
|
|
57
|
-
}>;
|
|
58
|
-
subDocs?: ReadonlyArray<{
|
|
59
|
-
path: string;
|
|
60
|
-
}>;
|
|
61
|
-
}): ContentTypesInput;
|
|
62
|
-
//#endregion
|
|
63
|
-
//#region src/parts/fonts/font.d.ts
|
|
64
|
-
declare const CharacterSet: {
|
|
65
|
-
readonly ANSI: "00";
|
|
66
|
-
readonly ARABIC: "B2";
|
|
67
|
-
readonly BALTIC: "BA";
|
|
68
|
-
readonly CHINESEBIG5: "88";
|
|
69
|
-
readonly DEFAULT: "01";
|
|
70
|
-
readonly EASTEUROPE: "EE";
|
|
71
|
-
readonly GB_2312: "86";
|
|
72
|
-
readonly GREEK: "A1";
|
|
73
|
-
readonly HANGUL: "81";
|
|
74
|
-
readonly HEBREW: "B1";
|
|
75
|
-
readonly JIS: "80";
|
|
76
|
-
readonly JOHAB: "82";
|
|
77
|
-
readonly MAC: "4D";
|
|
78
|
-
readonly OEM: "FF";
|
|
79
|
-
readonly RUSSIAN: "CC";
|
|
80
|
-
readonly SYMBOL: "02";
|
|
81
|
-
readonly THAI: "DE";
|
|
82
|
-
readonly TURKISH: "A2";
|
|
83
|
-
readonly VIETNAMESE: "A3";
|
|
84
|
-
};
|
|
85
|
-
//#endregion
|
|
86
|
-
//#region src/parts/alt-chunk/alt-chunk-collection.d.ts
|
|
87
|
-
interface AltChunkData {
|
|
88
|
-
key: string;
|
|
89
|
-
data: Uint8Array;
|
|
90
|
-
path: string;
|
|
91
|
-
extension: string;
|
|
92
|
-
contentType: string;
|
|
93
|
-
}
|
|
94
|
-
declare class AltChunkCollection {
|
|
95
|
-
private map;
|
|
96
|
-
constructor();
|
|
97
|
-
addAltChunk(key: string, data: AltChunkData): void;
|
|
98
|
-
get array(): AltChunkData[];
|
|
99
|
-
}
|
|
100
|
-
//#endregion
|
|
101
|
-
//#region src/parts/alt-chunk/alt-chunk.d.ts
|
|
102
|
-
interface AltChunkOptions {
|
|
103
|
-
data: Uint8Array | string;
|
|
104
|
-
contentType: "text/html" | "application/rtf" | "text/plain";
|
|
105
|
-
extension: "html" | "rtf" | "txt";
|
|
106
|
-
matchSource?: boolean;
|
|
107
|
-
}
|
|
108
|
-
//#endregion
|
|
109
|
-
//#region src/shared/border.d.ts
|
|
110
|
-
interface BorderOptions {
|
|
111
|
-
style: (typeof BorderStyle)[keyof typeof BorderStyle];
|
|
112
|
-
color?: string;
|
|
113
|
-
themeColor?: (typeof ThemeColor)[keyof typeof ThemeColor];
|
|
114
|
-
themeTint?: string;
|
|
115
|
-
themeShade?: string;
|
|
116
|
-
shadow?: boolean;
|
|
117
|
-
frame?: boolean;
|
|
118
|
-
size?: number;
|
|
119
|
-
space?: number;
|
|
120
|
-
}
|
|
121
|
-
declare const BorderStyle: {
|
|
122
|
-
readonly SINGLE: "single";
|
|
123
|
-
readonly DASH_DOT_STROKED: "dashDotStroked";
|
|
124
|
-
readonly DASHED: "dashed";
|
|
125
|
-
readonly DASH_SMALL_GAP: "dashSmallGap";
|
|
126
|
-
readonly DOT_DASH: "dotDash";
|
|
127
|
-
readonly DOT_DOT_DASH: "dotDotDash";
|
|
128
|
-
readonly DOTTED: "dotted";
|
|
129
|
-
readonly DOUBLE: "double";
|
|
130
|
-
readonly DOUBLE_WAVE: "doubleWave";
|
|
131
|
-
readonly INSET: "inset";
|
|
132
|
-
readonly NIL: "nil";
|
|
133
|
-
readonly NONE: "none";
|
|
134
|
-
readonly OUTSET: "outset";
|
|
135
|
-
readonly THICK: "thick";
|
|
136
|
-
readonly THICK_THIN_LARGE_GAP: "thickThinLargeGap";
|
|
137
|
-
readonly THICK_THIN_MEDIUM_GAP: "thickThinMediumGap";
|
|
138
|
-
readonly THICK_THIN_SMALL_GAP: "thickThinSmallGap";
|
|
139
|
-
readonly THIN_THICK_LARGE_GAP: "thinThickLargeGap";
|
|
140
|
-
readonly THIN_THICK_MEDIUM_GAP: "thinThickMediumGap";
|
|
141
|
-
readonly THIN_THICK_SMALL_GAP: "thinThickSmallGap";
|
|
142
|
-
readonly THIN_THICK_THIN_LARGE_GAP: "thinThickThinLargeGap";
|
|
143
|
-
readonly THIN_THICK_THIN_MEDIUM_GAP: "thinThickThinMediumGap";
|
|
144
|
-
readonly THIN_THICK_THIN_SMALL_GAP: "thinThickThinSmallGap";
|
|
145
|
-
readonly THREE_D_EMBOSS: "threeDEmboss";
|
|
146
|
-
readonly THREE_D_ENGRAVE: "threeDEngrave";
|
|
147
|
-
readonly TRIPLE: "triple";
|
|
148
|
-
readonly WAVE: "wave";
|
|
149
|
-
};
|
|
150
|
-
//#endregion
|
|
151
|
-
//#region src/shared/shading.d.ts
|
|
152
|
-
interface ShadingProperties {
|
|
153
|
-
fill?: string;
|
|
154
|
-
color?: string;
|
|
155
|
-
type?: (typeof ShadingType)[keyof typeof ShadingType];
|
|
156
|
-
themeColor?: (typeof ThemeColor)[keyof typeof ThemeColor];
|
|
157
|
-
themeTint?: string;
|
|
158
|
-
themeShade?: string;
|
|
159
|
-
themeFill?: (typeof ThemeColor)[keyof typeof ThemeColor];
|
|
160
|
-
themeFillTint?: string;
|
|
161
|
-
themeFillShade?: string;
|
|
162
|
-
}
|
|
163
|
-
declare const ShadingType: {
|
|
164
|
-
readonly CLEAR: "clear";
|
|
165
|
-
readonly DIAGONAL_CROSS: "diagCross";
|
|
166
|
-
readonly DIAGONAL_STRIPE: "diagStripe";
|
|
167
|
-
readonly HORIZONTAL_CROSS: "horzCross";
|
|
168
|
-
readonly HORIZONTAL_STRIPE: "horzStripe";
|
|
169
|
-
readonly NIL: "nil";
|
|
170
|
-
readonly PERCENT_10: "pct10";
|
|
171
|
-
readonly PERCENT_12: "pct12";
|
|
172
|
-
readonly PERCENT_15: "pct15";
|
|
173
|
-
readonly PERCENT_20: "pct20";
|
|
174
|
-
readonly PERCENT_25: "pct25";
|
|
175
|
-
readonly PERCENT_30: "pct30";
|
|
176
|
-
readonly PERCENT_35: "pct35";
|
|
177
|
-
readonly PERCENT_37: "pct37";
|
|
178
|
-
readonly PERCENT_40: "pct40";
|
|
179
|
-
readonly PERCENT_45: "pct45";
|
|
180
|
-
readonly PERCENT_5: "pct5";
|
|
181
|
-
readonly PERCENT_50: "pct50";
|
|
182
|
-
readonly PERCENT_55: "pct55";
|
|
183
|
-
readonly PERCENT_60: "pct60";
|
|
184
|
-
readonly PERCENT_62: "pct62";
|
|
185
|
-
readonly PERCENT_65: "pct65";
|
|
186
|
-
readonly PERCENT_70: "pct70";
|
|
187
|
-
readonly PERCENT_75: "pct75";
|
|
188
|
-
readonly PERCENT_80: "pct80";
|
|
189
|
-
readonly PERCENT_85: "pct85";
|
|
190
|
-
readonly PERCENT_87: "pct87";
|
|
191
|
-
readonly PERCENT_90: "pct90";
|
|
192
|
-
readonly PERCENT_95: "pct95";
|
|
193
|
-
readonly REVERSE_DIAGONAL_STRIPE: "reverseDiagStripe";
|
|
194
|
-
readonly SOLID: "solid";
|
|
195
|
-
readonly THIN_DIAGONAL_CROSS: "thinDiagCross";
|
|
196
|
-
readonly THIN_DIAGONAL_STRIPE: "thinDiagStripe";
|
|
197
|
-
readonly THIN_HORIZONTAL_CROSS: "thinHorzCross";
|
|
198
|
-
readonly THIN_REVERSE_DIAGONAL_STRIPE: "thinReverseDiagStripe";
|
|
199
|
-
readonly THIN_VERTICAL_STRIPE: "thinVertStripe";
|
|
200
|
-
readonly VERTICAL_STRIPE: "vertStripe";
|
|
201
|
-
};
|
|
202
|
-
declare function parseShading(shd: Element): ShadingProperties | undefined;
|
|
203
|
-
//#endregion
|
|
204
|
-
//#region src/shared/track-revision/track-revision.d.ts
|
|
205
|
-
interface ChangedProperties {
|
|
206
|
-
id: number;
|
|
207
|
-
author: string;
|
|
208
|
-
date: string;
|
|
209
|
-
}
|
|
210
|
-
//#endregion
|
|
211
|
-
//#region src/parts/paragraph/run/east-asian-layout.d.ts
|
|
212
|
-
declare const CombineBracketsType: {
|
|
213
|
-
readonly NONE: "none";
|
|
214
|
-
readonly ROUND: "round";
|
|
215
|
-
readonly SQUARE: "square";
|
|
216
|
-
readonly ANGLE: "angle";
|
|
217
|
-
readonly CURLY: "curly";
|
|
218
|
-
};
|
|
219
|
-
interface EastAsianLayoutOptions {
|
|
220
|
-
id?: number;
|
|
221
|
-
combine?: boolean;
|
|
222
|
-
combineBrackets?: (typeof CombineBracketsType)[keyof typeof CombineBracketsType];
|
|
223
|
-
vert?: boolean;
|
|
224
|
-
vertCompress?: boolean;
|
|
225
|
-
}
|
|
226
|
-
//#endregion
|
|
227
|
-
//#region src/parts/paragraph/run/emphasis-mark.d.ts
|
|
228
|
-
declare const EmphasisMarkType: {
|
|
229
|
-
readonly NONE: "none";
|
|
230
|
-
readonly COMMA: "comma";
|
|
231
|
-
readonly CIRCLE: "circle";
|
|
232
|
-
readonly DOT: "dot";
|
|
233
|
-
readonly UNDER_DOT: "underDot";
|
|
234
|
-
};
|
|
235
|
-
//#endregion
|
|
236
|
-
//#region src/parts/paragraph/run/formatting.d.ts
|
|
237
|
-
interface ColorOptions {
|
|
238
|
-
val?: string;
|
|
239
|
-
themeColor?: (typeof ThemeColor)[keyof typeof ThemeColor];
|
|
240
|
-
themeTint?: string;
|
|
241
|
-
themeShade?: string;
|
|
242
|
-
}
|
|
243
|
-
//#endregion
|
|
244
|
-
//#region src/parts/paragraph/run/language.d.ts
|
|
245
|
-
interface LanguageOptions {
|
|
246
|
-
value?: string;
|
|
247
|
-
eastAsia?: string;
|
|
248
|
-
bidirectional?: string;
|
|
249
|
-
}
|
|
250
|
-
//#endregion
|
|
251
|
-
//#region src/parts/paragraph/run/run-fonts.d.ts
|
|
252
|
-
interface FontProperties {
|
|
253
|
-
ascii?: string;
|
|
254
|
-
cs?: string;
|
|
255
|
-
eastAsia?: string;
|
|
256
|
-
hAnsi?: string;
|
|
257
|
-
hint?: string;
|
|
258
|
-
asciiTheme?: (typeof ThemeFont)[keyof typeof ThemeFont];
|
|
259
|
-
hAnsiTheme?: (typeof ThemeFont)[keyof typeof ThemeFont];
|
|
260
|
-
eastAsiaTheme?: (typeof ThemeFont)[keyof typeof ThemeFont];
|
|
261
|
-
cstheme?: (typeof ThemeFont)[keyof typeof ThemeFont];
|
|
262
|
-
}
|
|
263
|
-
//#endregion
|
|
264
|
-
//#region src/parts/paragraph/run/underline.d.ts
|
|
265
|
-
declare const UnderlineType: {
|
|
266
|
-
readonly SINGLE: "single";
|
|
267
|
-
readonly WORDS: "words";
|
|
268
|
-
readonly DOUBLE: "double";
|
|
269
|
-
readonly THICK: "thick";
|
|
270
|
-
readonly DOTTED: "dotted";
|
|
271
|
-
readonly DOTTEDHEAVY: "dottedHeavy";
|
|
272
|
-
readonly DASH: "dash";
|
|
273
|
-
readonly DASHEDHEAVY: "dashedHeavy";
|
|
274
|
-
readonly DASHLONG: "dashLong";
|
|
275
|
-
readonly DASHLONGHEAVY: "dashLongHeavy";
|
|
276
|
-
readonly DOTDASH: "dotDash";
|
|
277
|
-
readonly DASHDOTHEAVY: "dashDotHeavy";
|
|
278
|
-
readonly DOTDOTDASH: "dotDotDash";
|
|
279
|
-
readonly DASHDOTDOTHEAVY: "dashDotDotHeavy";
|
|
280
|
-
readonly WAVE: "wave";
|
|
281
|
-
readonly WAVYHEAVY: "wavyHeavy";
|
|
282
|
-
readonly WAVYDOUBLE: "wavyDouble";
|
|
283
|
-
readonly NONE: "none";
|
|
284
|
-
};
|
|
285
|
-
//#endregion
|
|
286
|
-
//#region src/parts/paragraph/run/properties.d.ts
|
|
287
|
-
interface RunFontReference {
|
|
288
|
-
name: string;
|
|
289
|
-
hint?: string;
|
|
290
|
-
}
|
|
291
|
-
declare const TextEffect: {
|
|
292
|
-
readonly BLINK_BACKGROUND: "blinkBackground";
|
|
293
|
-
readonly LIGHTS: "lights";
|
|
294
|
-
readonly ANTS_BLACK: "antsBlack";
|
|
295
|
-
readonly ANTS_RED: "antsRed";
|
|
296
|
-
readonly SHIMMER: "shimmer";
|
|
297
|
-
readonly SPARKLE: "sparkle";
|
|
298
|
-
readonly NONE: "none";
|
|
299
|
-
};
|
|
300
|
-
declare const HighlightColor: {
|
|
301
|
-
readonly BLACK: "black";
|
|
302
|
-
readonly BLUE: "blue";
|
|
303
|
-
readonly CYAN: "cyan";
|
|
304
|
-
readonly DARK_BLUE: "darkBlue";
|
|
305
|
-
readonly DARK_CYAN: "darkCyan";
|
|
306
|
-
readonly DARK_GRAY: "darkGray";
|
|
307
|
-
readonly DARK_GREEN: "darkGreen";
|
|
308
|
-
readonly DARK_MAGENTA: "darkMagenta";
|
|
309
|
-
readonly DARK_RED: "darkRed";
|
|
310
|
-
readonly DARK_YELLOW: "darkYellow";
|
|
311
|
-
readonly GREEN: "green";
|
|
312
|
-
readonly LIGHT_GRAY: "lightGray";
|
|
313
|
-
readonly MAGENTA: "magenta";
|
|
314
|
-
readonly NONE: "none";
|
|
315
|
-
readonly RED: "red";
|
|
316
|
-
readonly WHITE: "white";
|
|
317
|
-
readonly YELLOW: "yellow";
|
|
318
|
-
};
|
|
319
|
-
interface RunStylePropertiesOptions {
|
|
320
|
-
noProof?: boolean;
|
|
321
|
-
bold?: boolean;
|
|
322
|
-
boldComplexScript?: boolean;
|
|
323
|
-
italic?: boolean;
|
|
324
|
-
italicComplexScript?: boolean;
|
|
325
|
-
underline?: {
|
|
326
|
-
color?: string;
|
|
327
|
-
type?: (typeof UnderlineType)[keyof typeof UnderlineType];
|
|
328
|
-
};
|
|
329
|
-
effect?: (typeof TextEffect)[keyof typeof TextEffect];
|
|
330
|
-
emphasisMark?: {
|
|
331
|
-
type?: (typeof EmphasisMarkType)[keyof typeof EmphasisMarkType];
|
|
332
|
-
};
|
|
333
|
-
color?: string | ColorOptions;
|
|
334
|
-
kern?: number;
|
|
335
|
-
position?: string;
|
|
336
|
-
size?: number;
|
|
337
|
-
sizeComplexScript?: number;
|
|
338
|
-
rightToLeft?: boolean;
|
|
339
|
-
smallCaps?: boolean;
|
|
340
|
-
allCaps?: boolean;
|
|
341
|
-
strike?: boolean;
|
|
342
|
-
doubleStrike?: boolean;
|
|
343
|
-
subScript?: boolean;
|
|
344
|
-
superScript?: boolean;
|
|
345
|
-
font?: string | RunFontReference | FontProperties;
|
|
346
|
-
highlight?: (typeof HighlightColor)[keyof typeof HighlightColor];
|
|
347
|
-
highlightComplexScript?: string;
|
|
348
|
-
characterSpacing?: number | UniversalMeasure;
|
|
349
|
-
shading?: ShadingProperties;
|
|
350
|
-
emboss?: boolean;
|
|
351
|
-
imprint?: boolean;
|
|
352
|
-
revision?: RunPropertiesChangeOptions;
|
|
353
|
-
language?: LanguageOptions;
|
|
354
|
-
border?: BorderOptions;
|
|
355
|
-
snapToGrid?: boolean;
|
|
356
|
-
vanish?: boolean;
|
|
357
|
-
specVanish?: boolean;
|
|
358
|
-
scale?: number;
|
|
359
|
-
math?: boolean;
|
|
360
|
-
outline?: boolean;
|
|
361
|
-
shadow?: boolean;
|
|
362
|
-
webHidden?: boolean;
|
|
363
|
-
fitText?: number;
|
|
364
|
-
complexScript?: boolean;
|
|
365
|
-
eastAsianLayout?: EastAsianLayoutOptions;
|
|
366
|
-
contentPartRId?: string;
|
|
367
|
-
w14RawXml?: string;
|
|
368
|
-
}
|
|
369
|
-
type RunPropertiesOptions = {
|
|
370
|
-
style?: string;
|
|
371
|
-
} & RunStylePropertiesOptions;
|
|
372
|
-
type RunPropertiesChangeOptions = {} & RunPropertiesOptions & ChangedProperties;
|
|
373
|
-
type ParagraphRunPropertiesOptions = {
|
|
374
|
-
insertion?: ChangedProperties;
|
|
375
|
-
deletion?: ChangedProperties;
|
|
376
|
-
} & RunPropertiesOptions;
|
|
377
|
-
//#endregion
|
|
378
|
-
//#region src/parts/table-of-contents/table-of-contents-properties.d.ts
|
|
379
|
-
declare class StyleLevel {
|
|
380
|
-
styleName: string;
|
|
381
|
-
level: number;
|
|
382
|
-
constructor(styleName: string, level: number);
|
|
383
|
-
}
|
|
384
|
-
interface TableOfContentsOptions {
|
|
385
|
-
captionLabel?: string;
|
|
386
|
-
entriesFromBookmark?: string;
|
|
387
|
-
captionLabelIncludingNumbers?: string;
|
|
388
|
-
sequenceAndPageNumbersSeparator?: string;
|
|
389
|
-
tcFieldIdentifier?: string;
|
|
390
|
-
hyperlink?: boolean;
|
|
391
|
-
tcFieldLevelRange?: string;
|
|
392
|
-
pageNumbersEntryLevelsRange?: string;
|
|
393
|
-
headingStyleRange?: string;
|
|
394
|
-
entryAndPageNumberSeparator?: string;
|
|
395
|
-
seqFieldIdentifierForPrefix?: string;
|
|
396
|
-
stylesWithLevels?: StyleLevel[];
|
|
397
|
-
useAppliedParagraphOutlineLevel?: boolean;
|
|
398
|
-
preserveTabInEntries?: boolean;
|
|
399
|
-
preserveNewLineInEntries?: boolean;
|
|
400
|
-
hideTabAndPageNumbersInWebView?: boolean;
|
|
401
|
-
entries?: SectionChild[];
|
|
402
|
-
}
|
|
403
|
-
//#endregion
|
|
404
|
-
//#region src/parts/table-of-contents/sdt-properties.d.ts
|
|
405
|
-
declare const SdtLock: {
|
|
406
|
-
readonly SDT_LOCKED: "sdtLocked";
|
|
407
|
-
readonly CONTENT_LOCKED: "contentLocked";
|
|
408
|
-
readonly UNLOCKED: "unlocked";
|
|
409
|
-
readonly SDT_CONTENT_LOCKED: "sdtContentLocked";
|
|
410
|
-
};
|
|
411
|
-
interface SdtListItem {
|
|
412
|
-
displayText?: string;
|
|
413
|
-
value?: string;
|
|
414
|
-
}
|
|
415
|
-
interface SdtComboBoxOptions {
|
|
416
|
-
items?: SdtListItem[];
|
|
417
|
-
lastValue?: string;
|
|
418
|
-
}
|
|
419
|
-
interface SdtDropDownListOptions {
|
|
420
|
-
items?: SdtListItem[];
|
|
421
|
-
lastValue?: string;
|
|
422
|
-
}
|
|
423
|
-
declare const SdtDateMappingType: {
|
|
424
|
-
readonly TEXT: "text";
|
|
425
|
-
readonly DATE: "date";
|
|
426
|
-
readonly DATE_TIME: "dateTime";
|
|
427
|
-
};
|
|
428
|
-
interface SdtDateOptions {
|
|
429
|
-
dateFormat?: string;
|
|
430
|
-
languageId?: string;
|
|
431
|
-
storeMappedDataAs?: (typeof SdtDateMappingType)[keyof typeof SdtDateMappingType];
|
|
432
|
-
calendar?: string;
|
|
433
|
-
fullDate?: string;
|
|
434
|
-
}
|
|
435
|
-
interface SdtTextOptions {
|
|
436
|
-
multiLine?: boolean;
|
|
437
|
-
}
|
|
438
|
-
interface SdtCheckboxSymbol {
|
|
439
|
-
val: string;
|
|
440
|
-
font?: string;
|
|
441
|
-
}
|
|
442
|
-
interface SdtCheckboxOptions {
|
|
443
|
-
checked?: boolean;
|
|
444
|
-
checkedState?: SdtCheckboxSymbol;
|
|
445
|
-
uncheckedState?: SdtCheckboxSymbol;
|
|
446
|
-
}
|
|
447
|
-
interface SdtDataBindingOptions {
|
|
448
|
-
prefixMappings?: string;
|
|
449
|
-
xpath: string;
|
|
450
|
-
storeItemID: string;
|
|
451
|
-
}
|
|
452
|
-
interface SdtPropertiesOptions {
|
|
453
|
-
alias?: string;
|
|
454
|
-
tag?: string;
|
|
455
|
-
id?: number;
|
|
456
|
-
lock?: (typeof SdtLock)[keyof typeof SdtLock];
|
|
457
|
-
temporary?: boolean;
|
|
458
|
-
showingPlaceholder?: boolean;
|
|
459
|
-
dataBinding?: SdtDataBindingOptions;
|
|
460
|
-
label?: number;
|
|
461
|
-
tabIndex?: number;
|
|
462
|
-
equation?: boolean;
|
|
463
|
-
comboBox?: SdtComboBoxOptions;
|
|
464
|
-
date?: SdtDateOptions;
|
|
465
|
-
docPartObj?: {
|
|
466
|
-
gallery?: string;
|
|
467
|
-
category?: string;
|
|
468
|
-
unique?: boolean;
|
|
469
|
-
};
|
|
470
|
-
docPartList?: {
|
|
471
|
-
gallery?: string;
|
|
472
|
-
category?: string;
|
|
473
|
-
unique?: boolean;
|
|
474
|
-
};
|
|
475
|
-
dropDownList?: SdtDropDownListOptions;
|
|
476
|
-
picture?: boolean;
|
|
477
|
-
richText?: boolean;
|
|
478
|
-
text?: SdtTextOptions;
|
|
479
|
-
citation?: boolean;
|
|
480
|
-
group?: boolean;
|
|
481
|
-
bibliography?: boolean;
|
|
482
|
-
checkbox?: SdtCheckboxOptions;
|
|
483
|
-
}
|
|
484
|
-
//#endregion
|
|
485
|
-
//#region src/parts/table-of-contents/toc-parse.d.ts
|
|
486
|
-
declare function parseToc(el: Element, ctx: DocxReadContext, parseChildren?: (elements: Element[], ctx: DocxReadContext) => SectionChild[]): ({
|
|
487
|
-
alias?: string;
|
|
488
|
-
} & TableOfContentsOptions) | undefined;
|
|
489
|
-
declare function parseTocFieldInstruction(instruction: string, opts: Record<string, unknown>): void;
|
|
490
|
-
declare function parseTocFieldFromElements(els: Element[]): TableOfContentsOptions;
|
|
491
|
-
declare function selectTocEntryElements(els: Element[]): Element[];
|
|
492
|
-
//#endregion
|
|
493
|
-
//#region src/parts/table-of-contents/descriptor.d.ts
|
|
494
|
-
declare function stringifyTableOfContents(alias?: string, options?: TableOfContentsOptions, entriesXml?: string): string;
|
|
495
|
-
//#endregion
|
|
496
|
-
//#region src/shared/track-revision/track-revision-components/cell-merge.d.ts
|
|
497
|
-
declare const VerticalMergeRevisionType: {
|
|
498
|
-
readonly CONTINUE: "continue";
|
|
499
|
-
readonly RESTART: "restart";
|
|
500
|
-
};
|
|
501
|
-
type CellMergeAttributes = ChangedProperties & {
|
|
502
|
-
verticalMerge?: (typeof VerticalMergeRevisionType)[keyof typeof VerticalMergeRevisionType];
|
|
503
|
-
verticalMergeOriginal?: (typeof VerticalMergeRevisionType)[keyof typeof VerticalMergeRevisionType];
|
|
504
|
-
};
|
|
505
|
-
//#endregion
|
|
506
|
-
//#region src/shared/vertical-align.d.ts
|
|
507
|
-
declare const VerticalAlignTable: {
|
|
508
|
-
readonly BOTTOM: "bottom";
|
|
509
|
-
readonly CENTER: "center";
|
|
510
|
-
readonly TOP: "top";
|
|
511
|
-
};
|
|
512
|
-
declare const VerticalAlignSection: {
|
|
513
|
-
readonly BOTH: "both";
|
|
514
|
-
readonly BOTTOM: "bottom";
|
|
515
|
-
readonly CENTER: "center";
|
|
516
|
-
readonly TOP: "top";
|
|
517
|
-
};
|
|
518
|
-
type TableVerticalAlign = (typeof VerticalAlignTable)[keyof typeof VerticalAlignTable];
|
|
519
|
-
type SectionVerticalAlign = (typeof VerticalAlignSection)[keyof typeof VerticalAlignSection];
|
|
520
|
-
declare const createVerticalAlign: (value: TableVerticalAlign | SectionVerticalAlign) => string;
|
|
521
|
-
//#endregion
|
|
522
|
-
//#region src/parts/table/table-width.d.ts
|
|
523
|
-
declare const WidthType: {
|
|
524
|
-
readonly AUTO: "auto";
|
|
525
|
-
readonly DXA: "dxa";
|
|
526
|
-
readonly NIL: "nil";
|
|
527
|
-
readonly PERCENTAGE: "pct";
|
|
528
|
-
};
|
|
529
|
-
interface TableWidthProperties {
|
|
530
|
-
size: number | Percentage | UniversalMeasure;
|
|
531
|
-
type?: (typeof WidthType)[keyof typeof WidthType];
|
|
532
|
-
}
|
|
533
|
-
declare const widthPctToFiftieths: (size: number | Percentage | UniversalMeasure) => number | Percentage | UniversalMeasure;
|
|
534
|
-
declare const widthFiftiethsToPct: (size: number | string | undefined, type: string | undefined) => number | string | undefined;
|
|
535
|
-
//#endregion
|
|
536
|
-
//#region src/parts/table/table-properties/table-cell-margin.d.ts
|
|
537
|
-
interface TableCellMarginOptions {
|
|
538
|
-
top?: TableWidthProperties;
|
|
539
|
-
start?: TableWidthProperties;
|
|
540
|
-
left?: TableWidthProperties;
|
|
541
|
-
bottom?: TableWidthProperties;
|
|
542
|
-
end?: TableWidthProperties;
|
|
543
|
-
right?: TableWidthProperties;
|
|
544
|
-
}
|
|
545
|
-
//#endregion
|
|
546
|
-
//#region src/parts/paragraph/formatting/alignment.d.ts
|
|
547
|
-
declare const AlignmentType: {
|
|
548
|
-
readonly START: "start";
|
|
549
|
-
readonly CENTER: "center";
|
|
550
|
-
readonly END: "end";
|
|
551
|
-
readonly BOTH: "both";
|
|
552
|
-
readonly MEDIUM_KASHIDA: "mediumKashida";
|
|
553
|
-
readonly DISTRIBUTE: "distribute";
|
|
554
|
-
readonly NUM_TAB: "numTab";
|
|
555
|
-
readonly HIGH_KASHIDA: "highKashida";
|
|
556
|
-
readonly LOW_KASHIDA: "lowKashida";
|
|
557
|
-
readonly THAI_DISTRIBUTE: "thaiDistribute";
|
|
558
|
-
readonly LEFT: "left";
|
|
559
|
-
readonly RIGHT: "right";
|
|
560
|
-
readonly JUSTIFIED: "both";
|
|
561
|
-
};
|
|
562
|
-
//#endregion
|
|
563
|
-
//#region src/parts/paragraph/formatting/border.d.ts
|
|
564
|
-
interface BordersOptions {
|
|
565
|
-
top?: BorderOptions;
|
|
566
|
-
bottom?: BorderOptions;
|
|
567
|
-
left?: BorderOptions;
|
|
568
|
-
right?: BorderOptions;
|
|
569
|
-
between?: BorderOptions;
|
|
570
|
-
bar?: BorderOptions;
|
|
571
|
-
}
|
|
572
|
-
//#endregion
|
|
573
|
-
//#region src/parts/paragraph/formatting/cnf-style.d.ts
|
|
574
|
-
interface CnfConditionalOptions {
|
|
575
|
-
firstRow?: boolean;
|
|
576
|
-
lastRow?: boolean;
|
|
577
|
-
firstColumn?: boolean;
|
|
578
|
-
lastColumn?: boolean;
|
|
579
|
-
oddVBand?: boolean;
|
|
580
|
-
evenVBand?: boolean;
|
|
581
|
-
oddHBand?: boolean;
|
|
582
|
-
evenHBand?: boolean;
|
|
583
|
-
firstRowFirstColumn?: boolean;
|
|
584
|
-
firstRowLastColumn?: boolean;
|
|
585
|
-
lastRowFirstColumn?: boolean;
|
|
586
|
-
lastRowLastColumn?: boolean;
|
|
587
|
-
}
|
|
588
|
-
//#endregion
|
|
589
|
-
//#region src/parts/paragraph/formatting/indent.d.ts
|
|
590
|
-
interface IndentProperties {
|
|
591
|
-
start?: number | UniversalMeasure;
|
|
592
|
-
startChars?: number;
|
|
593
|
-
end?: number | UniversalMeasure;
|
|
594
|
-
endChars?: number;
|
|
595
|
-
left?: number | UniversalMeasure;
|
|
596
|
-
leftChars?: number;
|
|
597
|
-
right?: number | UniversalMeasure;
|
|
598
|
-
rightChars?: number;
|
|
599
|
-
hanging?: number | PositiveUniversalMeasure;
|
|
600
|
-
hangingChars?: number;
|
|
601
|
-
firstLine?: number | PositiveUniversalMeasure;
|
|
602
|
-
firstLineChars?: number;
|
|
603
|
-
}
|
|
604
|
-
//#endregion
|
|
605
|
-
//#region src/parts/paragraph/formatting/break.d.ts
|
|
606
|
-
declare const BreakType: {
|
|
607
|
-
readonly COLUMN: "column";
|
|
608
|
-
readonly PAGE: "page";
|
|
609
|
-
};
|
|
610
|
-
type BreakTypeValue = (typeof BreakType)[keyof typeof BreakType];
|
|
611
|
-
//#endregion
|
|
612
|
-
//#region src/parts/paragraph/formatting/spacing.d.ts
|
|
613
|
-
declare const LineRuleType: {
|
|
614
|
-
readonly AT_LEAST: "atLeast";
|
|
615
|
-
readonly EXACTLY: "exactly";
|
|
616
|
-
readonly EXACT: "exact";
|
|
617
|
-
readonly AUTO: "auto";
|
|
618
|
-
};
|
|
619
|
-
interface SpacingProperties {
|
|
620
|
-
after?: number | PositiveUniversalMeasure;
|
|
621
|
-
before?: number | PositiveUniversalMeasure;
|
|
622
|
-
line?: number | PositiveUniversalMeasure;
|
|
623
|
-
lineRule?: (typeof LineRuleType)[keyof typeof LineRuleType];
|
|
624
|
-
beforeAutoSpacing?: boolean;
|
|
625
|
-
afterAutoSpacing?: boolean;
|
|
626
|
-
beforeLines?: number;
|
|
627
|
-
afterLines?: number;
|
|
628
|
-
}
|
|
629
|
-
//#endregion
|
|
630
|
-
//#region src/parts/paragraph/formatting/style.d.ts
|
|
631
|
-
declare const HeadingLevel: {
|
|
632
|
-
readonly HEADING_1: "Heading1";
|
|
633
|
-
readonly HEADING_2: "Heading2";
|
|
634
|
-
readonly HEADING_3: "Heading3";
|
|
635
|
-
readonly HEADING_4: "Heading4";
|
|
636
|
-
readonly HEADING_5: "Heading5";
|
|
637
|
-
readonly HEADING_6: "Heading6";
|
|
638
|
-
readonly TITLE: "Title";
|
|
639
|
-
};
|
|
640
|
-
//#endregion
|
|
641
|
-
//#region src/parts/paragraph/formatting/tab-stop.d.ts
|
|
642
|
-
interface TabStopDefinition {
|
|
643
|
-
type: (typeof TabStopType)[keyof typeof TabStopType];
|
|
644
|
-
position: number | (typeof TabStopPosition)[keyof typeof TabStopPosition];
|
|
645
|
-
leader?: (typeof LeaderType)[keyof typeof LeaderType];
|
|
646
|
-
}
|
|
647
|
-
declare const TabStopType: {
|
|
648
|
-
readonly LEFT: "left";
|
|
649
|
-
readonly RIGHT: "right";
|
|
650
|
-
readonly CENTER: "center";
|
|
651
|
-
readonly BAR: "bar";
|
|
652
|
-
readonly CLEAR: "clear";
|
|
653
|
-
readonly DECIMAL: "decimal";
|
|
654
|
-
readonly END: "end";
|
|
655
|
-
readonly NUM: "num";
|
|
656
|
-
readonly START: "start";
|
|
657
|
-
};
|
|
658
|
-
declare const LeaderType: {
|
|
659
|
-
readonly DOT: "dot";
|
|
660
|
-
readonly HEAVY: "heavy";
|
|
661
|
-
readonly HYPHEN: "hyphen";
|
|
662
|
-
readonly MIDDLE_DOT: "middleDot";
|
|
663
|
-
readonly NONE: "none";
|
|
664
|
-
readonly UNDERSCORE: "underscore";
|
|
665
|
-
};
|
|
666
|
-
declare const TabStopPosition: {
|
|
667
|
-
readonly MAX: 9026;
|
|
668
|
-
};
|
|
669
|
-
//#endregion
|
|
670
|
-
//#region src/parts/object/object-element.d.ts
|
|
671
|
-
interface ObjectEmbedOptions {
|
|
672
|
-
data: Uint8Array | string;
|
|
673
|
-
progId?: string;
|
|
674
|
-
drawAspect?: "content" | "icon";
|
|
675
|
-
shapeId?: string;
|
|
676
|
-
fieldCodes?: string;
|
|
677
|
-
}
|
|
678
|
-
interface ObjectLinkOptions extends ObjectEmbedOptions {
|
|
679
|
-
updateMode: "always" | "onCall";
|
|
680
|
-
lockedField?: boolean;
|
|
681
|
-
}
|
|
682
|
-
interface ObjectControlOptions {
|
|
683
|
-
name?: string;
|
|
684
|
-
shapeid?: string;
|
|
685
|
-
rId: string;
|
|
686
|
-
}
|
|
687
|
-
interface ObjectIconImageOptions {
|
|
688
|
-
data: Uint8Array | string;
|
|
689
|
-
type: string;
|
|
690
|
-
title?: string;
|
|
691
|
-
}
|
|
692
|
-
interface ObjectElementOptions {
|
|
693
|
-
dxaOrig?: number;
|
|
694
|
-
dyaOrig?: number;
|
|
695
|
-
shapeId?: string;
|
|
696
|
-
width?: number | UniversalMeasure;
|
|
697
|
-
height?: number | UniversalMeasure;
|
|
698
|
-
iconImage?: ObjectIconImageOptions;
|
|
699
|
-
embed?: ObjectEmbedOptions;
|
|
700
|
-
link?: ObjectLinkOptions;
|
|
701
|
-
control?: ObjectControlOptions;
|
|
702
|
-
movie?: string;
|
|
703
|
-
}
|
|
704
|
-
declare const objectDesc: CustomDescriptor<ObjectElementOptions, BodyContext>;
|
|
705
|
-
//#endregion
|
|
706
|
-
//#region src/parts/paragraph/run/empty-children.d.ts
|
|
707
|
-
interface NoBreakHyphen {
|
|
708
|
-
noBreakHyphen: true;
|
|
709
|
-
}
|
|
710
|
-
interface SoftHyphen {
|
|
711
|
-
softHyphen: true;
|
|
712
|
-
}
|
|
713
|
-
interface DayShort {
|
|
714
|
-
dayShort: true;
|
|
715
|
-
}
|
|
716
|
-
interface MonthShort {
|
|
717
|
-
monthShort: true;
|
|
718
|
-
}
|
|
719
|
-
interface YearShort {
|
|
720
|
-
yearShort: true;
|
|
721
|
-
}
|
|
722
|
-
interface DayLong {
|
|
723
|
-
dayLong: true;
|
|
724
|
-
}
|
|
725
|
-
interface MonthLong {
|
|
726
|
-
monthLong: true;
|
|
727
|
-
}
|
|
728
|
-
interface YearLong {
|
|
729
|
-
yearLong: true;
|
|
730
|
-
}
|
|
731
|
-
interface AnnotationReference {
|
|
732
|
-
annotationRef: true;
|
|
733
|
-
}
|
|
734
|
-
interface FootnoteReferenceElement {
|
|
735
|
-
footnoteRef: true;
|
|
736
|
-
}
|
|
737
|
-
interface EndnoteReference {
|
|
738
|
-
endnoteRef: true;
|
|
739
|
-
}
|
|
740
|
-
interface Separator {
|
|
741
|
-
separator: true;
|
|
742
|
-
}
|
|
743
|
-
interface ContinuationSeparator {
|
|
744
|
-
continuationSeparator: true;
|
|
745
|
-
}
|
|
746
|
-
interface PageNumberElement {
|
|
747
|
-
pgNum: true;
|
|
748
|
-
}
|
|
749
|
-
interface CarriageReturn {
|
|
750
|
-
carriageReturn: true;
|
|
751
|
-
}
|
|
752
|
-
interface Tab {
|
|
753
|
-
tab: true;
|
|
754
|
-
}
|
|
755
|
-
interface LastRenderedPageBreak {
|
|
756
|
-
lastRenderedPageBreak: true;
|
|
757
|
-
}
|
|
758
|
-
//#endregion
|
|
759
|
-
//#region src/parts/paragraph/run/run.d.ts
|
|
760
|
-
type BreakClear = "none" | "left" | "right" | "all";
|
|
761
|
-
interface BreakOptions {
|
|
762
|
-
count?: number;
|
|
763
|
-
clear?: BreakClear;
|
|
764
|
-
}
|
|
765
|
-
declare function breakXml(breakOpt: number | BreakOptions | undefined): string;
|
|
766
|
-
declare const EMPTY_RUN_ELEMENTS: Record<string, string>;
|
|
767
|
-
interface RunOptionsBase {
|
|
768
|
-
children?: ((typeof PageNumber)[keyof typeof PageNumber] | string | AnnotationReference | CarriageReturn | ContinuationSeparator | DayLong | DayShort | EndnoteReference | FootnoteReferenceElement | LastRenderedPageBreak | MonthLong | MonthShort | NoBreakHyphen | PageNumberElement | Separator | SoftHyphen | Tab | YearLong | YearShort | {
|
|
769
|
-
object: ObjectElementOptions;
|
|
770
|
-
} | Record<string, unknown>)[];
|
|
771
|
-
break?: number | BreakOptions;
|
|
772
|
-
text?: string;
|
|
773
|
-
}
|
|
774
|
-
type RunOptions = RunOptionsBase & RunPropertiesOptions & {
|
|
775
|
-
rsid?: string;
|
|
776
|
-
runPropertiesRsid?: string;
|
|
777
|
-
deletionRsid?: string;
|
|
778
|
-
};
|
|
779
|
-
type ParagraphRunOptions = RunOptionsBase & ParagraphRunPropertiesOptions;
|
|
780
|
-
declare const PageNumber: {
|
|
781
|
-
readonly CURRENT: "CURRENT";
|
|
782
|
-
readonly TOTAL_PAGES: "TOTAL_PAGES";
|
|
783
|
-
readonly TOTAL_PAGES_IN_SECTION: "TOTAL_PAGES_IN_SECTION";
|
|
784
|
-
readonly CURRENT_SECTION: "SECTION";
|
|
785
|
-
};
|
|
786
|
-
//#endregion
|
|
787
|
-
//#region src/parts/paragraph/links/bookmark.d.ts
|
|
788
|
-
type DisplacedByCustomXml = "before" | "after";
|
|
789
|
-
interface MarkupRangeOptions {
|
|
790
|
-
id: number;
|
|
791
|
-
displacedByCustomXml?: DisplacedByCustomXml;
|
|
792
|
-
}
|
|
793
|
-
interface BookmarkStartOptions extends MarkupRangeOptions {
|
|
794
|
-
name: string;
|
|
795
|
-
colFirst?: number;
|
|
796
|
-
colLast?: number;
|
|
797
|
-
}
|
|
798
|
-
interface MoveRangeStartOptions {
|
|
799
|
-
id: number;
|
|
800
|
-
name?: string;
|
|
801
|
-
author?: string;
|
|
802
|
-
date?: string;
|
|
803
|
-
displacedByCustomXml?: DisplacedByCustomXml;
|
|
804
|
-
colFirst?: number;
|
|
805
|
-
colLast?: number;
|
|
806
|
-
}
|
|
807
|
-
interface BookmarkOptions {
|
|
808
|
-
name: string;
|
|
809
|
-
wrap?: (string | RunOptions)[];
|
|
810
|
-
displacedByCustomXml?: DisplacedByCustomXml;
|
|
811
|
-
colFirst?: number;
|
|
812
|
-
colLast?: number;
|
|
813
|
-
}
|
|
814
|
-
interface MoveRangeOptions {
|
|
815
|
-
author: string;
|
|
816
|
-
date: string;
|
|
817
|
-
wrap?: (string | RunOptions)[];
|
|
818
|
-
name: string;
|
|
819
|
-
displacedByCustomXml?: DisplacedByCustomXml;
|
|
820
|
-
colFirst?: number;
|
|
821
|
-
colLast?: number;
|
|
822
|
-
}
|
|
823
|
-
//#endregion
|
|
824
|
-
//#region src/parts/paragraph/math.d.ts
|
|
825
|
-
type MathScriptType = "roman" | "script" | "fraktur" | "double-struck" | "sans-serif" | "monospace";
|
|
826
|
-
type MathStyleType = "p" | "b" | "i" | "bi";
|
|
827
|
-
interface MathRunPropertiesOptions {
|
|
828
|
-
lit?: boolean;
|
|
829
|
-
normal?: boolean;
|
|
830
|
-
script?: MathScriptType;
|
|
831
|
-
style?: MathStyleType;
|
|
832
|
-
breakAlignment?: number;
|
|
833
|
-
align?: boolean;
|
|
834
|
-
}
|
|
835
|
-
interface MathDelimiterProperties {
|
|
836
|
-
beginCharacter?: string;
|
|
837
|
-
endCharacter?: string;
|
|
838
|
-
separatorCharacter?: string;
|
|
839
|
-
grow?: boolean;
|
|
840
|
-
shape?: "centered" | "match";
|
|
841
|
-
}
|
|
842
|
-
type MathNaryLimitLocation = "subSup" | "undOvr";
|
|
843
|
-
interface MathNaryProperties {
|
|
844
|
-
limitLocation?: MathNaryLimitLocation;
|
|
845
|
-
grow?: boolean;
|
|
846
|
-
}
|
|
847
|
-
type MathInput = string | {
|
|
848
|
-
text: string;
|
|
849
|
-
properties?: MathRunPropertiesOptions;
|
|
850
|
-
} | {
|
|
851
|
-
fraction: {
|
|
852
|
-
numerator: MathInput[];
|
|
853
|
-
denominator: MathInput[];
|
|
854
|
-
fractionType?: string;
|
|
855
|
-
numeratorArgumentSize?: number;
|
|
856
|
-
denominatorArgumentSize?: number;
|
|
857
|
-
};
|
|
858
|
-
} | {
|
|
859
|
-
superScript: {
|
|
860
|
-
children: MathInput[];
|
|
861
|
-
superScript: MathInput[];
|
|
862
|
-
};
|
|
863
|
-
} | {
|
|
864
|
-
subScript: {
|
|
865
|
-
children: MathInput[];
|
|
866
|
-
subScript: MathInput[];
|
|
867
|
-
};
|
|
868
|
-
} | {
|
|
869
|
-
subSuperScript: {
|
|
870
|
-
children: MathInput[];
|
|
871
|
-
subScript: MathInput[];
|
|
872
|
-
superScript: MathInput[];
|
|
873
|
-
alignScript?: boolean;
|
|
874
|
-
};
|
|
875
|
-
} | {
|
|
876
|
-
preSubSuperScript: {
|
|
877
|
-
children: MathInput[];
|
|
878
|
-
subScript: MathInput[];
|
|
879
|
-
superScript: MathInput[];
|
|
880
|
-
};
|
|
881
|
-
} | {
|
|
882
|
-
radical: {
|
|
883
|
-
children: MathInput[];
|
|
884
|
-
degree?: MathInput[];
|
|
885
|
-
};
|
|
886
|
-
} | {
|
|
887
|
-
sum: {
|
|
888
|
-
children: MathInput[];
|
|
889
|
-
subScript?: MathInput[];
|
|
890
|
-
superScript?: MathInput[];
|
|
891
|
-
properties?: MathNaryProperties;
|
|
892
|
-
};
|
|
893
|
-
} | {
|
|
894
|
-
integral: {
|
|
895
|
-
children: MathInput[];
|
|
896
|
-
subScript?: MathInput[];
|
|
897
|
-
superScript?: MathInput[];
|
|
898
|
-
properties?: MathNaryProperties;
|
|
899
|
-
};
|
|
900
|
-
} | {
|
|
901
|
-
limitLower: {
|
|
902
|
-
children: MathInput[];
|
|
903
|
-
limit: MathInput[];
|
|
904
|
-
properties?: Record<string, unknown>;
|
|
905
|
-
};
|
|
906
|
-
} | {
|
|
907
|
-
limitUpper: {
|
|
908
|
-
children: MathInput[];
|
|
909
|
-
limit: MathInput[];
|
|
910
|
-
properties?: Record<string, unknown>;
|
|
911
|
-
};
|
|
912
|
-
} | {
|
|
913
|
-
function: {
|
|
914
|
-
children: MathInput[];
|
|
915
|
-
name: MathInput[];
|
|
916
|
-
properties?: Record<string, unknown>;
|
|
917
|
-
};
|
|
918
|
-
} | {
|
|
919
|
-
matrix: {
|
|
920
|
-
rows: MathInput[][];
|
|
921
|
-
properties?: Record<string, unknown>;
|
|
922
|
-
};
|
|
923
|
-
} | {
|
|
924
|
-
roundBrackets: MathInput[] | {
|
|
925
|
-
children: MathInput[];
|
|
926
|
-
properties?: MathDelimiterProperties;
|
|
927
|
-
};
|
|
928
|
-
} | {
|
|
929
|
-
curlyBrackets: MathInput[] | {
|
|
930
|
-
children: MathInput[];
|
|
931
|
-
properties?: MathDelimiterProperties;
|
|
932
|
-
};
|
|
933
|
-
} | {
|
|
934
|
-
angledBrackets: MathInput[] | {
|
|
935
|
-
children: MathInput[];
|
|
936
|
-
properties?: MathDelimiterProperties;
|
|
937
|
-
};
|
|
938
|
-
} | {
|
|
939
|
-
squareBrackets: MathInput[] | {
|
|
940
|
-
children: MathInput[];
|
|
941
|
-
properties?: MathDelimiterProperties;
|
|
942
|
-
};
|
|
943
|
-
} | {
|
|
944
|
-
borderBox: {
|
|
945
|
-
children: MathInput[];
|
|
946
|
-
properties?: Record<string, unknown>;
|
|
947
|
-
};
|
|
948
|
-
} | {
|
|
949
|
-
box: {
|
|
950
|
-
children: MathInput[];
|
|
951
|
-
properties?: Record<string, unknown>;
|
|
952
|
-
};
|
|
953
|
-
} | {
|
|
954
|
-
groupChr: {
|
|
955
|
-
children: MathInput[];
|
|
956
|
-
properties?: Record<string, unknown>;
|
|
957
|
-
};
|
|
958
|
-
} | {
|
|
959
|
-
phant: {
|
|
960
|
-
children: MathInput[];
|
|
961
|
-
properties?: Record<string, unknown>;
|
|
962
|
-
};
|
|
963
|
-
} | {
|
|
964
|
-
eqArr: {
|
|
965
|
-
rows: MathInput[][];
|
|
966
|
-
properties?: Record<string, unknown>;
|
|
967
|
-
};
|
|
968
|
-
} | {
|
|
969
|
-
accent: {
|
|
970
|
-
children: MathInput[];
|
|
971
|
-
accentCharacter?: string;
|
|
972
|
-
};
|
|
973
|
-
} | {
|
|
974
|
-
bar: {
|
|
975
|
-
children: MathInput[];
|
|
976
|
-
type: "top" | "bot";
|
|
977
|
-
};
|
|
978
|
-
};
|
|
979
|
-
//#endregion
|
|
980
|
-
//#region src/parts/table/grid.d.ts
|
|
981
|
-
interface TableGridChangeOptions {
|
|
982
|
-
id: number;
|
|
983
|
-
columnWidths: number[] | PositiveUniversalMeasure[];
|
|
984
|
-
}
|
|
985
|
-
//#endregion
|
|
986
|
-
//#region src/parts/table/table-cell-spacing.d.ts
|
|
987
|
-
declare const CellSpacingType: {
|
|
988
|
-
readonly DXA: "dxa";
|
|
989
|
-
readonly NIL: "nil";
|
|
990
|
-
readonly PERCENTAGE: "pct";
|
|
991
|
-
};
|
|
992
|
-
interface TableCellSpacingProperties {
|
|
993
|
-
size: number | Percentage | UniversalMeasure;
|
|
994
|
-
type?: (typeof CellSpacingType)[keyof typeof CellSpacingType];
|
|
995
|
-
}
|
|
996
|
-
//#endregion
|
|
997
|
-
//#region src/parts/table/table-properties/table-borders.d.ts
|
|
998
|
-
interface TableBordersOptions {
|
|
999
|
-
top?: BorderOptions;
|
|
1000
|
-
bottom?: BorderOptions;
|
|
1001
|
-
left?: BorderOptions;
|
|
1002
|
-
right?: BorderOptions;
|
|
1003
|
-
insideHorizontal?: BorderOptions;
|
|
1004
|
-
insideVertical?: BorderOptions;
|
|
1005
|
-
}
|
|
1006
|
-
declare const TABLE_BORDERS_NONE: TableBordersOptions;
|
|
1007
|
-
//#endregion
|
|
1008
|
-
//#region src/parts/table/table-properties/table-float-properties.d.ts
|
|
1009
|
-
declare const TableAnchorType: {
|
|
1010
|
-
readonly MARGIN: "margin";
|
|
1011
|
-
readonly PAGE: "page";
|
|
1012
|
-
readonly TEXT: "text";
|
|
1013
|
-
};
|
|
1014
|
-
declare const RelativeHorizontalPosition: {
|
|
1015
|
-
readonly CENTER: "center";
|
|
1016
|
-
readonly INSIDE: "inside";
|
|
1017
|
-
readonly LEFT: "left";
|
|
1018
|
-
readonly OUTSIDE: "outside";
|
|
1019
|
-
readonly RIGHT: "right";
|
|
1020
|
-
};
|
|
1021
|
-
declare const RelativeVerticalPosition: {
|
|
1022
|
-
readonly BOTTOM: "bottom";
|
|
1023
|
-
readonly CENTER: "center";
|
|
1024
|
-
readonly INLINE: "inline";
|
|
1025
|
-
readonly INSIDE: "inside";
|
|
1026
|
-
readonly OUTSIDE: "outside";
|
|
1027
|
-
readonly TOP: "top";
|
|
1028
|
-
};
|
|
1029
|
-
declare const OverlapType: {
|
|
1030
|
-
readonly NEVER: "never";
|
|
1031
|
-
readonly OVERLAP: "overlap";
|
|
1032
|
-
};
|
|
1033
|
-
interface TableFloatOptions {
|
|
1034
|
-
horizontalAnchor?: (typeof TableAnchorType)[keyof typeof TableAnchorType];
|
|
1035
|
-
absoluteHorizontalPosition?: number;
|
|
1036
|
-
relativeHorizontalPosition?: (typeof RelativeHorizontalPosition)[keyof typeof RelativeHorizontalPosition];
|
|
1037
|
-
verticalAnchor?: (typeof TableAnchorType)[keyof typeof TableAnchorType];
|
|
1038
|
-
absoluteVerticalPosition?: number;
|
|
1039
|
-
relativeVerticalPosition?: (typeof RelativeVerticalPosition)[keyof typeof RelativeVerticalPosition];
|
|
1040
|
-
bottomFromText?: number;
|
|
1041
|
-
topFromText?: number;
|
|
1042
|
-
leftFromText?: number;
|
|
1043
|
-
rightFromText?: number;
|
|
1044
|
-
overlap?: (typeof OverlapType)[keyof typeof OverlapType];
|
|
1045
|
-
}
|
|
1046
|
-
//#endregion
|
|
1047
|
-
//#region src/parts/table/table-properties/table-layout.d.ts
|
|
1048
|
-
declare const TableLayoutType: {
|
|
1049
|
-
readonly AUTOFIT: "autofit";
|
|
1050
|
-
readonly FIXED: "fixed";
|
|
1051
|
-
};
|
|
1052
|
-
//#endregion
|
|
1053
|
-
//#region src/parts/table/table-properties/table-look.d.ts
|
|
1054
|
-
interface TableLookOptions {
|
|
1055
|
-
firstRow?: boolean;
|
|
1056
|
-
lastRow?: boolean;
|
|
1057
|
-
firstColumn?: boolean;
|
|
1058
|
-
lastColumn?: boolean;
|
|
1059
|
-
noHBand?: boolean;
|
|
1060
|
-
noVBand?: boolean;
|
|
1061
|
-
}
|
|
1062
|
-
//#endregion
|
|
1063
|
-
//#region src/parts/table/table-properties/table-properties.d.ts
|
|
1064
|
-
interface TablePropertiesOptionsBase$1 {
|
|
1065
|
-
width?: TableWidthProperties;
|
|
1066
|
-
indent?: TableWidthProperties;
|
|
1067
|
-
layout?: (typeof TableLayoutType)[keyof typeof TableLayoutType];
|
|
1068
|
-
borders?: TableBordersOptions;
|
|
1069
|
-
float?: TableFloatOptions;
|
|
1070
|
-
shading?: ShadingProperties;
|
|
1071
|
-
style?: string;
|
|
1072
|
-
alignment?: (typeof AlignmentType)[keyof typeof AlignmentType];
|
|
1073
|
-
cellMargin?: TableCellMarginOptions;
|
|
1074
|
-
visuallyRightToLeft?: boolean;
|
|
1075
|
-
tableLook?: TableLookOptions;
|
|
1076
|
-
cellSpacing?: TableCellSpacingProperties;
|
|
1077
|
-
styleRowBandSize?: number;
|
|
1078
|
-
styleColBandSize?: number;
|
|
1079
|
-
caption?: string;
|
|
1080
|
-
description?: string;
|
|
1081
|
-
}
|
|
1082
|
-
type TablePropertiesChangeOptions$1 = TablePropertiesOptions$1 & ChangedProperties;
|
|
1083
|
-
type TablePropertiesOptions$1 = {
|
|
1084
|
-
revision?: TablePropertiesChangeOptions$1;
|
|
1085
|
-
includeIfEmpty?: boolean;
|
|
1086
|
-
} & TablePropertiesOptionsBase$1;
|
|
1087
|
-
//#endregion
|
|
1088
|
-
//#region src/parts/table/table-properties/table-property-exceptions.d.ts
|
|
1089
|
-
interface TablePropertyExOptions {
|
|
1090
|
-
width?: TableWidthProperties;
|
|
1091
|
-
indent?: TableWidthProperties;
|
|
1092
|
-
layout?: (typeof TableLayoutType)[keyof typeof TableLayoutType];
|
|
1093
|
-
borders?: TableBordersOptions;
|
|
1094
|
-
shading?: ShadingProperties;
|
|
1095
|
-
alignment?: (typeof AlignmentType)[keyof typeof AlignmentType];
|
|
1096
|
-
cellMargin?: TableCellMarginOptions;
|
|
1097
|
-
tableLook?: TableLookOptions;
|
|
1098
|
-
cellSpacing?: TableCellSpacingProperties;
|
|
1099
|
-
tblPrExChange?: TablePropertyExChangeOptions;
|
|
1100
|
-
}
|
|
1101
|
-
type TablePropertyExChangeOptions = Omit<TablePropertyExOptions, "tblPrExChange"> & ChangedProperties;
|
|
1102
|
-
//#endregion
|
|
1103
|
-
//#region src/parts/table/table-cell/table-cell-components.d.ts
|
|
1104
|
-
interface TableCellBordersOptions {
|
|
1105
|
-
top?: BorderOptions;
|
|
1106
|
-
start?: BorderOptions;
|
|
1107
|
-
left?: BorderOptions;
|
|
1108
|
-
bottom?: BorderOptions;
|
|
1109
|
-
end?: BorderOptions;
|
|
1110
|
-
right?: BorderOptions;
|
|
1111
|
-
insideHorizontal?: BorderOptions;
|
|
1112
|
-
insideVertical?: BorderOptions;
|
|
1113
|
-
topLeftToBottomRight?: BorderOptions;
|
|
1114
|
-
topRightToBottomLeft?: BorderOptions;
|
|
1115
|
-
}
|
|
1116
|
-
declare const VerticalMergeType: {
|
|
1117
|
-
readonly CONTINUE: "continue";
|
|
1118
|
-
readonly RESTART: "restart";
|
|
1119
|
-
};
|
|
1120
|
-
declare const TextDirection: {
|
|
1121
|
-
readonly BOTTOM_TO_TOP_LEFT_TO_RIGHT: "btLr";
|
|
1122
|
-
readonly LEFT_TO_RIGHT_TOP_TO_BOTTOM: "lrTb";
|
|
1123
|
-
readonly TOP_TO_BOTTOM_RIGHT_TO_LEFT: "tbRl";
|
|
1124
|
-
};
|
|
1125
|
-
//#endregion
|
|
1126
|
-
//#region src/parts/table/table-row/table-row.d.ts
|
|
1127
|
-
interface SdtRowOptions {
|
|
1128
|
-
properties: SdtPropertiesOptions;
|
|
1129
|
-
rows?: TableRowOptions[];
|
|
1130
|
-
endProperties?: RunPropertiesOptions;
|
|
1131
|
-
}
|
|
1132
|
-
type TableRowOptions = {
|
|
1133
|
-
cells: (TableCellOptions | {
|
|
1134
|
-
sdt: SdtCellOptions;
|
|
1135
|
-
} | {
|
|
1136
|
-
customXml: CustomXmlCellOptions;
|
|
1137
|
-
})[];
|
|
1138
|
-
propertyExceptions?: TablePropertyExOptions;
|
|
1139
|
-
runPropertiesRsid?: string;
|
|
1140
|
-
rsid?: string;
|
|
1141
|
-
deletionRsid?: string;
|
|
1142
|
-
tableRowRsid?: string;
|
|
1143
|
-
} & TableRowPropertiesOptions;
|
|
1144
|
-
//#endregion
|
|
1145
|
-
//#region src/parts/table/table-row/table-row-height.d.ts
|
|
1146
|
-
declare const HeightRule: {
|
|
1147
|
-
readonly AUTO: "auto";
|
|
1148
|
-
readonly ATLEAST: "atLeast";
|
|
1149
|
-
readonly EXACT: "exact";
|
|
1150
|
-
};
|
|
1151
|
-
//#endregion
|
|
1152
|
-
//#region src/parts/table/table.d.ts
|
|
1153
|
-
interface TableOptions {
|
|
1154
|
-
rows: (TableRowOptions | {
|
|
1155
|
-
sdt: SdtRowOptions;
|
|
1156
|
-
} | {
|
|
1157
|
-
customXml: CustomXmlRowOptions;
|
|
1158
|
-
})[];
|
|
1159
|
-
width?: TableWidthProperties;
|
|
1160
|
-
columnWidths?: number[] | PositiveUniversalMeasure[];
|
|
1161
|
-
columnWidthsRevision?: TableGridChangeOptions;
|
|
1162
|
-
margins?: TableCellMarginOptions;
|
|
1163
|
-
indent?: TableWidthProperties;
|
|
1164
|
-
float?: TableFloatOptions;
|
|
1165
|
-
layout?: (typeof TableLayoutType)[keyof typeof TableLayoutType];
|
|
1166
|
-
style?: string;
|
|
1167
|
-
borders?: TableBordersOptions;
|
|
1168
|
-
alignment?: (typeof AlignmentType)[keyof typeof AlignmentType];
|
|
1169
|
-
visuallyRightToLeft?: boolean;
|
|
1170
|
-
tableLook?: TableLookOptions;
|
|
1171
|
-
cellSpacing?: TableCellSpacingProperties;
|
|
1172
|
-
styleRowBandSize?: number;
|
|
1173
|
-
styleColBandSize?: number;
|
|
1174
|
-
caption?: string;
|
|
1175
|
-
description?: string;
|
|
1176
|
-
revision?: TablePropertiesChangeOptions$1;
|
|
1177
|
-
shading?: ShadingProperties;
|
|
1178
|
-
}
|
|
1179
|
-
//#endregion
|
|
1180
|
-
//#region src/parts/table/stringify.d.ts
|
|
1181
|
-
interface TablePropertiesOptionsBase {
|
|
1182
|
-
width?: TableWidthProperties;
|
|
1183
|
-
indent?: TableWidthProperties;
|
|
1184
|
-
layout?: (typeof TableLayoutType)[keyof typeof TableLayoutType];
|
|
1185
|
-
borders?: TableBordersOptions;
|
|
1186
|
-
float?: TableFloatOptions;
|
|
1187
|
-
shading?: ShadingProperties;
|
|
1188
|
-
style?: string;
|
|
1189
|
-
alignment?: (typeof AlignmentType)[keyof typeof AlignmentType];
|
|
1190
|
-
cellMargin?: TableCellMarginOptions;
|
|
1191
|
-
visuallyRightToLeft?: boolean;
|
|
1192
|
-
tableLook?: TableLookOptions;
|
|
1193
|
-
cellSpacing?: TableCellSpacingProperties;
|
|
1194
|
-
styleRowBandSize?: number;
|
|
1195
|
-
styleColBandSize?: number;
|
|
1196
|
-
caption?: string;
|
|
1197
|
-
description?: string;
|
|
1198
|
-
}
|
|
1199
|
-
type TablePropertiesChangeOptions = TablePropertiesOptions & ChangedProperties;
|
|
1200
|
-
type TablePropertiesOptions = {
|
|
1201
|
-
revision?: TablePropertiesChangeOptions;
|
|
1202
|
-
includeIfEmpty?: boolean;
|
|
1203
|
-
} & TablePropertiesOptionsBase;
|
|
1204
|
-
type TableRowPropertiesChangeOptions$1 = TableRowPropertiesOptionsBase & ChangedProperties;
|
|
1205
|
-
type TableRowPropertiesOptions$1 = TableRowPropertiesOptionsBase & {
|
|
1206
|
-
insertion?: ChangedProperties;
|
|
1207
|
-
deletion?: ChangedProperties;
|
|
1208
|
-
revision?: TableRowPropertiesChangeOptions$1;
|
|
1209
|
-
includeIfEmpty?: boolean;
|
|
1210
|
-
};
|
|
1211
|
-
interface TableCellPropertiesOptionsBase$1 {
|
|
1212
|
-
cnfStyle?: CnfStyleOptions;
|
|
1213
|
-
shading?: ShadingProperties;
|
|
1214
|
-
margins?: TableCellMarginOptions;
|
|
1215
|
-
verticalAlign?: TableVerticalAlign;
|
|
1216
|
-
textDirection?: (typeof TextDirection)[keyof typeof TextDirection];
|
|
1217
|
-
verticalMerge?: (typeof VerticalMergeType)[keyof typeof VerticalMergeType];
|
|
1218
|
-
width?: TableWidthProperties;
|
|
1219
|
-
columnSpan?: number;
|
|
1220
|
-
rowSpan?: number;
|
|
1221
|
-
borders?: TableCellBordersOptions;
|
|
1222
|
-
horizontalMerge?: "continue" | "restart";
|
|
1223
|
-
noWrap?: boolean;
|
|
1224
|
-
fitText?: boolean;
|
|
1225
|
-
hideMark?: boolean;
|
|
1226
|
-
headers?: string[];
|
|
1227
|
-
insertion?: ChangedProperties;
|
|
1228
|
-
deletion?: ChangedProperties;
|
|
1229
|
-
cellMerge?: CellMergeAttributes;
|
|
1230
|
-
}
|
|
1231
|
-
type TableCellPropertiesChangeOptions$1 = TableCellPropertiesOptionsBase$1 & ChangedProperties;
|
|
1232
|
-
type TableCellPropertiesOptions$1 = {
|
|
1233
|
-
revision?: TableCellPropertiesChangeOptions$1;
|
|
1234
|
-
includeIfEmpty?: boolean;
|
|
1235
|
-
} & TableCellPropertiesOptionsBase$1;
|
|
1236
|
-
//#endregion
|
|
1237
|
-
//#region src/parts/table/descriptor.d.ts
|
|
1238
|
-
declare const tableDesc: CustomDescriptor<TableOptions, BodyContext>;
|
|
1239
|
-
type ParseChildFn = (el: Element, ctx: DocxReadContext) => SectionChild;
|
|
1240
|
-
declare function setTableParseChild(fn: ParseChildFn): void;
|
|
1241
|
-
declare function parseTablePropertiesEl(el: Element): TablePropertiesOptions;
|
|
1242
|
-
declare function parseTableRowPropertiesEl(el: Element): TableRowPropertiesOptions$1;
|
|
1243
|
-
declare function parseTableCellPropertiesEl(el: Element): TableCellPropertiesOptions$1;
|
|
1244
|
-
//#endregion
|
|
1245
|
-
//#region src/shared/constants.d.ts
|
|
1246
|
-
declare const HorizontalPositionAlign: {
|
|
1247
|
-
readonly CENTER: "center";
|
|
1248
|
-
readonly INSIDE: "inside";
|
|
1249
|
-
readonly LEFT: "left";
|
|
1250
|
-
readonly OUTSIDE: "outside";
|
|
1251
|
-
readonly RIGHT: "right";
|
|
1252
|
-
};
|
|
1253
|
-
declare const VerticalPositionAlign: {
|
|
1254
|
-
readonly BOTTOM: "bottom";
|
|
1255
|
-
readonly CENTER: "center";
|
|
1256
|
-
readonly INSIDE: "inside";
|
|
1257
|
-
readonly OUTSIDE: "outside";
|
|
1258
|
-
readonly TOP: "top";
|
|
1259
|
-
};
|
|
1260
|
-
declare const NumberFormat: {
|
|
1261
|
-
readonly AIUEO: "aiueo";
|
|
1262
|
-
readonly AIUEO_FULL_WIDTH: "aiueoFullWidth";
|
|
1263
|
-
readonly ARABIC_ABJAD: "arabicAbjad";
|
|
1264
|
-
readonly ARABIC_ALPHA: "arabicAlpha";
|
|
1265
|
-
readonly BAHT_TEXT: "bahtText";
|
|
1266
|
-
readonly BULLET: "bullet";
|
|
1267
|
-
readonly CARDINAL_TEXT: "cardinalText";
|
|
1268
|
-
readonly CHICAGO: "chicago";
|
|
1269
|
-
readonly CHINESE_COUNTING: "chineseCounting";
|
|
1270
|
-
readonly CHINESE_COUNTING_TEN_THOUSAND: "chineseCountingThousand";
|
|
1271
|
-
readonly CHINESE_LEGAL_SIMPLIFIED: "chineseLegalSimplified";
|
|
1272
|
-
readonly CHOSUNG: "chosung";
|
|
1273
|
-
readonly DECIMAL: "decimal";
|
|
1274
|
-
readonly DECIMAL_ENCLOSED_CIRCLE: "decimalEnclosedCircle";
|
|
1275
|
-
readonly DECIMAL_ENCLOSED_CIRCLE_CHINESE: "decimalEnclosedCircleChinese";
|
|
1276
|
-
readonly DECIMAL_ENCLOSED_FULL_STOP: "decimalEnclosedFullstop";
|
|
1277
|
-
readonly DECIMAL_ENCLOSED_PAREN: "decimalEnclosedParen";
|
|
1278
|
-
readonly DECIMAL_FULL_WIDTH: "decimalFullWidth";
|
|
1279
|
-
readonly DECIMAL_FULL_WIDTH_2: "decimalFullWidth2";
|
|
1280
|
-
readonly DECIMAL_HALF_WIDTH: "decimalHalfWidth";
|
|
1281
|
-
readonly DECIMAL_ZERO: "decimalZero";
|
|
1282
|
-
readonly DOLLAR_TEXT: "dollarText";
|
|
1283
|
-
readonly GANADA: "ganada";
|
|
1284
|
-
readonly HEBREW_1: "hebrew1";
|
|
1285
|
-
readonly HEBREW_2: "hebrew2";
|
|
1286
|
-
readonly HEX: "hex";
|
|
1287
|
-
readonly HINDI_CONSONANTS: "hindiConsonants";
|
|
1288
|
-
readonly HINDI_COUNTING: "hindiCounting";
|
|
1289
|
-
readonly HINDI_NUMBERS: "hindiNumbers";
|
|
1290
|
-
readonly HINDI_VOWELS: "hindiVowels";
|
|
1291
|
-
readonly IDEOGRAPH_DIGITAL: "ideographDigital";
|
|
1292
|
-
readonly IDEOGRAPH_ENCLOSED_CIRCLE: "ideographEnclosedCircle";
|
|
1293
|
-
readonly IDEOGRAPH_LEGAL_TRADITIONAL: "ideographLegalTraditional";
|
|
1294
|
-
readonly IDEOGRAPH_TRADITIONAL: "ideographTraditional";
|
|
1295
|
-
readonly IDEOGRAPH_ZODIAC: "ideographZodiac";
|
|
1296
|
-
readonly IDEOGRAPH_ZODIAC_TRADITIONAL: "ideographZodiacTraditional";
|
|
1297
|
-
readonly IROHA: "iroha";
|
|
1298
|
-
readonly IROHA_FULL_WIDTH: "irohaFullWidth";
|
|
1299
|
-
readonly JAPANESE_COUNTING: "japaneseCounting";
|
|
1300
|
-
readonly JAPANESE_DIGITAL_TEN_THOUSAND: "japaneseDigitalTenThousand";
|
|
1301
|
-
readonly JAPANESE_LEGAL: "japaneseLegal";
|
|
1302
|
-
readonly KOREAN_COUNTING: "koreanCounting";
|
|
1303
|
-
readonly KOREAN_DIGITAL: "koreanDigital";
|
|
1304
|
-
readonly KOREAN_DIGITAL_2: "koreanDigital2";
|
|
1305
|
-
readonly KOREAN_LEGAL: "koreanLegal";
|
|
1306
|
-
readonly LOWER_LETTER: "lowerLetter";
|
|
1307
|
-
readonly LOWER_ROMAN: "lowerRoman";
|
|
1308
|
-
readonly NONE: "none";
|
|
1309
|
-
readonly NUMBER_IN_DASH: "numberInDash";
|
|
1310
|
-
readonly ORDINAL: "ordinal";
|
|
1311
|
-
readonly ORDINAL_TEXT: "ordinalText";
|
|
1312
|
-
readonly RUSSIAN_LOWER: "russianLower";
|
|
1313
|
-
readonly RUSSIAN_UPPER: "russianUpper";
|
|
1314
|
-
readonly TAIWANESE_COUNTING: "taiwaneseCounting";
|
|
1315
|
-
readonly TAIWANESE_COUNTING_THOUSAND: "taiwaneseCountingThousand";
|
|
1316
|
-
readonly TAIWANESE_DIGITAL: "taiwaneseDigital";
|
|
1317
|
-
readonly THAI_COUNTING: "thaiCounting";
|
|
1318
|
-
readonly THAI_LETTERS: "thaiLetters";
|
|
1319
|
-
readonly THAI_NUMBERS: "thaiNumbers";
|
|
1320
|
-
readonly UPPER_LETTER: "upperLetter";
|
|
1321
|
-
readonly UPPER_ROMAN: "upperRoman";
|
|
1322
|
-
readonly VIETNAMESE_COUNTING: "vietnameseCounting";
|
|
1323
|
-
};
|
|
1324
|
-
declare const SpaceType: {
|
|
1325
|
-
readonly DEFAULT: "default";
|
|
1326
|
-
readonly PRESERVE: "preserve";
|
|
1327
|
-
};
|
|
1328
|
-
//#endregion
|
|
1329
|
-
//#region src/parts/paragraph/frame/frame-properties.d.ts
|
|
1330
|
-
declare const DropCapType: {
|
|
1331
|
-
readonly NONE: "none";
|
|
1332
|
-
readonly DROP: "drop";
|
|
1333
|
-
readonly MARGIN: "margin";
|
|
1334
|
-
};
|
|
1335
|
-
declare const FrameAnchorType: {
|
|
1336
|
-
readonly MARGIN: "margin";
|
|
1337
|
-
readonly PAGE: "page";
|
|
1338
|
-
readonly TEXT: "text";
|
|
1339
|
-
};
|
|
1340
|
-
declare const FrameWrap: {
|
|
1341
|
-
readonly AROUND: "around";
|
|
1342
|
-
readonly AUTO: "auto";
|
|
1343
|
-
readonly NONE: "none";
|
|
1344
|
-
readonly NOT_BESIDE: "notBeside";
|
|
1345
|
-
readonly THROUGH: "through";
|
|
1346
|
-
readonly TIGHT: "tight";
|
|
1347
|
-
};
|
|
1348
|
-
interface BaseFrameOptions {
|
|
1349
|
-
anchorLock?: boolean;
|
|
1350
|
-
dropCap?: (typeof DropCapType)[keyof typeof DropCapType];
|
|
1351
|
-
width: number | UniversalMeasure;
|
|
1352
|
-
height: number | UniversalMeasure;
|
|
1353
|
-
wrap?: (typeof FrameWrap)[keyof typeof FrameWrap];
|
|
1354
|
-
lines?: number;
|
|
1355
|
-
anchor: {
|
|
1356
|
-
horizontal: (typeof FrameAnchorType)[keyof typeof FrameAnchorType];
|
|
1357
|
-
vertical: (typeof FrameAnchorType)[keyof typeof FrameAnchorType];
|
|
1358
|
-
};
|
|
1359
|
-
space?: {
|
|
1360
|
-
horizontal: number | UniversalMeasure;
|
|
1361
|
-
vertical: number | UniversalMeasure;
|
|
1362
|
-
};
|
|
1363
|
-
rule?: (typeof HeightRule)[keyof typeof HeightRule];
|
|
1364
|
-
}
|
|
1365
|
-
type XYFrameOptions = {
|
|
1366
|
-
type: "absolute";
|
|
1367
|
-
position: {
|
|
1368
|
-
x: number | UniversalMeasure;
|
|
1369
|
-
y: number | UniversalMeasure;
|
|
1370
|
-
};
|
|
1371
|
-
} & BaseFrameOptions;
|
|
1372
|
-
type AlignmentFrameOptions = {
|
|
1373
|
-
type: "alignment";
|
|
1374
|
-
alignment: {
|
|
1375
|
-
x: (typeof HorizontalPositionAlign)[keyof typeof HorizontalPositionAlign];
|
|
1376
|
-
y: (typeof VerticalPositionAlign)[keyof typeof VerticalPositionAlign];
|
|
1377
|
-
};
|
|
1378
|
-
} & BaseFrameOptions;
|
|
1379
|
-
type FrameOptions$1 = XYFrameOptions | AlignmentFrameOptions;
|
|
1380
|
-
//#endregion
|
|
1381
|
-
//#region src/parts/paragraph/properties.d.ts
|
|
1382
|
-
declare const TextAlignmentType: {
|
|
1383
|
-
readonly TOP: "top";
|
|
1384
|
-
readonly CENTER: "center";
|
|
1385
|
-
readonly BASELINE: "baseline";
|
|
1386
|
-
readonly BOTTOM: "bottom";
|
|
1387
|
-
readonly AUTO: "auto";
|
|
1388
|
-
};
|
|
1389
|
-
declare const TextboxTightWrapType: {
|
|
1390
|
-
readonly NONE: "none";
|
|
1391
|
-
readonly ALL_LINES: "allLines";
|
|
1392
|
-
readonly FIRST_AND_LAST_LINE: "firstAndLastLine";
|
|
1393
|
-
readonly FIRST_LINE_ONLY: "firstLineOnly";
|
|
1394
|
-
readonly LAST_LINE_ONLY: "lastLineOnly";
|
|
1395
|
-
};
|
|
1396
|
-
interface LevelParagraphStylePropertiesOptions {
|
|
1397
|
-
alignment?: (typeof AlignmentType)[keyof typeof AlignmentType];
|
|
1398
|
-
bidirectional?: boolean;
|
|
1399
|
-
pageBreakBefore?: boolean;
|
|
1400
|
-
tabStops?: TabStopDefinition[];
|
|
1401
|
-
thematicBreak?: boolean;
|
|
1402
|
-
widowControl?: boolean;
|
|
1403
|
-
contextualSpacing?: boolean;
|
|
1404
|
-
rightTabStop?: number;
|
|
1405
|
-
leftTabStop?: number;
|
|
1406
|
-
indent?: IndentProperties;
|
|
1407
|
-
spacing?: SpacingProperties;
|
|
1408
|
-
keepNext?: boolean;
|
|
1409
|
-
keepLines?: boolean;
|
|
1410
|
-
frame?: FrameOptions$1;
|
|
1411
|
-
suppressLineNumbers?: boolean;
|
|
1412
|
-
wordWrap?: boolean;
|
|
1413
|
-
overflowPunctuation?: boolean;
|
|
1414
|
-
autoSpaceEastAsianText?: boolean;
|
|
1415
|
-
suppressOverlap?: boolean;
|
|
1416
|
-
suppressAutoHyphens?: boolean;
|
|
1417
|
-
adjustRightInd?: boolean;
|
|
1418
|
-
snapToGrid?: boolean;
|
|
1419
|
-
mirrorIndents?: boolean;
|
|
1420
|
-
kinsoku?: boolean;
|
|
1421
|
-
topLinePunct?: boolean;
|
|
1422
|
-
autoSpaceDE?: boolean;
|
|
1423
|
-
textAlignment?: (typeof TextAlignmentType)[keyof typeof TextAlignmentType];
|
|
1424
|
-
textboxTightWrap?: (typeof TextboxTightWrapType)[keyof typeof TextboxTightWrapType];
|
|
1425
|
-
textDirection?: "lr" | "rl" | "tb" | "tbV" | "rlV" | "lrV";
|
|
1426
|
-
outlineLevel?: number;
|
|
1427
|
-
divId?: number;
|
|
1428
|
-
cnfStyle?: CnfConditionalOptions;
|
|
1429
|
-
}
|
|
1430
|
-
type ParagraphStylePropertiesOptions = {
|
|
1431
|
-
border?: BordersOptions;
|
|
1432
|
-
shading?: ShadingProperties;
|
|
1433
|
-
numbering?: {
|
|
1434
|
-
reference: string;
|
|
1435
|
-
level: number;
|
|
1436
|
-
instance?: number;
|
|
1437
|
-
custom?: boolean;
|
|
1438
|
-
numberingChange?: {
|
|
1439
|
-
original: string;
|
|
1440
|
-
id: string;
|
|
1441
|
-
author: string;
|
|
1442
|
-
date?: string;
|
|
1443
|
-
};
|
|
1444
|
-
} | false;
|
|
1445
|
-
} & LevelParagraphStylePropertiesOptions;
|
|
1446
|
-
type ParagraphPropertiesOptionsBase = {
|
|
1447
|
-
heading?: (typeof HeadingLevel)[keyof typeof HeadingLevel];
|
|
1448
|
-
style?: string;
|
|
1449
|
-
bullet?: {
|
|
1450
|
-
level: number;
|
|
1451
|
-
};
|
|
1452
|
-
run?: ParagraphRunOptions;
|
|
1453
|
-
} & ParagraphStylePropertiesOptions;
|
|
1454
|
-
type ParagraphPropertiesChangeOptions = ChangedProperties & ParagraphPropertiesOptionsBase;
|
|
1455
|
-
type ParagraphPropertiesOptions = {
|
|
1456
|
-
revision?: ParagraphPropertiesChangeOptions;
|
|
1457
|
-
includeIfEmpty?: boolean;
|
|
1458
|
-
} & ParagraphPropertiesOptionsBase;
|
|
1459
|
-
//#endregion
|
|
1460
|
-
//#region src/parts/paragraph/run/symbol-run.d.ts
|
|
1461
|
-
type SymbolRunOptions = {
|
|
1462
|
-
char: string;
|
|
1463
|
-
symbolfont?: string;
|
|
1464
|
-
} & RunOptions;
|
|
1465
|
-
//#endregion
|
|
1466
|
-
//#region src/parts/drawing/doc-properties/doc-properties.d.ts
|
|
1467
|
-
interface HyperlinkOptions {
|
|
1468
|
-
click?: string;
|
|
1469
|
-
hover?: string;
|
|
1470
|
-
}
|
|
1471
|
-
interface DocPropertiesOptions {
|
|
1472
|
-
name: string;
|
|
1473
|
-
description?: string;
|
|
1474
|
-
title?: string;
|
|
1475
|
-
id?: string;
|
|
1476
|
-
hyperlink?: HyperlinkOptions;
|
|
1477
|
-
}
|
|
1478
|
-
//#endregion
|
|
1479
|
-
//#region src/parts/drawing/drawing.d.ts
|
|
1480
|
-
interface Distance {
|
|
1481
|
-
distT?: number;
|
|
1482
|
-
distB?: number;
|
|
1483
|
-
distL?: number;
|
|
1484
|
-
distR?: number;
|
|
1485
|
-
}
|
|
1486
|
-
interface DrawingOptions {
|
|
1487
|
-
floating?: Floating;
|
|
1488
|
-
docProperties?: DocPropertiesOptions;
|
|
1489
|
-
outline?: OutlineOptions;
|
|
1490
|
-
fill?: FillOptions;
|
|
1491
|
-
effects?: EffectListOptions;
|
|
1492
|
-
blipEffects?: BlipEffectsOptions;
|
|
1493
|
-
tile?: TileOptions;
|
|
1494
|
-
}
|
|
1495
|
-
//#endregion
|
|
1496
|
-
//#region src/parts/drawing/text-wrap/text-wrapping.d.ts
|
|
1497
|
-
declare const TextWrappingType: {
|
|
1498
|
-
readonly NONE: 0;
|
|
1499
|
-
readonly SQUARE: 1;
|
|
1500
|
-
readonly TIGHT: 2;
|
|
1501
|
-
readonly TOP_AND_BOTTOM: 3;
|
|
1502
|
-
readonly THROUGH: 4;
|
|
1503
|
-
};
|
|
1504
|
-
declare const TextWrappingSide: {
|
|
1505
|
-
readonly BOTH_SIDES: "bothSides";
|
|
1506
|
-
readonly LEFT: "left";
|
|
1507
|
-
readonly RIGHT: "right";
|
|
1508
|
-
readonly LARGEST: "largest";
|
|
1509
|
-
};
|
|
1510
|
-
interface WrapPolygonPoint {
|
|
1511
|
-
x: number;
|
|
1512
|
-
y: number;
|
|
1513
|
-
}
|
|
1514
|
-
interface WrapPolygon {
|
|
1515
|
-
edited?: boolean;
|
|
1516
|
-
points: WrapPolygonPoint[];
|
|
1517
|
-
}
|
|
1518
|
-
interface TextWrapping {
|
|
1519
|
-
type: (typeof TextWrappingType)[keyof typeof TextWrappingType];
|
|
1520
|
-
side?: (typeof TextWrappingSide)[keyof typeof TextWrappingSide];
|
|
1521
|
-
margins?: Distance;
|
|
1522
|
-
polygon?: WrapPolygon;
|
|
1523
|
-
}
|
|
1524
|
-
//#endregion
|
|
1525
|
-
//#region src/parts/drawing/text-wrap/wrap-tight.d.ts
|
|
1526
|
-
declare const createWrapTight: (textWrapping: TextWrapping, margins: Margins | undefined, extent: {
|
|
1527
|
-
x: number;
|
|
1528
|
-
y: number;
|
|
1529
|
-
}) => string;
|
|
1530
|
-
//#endregion
|
|
1531
|
-
//#region src/parts/drawing/text-wrap/wrap-through.d.ts
|
|
1532
|
-
declare const createWrapThrough: (textWrapping: TextWrapping, margins: Margins | undefined, extent: {
|
|
1533
|
-
x: number;
|
|
1534
|
-
y: number;
|
|
1535
|
-
}) => string;
|
|
1536
|
-
//#endregion
|
|
1537
|
-
//#region src/parts/drawing/floating/floating-position.d.ts
|
|
1538
|
-
declare const HorizontalPositionRelativeFrom: {
|
|
1539
|
-
readonly CHARACTER: "character";
|
|
1540
|
-
readonly COLUMN: "column";
|
|
1541
|
-
readonly INSIDE_MARGIN: "insideMargin";
|
|
1542
|
-
readonly LEFT_MARGIN: "leftMargin";
|
|
1543
|
-
readonly MARGIN: "margin";
|
|
1544
|
-
readonly OUTSIDE_MARGIN: "outsideMargin";
|
|
1545
|
-
readonly PAGE: "page";
|
|
1546
|
-
readonly RIGHT_MARGIN: "rightMargin";
|
|
1547
|
-
};
|
|
1548
|
-
declare const VerticalPositionRelativeFrom: {
|
|
1549
|
-
readonly BOTTOM_MARGIN: "bottomMargin";
|
|
1550
|
-
readonly INSIDE_MARGIN: "insideMargin";
|
|
1551
|
-
readonly LINE: "line";
|
|
1552
|
-
readonly MARGIN: "margin";
|
|
1553
|
-
readonly OUTSIDE_MARGIN: "outsideMargin";
|
|
1554
|
-
readonly PAGE: "page";
|
|
1555
|
-
readonly PARAGRAPH: "paragraph";
|
|
1556
|
-
readonly TOP_MARGIN: "topMargin";
|
|
1557
|
-
};
|
|
1558
|
-
interface HorizontalPositionOptions {
|
|
1559
|
-
relative?: (typeof HorizontalPositionRelativeFrom)[keyof typeof HorizontalPositionRelativeFrom];
|
|
1560
|
-
align?: (typeof HorizontalPositionAlign)[keyof typeof HorizontalPositionAlign];
|
|
1561
|
-
offset?: number | UniversalMeasure;
|
|
1562
|
-
}
|
|
1563
|
-
interface VerticalPositionOptions {
|
|
1564
|
-
relative?: (typeof VerticalPositionRelativeFrom)[keyof typeof VerticalPositionRelativeFrom];
|
|
1565
|
-
align?: (typeof VerticalPositionAlign)[keyof typeof VerticalPositionAlign];
|
|
1566
|
-
offset?: number | UniversalMeasure;
|
|
1567
|
-
}
|
|
1568
|
-
interface Margins {
|
|
1569
|
-
left?: number | UniversalMeasure;
|
|
1570
|
-
bottom?: number | UniversalMeasure;
|
|
1571
|
-
top?: number | UniversalMeasure;
|
|
1572
|
-
right?: number | UniversalMeasure;
|
|
1573
|
-
}
|
|
1574
|
-
interface Floating {
|
|
1575
|
-
horizontalPosition: HorizontalPositionOptions;
|
|
1576
|
-
verticalPosition: VerticalPositionOptions;
|
|
1577
|
-
allowOverlap?: boolean;
|
|
1578
|
-
lockAnchor?: boolean;
|
|
1579
|
-
behindDocument?: boolean;
|
|
1580
|
-
layoutInCell?: boolean;
|
|
1581
|
-
margins?: Margins;
|
|
1582
|
-
wrap?: TextWrapping;
|
|
1583
|
-
zIndex?: number;
|
|
1584
|
-
}
|
|
1585
|
-
//#endregion
|
|
1586
|
-
//#region src/parts/drawing/floating/horizontal-position.d.ts
|
|
1587
|
-
declare const createHorizontalPosition: ({
|
|
1588
|
-
relative,
|
|
1589
|
-
align,
|
|
1590
|
-
offset
|
|
1591
|
-
}: HorizontalPositionOptions) => string;
|
|
1592
|
-
//#endregion
|
|
1593
|
-
//#region src/parts/drawing/floating/vertical-position.d.ts
|
|
1594
|
-
declare const createVerticalPosition: ({
|
|
1595
|
-
relative,
|
|
1596
|
-
align,
|
|
1597
|
-
offset
|
|
1598
|
-
}: VerticalPositionOptions) => string;
|
|
1599
|
-
//#endregion
|
|
1600
|
-
//#region src/parts/drawing/descriptor.d.ts
|
|
1601
|
-
interface GraphicFrameLocksOptions {
|
|
1602
|
-
noGrp?: boolean;
|
|
1603
|
-
noDrilldown?: boolean;
|
|
1604
|
-
noSelect?: boolean;
|
|
1605
|
-
noChangeAspect?: boolean;
|
|
1606
|
-
noMove?: boolean;
|
|
1607
|
-
noResize?: boolean;
|
|
1608
|
-
}
|
|
1609
|
-
interface GroupShapeLocksOptions {
|
|
1610
|
-
noGrp?: boolean;
|
|
1611
|
-
noUngrp?: boolean;
|
|
1612
|
-
noSelect?: boolean;
|
|
1613
|
-
noRot?: boolean;
|
|
1614
|
-
noChangeAspect?: boolean;
|
|
1615
|
-
noMove?: boolean;
|
|
1616
|
-
noResize?: boolean;
|
|
1617
|
-
}
|
|
1618
|
-
interface DrawingDescriptorOptions {
|
|
1619
|
-
mediaData: ExtendedMediaData;
|
|
1620
|
-
docProperties?: DocPropertiesOptions;
|
|
1621
|
-
floating?: Floating;
|
|
1622
|
-
outline?: OutlineOptions;
|
|
1623
|
-
fill?: FillOptions;
|
|
1624
|
-
effects?: EffectListOptions;
|
|
1625
|
-
blipEffects?: BlipEffectsOptions;
|
|
1626
|
-
tile?: TileOptions;
|
|
1627
|
-
graphicFrameLocks?: GraphicFrameLocksOptions | null;
|
|
1628
|
-
}
|
|
1629
|
-
declare const resetDrawingIdGen: () => void;
|
|
1630
|
-
declare const drawingDesc: CustomDescriptor<DrawingDescriptorOptions, BodyContext>;
|
|
1631
|
-
//#endregion
|
|
1632
|
-
//#region src/parts/drawing/inline/graphic/graphic-data/wpg/wpg-group.d.ts
|
|
1633
|
-
type GroupChild = unknown;
|
|
1634
|
-
interface ChildOffset {
|
|
1635
|
-
x: number;
|
|
1636
|
-
y: number;
|
|
1637
|
-
}
|
|
1638
|
-
interface ChildExtent {
|
|
1639
|
-
cx: number;
|
|
1640
|
-
cy: number;
|
|
1641
|
-
}
|
|
1642
|
-
interface WpgGroupCoreOptions {
|
|
1643
|
-
children: GroupChild[];
|
|
1644
|
-
}
|
|
1645
|
-
type WpgGroupOptions = WpgGroupCoreOptions & {
|
|
1646
|
-
transformation: MediaDataTransformation;
|
|
1647
|
-
childOffset?: ChildOffset;
|
|
1648
|
-
childExtent?: ChildExtent;
|
|
1649
|
-
fill?: FillOptions;
|
|
1650
|
-
effects?: EffectListOptions;
|
|
1651
|
-
};
|
|
1652
|
-
//#endregion
|
|
1653
|
-
//#region src/parts/drawing/inline/graphic/graphic-data/wps/body-properties.d.ts
|
|
1654
|
-
declare enum VerticalAnchor {
|
|
1655
|
-
TOP = "t",
|
|
1656
|
-
CENTER = "ctr",
|
|
1657
|
-
BOTTOM = "b",
|
|
1658
|
-
JUSTIFY = "just",
|
|
1659
|
-
DISTRIBUTED = "dist"
|
|
1660
|
-
}
|
|
1661
|
-
declare const TextVertOverflowType: {
|
|
1662
|
-
readonly OVERFLOW: "overflow";
|
|
1663
|
-
readonly ELLIPSIS: "ellipsis";
|
|
1664
|
-
readonly CLIP: "clip";
|
|
1665
|
-
};
|
|
1666
|
-
declare const TextHorzOverflowType: {
|
|
1667
|
-
readonly OVERFLOW: "overflow";
|
|
1668
|
-
readonly CLIP: "clip";
|
|
1669
|
-
};
|
|
1670
|
-
declare const TextVerticalType: {
|
|
1671
|
-
readonly HORIZONTAL: "horz";
|
|
1672
|
-
readonly VERTICAL: "vert";
|
|
1673
|
-
readonly VERTICAL_270: "vert270";
|
|
1674
|
-
readonly WORD_ART_VERTICAL: "wordArtVert";
|
|
1675
|
-
readonly EAST_ASIAN_VERTICAL: "eaVert";
|
|
1676
|
-
readonly MONGOLIAN_VERTICAL: "mongolianVert";
|
|
1677
|
-
readonly WORD_ART_VERTICAL_RTL: "wordArtVertRtl";
|
|
1678
|
-
};
|
|
1679
|
-
declare const TextBodyWrappingType: {
|
|
1680
|
-
readonly NONE: "none";
|
|
1681
|
-
readonly SQUARE: "square";
|
|
1682
|
-
};
|
|
1683
|
-
interface NormalAutofitOptions {
|
|
1684
|
-
fontScale?: number;
|
|
1685
|
-
lnSpcReduction?: number;
|
|
1686
|
-
}
|
|
1687
|
-
interface PresetTextShapeOptions {
|
|
1688
|
-
preset: string;
|
|
1689
|
-
adjustments?: {
|
|
1690
|
-
name: string;
|
|
1691
|
-
formula: string;
|
|
1692
|
-
}[];
|
|
1693
|
-
}
|
|
1694
|
-
interface FlatTextOptions {
|
|
1695
|
-
z?: number;
|
|
1696
|
-
}
|
|
1697
|
-
interface BodyPropertiesOptions {
|
|
1698
|
-
rotation?: number;
|
|
1699
|
-
spcFirstLastPara?: boolean;
|
|
1700
|
-
vertOverflow?: (typeof TextVertOverflowType)[keyof typeof TextVertOverflowType];
|
|
1701
|
-
horzOverflow?: (typeof TextHorzOverflowType)[keyof typeof TextHorzOverflowType];
|
|
1702
|
-
vert?: (typeof TextVerticalType)[keyof typeof TextVerticalType];
|
|
1703
|
-
wrap?: (typeof TextBodyWrappingType)[keyof typeof TextBodyWrappingType];
|
|
1704
|
-
lIns?: number | UniversalMeasure;
|
|
1705
|
-
tIns?: number | UniversalMeasure;
|
|
1706
|
-
rIns?: number | UniversalMeasure;
|
|
1707
|
-
bIns?: number | UniversalMeasure;
|
|
1708
|
-
numCol?: number;
|
|
1709
|
-
spcCol?: number | UniversalMeasure;
|
|
1710
|
-
rtlCol?: boolean;
|
|
1711
|
-
fromWordArt?: boolean;
|
|
1712
|
-
anchor?: (typeof VerticalAnchor)[keyof typeof VerticalAnchor];
|
|
1713
|
-
anchorCtr?: boolean;
|
|
1714
|
-
forceAA?: boolean;
|
|
1715
|
-
upright?: boolean;
|
|
1716
|
-
compatLnSpc?: boolean;
|
|
1717
|
-
verticalAnchor?: VerticalAnchor;
|
|
1718
|
-
margins?: {
|
|
1719
|
-
top?: number | UniversalMeasure;
|
|
1720
|
-
bottom?: number | UniversalMeasure;
|
|
1721
|
-
left?: number | UniversalMeasure;
|
|
1722
|
-
right?: number | UniversalMeasure;
|
|
1723
|
-
};
|
|
1724
|
-
prstTxWarp?: PresetTextShapeOptions;
|
|
1725
|
-
noAutoFit?: boolean;
|
|
1726
|
-
normAutofit?: NormalAutofitOptions;
|
|
1727
|
-
spAutoFit?: boolean;
|
|
1728
|
-
scene3d?: Scene3DOptions;
|
|
1729
|
-
sp3d?: Shape3DOptions;
|
|
1730
|
-
flatTx?: FlatTextOptions;
|
|
1731
|
-
}
|
|
1732
|
-
declare const createBodyProperties: (options?: BodyPropertiesOptions) => string;
|
|
1733
|
-
declare const parseBodyProperties: (el: Element, ctx: ReadContext) => BodyPropertiesOptions;
|
|
1734
|
-
//#endregion
|
|
1735
|
-
//#region src/parts/drawing/inline/graphic/graphic-data/wps/non-visual-shape-properties.d.ts
|
|
1736
|
-
interface NonVisualShapePropertiesOptions {
|
|
1737
|
-
id?: number;
|
|
1738
|
-
name?: string;
|
|
1739
|
-
description?: string;
|
|
1740
|
-
title?: string;
|
|
1741
|
-
textBox?: string;
|
|
1742
|
-
connector?: boolean;
|
|
1743
|
-
}
|
|
1744
|
-
//#endregion
|
|
1745
|
-
//#region src/parts/drawing/inline/graphic/graphic-data/wps/wps-shape.d.ts
|
|
1746
|
-
interface StyleMatrixReferenceOptions {
|
|
1747
|
-
idx: string;
|
|
1748
|
-
color?: SolidFillOptions;
|
|
1749
|
-
}
|
|
1750
|
-
interface ShapeStyleOptions {
|
|
1751
|
-
lineReference?: StyleMatrixReferenceOptions;
|
|
1752
|
-
fillReference?: StyleMatrixReferenceOptions;
|
|
1753
|
-
effectReference?: StyleMatrixReferenceOptions;
|
|
1754
|
-
fontReference?: StyleMatrixReferenceOptions;
|
|
1755
|
-
}
|
|
1756
|
-
interface WpsShapeCoreOptions {
|
|
1757
|
-
children: (ParagraphOptions | string)[];
|
|
1758
|
-
nonVisualProperties?: NonVisualShapePropertiesOptions;
|
|
1759
|
-
bodyProperties?: BodyPropertiesOptions;
|
|
1760
|
-
outline?: OutlineOptions;
|
|
1761
|
-
fill?: FillOptions;
|
|
1762
|
-
customGeometry?: CustomGeometryOptions;
|
|
1763
|
-
presetGeometry?: PresetGeometryOptions;
|
|
1764
|
-
effectDag?: EffectDagOptions;
|
|
1765
|
-
effects?: EffectListOptions;
|
|
1766
|
-
scene3d?: Scene3DOptions;
|
|
1767
|
-
shape3d?: Shape3DOptions;
|
|
1768
|
-
style?: ShapeStyleOptions;
|
|
1769
|
-
}
|
|
1770
|
-
type WpsShapeOptions = WpsShapeCoreOptions & {
|
|
1771
|
-
transformation: MediaDataTransformation;
|
|
1772
|
-
};
|
|
1773
|
-
//#endregion
|
|
1774
|
-
//#region src/shared/media/data.d.ts
|
|
1775
|
-
interface MediaDataTransformation {
|
|
1776
|
-
offset?: {
|
|
1777
|
-
pixels: {
|
|
1778
|
-
x: number;
|
|
1779
|
-
y: number;
|
|
1780
|
-
};
|
|
1781
|
-
emus?: {
|
|
1782
|
-
x: number;
|
|
1783
|
-
y: number;
|
|
1784
|
-
};
|
|
1785
|
-
};
|
|
1786
|
-
pixels: {
|
|
1787
|
-
x: number;
|
|
1788
|
-
y: number;
|
|
1789
|
-
};
|
|
1790
|
-
emus: {
|
|
1791
|
-
x: number;
|
|
1792
|
-
y: number;
|
|
1793
|
-
};
|
|
1794
|
-
flip?: {
|
|
1795
|
-
vertical?: boolean;
|
|
1796
|
-
horizontal?: boolean;
|
|
1797
|
-
};
|
|
1798
|
-
rotation?: number;
|
|
1799
|
-
effectExtent?: {
|
|
1800
|
-
l: number;
|
|
1801
|
-
t: number;
|
|
1802
|
-
r: number;
|
|
1803
|
-
b: number;
|
|
1804
|
-
};
|
|
1805
|
-
}
|
|
1806
|
-
interface NonVisualPropertiesOptions {
|
|
1807
|
-
id?: number;
|
|
1808
|
-
name?: string;
|
|
1809
|
-
description?: string;
|
|
1810
|
-
preferRelativeResize?: boolean;
|
|
1811
|
-
}
|
|
1812
|
-
interface CoreMediaData {
|
|
1813
|
-
fileName: string;
|
|
1814
|
-
transformation: MediaDataTransformation;
|
|
1815
|
-
data: Uint8Array;
|
|
1816
|
-
sourceRectangle?: SourceRectangleOptions;
|
|
1817
|
-
nonVisualProperties?: NonVisualPropertiesOptions;
|
|
1818
|
-
useLocalDpi?: boolean;
|
|
1819
|
-
}
|
|
1820
|
-
interface RegularMediaData {
|
|
1821
|
-
type: "jpg" | "png" | "gif" | "bmp" | "tif" | "ico" | "emf" | "wmf";
|
|
1822
|
-
}
|
|
1823
|
-
interface SvgMediaData {
|
|
1824
|
-
type: "svg";
|
|
1825
|
-
fallback: RegularMediaData & CoreMediaData;
|
|
1826
|
-
}
|
|
1827
|
-
interface WpsMediaData {
|
|
1828
|
-
type: "wps";
|
|
1829
|
-
transformation: MediaDataTransformation;
|
|
1830
|
-
data: WpsShapeCoreOptions;
|
|
1831
|
-
}
|
|
1832
|
-
interface WpgCommonMediaData {
|
|
1833
|
-
outline?: OutlineOptions;
|
|
1834
|
-
fill?: FillOptions;
|
|
1835
|
-
}
|
|
1836
|
-
type GroupChildMediaData = (WpsMediaData | MediaData | WpgMediaData) & WpgCommonMediaData;
|
|
1837
|
-
interface WpgMediaData {
|
|
1838
|
-
type: "wpg";
|
|
1839
|
-
transformation: MediaDataTransformation;
|
|
1840
|
-
children: GroupChildMediaData[];
|
|
1841
|
-
childOffset?: ChildOffset;
|
|
1842
|
-
childExtent?: ChildExtent;
|
|
1843
|
-
fill?: FillOptions;
|
|
1844
|
-
effects?: EffectListOptions;
|
|
1845
|
-
groupShapeLocks?: GroupShapeLocksOptions;
|
|
1846
|
-
}
|
|
1847
|
-
interface ChartMediaData {
|
|
1848
|
-
type: "chart";
|
|
1849
|
-
transformation: MediaDataTransformation;
|
|
1850
|
-
chartKey: string;
|
|
1851
|
-
}
|
|
1852
|
-
interface SmartArtMediaData {
|
|
1853
|
-
type: "smartart";
|
|
1854
|
-
transformation: MediaDataTransformation;
|
|
1855
|
-
smartArtKey: string;
|
|
1856
|
-
}
|
|
1857
|
-
type ExtendedMediaData = MediaData | WpsMediaData | WpgMediaData | ChartMediaData | SmartArtMediaData;
|
|
1858
|
-
type MediaData = (RegularMediaData | SvgMediaData) & CoreMediaData;
|
|
1859
|
-
//#endregion
|
|
1860
|
-
//#region src/shared/media/media.d.ts
|
|
1861
|
-
interface MediaTransformation {
|
|
1862
|
-
offset?: {
|
|
1863
|
-
top?: number | UniversalMeasure;
|
|
1864
|
-
left?: number | UniversalMeasure;
|
|
1865
|
-
};
|
|
1866
|
-
width: number | UniversalMeasure;
|
|
1867
|
-
height: number | UniversalMeasure;
|
|
1868
|
-
flip?: {
|
|
1869
|
-
vertical?: boolean;
|
|
1870
|
-
horizontal?: boolean;
|
|
1871
|
-
};
|
|
1872
|
-
rotation?: number;
|
|
1873
|
-
effectExtent?: {
|
|
1874
|
-
l: number;
|
|
1875
|
-
t: number;
|
|
1876
|
-
r: number;
|
|
1877
|
-
b: number;
|
|
1878
|
-
};
|
|
1879
|
-
}
|
|
1880
|
-
declare const createTransformation: (options: MediaTransformation) => MediaDataTransformation;
|
|
1881
|
-
//#endregion
|
|
1882
|
-
//#region src/parts/paragraph/run/image-run.d.ts
|
|
1883
|
-
interface CoreImageOptions {
|
|
1884
|
-
transformation: MediaTransformation;
|
|
1885
|
-
floating?: Floating;
|
|
1886
|
-
altText?: DocPropertiesOptions;
|
|
1887
|
-
outline?: OutlineOptions;
|
|
1888
|
-
fill?: FillOptions;
|
|
1889
|
-
effects?: EffectListOptions;
|
|
1890
|
-
blipEffects?: BlipEffectsOptions;
|
|
1891
|
-
sourceRectangle?: SourceRectangleOptions;
|
|
1892
|
-
tile?: TileOptions;
|
|
1893
|
-
nonVisualProperties?: NonVisualPropertiesOptions;
|
|
1894
|
-
runProperties?: RunPropertiesOptions;
|
|
1895
|
-
graphicFrameLocks?: GraphicFrameLocksOptions | null;
|
|
1896
|
-
useLocalDpi?: boolean;
|
|
1897
|
-
}
|
|
1898
|
-
interface RegularImageOptions {
|
|
1899
|
-
type: "jpg" | "png" | "gif" | "bmp" | "tif" | "ico" | "emf" | "wmf";
|
|
1900
|
-
data: DataType;
|
|
1901
|
-
}
|
|
1902
|
-
interface SvgMediaOptions {
|
|
1903
|
-
type: "svg";
|
|
1904
|
-
data: DataType;
|
|
1905
|
-
fallback: RegularImageOptions;
|
|
1906
|
-
}
|
|
1907
|
-
type ImageOptions = (RegularImageOptions | SvgMediaOptions) & CoreImageOptions;
|
|
1908
|
-
declare const createImageData: (data: Uint8Array, transformation: MediaTransformation, key: string, sourceRectangle?: SourceRectangleOptions, nonVisualProperties?: NonVisualPropertiesOptions) => Pick<MediaData, "data" | "fileName" | "transformation" | "sourceRectangle" | "nonVisualProperties">;
|
|
1909
|
-
//#endregion
|
|
1910
|
-
//#region src/parts/paragraph/run/chart-run.d.ts
|
|
1911
|
-
interface ChartOptions extends ChartSpaceOptions {
|
|
1912
|
-
transformation: MediaTransformation;
|
|
1913
|
-
floating?: Floating;
|
|
1914
|
-
altText?: DocPropertiesOptions;
|
|
1915
|
-
}
|
|
1916
|
-
//#endregion
|
|
1917
|
-
//#region src/parts/paragraph/run/smartart-run.d.ts
|
|
1918
|
-
interface SmartArtNode {
|
|
1919
|
-
text: string;
|
|
1920
|
-
children?: SmartArtNode[];
|
|
1921
|
-
}
|
|
1922
|
-
interface SmartArtOptions {
|
|
1923
|
-
data: {
|
|
1924
|
-
nodes: SmartArtNode[];
|
|
1925
|
-
};
|
|
1926
|
-
transformation: MediaTransformation;
|
|
1927
|
-
floating?: Floating;
|
|
1928
|
-
altText?: DocPropertiesOptions;
|
|
1929
|
-
layout?: string;
|
|
1930
|
-
style?: string;
|
|
1931
|
-
color?: string;
|
|
1932
|
-
}
|
|
1933
|
-
//#endregion
|
|
1934
|
-
//#region src/parts/document/document-background/document-background.d.ts
|
|
1935
|
-
interface BackgroundImageOptions {
|
|
1936
|
-
data: DataType;
|
|
1937
|
-
type: "jpg" | "png" | "gif" | "bmp" | "tif" | "ico" | "emf" | "wmf";
|
|
1938
|
-
}
|
|
1939
|
-
interface DocumentBackgroundOptions {
|
|
1940
|
-
color?: string;
|
|
1941
|
-
themeColor?: string;
|
|
1942
|
-
themeShade?: string;
|
|
1943
|
-
themeTint?: string;
|
|
1944
|
-
image?: BackgroundImageOptions;
|
|
1945
|
-
rawXml?: string;
|
|
1946
|
-
rawMedia?: BackgroundRawMediaOptions[];
|
|
1947
|
-
}
|
|
1948
|
-
interface BackgroundRawMediaOptions {
|
|
1949
|
-
fileName: string;
|
|
1950
|
-
data: DataType;
|
|
1951
|
-
type: "jpg" | "png" | "gif" | "bmp" | "tif" | "ico" | "emf" | "wmf";
|
|
1952
|
-
}
|
|
1953
|
-
//#endregion
|
|
1954
|
-
//#region src/parts/paragraph/run/wps-shape-run.d.ts
|
|
1955
|
-
interface CoreShapeOptions {
|
|
1956
|
-
transformation: MediaTransformation;
|
|
1957
|
-
floating?: Floating;
|
|
1958
|
-
altText?: DocPropertiesOptions;
|
|
1959
|
-
vmlFallback?: string;
|
|
1960
|
-
vmlFallbackMedia?: BackgroundRawMediaOptions[];
|
|
1961
|
-
mcChoiceRequires?: string;
|
|
1962
|
-
runProperties?: RunPropertiesOptions;
|
|
1963
|
-
graphicFrameLocks?: GraphicFrameLocksOptions | null;
|
|
1964
|
-
}
|
|
1965
|
-
type WpsShapeRunOptions = WpsShapeCoreOptions & CoreShapeOptions;
|
|
1966
|
-
//#endregion
|
|
1967
|
-
//#region src/parts/paragraph/run/wpg-group-run.d.ts
|
|
1968
|
-
interface CoreGroupOptions {
|
|
1969
|
-
children: GroupChildMediaData[];
|
|
1970
|
-
transformation: MediaTransformation;
|
|
1971
|
-
childOffset?: ChildOffset;
|
|
1972
|
-
childExtent?: ChildExtent;
|
|
1973
|
-
fill?: FillOptions;
|
|
1974
|
-
effects?: EffectListOptions;
|
|
1975
|
-
floating?: Floating;
|
|
1976
|
-
altText?: DocPropertiesOptions;
|
|
1977
|
-
vmlFallback?: string;
|
|
1978
|
-
vmlFallbackMedia?: BackgroundRawMediaOptions[];
|
|
1979
|
-
mcChoiceRequires?: string;
|
|
1980
|
-
runProperties?: RunPropertiesOptions;
|
|
1981
|
-
graphicFrameLocks?: GraphicFrameLocksOptions | null;
|
|
1982
|
-
groupShapeLocks?: GroupShapeLocksOptions;
|
|
1983
|
-
}
|
|
1984
|
-
type WpgGroupRunOptions = CoreGroupOptions;
|
|
1985
|
-
//#endregion
|
|
1986
|
-
//#region src/parts/paragraph/run/simple-field.d.ts
|
|
1987
|
-
interface SimpleFieldOptions {
|
|
1988
|
-
instruction: string;
|
|
1989
|
-
cachedValue?: string;
|
|
1990
|
-
fldLock?: boolean;
|
|
1991
|
-
dirty?: boolean;
|
|
1992
|
-
}
|
|
1993
|
-
//#endregion
|
|
1994
|
-
//#region src/parts/paragraph/run/comment-run.d.ts
|
|
1995
|
-
interface CommentOptions {
|
|
1996
|
-
id: number;
|
|
1997
|
-
children: (string | ParagraphOptions)[];
|
|
1998
|
-
initials?: string;
|
|
1999
|
-
author?: string;
|
|
2000
|
-
date?: Date | string;
|
|
2001
|
-
}
|
|
2002
|
-
interface CommentsOptions {
|
|
2003
|
-
children: CommentOptions[];
|
|
2004
|
-
}
|
|
2005
|
-
interface CommentChildOptions {
|
|
2006
|
-
author?: string;
|
|
2007
|
-
initials?: string;
|
|
2008
|
-
date?: Date | string;
|
|
2009
|
-
children: (string | ParagraphOptions)[];
|
|
2010
|
-
wrap?: (string | RunOptions)[];
|
|
2011
|
-
}
|
|
2012
|
-
//#endregion
|
|
2013
|
-
//#region src/parts/paragraph/run/positional-tab.d.ts
|
|
2014
|
-
declare const PositionalTabAlignment: {
|
|
2015
|
-
readonly LEFT: "left";
|
|
2016
|
-
readonly CENTER: "center";
|
|
2017
|
-
readonly RIGHT: "right";
|
|
2018
|
-
};
|
|
2019
|
-
declare const PositionalTabRelativeTo: {
|
|
2020
|
-
readonly MARGIN: "margin";
|
|
2021
|
-
readonly INDENT: "indent";
|
|
2022
|
-
};
|
|
2023
|
-
declare const PositionalTabLeader: {
|
|
2024
|
-
readonly NONE: "none";
|
|
2025
|
-
readonly DOT: "dot";
|
|
2026
|
-
readonly HYPHEN: "hyphen";
|
|
2027
|
-
readonly UNDERSCORE: "underscore";
|
|
2028
|
-
readonly MIDDLE_DOT: "middleDot";
|
|
2029
|
-
};
|
|
2030
|
-
interface PositionalTabOptions {
|
|
2031
|
-
alignment: (typeof PositionalTabAlignment)[keyof typeof PositionalTabAlignment];
|
|
2032
|
-
relativeTo: (typeof PositionalTabRelativeTo)[keyof typeof PositionalTabRelativeTo];
|
|
2033
|
-
leader: (typeof PositionalTabLeader)[keyof typeof PositionalTabLeader];
|
|
2034
|
-
}
|
|
2035
|
-
//#endregion
|
|
2036
|
-
//#region src/parts/paragraph/run/ruby.d.ts
|
|
2037
|
-
declare const RubyAlign: {
|
|
2038
|
-
readonly CENTER: "center";
|
|
2039
|
-
readonly DISTRIBUTE_LETTER: "distributeLetter";
|
|
2040
|
-
readonly DISTRIBUTE_SPACE: "distributeSpace";
|
|
2041
|
-
readonly LEFT: "left";
|
|
2042
|
-
readonly RIGHT: "right";
|
|
2043
|
-
readonly RIGHT_VERTICAL: "rightVertical";
|
|
2044
|
-
};
|
|
2045
|
-
interface RubyOptions {
|
|
2046
|
-
text: string;
|
|
2047
|
-
base: string;
|
|
2048
|
-
alignment?: (typeof RubyAlign)[keyof typeof RubyAlign];
|
|
2049
|
-
fontSize?: number;
|
|
2050
|
-
raise?: number;
|
|
2051
|
-
baseFontSize?: number;
|
|
2052
|
-
languageId?: string;
|
|
2053
|
-
dirty?: boolean;
|
|
2054
|
-
}
|
|
2055
|
-
//#endregion
|
|
2056
|
-
//#region src/parts/paragraph/run/form-field.d.ts
|
|
2057
|
-
declare const FormFieldTextType: {
|
|
2058
|
-
readonly REGULAR: "regular";
|
|
2059
|
-
readonly NUMBER: "number";
|
|
2060
|
-
readonly DATE: "date";
|
|
2061
|
-
readonly CURRENT_TIME: "currentTime";
|
|
2062
|
-
readonly CURRENT_DATE: "currentDate";
|
|
2063
|
-
readonly CALCULATED: "calculated";
|
|
2064
|
-
};
|
|
2065
|
-
interface CheckBoxOptions {
|
|
2066
|
-
size?: number;
|
|
2067
|
-
sizeAuto?: boolean;
|
|
2068
|
-
default?: boolean;
|
|
2069
|
-
checked?: boolean;
|
|
2070
|
-
}
|
|
2071
|
-
interface DropDownListOptions {
|
|
2072
|
-
entries: string[];
|
|
2073
|
-
result?: number;
|
|
2074
|
-
default?: number;
|
|
2075
|
-
}
|
|
2076
|
-
interface TextInputOptions {
|
|
2077
|
-
type?: (typeof FormFieldTextType)[keyof typeof FormFieldTextType];
|
|
2078
|
-
default?: string;
|
|
2079
|
-
value?: string;
|
|
2080
|
-
maxLength?: number;
|
|
2081
|
-
format?: string;
|
|
2082
|
-
}
|
|
2083
|
-
interface FormFieldTextOptions {
|
|
2084
|
-
type: "text" | "autoText";
|
|
2085
|
-
value: string;
|
|
2086
|
-
}
|
|
2087
|
-
interface FormFieldCommonOptions {
|
|
2088
|
-
name?: string;
|
|
2089
|
-
label?: number;
|
|
2090
|
-
tabIndex?: number;
|
|
2091
|
-
enabled?: boolean;
|
|
2092
|
-
calcOnExit?: boolean;
|
|
2093
|
-
entryMacro?: string;
|
|
2094
|
-
exitMacro?: string;
|
|
2095
|
-
helpText?: FormFieldTextOptions;
|
|
2096
|
-
statusText?: FormFieldTextOptions;
|
|
2097
|
-
}
|
|
2098
|
-
interface FormFieldOptions extends FormFieldCommonOptions {
|
|
2099
|
-
checkBox?: CheckBoxOptions;
|
|
2100
|
-
dropDownList?: DropDownListOptions;
|
|
2101
|
-
textInput?: TextInputOptions;
|
|
2102
|
-
}
|
|
2103
|
-
declare const createFormFieldData: (options: FormFieldOptions) => string;
|
|
2104
|
-
declare function parseFormFieldData(el: Element): FormFieldOptions;
|
|
2105
|
-
//#endregion
|
|
2106
|
-
//#region src/parts/paragraph/run/smart-tag-run.d.ts
|
|
2107
|
-
interface SmartTagRunOptions {
|
|
2108
|
-
uri?: string;
|
|
2109
|
-
element: string;
|
|
2110
|
-
properties?: {
|
|
2111
|
-
uri: string;
|
|
2112
|
-
name: string;
|
|
2113
|
-
val: string;
|
|
2114
|
-
}[];
|
|
2115
|
-
}
|
|
2116
|
-
//#endregion
|
|
2117
|
-
//#region src/parts/paragraph/run/proof-error.d.ts
|
|
2118
|
-
declare const ProofErrorType: {
|
|
2119
|
-
readonly SPELL_START: "spellStart";
|
|
2120
|
-
readonly SPELL_END: "spellEnd";
|
|
2121
|
-
readonly GRAM_START: "gramStart";
|
|
2122
|
-
readonly GRAM_END: "gramEnd";
|
|
2123
|
-
};
|
|
2124
|
-
type ProofErrorTypeValue = (typeof ProofErrorType)[keyof typeof ProofErrorType];
|
|
2125
|
-
//#endregion
|
|
2126
|
-
//#region src/parts/paragraph/paragraph.d.ts
|
|
2127
|
-
interface SdtRunOptions {
|
|
2128
|
-
properties: SdtPropertiesOptions;
|
|
2129
|
-
children?: (ParagraphChild | string)[];
|
|
2130
|
-
endProperties?: RunPropertiesOptions;
|
|
2131
|
-
}
|
|
2132
|
-
interface FootnoteEndnoteReferenceOptions {
|
|
2133
|
-
id: number;
|
|
2134
|
-
customMarkFollows?: boolean;
|
|
2135
|
-
}
|
|
2136
|
-
type ParagraphChild = {
|
|
2137
|
-
chart: ChartOptions;
|
|
2138
|
-
} | {
|
|
2139
|
-
smartArt: SmartArtOptions;
|
|
2140
|
-
} | {
|
|
2141
|
-
image: ImageOptions;
|
|
2142
|
-
} | {
|
|
2143
|
-
math: {
|
|
2144
|
-
children?: MathInput[];
|
|
2145
|
-
};
|
|
2146
|
-
} | {
|
|
2147
|
-
symbolRun: SymbolRunOptions;
|
|
2148
|
-
} | {
|
|
2149
|
-
footnoteReference: number | FootnoteEndnoteReferenceOptions;
|
|
2150
|
-
} | {
|
|
2151
|
-
endnoteReference: number | FootnoteEndnoteReferenceOptions;
|
|
2152
|
-
} | {
|
|
2153
|
-
pageBreak: true;
|
|
2154
|
-
} | {
|
|
2155
|
-
columnBreak: true;
|
|
2156
|
-
} | {
|
|
2157
|
-
commentRangeStart: MarkupRangeOptions;
|
|
2158
|
-
} | {
|
|
2159
|
-
commentRangeEnd: MarkupRangeOptions;
|
|
2160
|
-
} | {
|
|
2161
|
-
commentReference: number;
|
|
2162
|
-
} | {
|
|
2163
|
-
comment: CommentChildOptions;
|
|
2164
|
-
} | {
|
|
2165
|
-
insertion: ChangedProperties & {
|
|
2166
|
-
children: (RunOptions | string)[];
|
|
2167
|
-
};
|
|
2168
|
-
} | {
|
|
2169
|
-
deletion: ChangedProperties & {
|
|
2170
|
-
children: (RunOptions | string)[];
|
|
2171
|
-
};
|
|
2172
|
-
} | {
|
|
2173
|
-
hyperlink: {
|
|
2174
|
-
link?: string;
|
|
2175
|
-
anchor?: string;
|
|
2176
|
-
tooltip?: string;
|
|
2177
|
-
tgtFrame?: string;
|
|
2178
|
-
docLocation?: string;
|
|
2179
|
-
history?: boolean;
|
|
2180
|
-
children?: (RunOptions | string)[];
|
|
2181
|
-
};
|
|
2182
|
-
text?: string;
|
|
2183
|
-
} | {
|
|
2184
|
-
bookmarkStart: BookmarkStartOptions;
|
|
2185
|
-
} | {
|
|
2186
|
-
bookmarkEnd: MarkupRangeOptions;
|
|
2187
|
-
} | {
|
|
2188
|
-
bookmark: BookmarkOptions;
|
|
2189
|
-
} | {
|
|
2190
|
-
wpsShape: WpsShapeRunOptions;
|
|
2191
|
-
} | {
|
|
2192
|
-
wpgGroup: WpgGroupRunOptions;
|
|
2193
|
-
} | {
|
|
2194
|
-
proofErr: "spellStart" | "spellEnd" | "gramStart" | "gramEnd";
|
|
2195
|
-
} | {
|
|
2196
|
-
positionalTab: {
|
|
2197
|
-
alignment: string;
|
|
2198
|
-
leader: string;
|
|
2199
|
-
relativeTo: string;
|
|
2200
|
-
};
|
|
2201
|
-
} | {
|
|
2202
|
-
permStart: {
|
|
2203
|
-
id: number | string;
|
|
2204
|
-
ed?: string;
|
|
2205
|
-
editGroup?: string;
|
|
2206
|
-
colFirst?: number;
|
|
2207
|
-
colLast?: number;
|
|
2208
|
-
};
|
|
2209
|
-
} | {
|
|
2210
|
-
permEnd: number | string;
|
|
2211
|
-
} | {
|
|
2212
|
-
moveFromRangeStart: MoveRangeStartOptions;
|
|
2213
|
-
} | {
|
|
2214
|
-
moveFromRangeEnd: MarkupRangeOptions;
|
|
2215
|
-
} | {
|
|
2216
|
-
moveToRangeStart: MoveRangeStartOptions;
|
|
2217
|
-
} | {
|
|
2218
|
-
moveToRangeEnd: MarkupRangeOptions;
|
|
2219
|
-
} | {
|
|
2220
|
-
movedFrom: ChangedProperties & {
|
|
2221
|
-
children: (RunOptions | string)[];
|
|
2222
|
-
};
|
|
2223
|
-
} | {
|
|
2224
|
-
movedTo: ChangedProperties & {
|
|
2225
|
-
children: (RunOptions | string)[];
|
|
2226
|
-
};
|
|
2227
|
-
} | {
|
|
2228
|
-
moveFrom: MoveRangeOptions;
|
|
2229
|
-
} | {
|
|
2230
|
-
moveTo: MoveRangeOptions;
|
|
2231
|
-
} | {
|
|
2232
|
-
customXmlInsRangeStart: {
|
|
2233
|
-
id: number;
|
|
2234
|
-
author?: string;
|
|
2235
|
-
date?: string;
|
|
2236
|
-
};
|
|
2237
|
-
} | {
|
|
2238
|
-
customXmlInsRangeEnd: number;
|
|
2239
|
-
} | {
|
|
2240
|
-
customXmlDelRangeStart: {
|
|
2241
|
-
id: number;
|
|
2242
|
-
author?: string;
|
|
2243
|
-
date?: string;
|
|
2244
|
-
};
|
|
2245
|
-
} | {
|
|
2246
|
-
customXmlDelRangeEnd: number;
|
|
2247
|
-
} | {
|
|
2248
|
-
customXmlMoveFromRangeStart: {
|
|
2249
|
-
id: number;
|
|
2250
|
-
author?: string;
|
|
2251
|
-
date?: string;
|
|
2252
|
-
};
|
|
2253
|
-
} | {
|
|
2254
|
-
customXmlMoveFromRangeEnd: number;
|
|
2255
|
-
} | {
|
|
2256
|
-
customXmlMoveToRangeStart: {
|
|
2257
|
-
id: number;
|
|
2258
|
-
author?: string;
|
|
2259
|
-
date?: string;
|
|
2260
|
-
};
|
|
2261
|
-
} | {
|
|
2262
|
-
customXmlMoveToRangeEnd: number;
|
|
2263
|
-
} | {
|
|
2264
|
-
ruby: RubyOptions;
|
|
2265
|
-
} | {
|
|
2266
|
-
simpleField: SimpleFieldOptions;
|
|
2267
|
-
} | {
|
|
2268
|
-
formField: FormFieldOptions;
|
|
2269
|
-
} | {
|
|
2270
|
-
complexField: {
|
|
2271
|
-
instruction: string;
|
|
2272
|
-
result?: string;
|
|
2273
|
-
rPrXml?: string;
|
|
2274
|
-
resultRPrXml?: string;
|
|
2275
|
-
};
|
|
2276
|
-
} | {
|
|
2277
|
-
seqIdentifier: string;
|
|
2278
|
-
} | {
|
|
2279
|
-
pageReference: {
|
|
2280
|
-
bookmarkId: string;
|
|
2281
|
-
hyperlink?: boolean;
|
|
2282
|
-
useRelativePosition?: boolean;
|
|
2283
|
-
};
|
|
2284
|
-
} | {
|
|
2285
|
-
dir: {
|
|
2286
|
-
val: "ltr" | "rtl";
|
|
2287
|
-
children?: (ParagraphChild | string)[];
|
|
2288
|
-
};
|
|
2289
|
-
} | {
|
|
2290
|
-
bdo: {
|
|
2291
|
-
val: "ltr" | "rtl";
|
|
2292
|
-
children?: (ParagraphChild | string)[];
|
|
2293
|
-
};
|
|
2294
|
-
} | {
|
|
2295
|
-
smartTag: {
|
|
2296
|
-
uri?: string;
|
|
2297
|
-
element: string;
|
|
2298
|
-
properties?: Array<{
|
|
2299
|
-
uri?: string;
|
|
2300
|
-
name: string;
|
|
2301
|
-
val: string;
|
|
2302
|
-
}>;
|
|
2303
|
-
children?: (ParagraphChild | string)[];
|
|
2304
|
-
};
|
|
2305
|
-
} | {
|
|
2306
|
-
customXml: CustomXmlRunOptions & {
|
|
2307
|
-
children?: (ParagraphChild | string)[];
|
|
2308
|
-
};
|
|
2309
|
-
} | {
|
|
2310
|
-
sdt: SdtRunOptions;
|
|
2311
|
-
} | RunOptions;
|
|
2312
|
-
type ParagraphOptions = {
|
|
2313
|
-
text?: string;
|
|
2314
|
-
children?: (ParagraphChild | string)[];
|
|
2315
|
-
rsid?: string;
|
|
2316
|
-
defaultRunRsid?: string;
|
|
2317
|
-
propertiesRsid?: string;
|
|
2318
|
-
runPropertiesRsid?: string;
|
|
2319
|
-
deletionRsid?: string;
|
|
2320
|
-
paraId?: string;
|
|
2321
|
-
textId?: string;
|
|
2322
|
-
} & ParagraphPropertiesOptions;
|
|
2323
|
-
//#endregion
|
|
2324
|
-
//#region src/parts/paragraph/links/hyperlink.d.ts
|
|
2325
|
-
declare const HyperlinkType: {
|
|
2326
|
-
readonly INTERNAL: "INTERNAL";
|
|
2327
|
-
readonly EXTERNAL: "EXTERNAL";
|
|
2328
|
-
};
|
|
2329
|
-
interface InternalHyperlinkOptions {
|
|
2330
|
-
anchor: string;
|
|
2331
|
-
tooltip?: string;
|
|
2332
|
-
}
|
|
2333
|
-
interface ExternalHyperlinkOptions {
|
|
2334
|
-
link: string;
|
|
2335
|
-
tooltip?: string;
|
|
2336
|
-
tgtFrame?: string;
|
|
2337
|
-
}
|
|
2338
|
-
//#endregion
|
|
2339
|
-
//#region src/parts/paragraph/links/numbered-item-ref.d.ts
|
|
2340
|
-
declare enum NumberedItemReferenceFormat {
|
|
2341
|
-
NONE = "none",
|
|
2342
|
-
RELATIVE = "relative",
|
|
2343
|
-
NO_CONTEXT = "no_context",
|
|
2344
|
-
FULL_CONTEXT = "full_context"
|
|
2345
|
-
}
|
|
2346
|
-
interface NumberedItemReferenceOptions {
|
|
2347
|
-
hyperlink?: boolean;
|
|
2348
|
-
referenceFormat?: NumberedItemReferenceFormat;
|
|
2349
|
-
}
|
|
2350
|
-
//#endregion
|
|
2351
|
-
//#region src/parts/paragraph/links/bidi.d.ts
|
|
2352
|
-
interface DirOptions {
|
|
2353
|
-
val: "ltr" | "rtl";
|
|
2354
|
-
}
|
|
2355
|
-
//#endregion
|
|
2356
|
-
//#region src/parts/table/table-row/table-row-properties.d.ts
|
|
2357
|
-
interface CnfStyleOptions {
|
|
2358
|
-
val?: string;
|
|
2359
|
-
firstRow?: boolean;
|
|
2360
|
-
lastRow?: boolean;
|
|
2361
|
-
firstColumn?: boolean;
|
|
2362
|
-
lastColumn?: boolean;
|
|
2363
|
-
oddVBand?: boolean;
|
|
2364
|
-
evenVBand?: boolean;
|
|
2365
|
-
oddHBand?: boolean;
|
|
2366
|
-
evenHBand?: boolean;
|
|
2367
|
-
firstRowFirstColumn?: boolean;
|
|
2368
|
-
firstRowLastColumn?: boolean;
|
|
2369
|
-
lastRowFirstColumn?: boolean;
|
|
2370
|
-
lastRowLastColumn?: boolean;
|
|
2371
|
-
}
|
|
2372
|
-
interface TableRowPropertiesOptionsBase {
|
|
2373
|
-
cnfStyle?: CnfStyleOptions;
|
|
2374
|
-
cantSplit?: boolean;
|
|
2375
|
-
tableHeader?: boolean;
|
|
2376
|
-
height?: {
|
|
2377
|
-
value: number | PositiveUniversalMeasure;
|
|
2378
|
-
rule?: (typeof HeightRule)[keyof typeof HeightRule];
|
|
2379
|
-
};
|
|
2380
|
-
cellSpacing?: TableCellSpacingProperties;
|
|
2381
|
-
divId?: number;
|
|
2382
|
-
gridBefore?: number;
|
|
2383
|
-
gridAfter?: number;
|
|
2384
|
-
widthBefore?: TableWidthProperties;
|
|
2385
|
-
widthAfter?: TableWidthProperties;
|
|
2386
|
-
rowAlignment?: (typeof AlignmentType)[keyof typeof AlignmentType];
|
|
2387
|
-
hidden?: boolean;
|
|
2388
|
-
}
|
|
2389
|
-
type TableRowPropertiesOptions = TableRowPropertiesOptionsBase & {
|
|
2390
|
-
insertion?: ChangedProperties;
|
|
2391
|
-
deletion?: ChangedProperties;
|
|
2392
|
-
revision?: TableRowPropertiesChangeOptions;
|
|
2393
|
-
includeIfEmpty?: boolean;
|
|
2394
|
-
};
|
|
2395
|
-
type TableRowPropertiesChangeOptions = TableRowPropertiesOptionsBase & ChangedProperties;
|
|
2396
|
-
//#endregion
|
|
2397
|
-
//#region src/parts/table/table-cell/table-cell-properties.d.ts
|
|
2398
|
-
interface TableCellPropertiesOptionsBase {
|
|
2399
|
-
cnfStyle?: CnfStyleOptions;
|
|
2400
|
-
shading?: ShadingProperties;
|
|
2401
|
-
margins?: TableCellMarginOptions;
|
|
2402
|
-
verticalAlign?: TableVerticalAlign;
|
|
2403
|
-
textDirection?: (typeof TextDirection)[keyof typeof TextDirection];
|
|
2404
|
-
verticalMerge?: "continue" | "restart";
|
|
2405
|
-
width?: TableWidthProperties;
|
|
2406
|
-
columnSpan?: number;
|
|
2407
|
-
rowSpan?: number;
|
|
2408
|
-
borders?: TableCellBordersOptions;
|
|
2409
|
-
horizontalMerge?: "continue" | "restart";
|
|
2410
|
-
noWrap?: boolean;
|
|
2411
|
-
fitText?: boolean;
|
|
2412
|
-
hideMark?: boolean;
|
|
2413
|
-
headers?: string[];
|
|
2414
|
-
insertion?: ChangedProperties;
|
|
2415
|
-
deletion?: ChangedProperties;
|
|
2416
|
-
cellMerge?: CellMergeAttributes;
|
|
2417
|
-
}
|
|
2418
|
-
type TableCellPropertiesOptions = {
|
|
2419
|
-
revision?: TableCellPropertiesChangeOptions;
|
|
2420
|
-
includeIfEmpty?: boolean;
|
|
2421
|
-
} & TableCellPropertiesOptionsBase;
|
|
2422
|
-
type TableCellPropertiesChangeOptions = TableCellPropertiesOptionsBase & ChangedProperties;
|
|
2423
|
-
//#endregion
|
|
2424
|
-
//#region src/parts/table/table-cell/table-cell.d.ts
|
|
2425
|
-
type TableCellOptions = {
|
|
2426
|
-
children: SectionChild[];
|
|
2427
|
-
} & TableCellPropertiesOptions;
|
|
2428
|
-
interface SdtCellOptions {
|
|
2429
|
-
properties: SdtPropertiesOptions;
|
|
2430
|
-
cells?: TableCellOptions[];
|
|
2431
|
-
endProperties?: RunPropertiesOptions;
|
|
2432
|
-
}
|
|
2433
|
-
//#endregion
|
|
2434
|
-
//#region src/parts/custom-xml/custom-xml.d.ts
|
|
2435
|
-
interface CustomXmlDataBindingOptions {
|
|
2436
|
-
xpath: string;
|
|
2437
|
-
storeItemID: string;
|
|
2438
|
-
prefixMappings?: string;
|
|
2439
|
-
}
|
|
2440
|
-
interface CustomXmlAttributeOptions {
|
|
2441
|
-
name: string;
|
|
2442
|
-
val: string;
|
|
2443
|
-
uri?: string;
|
|
2444
|
-
}
|
|
2445
|
-
interface CustomXmlPropertiesOptions {
|
|
2446
|
-
placeholder?: string;
|
|
2447
|
-
attributes?: CustomXmlAttributeOptions[];
|
|
2448
|
-
}
|
|
2449
|
-
interface CustomXmlRunOptions {
|
|
2450
|
-
element: string;
|
|
2451
|
-
uri?: string;
|
|
2452
|
-
customXmlPr?: CustomXmlPropertiesOptions;
|
|
2453
|
-
}
|
|
2454
|
-
type CustomXmlBlockOptions = CustomXmlRunOptions & {
|
|
2455
|
-
children?: SectionChild[];
|
|
2456
|
-
};
|
|
2457
|
-
type CustomXmlRowOptions = CustomXmlRunOptions & {
|
|
2458
|
-
children?: TableRowOptions[];
|
|
2459
|
-
};
|
|
2460
|
-
type CustomXmlCellOptions = CustomXmlRunOptions & {
|
|
2461
|
-
children?: TableCellOptions[];
|
|
2462
|
-
};
|
|
2463
|
-
//#endregion
|
|
2464
|
-
//#region src/parts/document/body/section-properties/properties/column.d.ts
|
|
2465
|
-
interface ColumnProperties {
|
|
2466
|
-
width: number | PositiveUniversalMeasure;
|
|
2467
|
-
space?: number | PositiveUniversalMeasure;
|
|
2468
|
-
}
|
|
2469
|
-
//#endregion
|
|
2470
|
-
//#region src/parts/document/body/section-properties/properties/columns.d.ts
|
|
2471
|
-
interface ColumnsProperties {
|
|
2472
|
-
space?: number | PositiveUniversalMeasure;
|
|
2473
|
-
count?: number;
|
|
2474
|
-
separate?: boolean;
|
|
2475
|
-
equalWidth?: boolean;
|
|
2476
|
-
children?: ColumnProperties[];
|
|
2477
|
-
}
|
|
2478
|
-
//#endregion
|
|
2479
|
-
//#region src/parts/document/body/section-properties/properties/doc-grid.d.ts
|
|
2480
|
-
declare const DocumentGridType: {
|
|
2481
|
-
readonly DEFAULT: "default";
|
|
2482
|
-
readonly LINES: "lines";
|
|
2483
|
-
readonly LINES_AND_CHARS: "linesAndChars";
|
|
2484
|
-
readonly SNAP_TO_CHARS: "snapToChars";
|
|
2485
|
-
};
|
|
2486
|
-
interface DocGridProperties {
|
|
2487
|
-
type?: (typeof DocumentGridType)[keyof typeof DocumentGridType];
|
|
2488
|
-
linePitch: number;
|
|
2489
|
-
charSpace?: number;
|
|
2490
|
-
}
|
|
2491
|
-
declare const createDocumentGrid: ({
|
|
2492
|
-
type,
|
|
2493
|
-
linePitch,
|
|
2494
|
-
charSpace
|
|
2495
|
-
}: DocGridProperties) => string;
|
|
2496
|
-
//#endregion
|
|
2497
|
-
//#region src/parts/document/body/section-properties/properties/page-size.d.ts
|
|
2498
|
-
declare const PageOrientation: {
|
|
2499
|
-
readonly PORTRAIT: "portrait";
|
|
2500
|
-
readonly LANDSCAPE: "landscape";
|
|
2501
|
-
};
|
|
2502
|
-
interface PageSizeProperties {
|
|
2503
|
-
width?: number | PositiveUniversalMeasure;
|
|
2504
|
-
height?: number | PositiveUniversalMeasure;
|
|
2505
|
-
orientation?: (typeof PageOrientation)[keyof typeof PageOrientation];
|
|
2506
|
-
code?: number;
|
|
2507
|
-
}
|
|
2508
|
-
//#endregion
|
|
2509
|
-
//#region src/parts/document/body/section-properties/properties/page-number.d.ts
|
|
2510
|
-
declare const PageNumberSeparator: {
|
|
2511
|
-
readonly HYPHEN: "hyphen";
|
|
2512
|
-
readonly PERIOD: "period";
|
|
2513
|
-
readonly COLON: "colon";
|
|
2514
|
-
readonly EM_DASH: "emDash";
|
|
2515
|
-
readonly EN_DASH: "enDash";
|
|
2516
|
-
};
|
|
2517
|
-
interface PageNumberTypeProperties {
|
|
2518
|
-
start?: number;
|
|
2519
|
-
formatType?: (typeof NumberFormat)[keyof typeof NumberFormat];
|
|
2520
|
-
separator?: (typeof PageNumberSeparator)[keyof typeof PageNumberSeparator];
|
|
2521
|
-
chapStyle?: number;
|
|
2522
|
-
}
|
|
2523
|
-
declare const createPageNumberType: ({
|
|
2524
|
-
start,
|
|
2525
|
-
formatType,
|
|
2526
|
-
separator,
|
|
2527
|
-
chapStyle
|
|
2528
|
-
}: PageNumberTypeProperties) => string;
|
|
2529
|
-
//#endregion
|
|
2530
|
-
//#region src/parts/document/body/section-properties/properties/page-borders.d.ts
|
|
2531
|
-
declare const PageBorderDisplay: {
|
|
2532
|
-
readonly ALL_PAGES: "allPages";
|
|
2533
|
-
readonly FIRST_PAGE: "firstPage";
|
|
2534
|
-
readonly NOT_FIRST_PAGE: "notFirstPage";
|
|
2535
|
-
};
|
|
2536
|
-
declare const PageBorderOffsetFrom: {
|
|
2537
|
-
readonly PAGE: "page";
|
|
2538
|
-
readonly TEXT: "text";
|
|
2539
|
-
};
|
|
2540
|
-
declare const PageBorderZOrder: {
|
|
2541
|
-
readonly BACK: "back";
|
|
2542
|
-
readonly FRONT: "front";
|
|
2543
|
-
};
|
|
2544
|
-
interface PageBordersOptions {
|
|
2545
|
-
display?: (typeof PageBorderDisplay)[keyof typeof PageBorderDisplay];
|
|
2546
|
-
offsetFrom?: (typeof PageBorderOffsetFrom)[keyof typeof PageBorderOffsetFrom];
|
|
2547
|
-
zOrder?: (typeof PageBorderZOrder)[keyof typeof PageBorderZOrder];
|
|
2548
|
-
top?: BorderOptions;
|
|
2549
|
-
right?: BorderOptions;
|
|
2550
|
-
bottom?: BorderOptions;
|
|
2551
|
-
left?: BorderOptions;
|
|
2552
|
-
}
|
|
2553
|
-
//#endregion
|
|
2554
|
-
//#region src/parts/document/body/section-properties/properties/page-margin.d.ts
|
|
2555
|
-
interface PageMarginProperties {
|
|
2556
|
-
top?: number | UniversalMeasure;
|
|
2557
|
-
right?: number | PositiveUniversalMeasure;
|
|
2558
|
-
bottom?: number | UniversalMeasure;
|
|
2559
|
-
left?: number | PositiveUniversalMeasure;
|
|
2560
|
-
header?: number | PositiveUniversalMeasure;
|
|
2561
|
-
footer?: number | PositiveUniversalMeasure;
|
|
2562
|
-
gutter?: number | PositiveUniversalMeasure;
|
|
2563
|
-
}
|
|
2564
|
-
declare const createPageMargin: (top: number | UniversalMeasure, right: number | PositiveUniversalMeasure, bottom: number | UniversalMeasure, left: number | PositiveUniversalMeasure, header: number | PositiveUniversalMeasure, footer: number | PositiveUniversalMeasure, gutter: number | PositiveUniversalMeasure) => string;
|
|
2565
|
-
//#endregion
|
|
2566
|
-
//#region src/parts/document/body/section-properties/properties/page-text-direction.d.ts
|
|
2567
|
-
declare const PageTextDirectionType: {
|
|
2568
|
-
readonly LEFT_TO_RIGHT_TOP_TO_BOTTOM: "lrTb";
|
|
2569
|
-
readonly TOP_TO_BOTTOM_RIGHT_TO_LEFT: "tbRl";
|
|
2570
|
-
};
|
|
2571
|
-
//#endregion
|
|
2572
|
-
//#region src/parts/document/body/section-properties/properties/line-number.d.ts
|
|
2573
|
-
declare const LineNumberRestartFormat: {
|
|
2574
|
-
readonly NEW_PAGE: "newPage";
|
|
2575
|
-
readonly NEW_SECTION: "newSection";
|
|
2576
|
-
readonly CONTINUOUS: "continuous";
|
|
2577
|
-
};
|
|
2578
|
-
interface LineNumberProperties {
|
|
2579
|
-
countBy?: number;
|
|
2580
|
-
start?: number;
|
|
2581
|
-
restart?: (typeof LineNumberRestartFormat)[keyof typeof LineNumberRestartFormat];
|
|
2582
|
-
distance?: number | PositiveUniversalMeasure;
|
|
2583
|
-
}
|
|
2584
|
-
declare const createLineNumberType: ({
|
|
2585
|
-
countBy,
|
|
2586
|
-
start,
|
|
2587
|
-
restart,
|
|
2588
|
-
distance
|
|
2589
|
-
}: LineNumberProperties) => string;
|
|
2590
|
-
//#endregion
|
|
2591
|
-
//#region src/parts/document/body/section-properties/properties/section-type.d.ts
|
|
2592
|
-
declare const SectionType: {
|
|
2593
|
-
readonly NEXT_PAGE: "nextPage";
|
|
2594
|
-
readonly NEXT_COLUMN: "nextColumn";
|
|
2595
|
-
readonly CONTINUOUS: "continuous";
|
|
2596
|
-
readonly EVEN_PAGE: "evenPage";
|
|
2597
|
-
readonly ODD_PAGE: "oddPage";
|
|
2598
|
-
};
|
|
2599
|
-
declare const createSectionType: (value: (typeof SectionType)[keyof typeof SectionType]) => string;
|
|
2600
|
-
//#endregion
|
|
2601
|
-
//#region src/parts/document/body/section-properties/properties/header-footer-reference.d.ts
|
|
2602
|
-
declare const HeaderFooterReferenceType: {
|
|
2603
|
-
readonly DEFAULT: "default";
|
|
2604
|
-
readonly FIRST: "first";
|
|
2605
|
-
readonly EVEN: "even";
|
|
2606
|
-
};
|
|
2607
|
-
interface HeaderFooterReferenceOptions {
|
|
2608
|
-
type?: (typeof HeaderFooterReferenceType)[keyof typeof HeaderFooterReferenceType];
|
|
2609
|
-
id?: number;
|
|
2610
|
-
}
|
|
2611
|
-
declare const HeaderFooterType: {
|
|
2612
|
-
readonly FOOTER: "w:footerReference";
|
|
2613
|
-
readonly HEADER: "w:headerReference";
|
|
2614
|
-
};
|
|
2615
|
-
declare const createHeaderFooterReference: (type: (typeof HeaderFooterType)[keyof typeof HeaderFooterType], options: HeaderFooterReferenceOptions) => string;
|
|
2616
|
-
//#endregion
|
|
2617
|
-
//#region src/parts/document/body/section-properties/descriptor.d.ts
|
|
2618
|
-
declare const sectionPropertiesDesc: CustomDescriptor<SectionPropertiesOptions, BodyContext>;
|
|
2619
|
-
declare function stringifySectionPropertiesXml(opts: SectionPropertiesOptions): string;
|
|
2620
|
-
declare function parseSectionPropertiesEl(el: Element): SectionPropertiesOptions;
|
|
2621
|
-
//#endregion
|
|
2622
|
-
//#region src/parts/sub-doc/sub-doc.d.ts
|
|
2623
|
-
interface SubDocOptions {
|
|
2624
|
-
data: DataType;
|
|
2625
|
-
}
|
|
2626
|
-
//#endregion
|
|
2627
|
-
//#region src/parts/textbox/types.d.ts
|
|
2628
|
-
type LengthUnit = "auto" | number | Percentage | UniversalMeasure | RelativeMeasure;
|
|
2629
|
-
//#endregion
|
|
2630
|
-
//#region src/parts/textbox/shape/shape.d.ts
|
|
2631
|
-
interface VmlShapeStyle {
|
|
2632
|
-
flip?: "x" | "y" | "xy" | "yx";
|
|
2633
|
-
height?: LengthUnit;
|
|
2634
|
-
left?: LengthUnit;
|
|
2635
|
-
marginBottom?: LengthUnit;
|
|
2636
|
-
marginLeft?: LengthUnit;
|
|
2637
|
-
marginRight?: LengthUnit;
|
|
2638
|
-
marginTop?: LengthUnit;
|
|
2639
|
-
positionHorizontal?: "absolute" | "left" | "center" | "right" | "inside" | "outside";
|
|
2640
|
-
positionHorizontalRelative?: "margin" | "page" | "text" | "char";
|
|
2641
|
-
positionVertical?: "absolute" | "left" | "center" | "right" | "inside" | "outside";
|
|
2642
|
-
positionVerticalRelative?: "margin" | "page" | "text" | "char";
|
|
2643
|
-
wrapDistanceBottom?: number;
|
|
2644
|
-
wrapDistanceLeft?: number;
|
|
2645
|
-
wrapDistanceRight?: number;
|
|
2646
|
-
wrapDistanceTop?: number;
|
|
2647
|
-
wrapEdited?: boolean;
|
|
2648
|
-
wrapStyle?: "square" | "none";
|
|
2649
|
-
position?: "static" | "absolute" | "relative";
|
|
2650
|
-
rotation?: number;
|
|
2651
|
-
top?: LengthUnit;
|
|
2652
|
-
visibility?: "hidden" | "inherit";
|
|
2653
|
-
width: LengthUnit;
|
|
2654
|
-
zIndex?: "auto" | number;
|
|
2655
|
-
}
|
|
2656
|
-
//#endregion
|
|
2657
|
-
//#region src/shared/section.d.ts
|
|
2658
|
-
type SectionChild = {
|
|
2659
|
-
paragraph: string | ParagraphOptions;
|
|
2660
|
-
} | {
|
|
2661
|
-
table: TableOptions;
|
|
2662
|
-
} | {
|
|
2663
|
-
toc: TableOfContentsOptions & {
|
|
2664
|
-
alias?: string;
|
|
2665
|
-
};
|
|
2666
|
-
} | {
|
|
2667
|
-
textbox: Omit<ParagraphOptions, "style" | "children"> & {
|
|
2668
|
-
style?: VmlShapeStyle;
|
|
2669
|
-
children?: SectionChild[];
|
|
2670
|
-
};
|
|
2671
|
-
} | {
|
|
2672
|
-
sdt: {
|
|
2673
|
-
properties: SdtPropertiesOptions;
|
|
2674
|
-
children?: SectionChild[];
|
|
2675
|
-
};
|
|
2676
|
-
} | {
|
|
2677
|
-
altChunk: AltChunkOptions;
|
|
2678
|
-
} | {
|
|
2679
|
-
subDoc: SubDocOptions;
|
|
2680
|
-
} | {
|
|
2681
|
-
customXml: CustomXmlBlockOptions;
|
|
2682
|
-
} | {
|
|
2683
|
-
bookmarkStart: BookmarkStartOptions;
|
|
2684
|
-
} | {
|
|
2685
|
-
bookmarkEnd: MarkupRangeOptions;
|
|
2686
|
-
} | {
|
|
2687
|
-
rawXml: string;
|
|
2688
|
-
};
|
|
2689
|
-
interface SectionOptions {
|
|
2690
|
-
headers?: {
|
|
2691
|
-
default?: SectionChild[];
|
|
2692
|
-
first?: SectionChild[];
|
|
2693
|
-
even?: SectionChild[];
|
|
2694
|
-
};
|
|
2695
|
-
footers?: {
|
|
2696
|
-
default?: SectionChild[];
|
|
2697
|
-
first?: SectionChild[];
|
|
2698
|
-
even?: SectionChild[];
|
|
2699
|
-
};
|
|
2700
|
-
properties?: SectionPropertiesOptions;
|
|
2701
|
-
children: SectionChild[];
|
|
2702
|
-
}
|
|
2703
|
-
//#endregion
|
|
2704
|
-
//#region src/parts/document/document-attributes.d.ts
|
|
2705
|
-
declare const DocumentAttributeNamespaces: {
|
|
2706
|
-
aink: string;
|
|
2707
|
-
am3d: string;
|
|
2708
|
-
cp: string;
|
|
2709
|
-
cx: string;
|
|
2710
|
-
cx1: string;
|
|
2711
|
-
cx2: string;
|
|
2712
|
-
cx3: string;
|
|
2713
|
-
cx4: string;
|
|
2714
|
-
cx5: string;
|
|
2715
|
-
cx6: string;
|
|
2716
|
-
cx7: string;
|
|
2717
|
-
cx8: string;
|
|
2718
|
-
dc: string;
|
|
2719
|
-
dcmitype: string;
|
|
2720
|
-
dcterms: string;
|
|
2721
|
-
m: string;
|
|
2722
|
-
mc: string;
|
|
2723
|
-
o: string;
|
|
2724
|
-
r: string;
|
|
2725
|
-
v: string;
|
|
2726
|
-
w: string;
|
|
2727
|
-
w10: string;
|
|
2728
|
-
w14: string;
|
|
2729
|
-
w15: string;
|
|
2730
|
-
w16: string;
|
|
2731
|
-
w16cex: string;
|
|
2732
|
-
w16cid: string;
|
|
2733
|
-
w16sdtdh: string;
|
|
2734
|
-
w16se: string;
|
|
2735
|
-
wne: string;
|
|
2736
|
-
wp: string;
|
|
2737
|
-
wp14: string;
|
|
2738
|
-
wpc: string;
|
|
2739
|
-
wpg: string;
|
|
2740
|
-
wpi: string;
|
|
2741
|
-
wps: string;
|
|
2742
|
-
xsi: string;
|
|
2743
|
-
};
|
|
2744
|
-
type DocumentAttributeNamespace = keyof typeof DocumentAttributeNamespaces;
|
|
2745
|
-
//#endregion
|
|
2746
|
-
//#region src/parts/header-footer.d.ts
|
|
2747
|
-
interface HeaderFooterEntry {
|
|
2748
|
-
children: SectionChild[];
|
|
2749
|
-
relationships: Relationships;
|
|
2750
|
-
referenceId: number;
|
|
2751
|
-
}
|
|
2752
|
-
//#endregion
|
|
2753
|
-
//#region src/parts/document/body/section-properties/properties/footnote-endnote-properties.d.ts
|
|
2754
|
-
declare const FootnotePositionType: {
|
|
2755
|
-
readonly PAGE_BOTTOM: "pageBottom";
|
|
2756
|
-
readonly BENEATH_TEXT: "beneathText";
|
|
2757
|
-
readonly SECT_END: "sectEnd";
|
|
2758
|
-
readonly DOC_END: "docEnd";
|
|
2759
|
-
};
|
|
2760
|
-
declare const EndnotePositionType: {
|
|
2761
|
-
readonly SECT_END: "sectEnd";
|
|
2762
|
-
readonly DOC_END: "docEnd";
|
|
2763
|
-
};
|
|
2764
|
-
declare const NumberRestartType: {
|
|
2765
|
-
readonly CONTINUOUS: "continuous";
|
|
2766
|
-
readonly EACH_SECT: "eachSect";
|
|
2767
|
-
readonly EACH_PAGE: "eachPage";
|
|
2768
|
-
};
|
|
2769
|
-
interface NumberPropertiesOptions {
|
|
2770
|
-
formatType?: (typeof NumberFormat)[keyof typeof NumberFormat];
|
|
2771
|
-
format?: string;
|
|
2772
|
-
numStart?: number;
|
|
2773
|
-
numRestart?: (typeof NumberRestartType)[keyof typeof NumberRestartType];
|
|
2774
|
-
}
|
|
2775
|
-
interface FootnotePropertiesOptions$1 extends NumberPropertiesOptions {
|
|
2776
|
-
pos?: (typeof FootnotePositionType)[keyof typeof FootnotePositionType];
|
|
2777
|
-
}
|
|
2778
|
-
interface EndnotePropertiesOptions$1 extends NumberPropertiesOptions {
|
|
2779
|
-
pos?: (typeof EndnotePositionType)[keyof typeof EndnotePositionType];
|
|
2780
|
-
}
|
|
2781
|
-
//#endregion
|
|
2782
|
-
//#region src/parts/document/body/section-properties/section-properties.d.ts
|
|
2783
|
-
interface HeaderFooterGroup<T> {
|
|
2784
|
-
default?: T;
|
|
2785
|
-
first?: T;
|
|
2786
|
-
even?: T;
|
|
2787
|
-
}
|
|
2788
|
-
interface SectionPropertiesOptionsBase {
|
|
2789
|
-
runPropertiesRsid?: string;
|
|
2790
|
-
deletionRsid?: string;
|
|
2791
|
-
rsid?: string;
|
|
2792
|
-
sectionRsid?: string;
|
|
2793
|
-
page?: {
|
|
2794
|
-
size?: PageSizeProperties;
|
|
2795
|
-
margin?: PageMarginProperties;
|
|
2796
|
-
pageNumbers?: PageNumberTypeProperties;
|
|
2797
|
-
borders?: PageBordersOptions;
|
|
2798
|
-
textDirection?: (typeof PageTextDirectionType)[keyof typeof PageTextDirectionType];
|
|
2799
|
-
};
|
|
2800
|
-
grid?: DocGridProperties | false;
|
|
2801
|
-
headerWrapperGroup?: HeaderFooterGroup<HeaderFooterEntry>;
|
|
2802
|
-
footerWrapperGroup?: HeaderFooterGroup<HeaderFooterEntry>;
|
|
2803
|
-
lineNumbers?: LineNumberProperties;
|
|
2804
|
-
titlePage?: boolean;
|
|
2805
|
-
verticalAlign?: SectionVerticalAlign;
|
|
2806
|
-
column?: ColumnsProperties;
|
|
2807
|
-
type?: (typeof SectionType)[keyof typeof SectionType];
|
|
2808
|
-
noEndnote?: boolean;
|
|
2809
|
-
formProtection?: boolean;
|
|
2810
|
-
bidi?: boolean;
|
|
2811
|
-
rtlGutter?: boolean;
|
|
2812
|
-
paperSrc?: {
|
|
2813
|
-
first?: number;
|
|
2814
|
-
other?: number;
|
|
2815
|
-
};
|
|
2816
|
-
footnotePr?: FootnotePropertiesOptions$1;
|
|
2817
|
-
endnotePr?: EndnotePropertiesOptions$1;
|
|
2818
|
-
printerSettingsId?: string;
|
|
2819
|
-
}
|
|
2820
|
-
type SectionPropertiesChangeOptions = ChangedProperties & SectionPropertiesOptionsBase;
|
|
2821
|
-
type SectionPropertiesOptions = {
|
|
2822
|
-
revision?: SectionPropertiesChangeOptions;
|
|
2823
|
-
} & SectionPropertiesOptionsBase;
|
|
2824
|
-
declare const sectionMarginDefaults: {
|
|
2825
|
-
TOP: number;
|
|
2826
|
-
RIGHT: number;
|
|
2827
|
-
BOTTOM: number;
|
|
2828
|
-
LEFT: number;
|
|
2829
|
-
HEADER: number;
|
|
2830
|
-
FOOTER: number;
|
|
2831
|
-
GUTTER: number;
|
|
2832
|
-
};
|
|
2833
|
-
declare const sectionPageSizeDefaults: {
|
|
2834
|
-
WIDTH: number;
|
|
2835
|
-
HEIGHT: number;
|
|
2836
|
-
ORIENTATION: "portrait";
|
|
2837
|
-
};
|
|
2838
|
-
//#endregion
|
|
2839
|
-
//#region src/parts/endnotes/descriptor.d.ts
|
|
2840
|
-
interface EndnoteSeparator {
|
|
2841
|
-
id: number;
|
|
2842
|
-
paragraphs: (ParagraphOptions | string)[];
|
|
2843
|
-
}
|
|
2844
|
-
interface EndnotesData {
|
|
2845
|
-
notes: Map<number, (ParagraphOptions | string)[]>;
|
|
2846
|
-
separator?: EndnoteSeparator;
|
|
2847
|
-
continuationSeparator?: EndnoteSeparator;
|
|
2848
|
-
}
|
|
2849
|
-
declare const endnotesDesc: CustomDescriptor<EndnotesData, BodyContext>;
|
|
2850
|
-
//#endregion
|
|
2851
|
-
//#region src/parts/footnotes/descriptor.d.ts
|
|
2852
|
-
interface FootnoteSeparator {
|
|
2853
|
-
id: number;
|
|
2854
|
-
paragraphs: (ParagraphOptions | string)[];
|
|
2855
|
-
}
|
|
2856
|
-
interface FootnotesData {
|
|
2857
|
-
notes: Map<number, (ParagraphOptions | string)[]>;
|
|
2858
|
-
separator?: FootnoteSeparator;
|
|
2859
|
-
continuationSeparator?: FootnoteSeparator;
|
|
2860
|
-
}
|
|
2861
|
-
declare const footnotesDesc: CustomDescriptor<FootnotesData, BodyContext>;
|
|
2862
|
-
//#endregion
|
|
2863
|
-
//#region src/parts/glossary-document.d.ts
|
|
2864
|
-
declare const DocPartGallery: {
|
|
2865
|
-
readonly PLACEHOLDER: "placeholder";
|
|
2866
|
-
readonly DEFAULT: "default";
|
|
2867
|
-
readonly DOC_PARTS: "docParts";
|
|
2868
|
-
readonly COVER_PAGE: "coverPg";
|
|
2869
|
-
readonly EQUATIONS: "eq";
|
|
2870
|
-
readonly FOOTERS: "ftrs";
|
|
2871
|
-
readonly HEADERS: "hdrs";
|
|
2872
|
-
readonly PAGE_NUMBERS: "pgNum";
|
|
2873
|
-
readonly TABLES: "tbls";
|
|
2874
|
-
readonly WATERMARKS: "watermarks";
|
|
2875
|
-
readonly AUTO_TEXT: "autoTxt";
|
|
2876
|
-
readonly TEXT_BOX: "txtBox";
|
|
2877
|
-
readonly PAGE_NUMBERS_TOP: "pgNumT";
|
|
2878
|
-
readonly PAGE_NUMBERS_BOTTOM: "pgNumB";
|
|
2879
|
-
readonly PAGE_NUMBERS_MARGIN: "pgNumMargins";
|
|
2880
|
-
readonly TABLE_OF_CONTENTS: "tblOfContents";
|
|
2881
|
-
readonly BIBLIOGRAPHY: "bib";
|
|
2882
|
-
readonly CUSTOM_QUICK_PARTS: "custQuickParts";
|
|
2883
|
-
readonly CUSTOM_COVER_PAGE: "custCoverPg";
|
|
2884
|
-
readonly CUSTOM_EQUATIONS: "custEq";
|
|
2885
|
-
readonly CUSTOM_FOOTERS: "custFtrs";
|
|
2886
|
-
readonly CUSTOM_HEADERS: "custHdrs";
|
|
2887
|
-
readonly CUSTOM_PAGE_NUMBERS: "custPgNum";
|
|
2888
|
-
readonly CUSTOM_TABLES: "custTbls";
|
|
2889
|
-
readonly CUSTOM_WATERMARKS: "custWatermarks";
|
|
2890
|
-
readonly CUSTOM_AUTO_TEXT: "custAutoTxt";
|
|
2891
|
-
readonly CUSTOM_TEXT_BOX: "custTxtBox";
|
|
2892
|
-
readonly CUSTOM_PAGE_NUMBERS_TOP: "custPgNumT";
|
|
2893
|
-
readonly CUSTOM_PAGE_NUMBERS_BOTTOM: "custPgNumB";
|
|
2894
|
-
readonly CUSTOM_PAGE_NUMBERS_MARGIN: "custPgNumMargins";
|
|
2895
|
-
readonly CUSTOM_TABLE_OF_CONTENTS: "custTblOfContents";
|
|
2896
|
-
readonly CUSTOM_BIBLIOGRAPHY: "custBib";
|
|
2897
|
-
readonly CUSTOM1: "custom1";
|
|
2898
|
-
readonly CUSTOM2: "custom2";
|
|
2899
|
-
readonly CUSTOM3: "custom3";
|
|
2900
|
-
readonly CUSTOM4: "custom4";
|
|
2901
|
-
readonly CUSTOM5: "custom5";
|
|
2902
|
-
};
|
|
2903
|
-
type DocPartGallery = (typeof DocPartGallery)[keyof typeof DocPartGallery];
|
|
2904
|
-
declare const DocPartType: {
|
|
2905
|
-
readonly NONE: "none";
|
|
2906
|
-
readonly NORMAL: "normal";
|
|
2907
|
-
readonly AUTO_EXPAND: "autoExp";
|
|
2908
|
-
readonly TOOLBAR: "toolbar";
|
|
2909
|
-
readonly SPELLER: "speller";
|
|
2910
|
-
readonly FORM_FIELD: "formFld";
|
|
2911
|
-
readonly BUILDING_BLOCK_PLACEHOLDER: "bbPlcHdr";
|
|
2912
|
-
};
|
|
2913
|
-
type DocPartType = (typeof DocPartType)[keyof typeof DocPartType];
|
|
2914
|
-
declare const DocPartBehavior: {
|
|
2915
|
-
readonly CONTENT: "content";
|
|
2916
|
-
readonly PARAGRAPH: "p";
|
|
2917
|
-
readonly PAGE: "pg";
|
|
2918
|
-
};
|
|
2919
|
-
type DocPartBehavior = (typeof DocPartBehavior)[keyof typeof DocPartBehavior];
|
|
2920
|
-
interface DocPartOptions {
|
|
2921
|
-
name: string;
|
|
2922
|
-
gallery: DocPartGallery;
|
|
2923
|
-
category?: string;
|
|
2924
|
-
types?: DocPartType[];
|
|
2925
|
-
allTypes?: boolean;
|
|
2926
|
-
behaviors?: DocPartBehavior[];
|
|
2927
|
-
description?: string;
|
|
2928
|
-
guid?: string;
|
|
2929
|
-
decorated?: boolean;
|
|
2930
|
-
children: SectionChild[];
|
|
2931
|
-
}
|
|
2932
|
-
interface GlossaryDocumentOptions {
|
|
2933
|
-
parts: DocPartOptions[];
|
|
2934
|
-
}
|
|
2935
|
-
declare const glossaryDesc: CustomDescriptor<GlossaryDocumentOptions, BodyContext>;
|
|
2936
|
-
//#endregion
|
|
2937
|
-
//#region src/parts/numbering/level.d.ts
|
|
2938
|
-
declare const LevelFormat: {
|
|
2939
|
-
readonly DECIMAL: "decimal";
|
|
2940
|
-
readonly UPPER_ROMAN: "upperRoman";
|
|
2941
|
-
readonly LOWER_ROMAN: "lowerRoman";
|
|
2942
|
-
readonly UPPER_LETTER: "upperLetter";
|
|
2943
|
-
readonly LOWER_LETTER: "lowerLetter";
|
|
2944
|
-
readonly ORDINAL: "ordinal";
|
|
2945
|
-
readonly CARDINAL_TEXT: "cardinalText";
|
|
2946
|
-
readonly ORDINAL_TEXT: "ordinalText";
|
|
2947
|
-
readonly HEX: "hex";
|
|
2948
|
-
readonly CHICAGO: "chicago";
|
|
2949
|
-
readonly IDEOGRAPH__DIGITAL: "ideographDigital";
|
|
2950
|
-
readonly JAPANESE_COUNTING: "japaneseCounting";
|
|
2951
|
-
readonly AIUEO: "aiueo";
|
|
2952
|
-
readonly IROHA: "iroha";
|
|
2953
|
-
readonly DECIMAL_FULL_WIDTH: "decimalFullWidth";
|
|
2954
|
-
readonly DECIMAL_HALF_WIDTH: "decimalHalfWidth";
|
|
2955
|
-
readonly JAPANESE_LEGAL: "japaneseLegal";
|
|
2956
|
-
readonly JAPANESE_DIGITAL_TEN_THOUSAND: "japaneseDigitalTenThousand";
|
|
2957
|
-
readonly DECIMAL_ENCLOSED_CIRCLE: "decimalEnclosedCircle";
|
|
2958
|
-
readonly DECIMAL_FULL_WIDTH2: "decimalFullWidth2";
|
|
2959
|
-
readonly AIUEO_FULL_WIDTH: "aiueoFullWidth";
|
|
2960
|
-
readonly IROHA_FULL_WIDTH: "irohaFullWidth";
|
|
2961
|
-
readonly DECIMAL_ZERO: "decimalZero";
|
|
2962
|
-
readonly BULLET: "bullet";
|
|
2963
|
-
readonly GANADA: "ganada";
|
|
2964
|
-
readonly CHOSUNG: "chosung";
|
|
2965
|
-
readonly DECIMAL_ENCLOSED_FULLSTOP: "decimalEnclosedFullstop";
|
|
2966
|
-
readonly DECIMAL_ENCLOSED_PARENTHESES: "decimalEnclosedParen";
|
|
2967
|
-
readonly DECIMAL_ENCLOSED_CIRCLE_CHINESE: "decimalEnclosedCircleChinese";
|
|
2968
|
-
readonly IDEOGRAPH_ENCLOSED_CIRCLE: "ideographEnclosedCircle";
|
|
2969
|
-
readonly IDEOGRAPH_TRADITIONAL: "ideographTraditional";
|
|
2970
|
-
readonly IDEOGRAPH_ZODIAC: "ideographZodiac";
|
|
2971
|
-
readonly IDEOGRAPH_ZODIAC_TRADITIONAL: "ideographZodiacTraditional";
|
|
2972
|
-
readonly TAIWANESE_COUNTING: "taiwaneseCounting";
|
|
2973
|
-
readonly IDEOGRAPH_LEGAL_TRADITIONAL: "ideographLegalTraditional";
|
|
2974
|
-
readonly TAIWANESE_COUNTING_THOUSAND: "taiwaneseCountingThousand";
|
|
2975
|
-
readonly TAIWANESE_DIGITAL: "taiwaneseDigital";
|
|
2976
|
-
readonly CHINESE_COUNTING: "chineseCounting";
|
|
2977
|
-
readonly CHINESE_LEGAL_SIMPLIFIED: "chineseLegalSimplified";
|
|
2978
|
-
readonly CHINESE_COUNTING_THOUSAND: "chineseCountingThousand";
|
|
2979
|
-
readonly KOREAN_DIGITAL: "koreanDigital";
|
|
2980
|
-
readonly KOREAN_COUNTING: "koreanCounting";
|
|
2981
|
-
readonly KOREAN_LEGAL: "koreanLegal";
|
|
2982
|
-
readonly KOREAN_DIGITAL2: "koreanDigital2";
|
|
2983
|
-
readonly VIETNAMESE_COUNTING: "vietnameseCounting";
|
|
2984
|
-
readonly RUSSIAN_LOWER: "russianLower";
|
|
2985
|
-
readonly RUSSIAN_UPPER: "russianUpper";
|
|
2986
|
-
readonly NONE: "none";
|
|
2987
|
-
readonly NUMBER_IN_DASH: "numberInDash";
|
|
2988
|
-
readonly HEBREW1: "hebrew1";
|
|
2989
|
-
readonly HEBREW2: "hebrew2";
|
|
2990
|
-
readonly ARABIC_ALPHA: "arabicAlpha";
|
|
2991
|
-
readonly ARABIC_ABJAD: "arabicAbjad";
|
|
2992
|
-
readonly HINDI_VOWELS: "hindiVowels";
|
|
2993
|
-
readonly HINDI_CONSONANTS: "hindiConsonants";
|
|
2994
|
-
readonly HINDI_NUMBERS: "hindiNumbers";
|
|
2995
|
-
readonly HINDI_COUNTING: "hindiCounting";
|
|
2996
|
-
readonly THAI_LETTERS: "thaiLetters";
|
|
2997
|
-
readonly THAI_NUMBERS: "thaiNumbers";
|
|
2998
|
-
readonly THAI_COUNTING: "thaiCounting";
|
|
2999
|
-
readonly BAHT_TEXT: "bahtText";
|
|
3000
|
-
readonly DOLLAR_TEXT: "dollarText";
|
|
3001
|
-
readonly CUSTOM: "custom";
|
|
3002
|
-
};
|
|
3003
|
-
declare const LevelSuffix: {
|
|
3004
|
-
readonly NOTHING: "nothing";
|
|
3005
|
-
readonly SPACE: "space";
|
|
3006
|
-
readonly TAB: "tab";
|
|
3007
|
-
};
|
|
3008
|
-
interface LevelsOptions {
|
|
3009
|
-
level: number;
|
|
3010
|
-
format?: (typeof LevelFormat)[keyof typeof LevelFormat];
|
|
3011
|
-
text?: string;
|
|
3012
|
-
textNull?: boolean;
|
|
3013
|
-
alignment?: (typeof AlignmentType)[keyof typeof AlignmentType];
|
|
3014
|
-
start?: number;
|
|
3015
|
-
suffix?: (typeof LevelSuffix)[keyof typeof LevelSuffix];
|
|
3016
|
-
isLegalNumberingStyle?: boolean;
|
|
3017
|
-
lvlRestart?: number;
|
|
3018
|
-
paragraphStyle?: string;
|
|
3019
|
-
lvlPicBulletId?: number;
|
|
3020
|
-
templateCode?: string;
|
|
3021
|
-
tentative?: boolean;
|
|
3022
|
-
w15Tentative?: boolean;
|
|
3023
|
-
legacy?: {
|
|
3024
|
-
enabled?: boolean;
|
|
3025
|
-
space?: number;
|
|
3026
|
-
indent?: number;
|
|
3027
|
-
};
|
|
3028
|
-
style?: {
|
|
3029
|
-
run?: RunStylePropertiesOptions;
|
|
3030
|
-
paragraph?: LevelParagraphStylePropertiesOptions;
|
|
3031
|
-
};
|
|
3032
|
-
}
|
|
3033
|
-
//#endregion
|
|
3034
|
-
//#region src/parts/numbering/numbering.d.ts
|
|
3035
|
-
interface NumberingOptions {
|
|
3036
|
-
config: {
|
|
3037
|
-
levels: LevelsOptions[];
|
|
3038
|
-
reference: string;
|
|
3039
|
-
extraOptions?: AbstractNumberingExtraOptions;
|
|
3040
|
-
}[];
|
|
3041
|
-
numIdMacAtCleanup?: number;
|
|
3042
|
-
numPicBullets?: {
|
|
3043
|
-
numPicBulletId: number;
|
|
3044
|
-
pict?: string;
|
|
3045
|
-
}[];
|
|
3046
|
-
}
|
|
3047
|
-
declare class Numbering {
|
|
3048
|
-
private abstractNumberingData;
|
|
3049
|
-
private concreteNumberingData;
|
|
3050
|
-
private referenceConfigMap;
|
|
3051
|
-
private abstractNumUniqueNumericId;
|
|
3052
|
-
private concreteNumUniqueNumericId;
|
|
3053
|
-
private _numIdMacAtCleanup?;
|
|
3054
|
-
private _numPicBullets?;
|
|
3055
|
-
constructor(options: NumberingOptions);
|
|
3056
|
-
serialize(): string;
|
|
3057
|
-
createConcreteNumberingInstance(reference: string, instance: number): void;
|
|
3058
|
-
get concreteNumbering(): {
|
|
3059
|
-
numId: number;
|
|
3060
|
-
reference: string;
|
|
3061
|
-
instance: number;
|
|
3062
|
-
}[];
|
|
3063
|
-
get referenceConfig(): LevelsOptions[][];
|
|
3064
|
-
}
|
|
3065
|
-
interface AbstractNumberingExtraOptions {
|
|
3066
|
-
nsid?: string;
|
|
3067
|
-
multiLevelType?: string;
|
|
3068
|
-
restartNumberingAfterBreak?: boolean;
|
|
3069
|
-
tmpl?: string;
|
|
3070
|
-
name?: string;
|
|
3071
|
-
styleLink?: string;
|
|
3072
|
-
numStyleLink?: string;
|
|
3073
|
-
}
|
|
3074
|
-
declare function parseNumberingDefinitions(el: Element, parseParagraphProperties: (el: Element, ctx: DocxReadContext) => Partial<ParagraphPropertiesOptions>, ctx: DocxReadContext): NumberingOptions | undefined;
|
|
3075
|
-
//#endregion
|
|
3076
|
-
//#region src/parts/numbering/abstract-numbering.d.ts
|
|
3077
|
-
interface AbstractNumberingOptions {
|
|
3078
|
-
nsid?: string;
|
|
3079
|
-
tmpl?: string;
|
|
3080
|
-
name?: string;
|
|
3081
|
-
styleLink?: string;
|
|
3082
|
-
numStyleLink?: string;
|
|
3083
|
-
}
|
|
3084
|
-
//#endregion
|
|
3085
|
-
//#region src/parts/numbering/num.d.ts
|
|
3086
|
-
interface OverrideLevel {
|
|
3087
|
-
num: number;
|
|
3088
|
-
start?: number;
|
|
3089
|
-
}
|
|
3090
|
-
interface ConcreteNumberingOptions {
|
|
3091
|
-
numId: number;
|
|
3092
|
-
abstractNumId: number;
|
|
3093
|
-
reference: string;
|
|
3094
|
-
instance: number;
|
|
3095
|
-
overrideLevels?: OverrideLevel[];
|
|
3096
|
-
}
|
|
3097
|
-
//#endregion
|
|
3098
|
-
//#region src/parts/settings/compatibility.d.ts
|
|
3099
|
-
interface CompatibilityOptions {
|
|
3100
|
-
version?: number;
|
|
3101
|
-
useSingleBorderforContiguousCells?: boolean;
|
|
3102
|
-
wordPerfectJustification?: boolean;
|
|
3103
|
-
noTabStopForHangingIndent?: boolean;
|
|
3104
|
-
noLeading?: boolean;
|
|
3105
|
-
spaceForUnderline?: boolean;
|
|
3106
|
-
noColumnBalance?: boolean;
|
|
3107
|
-
balanceSingleByteDoubleByteWidth?: boolean;
|
|
3108
|
-
noExtraLineSpacing?: boolean;
|
|
3109
|
-
doNotLeaveBackslashAlone?: boolean;
|
|
3110
|
-
underlineTrailingSpaces?: boolean;
|
|
3111
|
-
doNotExpandShiftReturn?: boolean;
|
|
3112
|
-
spacingInWholePoints?: boolean;
|
|
3113
|
-
lineWrapLikeWord6?: boolean;
|
|
3114
|
-
printBodyTextBeforeHeader?: boolean;
|
|
3115
|
-
printColorsBlack?: boolean;
|
|
3116
|
-
spaceWidth?: boolean;
|
|
3117
|
-
showBreaksInFrames?: boolean;
|
|
3118
|
-
subFontBySize?: boolean;
|
|
3119
|
-
suppressBottomSpacing?: boolean;
|
|
3120
|
-
suppressTopSpacing?: boolean;
|
|
3121
|
-
suppressSpacingAtTopOfPage?: boolean;
|
|
3122
|
-
suppressTopSpacingWP?: boolean;
|
|
3123
|
-
suppressSpBfAfterPgBrk?: boolean;
|
|
3124
|
-
swapBordersFacingPages?: boolean;
|
|
3125
|
-
convertMailMergeEsc?: boolean;
|
|
3126
|
-
truncateFontHeightsLikeWP6?: boolean;
|
|
3127
|
-
macWordSmallCaps?: boolean;
|
|
3128
|
-
usePrinterMetrics?: boolean;
|
|
3129
|
-
doNotSuppressParagraphBorders?: boolean;
|
|
3130
|
-
wrapTrailSpaces?: boolean;
|
|
3131
|
-
footnoteLayoutLikeWW8?: boolean;
|
|
3132
|
-
shapeLayoutLikeWW8?: boolean;
|
|
3133
|
-
alignTablesRowByRow?: boolean;
|
|
3134
|
-
forgetLastTabAlignment?: boolean;
|
|
3135
|
-
adjustLineHeightInTable?: boolean;
|
|
3136
|
-
autoSpaceLikeWord95?: boolean;
|
|
3137
|
-
noSpaceRaiseLower?: boolean;
|
|
3138
|
-
doNotUseHTMLParagraphAutoSpacing?: boolean;
|
|
3139
|
-
layoutRawTableWidth?: boolean;
|
|
3140
|
-
layoutTableRowsApart?: boolean;
|
|
3141
|
-
useWord97LineBreakRules?: boolean;
|
|
3142
|
-
doNotBreakWrappedTables?: boolean;
|
|
3143
|
-
doNotSnapToGridInCell?: boolean;
|
|
3144
|
-
selectFieldWithFirstOrLastCharacter?: boolean;
|
|
3145
|
-
applyBreakingRules?: boolean;
|
|
3146
|
-
doNotWrapTextWithPunctuation?: boolean;
|
|
3147
|
-
doNotUseEastAsianBreakRules?: boolean;
|
|
3148
|
-
useWord2002TableStyleRules?: boolean;
|
|
3149
|
-
growAutofit?: boolean;
|
|
3150
|
-
useFELayout?: boolean;
|
|
3151
|
-
useNormalStyleForList?: boolean;
|
|
3152
|
-
doNotUseIndentAsNumberingTabStop?: boolean;
|
|
3153
|
-
useAlternateEastAsianLineBreakRules?: boolean;
|
|
3154
|
-
allowSpaceOfSameStyleInTable?: boolean;
|
|
3155
|
-
doNotSuppressIndentation?: boolean;
|
|
3156
|
-
doNotAutofitConstrainedTables?: boolean;
|
|
3157
|
-
autofitToFirstFixedWidthCell?: boolean;
|
|
3158
|
-
underlineTabInNumberingList?: boolean;
|
|
3159
|
-
displayHangulFixedWidth?: boolean;
|
|
3160
|
-
splitPgBreakAndParaMark?: boolean;
|
|
3161
|
-
doNotVerticallyAlignCellWithSp?: boolean;
|
|
3162
|
-
doNotBreakConstrainedForcedTable?: boolean;
|
|
3163
|
-
ignoreVerticalAlignmentInTextboxes?: boolean;
|
|
3164
|
-
useAnsiKerningPairs?: boolean;
|
|
3165
|
-
cachedColumnBalance?: boolean;
|
|
3166
|
-
overrideTableStyleFontSizeAndJustification?: boolean;
|
|
3167
|
-
enableOpenTypeFeatures?: boolean;
|
|
3168
|
-
doNotFlipMirrorIndents?: boolean;
|
|
3169
|
-
compatSettings?: CompatSettingOptions[];
|
|
3170
|
-
}
|
|
3171
|
-
interface CompatSettingOptions {
|
|
3172
|
-
name: string;
|
|
3173
|
-
val: string;
|
|
3174
|
-
uri?: string;
|
|
3175
|
-
}
|
|
3176
|
-
//#endregion
|
|
3177
|
-
//#region src/parts/settings/settings.d.ts
|
|
3178
|
-
interface SettingsOptions {
|
|
3179
|
-
rawXml?: string;
|
|
3180
|
-
rootAttributes?: Record<string, string>;
|
|
3181
|
-
compatibilityModeVersion?: number;
|
|
3182
|
-
evenAndOddHeaders?: boolean;
|
|
3183
|
-
trackRevisions?: boolean;
|
|
3184
|
-
doNotTrackFormatting?: boolean;
|
|
3185
|
-
doNotTrackMoves?: boolean;
|
|
3186
|
-
revisionView?: RevisionViewOptions;
|
|
3187
|
-
updateFields?: boolean;
|
|
3188
|
-
compatibility?: CompatibilityOptions | false;
|
|
3189
|
-
defaultTabStop?: number;
|
|
3190
|
-
hyphenation?: HyphenationOptions;
|
|
3191
|
-
characterSpacingControl?: "compressPunctuation" | "doNotCompress";
|
|
3192
|
-
documentProtection?: DocumentProtectionOptions;
|
|
3193
|
-
view?: "none" | "print" | "outline" | "masterPages" | "normal" | "web";
|
|
3194
|
-
zoom?: {
|
|
3195
|
-
percent?: number;
|
|
3196
|
-
val?: "none" | "fullPage" | "bestFit" | "textFit";
|
|
3197
|
-
};
|
|
3198
|
-
writeProtection?: WriteProtectionOptions;
|
|
3199
|
-
displayBackgroundShape?: boolean;
|
|
3200
|
-
doNotDisplayPageBoundaries?: boolean;
|
|
3201
|
-
embedTrueTypeFonts?: boolean;
|
|
3202
|
-
embedSystemFonts?: boolean;
|
|
3203
|
-
saveSubsetFonts?: boolean;
|
|
3204
|
-
docVars?: {
|
|
3205
|
-
name: string;
|
|
3206
|
-
val: string;
|
|
3207
|
-
}[];
|
|
3208
|
-
mailMerge?: MailMergeOptions;
|
|
3209
|
-
colorSchemeMapping?: {
|
|
3210
|
-
bg1?: string;
|
|
3211
|
-
t1?: string;
|
|
3212
|
-
bg2?: string;
|
|
3213
|
-
t2?: string;
|
|
3214
|
-
accent1?: string;
|
|
3215
|
-
accent2?: string;
|
|
3216
|
-
accent3?: string;
|
|
3217
|
-
accent4?: string;
|
|
3218
|
-
accent5?: string;
|
|
3219
|
-
accent6?: string;
|
|
3220
|
-
hyperlink?: string;
|
|
3221
|
-
followedHyperlink?: string;
|
|
3222
|
-
};
|
|
3223
|
-
attachedTemplate?: string;
|
|
3224
|
-
themeFontLang?: {
|
|
3225
|
-
val?: string;
|
|
3226
|
-
eastAsia?: string;
|
|
3227
|
-
bidi?: string;
|
|
3228
|
-
};
|
|
3229
|
-
hideSpellingErrors?: boolean;
|
|
3230
|
-
hideGrammaticalErrors?: boolean;
|
|
3231
|
-
noPunctuationKerning?: boolean;
|
|
3232
|
-
removePersonalInformation?: boolean;
|
|
3233
|
-
removeDateAndTime?: boolean;
|
|
3234
|
-
printPostScriptOverText?: boolean;
|
|
3235
|
-
printFractionalCharacterWidth?: boolean;
|
|
3236
|
-
printFormsData?: boolean;
|
|
3237
|
-
saveFormsData?: boolean;
|
|
3238
|
-
mirrorMargins?: boolean;
|
|
3239
|
-
alignBordersAndEdges?: boolean;
|
|
3240
|
-
bordersDoNotSurroundHeader?: boolean;
|
|
3241
|
-
bordersDoNotSurroundFooter?: boolean;
|
|
3242
|
-
gutterAtTop?: boolean;
|
|
3243
|
-
formsDesign?: boolean;
|
|
3244
|
-
linkStyles?: boolean;
|
|
3245
|
-
autoFormatOverride?: boolean;
|
|
3246
|
-
styleLockTheme?: boolean;
|
|
3247
|
-
styleLockQFSet?: boolean;
|
|
3248
|
-
showEnvelope?: boolean;
|
|
3249
|
-
printTwoOnOne?: boolean;
|
|
3250
|
-
strictFirstAndLastChars?: boolean;
|
|
3251
|
-
savePreviewPicture?: boolean;
|
|
3252
|
-
doNotValidateAgainstSchema?: boolean;
|
|
3253
|
-
saveInvalidXml?: boolean;
|
|
3254
|
-
ignoreMixedContent?: boolean;
|
|
3255
|
-
alwaysShowPlaceholderText?: boolean;
|
|
3256
|
-
doNotDemarcateInvalidXml?: boolean;
|
|
3257
|
-
saveXmlDataOnly?: boolean;
|
|
3258
|
-
useXSLTWhenSaving?: boolean;
|
|
3259
|
-
doNotEmbedSmartTags?: boolean;
|
|
3260
|
-
doNotAutoCompressPictures?: boolean;
|
|
3261
|
-
doNotIncludeSubdocsInStats?: boolean;
|
|
3262
|
-
bookFoldPrinting?: boolean;
|
|
3263
|
-
bookFoldRevPrinting?: boolean;
|
|
3264
|
-
defaultTableStyle?: string;
|
|
3265
|
-
decimalSymbol?: string;
|
|
3266
|
-
listSeparator?: string;
|
|
3267
|
-
w14DocId?: string;
|
|
3268
|
-
w15ChartTrackingRefBased?: boolean;
|
|
3269
|
-
w15DocId?: string;
|
|
3270
|
-
clickAndTypeStyle?: string;
|
|
3271
|
-
summaryLength?: number;
|
|
3272
|
-
bookFoldPrintingSheets?: number;
|
|
3273
|
-
drawingGridHorizontalSpacing?: number;
|
|
3274
|
-
drawingGridVerticalSpacing?: number;
|
|
3275
|
-
displayHorizontalDrawingGridEvery?: number;
|
|
3276
|
-
displayVerticalDrawingGridEvery?: number;
|
|
3277
|
-
drawingGridHorizontalOrigin?: number;
|
|
3278
|
-
drawingGridVerticalOrigin?: number;
|
|
3279
|
-
footnotePr?: FootnotePropertiesOptions;
|
|
3280
|
-
endnotePr?: EndnotePropertiesOptions;
|
|
3281
|
-
rsids?: RsidsOptions;
|
|
3282
|
-
readModeInkLockDown?: ReadModeInkLockDownOptions;
|
|
3283
|
-
captions?: CaptionsOptions;
|
|
3284
|
-
mathPr?: MathPropertiesOptions;
|
|
3285
|
-
activeWritingStyle?: {
|
|
3286
|
-
lang?: string;
|
|
3287
|
-
vendorID?: string;
|
|
3288
|
-
dllVersion?: string;
|
|
3289
|
-
nlCheck?: boolean;
|
|
3290
|
-
checkStyle?: boolean;
|
|
3291
|
-
appCheck?: string;
|
|
3292
|
-
appName?: string;
|
|
3293
|
-
}[];
|
|
3294
|
-
proofState?: {
|
|
3295
|
-
spelling?: "clean" | "dirty";
|
|
3296
|
-
grammar?: "clean" | "dirty";
|
|
3297
|
-
};
|
|
3298
|
-
stylePaneFormatFilter?: {
|
|
3299
|
-
allStyles?: boolean;
|
|
3300
|
-
customStyles?: boolean;
|
|
3301
|
-
stylesInUse?: boolean;
|
|
3302
|
-
headingStyles?: boolean;
|
|
3303
|
-
numberingStyles?: boolean;
|
|
3304
|
-
tableStyles?: boolean;
|
|
3305
|
-
directFormattingOnRuns?: boolean;
|
|
3306
|
-
directFormattingOnParagraphs?: boolean;
|
|
3307
|
-
directFormattingOnNumbering?: boolean;
|
|
3308
|
-
directFormattingOnTables?: boolean;
|
|
3309
|
-
clearFormatting?: boolean;
|
|
3310
|
-
top3HeadingStyles?: boolean;
|
|
3311
|
-
visibleStyles?: boolean;
|
|
3312
|
-
alternateStyleNames?: boolean;
|
|
3313
|
-
latentStyles?: boolean;
|
|
3314
|
-
};
|
|
3315
|
-
stylePaneSortMethod?: "name" | "priority" | "default" | "font";
|
|
3316
|
-
documentType?: "letter" | "eMail" | "notSpecified";
|
|
3317
|
-
doNotUseMarginsForDrawingGridOrigin?: boolean;
|
|
3318
|
-
doNotShadeFormData?: boolean;
|
|
3319
|
-
noLineBreaksAfter?: {
|
|
3320
|
-
lang?: string;
|
|
3321
|
-
val?: string;
|
|
3322
|
-
};
|
|
3323
|
-
noLineBreaksBefore?: {
|
|
3324
|
-
lang?: string;
|
|
3325
|
-
val?: string;
|
|
3326
|
-
};
|
|
3327
|
-
saveThroughXslt?: {
|
|
3328
|
-
id?: string;
|
|
3329
|
-
val?: string;
|
|
3330
|
-
solutionID?: string;
|
|
3331
|
-
};
|
|
3332
|
-
showXMLTags?: boolean;
|
|
3333
|
-
alwaysMergeEmptyNamespace?: boolean;
|
|
3334
|
-
hdrShapeDefaults?: string;
|
|
3335
|
-
attachedSchema?: string[];
|
|
3336
|
-
forceUpgrade?: boolean;
|
|
3337
|
-
smartTagType?: {
|
|
3338
|
-
namespace?: string;
|
|
3339
|
-
namespaceuri?: string;
|
|
3340
|
-
name?: string;
|
|
3341
|
-
url?: string;
|
|
3342
|
-
}[];
|
|
3343
|
-
shapeDefaults?: string;
|
|
3344
|
-
}
|
|
3345
|
-
interface RevisionViewOptions {
|
|
3346
|
-
markup?: boolean;
|
|
3347
|
-
comments?: boolean;
|
|
3348
|
-
insDel?: boolean;
|
|
3349
|
-
formatting?: boolean;
|
|
3350
|
-
inkAnnotations?: boolean;
|
|
3351
|
-
}
|
|
3352
|
-
interface DocumentProtectionOptions {
|
|
3353
|
-
edit?: "none" | "readOnly" | "comments" | "trackedChanges" | "forms";
|
|
3354
|
-
formatting?: boolean;
|
|
3355
|
-
password?: string;
|
|
3356
|
-
hashValue?: string;
|
|
3357
|
-
saltValue?: string;
|
|
3358
|
-
hash?: string;
|
|
3359
|
-
salt?: string;
|
|
3360
|
-
spinCount?: number;
|
|
3361
|
-
algorithmName?: string;
|
|
3362
|
-
cryptoAlgorithmClass?: string;
|
|
3363
|
-
cryptoAlgorithmSid?: number;
|
|
3364
|
-
cryptoAlgorithmType?: string;
|
|
3365
|
-
cryptoProvider?: string;
|
|
3366
|
-
cryptoProviderType?: string;
|
|
3367
|
-
cryptoProviderTypeExtension?: number;
|
|
3368
|
-
cryptoProviderTypeExtensionSource?: string;
|
|
3369
|
-
algorithmExtensionId?: number;
|
|
3370
|
-
algorithmExtensionSource?: string;
|
|
3371
|
-
cryptoSpinCount?: number;
|
|
3372
|
-
}
|
|
3373
|
-
interface WriteProtectionOptions {
|
|
3374
|
-
password?: string;
|
|
3375
|
-
hashValue?: string;
|
|
3376
|
-
saltValue?: string;
|
|
3377
|
-
hash?: string;
|
|
3378
|
-
salt?: string;
|
|
3379
|
-
spinCount?: number;
|
|
3380
|
-
algorithmName?: string;
|
|
3381
|
-
recommended?: boolean;
|
|
3382
|
-
cryptoAlgorithmClass?: string;
|
|
3383
|
-
cryptoAlgorithmSid?: number;
|
|
3384
|
-
cryptoAlgorithmType?: string;
|
|
3385
|
-
cryptoProvider?: string;
|
|
3386
|
-
cryptoProviderType?: string;
|
|
3387
|
-
cryptoProviderTypeExtension?: number;
|
|
3388
|
-
cryptoProviderTypeExtensionSource?: string;
|
|
3389
|
-
algorithmExtensionId?: number;
|
|
3390
|
-
algorithmExtensionSource?: string;
|
|
3391
|
-
cryptoSpinCount?: number;
|
|
3392
|
-
}
|
|
3393
|
-
type MailMergeDocType = "catalog" | "envelopes" | "mailingLabels" | "formLetters" | "email" | "fax";
|
|
3394
|
-
type MailMergeDest = "newDocument" | "printer" | "email" | "fax";
|
|
3395
|
-
type MailMergeDataType = "textFile" | "database" | "spreadsheet" | "email" | "odbc" | "native" | "addressBook" | "legacy" | "master";
|
|
3396
|
-
type MailMergeSourceType = "database" | "addressBook" | "document1" | "document2" | "text" | "email" | "native" | "legacy" | "master";
|
|
3397
|
-
type OdsoFieldType = "null" | "dbColumn";
|
|
3398
|
-
interface OdsoFieldMapDataOptions {
|
|
3399
|
-
type?: OdsoFieldType;
|
|
3400
|
-
name?: string;
|
|
3401
|
-
mappedName?: string;
|
|
3402
|
-
column?: number;
|
|
3403
|
-
lid?: string;
|
|
3404
|
-
dynamicAddress?: boolean;
|
|
3405
|
-
}
|
|
3406
|
-
interface OdsoOptions {
|
|
3407
|
-
udl?: string;
|
|
3408
|
-
table?: string;
|
|
3409
|
-
src?: string;
|
|
3410
|
-
colDelim?: number;
|
|
3411
|
-
type?: MailMergeSourceType;
|
|
3412
|
-
fHdr?: boolean;
|
|
3413
|
-
fieldMapData?: OdsoFieldMapDataOptions[];
|
|
3414
|
-
recipientData?: string[];
|
|
3415
|
-
uniqueTag?: string;
|
|
3416
|
-
}
|
|
3417
|
-
interface MailMergeOptions {
|
|
3418
|
-
mainDocumentType: MailMergeDocType;
|
|
3419
|
-
dataType: MailMergeDataType;
|
|
3420
|
-
destination?: MailMergeDest;
|
|
3421
|
-
connectString?: string;
|
|
3422
|
-
query?: string;
|
|
3423
|
-
dataSource?: string;
|
|
3424
|
-
headerSource?: string;
|
|
3425
|
-
doNotSuppressBlankLines?: boolean;
|
|
3426
|
-
addressFieldName?: string;
|
|
3427
|
-
mailSubject?: string;
|
|
3428
|
-
mailAsAttachment?: boolean;
|
|
3429
|
-
viewMergedData?: boolean;
|
|
3430
|
-
activeRecord?: number;
|
|
3431
|
-
checkErrors?: number;
|
|
3432
|
-
linkToQuery?: boolean;
|
|
3433
|
-
odso?: OdsoOptions;
|
|
3434
|
-
active?: boolean;
|
|
3435
|
-
recipients?: string;
|
|
3436
|
-
}
|
|
3437
|
-
interface HyphenationOptions {
|
|
3438
|
-
autoHyphenation?: boolean;
|
|
3439
|
-
hyphenationZone?: number;
|
|
3440
|
-
consecutiveHyphenLimit?: number;
|
|
3441
|
-
doNotHyphenateCaps?: boolean;
|
|
3442
|
-
}
|
|
3443
|
-
interface FootnotePropertiesOptions {
|
|
3444
|
-
pos?: "pageBottom" | "beneathText" | "sectEnd" | "docEnd";
|
|
3445
|
-
numFmt?: string;
|
|
3446
|
-
format?: string;
|
|
3447
|
-
numStart?: number;
|
|
3448
|
-
numRestart?: string;
|
|
3449
|
-
}
|
|
3450
|
-
interface EndnotePropertiesOptions {
|
|
3451
|
-
pos?: "sectEnd" | "docEnd";
|
|
3452
|
-
numFmt?: string;
|
|
3453
|
-
format?: string;
|
|
3454
|
-
numStart?: number;
|
|
3455
|
-
numRestart?: string;
|
|
3456
|
-
}
|
|
3457
|
-
interface RsidsOptions {
|
|
3458
|
-
rsidRoot?: string;
|
|
3459
|
-
rsids?: string[];
|
|
3460
|
-
}
|
|
3461
|
-
interface ReadModeInkLockDownOptions {
|
|
3462
|
-
actualPg?: boolean;
|
|
3463
|
-
w: number;
|
|
3464
|
-
h: number;
|
|
3465
|
-
fontSz: number;
|
|
3466
|
-
}
|
|
3467
|
-
interface CaptionOptions {
|
|
3468
|
-
name: string;
|
|
3469
|
-
pos?: "above" | "below";
|
|
3470
|
-
chapNum?: boolean;
|
|
3471
|
-
heading?: number;
|
|
3472
|
-
noLabel?: boolean;
|
|
3473
|
-
numFmt?: string;
|
|
3474
|
-
sep?: "hyphen" | "period" | "colon" | "emDash" | "enDash";
|
|
3475
|
-
}
|
|
3476
|
-
interface AutoCaptionOptions {
|
|
3477
|
-
name: string;
|
|
3478
|
-
caption: string;
|
|
3479
|
-
}
|
|
3480
|
-
interface CaptionsOptions {
|
|
3481
|
-
captions: CaptionOptions[];
|
|
3482
|
-
autoCaptions?: AutoCaptionOptions[];
|
|
3483
|
-
}
|
|
3484
|
-
interface MathPropertiesOptions {
|
|
3485
|
-
mathFont?: string;
|
|
3486
|
-
binaryOperatorBreak?: "before" | "after" | "repeat";
|
|
3487
|
-
binaryOperatorBreakSubtraction?: "--" | "-+" | "+-";
|
|
3488
|
-
smallFractions?: boolean;
|
|
3489
|
-
displayDefaults?: boolean;
|
|
3490
|
-
leftMargin?: number;
|
|
3491
|
-
rightMargin?: number;
|
|
3492
|
-
defaultJustification?: "left" | "right" | "center" | "centerGroup";
|
|
3493
|
-
preSpacing?: number;
|
|
3494
|
-
postSpacing?: number;
|
|
3495
|
-
interSpacing?: number;
|
|
3496
|
-
intraSpacing?: number;
|
|
3497
|
-
wrapIndent?: number;
|
|
3498
|
-
wrapRight?: boolean;
|
|
3499
|
-
integralLimitLocation?: "subSup" | "undOvr";
|
|
3500
|
-
naryLimitLocation?: "subSup" | "undOvr";
|
|
3501
|
-
}
|
|
3502
|
-
//#endregion
|
|
3503
|
-
//#region src/parts/styles/factory.d.ts
|
|
3504
|
-
interface DefaultStylesOptions {
|
|
3505
|
-
document?: DocumentDefaultsOptions;
|
|
3506
|
-
title?: ParagraphStyleOptions;
|
|
3507
|
-
subtitle?: ParagraphStyleOptions;
|
|
3508
|
-
heading1?: ParagraphStyleOptions;
|
|
3509
|
-
heading2?: ParagraphStyleOptions;
|
|
3510
|
-
heading3?: ParagraphStyleOptions;
|
|
3511
|
-
heading4?: ParagraphStyleOptions;
|
|
3512
|
-
heading5?: ParagraphStyleOptions;
|
|
3513
|
-
heading6?: ParagraphStyleOptions;
|
|
3514
|
-
heading7?: ParagraphStyleOptions;
|
|
3515
|
-
heading8?: ParagraphStyleOptions;
|
|
3516
|
-
heading9?: ParagraphStyleOptions;
|
|
3517
|
-
strong?: ParagraphStyleOptions;
|
|
3518
|
-
emphasis?: ParagraphStyleOptions;
|
|
3519
|
-
listParagraph?: ParagraphStyleOptions;
|
|
3520
|
-
quote?: ParagraphStyleOptions;
|
|
3521
|
-
intenseQuote?: ParagraphStyleOptions;
|
|
3522
|
-
hyperlink?: CharacterStyleOptions;
|
|
3523
|
-
footnoteReference?: CharacterStyleOptions;
|
|
3524
|
-
footnoteText?: ParagraphStyleOptions;
|
|
3525
|
-
footnoteTextChar?: CharacterStyleOptions;
|
|
3526
|
-
endnoteReference?: CharacterStyleOptions;
|
|
3527
|
-
endnoteText?: ParagraphStyleOptions;
|
|
3528
|
-
endnoteTextChar?: CharacterStyleOptions;
|
|
3529
|
-
}
|
|
3530
|
-
interface DocumentDefaultsOptions {
|
|
3531
|
-
paragraph?: ParagraphStylePropertiesOptions | null;
|
|
3532
|
-
run?: RunStylePropertiesOptions | null;
|
|
3533
|
-
}
|
|
3534
|
-
interface StyleOptions {
|
|
3535
|
-
name?: string;
|
|
3536
|
-
aliases?: string;
|
|
3537
|
-
basedOn?: string;
|
|
3538
|
-
next?: string;
|
|
3539
|
-
link?: string;
|
|
3540
|
-
autoRedefine?: boolean;
|
|
3541
|
-
uiPriority?: number;
|
|
3542
|
-
semiHidden?: boolean;
|
|
3543
|
-
unhideWhenUsed?: boolean;
|
|
3544
|
-
quickFormat?: boolean;
|
|
3545
|
-
locked?: boolean;
|
|
3546
|
-
personal?: boolean;
|
|
3547
|
-
personalCompose?: boolean;
|
|
3548
|
-
personalReply?: boolean;
|
|
3549
|
-
hidden?: boolean;
|
|
3550
|
-
rsid?: string;
|
|
3551
|
-
default?: boolean;
|
|
3552
|
-
customStyle?: boolean;
|
|
3553
|
-
}
|
|
3554
|
-
type ParagraphStyleOptions = {
|
|
3555
|
-
paragraph?: ParagraphStylePropertiesOptions;
|
|
3556
|
-
run?: RunStylePropertiesOptions;
|
|
3557
|
-
} & StyleOptions & {
|
|
3558
|
-
id?: string;
|
|
3559
|
-
};
|
|
3560
|
-
type CharacterStyleOptions = {
|
|
3561
|
-
run?: RunStylePropertiesOptions;
|
|
3562
|
-
} & StyleOptions & {
|
|
3563
|
-
id?: string;
|
|
3564
|
-
};
|
|
3565
|
-
declare function stringifyParagraphStyle(opts: StyleOptions & {
|
|
3566
|
-
id: string;
|
|
3567
|
-
paragraph?: ParagraphStylePropertiesOptions;
|
|
3568
|
-
run?: RunStylePropertiesOptions;
|
|
3569
|
-
}): string;
|
|
3570
|
-
declare function stringifyCharacterStyle(opts: StyleOptions & {
|
|
3571
|
-
id: string;
|
|
3572
|
-
run?: RunStylePropertiesOptions;
|
|
3573
|
-
}): string;
|
|
3574
|
-
type TableStyleOverrideType = "wholeTable" | "firstRow" | "lastRow" | "firstCol" | "lastCol" | "band1Vert" | "band2Vert" | "band1Horz" | "band2Horz" | "neCell" | "nwCell" | "seCell" | "swCell";
|
|
3575
|
-
interface ConditionalTableStyleOptions {
|
|
3576
|
-
type: TableStyleOverrideType;
|
|
3577
|
-
paragraph?: ParagraphStylePropertiesOptions;
|
|
3578
|
-
run?: RunStylePropertiesOptions;
|
|
3579
|
-
table?: TablePropertiesOptions;
|
|
3580
|
-
row?: TableRowPropertiesOptions$1;
|
|
3581
|
-
cell?: TableCellPropertiesOptions$1;
|
|
3582
|
-
}
|
|
3583
|
-
type TableStyleOptions = {
|
|
3584
|
-
paragraph?: ParagraphStylePropertiesOptions;
|
|
3585
|
-
run?: RunStylePropertiesOptions;
|
|
3586
|
-
table?: TablePropertiesOptions;
|
|
3587
|
-
row?: TableRowPropertiesOptions$1;
|
|
3588
|
-
cell?: TableCellPropertiesOptions$1;
|
|
3589
|
-
conditionalFormats?: ConditionalTableStyleOptions[];
|
|
3590
|
-
} & StyleOptions & {
|
|
3591
|
-
id: string;
|
|
3592
|
-
};
|
|
3593
|
-
type NumberingStyleOptions = {
|
|
3594
|
-
paragraph?: ParagraphStylePropertiesOptions;
|
|
3595
|
-
run?: RunStylePropertiesOptions;
|
|
3596
|
-
} & StyleOptions & {
|
|
3597
|
-
id: string;
|
|
3598
|
-
};
|
|
3599
|
-
declare function stringifyConditionalTableStyle(opts: ConditionalTableStyleOptions): string;
|
|
3600
|
-
declare function stringifyTableStyle(opts: TableStyleOptions): string;
|
|
3601
|
-
declare function stringifyNumberingStyle(opts: NumberingStyleOptions): string;
|
|
3602
|
-
declare function stringifyDocDefaults(opts: DocumentDefaultsOptions, injectDefaults?: boolean): string;
|
|
3603
|
-
declare class DefaultStylesFactory {
|
|
3604
|
-
newInstance(options?: DefaultStylesOptions): StylesOptions;
|
|
3605
|
-
private build;
|
|
3606
|
-
}
|
|
3607
|
-
//#endregion
|
|
3608
|
-
//#region src/parts/styles/styles.d.ts
|
|
3609
|
-
interface StylesOptions {
|
|
3610
|
-
default?: DefaultStylesOptions;
|
|
3611
|
-
initialAttributes?: Record<string, string>;
|
|
3612
|
-
importedStyles?: {
|
|
3613
|
-
_raw: string;
|
|
3614
|
-
}[];
|
|
3615
|
-
paragraphStyles?: (ParagraphStyleOptions & {
|
|
3616
|
-
id: string;
|
|
3617
|
-
})[];
|
|
3618
|
-
characterStyles?: (CharacterStyleOptions & {
|
|
3619
|
-
id: string;
|
|
3620
|
-
})[];
|
|
3621
|
-
tableStyles?: TableStyleOptions[];
|
|
3622
|
-
numberingStyles?: NumberingStyleOptions[];
|
|
3623
|
-
latentStylesXml?: string;
|
|
3624
|
-
docDefaultsXml?: string;
|
|
3625
|
-
roundTripped?: boolean;
|
|
3626
|
-
}
|
|
3627
|
-
declare function extractStyleId(raw: string): string | undefined;
|
|
3628
|
-
declare class Styles {
|
|
3629
|
-
private attributes;
|
|
3630
|
-
private parts;
|
|
3631
|
-
constructor(options: StylesOptions);
|
|
3632
|
-
serialize(): string;
|
|
3633
|
-
}
|
|
3634
|
-
declare function buildStyleCache(stylesEl: Element | undefined): Map<string, Element>;
|
|
3635
|
-
declare function buildNumberingCache(numberingEl: Element | undefined): Map<string, Element>;
|
|
3636
|
-
declare function parseStyleDefinitions(el: Element, parseParagraphProperties: (el: Element, ctx: DocxReadContext) => Partial<ParagraphPropertiesOptions>, ctx: DocxReadContext): StylesOptions | undefined;
|
|
3637
|
-
//#endregion
|
|
3638
|
-
//#region src/parts/sub-doc/sub-doc-collection.d.ts
|
|
3639
|
-
interface SubDocData {
|
|
3640
|
-
data: Uint8Array;
|
|
3641
|
-
path: string;
|
|
3642
|
-
}
|
|
3643
|
-
declare class SubDocCollection {
|
|
3644
|
-
private map;
|
|
3645
|
-
constructor();
|
|
3646
|
-
addSubDoc(key: string, data: SubDocData): void;
|
|
3647
|
-
get array(): SubDocData[];
|
|
3648
|
-
}
|
|
3649
|
-
//#endregion
|
|
3650
|
-
//#region src/parts/frameset.d.ts
|
|
3651
|
-
interface FrameOptions {
|
|
3652
|
-
size?: string;
|
|
3653
|
-
name?: string;
|
|
3654
|
-
title?: string;
|
|
3655
|
-
sourceRId?: string;
|
|
3656
|
-
marginWidth?: number;
|
|
3657
|
-
marginHeight?: number;
|
|
3658
|
-
scrollbar?: "on" | "off" | "auto";
|
|
3659
|
-
noResizeAllowed?: boolean;
|
|
3660
|
-
linkedToFile?: boolean;
|
|
3661
|
-
longDescRId?: string;
|
|
3662
|
-
}
|
|
3663
|
-
interface FramesetSplitbarOptions {
|
|
3664
|
-
width?: number;
|
|
3665
|
-
color?: string;
|
|
3666
|
-
noBorder?: boolean;
|
|
3667
|
-
flatBorders?: boolean;
|
|
3668
|
-
}
|
|
3669
|
-
interface FramesetOptions {
|
|
3670
|
-
size?: string;
|
|
3671
|
-
splitbar?: FramesetSplitbarOptions;
|
|
3672
|
-
layout?: "rows" | "cols";
|
|
3673
|
-
title?: string;
|
|
3674
|
-
children?: (FramesetOptions | FrameOptions)[];
|
|
3675
|
-
}
|
|
3676
|
-
//#endregion
|
|
3677
|
-
//#region src/parts/web-settings.d.ts
|
|
3678
|
-
interface DivBorderOptions {
|
|
3679
|
-
top?: {
|
|
3680
|
-
style: string;
|
|
3681
|
-
color?: string;
|
|
3682
|
-
size?: number;
|
|
3683
|
-
};
|
|
3684
|
-
left?: {
|
|
3685
|
-
style: string;
|
|
3686
|
-
color?: string;
|
|
3687
|
-
size?: number;
|
|
3688
|
-
};
|
|
3689
|
-
bottom?: {
|
|
3690
|
-
style: string;
|
|
3691
|
-
color?: string;
|
|
3692
|
-
size?: number;
|
|
3693
|
-
};
|
|
3694
|
-
right?: {
|
|
3695
|
-
style: string;
|
|
3696
|
-
color?: string;
|
|
3697
|
-
size?: number;
|
|
3698
|
-
};
|
|
3699
|
-
}
|
|
3700
|
-
interface DivOptions {
|
|
3701
|
-
id: number;
|
|
3702
|
-
marginLeft: number | UniversalMeasure;
|
|
3703
|
-
marginRight: number | UniversalMeasure;
|
|
3704
|
-
marginTop: number | UniversalMeasure;
|
|
3705
|
-
marginBottom: number | UniversalMeasure;
|
|
3706
|
-
blockQuote?: boolean;
|
|
3707
|
-
bodyDiv?: boolean;
|
|
3708
|
-
border?: DivBorderOptions;
|
|
3709
|
-
children?: DivOptions[];
|
|
3710
|
-
}
|
|
3711
|
-
declare const TargetScreenSize: {
|
|
3712
|
-
readonly SIZE_544X376: "544x376";
|
|
3713
|
-
readonly SIZE_640X480: "640x480";
|
|
3714
|
-
readonly SIZE_720X512: "720x512";
|
|
3715
|
-
readonly SIZE_800X600: "800x600";
|
|
3716
|
-
readonly SIZE_1024X768: "1024x768";
|
|
3717
|
-
readonly SIZE_1152X882: "1152x882";
|
|
3718
|
-
readonly SIZE_1152X900: "1152x900";
|
|
3719
|
-
readonly SIZE_1280X1024: "1280x1024";
|
|
3720
|
-
readonly SIZE_1600X1200: "1600x1200";
|
|
3721
|
-
readonly SIZE_1800X1440: "1800x1440";
|
|
3722
|
-
readonly SIZE_1920X1200: "1920x1200";
|
|
3723
|
-
};
|
|
3724
|
-
interface OptimizeForBrowserOptions {
|
|
3725
|
-
value?: boolean;
|
|
3726
|
-
target?: string;
|
|
3727
|
-
}
|
|
3728
|
-
interface WebSettingsOptions {
|
|
3729
|
-
frameset?: FramesetOptions;
|
|
3730
|
-
divs?: DivOptions[];
|
|
3731
|
-
encoding?: string;
|
|
3732
|
-
optimizeForBrowser?: boolean | OptimizeForBrowserOptions;
|
|
3733
|
-
relyOnVML?: boolean;
|
|
3734
|
-
allowPNG?: boolean;
|
|
3735
|
-
doNotRelyOnCSS?: boolean;
|
|
3736
|
-
doNotSaveAsSingleFile?: boolean;
|
|
3737
|
-
doNotOrganizeInFolder?: boolean;
|
|
3738
|
-
doNotUseLongFileNames?: boolean;
|
|
3739
|
-
pixelsPerInch?: number;
|
|
3740
|
-
targetScreenSize?: (typeof TargetScreenSize)[keyof typeof TargetScreenSize] | string;
|
|
3741
|
-
saveSmartTagsAsXml?: boolean;
|
|
3742
|
-
}
|
|
3743
|
-
interface WebSettingsInput {
|
|
3744
|
-
frameset?: FramesetOptions;
|
|
3745
|
-
divs?: DivOptions[];
|
|
3746
|
-
encoding?: string;
|
|
3747
|
-
optimizeForBrowser?: boolean | OptimizeForBrowserOptions;
|
|
3748
|
-
relyOnVML?: boolean;
|
|
3749
|
-
allowPNG?: boolean;
|
|
3750
|
-
doNotRelyOnCSS?: boolean;
|
|
3751
|
-
doNotSaveAsSingleFile?: boolean;
|
|
3752
|
-
doNotOrganizeInFolder?: boolean;
|
|
3753
|
-
doNotUseLongFileNames?: boolean;
|
|
3754
|
-
pixelsPerInch?: number;
|
|
3755
|
-
targetScreenSize?: string;
|
|
3756
|
-
saveSmartTagsAsXml?: boolean;
|
|
3757
|
-
}
|
|
3758
|
-
declare function framesetXml(fs: FramesetOptions): string;
|
|
3759
|
-
declare function frameXml(f: FrameOptions): string;
|
|
3760
|
-
declare const webSettingsDesc: CustomDescriptor<WebSettingsInput>;
|
|
3761
|
-
//#endregion
|
|
3762
|
-
//#region src/shared/embeddings/embeddings.d.ts
|
|
3763
|
-
interface EmbeddingData {
|
|
3764
|
-
fileName: string;
|
|
3765
|
-
data: Uint8Array;
|
|
3766
|
-
progId?: string;
|
|
3767
|
-
}
|
|
3768
|
-
declare class EmbeddingCollection {
|
|
3769
|
-
private map;
|
|
3770
|
-
private counter;
|
|
3771
|
-
nextEmbeddingName(): string;
|
|
3772
|
-
addEmbedding(key: string, data: EmbeddingData): void;
|
|
3773
|
-
get array(): EmbeddingData[];
|
|
3774
|
-
}
|
|
3775
|
-
//#endregion
|
|
3776
|
-
//#region src/parse.d.ts
|
|
3777
|
-
interface DocxPartRefs {
|
|
3778
|
-
headers: Map<string, string>;
|
|
3779
|
-
footers: Map<string, string>;
|
|
3780
|
-
footnotes?: string;
|
|
3781
|
-
endnotes?: string;
|
|
3782
|
-
comments?: string;
|
|
3783
|
-
hyperlinks: Map<string, string>;
|
|
3784
|
-
charts: Map<string, string>;
|
|
3785
|
-
diagramData: Map<string, string>;
|
|
3786
|
-
media: Map<string, string>;
|
|
3787
|
-
partMedia: Map<string, Map<string, string>>;
|
|
3788
|
-
afChunks: Map<string, string>;
|
|
3789
|
-
subDocs: Map<string, string>;
|
|
3790
|
-
bibliography?: string;
|
|
3791
|
-
glossary?: string;
|
|
3792
|
-
}
|
|
3793
|
-
interface DocxDocument {
|
|
3794
|
-
doc: ParsedArchive;
|
|
3795
|
-
documentRoot: Element;
|
|
3796
|
-
body: Element;
|
|
3797
|
-
background?: Element;
|
|
3798
|
-
styles?: Element;
|
|
3799
|
-
numbering?: Element;
|
|
3800
|
-
settings?: Element;
|
|
3801
|
-
fontTable?: Element;
|
|
3802
|
-
webSettings?: Element;
|
|
3803
|
-
partRefs: DocxPartRefs;
|
|
3804
|
-
coreProps?: string;
|
|
3805
|
-
appProps?: string;
|
|
3806
|
-
customProps?: string;
|
|
3807
|
-
contentTypes?: Element;
|
|
3808
|
-
}
|
|
3809
|
-
declare function parseDocument(data: DataType): DocumentOptions;
|
|
3810
|
-
declare function parseDocx(data: DataType): DocxDocument;
|
|
3811
|
-
//#endregion
|
|
3812
|
-
//#region src/context.d.ts
|
|
3813
|
-
interface ViewWrapper {
|
|
3814
|
-
relationships: Relationships;
|
|
3815
|
-
}
|
|
3816
|
-
interface BodyContext extends WriteContext {
|
|
3817
|
-
fileData: DocxWriteContext;
|
|
3818
|
-
file: DocxWriteContext;
|
|
3819
|
-
viewWrapper: {
|
|
3820
|
-
relationships: Relationships;
|
|
3821
|
-
};
|
|
3822
|
-
stringifyChild: (child: SectionChild, ctx: BodyContext) => string;
|
|
3823
|
-
}
|
|
3824
|
-
declare class DocxWriteContext implements WriteContext {
|
|
3825
|
-
private _currentRelationshipId;
|
|
3826
|
-
document: {
|
|
3827
|
-
relationships: Relationships;
|
|
3828
|
-
};
|
|
3829
|
-
numbering: Numbering;
|
|
3830
|
-
media: Media<MediaData>;
|
|
3831
|
-
charts: ChartCollection;
|
|
3832
|
-
smartArts: SmartArtCollection;
|
|
3833
|
-
embeddings: EmbeddingCollection;
|
|
3834
|
-
altChunks: AltChunkCollection;
|
|
3835
|
-
subDocs: SubDocCollection;
|
|
3836
|
-
comments: {
|
|
3837
|
-
relationships: Relationships;
|
|
3838
|
-
entries: CommentOptions[];
|
|
3839
|
-
nextId: number;
|
|
3840
|
-
};
|
|
3841
|
-
markupIds: {
|
|
3842
|
-
rangeNext: number;
|
|
3843
|
-
moveRunNext: number;
|
|
3844
|
-
};
|
|
3845
|
-
footNotes: {
|
|
3846
|
-
relationships: Relationships;
|
|
3847
|
-
notes: Map<number, (ParagraphOptions | string)[]>;
|
|
3848
|
-
separator?: FootnoteSeparator;
|
|
3849
|
-
continuationSeparator?: FootnoteSeparator;
|
|
3850
|
-
};
|
|
3851
|
-
endnotes: {
|
|
3852
|
-
relationships: Relationships;
|
|
3853
|
-
notes: Map<number, (ParagraphOptions | string)[]>;
|
|
3854
|
-
separator?: EndnoteSeparator;
|
|
3855
|
-
continuationSeparator?: EndnoteSeparator;
|
|
3856
|
-
};
|
|
3857
|
-
fileRelationships: Relationships;
|
|
3858
|
-
_settingsOptions: SettingsOptions;
|
|
3859
|
-
styles: Styles;
|
|
3860
|
-
fontTable: FontWrapper;
|
|
3861
|
-
glossaryOptions: GlossaryDocumentOptions | undefined;
|
|
3862
|
-
webSettings: WebSettingsOptions | undefined;
|
|
3863
|
-
private _sectionProperties;
|
|
3864
|
-
get sectionProperties(): readonly SectionPropertiesOptions[];
|
|
3865
|
-
private readonly _hasFootnotes;
|
|
3866
|
-
private readonly _hasEndnotes;
|
|
3867
|
-
private readonly _hasNumbering;
|
|
3868
|
-
get hasFootnotes(): boolean;
|
|
3869
|
-
get hasEndnotes(): boolean;
|
|
3870
|
-
get hasNumbering(): boolean;
|
|
3871
|
-
addRelationship(_type: string, _target: string, _mode?: string): string;
|
|
3872
|
-
addMedia(data: Uint8Array, type: string): string;
|
|
3873
|
-
private _headers;
|
|
3874
|
-
private _footers;
|
|
3875
|
-
_options: DocumentOptions;
|
|
3876
|
-
constructor(options: DocumentOptions);
|
|
3877
|
-
get headers(): HeaderFooterEntry[];
|
|
3878
|
-
get footers(): HeaderFooterEntry[];
|
|
3879
|
-
private addSection;
|
|
3880
|
-
private createHeader;
|
|
3881
|
-
private createFooter;
|
|
3882
|
-
private addHeaderToDocument;
|
|
3883
|
-
private addFooterToDocument;
|
|
3884
|
-
private addDefaultRelationships;
|
|
3885
|
-
}
|
|
3886
|
-
declare class DocxReadContext implements ReadContext {
|
|
3887
|
-
docx: DocxDocument;
|
|
3888
|
-
styleCache: Map<string, Element>;
|
|
3889
|
-
numberingCache: Map<string, Element>;
|
|
3890
|
-
currentPart: string;
|
|
3891
|
-
constructor(docx: DocxDocument, styleCache: Map<string, Element>, numberingCache: Map<string, Element>);
|
|
3892
|
-
resolveRelationship(rId: string): string | undefined;
|
|
3893
|
-
withPart<T>(partPath: string, fn: () => T): T;
|
|
3894
|
-
getPart(path: string): Element | undefined;
|
|
3895
|
-
getRaw(path: string): Uint8Array | undefined;
|
|
3896
|
-
}
|
|
3897
|
-
//#endregion
|
|
3898
|
-
//#region src/parts/fonts/font-wrapper.d.ts
|
|
3899
|
-
type EmbeddedFontOptionsWithKey = EmbeddedFontOptions & {
|
|
3900
|
-
fontKey: string;
|
|
3901
|
-
embedRid?: string;
|
|
3902
|
-
data?: Uint8Array;
|
|
3903
|
-
};
|
|
3904
|
-
declare class FontWrapper implements ViewWrapper {
|
|
3905
|
-
options: EmbeddedFontOptions[];
|
|
3906
|
-
relationships: Relationships;
|
|
3907
|
-
fontOptionsWithKey: EmbeddedFontOptionsWithKey[];
|
|
3908
|
-
constructor(options: EmbeddedFontOptions[]);
|
|
3909
|
-
}
|
|
3910
|
-
//#endregion
|
|
3911
|
-
//#region src/parts/fonts/font-table.d.ts
|
|
3912
|
-
interface FontSignature {
|
|
3913
|
-
usb0: string;
|
|
3914
|
-
usb1: string;
|
|
3915
|
-
usb2: string;
|
|
3916
|
-
usb3: string;
|
|
3917
|
-
csb0: string;
|
|
3918
|
-
csb1: string;
|
|
3919
|
-
}
|
|
3920
|
-
interface EmbeddedFontOptions {
|
|
3921
|
-
name: string;
|
|
3922
|
-
data?: DataType;
|
|
3923
|
-
characterSet?: (typeof CharacterSet)[keyof typeof CharacterSet];
|
|
3924
|
-
characterSetName?: string;
|
|
3925
|
-
family?: string;
|
|
3926
|
-
pitch?: string;
|
|
3927
|
-
panose1?: string;
|
|
3928
|
-
altName?: string;
|
|
3929
|
-
sig?: FontSignature;
|
|
3930
|
-
rawOdttf?: boolean;
|
|
3931
|
-
odttfPath?: string;
|
|
3932
|
-
fontKey?: string;
|
|
3933
|
-
subsetted?: boolean;
|
|
3934
|
-
}
|
|
3935
|
-
//#endregion
|
|
3936
|
-
//#region src/parts/settings/descriptor.d.ts
|
|
3937
|
-
declare const settingsDesc: CustomDescriptor<SettingsOptions>;
|
|
3938
|
-
//#endregion
|
|
3939
|
-
//#region src/parts/core-properties.d.ts
|
|
3940
|
-
interface FeaturesOptions {
|
|
3941
|
-
trackRevisions?: boolean;
|
|
3942
|
-
updateFields?: boolean;
|
|
3943
|
-
documentProtection?: DocumentProtectionOptions;
|
|
3944
|
-
}
|
|
3945
|
-
interface DocumentOptions extends CorePropertiesOptions {
|
|
3946
|
-
sections: SectionOptions[];
|
|
3947
|
-
externalStyles?: string;
|
|
3948
|
-
styles?: StylesOptions;
|
|
3949
|
-
numbering?: NumberingOptions;
|
|
3950
|
-
comments?: CommentsOptions;
|
|
3951
|
-
bibliography?: BibliographyOptions;
|
|
3952
|
-
footnotes?: Record<string, {
|
|
3953
|
-
children: (ParagraphOptions | string)[];
|
|
3954
|
-
}> & {
|
|
3955
|
-
separator?: FootnoteSeparator;
|
|
3956
|
-
continuationSeparator?: FootnoteSeparator;
|
|
3957
|
-
};
|
|
3958
|
-
endnotes?: Record<string, {
|
|
3959
|
-
children: (ParagraphOptions | string)[];
|
|
3960
|
-
}> & {
|
|
3961
|
-
separator?: EndnoteSeparator;
|
|
3962
|
-
continuationSeparator?: EndnoteSeparator;
|
|
3963
|
-
};
|
|
3964
|
-
background?: DocumentBackgroundOptions;
|
|
3965
|
-
features?: FeaturesOptions;
|
|
3966
|
-
compatabilityModeVersion?: number;
|
|
3967
|
-
compatibility?: CompatibilityOptions;
|
|
3968
|
-
customProperties?: CustomPropertyOptions[];
|
|
3969
|
-
evenAndOddHeaderAndFooters?: boolean;
|
|
3970
|
-
defaultTabStop?: number;
|
|
3971
|
-
fonts?: EmbeddedFontOptions[];
|
|
3972
|
-
hyphenation?: HyphenationOptions;
|
|
3973
|
-
conformance?: "strict" | "transitional";
|
|
3974
|
-
characterSpacingControl?: "compressPunctuation" | "doNotCompress";
|
|
3975
|
-
view?: "none" | "print" | "outline" | "masterPages" | "normal" | "web";
|
|
3976
|
-
zoom?: {
|
|
3977
|
-
percent?: number;
|
|
3978
|
-
val?: "none" | "fullPage" | "bestFit" | "textFit";
|
|
3979
|
-
};
|
|
3980
|
-
writeProtection?: WriteProtectionOptions;
|
|
3981
|
-
displayBackgroundShape?: boolean;
|
|
3982
|
-
embedTrueTypeFonts?: boolean;
|
|
3983
|
-
embedSystemFonts?: boolean;
|
|
3984
|
-
saveSubsetFonts?: boolean;
|
|
3985
|
-
docVars?: {
|
|
3986
|
-
name: string;
|
|
3987
|
-
val: string;
|
|
3988
|
-
}[];
|
|
3989
|
-
colorSchemeMapping?: SettingsOptions["colorSchemeMapping"];
|
|
3990
|
-
mailMerge?: SettingsOptions["mailMerge"];
|
|
3991
|
-
glossary?: GlossaryDocumentOptions;
|
|
3992
|
-
settings?: SettingsOptions;
|
|
3993
|
-
webSettings?: WebSettingsOptions;
|
|
3994
|
-
contentTypes?: ContentTypesInput;
|
|
3995
|
-
rawParts?: {
|
|
3996
|
-
path: string;
|
|
3997
|
-
data: Uint8Array;
|
|
3998
|
-
}[];
|
|
3999
|
-
appProperties?: AppPropertiesOptions;
|
|
4000
|
-
}
|
|
4001
|
-
declare const corePropertiesDesc: CustomDescriptor<CorePropertiesOptions>;
|
|
4002
|
-
//#endregion
|
|
4003
|
-
export { AutoCaptionOptions as $, PageNumberElement as $a, setTableParseChild as $i, ProofErrorTypeValue as $n, HighlightColor as $o, TextHorzOverflowType as $r, SubDocOptions as $t, SubDocData as A, BookmarkStartOptions as Aa, Distance as Ai, CustomXmlBlockOptions as An, VerticalAlignSection as Ao, Media as Ar, DocPartBehavior as At, DefaultStylesOptions as B, RunOptions as Ba, AlignmentFrameOptions as Bi, TableRowPropertiesOptions as Bn, SdtCheckboxOptions as Bo, SvgMediaData as Br, EndnotesData as Bt, TargetScreenSize as C, MathInput as Ca, createWrapThrough as Ci, PageSizeProperties as Cn, AlignmentType as Co, BackgroundRawMediaOptions as Cr, withAltChunkOverrides as Cs, AbstractNumberingOptions as Ct, framesetXml as D, MathScriptType as Da, TextWrappingType as Di, ColumnsProperties as Dn, widthPctToFiftieths as Do, ChartOptions as Dr, bibliographyDesc as Ds, LevelFormat as Dt, frameXml as E, MathRunPropertiesOptions as Ea, TextWrappingSide as Ei, createDocumentGrid as En, widthFiftiethsToPct as Eo, SmartArtOptions as Er, SourceTypeOptions as Es, parseNumberingDefinitions as Et, extractStyleId as F, BreakClear as Fa, ParagraphPropertiesOptions as Fi, CustomXmlRunOptions as Fn, stringifyTableOfContents as Fo, GroupChildMediaData as Fr, glossaryDesc as Ft, TableStyleOptions as G, DayLong as Ga, XYFrameOptions as Gi, ExternalHyperlinkOptions as Gn, SdtDateOptions as Go, StyleMatrixReferenceOptions as Gr, SectionPropertiesOptionsBase as Gt, NumberingStyleOptions as H, AnnotationReference as Ha, FrameAnchorType as Hi, DirOptions as Hn, SdtComboBoxOptions as Ho, WpgMediaData as Hr, HeaderFooterGroup as Ht, parseStyleDefinitions as I, BreakOptions as Ia, ParagraphPropertiesOptionsBase as Ii, SdtCellOptions as In, parseToc as Io, MediaData as Ir, FootnoteSeparator as It, stringifyConditionalTableStyle as J, FootnoteReferenceElement as Ja, SpaceType as Ji, FootnoteEndnoteReferenceOptions as Jn, SdtLock as Jo, BodyPropertiesOptions as Jr, DocumentAttributeNamespace as Jt, TableStyleOverrideType as K, DayShort as Ka, HorizontalPositionAlign as Ki, HyperlinkType as Kn, SdtDropDownListOptions as Ko, WpsShapeCoreOptions as Kr, sectionMarginDefaults as Kt, CharacterStyleOptions as L, EMPTY_RUN_ELEMENTS as La, ParagraphStylePropertiesOptions as Li, TableCellOptions as Ln, parseTocFieldFromElements as Lo, MediaDataTransformation as Lr, FootnotesData as Lt, StylesOptions as M, MarkupRangeOptions as Ma, SymbolRunOptions as Mi, CustomXmlDataBindingOptions as Mn, createVerticalAlign as Mo, createTransformation as Mr, DocPartOptions as Mt, buildNumberingCache as N, MoveRangeOptions as Na, LevelParagraphStylePropertiesOptions as Ni, CustomXmlPropertiesOptions as Nn, CellMergeAttributes as No, ChartMediaData as Nr, DocPartType as Nt, webSettingsDesc as O, MathStyleType as Oa, WrapPolygon as Oi, ColumnProperties as On, SectionVerticalAlign as Oo, ImageOptions as Or, LevelSuffix as Ot, buildStyleCache as P, MoveRangeStartOptions as Pa, ParagraphPropertiesChangeOptions as Pi, CustomXmlRowOptions as Pn, VerticalMergeRevisionType as Po, ExtendedMediaData as Pr, GlossaryDocumentOptions as Pt, stringifyTableStyle as Q, NoBreakHyphen as Qa, parseTableRowPropertiesEl as Qi, ProofErrorType as Qn, TableOfContentsOptions as Qo, TextBodyWrappingType as Qr, VmlShapeStyle as Qt, ConditionalTableStyleOptions as R, PageNumber as Ra, TextAlignmentType as Ri, CnfStyleOptions as Rn, parseTocFieldInstruction as Ro, NonVisualPropertiesOptions as Rr, footnotesDesc as Rt, OptimizeForBrowserOptions as S, MathDelimiterProperties as Sa, VerticalPositionRelativeFrom as Si, PageOrientation as Sn, BordersOptions as So, BackgroundImageOptions as Sr, ensureCustomPropertiesOverride as Ss, ConcreteNumberingOptions as St, WebSettingsOptions as T, MathNaryProperties as Ta, TextWrapping as Ti, DocumentGridType as Tn, WidthType as To, SmartArtNode as Tr, BibliographyOptions as Ts, NumberingOptions as Tt, ParagraphStyleOptions as U, CarriageReturn as Ua, FrameOptions$1 as Ui, NumberedItemReferenceFormat as Un, SdtDataBindingOptions as Uo, WpsMediaData as Ur, SectionPropertiesChangeOptions as Ut, DocumentDefaultsOptions as V, breakXml as Va, DropCapType as Vi, TableRowPropertiesOptionsBase as Vn, SdtCheckboxSymbol as Vo, WpgCommonMediaData as Vr, endnotesDesc as Vt, StyleOptions as W, ContinuationSeparator as Wa, FrameWrap as Wi, NumberedItemReferenceOptions as Wn, SdtDateMappingType as Wo, ShapeStyleOptions as Wr, SectionPropertiesOptions as Wt, stringifyNumberingStyle as X, MonthLong as Xa, parseTableCellPropertiesEl as Xi, ParagraphOptions as Xn, SdtTextOptions as Xo, NormalAutofitOptions as Xr, SectionChild as Xt, stringifyDocDefaults as Y, LastRenderedPageBreak as Ya, VerticalPositionAlign as Yi, ParagraphChild as Yn, SdtPropertiesOptions as Yo, FlatTextOptions as Yr, DocumentAttributeNamespaces as Yt, stringifyParagraphStyle as Z, MonthShort as Za, parseTablePropertiesEl as Zi, SdtRunOptions as Zn, StyleLevel as Zo, PresetTextShapeOptions as Zr, SectionOptions as Zt, parseArchive as _, RelativeVerticalPosition as _a, Floating as _i, PageBorderZOrder as _n, SpacingProperties as _o, CommentOptions as _r, ContentTypeDefault as _s, RsidsOptions as _t, CustomPropertyOptions as a, TableCellBordersOptions as aa, ChildExtent as ai, HeaderFooterType as an, ObjectControlOptions as ao, FormFieldTextOptions as ar, UnderlineType as as, HyphenationOptions as at, DivBorderOptions as b, TABLE_BORDERS_NONE as ba, Margins as bi, PageNumberTypeProperties as bn, IndentProperties as bo, WpgGroupRunOptions as br, buildContentTypesFromRegistry as bs, CompatSettingOptions as bt, AppPropertiesOptions as c, TablePropertyExChangeOptions as ca, WpgGroupCoreOptions as ci, createSectionType as cn, ObjectIconImageOptions as co, createFormFieldData as cr, ShadingProperties as cs, MailMergeDocType as ct, EmbeddedFontOptionsWithKey as d, TablePropertiesOptions$1 as da, GraphicFrameLocksOptions as di, createLineNumberType as dn, LeaderType as do, RubyOptions as dr, BorderOptions as ds, MathPropertiesOptions as dt, tableDesc as ea, TextVertOverflowType as ei, parseSectionPropertiesEl as en, Separator as eo, SmartTagRunOptions as er, ParagraphRunPropertiesOptions as es, CaptionOptions as et, BodyContext as f, TablePropertiesOptionsBase$1 as fa, GroupShapeLocksOptions as fi, PageTextDirectionType as fn, TabStopDefinition as fo, PositionalTabAlignment as fr, BorderStyle as fs, OdsoFieldMapDataOptions as ft, DocxPartRefs as g, RelativeHorizontalPosition as ga, createHorizontalPosition as gi, PageBorderOffsetFrom as gn, LineRuleType as go, CommentChildOptions as gr, CharacterSet as gs, RevisionViewOptions as gt, DocxDocument as h, OverlapType as ha, createVerticalPosition as hi, PageBorderDisplay as hn, HeadingLevel as ho, PositionalTabRelativeTo as hr, AltChunkData as hs, ReadModeInkLockDownOptions as ht, CustomPropertiesInput as i, TableRowOptions as ia, parseBodyProperties as ii, HeaderFooterReferenceType as in, YearShort as io, FormFieldOptions as ir, TextEffect as is, FootnotePropertiesOptions as it, Styles as j, DisplacedByCustomXml as ja, DrawingOptions as ji, CustomXmlCellOptions as jn, VerticalAlignTable as jo, MediaTransformation as jr, DocPartGallery as jt, SubDocCollection as k, BookmarkOptions as ka, WrapPolygonPoint as ki, CustomXmlAttributeOptions as kn, TableVerticalAlign as ko, createImageData as kr, LevelsOptions as kt, appPropertiesDesc as l, TablePropertyExOptions as la, WpgGroupOptions as li, LineNumberProperties as ln, ObjectLinkOptions as lo, parseFormFieldData as lr, ShadingType as ls, MailMergeOptions as lt, DocxWriteContext as m, TableLayoutType as ma, resetDrawingIdGen as mi, createPageMargin as mn, TabStopType as mo, PositionalTabOptions as mr, AltChunkCollection as ms, OdsoOptions as mt, FeaturesOptions as n, HeightRule as na, VerticalAnchor as ni, stringifySectionPropertiesXml as nn, Tab as no, DropDownListOptions as nr, RunPropertiesOptions as ns, DocumentProtectionOptions as nt, customPropertiesDesc as o, TextDirection as oa, ChildOffset as oi, createHeaderFooterReference as on, ObjectElementOptions as oo, FormFieldTextType as or, FontProperties as os, MailMergeDataType as ot, DocxReadContext as p, TableLookOptions as pa, drawingDesc as pi, PageMarginProperties as pn, TabStopPosition as po, PositionalTabLeader as pr, AltChunkOptions as ps, OdsoFieldType as pt, stringifyCharacterStyle as q, EndnoteReference as qa, NumberFormat as qi, InternalHyperlinkOptions as qn, SdtListItem as qo, WpsShapeOptions as qr, sectionPageSizeDefaults as qt, corePropertiesDesc as r, SdtRowOptions as ra, createBodyProperties as ri, HeaderFooterReferenceOptions as rn, YearLong as ro, FormFieldCommonOptions as rr, RunStylePropertiesOptions as rs, EndnotePropertiesOptions as rt, AppPropertiesInput as s, VerticalMergeType as sa, GroupChild as si, SectionType as sn, ObjectEmbedOptions as so, TextInputOptions as sr, EmphasisMarkType as ss, MailMergeDest as st, DocumentOptions as t, TableOptions as ta, TextVerticalType as ti, sectionPropertiesDesc as tn, SoftHyphen as to, CheckBoxOptions as tr, RunPropertiesChangeOptions as ts, CaptionsOptions as tt, settingsDesc as u, TablePropertiesChangeOptions$1 as ua, DrawingDescriptorOptions as ui, LineNumberRestartFormat as un, objectDesc as uo, RubyAlign as ur, parseShading as us, MailMergeSourceType as ut, parseDocument as v, TableAnchorType as va, HorizontalPositionOptions as vi, PageBordersOptions as vn, BreakType as vo, CommentsOptions as vr, ContentTypeOverride as vs, SettingsOptions as vt, WebSettingsInput as w, MathNaryLimitLocation as wa, createWrapTight as wi, DocGridProperties as wn, TableWidthProperties as wo, DocumentBackgroundOptions as wr, withMediaDefaults as ws, Numbering as wt, DivOptions as x, TableBordersOptions as xa, VerticalPositionOptions as xi, createPageNumberType as xn, CnfConditionalOptions as xo, WpsShapeRunOptions as xr, contentTypesDesc as xs, CompatibilityOptions as xt, parseDocx as y, TableFloatOptions as ya, HorizontalPositionRelativeFrom as yi, PageNumberSeparator as yn, BreakTypeValue as yo, SimpleFieldOptions as yr, ContentTypesInput as ys, WriteProtectionOptions as yt, DefaultStylesFactory as z, ParagraphRunOptions as za, TextboxTightWrapType as zi, TableRowPropertiesChangeOptions as zn, selectTocEntryElements as zo, SmartArtMediaData as zr, EndnoteSeparator as zt };
|
|
4004
|
-
//# sourceMappingURL=core-properties-BLnZI4Tr.d.mts.map
|