@office-open/docx 0.9.4 → 0.9.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{context-CA7wUvmY.mjs → context-CSBntKXD.mjs} +43 -1076
- package/dist/context-CSBntKXD.mjs.map +1 -0
- package/dist/{core-properties-CR-T1Wqh.d.mts → core-properties-BMagGcpC.d.mts} +429 -425
- package/dist/core-properties-BMagGcpC.d.mts.map +1 -0
- package/dist/{document-B_uvEH8b.mjs → document-DYH7tGnw.mjs} +1575 -434
- package/dist/document-DYH7tGnw.mjs.map +1 -0
- package/dist/{generate-_AmBlI4o.mjs → generate-BVfOLdwW.mjs} +3 -3
- package/dist/{generate-_AmBlI4o.mjs.map → generate-BVfOLdwW.mjs.map} +1 -1
- package/dist/generate.d.mts +1 -1
- package/dist/generate.mjs +1 -1
- package/dist/index.d.mts +12 -2
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +5 -5
- package/dist/{parse-7SJ1sm-D.mjs → parse-Db2NGghB.mjs} +3 -28
- package/dist/parse-Db2NGghB.mjs.map +1 -0
- package/dist/parse.d.mts +1 -1
- package/dist/parse.mjs +1 -1
- package/dist/patch/index.d.mts +1 -1
- package/dist/patch/index.mjs +1 -1
- package/package.json +3 -3
- package/dist/context-CA7wUvmY.mjs.map +0 -1
- package/dist/core-properties-CR-T1Wqh.d.mts.map +0 -1
- package/dist/document-B_uvEH8b.mjs.map +0 -1
- package/dist/parse-7SJ1sm-D.mjs.map +0 -1
|
@@ -108,6 +108,48 @@ interface AltChunkOptions {
|
|
|
108
108
|
matchSrc?: boolean;
|
|
109
109
|
}
|
|
110
110
|
//#endregion
|
|
111
|
+
//#region src/shared/border.d.ts
|
|
112
|
+
interface BorderOptions {
|
|
113
|
+
style: (typeof BorderStyle)[keyof typeof BorderStyle];
|
|
114
|
+
color?: string;
|
|
115
|
+
themeColor?: (typeof ThemeColor)[keyof typeof ThemeColor];
|
|
116
|
+
themeTint?: string;
|
|
117
|
+
themeShade?: string;
|
|
118
|
+
shadow?: boolean;
|
|
119
|
+
frame?: boolean;
|
|
120
|
+
size?: number;
|
|
121
|
+
space?: number;
|
|
122
|
+
}
|
|
123
|
+
declare const BorderStyle: {
|
|
124
|
+
readonly SINGLE: "single";
|
|
125
|
+
readonly DASH_DOT_STROKED: "dashDotStroked";
|
|
126
|
+
readonly DASHED: "dashed";
|
|
127
|
+
readonly DASH_SMALL_GAP: "dashSmallGap";
|
|
128
|
+
readonly DOT_DASH: "dotDash";
|
|
129
|
+
readonly DOT_DOT_DASH: "dotDotDash";
|
|
130
|
+
readonly DOTTED: "dotted";
|
|
131
|
+
readonly DOUBLE: "double";
|
|
132
|
+
readonly DOUBLE_WAVE: "doubleWave";
|
|
133
|
+
readonly INSET: "inset";
|
|
134
|
+
readonly NIL: "nil";
|
|
135
|
+
readonly NONE: "none";
|
|
136
|
+
readonly OUTSET: "outset";
|
|
137
|
+
readonly THICK: "thick";
|
|
138
|
+
readonly THICK_THIN_LARGE_GAP: "thickThinLargeGap";
|
|
139
|
+
readonly THICK_THIN_MEDIUM_GAP: "thickThinMediumGap";
|
|
140
|
+
readonly THICK_THIN_SMALL_GAP: "thickThinSmallGap";
|
|
141
|
+
readonly THIN_THICK_LARGE_GAP: "thinThickLargeGap";
|
|
142
|
+
readonly THIN_THICK_MEDIUM_GAP: "thinThickMediumGap";
|
|
143
|
+
readonly THIN_THICK_SMALL_GAP: "thinThickSmallGap";
|
|
144
|
+
readonly THIN_THICK_THIN_LARGE_GAP: "thinThickThinLargeGap";
|
|
145
|
+
readonly THIN_THICK_THIN_MEDIUM_GAP: "thinThickThinMediumGap";
|
|
146
|
+
readonly THIN_THICK_THIN_SMALL_GAP: "thinThickThinSmallGap";
|
|
147
|
+
readonly THREE_D_EMBOSS: "threeDEmboss";
|
|
148
|
+
readonly THREE_D_ENGRAVE: "threeDEngrave";
|
|
149
|
+
readonly TRIPLE: "triple";
|
|
150
|
+
readonly WAVE: "wave";
|
|
151
|
+
};
|
|
152
|
+
//#endregion
|
|
111
153
|
//#region src/shared/shading.d.ts
|
|
112
154
|
interface ShadingAttributesProperties {
|
|
113
155
|
fill?: string;
|
|
@@ -167,6 +209,286 @@ interface ChangedAttributesProperties {
|
|
|
167
209
|
date: string;
|
|
168
210
|
}
|
|
169
211
|
//#endregion
|
|
212
|
+
//#region src/parts/paragraph/run/east-asian-layout.d.ts
|
|
213
|
+
declare const CombineBracketsType: {
|
|
214
|
+
readonly NONE: "none";
|
|
215
|
+
readonly ROUND: "round";
|
|
216
|
+
readonly SQUARE: "square";
|
|
217
|
+
readonly ANGLE: "angle";
|
|
218
|
+
readonly CURLY: "curly";
|
|
219
|
+
};
|
|
220
|
+
interface EastAsianLayoutOptions {
|
|
221
|
+
id?: number;
|
|
222
|
+
combine?: boolean;
|
|
223
|
+
combineBrackets?: (typeof CombineBracketsType)[keyof typeof CombineBracketsType];
|
|
224
|
+
vert?: boolean;
|
|
225
|
+
vertCompress?: boolean;
|
|
226
|
+
}
|
|
227
|
+
//#endregion
|
|
228
|
+
//#region src/parts/paragraph/run/emphasis-mark.d.ts
|
|
229
|
+
declare const EmphasisMarkType: {
|
|
230
|
+
readonly NONE: "none";
|
|
231
|
+
readonly COMMA: "comma";
|
|
232
|
+
readonly CIRCLE: "circle";
|
|
233
|
+
readonly DOT: "dot";
|
|
234
|
+
readonly UNDER_DOT: "underDot";
|
|
235
|
+
};
|
|
236
|
+
//#endregion
|
|
237
|
+
//#region src/parts/paragraph/run/formatting.d.ts
|
|
238
|
+
interface ColorOptions {
|
|
239
|
+
val?: string;
|
|
240
|
+
themeColor?: (typeof ThemeColor)[keyof typeof ThemeColor];
|
|
241
|
+
themeTint?: string;
|
|
242
|
+
themeShade?: string;
|
|
243
|
+
}
|
|
244
|
+
//#endregion
|
|
245
|
+
//#region src/parts/paragraph/run/language.d.ts
|
|
246
|
+
interface LanguageOptions {
|
|
247
|
+
value?: string;
|
|
248
|
+
eastAsia?: string;
|
|
249
|
+
bidirectional?: string;
|
|
250
|
+
}
|
|
251
|
+
//#endregion
|
|
252
|
+
//#region src/parts/paragraph/run/run-fonts.d.ts
|
|
253
|
+
interface FontAttributesProperties {
|
|
254
|
+
ascii?: string;
|
|
255
|
+
cs?: string;
|
|
256
|
+
eastAsia?: string;
|
|
257
|
+
hAnsi?: string;
|
|
258
|
+
hint?: string;
|
|
259
|
+
asciiTheme?: (typeof ThemeFont)[keyof typeof ThemeFont];
|
|
260
|
+
hAnsiTheme?: (typeof ThemeFont)[keyof typeof ThemeFont];
|
|
261
|
+
eastAsiaTheme?: (typeof ThemeFont)[keyof typeof ThemeFont];
|
|
262
|
+
cstheme?: (typeof ThemeFont)[keyof typeof ThemeFont];
|
|
263
|
+
}
|
|
264
|
+
//#endregion
|
|
265
|
+
//#region src/parts/paragraph/run/underline.d.ts
|
|
266
|
+
declare const UnderlineType: {
|
|
267
|
+
readonly SINGLE: "single";
|
|
268
|
+
readonly WORDS: "words";
|
|
269
|
+
readonly DOUBLE: "double";
|
|
270
|
+
readonly THICK: "thick";
|
|
271
|
+
readonly DOTTED: "dotted";
|
|
272
|
+
readonly DOTTEDHEAVY: "dottedHeavy";
|
|
273
|
+
readonly DASH: "dash";
|
|
274
|
+
readonly DASHEDHEAVY: "dashedHeavy";
|
|
275
|
+
readonly DASHLONG: "dashLong";
|
|
276
|
+
readonly DASHLONGHEAVY: "dashLongHeavy";
|
|
277
|
+
readonly DOTDASH: "dotDash";
|
|
278
|
+
readonly DASHDOTHEAVY: "dashDotHeavy";
|
|
279
|
+
readonly DOTDOTDASH: "dotDotDash";
|
|
280
|
+
readonly DASHDOTDOTHEAVY: "dashDotDotHeavy";
|
|
281
|
+
readonly WAVE: "wave";
|
|
282
|
+
readonly WAVYHEAVY: "wavyHeavy";
|
|
283
|
+
readonly WAVYDOUBLE: "wavyDouble";
|
|
284
|
+
readonly NONE: "none";
|
|
285
|
+
};
|
|
286
|
+
//#endregion
|
|
287
|
+
//#region src/parts/paragraph/run/properties.d.ts
|
|
288
|
+
interface RunFontReference {
|
|
289
|
+
name: string;
|
|
290
|
+
hint?: string;
|
|
291
|
+
}
|
|
292
|
+
declare const TextEffect: {
|
|
293
|
+
readonly BLINK_BACKGROUND: "blinkBackground";
|
|
294
|
+
readonly LIGHTS: "lights";
|
|
295
|
+
readonly ANTS_BLACK: "antsBlack";
|
|
296
|
+
readonly ANTS_RED: "antsRed";
|
|
297
|
+
readonly SHIMMER: "shimmer";
|
|
298
|
+
readonly SPARKLE: "sparkle";
|
|
299
|
+
readonly NONE: "none";
|
|
300
|
+
};
|
|
301
|
+
declare const HighlightColor: {
|
|
302
|
+
readonly BLACK: "black";
|
|
303
|
+
readonly BLUE: "blue";
|
|
304
|
+
readonly CYAN: "cyan";
|
|
305
|
+
readonly DARK_BLUE: "darkBlue";
|
|
306
|
+
readonly DARK_CYAN: "darkCyan";
|
|
307
|
+
readonly DARK_GRAY: "darkGray";
|
|
308
|
+
readonly DARK_GREEN: "darkGreen";
|
|
309
|
+
readonly DARK_MAGENTA: "darkMagenta";
|
|
310
|
+
readonly DARK_RED: "darkRed";
|
|
311
|
+
readonly DARK_YELLOW: "darkYellow";
|
|
312
|
+
readonly GREEN: "green";
|
|
313
|
+
readonly LIGHT_GRAY: "lightGray";
|
|
314
|
+
readonly MAGENTA: "magenta";
|
|
315
|
+
readonly NONE: "none";
|
|
316
|
+
readonly RED: "red";
|
|
317
|
+
readonly WHITE: "white";
|
|
318
|
+
readonly YELLOW: "yellow";
|
|
319
|
+
};
|
|
320
|
+
interface RunStylePropertiesOptions {
|
|
321
|
+
noProof?: boolean;
|
|
322
|
+
bold?: boolean;
|
|
323
|
+
boldComplexScript?: boolean;
|
|
324
|
+
italic?: boolean;
|
|
325
|
+
italicComplexScript?: boolean;
|
|
326
|
+
underline?: {
|
|
327
|
+
color?: string;
|
|
328
|
+
type?: (typeof UnderlineType)[keyof typeof UnderlineType];
|
|
329
|
+
};
|
|
330
|
+
effect?: (typeof TextEffect)[keyof typeof TextEffect];
|
|
331
|
+
emphasisMark?: {
|
|
332
|
+
type?: (typeof EmphasisMarkType)[keyof typeof EmphasisMarkType];
|
|
333
|
+
};
|
|
334
|
+
color?: string | ColorOptions;
|
|
335
|
+
kern?: number;
|
|
336
|
+
position?: string;
|
|
337
|
+
size?: number;
|
|
338
|
+
sizeComplexScript?: boolean | number;
|
|
339
|
+
rightToLeft?: boolean;
|
|
340
|
+
smallCaps?: boolean;
|
|
341
|
+
allCaps?: boolean;
|
|
342
|
+
strike?: boolean;
|
|
343
|
+
doubleStrike?: boolean;
|
|
344
|
+
subScript?: boolean;
|
|
345
|
+
superScript?: boolean;
|
|
346
|
+
font?: string | RunFontReference | FontAttributesProperties;
|
|
347
|
+
highlight?: (typeof HighlightColor)[keyof typeof HighlightColor];
|
|
348
|
+
highlightComplexScript?: boolean | string;
|
|
349
|
+
characterSpacing?: number;
|
|
350
|
+
shading?: ShadingAttributesProperties;
|
|
351
|
+
emboss?: boolean;
|
|
352
|
+
imprint?: boolean;
|
|
353
|
+
revision?: RunPropertiesChangeOptions;
|
|
354
|
+
language?: LanguageOptions;
|
|
355
|
+
border?: BorderOptions;
|
|
356
|
+
snapToGrid?: boolean;
|
|
357
|
+
vanish?: boolean;
|
|
358
|
+
specVanish?: boolean;
|
|
359
|
+
scale?: number;
|
|
360
|
+
math?: boolean;
|
|
361
|
+
outline?: boolean;
|
|
362
|
+
shadow?: boolean;
|
|
363
|
+
webHidden?: boolean;
|
|
364
|
+
fitText?: number;
|
|
365
|
+
complexScript?: boolean;
|
|
366
|
+
eastAsianLayout?: EastAsianLayoutOptions;
|
|
367
|
+
contentPartRId?: string;
|
|
368
|
+
}
|
|
369
|
+
type RunPropertiesOptions = {
|
|
370
|
+
style?: string;
|
|
371
|
+
} & RunStylePropertiesOptions;
|
|
372
|
+
type RunPropertiesChangeOptions = {} & RunPropertiesOptions & ChangedAttributesProperties;
|
|
373
|
+
type ParagraphRunPropertiesOptions = {
|
|
374
|
+
insertion?: ChangedAttributesProperties;
|
|
375
|
+
deletion?: ChangedAttributesProperties;
|
|
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
|
+
}
|
|
402
|
+
//#endregion
|
|
403
|
+
//#region src/parts/table-of-contents/sdt-properties.d.ts
|
|
404
|
+
declare const SdtLock: {
|
|
405
|
+
readonly SDT_LOCKED: "sdtLocked";
|
|
406
|
+
readonly CONTENT_LOCKED: "contentLocked";
|
|
407
|
+
readonly UNLOCKED: "unlocked";
|
|
408
|
+
readonly SDT_CONTENT_LOCKED: "sdtContentLocked";
|
|
409
|
+
};
|
|
410
|
+
interface SdtListItem {
|
|
411
|
+
displayText?: string;
|
|
412
|
+
value?: string;
|
|
413
|
+
}
|
|
414
|
+
interface SdtComboBoxOptions {
|
|
415
|
+
items?: SdtListItem[];
|
|
416
|
+
lastValue?: string;
|
|
417
|
+
}
|
|
418
|
+
interface SdtDropDownListOptions {
|
|
419
|
+
items?: SdtListItem[];
|
|
420
|
+
lastValue?: string;
|
|
421
|
+
}
|
|
422
|
+
declare const SdtDateMappingType: {
|
|
423
|
+
readonly TEXT: "text";
|
|
424
|
+
readonly DATE: "date";
|
|
425
|
+
readonly DATE_TIME: "dateTime";
|
|
426
|
+
};
|
|
427
|
+
interface SdtDateOptions {
|
|
428
|
+
dateFormat?: string;
|
|
429
|
+
languageId?: string;
|
|
430
|
+
storeMappedDataAs?: (typeof SdtDateMappingType)[keyof typeof SdtDateMappingType];
|
|
431
|
+
calendar?: string;
|
|
432
|
+
fullDate?: string;
|
|
433
|
+
}
|
|
434
|
+
interface SdtTextOptions {
|
|
435
|
+
multiLine?: boolean;
|
|
436
|
+
}
|
|
437
|
+
interface SdtCheckboxSymbol {
|
|
438
|
+
val: string;
|
|
439
|
+
font?: string;
|
|
440
|
+
}
|
|
441
|
+
interface SdtCheckboxOptions {
|
|
442
|
+
checked?: boolean;
|
|
443
|
+
checkedState?: SdtCheckboxSymbol;
|
|
444
|
+
uncheckedState?: SdtCheckboxSymbol;
|
|
445
|
+
}
|
|
446
|
+
interface SdtDataBindingOptions {
|
|
447
|
+
prefixMappings?: string;
|
|
448
|
+
xpath: string;
|
|
449
|
+
storeItemID: string;
|
|
450
|
+
}
|
|
451
|
+
interface SdtPropertiesOptions {
|
|
452
|
+
alias?: string;
|
|
453
|
+
tag?: string;
|
|
454
|
+
id?: number;
|
|
455
|
+
lock?: (typeof SdtLock)[keyof typeof SdtLock];
|
|
456
|
+
temporary?: boolean;
|
|
457
|
+
showingPlaceholder?: boolean;
|
|
458
|
+
dataBinding?: SdtDataBindingOptions;
|
|
459
|
+
label?: number;
|
|
460
|
+
tabIndex?: number;
|
|
461
|
+
equation?: boolean;
|
|
462
|
+
comboBox?: SdtComboBoxOptions;
|
|
463
|
+
date?: SdtDateOptions;
|
|
464
|
+
docPartObj?: {
|
|
465
|
+
gallery?: string;
|
|
466
|
+
category?: string;
|
|
467
|
+
unique?: boolean;
|
|
468
|
+
};
|
|
469
|
+
docPartList?: {
|
|
470
|
+
gallery?: string;
|
|
471
|
+
category?: string;
|
|
472
|
+
unique?: boolean;
|
|
473
|
+
};
|
|
474
|
+
dropDownList?: SdtDropDownListOptions;
|
|
475
|
+
picture?: boolean;
|
|
476
|
+
richText?: boolean;
|
|
477
|
+
text?: SdtTextOptions;
|
|
478
|
+
citation?: boolean;
|
|
479
|
+
group?: boolean;
|
|
480
|
+
bibliography?: boolean;
|
|
481
|
+
checkbox?: SdtCheckboxOptions;
|
|
482
|
+
}
|
|
483
|
+
//#endregion
|
|
484
|
+
//#region src/parts/table-of-contents/toc-parse.d.ts
|
|
485
|
+
declare function parseToc(el: Element, _ctx: DocxReadContext): ({
|
|
486
|
+
alias?: string;
|
|
487
|
+
} & TableOfContentsOptions) | undefined;
|
|
488
|
+
//#endregion
|
|
489
|
+
//#region src/parts/table-of-contents/descriptor.d.ts
|
|
490
|
+
declare function stringifyTableOfContents(alias?: string, options?: TableOfContentsOptions): string;
|
|
491
|
+
//#endregion
|
|
170
492
|
//#region src/shared/track-revision/track-revision-components/cell-merge.d.ts
|
|
171
493
|
declare const VerticalMergeRevisionType: {
|
|
172
494
|
readonly CONTINUE: "continue";
|
|
@@ -210,48 +532,6 @@ declare const AlignmentType: {
|
|
|
210
532
|
readonly JUSTIFIED: "both";
|
|
211
533
|
};
|
|
212
534
|
//#endregion
|
|
213
|
-
//#region src/shared/border.d.ts
|
|
214
|
-
interface BorderOptions {
|
|
215
|
-
style: (typeof BorderStyle)[keyof typeof BorderStyle];
|
|
216
|
-
color?: string;
|
|
217
|
-
themeColor?: (typeof ThemeColor)[keyof typeof ThemeColor];
|
|
218
|
-
themeTint?: string;
|
|
219
|
-
themeShade?: string;
|
|
220
|
-
shadow?: boolean;
|
|
221
|
-
frame?: boolean;
|
|
222
|
-
size?: number;
|
|
223
|
-
space?: number;
|
|
224
|
-
}
|
|
225
|
-
declare const BorderStyle: {
|
|
226
|
-
readonly SINGLE: "single";
|
|
227
|
-
readonly DASH_DOT_STROKED: "dashDotStroked";
|
|
228
|
-
readonly DASHED: "dashed";
|
|
229
|
-
readonly DASH_SMALL_GAP: "dashSmallGap";
|
|
230
|
-
readonly DOT_DASH: "dotDash";
|
|
231
|
-
readonly DOT_DOT_DASH: "dotDotDash";
|
|
232
|
-
readonly DOTTED: "dotted";
|
|
233
|
-
readonly DOUBLE: "double";
|
|
234
|
-
readonly DOUBLE_WAVE: "doubleWave";
|
|
235
|
-
readonly INSET: "inset";
|
|
236
|
-
readonly NIL: "nil";
|
|
237
|
-
readonly NONE: "none";
|
|
238
|
-
readonly OUTSET: "outset";
|
|
239
|
-
readonly THICK: "thick";
|
|
240
|
-
readonly THICK_THIN_LARGE_GAP: "thickThinLargeGap";
|
|
241
|
-
readonly THICK_THIN_MEDIUM_GAP: "thickThinMediumGap";
|
|
242
|
-
readonly THICK_THIN_SMALL_GAP: "thickThinSmallGap";
|
|
243
|
-
readonly THIN_THICK_LARGE_GAP: "thinThickLargeGap";
|
|
244
|
-
readonly THIN_THICK_MEDIUM_GAP: "thinThickMediumGap";
|
|
245
|
-
readonly THIN_THICK_SMALL_GAP: "thinThickSmallGap";
|
|
246
|
-
readonly THIN_THICK_THIN_LARGE_GAP: "thinThickThinLargeGap";
|
|
247
|
-
readonly THIN_THICK_THIN_MEDIUM_GAP: "thinThickThinMediumGap";
|
|
248
|
-
readonly THIN_THICK_THIN_SMALL_GAP: "thinThickThinSmallGap";
|
|
249
|
-
readonly THREE_D_EMBOSS: "threeDEmboss";
|
|
250
|
-
readonly THREE_D_ENGRAVE: "threeDEngrave";
|
|
251
|
-
readonly TRIPLE: "triple";
|
|
252
|
-
readonly WAVE: "wave";
|
|
253
|
-
};
|
|
254
|
-
//#endregion
|
|
255
535
|
//#region src/parts/paragraph/formatting/border.d.ts
|
|
256
536
|
interface BordersOptions {
|
|
257
537
|
top?: BorderOptions;
|
|
@@ -609,245 +889,79 @@ interface BaseFrameOptions {
|
|
|
609
889
|
vertical: (typeof FrameAnchorType)[keyof typeof FrameAnchorType];
|
|
610
890
|
};
|
|
611
891
|
space?: {
|
|
612
|
-
horizontal: number;
|
|
613
|
-
vertical: number;
|
|
614
|
-
};
|
|
615
|
-
rule?: (typeof HeightRule)[keyof typeof HeightRule];
|
|
616
|
-
}
|
|
617
|
-
type XYFrameOptions = {
|
|
618
|
-
type: "absolute";
|
|
619
|
-
position: {
|
|
620
|
-
x: number;
|
|
621
|
-
y: number;
|
|
622
|
-
};
|
|
623
|
-
} & BaseFrameOptions;
|
|
624
|
-
type AlignmentFrameOptions = {
|
|
625
|
-
type: "alignment";
|
|
626
|
-
alignment: {
|
|
627
|
-
x: (typeof HorizontalPositionAlign)[keyof typeof HorizontalPositionAlign];
|
|
628
|
-
y: (typeof VerticalPositionAlign)[keyof typeof VerticalPositionAlign];
|
|
629
|
-
};
|
|
630
|
-
} & BaseFrameOptions;
|
|
631
|
-
type FrameOptions$1 = XYFrameOptions | AlignmentFrameOptions;
|
|
632
|
-
//#endregion
|
|
633
|
-
//#region src/parts/paragraph/run/empty-children.d.ts
|
|
634
|
-
interface NoBreakHyphen {
|
|
635
|
-
noBreakHyphen: true;
|
|
636
|
-
}
|
|
637
|
-
interface SoftHyphen {
|
|
638
|
-
softHyphen: true;
|
|
639
|
-
}
|
|
640
|
-
interface DayShort {
|
|
641
|
-
dayShort: true;
|
|
642
|
-
}
|
|
643
|
-
interface MonthShort {
|
|
644
|
-
monthShort: true;
|
|
645
|
-
}
|
|
646
|
-
interface YearShort {
|
|
647
|
-
yearShort: true;
|
|
648
|
-
}
|
|
649
|
-
interface DayLong {
|
|
650
|
-
dayLong: true;
|
|
651
|
-
}
|
|
652
|
-
interface MonthLong {
|
|
653
|
-
monthLong: true;
|
|
654
|
-
}
|
|
655
|
-
interface YearLong {
|
|
656
|
-
yearLong: true;
|
|
657
|
-
}
|
|
658
|
-
interface AnnotationReference {
|
|
659
|
-
annotationRef: true;
|
|
660
|
-
}
|
|
661
|
-
interface FootnoteReferenceElement {
|
|
662
|
-
footnoteRef: true;
|
|
663
|
-
}
|
|
664
|
-
interface EndnoteReference {
|
|
665
|
-
endnoteRef: true;
|
|
666
|
-
}
|
|
667
|
-
interface Separator {
|
|
668
|
-
separator: true;
|
|
669
|
-
}
|
|
670
|
-
interface ContinuationSeparator {
|
|
671
|
-
continuationSeparator: true;
|
|
672
|
-
}
|
|
673
|
-
interface PageNumberElement {
|
|
674
|
-
pgNum: true;
|
|
675
|
-
}
|
|
676
|
-
interface CarriageReturn {
|
|
677
|
-
carriageReturn: true;
|
|
678
|
-
}
|
|
679
|
-
interface Tab {
|
|
680
|
-
tab: true;
|
|
681
|
-
}
|
|
682
|
-
interface LastRenderedPageBreak {
|
|
683
|
-
lastRenderedPageBreak: true;
|
|
684
|
-
}
|
|
685
|
-
//#endregion
|
|
686
|
-
//#region src/parts/paragraph/run/east-asian-layout.d.ts
|
|
687
|
-
declare const CombineBracketsType: {
|
|
688
|
-
readonly NONE: "none";
|
|
689
|
-
readonly ROUND: "round";
|
|
690
|
-
readonly SQUARE: "square";
|
|
691
|
-
readonly ANGLE: "angle";
|
|
692
|
-
readonly CURLY: "curly";
|
|
693
|
-
};
|
|
694
|
-
interface EastAsianLayoutOptions {
|
|
695
|
-
id?: number;
|
|
696
|
-
combine?: boolean;
|
|
697
|
-
combineBrackets?: (typeof CombineBracketsType)[keyof typeof CombineBracketsType];
|
|
698
|
-
vert?: boolean;
|
|
699
|
-
vertCompress?: boolean;
|
|
700
|
-
}
|
|
701
|
-
//#endregion
|
|
702
|
-
//#region src/parts/paragraph/run/emphasis-mark.d.ts
|
|
703
|
-
declare const EmphasisMarkType: {
|
|
704
|
-
readonly NONE: "none";
|
|
705
|
-
readonly COMMA: "comma";
|
|
706
|
-
readonly CIRCLE: "circle";
|
|
707
|
-
readonly DOT: "dot";
|
|
708
|
-
readonly UNDER_DOT: "underDot";
|
|
709
|
-
};
|
|
710
|
-
//#endregion
|
|
711
|
-
//#region src/parts/paragraph/run/formatting.d.ts
|
|
712
|
-
interface ColorOptions {
|
|
713
|
-
val?: string;
|
|
714
|
-
themeColor?: (typeof ThemeColor)[keyof typeof ThemeColor];
|
|
715
|
-
themeTint?: string;
|
|
716
|
-
themeShade?: string;
|
|
717
|
-
}
|
|
718
|
-
//#endregion
|
|
719
|
-
//#region src/parts/paragraph/run/language.d.ts
|
|
720
|
-
interface LanguageOptions {
|
|
721
|
-
value?: string;
|
|
722
|
-
eastAsia?: string;
|
|
723
|
-
bidirectional?: string;
|
|
724
|
-
}
|
|
725
|
-
//#endregion
|
|
726
|
-
//#region src/parts/paragraph/run/run-fonts.d.ts
|
|
727
|
-
interface FontAttributesProperties {
|
|
728
|
-
ascii?: string;
|
|
729
|
-
cs?: string;
|
|
730
|
-
eastAsia?: string;
|
|
731
|
-
hAnsi?: string;
|
|
732
|
-
hint?: string;
|
|
733
|
-
asciiTheme?: (typeof ThemeFont)[keyof typeof ThemeFont];
|
|
734
|
-
hAnsiTheme?: (typeof ThemeFont)[keyof typeof ThemeFont];
|
|
735
|
-
eastAsiaTheme?: (typeof ThemeFont)[keyof typeof ThemeFont];
|
|
736
|
-
cstheme?: (typeof ThemeFont)[keyof typeof ThemeFont];
|
|
737
|
-
}
|
|
738
|
-
//#endregion
|
|
739
|
-
//#region src/parts/paragraph/run/underline.d.ts
|
|
740
|
-
declare const UnderlineType: {
|
|
741
|
-
readonly SINGLE: "single";
|
|
742
|
-
readonly WORDS: "words";
|
|
743
|
-
readonly DOUBLE: "double";
|
|
744
|
-
readonly THICK: "thick";
|
|
745
|
-
readonly DOTTED: "dotted";
|
|
746
|
-
readonly DOTTEDHEAVY: "dottedHeavy";
|
|
747
|
-
readonly DASH: "dash";
|
|
748
|
-
readonly DASHEDHEAVY: "dashedHeavy";
|
|
749
|
-
readonly DASHLONG: "dashLong";
|
|
750
|
-
readonly DASHLONGHEAVY: "dashLongHeavy";
|
|
751
|
-
readonly DOTDASH: "dotDash";
|
|
752
|
-
readonly DASHDOTHEAVY: "dashDotHeavy";
|
|
753
|
-
readonly DOTDOTDASH: "dotDotDash";
|
|
754
|
-
readonly DASHDOTDOTHEAVY: "dashDotDotHeavy";
|
|
755
|
-
readonly WAVE: "wave";
|
|
756
|
-
readonly WAVYHEAVY: "wavyHeavy";
|
|
757
|
-
readonly WAVYDOUBLE: "wavyDouble";
|
|
758
|
-
readonly NONE: "none";
|
|
759
|
-
};
|
|
760
|
-
//#endregion
|
|
761
|
-
//#region src/parts/paragraph/run/properties.d.ts
|
|
762
|
-
interface RunFontReference {
|
|
763
|
-
name: string;
|
|
764
|
-
hint?: string;
|
|
765
|
-
}
|
|
766
|
-
declare const TextEffect: {
|
|
767
|
-
readonly BLINK_BACKGROUND: "blinkBackground";
|
|
768
|
-
readonly LIGHTS: "lights";
|
|
769
|
-
readonly ANTS_BLACK: "antsBlack";
|
|
770
|
-
readonly ANTS_RED: "antsRed";
|
|
771
|
-
readonly SHIMMER: "shimmer";
|
|
772
|
-
readonly SPARKLE: "sparkle";
|
|
773
|
-
readonly NONE: "none";
|
|
774
|
-
};
|
|
775
|
-
declare const HighlightColor: {
|
|
776
|
-
readonly BLACK: "black";
|
|
777
|
-
readonly BLUE: "blue";
|
|
778
|
-
readonly CYAN: "cyan";
|
|
779
|
-
readonly DARK_BLUE: "darkBlue";
|
|
780
|
-
readonly DARK_CYAN: "darkCyan";
|
|
781
|
-
readonly DARK_GRAY: "darkGray";
|
|
782
|
-
readonly DARK_GREEN: "darkGreen";
|
|
783
|
-
readonly DARK_MAGENTA: "darkMagenta";
|
|
784
|
-
readonly DARK_RED: "darkRed";
|
|
785
|
-
readonly DARK_YELLOW: "darkYellow";
|
|
786
|
-
readonly GREEN: "green";
|
|
787
|
-
readonly LIGHT_GRAY: "lightGray";
|
|
788
|
-
readonly MAGENTA: "magenta";
|
|
789
|
-
readonly NONE: "none";
|
|
790
|
-
readonly RED: "red";
|
|
791
|
-
readonly WHITE: "white";
|
|
792
|
-
readonly YELLOW: "yellow";
|
|
793
|
-
};
|
|
794
|
-
interface RunStylePropertiesOptions {
|
|
795
|
-
noProof?: boolean;
|
|
796
|
-
bold?: boolean;
|
|
797
|
-
boldComplexScript?: boolean;
|
|
798
|
-
italic?: boolean;
|
|
799
|
-
italicComplexScript?: boolean;
|
|
800
|
-
underline?: {
|
|
801
|
-
color?: string;
|
|
802
|
-
type?: (typeof UnderlineType)[keyof typeof UnderlineType];
|
|
892
|
+
horizontal: number;
|
|
893
|
+
vertical: number;
|
|
803
894
|
};
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
895
|
+
rule?: (typeof HeightRule)[keyof typeof HeightRule];
|
|
896
|
+
}
|
|
897
|
+
type XYFrameOptions = {
|
|
898
|
+
type: "absolute";
|
|
899
|
+
position: {
|
|
900
|
+
x: number;
|
|
901
|
+
y: number;
|
|
807
902
|
};
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
903
|
+
} & BaseFrameOptions;
|
|
904
|
+
type AlignmentFrameOptions = {
|
|
905
|
+
type: "alignment";
|
|
906
|
+
alignment: {
|
|
907
|
+
x: (typeof HorizontalPositionAlign)[keyof typeof HorizontalPositionAlign];
|
|
908
|
+
y: (typeof VerticalPositionAlign)[keyof typeof VerticalPositionAlign];
|
|
909
|
+
};
|
|
910
|
+
} & BaseFrameOptions;
|
|
911
|
+
type FrameOptions$1 = XYFrameOptions | AlignmentFrameOptions;
|
|
912
|
+
//#endregion
|
|
913
|
+
//#region src/parts/paragraph/run/empty-children.d.ts
|
|
914
|
+
interface NoBreakHyphen {
|
|
915
|
+
noBreakHyphen: true;
|
|
916
|
+
}
|
|
917
|
+
interface SoftHyphen {
|
|
918
|
+
softHyphen: true;
|
|
919
|
+
}
|
|
920
|
+
interface DayShort {
|
|
921
|
+
dayShort: true;
|
|
922
|
+
}
|
|
923
|
+
interface MonthShort {
|
|
924
|
+
monthShort: true;
|
|
925
|
+
}
|
|
926
|
+
interface YearShort {
|
|
927
|
+
yearShort: true;
|
|
928
|
+
}
|
|
929
|
+
interface DayLong {
|
|
930
|
+
dayLong: true;
|
|
931
|
+
}
|
|
932
|
+
interface MonthLong {
|
|
933
|
+
monthLong: true;
|
|
934
|
+
}
|
|
935
|
+
interface YearLong {
|
|
936
|
+
yearLong: true;
|
|
937
|
+
}
|
|
938
|
+
interface AnnotationReference {
|
|
939
|
+
annotationRef: true;
|
|
940
|
+
}
|
|
941
|
+
interface FootnoteReferenceElement {
|
|
942
|
+
footnoteRef: true;
|
|
943
|
+
}
|
|
944
|
+
interface EndnoteReference {
|
|
945
|
+
endnoteRef: true;
|
|
946
|
+
}
|
|
947
|
+
interface Separator {
|
|
948
|
+
separator: true;
|
|
949
|
+
}
|
|
950
|
+
interface ContinuationSeparator {
|
|
951
|
+
continuationSeparator: true;
|
|
952
|
+
}
|
|
953
|
+
interface PageNumberElement {
|
|
954
|
+
pgNum: true;
|
|
955
|
+
}
|
|
956
|
+
interface CarriageReturn {
|
|
957
|
+
carriageReturn: true;
|
|
958
|
+
}
|
|
959
|
+
interface Tab {
|
|
960
|
+
tab: true;
|
|
961
|
+
}
|
|
962
|
+
interface LastRenderedPageBreak {
|
|
963
|
+
lastRenderedPageBreak: true;
|
|
842
964
|
}
|
|
843
|
-
type RunPropertiesOptions = {
|
|
844
|
-
style?: string;
|
|
845
|
-
} & RunStylePropertiesOptions;
|
|
846
|
-
type RunPropertiesChangeOptions = {} & RunPropertiesOptions & ChangedAttributesProperties;
|
|
847
|
-
type ParagraphRunPropertiesOptions = {
|
|
848
|
-
insertion?: ChangedAttributesProperties;
|
|
849
|
-
deletion?: ChangedAttributesProperties;
|
|
850
|
-
} & RunPropertiesOptions;
|
|
851
965
|
//#endregion
|
|
852
966
|
//#region src/parts/paragraph/run/run.d.ts
|
|
853
967
|
interface RunOptionsBase {
|
|
@@ -1524,6 +1638,11 @@ interface MathChild {
|
|
|
1524
1638
|
children?: MathInput[];
|
|
1525
1639
|
};
|
|
1526
1640
|
}
|
|
1641
|
+
interface SdtRunOptions {
|
|
1642
|
+
properties: SdtPropertiesOptions;
|
|
1643
|
+
children?: (ParagraphChild | string)[];
|
|
1644
|
+
endProperties?: RunPropertiesOptions;
|
|
1645
|
+
}
|
|
1527
1646
|
type ParagraphChild = ChartChild | SmartArtChild | ImageChild | MathChild | {
|
|
1528
1647
|
symbolRun: SymbolRunOptions;
|
|
1529
1648
|
} | {
|
|
@@ -1676,19 +1795,11 @@ type ParagraphChild = ChartChild | SmartArtChild | ImageChild | MathChild | {
|
|
|
1676
1795
|
children?: (RunOptions | string)[];
|
|
1677
1796
|
};
|
|
1678
1797
|
} | {
|
|
1679
|
-
customXml: {
|
|
1680
|
-
element: string;
|
|
1681
|
-
uri?: string;
|
|
1682
|
-
customXmlPr?: {
|
|
1683
|
-
placeholder?: string;
|
|
1684
|
-
attrs?: Array<{
|
|
1685
|
-
name: string;
|
|
1686
|
-
val: string;
|
|
1687
|
-
uri?: string;
|
|
1688
|
-
}>;
|
|
1689
|
-
};
|
|
1798
|
+
customXml: CustomXmlRunOptions & {
|
|
1690
1799
|
children?: (ParagraphChild | string)[];
|
|
1691
1800
|
};
|
|
1801
|
+
} | {
|
|
1802
|
+
sdt: SdtRunOptions;
|
|
1692
1803
|
} | RunOptions;
|
|
1693
1804
|
type ParagraphOptions = {
|
|
1694
1805
|
text?: string;
|
|
@@ -1896,8 +2007,17 @@ type TableRowPropertiesOptions = TableRowPropertiesOptionsBase & {
|
|
|
1896
2007
|
type TableRowPropertiesChangeOptions = TableRowPropertiesOptionsBase & ChangedAttributesProperties;
|
|
1897
2008
|
//#endregion
|
|
1898
2009
|
//#region src/parts/table/table-row/table-row.d.ts
|
|
2010
|
+
interface SdtRowOptions {
|
|
2011
|
+
properties: SdtPropertiesOptions;
|
|
2012
|
+
rows?: TableRowOptions[];
|
|
2013
|
+
endProperties?: RunPropertiesOptions;
|
|
2014
|
+
}
|
|
1899
2015
|
type TableRowOptions = {
|
|
1900
|
-
cells: TableCellOptions
|
|
2016
|
+
cells: (TableCellOptions | {
|
|
2017
|
+
sdt: SdtCellOptions;
|
|
2018
|
+
} | {
|
|
2019
|
+
customXml: CustomXmlCellOptions;
|
|
2020
|
+
})[];
|
|
1901
2021
|
propertyExceptions?: TablePropertyExOptions;
|
|
1902
2022
|
rsidRPr?: string;
|
|
1903
2023
|
rsidR?: string;
|
|
@@ -1907,7 +2027,11 @@ type TableRowOptions = {
|
|
|
1907
2027
|
//#endregion
|
|
1908
2028
|
//#region src/parts/table/table.d.ts
|
|
1909
2029
|
interface TableOptions {
|
|
1910
|
-
rows: TableRowOptions
|
|
2030
|
+
rows: (TableRowOptions | {
|
|
2031
|
+
sdt: SdtRowOptions;
|
|
2032
|
+
} | {
|
|
2033
|
+
customXml: CustomXmlRowOptions;
|
|
2034
|
+
})[];
|
|
1911
2035
|
width?: TableWidthProperties;
|
|
1912
2036
|
columnWidths?: number[] | PositiveUniversalMeasure[];
|
|
1913
2037
|
columnWidthsRevision?: TableGridChangeOptions;
|
|
@@ -1973,6 +2097,11 @@ type TableCellPropertiesChangeOptions = TableCellPropertiesOptionsBase & Changed
|
|
|
1973
2097
|
type TableCellOptions = {
|
|
1974
2098
|
children: SectionChild[];
|
|
1975
2099
|
} & TableCellPropertiesOptions;
|
|
2100
|
+
interface SdtCellOptions {
|
|
2101
|
+
properties: SdtPropertiesOptions;
|
|
2102
|
+
cells?: TableCellOptions[];
|
|
2103
|
+
endProperties?: RunPropertiesOptions;
|
|
2104
|
+
}
|
|
1976
2105
|
//#endregion
|
|
1977
2106
|
//#region src/parts/custom-xml/custom-xml.d.ts
|
|
1978
2107
|
interface CustomXmlDataBindingOptions {
|
|
@@ -1994,24 +2123,15 @@ interface CustomXmlRunOptions {
|
|
|
1994
2123
|
uri?: string;
|
|
1995
2124
|
customXmlPr?: CustomXmlPrOptions;
|
|
1996
2125
|
}
|
|
1997
|
-
|
|
1998
|
-
element: string;
|
|
1999
|
-
uri?: string;
|
|
2000
|
-
customXmlPr?: CustomXmlPrOptions;
|
|
2126
|
+
type CustomXmlBlockOptions = CustomXmlRunOptions & {
|
|
2001
2127
|
children?: SectionChild[];
|
|
2002
|
-
}
|
|
2003
|
-
|
|
2004
|
-
element: string;
|
|
2005
|
-
uri?: string;
|
|
2006
|
-
customXmlPr?: CustomXmlPrOptions;
|
|
2128
|
+
};
|
|
2129
|
+
type CustomXmlRowOptions = CustomXmlRunOptions & {
|
|
2007
2130
|
children?: TableRowOptions[];
|
|
2008
|
-
}
|
|
2009
|
-
|
|
2010
|
-
element: string;
|
|
2011
|
-
uri?: string;
|
|
2012
|
-
customXmlPr?: CustomXmlPrOptions;
|
|
2131
|
+
};
|
|
2132
|
+
type CustomXmlCellOptions = CustomXmlRunOptions & {
|
|
2013
2133
|
children?: TableCellOptions[];
|
|
2014
|
-
}
|
|
2134
|
+
};
|
|
2015
2135
|
//#endregion
|
|
2016
2136
|
//#region src/parts/document/body/section-properties/properties/column.d.ts
|
|
2017
2137
|
interface ColumnAttributes {
|
|
@@ -2182,120 +2302,6 @@ interface SubDocOptions {
|
|
|
2182
2302
|
data: Uint8Array | string;
|
|
2183
2303
|
}
|
|
2184
2304
|
//#endregion
|
|
2185
|
-
//#region src/parts/table-of-contents/table-of-contents-properties.d.ts
|
|
2186
|
-
declare class StyleLevel {
|
|
2187
|
-
styleName: string;
|
|
2188
|
-
level: number;
|
|
2189
|
-
constructor(styleName: string, level: number);
|
|
2190
|
-
}
|
|
2191
|
-
interface TableOfContentsOptions {
|
|
2192
|
-
captionLabel?: string;
|
|
2193
|
-
entriesFromBookmark?: string;
|
|
2194
|
-
captionLabelIncludingNumbers?: string;
|
|
2195
|
-
sequenceAndPageNumbersSeparator?: string;
|
|
2196
|
-
tcFieldIdentifier?: string;
|
|
2197
|
-
hyperlink?: boolean;
|
|
2198
|
-
tcFieldLevelRange?: string;
|
|
2199
|
-
pageNumbersEntryLevelsRange?: string;
|
|
2200
|
-
headingStyleRange?: string;
|
|
2201
|
-
entryAndPageNumberSeparator?: string;
|
|
2202
|
-
seqFieldIdentifierForPrefix?: string;
|
|
2203
|
-
stylesWithLevels?: StyleLevel[];
|
|
2204
|
-
useAppliedParagraphOutlineLevel?: boolean;
|
|
2205
|
-
preserveTabInEntries?: boolean;
|
|
2206
|
-
preserveNewLineInEntries?: boolean;
|
|
2207
|
-
hideTabAndPageNumbersInWebView?: boolean;
|
|
2208
|
-
}
|
|
2209
|
-
//#endregion
|
|
2210
|
-
//#region src/parts/table-of-contents/sdt-properties.d.ts
|
|
2211
|
-
declare const SdtLock: {
|
|
2212
|
-
readonly SDT_LOCKED: "sdtLocked";
|
|
2213
|
-
readonly CONTENT_LOCKED: "contentLocked";
|
|
2214
|
-
readonly UNLOCKED: "unlocked";
|
|
2215
|
-
readonly SDT_CONTENT_LOCKED: "sdtContentLocked";
|
|
2216
|
-
};
|
|
2217
|
-
interface SdtListItem {
|
|
2218
|
-
displayText?: string;
|
|
2219
|
-
value?: string;
|
|
2220
|
-
}
|
|
2221
|
-
interface SdtComboBoxOptions {
|
|
2222
|
-
items?: SdtListItem[];
|
|
2223
|
-
lastValue?: string;
|
|
2224
|
-
}
|
|
2225
|
-
interface SdtDropDownListOptions {
|
|
2226
|
-
items?: SdtListItem[];
|
|
2227
|
-
lastValue?: string;
|
|
2228
|
-
}
|
|
2229
|
-
declare const SdtDateMappingType: {
|
|
2230
|
-
readonly TEXT: "text";
|
|
2231
|
-
readonly DATE: "date";
|
|
2232
|
-
readonly DATE_TIME: "dateTime";
|
|
2233
|
-
};
|
|
2234
|
-
interface SdtDateOptions {
|
|
2235
|
-
dateFormat?: string;
|
|
2236
|
-
languageId?: string;
|
|
2237
|
-
storeMappedDataAs?: (typeof SdtDateMappingType)[keyof typeof SdtDateMappingType];
|
|
2238
|
-
calendar?: string;
|
|
2239
|
-
fullDate?: string;
|
|
2240
|
-
}
|
|
2241
|
-
interface SdtTextOptions {
|
|
2242
|
-
multiLine?: boolean;
|
|
2243
|
-
}
|
|
2244
|
-
interface SdtCheckboxSymbol {
|
|
2245
|
-
val: string;
|
|
2246
|
-
font?: string;
|
|
2247
|
-
}
|
|
2248
|
-
interface SdtCheckboxOptions {
|
|
2249
|
-
checked?: boolean;
|
|
2250
|
-
checkedState?: SdtCheckboxSymbol;
|
|
2251
|
-
uncheckedState?: SdtCheckboxSymbol;
|
|
2252
|
-
}
|
|
2253
|
-
interface SdtDataBindingOptions {
|
|
2254
|
-
prefixMappings?: string;
|
|
2255
|
-
xpath: string;
|
|
2256
|
-
storeItemID: string;
|
|
2257
|
-
}
|
|
2258
|
-
interface SdtPropertiesOptions {
|
|
2259
|
-
alias?: string;
|
|
2260
|
-
tag?: string;
|
|
2261
|
-
id?: number;
|
|
2262
|
-
lock?: (typeof SdtLock)[keyof typeof SdtLock];
|
|
2263
|
-
temporary?: boolean;
|
|
2264
|
-
showingPlaceholder?: boolean;
|
|
2265
|
-
dataBinding?: SdtDataBindingOptions;
|
|
2266
|
-
label?: number;
|
|
2267
|
-
tabIndex?: number;
|
|
2268
|
-
equation?: boolean;
|
|
2269
|
-
comboBox?: SdtComboBoxOptions;
|
|
2270
|
-
date?: SdtDateOptions;
|
|
2271
|
-
docPartObj?: {
|
|
2272
|
-
gallery?: string;
|
|
2273
|
-
category?: string;
|
|
2274
|
-
unique?: boolean;
|
|
2275
|
-
};
|
|
2276
|
-
docPartList?: {
|
|
2277
|
-
gallery?: string;
|
|
2278
|
-
category?: string;
|
|
2279
|
-
unique?: boolean;
|
|
2280
|
-
};
|
|
2281
|
-
dropDownList?: SdtDropDownListOptions;
|
|
2282
|
-
picture?: boolean;
|
|
2283
|
-
richText?: boolean;
|
|
2284
|
-
text?: SdtTextOptions;
|
|
2285
|
-
citation?: boolean;
|
|
2286
|
-
group?: boolean;
|
|
2287
|
-
bibliography?: boolean;
|
|
2288
|
-
checkbox?: SdtCheckboxOptions;
|
|
2289
|
-
}
|
|
2290
|
-
//#endregion
|
|
2291
|
-
//#region src/parts/table-of-contents/toc-parse.d.ts
|
|
2292
|
-
declare function parseToc(el: Element, _ctx: DocxReadContext): ({
|
|
2293
|
-
alias?: string;
|
|
2294
|
-
} & TableOfContentsOptions) | undefined;
|
|
2295
|
-
//#endregion
|
|
2296
|
-
//#region src/parts/table-of-contents/descriptor.d.ts
|
|
2297
|
-
declare function stringifyTableOfContents(alias?: string, options?: TableOfContentsOptions): string;
|
|
2298
|
-
//#endregion
|
|
2299
2305
|
//#region src/parts/textbox/types.d.ts
|
|
2300
2306
|
type LengthUnit = "auto" | number | Percentage | UniversalMeasure | RelativeMeasure;
|
|
2301
2307
|
//#endregion
|
|
@@ -2350,9 +2356,7 @@ type SectionChild = {
|
|
|
2350
2356
|
} | {
|
|
2351
2357
|
subDoc: SubDocOptions;
|
|
2352
2358
|
} | {
|
|
2353
|
-
customXml:
|
|
2354
|
-
children?: SectionChild[];
|
|
2355
|
-
};
|
|
2359
|
+
customXml: CustomXmlBlockOptions;
|
|
2356
2360
|
} | {
|
|
2357
2361
|
rawXml: string;
|
|
2358
2362
|
};
|
|
@@ -3556,5 +3560,5 @@ interface CorePropertiesInput {
|
|
|
3556
3560
|
}
|
|
3557
3561
|
declare const corePropertiesDesc: CustomDescriptor<CorePropertiesInput>;
|
|
3558
3562
|
//#endregion
|
|
3559
|
-
export { OdsoOptions as $,
|
|
3560
|
-
//# sourceMappingURL=core-properties-
|
|
3563
|
+
export { OdsoOptions as $, ShadingType as $a, XYFrameOptions as $i, ProofErrorTypeValue as $n, WORKAROUND2 as $r, createPageNumberType as $t, webSettingsDesc as A, SdtCheckboxOptions as Aa, RunOptions as Ai, TablePropertyExOptions as An, DrawingOptions as Ar, VmlShapeStyle as At, CaptionsOptions as B, SdtTextOptions as Ba, MonthShort as Bi, TableFloatOptions as Bn, createWrapTight as Br, createSectionType as Bt, DivBorderOptions as C, VerticalAlignSection as Ca, ParagraphPropertiesOptions as Ci, TableRowPropertiesChangeOptions as Cn, ChartOptions as Cr, SectionPropertiesOptionsBase as Ct, WebSettingsOptions as D, VerticalMergeRevisionType as Da, TextboxTightWrapType as Di, TableCellBordersOptions as Dn, drawingDesc as Dr, DocumentAttributeNamespaces as Dt, WebSettingsInput as E, CellMergeAttributes as Ea, TextAlignmentType as Ei, HeightRule as En, DrawingDescriptorOptions as Er, DocumentAttributeNamespace as Et, buildNumberingCache as F, SdtDateOptions as Fa, DayShort as Fi, TableLayoutType as Fn, HorizontalPositionRelativeFrom as Fr, HeaderFooterReferenceOptions as Ft, MailMergeDataType as G, RunPropertiesChangeOptions as Ga, Tab as Gi, ChartChild as Gn, MediaTransformation as Gr, PageMarginAttributes as Gt, EndnotePropertiesOptions as H, TableOfContentsOptions as Ha, PageNumberElement as Hi, TableBordersOptions as Hn, TextWrappingSide as Hr, LineNumberRestartFormat as Ht, buildStyleCache as I, SdtDropDownListOptions as Ia, EndnoteReference as Ii, OverlapType as In, Margins as Ir, HeaderFooterReferenceType as It, MailMergeOptions as J, TextEffect as Ja, AlignmentFrameOptions as Ji, ParagraphChild as Jn, ExtendedMediaData as Jr, PageBorderOffsetFrom as Jt, MailMergeDest as K, RunPropertiesOptions as Ka, YearLong as Ki, ImageChild as Kn, createTransformation as Kr, createPageMargin as Kt, parseStyleDefinitions as L, SdtListItem as La, FootnoteReferenceElement as Li, RelativeHorizontalPosition as Ln, VerticalPositionOptions as Lr, HeaderFooterType as Lt, SubDocData as M, SdtComboBoxOptions as Ma, CarriageReturn as Mi, TablePropertiesOptions as Mn, createHorizontalPosition as Mr, parseSectionPropertiesEl as Mt, Styles as N, SdtDataBindingOptions as Na, ContinuationSeparator as Ni, TablePropertiesOptionsBase as Nn, Floating as Nr, sectionPropertiesDesc as Nt, frameXml as O, stringifyTableOfContents as Oa, PageNumber as Oi, TextDirection as On, resetDrawingIdGen as Or, SectionChild as Ot, StylesOptions as P, SdtDateMappingType as Pa, DayLong as Pi, TableLookOptions as Pn, HorizontalPositionOptions as Pr, stringifySectionPropertiesXml as Pt, OdsoFieldType as Q, ShadingAttributesProperties as Qa, FrameWrap as Qi, ProofErrorType as Qn, SmartArtMediaData as Qr, PageNumberTypeAttributes as Qt, AutoCaptionOptions as R, SdtLock as Ra, LastRenderedPageBreak as Ri, RelativeVerticalPosition as Rn, VerticalPositionRelativeFrom as Rr, createHeaderFooterReference as Rt, parseDocx as S, TableVerticalAlign as Sa, ParagraphPropertiesChangeOptions as Si, CnfStyleOptions as Sn, SmartArtOptions as Sr, SectionPropertiesOptions as St, TargetScreenSize as T, createVerticalAlign as Ta, ParagraphStylePropertiesOptions as Ti, TableRowPropertiesOptionsBase as Tn, createImageData as Tr, sectionPageSizeDefaults as Tt, FootnotePropertiesOptions as U, HighlightColor as Ua, Separator as Ui, TableWidthProperties as Un, TextWrappingType as Ur, createLineNumberType as Ut, DocumentProtectionOptions as V, StyleLevel as Va, NoBreakHyphen as Vi, TABLE_BORDERS_NONE as Vn, TextWrapping as Vr, LineNumberAttributes as Vt, HyphenationOptions as W, ParagraphRunPropertiesOptions as Wa, SoftHyphen as Wi, WidthType as Wn, Media as Wr, PageTextDirectionType as Wt, MathPropertiesOptions as X, FontAttributesProperties as Xa, FrameAnchorType as Xi, SdtRunOptions as Xn, MediaData as Xr, PageBordersOptions as Xt, MailMergeSourceType as Y, UnderlineType as Ya, DropCapType as Yi, ParagraphOptions as Yn, GroupChildMediaData as Yr, PageBorderZOrder as Yt, OdsoFieldMapDataOptions as Z, EmphasisMarkType as Za, FrameOptions$1 as Zi, SmartArtChild as Zn, MediaDataTransformation as Zr, PageNumberSeparator as Zt, DocxWriteContext as _, IndentAttributesProperties as _a, GroupChild as _i, setTableParseChild as _n, CommentsOptions as _r, DocPartType as _t, BackgroundImageOptions as a, MathRunPropertiesOptions as aa, BodyPropertiesOptions as ai, createDocumentGrid as an, CharacterSet as ao, FormFieldTextOptions as ar, CompatibilityOptions as at, parseArchive as b, AlignmentType as ba, SymbolRunOptions as bi, SdtRowOptions as bn, WpsShapeRunOptions as br, HeaderFooterGroup as bt, CustomPropertyOptions as c, LeaderType as ca, PresetTextShapeOptions as ci, CustomXmlAttributeOptions as cn, ContentTypesInput as co, createFormFieldData as cr, Numbering as ct, AppPropertiesOptions as d, TabStopType as da, TextVertOverflowType as di, CustomXmlDataBindingOptions as dn, BibliographyOptions as do, RubyOptions as dr, LevelFormat as dt, HorizontalPositionAlign as ea, WpgCommonMediaData as ei, PageOrientation as en, BorderOptions as eo, SmartTagRunOptions as er, ReadModeInkLockDownOptions as et, appPropertiesDesc as f, HeadingLevel as fa, TextVerticalType as fi, CustomXmlPrOptions as fn, SourceTypeOptions as fo, PositionalTabAlignment as fr, LevelSuffix as ft, DocxReadContext as g, BreakTypeValue as ga, ChildOffset as gi, TableCellOptions as gn, CommentOptions as gr, DocPartOptions as gt, BodyContext as h, BreakType as ha, ChildExtent as hi, SdtCellOptions as hn, PositionalTabRelativeTo as hr, DocPartGallery as ht, corePropertiesDesc as i, MathInput as ia, WpsShapeOptions as ii, DocumentGridType as in, AltChunkData as io, FormFieldOptions as ir, WriteProtectionOptions as it, SubDocCollection as j, SdtCheckboxSymbol as ja, AnnotationReference as ji, TablePropertiesChangeOptions as jn, createVerticalPosition as jr, SubDocOptions as jt, framesetXml as k, parseToc as ka, ParagraphRunOptions as ki, VerticalMergeType as kn, Distance as kr, SectionOptions as kt, customPropertiesDesc as l, TabStopDefinition as la, TextBodyWrappingType as li, CustomXmlBlockOptions as ln, buildContentTypes as lo, parseFormFieldData as lr, NumberingOptions as lt, EmbeddedFontOptionsWithKey as m, SpacingProperties as ma, createBodyProperties as mi, CustomXmlRunOptions as mn, PositionalTabOptions as mr, DocPartBehavior as mt, DocumentOptions as n, SpaceType as na, WpsMediaData as ni, createPageSize as nn, AltChunkOptions as no, DropDownListOptions as nr, RsidsOptions as nt, DocumentBackgroundOptions as o, MathScriptType as oa, FlatTextOptions as oi, ColumnsAttributes as on, ContentTypeDefault as oo, FormFieldTextType as or, ConcreteNumberingOptions as ot, settingsDesc as p, LineRuleType as pa, VerticalAnchor as pi, CustomXmlRowOptions as pn, bibliographyDesc as po, PositionalTabLeader as pr, LevelsOptions as pt, MailMergeDocType as q, RunStylePropertiesOptions as qa, YearShort as qi, MathChild as qn, ChartMediaData as qr, PageBorderDisplay as qt, FeaturesOptions as r, VerticalPositionAlign as ra, WpsShapeCoreOptions as ri, DocGridAttributesProperties as rn, AltChunkCollection as ro, FormFieldCommonOptions as rr, SettingsOptions as rt, CustomPropertiesInput as s, MathStyleType as sa, NormalAutofitOptions as si, ColumnAttributes as sn, ContentTypeOverride as so, TextInputOptions as sr, AbstractNumberingOptions as st, CorePropertiesInput as t, NumberFormat as ta, WpgMediaData as ti, PageSizeAttributes as tn, BorderStyle as to, CheckBoxOptions as tr, RevisionViewOptions as tt, AppPropertiesInput as u, TabStopPosition as ua, TextHorzOverflowType as ui, CustomXmlCellOptions as un, contentTypesDesc as uo, RubyAlign as ur, parseNumberingDefinitions as ut, DocxDocument as v, CnfConditionalOptions as va, WpgGroupCoreOptions as vi, tableDesc as vn, SimpleFieldOptions as vr, GlossaryDocumentOptions as vt, DivOptions as w, VerticalAlignTable as wa, ParagraphPropertiesOptionsBase as wi, TableRowPropertiesOptions as wn, ImageOptions as wr, sectionMarginDefaults as wt, parseDocument as x, SectionVerticalAlign as xa, LevelParagraphStylePropertiesOptions as xi, TableRowOptions as xn, SmartArtNode as xr, SectionPropertiesChangeOptions as xt, DocxPartRefs as y, BordersOptions as ya, WpgGroupOptions as yi, TableOptions as yn, WpgGroupRunOptions as yr, glossaryDesc as yt, CaptionOptions as z, SdtPropertiesOptions as za, MonthLong as zi, TableAnchorType as zn, createWrapThrough as zr, SectionType as zt };
|
|
3564
|
+
//# sourceMappingURL=core-properties-BMagGcpC.d.mts.map
|