@office-open/docx 0.14.4 → 0.14.6
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/index.d.mts +419 -419
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +8 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -5,7 +5,7 @@ import { ChartCollection, ChartSpaceOptions as ChartSpaceOptions$1 } from "@offi
|
|
|
5
5
|
import { ColorDefinitionOptions, LayoutDefinitionOptions, SmartArtCollection, SmartArtRawParts, StyleDefinitionOptions } from "@office-open/core/smartart";
|
|
6
6
|
import { CustomDescriptor, HyperlinkTarget, ReadContext, WriteContext } from "@office-open/core/descriptor";
|
|
7
7
|
//#region src/parts/paragraph/formatting/alignment.d.ts
|
|
8
|
-
declare const AlignmentType: {
|
|
8
|
+
export declare const AlignmentType: {
|
|
9
9
|
readonly START: "start";
|
|
10
10
|
readonly CENTER: "center";
|
|
11
11
|
readonly END: "end";
|
|
@@ -22,7 +22,7 @@ declare const AlignmentType: {
|
|
|
22
22
|
};
|
|
23
23
|
//#endregion
|
|
24
24
|
//#region src/shared/border.d.ts
|
|
25
|
-
interface BorderOptions {
|
|
25
|
+
export interface BorderOptions {
|
|
26
26
|
style: (typeof BorderStyle)[keyof typeof BorderStyle] | string;
|
|
27
27
|
color?: HexColorOrAuto;
|
|
28
28
|
themeColor?: ThemeColor;
|
|
@@ -33,7 +33,7 @@ interface BorderOptions {
|
|
|
33
33
|
size?: number;
|
|
34
34
|
space?: number;
|
|
35
35
|
}
|
|
36
|
-
declare const BorderStyle: {
|
|
36
|
+
export declare const BorderStyle: {
|
|
37
37
|
readonly SINGLE: "single";
|
|
38
38
|
readonly DASH_DOT_STROKED: "dashDotStroked";
|
|
39
39
|
readonly DASHED: "dashed";
|
|
@@ -62,10 +62,10 @@ declare const BorderStyle: {
|
|
|
62
62
|
readonly TRIPLE: "triple";
|
|
63
63
|
readonly WAVE: "wave";
|
|
64
64
|
};
|
|
65
|
-
declare function parseBorderSide(sideEl: Element): BorderOptions | undefined;
|
|
65
|
+
export declare function parseBorderSide(sideEl: Element): BorderOptions | undefined;
|
|
66
66
|
//#endregion
|
|
67
67
|
//#region src/parts/paragraph/formatting/border.d.ts
|
|
68
|
-
interface BordersOptions {
|
|
68
|
+
export interface BordersOptions {
|
|
69
69
|
top?: BorderOptions;
|
|
70
70
|
bottom?: BorderOptions;
|
|
71
71
|
left?: BorderOptions;
|
|
@@ -75,7 +75,7 @@ interface BordersOptions {
|
|
|
75
75
|
}
|
|
76
76
|
//#endregion
|
|
77
77
|
//#region src/parts/paragraph/formatting/cnf-style.d.ts
|
|
78
|
-
interface CnfConditionalOptions {
|
|
78
|
+
export interface CnfConditionalOptions {
|
|
79
79
|
firstRow?: boolean;
|
|
80
80
|
lastRow?: boolean;
|
|
81
81
|
firstColumn?: boolean;
|
|
@@ -91,7 +91,7 @@ interface CnfConditionalOptions {
|
|
|
91
91
|
}
|
|
92
92
|
//#endregion
|
|
93
93
|
//#region src/parts/paragraph/formatting/indent.d.ts
|
|
94
|
-
interface IndentProperties {
|
|
94
|
+
export interface IndentProperties {
|
|
95
95
|
start?: number | UniversalMeasure;
|
|
96
96
|
startChars?: number;
|
|
97
97
|
end?: number | UniversalMeasure;
|
|
@@ -107,19 +107,19 @@ interface IndentProperties {
|
|
|
107
107
|
}
|
|
108
108
|
//#endregion
|
|
109
109
|
//#region src/parts/paragraph/formatting/break.d.ts
|
|
110
|
-
declare const BreakType: {
|
|
110
|
+
export declare const BreakType: {
|
|
111
111
|
readonly COLUMN: "column";
|
|
112
112
|
readonly PAGE: "page";
|
|
113
113
|
};
|
|
114
|
-
type BreakTypeValue = (typeof BreakType)[keyof typeof BreakType];
|
|
114
|
+
export type BreakTypeValue = (typeof BreakType)[keyof typeof BreakType];
|
|
115
115
|
//#endregion
|
|
116
116
|
//#region src/parts/paragraph/formatting/spacing.d.ts
|
|
117
|
-
declare const LineRuleType: {
|
|
117
|
+
export declare const LineRuleType: {
|
|
118
118
|
readonly AT_LEAST: "atLeast";
|
|
119
119
|
readonly EXACT: "exact";
|
|
120
120
|
readonly AUTO: "auto";
|
|
121
121
|
};
|
|
122
|
-
interface SpacingProperties {
|
|
122
|
+
export interface SpacingProperties {
|
|
123
123
|
after?: number | PositiveUniversalMeasure;
|
|
124
124
|
before?: number | PositiveUniversalMeasure;
|
|
125
125
|
line?: number | PositiveUniversalMeasure;
|
|
@@ -131,7 +131,7 @@ interface SpacingProperties {
|
|
|
131
131
|
}
|
|
132
132
|
//#endregion
|
|
133
133
|
//#region src/parts/paragraph/formatting/style.d.ts
|
|
134
|
-
declare const HeadingLevel: {
|
|
134
|
+
export declare const HeadingLevel: {
|
|
135
135
|
readonly HEADING_1: "Heading1";
|
|
136
136
|
readonly HEADING_2: "Heading2";
|
|
137
137
|
readonly HEADING_3: "Heading3";
|
|
@@ -142,12 +142,12 @@ declare const HeadingLevel: {
|
|
|
142
142
|
};
|
|
143
143
|
//#endregion
|
|
144
144
|
//#region src/parts/paragraph/formatting/tab-stop.d.ts
|
|
145
|
-
interface TabStopDefinition {
|
|
145
|
+
export interface TabStopDefinition {
|
|
146
146
|
type: (typeof TabStopType)[keyof typeof TabStopType];
|
|
147
147
|
position: number | UniversalMeasure;
|
|
148
148
|
leader?: (typeof LeaderType)[keyof typeof LeaderType];
|
|
149
149
|
}
|
|
150
|
-
declare const TabStopType: {
|
|
150
|
+
export declare const TabStopType: {
|
|
151
151
|
readonly LEFT: "left";
|
|
152
152
|
readonly RIGHT: "right";
|
|
153
153
|
readonly CENTER: "center";
|
|
@@ -158,7 +158,7 @@ declare const TabStopType: {
|
|
|
158
158
|
readonly NUM: "num";
|
|
159
159
|
readonly START: "start";
|
|
160
160
|
};
|
|
161
|
-
declare const LeaderType: {
|
|
161
|
+
export declare const LeaderType: {
|
|
162
162
|
readonly DOT: "dot";
|
|
163
163
|
readonly HEAVY: "heavy";
|
|
164
164
|
readonly HYPHEN: "hyphen";
|
|
@@ -166,12 +166,12 @@ declare const LeaderType: {
|
|
|
166
166
|
readonly NONE: "none";
|
|
167
167
|
readonly UNDERSCORE: "underscore";
|
|
168
168
|
};
|
|
169
|
-
declare const TabStopPosition: {
|
|
169
|
+
export declare const TabStopPosition: {
|
|
170
170
|
readonly MAX: 9026;
|
|
171
171
|
};
|
|
172
172
|
//#endregion
|
|
173
173
|
//#region src/shared/shading.d.ts
|
|
174
|
-
interface ShadingProperties {
|
|
174
|
+
export interface ShadingProperties {
|
|
175
175
|
fill?: HexColorOrAuto;
|
|
176
176
|
color?: HexColorOrAuto;
|
|
177
177
|
type?: (typeof ShadingType)[keyof typeof ShadingType];
|
|
@@ -182,7 +182,7 @@ interface ShadingProperties {
|
|
|
182
182
|
themeFillTint?: UcharHexNumber;
|
|
183
183
|
themeFillShade?: UcharHexNumber;
|
|
184
184
|
}
|
|
185
|
-
declare const ShadingType: {
|
|
185
|
+
export declare const ShadingType: {
|
|
186
186
|
readonly CLEAR: "clear";
|
|
187
187
|
readonly DIAGONAL_CROSS: "diagonalCross";
|
|
188
188
|
readonly DIAGONAL_STRIPE: "diagonalStripe";
|
|
@@ -222,7 +222,7 @@ declare const ShadingType: {
|
|
|
222
222
|
readonly THIN_VERTICAL_STRIPE: "thinVerticalStripe";
|
|
223
223
|
readonly VERTICAL_STRIPE: "verticalStripe";
|
|
224
224
|
};
|
|
225
|
-
declare function parseShading(shd: Element): ShadingProperties | undefined;
|
|
225
|
+
export declare function parseShading(shd: Element): ShadingProperties | undefined;
|
|
226
226
|
//#endregion
|
|
227
227
|
//#region src/shared/track-revision/track-revision.d.ts
|
|
228
228
|
interface ChangedProperties {
|
|
@@ -248,7 +248,7 @@ interface EastAsianLayoutOptions {
|
|
|
248
248
|
}
|
|
249
249
|
//#endregion
|
|
250
250
|
//#region src/parts/paragraph/run/emphasis-mark.d.ts
|
|
251
|
-
declare const EmphasisMarkType: {
|
|
251
|
+
export declare const EmphasisMarkType: {
|
|
252
252
|
readonly NONE: "none";
|
|
253
253
|
readonly COMMA: "comma";
|
|
254
254
|
readonly CIRCLE: "circle";
|
|
@@ -272,7 +272,7 @@ interface LanguageOptions {
|
|
|
272
272
|
}
|
|
273
273
|
//#endregion
|
|
274
274
|
//#region src/parts/paragraph/run/run-fonts.d.ts
|
|
275
|
-
interface FontProperties {
|
|
275
|
+
export interface FontProperties {
|
|
276
276
|
ascii?: string;
|
|
277
277
|
complexScript?: string;
|
|
278
278
|
eastAsia?: string;
|
|
@@ -285,7 +285,7 @@ interface FontProperties {
|
|
|
285
285
|
}
|
|
286
286
|
//#endregion
|
|
287
287
|
//#region src/parts/paragraph/run/underline.d.ts
|
|
288
|
-
declare const UnderlineType: {
|
|
288
|
+
export declare const UnderlineType: {
|
|
289
289
|
readonly SINGLE: "single";
|
|
290
290
|
readonly WORDS: "words";
|
|
291
291
|
readonly DOUBLE: "double";
|
|
@@ -311,7 +311,7 @@ interface RunFontReference {
|
|
|
311
311
|
name: string;
|
|
312
312
|
hint?: string;
|
|
313
313
|
}
|
|
314
|
-
declare const TextEffect: {
|
|
314
|
+
export declare const TextEffect: {
|
|
315
315
|
readonly BLINK_BACKGROUND: "blinkBackground";
|
|
316
316
|
readonly LIGHTS: "lights";
|
|
317
317
|
readonly ANTS_BLACK: "antsBlack";
|
|
@@ -320,7 +320,7 @@ declare const TextEffect: {
|
|
|
320
320
|
readonly SPARKLE: "sparkle";
|
|
321
321
|
readonly NONE: "none";
|
|
322
322
|
};
|
|
323
|
-
declare const HighlightColor: {
|
|
323
|
+
export declare const HighlightColor: {
|
|
324
324
|
readonly BLACK: "black";
|
|
325
325
|
readonly BLUE: "blue";
|
|
326
326
|
readonly CYAN: "cyan";
|
|
@@ -339,7 +339,7 @@ declare const HighlightColor: {
|
|
|
339
339
|
readonly WHITE: "white";
|
|
340
340
|
readonly YELLOW: "yellow";
|
|
341
341
|
};
|
|
342
|
-
declare const HIGHLIGHT_PALETTE_RGB: {
|
|
342
|
+
export declare const HIGHLIGHT_PALETTE_RGB: {
|
|
343
343
|
readonly black: "000000";
|
|
344
344
|
readonly blue: "0000FF";
|
|
345
345
|
readonly cyan: "00FFFF";
|
|
@@ -357,7 +357,7 @@ declare const HIGHLIGHT_PALETTE_RGB: {
|
|
|
357
357
|
readonly darkGray: "808080";
|
|
358
358
|
readonly lightGray: "C0C0C0";
|
|
359
359
|
};
|
|
360
|
-
interface RunStylePropertiesOptions {
|
|
360
|
+
export interface RunStylePropertiesOptions {
|
|
361
361
|
noProof?: boolean;
|
|
362
362
|
bold?: boolean;
|
|
363
363
|
boldComplexScript?: boolean;
|
|
@@ -406,17 +406,17 @@ interface RunStylePropertiesOptions {
|
|
|
406
406
|
w14RawXml?: string;
|
|
407
407
|
emptyProperties?: boolean;
|
|
408
408
|
}
|
|
409
|
-
type RunPropertiesOptions = {
|
|
409
|
+
export type RunPropertiesOptions = {
|
|
410
410
|
style?: string;
|
|
411
411
|
} & RunStylePropertiesOptions;
|
|
412
|
-
type RunPropertiesChangeOptions = {} & RunPropertiesOptions & ChangedProperties;
|
|
413
|
-
type ParagraphRunPropertiesOptions = {
|
|
412
|
+
export type RunPropertiesChangeOptions = {} & RunPropertiesOptions & ChangedProperties;
|
|
413
|
+
export type ParagraphRunPropertiesOptions = {
|
|
414
414
|
insertion?: ChangedProperties;
|
|
415
415
|
deletion?: ChangedProperties;
|
|
416
416
|
} & RunPropertiesOptions;
|
|
417
417
|
//#endregion
|
|
418
418
|
//#region src/parts/alt-chunk/alt-chunk.d.ts
|
|
419
|
-
interface AltChunkOptions {
|
|
419
|
+
export interface AltChunkOptions {
|
|
420
420
|
data: Uint8Array | string;
|
|
421
421
|
contentType: "text/html" | "application/rtf" | "text/plain";
|
|
422
422
|
extension: "html" | "rtf" | "txt";
|
|
@@ -424,28 +424,28 @@ interface AltChunkOptions {
|
|
|
424
424
|
}
|
|
425
425
|
//#endregion
|
|
426
426
|
//#region src/shared/vertical-align.d.ts
|
|
427
|
-
declare const VerticalAlignTable: {
|
|
427
|
+
export declare const VerticalAlignTable: {
|
|
428
428
|
readonly BOTTOM: "bottom";
|
|
429
429
|
readonly CENTER: "center";
|
|
430
430
|
readonly TOP: "top";
|
|
431
431
|
};
|
|
432
|
-
declare const VerticalAlignSection: {
|
|
432
|
+
export declare const VerticalAlignSection: {
|
|
433
433
|
readonly BOTH: "both";
|
|
434
434
|
readonly BOTTOM: "bottom";
|
|
435
435
|
readonly CENTER: "center";
|
|
436
436
|
readonly TOP: "top";
|
|
437
437
|
};
|
|
438
|
-
type TableVerticalAlign = (typeof VerticalAlignTable)[keyof typeof VerticalAlignTable];
|
|
439
|
-
type SectionVerticalAlign = (typeof VerticalAlignSection)[keyof typeof VerticalAlignSection];
|
|
438
|
+
export type TableVerticalAlign = (typeof VerticalAlignTable)[keyof typeof VerticalAlignTable];
|
|
439
|
+
export type SectionVerticalAlign = (typeof VerticalAlignSection)[keyof typeof VerticalAlignSection];
|
|
440
440
|
//#endregion
|
|
441
441
|
//#region src/parts/document/body/section-properties/properties/column.d.ts
|
|
442
|
-
interface ColumnProperties {
|
|
442
|
+
export interface ColumnProperties {
|
|
443
443
|
width: number | PositiveUniversalMeasure;
|
|
444
444
|
space?: number | PositiveUniversalMeasure;
|
|
445
445
|
}
|
|
446
446
|
//#endregion
|
|
447
447
|
//#region src/parts/document/body/section-properties/properties/columns.d.ts
|
|
448
|
-
interface ColumnsProperties {
|
|
448
|
+
export interface ColumnsProperties {
|
|
449
449
|
space?: number | PositiveUniversalMeasure;
|
|
450
450
|
count?: number;
|
|
451
451
|
separate?: boolean;
|
|
@@ -454,35 +454,35 @@ interface ColumnsProperties {
|
|
|
454
454
|
}
|
|
455
455
|
//#endregion
|
|
456
456
|
//#region src/parts/document/body/section-properties/properties/doc-grid.d.ts
|
|
457
|
-
declare const DocumentGridType: {
|
|
457
|
+
export declare const DocumentGridType: {
|
|
458
458
|
readonly DEFAULT: "default";
|
|
459
459
|
readonly LINES: "lines";
|
|
460
460
|
readonly LINES_AND_CHARS: "linesAndChars";
|
|
461
461
|
readonly SNAP_TO_CHARS: "snapToChars";
|
|
462
462
|
};
|
|
463
|
-
interface DocGridProperties {
|
|
463
|
+
export interface DocGridProperties {
|
|
464
464
|
type?: (typeof DocumentGridType)[keyof typeof DocumentGridType];
|
|
465
465
|
linePitch: number;
|
|
466
466
|
charSpace?: number;
|
|
467
467
|
}
|
|
468
|
-
declare const createDocumentGrid: ({ type, linePitch, charSpace }: DocGridProperties) => string;
|
|
468
|
+
export declare const createDocumentGrid: ({ type, linePitch, charSpace }: DocGridProperties) => string;
|
|
469
469
|
//#endregion
|
|
470
470
|
//#region src/shared/constants.d.ts
|
|
471
|
-
declare const HorizontalPositionAlign: {
|
|
471
|
+
export declare const HorizontalPositionAlign: {
|
|
472
472
|
readonly CENTER: "center";
|
|
473
473
|
readonly INSIDE: "inside";
|
|
474
474
|
readonly LEFT: "left";
|
|
475
475
|
readonly OUTSIDE: "outside";
|
|
476
476
|
readonly RIGHT: "right";
|
|
477
477
|
};
|
|
478
|
-
declare const VerticalPositionAlign: {
|
|
478
|
+
export declare const VerticalPositionAlign: {
|
|
479
479
|
readonly BOTTOM: "bottom";
|
|
480
480
|
readonly CENTER: "center";
|
|
481
481
|
readonly INSIDE: "inside";
|
|
482
482
|
readonly OUTSIDE: "outside";
|
|
483
483
|
readonly TOP: "top";
|
|
484
484
|
};
|
|
485
|
-
declare const NumberFormat: {
|
|
485
|
+
export declare const NumberFormat: {
|
|
486
486
|
readonly AIUEO: "aiueo";
|
|
487
487
|
readonly AIUEO_FULL_WIDTH: "aiueoFullWidth";
|
|
488
488
|
readonly ARABIC_ABJAD: "arabicAbjad";
|
|
@@ -577,34 +577,34 @@ interface EndnotePropertiesOptions extends NumberPropertiesOptions {
|
|
|
577
577
|
}
|
|
578
578
|
//#endregion
|
|
579
579
|
//#region src/parts/document/body/section-properties/properties/line-number.d.ts
|
|
580
|
-
declare const LineNumberRestartFormat: {
|
|
580
|
+
export declare const LineNumberRestartFormat: {
|
|
581
581
|
readonly NEW_PAGE: "newPage";
|
|
582
582
|
readonly NEW_SECTION: "newSection";
|
|
583
583
|
readonly CONTINUOUS: "continuous";
|
|
584
584
|
};
|
|
585
|
-
interface LineNumberProperties {
|
|
585
|
+
export interface LineNumberProperties {
|
|
586
586
|
countBy?: number;
|
|
587
587
|
start?: number;
|
|
588
588
|
restart?: (typeof LineNumberRestartFormat)[keyof typeof LineNumberRestartFormat];
|
|
589
589
|
distance?: number | PositiveUniversalMeasure;
|
|
590
590
|
}
|
|
591
|
-
declare const createLineNumberType: ({ countBy, start, restart, distance }: LineNumberProperties) => string;
|
|
591
|
+
export declare const createLineNumberType: ({ countBy, start, restart, distance }: LineNumberProperties) => string;
|
|
592
592
|
//#endregion
|
|
593
593
|
//#region src/parts/document/body/section-properties/properties/page-borders.d.ts
|
|
594
|
-
declare const PageBorderDisplay: {
|
|
594
|
+
export declare const PageBorderDisplay: {
|
|
595
595
|
readonly ALL_PAGES: "allPages";
|
|
596
596
|
readonly FIRST_PAGE: "firstPage";
|
|
597
597
|
readonly NOT_FIRST_PAGE: "notFirstPage";
|
|
598
598
|
};
|
|
599
|
-
declare const PageBorderOffsetFrom: {
|
|
599
|
+
export declare const PageBorderOffsetFrom: {
|
|
600
600
|
readonly PAGE: "page";
|
|
601
601
|
readonly TEXT: "text";
|
|
602
602
|
};
|
|
603
|
-
declare const PageBorderZOrder: {
|
|
603
|
+
export declare const PageBorderZOrder: {
|
|
604
604
|
readonly BACK: "back";
|
|
605
605
|
readonly FRONT: "front";
|
|
606
606
|
};
|
|
607
|
-
interface PageBordersOptions {
|
|
607
|
+
export interface PageBordersOptions {
|
|
608
608
|
display?: (typeof PageBorderDisplay)[keyof typeof PageBorderDisplay];
|
|
609
609
|
offsetFrom?: (typeof PageBorderOffsetFrom)[keyof typeof PageBorderOffsetFrom];
|
|
610
610
|
zOrder?: (typeof PageBorderZOrder)[keyof typeof PageBorderZOrder];
|
|
@@ -615,7 +615,7 @@ interface PageBordersOptions {
|
|
|
615
615
|
}
|
|
616
616
|
//#endregion
|
|
617
617
|
//#region src/parts/document/body/section-properties/properties/page-margin.d.ts
|
|
618
|
-
interface PageMarginProperties {
|
|
618
|
+
export interface PageMarginProperties {
|
|
619
619
|
top?: number | UniversalMeasure;
|
|
620
620
|
right?: number | PositiveUniversalMeasure;
|
|
621
621
|
bottom?: number | UniversalMeasure;
|
|
@@ -624,30 +624,30 @@ interface PageMarginProperties {
|
|
|
624
624
|
footer?: number | PositiveUniversalMeasure;
|
|
625
625
|
gutter?: number | PositiveUniversalMeasure;
|
|
626
626
|
}
|
|
627
|
-
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;
|
|
627
|
+
export 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;
|
|
628
628
|
//#endregion
|
|
629
629
|
//#region src/parts/document/body/section-properties/properties/page-number.d.ts
|
|
630
|
-
declare const PageNumberSeparator: {
|
|
630
|
+
export declare const PageNumberSeparator: {
|
|
631
631
|
readonly HYPHEN: "hyphen";
|
|
632
632
|
readonly PERIOD: "period";
|
|
633
633
|
readonly COLON: "colon";
|
|
634
634
|
readonly EM_DASH: "emDash";
|
|
635
635
|
readonly EN_DASH: "enDash";
|
|
636
636
|
};
|
|
637
|
-
interface PageNumberTypeProperties {
|
|
637
|
+
export interface PageNumberTypeProperties {
|
|
638
638
|
start?: number;
|
|
639
639
|
format?: (typeof NumberFormat)[keyof typeof NumberFormat];
|
|
640
640
|
separator?: (typeof PageNumberSeparator)[keyof typeof PageNumberSeparator];
|
|
641
641
|
chapterStyle?: number;
|
|
642
642
|
}
|
|
643
|
-
declare const createPageNumberType: ({ start, format, separator, chapterStyle }: PageNumberTypeProperties) => string;
|
|
643
|
+
export declare const createPageNumberType: ({ start, format, separator, chapterStyle }: PageNumberTypeProperties) => string;
|
|
644
644
|
//#endregion
|
|
645
645
|
//#region src/parts/document/body/section-properties/properties/page-size.d.ts
|
|
646
|
-
declare const PageOrientation: {
|
|
646
|
+
export declare const PageOrientation: {
|
|
647
647
|
readonly PORTRAIT: "portrait";
|
|
648
648
|
readonly LANDSCAPE: "landscape";
|
|
649
649
|
};
|
|
650
|
-
interface PageSizeProperties {
|
|
650
|
+
export interface PageSizeProperties {
|
|
651
651
|
width?: number | PositiveUniversalMeasure;
|
|
652
652
|
height?: number | PositiveUniversalMeasure;
|
|
653
653
|
orientation?: (typeof PageOrientation)[keyof typeof PageOrientation];
|
|
@@ -655,28 +655,28 @@ interface PageSizeProperties {
|
|
|
655
655
|
}
|
|
656
656
|
//#endregion
|
|
657
657
|
//#region src/parts/document/body/section-properties/properties/page-text-direction.d.ts
|
|
658
|
-
declare const PageTextDirectionType: {
|
|
658
|
+
export declare const PageTextDirectionType: {
|
|
659
659
|
readonly LEFT_TO_RIGHT_TOP_TO_BOTTOM: "lrTb";
|
|
660
660
|
readonly TOP_TO_BOTTOM_RIGHT_TO_LEFT: "tbRl";
|
|
661
661
|
};
|
|
662
662
|
//#endregion
|
|
663
663
|
//#region src/parts/document/body/section-properties/properties/section-type.d.ts
|
|
664
|
-
declare const SectionType: {
|
|
664
|
+
export declare const SectionType: {
|
|
665
665
|
readonly NEXT_PAGE: "nextPage";
|
|
666
666
|
readonly NEXT_COLUMN: "nextColumn";
|
|
667
667
|
readonly CONTINUOUS: "continuous";
|
|
668
668
|
readonly EVEN_PAGE: "evenPage";
|
|
669
669
|
readonly ODD_PAGE: "oddPage";
|
|
670
670
|
};
|
|
671
|
-
declare const createSectionType: (value: (typeof SectionType)[keyof typeof SectionType]) => string;
|
|
671
|
+
export declare const createSectionType: (value: (typeof SectionType)[keyof typeof SectionType]) => string;
|
|
672
672
|
//#endregion
|
|
673
673
|
//#region src/parts/document/body/section-properties/section-properties.d.ts
|
|
674
|
-
interface HeaderFooterGroup<T> {
|
|
674
|
+
export interface HeaderFooterGroup<T> {
|
|
675
675
|
default?: T;
|
|
676
676
|
first?: T;
|
|
677
677
|
even?: T;
|
|
678
678
|
}
|
|
679
|
-
interface SectionPropertiesOptionsBase {
|
|
679
|
+
export interface SectionPropertiesOptionsBase {
|
|
680
680
|
runPropertiesRsid?: LongHexNumber;
|
|
681
681
|
deletionRsid?: LongHexNumber;
|
|
682
682
|
additionRsid?: LongHexNumber;
|
|
@@ -703,11 +703,11 @@ interface SectionPropertiesOptionsBase {
|
|
|
703
703
|
footnoteProperties?: FootnotePropertiesOptions;
|
|
704
704
|
endnoteProperties?: EndnotePropertiesOptions;
|
|
705
705
|
}
|
|
706
|
-
type SectionPropertiesChangeOptions = ChangedProperties & SectionPropertiesOptionsBase;
|
|
707
|
-
type SectionPropertiesOptions = {
|
|
706
|
+
export type SectionPropertiesChangeOptions = ChangedProperties & SectionPropertiesOptionsBase;
|
|
707
|
+
export type SectionPropertiesOptions = {
|
|
708
708
|
revision?: SectionPropertiesChangeOptions;
|
|
709
709
|
} & SectionPropertiesOptionsBase;
|
|
710
|
-
declare const sectionMarginDefaults: {
|
|
710
|
+
export declare const sectionMarginDefaults: {
|
|
711
711
|
TOP: number;
|
|
712
712
|
RIGHT: number;
|
|
713
713
|
BOTTOM: number;
|
|
@@ -716,21 +716,21 @@ declare const sectionMarginDefaults: {
|
|
|
716
716
|
FOOTER: number;
|
|
717
717
|
GUTTER: number;
|
|
718
718
|
};
|
|
719
|
-
declare const sectionPageSizeDefaults: {
|
|
719
|
+
export declare const sectionPageSizeDefaults: {
|
|
720
720
|
WIDTH: number;
|
|
721
721
|
HEIGHT: number;
|
|
722
722
|
ORIENTATION: "portrait";
|
|
723
723
|
};
|
|
724
724
|
//#endregion
|
|
725
725
|
//#region src/parts/alt-chunk/alt-chunk-collection.d.ts
|
|
726
|
-
interface AltChunkData {
|
|
726
|
+
export interface AltChunkData {
|
|
727
727
|
key: string;
|
|
728
728
|
data: Uint8Array;
|
|
729
729
|
path: string;
|
|
730
730
|
extension: string;
|
|
731
731
|
contentType: string;
|
|
732
732
|
}
|
|
733
|
-
declare class AltChunkCollection {
|
|
733
|
+
export declare class AltChunkCollection {
|
|
734
734
|
private map;
|
|
735
735
|
constructor();
|
|
736
736
|
addAltChunk(key: string, data: AltChunkData): void;
|
|
@@ -738,16 +738,16 @@ declare class AltChunkCollection {
|
|
|
738
738
|
}
|
|
739
739
|
//#endregion
|
|
740
740
|
//#region src/parts/bibliography.d.ts
|
|
741
|
-
interface PersonOptions {
|
|
741
|
+
export interface PersonOptions {
|
|
742
742
|
last?: string;
|
|
743
743
|
first?: string;
|
|
744
744
|
middle?: string;
|
|
745
745
|
}
|
|
746
|
-
interface CorporateOptions {
|
|
746
|
+
export interface CorporateOptions {
|
|
747
747
|
corporate: string;
|
|
748
748
|
}
|
|
749
|
-
type AuthorEntry = PersonOptions | CorporateOptions;
|
|
750
|
-
interface AuthorOptions {
|
|
749
|
+
export type AuthorEntry = PersonOptions | CorporateOptions;
|
|
750
|
+
export interface AuthorOptions {
|
|
751
751
|
authors?: AuthorEntry[];
|
|
752
752
|
artists?: PersonOptions[];
|
|
753
753
|
bookAuthors?: PersonOptions[];
|
|
@@ -765,7 +765,7 @@ interface AuthorOptions {
|
|
|
765
765
|
translators?: PersonOptions[];
|
|
766
766
|
writers?: PersonOptions[];
|
|
767
767
|
}
|
|
768
|
-
interface SourceTypeOptions {
|
|
768
|
+
export interface SourceTypeOptions {
|
|
769
769
|
sourceType?: "ArticleInAPeriodical" | "Book" | "BookSection" | "JournalArticle" | "ConferenceProceedings" | "Report" | "SoundRecording" | "Performance" | "Art" | "DocumentFromInternetSite" | "InternetSite" | "Film" | "Interview" | "Patent" | "ElectronicSource" | "Case" | "Misc";
|
|
770
770
|
type?: string;
|
|
771
771
|
title?: string;
|
|
@@ -819,23 +819,23 @@ interface SourceTypeOptions {
|
|
|
819
819
|
version?: string;
|
|
820
820
|
yearAccessed?: string;
|
|
821
821
|
}
|
|
822
|
-
interface BibliographyOptions {
|
|
822
|
+
export interface BibliographyOptions {
|
|
823
823
|
sources: SourceTypeOptions[];
|
|
824
824
|
styleName?: string;
|
|
825
825
|
}
|
|
826
|
-
declare const bibliographyDesc: CustomDescriptor<BibliographyOptions>;
|
|
826
|
+
export declare const bibliographyDesc: CustomDescriptor<BibliographyOptions>;
|
|
827
827
|
//#endregion
|
|
828
828
|
//#region src/parts/comments-extended.d.ts
|
|
829
|
-
interface CommentExtendedOptions {
|
|
829
|
+
export interface CommentExtendedOptions {
|
|
830
830
|
paraId: LongHexNumber;
|
|
831
831
|
paraIdParent?: LongHexNumber;
|
|
832
832
|
done?: boolean;
|
|
833
833
|
nextGen?: true;
|
|
834
834
|
}
|
|
835
|
-
declare const commentsExtendedDesc: CustomDescriptor<CommentExtendedOptions[]>;
|
|
835
|
+
export declare const commentsExtendedDesc: CustomDescriptor<CommentExtendedOptions[]>;
|
|
836
836
|
//#endregion
|
|
837
837
|
//#region src/parts/fonts/font.d.ts
|
|
838
|
-
declare const CharacterSet: {
|
|
838
|
+
export declare const CharacterSet: {
|
|
839
839
|
readonly ANSI: "00";
|
|
840
840
|
readonly ARABIC: "B2";
|
|
841
841
|
readonly BALTIC: "BA";
|
|
@@ -898,7 +898,7 @@ interface EmbeddedFontOptions {
|
|
|
898
898
|
}
|
|
899
899
|
//#endregion
|
|
900
900
|
//#region src/parts/glossary-document.d.ts
|
|
901
|
-
declare const DocPartGallery: {
|
|
901
|
+
export declare const DocPartGallery: {
|
|
902
902
|
readonly PLACEHOLDER: "placeholder";
|
|
903
903
|
readonly ANY: "any";
|
|
904
904
|
readonly DEFAULT: "default";
|
|
@@ -938,8 +938,8 @@ declare const DocPartGallery: {
|
|
|
938
938
|
readonly CUSTOM4: "custom4";
|
|
939
939
|
readonly CUSTOM5: "custom5";
|
|
940
940
|
};
|
|
941
|
-
type DocPartGallery = (typeof DocPartGallery)[keyof typeof DocPartGallery];
|
|
942
|
-
declare const DocPartType: {
|
|
941
|
+
export type DocPartGallery = (typeof DocPartGallery)[keyof typeof DocPartGallery];
|
|
942
|
+
export declare const DocPartType: {
|
|
943
943
|
readonly NONE: "none";
|
|
944
944
|
readonly NORMAL: "normal";
|
|
945
945
|
readonly AUTO_EXPAND: "autoExp";
|
|
@@ -948,18 +948,18 @@ declare const DocPartType: {
|
|
|
948
948
|
readonly FORM_FIELD: "formFld";
|
|
949
949
|
readonly BUILDING_BLOCK_PLACEHOLDER: "bbPlcHdr";
|
|
950
950
|
};
|
|
951
|
-
type DocPartType = (typeof DocPartType)[keyof typeof DocPartType];
|
|
952
|
-
declare const DocPartBehavior: {
|
|
951
|
+
export type DocPartType = (typeof DocPartType)[keyof typeof DocPartType];
|
|
952
|
+
export declare const DocPartBehavior: {
|
|
953
953
|
readonly CONTENT: "content";
|
|
954
954
|
readonly PARAGRAPH: "p";
|
|
955
955
|
readonly PAGE: "pg";
|
|
956
956
|
};
|
|
957
|
-
type DocPartBehavior = (typeof DocPartBehavior)[keyof typeof DocPartBehavior];
|
|
958
|
-
interface DocPartSectionOptions {
|
|
957
|
+
export type DocPartBehavior = (typeof DocPartBehavior)[keyof typeof DocPartBehavior];
|
|
958
|
+
export interface DocPartSectionOptions {
|
|
959
959
|
children: SectionChild[];
|
|
960
960
|
properties?: SectionPropertiesOptions;
|
|
961
961
|
}
|
|
962
|
-
interface DocPartOptions {
|
|
962
|
+
export interface DocPartOptions {
|
|
963
963
|
name: string;
|
|
964
964
|
gallery: DocPartGallery;
|
|
965
965
|
category?: string;
|
|
@@ -972,10 +972,10 @@ interface DocPartOptions {
|
|
|
972
972
|
style?: string;
|
|
973
973
|
sections: DocPartSectionOptions[];
|
|
974
974
|
}
|
|
975
|
-
interface GlossaryDocumentOptions {
|
|
975
|
+
export interface GlossaryDocumentOptions {
|
|
976
976
|
parts: DocPartOptions[];
|
|
977
977
|
}
|
|
978
|
-
declare const glossaryDesc: CustomDescriptor<GlossaryDocumentOptions, BodyContext>;
|
|
978
|
+
export declare const glossaryDesc: CustomDescriptor<GlossaryDocumentOptions, BodyContext>;
|
|
979
979
|
//#endregion
|
|
980
980
|
//#region src/parts/object/object-element.d.ts
|
|
981
981
|
interface ObjectEmbedOptions {
|
|
@@ -1016,10 +1016,10 @@ interface ObjectElementOptions {
|
|
|
1016
1016
|
control?: ObjectControlOptions;
|
|
1017
1017
|
movie?: string;
|
|
1018
1018
|
}
|
|
1019
|
-
declare const objectDesc: CustomDescriptor<ObjectElementOptions, BodyContext>;
|
|
1019
|
+
export declare const objectDesc: CustomDescriptor<ObjectElementOptions, BodyContext>;
|
|
1020
1020
|
//#endregion
|
|
1021
1021
|
//#region src/parts/paragraph/run/ruby.d.ts
|
|
1022
|
-
declare const RubyAlign: {
|
|
1022
|
+
export declare const RubyAlign: {
|
|
1023
1023
|
readonly CENTER: "center";
|
|
1024
1024
|
readonly DISTRIBUTE_LETTER: "distributeLetter";
|
|
1025
1025
|
readonly DISTRIBUTE_SPACE: "distributeSpace";
|
|
@@ -1027,7 +1027,7 @@ declare const RubyAlign: {
|
|
|
1027
1027
|
readonly RIGHT: "right";
|
|
1028
1028
|
readonly RIGHT_VERTICAL: "rightVertical";
|
|
1029
1029
|
};
|
|
1030
|
-
interface RubyPropertiesOptions {
|
|
1030
|
+
export interface RubyPropertiesOptions {
|
|
1031
1031
|
alignment: (typeof RubyAlign)[keyof typeof RubyAlign];
|
|
1032
1032
|
fontSize: number;
|
|
1033
1033
|
raise: number;
|
|
@@ -1035,23 +1035,23 @@ interface RubyPropertiesOptions {
|
|
|
1035
1035
|
languageId: string;
|
|
1036
1036
|
dirty?: boolean;
|
|
1037
1037
|
}
|
|
1038
|
-
interface RubyContentOptions {
|
|
1038
|
+
export interface RubyContentOptions {
|
|
1039
1039
|
children?: (RunOptions | string)[];
|
|
1040
1040
|
}
|
|
1041
|
-
interface RubyOptions {
|
|
1041
|
+
export interface RubyOptions {
|
|
1042
1042
|
properties: RubyPropertiesOptions;
|
|
1043
1043
|
text: RubyContentOptions;
|
|
1044
1044
|
base: RubyContentOptions;
|
|
1045
1045
|
}
|
|
1046
1046
|
//#endregion
|
|
1047
1047
|
//#region src/parts/paragraph/run/run.d.ts
|
|
1048
|
-
type BreakClear = "none" | "left" | "right" | "all";
|
|
1049
|
-
interface BreakOptions {
|
|
1048
|
+
export type BreakClear = "none" | "left" | "right" | "all";
|
|
1049
|
+
export interface BreakOptions {
|
|
1050
1050
|
count?: number;
|
|
1051
1051
|
clear?: BreakClear;
|
|
1052
1052
|
}
|
|
1053
|
-
declare function breakXml(breakOpt: number | BreakOptions | undefined): string;
|
|
1054
|
-
declare const EMPTY_RUN_ELEMENTS: Record<string, string>;
|
|
1053
|
+
export declare function breakXml(breakOpt: number | BreakOptions | undefined): string;
|
|
1054
|
+
export declare const EMPTY_RUN_ELEMENTS: Record<string, string>;
|
|
1055
1055
|
interface RunOptionsBase {
|
|
1056
1056
|
children?: ((typeof PageNumber)[keyof typeof PageNumber] | string | {
|
|
1057
1057
|
tab: true;
|
|
@@ -1097,13 +1097,13 @@ interface RunOptionsBase {
|
|
|
1097
1097
|
footnoteReference?: number | FootnoteEndnoteReferenceOptions;
|
|
1098
1098
|
endnoteReference?: number | FootnoteEndnoteReferenceOptions;
|
|
1099
1099
|
}
|
|
1100
|
-
type RunOptions = RunOptionsBase & RunPropertiesOptions & {
|
|
1100
|
+
export type RunOptions = RunOptionsBase & RunPropertiesOptions & {
|
|
1101
1101
|
additionRsid?: LongHexNumber;
|
|
1102
1102
|
runPropertiesRsid?: LongHexNumber;
|
|
1103
1103
|
deletionRsid?: LongHexNumber;
|
|
1104
1104
|
};
|
|
1105
|
-
type ParagraphRunOptions = RunOptionsBase & ParagraphRunPropertiesOptions;
|
|
1106
|
-
declare const PageNumber: {
|
|
1105
|
+
export type ParagraphRunOptions = RunOptionsBase & ParagraphRunPropertiesOptions;
|
|
1106
|
+
export declare const PageNumber: {
|
|
1107
1107
|
readonly CURRENT: "CURRENT";
|
|
1108
1108
|
readonly TOTAL_PAGES: "TOTAL_PAGES";
|
|
1109
1109
|
readonly TOTAL_PAGES_IN_SECTION: "TOTAL_PAGES_IN_SECTION";
|
|
@@ -1111,17 +1111,17 @@ declare const PageNumber: {
|
|
|
1111
1111
|
};
|
|
1112
1112
|
//#endregion
|
|
1113
1113
|
//#region src/parts/paragraph/links/bookmark.d.ts
|
|
1114
|
-
type DisplacedByCustomXml = "next" | "prev";
|
|
1115
|
-
interface MarkupRangeOptions {
|
|
1114
|
+
export type DisplacedByCustomXml = "next" | "prev";
|
|
1115
|
+
export interface MarkupRangeOptions {
|
|
1116
1116
|
id: number;
|
|
1117
1117
|
displacedByCustomXml?: DisplacedByCustomXml;
|
|
1118
1118
|
}
|
|
1119
|
-
interface BookmarkStartOptions extends MarkupRangeOptions {
|
|
1119
|
+
export interface BookmarkStartOptions extends MarkupRangeOptions {
|
|
1120
1120
|
name: string;
|
|
1121
1121
|
colFirst?: number;
|
|
1122
1122
|
colLast?: number;
|
|
1123
1123
|
}
|
|
1124
|
-
interface MoveRangeStartOptions {
|
|
1124
|
+
export interface MoveRangeStartOptions {
|
|
1125
1125
|
id: number;
|
|
1126
1126
|
name?: string;
|
|
1127
1127
|
author?: string;
|
|
@@ -1130,14 +1130,14 @@ interface MoveRangeStartOptions {
|
|
|
1130
1130
|
colFirst?: number;
|
|
1131
1131
|
colLast?: number;
|
|
1132
1132
|
}
|
|
1133
|
-
interface BookmarkOptions {
|
|
1133
|
+
export interface BookmarkOptions {
|
|
1134
1134
|
name: string;
|
|
1135
1135
|
wrap?: (string | RunOptions)[];
|
|
1136
1136
|
displacedByCustomXml?: DisplacedByCustomXml;
|
|
1137
1137
|
colFirst?: number;
|
|
1138
1138
|
colLast?: number;
|
|
1139
1139
|
}
|
|
1140
|
-
interface MoveRangeOptions {
|
|
1140
|
+
export interface MoveRangeOptions {
|
|
1141
1141
|
author: string;
|
|
1142
1142
|
date: DateTime;
|
|
1143
1143
|
wrap?: (string | RunOptions)[];
|
|
@@ -1165,21 +1165,21 @@ interface TableCellSpacingProperties {
|
|
|
1165
1165
|
}
|
|
1166
1166
|
//#endregion
|
|
1167
1167
|
//#region src/parts/table/table-width.d.ts
|
|
1168
|
-
declare const WidthType: {
|
|
1168
|
+
export declare const WidthType: {
|
|
1169
1169
|
readonly AUTO: "auto";
|
|
1170
1170
|
readonly DXA: "twips";
|
|
1171
1171
|
readonly NIL: "nil";
|
|
1172
1172
|
readonly PERCENTAGE: "percent";
|
|
1173
1173
|
};
|
|
1174
|
-
interface TableWidthProperties {
|
|
1174
|
+
export interface TableWidthProperties {
|
|
1175
1175
|
size: number | Percentage | UniversalMeasure;
|
|
1176
1176
|
type?: (typeof WidthType)[keyof typeof WidthType];
|
|
1177
1177
|
}
|
|
1178
|
-
declare const widthPctToFiftieths: (size: number | Percentage | UniversalMeasure) => number | Percentage | UniversalMeasure;
|
|
1179
|
-
declare const widthFiftiethsToPct: (size: number | string | undefined, type: string | undefined) => number | string | undefined;
|
|
1178
|
+
export declare const widthPctToFiftieths: (size: number | Percentage | UniversalMeasure) => number | Percentage | UniversalMeasure;
|
|
1179
|
+
export declare const widthFiftiethsToPct: (size: number | string | undefined, type: string | undefined) => number | string | undefined;
|
|
1180
1180
|
//#endregion
|
|
1181
1181
|
//#region src/parts/table/table-properties/table-borders.d.ts
|
|
1182
|
-
interface TableBordersOptions {
|
|
1182
|
+
export interface TableBordersOptions {
|
|
1183
1183
|
top?: BorderOptions;
|
|
1184
1184
|
bottom?: BorderOptions;
|
|
1185
1185
|
left?: BorderOptions;
|
|
@@ -1189,7 +1189,7 @@ interface TableBordersOptions {
|
|
|
1189
1189
|
insideHorizontal?: BorderOptions;
|
|
1190
1190
|
insideVertical?: BorderOptions;
|
|
1191
1191
|
}
|
|
1192
|
-
declare const TABLE_BORDERS_NONE: TableBordersOptions;
|
|
1192
|
+
export declare const TABLE_BORDERS_NONE: TableBordersOptions;
|
|
1193
1193
|
//#endregion
|
|
1194
1194
|
//#region src/parts/table/table-properties/table-cell-margin.d.ts
|
|
1195
1195
|
interface TableCellMarginOptions {
|
|
@@ -1202,19 +1202,19 @@ interface TableCellMarginOptions {
|
|
|
1202
1202
|
}
|
|
1203
1203
|
//#endregion
|
|
1204
1204
|
//#region src/parts/table/table-properties/table-float-properties.d.ts
|
|
1205
|
-
declare const TableAnchorType: {
|
|
1205
|
+
export declare const TableAnchorType: {
|
|
1206
1206
|
readonly MARGIN: "margin";
|
|
1207
1207
|
readonly PAGE: "page";
|
|
1208
1208
|
readonly TEXT: "text";
|
|
1209
1209
|
};
|
|
1210
|
-
declare const RelativeHorizontalPosition: {
|
|
1210
|
+
export declare const RelativeHorizontalPosition: {
|
|
1211
1211
|
readonly CENTER: "center";
|
|
1212
1212
|
readonly INSIDE: "inside";
|
|
1213
1213
|
readonly LEFT: "left";
|
|
1214
1214
|
readonly OUTSIDE: "outside";
|
|
1215
1215
|
readonly RIGHT: "right";
|
|
1216
1216
|
};
|
|
1217
|
-
declare const RelativeVerticalPosition: {
|
|
1217
|
+
export declare const RelativeVerticalPosition: {
|
|
1218
1218
|
readonly BOTTOM: "bottom";
|
|
1219
1219
|
readonly CENTER: "center";
|
|
1220
1220
|
readonly INLINE: "inline";
|
|
@@ -1222,11 +1222,11 @@ declare const RelativeVerticalPosition: {
|
|
|
1222
1222
|
readonly OUTSIDE: "outside";
|
|
1223
1223
|
readonly TOP: "top";
|
|
1224
1224
|
};
|
|
1225
|
-
declare const OverlapType: {
|
|
1225
|
+
export declare const OverlapType: {
|
|
1226
1226
|
readonly NEVER: "never";
|
|
1227
1227
|
readonly OVERLAP: "overlap";
|
|
1228
1228
|
};
|
|
1229
|
-
interface TableFloatOptions {
|
|
1229
|
+
export interface TableFloatOptions {
|
|
1230
1230
|
horizontalAnchor?: (typeof TableAnchorType)[keyof typeof TableAnchorType];
|
|
1231
1231
|
absoluteHorizontalPosition?: number;
|
|
1232
1232
|
relativeHorizontalPosition?: (typeof RelativeHorizontalPosition)[keyof typeof RelativeHorizontalPosition];
|
|
@@ -1241,13 +1241,13 @@ interface TableFloatOptions {
|
|
|
1241
1241
|
}
|
|
1242
1242
|
//#endregion
|
|
1243
1243
|
//#region src/parts/table/table-properties/table-layout.d.ts
|
|
1244
|
-
declare const TableLayoutType: {
|
|
1244
|
+
export declare const TableLayoutType: {
|
|
1245
1245
|
readonly AUTOFIT: "autofit";
|
|
1246
1246
|
readonly FIXED: "fixed";
|
|
1247
1247
|
};
|
|
1248
1248
|
//#endregion
|
|
1249
1249
|
//#region src/parts/table/table-properties/table-look.d.ts
|
|
1250
|
-
interface TableLookOptions {
|
|
1250
|
+
export interface TableLookOptions {
|
|
1251
1251
|
val?: ShortHexNumber;
|
|
1252
1252
|
firstRow?: boolean;
|
|
1253
1253
|
lastRow?: boolean;
|
|
@@ -1258,8 +1258,8 @@ interface TableLookOptions {
|
|
|
1258
1258
|
}
|
|
1259
1259
|
//#endregion
|
|
1260
1260
|
//#region src/parts/table/table-properties/table-properties.d.ts
|
|
1261
|
-
type TableJustification = "start" | "center" | "end" | "left" | "right";
|
|
1262
|
-
interface TablePropertiesOptionsBase {
|
|
1261
|
+
export type TableJustification = "start" | "center" | "end" | "left" | "right";
|
|
1262
|
+
export interface TablePropertiesOptionsBase {
|
|
1263
1263
|
width?: TableWidthProperties;
|
|
1264
1264
|
indent?: TableWidthProperties;
|
|
1265
1265
|
layout?: (typeof TableLayoutType)[keyof typeof TableLayoutType];
|
|
@@ -1277,13 +1277,13 @@ interface TablePropertiesOptionsBase {
|
|
|
1277
1277
|
caption?: string;
|
|
1278
1278
|
description?: string;
|
|
1279
1279
|
}
|
|
1280
|
-
type TablePropertiesChangeOptions = TablePropertiesOptions & ChangedProperties;
|
|
1281
|
-
type TablePropertiesOptions = {
|
|
1280
|
+
export type TablePropertiesChangeOptions = TablePropertiesOptions & ChangedProperties;
|
|
1281
|
+
export type TablePropertiesOptions = {
|
|
1282
1282
|
revision?: TablePropertiesChangeOptions;
|
|
1283
1283
|
} & TablePropertiesOptionsBase;
|
|
1284
1284
|
//#endregion
|
|
1285
1285
|
//#region src/parts/table/table-properties/table-property-exceptions.d.ts
|
|
1286
|
-
interface TablePropertyExOptions {
|
|
1286
|
+
export interface TablePropertyExOptions {
|
|
1287
1287
|
width?: TableWidthProperties;
|
|
1288
1288
|
indent?: TableWidthProperties;
|
|
1289
1289
|
layout?: (typeof TableLayoutType)[keyof typeof TableLayoutType];
|
|
@@ -1295,10 +1295,10 @@ interface TablePropertyExOptions {
|
|
|
1295
1295
|
cellSpacing?: TableCellSpacingProperties;
|
|
1296
1296
|
tblPrExChange?: TablePropertyExChangeOptions;
|
|
1297
1297
|
}
|
|
1298
|
-
type TablePropertyExChangeOptions = Omit<TablePropertyExOptions, "tblPrExChange"> & ChangedProperties;
|
|
1298
|
+
export type TablePropertyExChangeOptions = Omit<TablePropertyExOptions, "tblPrExChange"> & ChangedProperties;
|
|
1299
1299
|
//#endregion
|
|
1300
1300
|
//#region src/parts/table/table-cell/table-cell-components.d.ts
|
|
1301
|
-
interface TableCellBordersOptions {
|
|
1301
|
+
export interface TableCellBordersOptions {
|
|
1302
1302
|
top?: BorderOptions;
|
|
1303
1303
|
start?: BorderOptions;
|
|
1304
1304
|
left?: BorderOptions;
|
|
@@ -1310,26 +1310,26 @@ interface TableCellBordersOptions {
|
|
|
1310
1310
|
topLeftToBottomRight?: BorderOptions;
|
|
1311
1311
|
topRightToBottomLeft?: BorderOptions;
|
|
1312
1312
|
}
|
|
1313
|
-
declare const VerticalMergeType: {
|
|
1313
|
+
export declare const VerticalMergeType: {
|
|
1314
1314
|
readonly CONTINUE: "continue";
|
|
1315
1315
|
readonly RESTART: "restart";
|
|
1316
1316
|
};
|
|
1317
|
-
declare const TextDirection: {
|
|
1317
|
+
export declare const TextDirection: {
|
|
1318
1318
|
readonly BOTTOM_TO_TOP_LEFT_TO_RIGHT: "btLr";
|
|
1319
1319
|
readonly LEFT_TO_RIGHT_TOP_TO_BOTTOM: "lrTb";
|
|
1320
1320
|
readonly TOP_TO_BOTTOM_RIGHT_TO_LEFT: "tbRl";
|
|
1321
1321
|
};
|
|
1322
1322
|
//#endregion
|
|
1323
1323
|
//#region src/parts/table/table-row/table-row-height.d.ts
|
|
1324
|
-
declare const HeightRule: {
|
|
1324
|
+
export declare const HeightRule: {
|
|
1325
1325
|
readonly AUTO: "auto";
|
|
1326
1326
|
readonly ATLEAST: "atLeast";
|
|
1327
1327
|
readonly EXACT: "exact";
|
|
1328
1328
|
};
|
|
1329
1329
|
//#endregion
|
|
1330
1330
|
//#region src/parts/table/table-row/table-row-properties.d.ts
|
|
1331
|
-
type CnfBitmask = string;
|
|
1332
|
-
interface CnfStyleOptions {
|
|
1331
|
+
export type CnfBitmask = string;
|
|
1332
|
+
export interface CnfStyleOptions {
|
|
1333
1333
|
val?: CnfBitmask;
|
|
1334
1334
|
firstRow?: boolean;
|
|
1335
1335
|
lastRow?: boolean;
|
|
@@ -1344,7 +1344,7 @@ interface CnfStyleOptions {
|
|
|
1344
1344
|
lastRowFirstColumn?: boolean;
|
|
1345
1345
|
lastRowLastColumn?: boolean;
|
|
1346
1346
|
}
|
|
1347
|
-
interface TableRowPropertiesOptionsBase {
|
|
1347
|
+
export interface TableRowPropertiesOptionsBase {
|
|
1348
1348
|
cnfStyle?: CnfStyleOptions;
|
|
1349
1349
|
cantSplit?: boolean;
|
|
1350
1350
|
tableHeader?: boolean;
|
|
@@ -1361,15 +1361,15 @@ interface TableRowPropertiesOptionsBase {
|
|
|
1361
1361
|
rowAlignment?: (typeof AlignmentType)[keyof typeof AlignmentType];
|
|
1362
1362
|
hidden?: boolean;
|
|
1363
1363
|
}
|
|
1364
|
-
type TableRowPropertiesOptions = TableRowPropertiesOptionsBase & {
|
|
1364
|
+
export type TableRowPropertiesOptions = TableRowPropertiesOptionsBase & {
|
|
1365
1365
|
insertion?: ChangedProperties;
|
|
1366
1366
|
deletion?: ChangedProperties;
|
|
1367
1367
|
revision?: TableRowPropertiesChangeOptions;
|
|
1368
1368
|
};
|
|
1369
|
-
type TableRowPropertiesChangeOptions = TableRowPropertiesOptionsBase & ChangedProperties;
|
|
1369
|
+
export type TableRowPropertiesChangeOptions = TableRowPropertiesOptionsBase & ChangedProperties;
|
|
1370
1370
|
//#endregion
|
|
1371
1371
|
//#region src/parts/table/table-row/table-row.d.ts
|
|
1372
|
-
type TableRowMarkerChild = {
|
|
1372
|
+
export type TableRowMarkerChild = {
|
|
1373
1373
|
commentRangeStart: MarkupRangeOptions;
|
|
1374
1374
|
} | {
|
|
1375
1375
|
commentRangeEnd: MarkupRangeOptions;
|
|
@@ -1378,12 +1378,12 @@ type TableRowMarkerChild = {
|
|
|
1378
1378
|
} | {
|
|
1379
1379
|
bookmarkEnd: MarkupRangeOptions;
|
|
1380
1380
|
};
|
|
1381
|
-
interface SdtRowOptions {
|
|
1381
|
+
export interface SdtRowOptions {
|
|
1382
1382
|
properties: SdtPropertiesOptions;
|
|
1383
1383
|
rows?: TableRowOptions[];
|
|
1384
1384
|
endProperties?: RunPropertiesOptions;
|
|
1385
1385
|
}
|
|
1386
|
-
interface TableRowOptions extends BaseTableRowOptions<TableCellOptions | {
|
|
1386
|
+
export interface TableRowOptions extends BaseTableRowOptions<TableCellOptions | {
|
|
1387
1387
|
sdt: SdtCellOptions;
|
|
1388
1388
|
} | {
|
|
1389
1389
|
customXml: CustomXmlCellOptions;
|
|
@@ -1396,7 +1396,7 @@ interface TableRowOptions extends BaseTableRowOptions<TableCellOptions | {
|
|
|
1396
1396
|
}
|
|
1397
1397
|
//#endregion
|
|
1398
1398
|
//#region src/parts/table/table.d.ts
|
|
1399
|
-
interface TableOptions extends BaseTableOptions<TableRowOptions | {
|
|
1399
|
+
export interface TableOptions extends BaseTableOptions<TableRowOptions | {
|
|
1400
1400
|
sdt: SdtRowOptions;
|
|
1401
1401
|
} | {
|
|
1402
1402
|
customXml: CustomXmlRowOptions;
|
|
@@ -1422,7 +1422,7 @@ interface TableOptions extends BaseTableOptions<TableRowOptions | {
|
|
|
1422
1422
|
}
|
|
1423
1423
|
//#endregion
|
|
1424
1424
|
//#region src/parts/paragraph/run/comment-run.d.ts
|
|
1425
|
-
interface CommentOptions {
|
|
1425
|
+
export interface CommentOptions {
|
|
1426
1426
|
id: number;
|
|
1427
1427
|
children: (string | ParagraphOptions | {
|
|
1428
1428
|
table: TableOptions;
|
|
@@ -1435,7 +1435,7 @@ interface CommentOptions {
|
|
|
1435
1435
|
author?: string;
|
|
1436
1436
|
date?: string | null;
|
|
1437
1437
|
}
|
|
1438
|
-
interface CommentChildOptions {
|
|
1438
|
+
export interface CommentChildOptions {
|
|
1439
1439
|
author?: string;
|
|
1440
1440
|
initials?: string;
|
|
1441
1441
|
date?: DateTime;
|
|
@@ -1444,7 +1444,7 @@ interface CommentChildOptions {
|
|
|
1444
1444
|
}
|
|
1445
1445
|
//#endregion
|
|
1446
1446
|
//#region src/parts/people.d.ts
|
|
1447
|
-
interface CommentPersonOptions {
|
|
1447
|
+
export interface CommentPersonOptions {
|
|
1448
1448
|
author: string;
|
|
1449
1449
|
contact?: string;
|
|
1450
1450
|
presenceInfo?: {
|
|
@@ -1452,7 +1452,7 @@ interface CommentPersonOptions {
|
|
|
1452
1452
|
userId?: string;
|
|
1453
1453
|
};
|
|
1454
1454
|
}
|
|
1455
|
-
declare const peopleDesc: CustomDescriptor<CommentPersonOptions[]>;
|
|
1455
|
+
export declare const peopleDesc: CustomDescriptor<CommentPersonOptions[]>;
|
|
1456
1456
|
//#endregion
|
|
1457
1457
|
//#region src/parts/settings/compatibility.d.ts
|
|
1458
1458
|
interface CompatibilityOptions {
|
|
@@ -1535,11 +1535,11 @@ interface CompatSettingOptions {
|
|
|
1535
1535
|
}
|
|
1536
1536
|
//#endregion
|
|
1537
1537
|
//#region src/parts/settings/settings.d.ts
|
|
1538
|
-
interface ShapeDefaultsOptions {
|
|
1538
|
+
export interface ShapeDefaultsOptions {
|
|
1539
1539
|
shapedefaults?: VmlShapeDefaultsOptions;
|
|
1540
1540
|
shapelayout?: VmlShapeLayoutOptions;
|
|
1541
1541
|
}
|
|
1542
|
-
interface SettingsOptions {
|
|
1542
|
+
export interface SettingsOptions {
|
|
1543
1543
|
evenAndOddHeaders?: boolean;
|
|
1544
1544
|
trackRevisions?: boolean;
|
|
1545
1545
|
doNotTrackFormatting?: boolean;
|
|
@@ -1708,14 +1708,14 @@ interface SettingsOptions {
|
|
|
1708
1708
|
}[];
|
|
1709
1709
|
shapeDefaults?: ShapeDefaultsOptions;
|
|
1710
1710
|
}
|
|
1711
|
-
interface RevisionViewOptions {
|
|
1711
|
+
export interface RevisionViewOptions {
|
|
1712
1712
|
markup?: boolean;
|
|
1713
1713
|
comments?: boolean;
|
|
1714
1714
|
insDel?: boolean;
|
|
1715
1715
|
formatting?: boolean;
|
|
1716
1716
|
inkAnnotations?: boolean;
|
|
1717
1717
|
}
|
|
1718
|
-
interface DocumentProtectionOptions {
|
|
1718
|
+
export interface DocumentProtectionOptions {
|
|
1719
1719
|
edit?: "none" | "readOnly" | "comments" | "trackedChanges" | "forms";
|
|
1720
1720
|
formatting?: boolean;
|
|
1721
1721
|
password?: string;
|
|
@@ -1736,7 +1736,7 @@ interface DocumentProtectionOptions {
|
|
|
1736
1736
|
algorithmExtensionSource?: string;
|
|
1737
1737
|
cryptoSpinCount?: number;
|
|
1738
1738
|
}
|
|
1739
|
-
interface WriteProtectionOptions {
|
|
1739
|
+
export interface WriteProtectionOptions {
|
|
1740
1740
|
password?: string;
|
|
1741
1741
|
hashValue?: Base64;
|
|
1742
1742
|
saltValue?: Base64;
|
|
@@ -1756,12 +1756,12 @@ interface WriteProtectionOptions {
|
|
|
1756
1756
|
algorithmExtensionSource?: string;
|
|
1757
1757
|
cryptoSpinCount?: number;
|
|
1758
1758
|
}
|
|
1759
|
-
type MailMergeDocType = "catalog" | "envelopes" | "mailingLabels" | "formLetters" | "email" | "fax";
|
|
1760
|
-
type MailMergeDest = "newDocument" | "printer" | "email" | "fax";
|
|
1761
|
-
type MailMergeDataType = "textFile" | "database" | "spreadsheet" | "email" | "odbc" | "native" | "addressBook" | "legacy" | "master";
|
|
1762
|
-
type MailMergeSourceType = "database" | "addressBook" | "document1" | "document2" | "text" | "email" | "native" | "legacy" | "master";
|
|
1763
|
-
type OdsoFieldType = "null" | "dbColumn";
|
|
1764
|
-
interface OdsoFieldMapDataOptions {
|
|
1759
|
+
export type MailMergeDocType = "catalog" | "envelopes" | "mailingLabels" | "formLetters" | "email" | "fax";
|
|
1760
|
+
export type MailMergeDest = "newDocument" | "printer" | "email" | "fax";
|
|
1761
|
+
export type MailMergeDataType = "textFile" | "database" | "spreadsheet" | "email" | "odbc" | "native" | "addressBook" | "legacy" | "master";
|
|
1762
|
+
export type MailMergeSourceType = "database" | "addressBook" | "document1" | "document2" | "text" | "email" | "native" | "legacy" | "master";
|
|
1763
|
+
export type OdsoFieldType = "null" | "dbColumn";
|
|
1764
|
+
export interface OdsoFieldMapDataOptions {
|
|
1765
1765
|
type?: OdsoFieldType;
|
|
1766
1766
|
name?: string;
|
|
1767
1767
|
mappedName?: string;
|
|
@@ -1769,7 +1769,7 @@ interface OdsoFieldMapDataOptions {
|
|
|
1769
1769
|
lid?: string;
|
|
1770
1770
|
dynamicAddress?: boolean;
|
|
1771
1771
|
}
|
|
1772
|
-
interface OdsoOptions {
|
|
1772
|
+
export interface OdsoOptions {
|
|
1773
1773
|
udl?: string;
|
|
1774
1774
|
table?: string;
|
|
1775
1775
|
src?: string;
|
|
@@ -1779,7 +1779,7 @@ interface OdsoOptions {
|
|
|
1779
1779
|
fieldMapData?: OdsoFieldMapDataOptions[];
|
|
1780
1780
|
recipientData?: string[];
|
|
1781
1781
|
}
|
|
1782
|
-
interface MailMergeOptions {
|
|
1782
|
+
export interface MailMergeOptions {
|
|
1783
1783
|
mainDocumentType: MailMergeDocType;
|
|
1784
1784
|
dataType: MailMergeDataType;
|
|
1785
1785
|
destination?: MailMergeDest;
|
|
@@ -1797,7 +1797,7 @@ interface MailMergeOptions {
|
|
|
1797
1797
|
linkToQuery?: boolean;
|
|
1798
1798
|
odso?: OdsoOptions;
|
|
1799
1799
|
}
|
|
1800
|
-
interface DocumentFootnotePropertiesOptions {
|
|
1800
|
+
export interface DocumentFootnotePropertiesOptions {
|
|
1801
1801
|
pos?: "pageBottom" | "beneathText" | "sectEnd" | "docEnd";
|
|
1802
1802
|
numFmt?: (typeof NumberFormat)[keyof typeof NumberFormat];
|
|
1803
1803
|
format?: string;
|
|
@@ -1805,7 +1805,7 @@ interface DocumentFootnotePropertiesOptions {
|
|
|
1805
1805
|
numRestart?: (typeof NumberRestartType)[keyof typeof NumberRestartType];
|
|
1806
1806
|
footnotes?: number[];
|
|
1807
1807
|
}
|
|
1808
|
-
interface DocumentEndnotePropertiesOptions {
|
|
1808
|
+
export interface DocumentEndnotePropertiesOptions {
|
|
1809
1809
|
pos?: "sectEnd" | "docEnd";
|
|
1810
1810
|
numFmt?: (typeof NumberFormat)[keyof typeof NumberFormat];
|
|
1811
1811
|
format?: string;
|
|
@@ -1813,17 +1813,17 @@ interface DocumentEndnotePropertiesOptions {
|
|
|
1813
1813
|
numRestart?: (typeof NumberRestartType)[keyof typeof NumberRestartType];
|
|
1814
1814
|
endnotes?: number[];
|
|
1815
1815
|
}
|
|
1816
|
-
interface RsidsOptions {
|
|
1816
|
+
export interface RsidsOptions {
|
|
1817
1817
|
rsidRoot?: LongHexNumber;
|
|
1818
1818
|
rsids?: LongHexNumber[];
|
|
1819
1819
|
}
|
|
1820
|
-
interface ReadModeInkLockDownOptions {
|
|
1820
|
+
export interface ReadModeInkLockDownOptions {
|
|
1821
1821
|
actualPg?: boolean;
|
|
1822
1822
|
w: number;
|
|
1823
1823
|
h: number;
|
|
1824
1824
|
fontSz: number;
|
|
1825
1825
|
}
|
|
1826
|
-
interface CaptionOptions {
|
|
1826
|
+
export interface CaptionOptions {
|
|
1827
1827
|
name: string;
|
|
1828
1828
|
pos?: "above" | "below" | "left" | "right";
|
|
1829
1829
|
chapterNumber?: boolean;
|
|
@@ -1832,15 +1832,15 @@ interface CaptionOptions {
|
|
|
1832
1832
|
numFmt?: (typeof NumberFormat)[keyof typeof NumberFormat];
|
|
1833
1833
|
sep?: "hyphen" | "period" | "colon" | "emDash" | "enDash";
|
|
1834
1834
|
}
|
|
1835
|
-
interface AutoCaptionOptions {
|
|
1835
|
+
export interface AutoCaptionOptions {
|
|
1836
1836
|
name: string;
|
|
1837
1837
|
caption: string;
|
|
1838
1838
|
}
|
|
1839
|
-
interface CaptionsOptions {
|
|
1839
|
+
export interface CaptionsOptions {
|
|
1840
1840
|
captions: CaptionOptions[];
|
|
1841
1841
|
autoCaptions?: AutoCaptionOptions[];
|
|
1842
1842
|
}
|
|
1843
|
-
interface MathPropertiesOptions {
|
|
1843
|
+
export interface MathPropertiesOptions {
|
|
1844
1844
|
mathFont?: string;
|
|
1845
1845
|
binaryOperatorBreak?: "before" | "after" | "repeat";
|
|
1846
1846
|
binaryOperatorBreakSubtraction?: "--" | "-+" | "+-";
|
|
@@ -1860,7 +1860,7 @@ interface MathPropertiesOptions {
|
|
|
1860
1860
|
}
|
|
1861
1861
|
//#endregion
|
|
1862
1862
|
//#region src/parts/document/document-attributes.d.ts
|
|
1863
|
-
declare const DocumentAttributeNamespaces: {
|
|
1863
|
+
export declare const DocumentAttributeNamespaces: {
|
|
1864
1864
|
aink: string;
|
|
1865
1865
|
am3d: string;
|
|
1866
1866
|
cp: string;
|
|
@@ -1901,16 +1901,16 @@ declare const DocumentAttributeNamespaces: {
|
|
|
1901
1901
|
x: string;
|
|
1902
1902
|
xsi: string;
|
|
1903
1903
|
};
|
|
1904
|
-
type DocumentAttributeNamespace = keyof typeof DocumentAttributeNamespaces;
|
|
1905
|
-
declare const documentNamespaceAttributes: (keys: readonly DocumentAttributeNamespace[]) => string;
|
|
1906
|
-
declare const documentNamespaceRecord: (keys: readonly DocumentAttributeNamespace[]) => Record<string, string>;
|
|
1904
|
+
export type DocumentAttributeNamespace = keyof typeof DocumentAttributeNamespaces;
|
|
1905
|
+
export declare const documentNamespaceAttributes: (keys: readonly DocumentAttributeNamespace[]) => string;
|
|
1906
|
+
export declare const documentNamespaceRecord: (keys: readonly DocumentAttributeNamespace[]) => Record<string, string>;
|
|
1907
1907
|
//#endregion
|
|
1908
1908
|
//#region src/parts/document/document-background/document-background.d.ts
|
|
1909
|
-
interface BackgroundImageOptions {
|
|
1909
|
+
export interface BackgroundImageOptions {
|
|
1910
1910
|
data: DataType;
|
|
1911
1911
|
type: "jpg" | "png" | "gif" | "bmp" | "tif" | "ico" | "emf" | "wmf";
|
|
1912
1912
|
}
|
|
1913
|
-
interface DocumentBackgroundOptions {
|
|
1913
|
+
export interface DocumentBackgroundOptions {
|
|
1914
1914
|
color?: HexColorOrAuto;
|
|
1915
1915
|
themeColor?: ThemeColor;
|
|
1916
1916
|
themeShade?: UcharHexNumber;
|
|
@@ -1919,7 +1919,7 @@ interface DocumentBackgroundOptions {
|
|
|
1919
1919
|
rawXml?: string;
|
|
1920
1920
|
rawMedia?: BackgroundRawMediaOptions[];
|
|
1921
1921
|
}
|
|
1922
|
-
interface BackgroundRawMediaOptions {
|
|
1922
|
+
export interface BackgroundRawMediaOptions {
|
|
1923
1923
|
fileName: string;
|
|
1924
1924
|
data: DataType;
|
|
1925
1925
|
type: "jpg" | "png" | "gif" | "bmp" | "tif" | "ico" | "emf" | "wmf";
|
|
@@ -1939,29 +1939,29 @@ interface NotesData {
|
|
|
1939
1939
|
}
|
|
1940
1940
|
//#endregion
|
|
1941
1941
|
//#region src/parts/endnotes/descriptor.d.ts
|
|
1942
|
-
interface EndnoteOptions {
|
|
1942
|
+
export interface EndnoteOptions {
|
|
1943
1943
|
id?: number;
|
|
1944
1944
|
children: NoteChild[];
|
|
1945
1945
|
}
|
|
1946
|
-
type EndnoteSeparator = NoteSeparator;
|
|
1947
|
-
type EndnotesData = NotesData;
|
|
1948
|
-
declare const endnotesDesc: CustomDescriptor<EndnotesData, BodyContext>;
|
|
1946
|
+
export type EndnoteSeparator = NoteSeparator;
|
|
1947
|
+
export type EndnotesData = NotesData;
|
|
1948
|
+
export declare const endnotesDesc: CustomDescriptor<EndnotesData, BodyContext>;
|
|
1949
1949
|
//#endregion
|
|
1950
1950
|
//#region src/parts/footnotes/descriptor.d.ts
|
|
1951
|
-
interface FootnoteOptions {
|
|
1951
|
+
export interface FootnoteOptions {
|
|
1952
1952
|
id?: number;
|
|
1953
1953
|
children: NoteChild[];
|
|
1954
1954
|
}
|
|
1955
|
-
type FootnoteSeparator = NoteSeparator;
|
|
1956
|
-
type FootnotesData = NotesData;
|
|
1957
|
-
declare const footnotesDesc: CustomDescriptor<FootnotesData, BodyContext>;
|
|
1955
|
+
export type FootnoteSeparator = NoteSeparator;
|
|
1956
|
+
export type FootnotesData = NotesData;
|
|
1957
|
+
export declare const footnotesDesc: CustomDescriptor<FootnotesData, BodyContext>;
|
|
1958
1958
|
//#endregion
|
|
1959
1959
|
//#region src/shared/track-revision/track-revision-components/cell-merge.d.ts
|
|
1960
|
-
declare const VerticalMergeRevisionType: {
|
|
1960
|
+
export declare const VerticalMergeRevisionType: {
|
|
1961
1961
|
readonly CONTINUE: "continue";
|
|
1962
1962
|
readonly RESTART: "restart";
|
|
1963
1963
|
};
|
|
1964
|
-
type CellMergeAttributes = ChangedProperties & {
|
|
1964
|
+
export type CellMergeAttributes = ChangedProperties & {
|
|
1965
1965
|
verticalMerge?: (typeof VerticalMergeRevisionType)[keyof typeof VerticalMergeRevisionType];
|
|
1966
1966
|
verticalMergeOriginal?: (typeof VerticalMergeRevisionType)[keyof typeof VerticalMergeRevisionType];
|
|
1967
1967
|
};
|
|
@@ -1993,25 +1993,25 @@ type TableCellPropertiesOptions = {
|
|
|
1993
1993
|
type TableCellPropertiesChangeOptions = TableCellPropertiesOptionsBase & ChangedProperties;
|
|
1994
1994
|
//#endregion
|
|
1995
1995
|
//#region src/parts/table/descriptor.d.ts
|
|
1996
|
-
declare const tableDesc: CustomDescriptor<TableOptions, BodyContext>;
|
|
1996
|
+
export declare const tableDesc: CustomDescriptor<TableOptions, BodyContext>;
|
|
1997
1997
|
type ParseChildFn = (el: Element, ctx: DocxReadContext) => SectionChild;
|
|
1998
|
-
declare function setTableParseChild(fn: ParseChildFn): void;
|
|
1999
|
-
declare function parseTablePropertiesEl(el: Element): TablePropertiesOptions;
|
|
2000
|
-
declare function parseTableRowPropertiesEl(el: Element): TableRowPropertiesOptions;
|
|
2001
|
-
declare function parseTableCellPropertiesEl(el: Element): TableCellPropertiesOptions;
|
|
1998
|
+
export declare function setTableParseChild(fn: ParseChildFn): void;
|
|
1999
|
+
export declare function parseTablePropertiesEl(el: Element): TablePropertiesOptions;
|
|
2000
|
+
export declare function parseTableRowPropertiesEl(el: Element): TableRowPropertiesOptions;
|
|
2001
|
+
export declare function parseTableCellPropertiesEl(el: Element): TableCellPropertiesOptions;
|
|
2002
2002
|
//#endregion
|
|
2003
2003
|
//#region src/parts/paragraph/frame/frame-properties.d.ts
|
|
2004
|
-
declare const DropCapType: {
|
|
2004
|
+
export declare const DropCapType: {
|
|
2005
2005
|
readonly NONE: "none";
|
|
2006
2006
|
readonly DROP: "drop";
|
|
2007
2007
|
readonly MARGIN: "margin";
|
|
2008
2008
|
};
|
|
2009
|
-
declare const FrameAnchorType: {
|
|
2009
|
+
export declare const FrameAnchorType: {
|
|
2010
2010
|
readonly MARGIN: "margin";
|
|
2011
2011
|
readonly PAGE: "page";
|
|
2012
2012
|
readonly TEXT: "text";
|
|
2013
2013
|
};
|
|
2014
|
-
declare const FrameWrap: {
|
|
2014
|
+
export declare const FrameWrap: {
|
|
2015
2015
|
readonly AROUND: "around";
|
|
2016
2016
|
readonly AUTO: "auto";
|
|
2017
2017
|
readonly NONE: "none";
|
|
@@ -2036,43 +2036,43 @@ interface BaseFrameOptions {
|
|
|
2036
2036
|
};
|
|
2037
2037
|
rule?: (typeof HeightRule)[keyof typeof HeightRule];
|
|
2038
2038
|
}
|
|
2039
|
-
type XYFrameOptions = {
|
|
2039
|
+
export type XYFrameOptions = {
|
|
2040
2040
|
type: "absolute";
|
|
2041
2041
|
position: {
|
|
2042
2042
|
x: number | UniversalMeasure;
|
|
2043
2043
|
y: number | UniversalMeasure;
|
|
2044
2044
|
};
|
|
2045
2045
|
} & BaseFrameOptions;
|
|
2046
|
-
type AlignmentFrameOptions = {
|
|
2046
|
+
export type AlignmentFrameOptions = {
|
|
2047
2047
|
type: "alignment";
|
|
2048
2048
|
alignment: {
|
|
2049
2049
|
x: (typeof HorizontalPositionAlign)[keyof typeof HorizontalPositionAlign];
|
|
2050
2050
|
y: (typeof VerticalPositionAlign)[keyof typeof VerticalPositionAlign];
|
|
2051
2051
|
};
|
|
2052
2052
|
} & BaseFrameOptions;
|
|
2053
|
-
type FrameOptions = XYFrameOptions | AlignmentFrameOptions;
|
|
2053
|
+
export type FrameOptions = XYFrameOptions | AlignmentFrameOptions;
|
|
2054
2054
|
//#endregion
|
|
2055
2055
|
//#region src/parts/paragraph/properties.d.ts
|
|
2056
|
-
interface NumberingInsertionOptions {
|
|
2056
|
+
export interface NumberingInsertionOptions {
|
|
2057
2057
|
id?: string | number;
|
|
2058
2058
|
author: string;
|
|
2059
2059
|
date?: DateTime;
|
|
2060
2060
|
}
|
|
2061
|
-
declare const TextAlignmentType: {
|
|
2061
|
+
export declare const TextAlignmentType: {
|
|
2062
2062
|
readonly TOP: "top";
|
|
2063
2063
|
readonly CENTER: "center";
|
|
2064
2064
|
readonly BASELINE: "baseline";
|
|
2065
2065
|
readonly BOTTOM: "bottom";
|
|
2066
2066
|
readonly AUTO: "auto";
|
|
2067
2067
|
};
|
|
2068
|
-
declare const TextboxTightWrapType: {
|
|
2068
|
+
export declare const TextboxTightWrapType: {
|
|
2069
2069
|
readonly NONE: "none";
|
|
2070
2070
|
readonly ALL_LINES: "allLines";
|
|
2071
2071
|
readonly FIRST_AND_LAST_LINE: "firstAndLastLine";
|
|
2072
2072
|
readonly FIRST_LINE_ONLY: "firstLineOnly";
|
|
2073
2073
|
readonly LAST_LINE_ONLY: "lastLineOnly";
|
|
2074
2074
|
};
|
|
2075
|
-
interface LevelParagraphStylePropertiesOptions {
|
|
2075
|
+
export interface LevelParagraphStylePropertiesOptions {
|
|
2076
2076
|
alignment?: (typeof AlignmentType)[keyof typeof AlignmentType];
|
|
2077
2077
|
bidirectional?: boolean;
|
|
2078
2078
|
pageBreakBefore?: boolean;
|
|
@@ -2106,7 +2106,7 @@ interface LevelParagraphStylePropertiesOptions {
|
|
|
2106
2106
|
divId?: number;
|
|
2107
2107
|
cnfStyle?: CnfConditionalOptions;
|
|
2108
2108
|
}
|
|
2109
|
-
type ParagraphStylePropertiesOptions = {
|
|
2109
|
+
export type ParagraphStylePropertiesOptions = {
|
|
2110
2110
|
style?: string;
|
|
2111
2111
|
heading?: (typeof HeadingLevel)[keyof typeof HeadingLevel];
|
|
2112
2112
|
border?: BordersOptions;
|
|
@@ -2141,7 +2141,7 @@ type ParagraphStylePropertiesOptions = {
|
|
|
2141
2141
|
} | false;
|
|
2142
2142
|
emptyProperties?: boolean;
|
|
2143
2143
|
} & LevelParagraphStylePropertiesOptions;
|
|
2144
|
-
type ParagraphPropertiesOptionsBase = {
|
|
2144
|
+
export type ParagraphPropertiesOptionsBase = {
|
|
2145
2145
|
heading?: (typeof HeadingLevel)[keyof typeof HeadingLevel];
|
|
2146
2146
|
style?: string;
|
|
2147
2147
|
bullet?: {
|
|
@@ -2149,29 +2149,29 @@ type ParagraphPropertiesOptionsBase = {
|
|
|
2149
2149
|
};
|
|
2150
2150
|
run?: ParagraphRunOptions;
|
|
2151
2151
|
} & ParagraphStylePropertiesOptions;
|
|
2152
|
-
type ParagraphPropertiesChangeOptions = ChangedProperties & ParagraphPropertiesOptionsBase;
|
|
2153
|
-
type ParagraphPropertiesOptions = {
|
|
2152
|
+
export type ParagraphPropertiesChangeOptions = ChangedProperties & ParagraphPropertiesOptionsBase;
|
|
2153
|
+
export type ParagraphPropertiesOptions = {
|
|
2154
2154
|
revision?: ParagraphPropertiesChangeOptions;
|
|
2155
2155
|
} & ParagraphPropertiesOptionsBase;
|
|
2156
2156
|
//#endregion
|
|
2157
2157
|
//#region src/parts/pict/pict.d.ts
|
|
2158
|
-
interface PictMediaOptions {
|
|
2158
|
+
export interface PictMediaOptions {
|
|
2159
2159
|
fileName: string;
|
|
2160
2160
|
data: Uint8Array;
|
|
2161
2161
|
type: string;
|
|
2162
2162
|
}
|
|
2163
|
-
interface PictOptions {
|
|
2163
|
+
export interface PictOptions {
|
|
2164
2164
|
children?: VmlShapeChild[];
|
|
2165
2165
|
media?: PictMediaOptions[];
|
|
2166
2166
|
vmlFallback?: string;
|
|
2167
2167
|
mcChoiceRequires?: string;
|
|
2168
2168
|
w14AnchorId?: string;
|
|
2169
2169
|
}
|
|
2170
|
-
declare function stringifyPict(opts: PictOptions, ctx: Pick<BodyContext, "file">): string;
|
|
2171
|
-
declare function parsePict(el: Element, ctx: DocxReadContext): PictOptions;
|
|
2170
|
+
export declare function stringifyPict(opts: PictOptions, ctx: Pick<BodyContext, "file">): string;
|
|
2171
|
+
export declare function parsePict(el: Element, ctx: DocxReadContext): PictOptions;
|
|
2172
2172
|
//#endregion
|
|
2173
2173
|
//#region src/parts/numbering/level.d.ts
|
|
2174
|
-
declare const LevelFormat: {
|
|
2174
|
+
export declare const LevelFormat: {
|
|
2175
2175
|
readonly DECIMAL: "decimal";
|
|
2176
2176
|
readonly UPPER_ROMAN: "upperRoman";
|
|
2177
2177
|
readonly LOWER_ROMAN: "lowerRoman";
|
|
@@ -2236,12 +2236,12 @@ declare const LevelFormat: {
|
|
|
2236
2236
|
readonly DOLLAR_TEXT: "dollarText";
|
|
2237
2237
|
readonly CUSTOM: "custom";
|
|
2238
2238
|
};
|
|
2239
|
-
declare const LevelSuffix: {
|
|
2239
|
+
export declare const LevelSuffix: {
|
|
2240
2240
|
readonly NOTHING: "nothing";
|
|
2241
2241
|
readonly SPACE: "space";
|
|
2242
2242
|
readonly TAB: "tab";
|
|
2243
2243
|
};
|
|
2244
|
-
interface LevelsOptions {
|
|
2244
|
+
export interface LevelsOptions {
|
|
2245
2245
|
level: number;
|
|
2246
2246
|
format?: (typeof LevelFormat)[keyof typeof LevelFormat];
|
|
2247
2247
|
text?: string;
|
|
@@ -2266,7 +2266,7 @@ interface LevelsOptions {
|
|
|
2266
2266
|
}
|
|
2267
2267
|
//#endregion
|
|
2268
2268
|
//#region src/parts/numbering/numbering.d.ts
|
|
2269
|
-
interface NumberingOptions {
|
|
2269
|
+
export interface NumberingOptions {
|
|
2270
2270
|
abstractNumberings: {
|
|
2271
2271
|
levels: LevelsOptions[];
|
|
2272
2272
|
reference: string;
|
|
@@ -2283,7 +2283,7 @@ interface NumberingOptions {
|
|
|
2283
2283
|
drawing?: string;
|
|
2284
2284
|
}[];
|
|
2285
2285
|
}
|
|
2286
|
-
declare class Numbering {
|
|
2286
|
+
export declare class Numbering {
|
|
2287
2287
|
private abstractNumberingData;
|
|
2288
2288
|
private concreteNumberingData;
|
|
2289
2289
|
private referenceConfigMap;
|
|
@@ -2302,12 +2302,12 @@ declare class Numbering {
|
|
|
2302
2302
|
}[];
|
|
2303
2303
|
get referenceConfig(): LevelsOptions[][];
|
|
2304
2304
|
}
|
|
2305
|
-
interface LevelOverrideOptions {
|
|
2305
|
+
export interface LevelOverrideOptions {
|
|
2306
2306
|
num: number;
|
|
2307
2307
|
start?: number;
|
|
2308
2308
|
level?: LevelsOptions;
|
|
2309
2309
|
}
|
|
2310
|
-
interface AbstractNumberingPropertiesOptions {
|
|
2310
|
+
export interface AbstractNumberingPropertiesOptions {
|
|
2311
2311
|
nsid?: string;
|
|
2312
2312
|
multiLevelType?: "singleLevel" | "multilevel" | "hybridMultilevel";
|
|
2313
2313
|
restartNumberingAfterBreak?: boolean;
|
|
@@ -2316,10 +2316,10 @@ interface AbstractNumberingPropertiesOptions {
|
|
|
2316
2316
|
styleLink?: string;
|
|
2317
2317
|
numStyleLink?: string;
|
|
2318
2318
|
}
|
|
2319
|
-
declare function parseNumberingDefinitions(el: Element, parseParagraphProperties: (el: Element, ctx: DocxReadContext) => Partial<ParagraphPropertiesOptions>, ctx: DocxReadContext): NumberingOptions | undefined;
|
|
2319
|
+
export declare function parseNumberingDefinitions(el: Element, parseParagraphProperties: (el: Element, ctx: DocxReadContext) => Partial<ParagraphPropertiesOptions>, ctx: DocxReadContext): NumberingOptions | undefined;
|
|
2320
2320
|
//#endregion
|
|
2321
2321
|
//#region src/parts/styles/factory.d.ts
|
|
2322
|
-
interface DefaultStylesOptions {
|
|
2322
|
+
export interface DefaultStylesOptions {
|
|
2323
2323
|
document?: DocumentDefaultsOptions;
|
|
2324
2324
|
language?: LanguageOptions;
|
|
2325
2325
|
title?: ParagraphStyleOptions;
|
|
@@ -2346,11 +2346,11 @@ interface DefaultStylesOptions {
|
|
|
2346
2346
|
endnoteText?: ParagraphStyleOptions;
|
|
2347
2347
|
endnoteTextChar?: CharacterStyleOptions;
|
|
2348
2348
|
}
|
|
2349
|
-
interface DocumentDefaultsOptions {
|
|
2349
|
+
export interface DocumentDefaultsOptions {
|
|
2350
2350
|
paragraph?: ParagraphStylePropertiesOptions | null;
|
|
2351
2351
|
run?: RunStylePropertiesOptions | null;
|
|
2352
2352
|
}
|
|
2353
|
-
interface StyleOptions {
|
|
2353
|
+
export interface StyleOptions {
|
|
2354
2354
|
name?: string;
|
|
2355
2355
|
aliases?: string;
|
|
2356
2356
|
basedOn?: string;
|
|
@@ -2370,28 +2370,28 @@ interface StyleOptions {
|
|
|
2370
2370
|
default?: boolean;
|
|
2371
2371
|
customStyle?: boolean;
|
|
2372
2372
|
}
|
|
2373
|
-
type ParagraphStyleOptions = {
|
|
2373
|
+
export type ParagraphStyleOptions = {
|
|
2374
2374
|
paragraph?: ParagraphStylePropertiesOptions;
|
|
2375
2375
|
run?: RunStylePropertiesOptions;
|
|
2376
2376
|
} & StyleOptions & {
|
|
2377
2377
|
id?: string;
|
|
2378
2378
|
};
|
|
2379
|
-
type CharacterStyleOptions = {
|
|
2379
|
+
export type CharacterStyleOptions = {
|
|
2380
2380
|
run?: RunStylePropertiesOptions;
|
|
2381
2381
|
} & StyleOptions & {
|
|
2382
2382
|
id?: string;
|
|
2383
2383
|
};
|
|
2384
|
-
declare function stringifyParagraphStyle(opts: StyleOptions & {
|
|
2384
|
+
export declare function stringifyParagraphStyle(opts: StyleOptions & {
|
|
2385
2385
|
id: string;
|
|
2386
2386
|
paragraph?: ParagraphStylePropertiesOptions;
|
|
2387
2387
|
run?: RunStylePropertiesOptions;
|
|
2388
2388
|
}): string;
|
|
2389
|
-
declare function stringifyCharacterStyle(opts: StyleOptions & {
|
|
2389
|
+
export declare function stringifyCharacterStyle(opts: StyleOptions & {
|
|
2390
2390
|
id: string;
|
|
2391
2391
|
run?: RunStylePropertiesOptions;
|
|
2392
2392
|
}): string;
|
|
2393
|
-
type TableStyleOverrideType = "wholeTable" | "firstRow" | "lastRow" | "firstCol" | "lastCol" | "band1Vert" | "band2Vert" | "band1Horz" | "band2Horz" | "neCell" | "nwCell" | "seCell" | "swCell";
|
|
2394
|
-
interface ConditionalTableStyleOptions {
|
|
2393
|
+
export type TableStyleOverrideType = "wholeTable" | "firstRow" | "lastRow" | "firstCol" | "lastCol" | "band1Vert" | "band2Vert" | "band1Horz" | "band2Horz" | "neCell" | "nwCell" | "seCell" | "swCell";
|
|
2394
|
+
export interface ConditionalTableStyleOptions {
|
|
2395
2395
|
type: TableStyleOverrideType;
|
|
2396
2396
|
paragraph?: ParagraphStylePropertiesOptions;
|
|
2397
2397
|
run?: RunStylePropertiesOptions;
|
|
@@ -2399,7 +2399,7 @@ interface ConditionalTableStyleOptions {
|
|
|
2399
2399
|
row?: TableRowPropertiesOptions;
|
|
2400
2400
|
cell?: TableCellPropertiesOptions;
|
|
2401
2401
|
}
|
|
2402
|
-
type TableStyleOptions = {
|
|
2402
|
+
export type TableStyleOptions = {
|
|
2403
2403
|
paragraph?: ParagraphStylePropertiesOptions;
|
|
2404
2404
|
run?: RunStylePropertiesOptions;
|
|
2405
2405
|
table?: TablePropertiesOptions;
|
|
@@ -2409,23 +2409,23 @@ type TableStyleOptions = {
|
|
|
2409
2409
|
} & StyleOptions & {
|
|
2410
2410
|
id: string;
|
|
2411
2411
|
};
|
|
2412
|
-
type NumberingStyleOptions = {
|
|
2412
|
+
export type NumberingStyleOptions = {
|
|
2413
2413
|
paragraph?: ParagraphStylePropertiesOptions;
|
|
2414
2414
|
run?: RunStylePropertiesOptions;
|
|
2415
2415
|
} & StyleOptions & {
|
|
2416
2416
|
id: string;
|
|
2417
2417
|
};
|
|
2418
|
-
declare function stringifyConditionalTableStyle(opts: ConditionalTableStyleOptions): string;
|
|
2419
|
-
declare function stringifyTableStyle(opts: TableStyleOptions): string;
|
|
2420
|
-
declare function stringifyNumberingStyle(opts: NumberingStyleOptions): string;
|
|
2421
|
-
declare function stringifyDocDefaults(opts: DocumentDefaultsOptions, injectDefaults?: boolean, language?: LanguageOptions): string;
|
|
2422
|
-
declare class DefaultStylesFactory {
|
|
2418
|
+
export declare function stringifyConditionalTableStyle(opts: ConditionalTableStyleOptions): string;
|
|
2419
|
+
export declare function stringifyTableStyle(opts: TableStyleOptions): string;
|
|
2420
|
+
export declare function stringifyNumberingStyle(opts: NumberingStyleOptions): string;
|
|
2421
|
+
export declare function stringifyDocDefaults(opts: DocumentDefaultsOptions, injectDefaults?: boolean, language?: LanguageOptions): string;
|
|
2422
|
+
export declare class DefaultStylesFactory {
|
|
2423
2423
|
newInstance(options?: DefaultStylesOptions): StylesOptions;
|
|
2424
2424
|
private build;
|
|
2425
2425
|
}
|
|
2426
2426
|
//#endregion
|
|
2427
2427
|
//#region src/parts/styles/styles.d.ts
|
|
2428
|
-
interface StylesOptions {
|
|
2428
|
+
export interface StylesOptions {
|
|
2429
2429
|
default?: DefaultStylesOptions;
|
|
2430
2430
|
initialAttributes?: Record<string, string>;
|
|
2431
2431
|
importedStyles?: string[];
|
|
@@ -2442,17 +2442,17 @@ interface StylesOptions {
|
|
|
2442
2442
|
external?: string;
|
|
2443
2443
|
roundTripped?: boolean;
|
|
2444
2444
|
}
|
|
2445
|
-
declare function extractStyleId(raw: string): string | undefined;
|
|
2446
|
-
declare class Styles {
|
|
2445
|
+
export declare function extractStyleId(raw: string): string | undefined;
|
|
2446
|
+
export declare class Styles {
|
|
2447
2447
|
private attributes;
|
|
2448
2448
|
private parts;
|
|
2449
2449
|
constructor(options: StylesOptions);
|
|
2450
2450
|
serialize(): string;
|
|
2451
2451
|
}
|
|
2452
|
-
declare function buildStyleCache(stylesEl: Element | undefined): Map<string, Element>;
|
|
2453
|
-
declare function buildNumberingCache(numberingEl: Element | undefined): Map<string, Element>;
|
|
2454
|
-
declare function buildNumIdCache(numberingEl: Element | undefined): Map<string, string>;
|
|
2455
|
-
declare function parseStyleDefinitions(el: Element, parseParagraphProperties: (el: Element, ctx: DocxReadContext) => Partial<ParagraphPropertiesOptions>, ctx: DocxReadContext): StylesOptions | undefined;
|
|
2452
|
+
export declare function buildStyleCache(stylesEl: Element | undefined): Map<string, Element>;
|
|
2453
|
+
export declare function buildNumberingCache(numberingEl: Element | undefined): Map<string, Element>;
|
|
2454
|
+
export declare function buildNumIdCache(numberingEl: Element | undefined): Map<string, string>;
|
|
2455
|
+
export declare function parseStyleDefinitions(el: Element, parseParagraphProperties: (el: Element, ctx: DocxReadContext) => Partial<ParagraphPropertiesOptions>, ctx: DocxReadContext): StylesOptions | undefined;
|
|
2456
2456
|
//#endregion
|
|
2457
2457
|
//#region src/parts/frameset.d.ts
|
|
2458
2458
|
interface WebFrameOptions {
|
|
@@ -2482,18 +2482,18 @@ interface FramesetOptions {
|
|
|
2482
2482
|
}
|
|
2483
2483
|
//#endregion
|
|
2484
2484
|
//#region src/parts/web-settings.d.ts
|
|
2485
|
-
interface DivBorderSideOptions {
|
|
2485
|
+
export interface DivBorderSideOptions {
|
|
2486
2486
|
style: (typeof BorderStyle)[keyof typeof BorderStyle];
|
|
2487
2487
|
color?: string;
|
|
2488
2488
|
size?: number;
|
|
2489
2489
|
}
|
|
2490
|
-
interface DivBorderOptions {
|
|
2490
|
+
export interface DivBorderOptions {
|
|
2491
2491
|
top?: DivBorderSideOptions;
|
|
2492
2492
|
left?: DivBorderSideOptions;
|
|
2493
2493
|
bottom?: DivBorderSideOptions;
|
|
2494
2494
|
right?: DivBorderSideOptions;
|
|
2495
2495
|
}
|
|
2496
|
-
interface DivOptions {
|
|
2496
|
+
export interface DivOptions {
|
|
2497
2497
|
id: number;
|
|
2498
2498
|
marginLeft: number | UniversalMeasure;
|
|
2499
2499
|
marginRight: number | UniversalMeasure;
|
|
@@ -2504,7 +2504,7 @@ interface DivOptions {
|
|
|
2504
2504
|
border?: DivBorderOptions;
|
|
2505
2505
|
children?: DivOptions[];
|
|
2506
2506
|
}
|
|
2507
|
-
declare const TargetScreenSize: {
|
|
2507
|
+
export declare const TargetScreenSize: {
|
|
2508
2508
|
readonly SIZE_544X376: "544x376";
|
|
2509
2509
|
readonly SIZE_640X480: "640x480";
|
|
2510
2510
|
readonly SIZE_720X512: "720x512";
|
|
@@ -2517,11 +2517,11 @@ declare const TargetScreenSize: {
|
|
|
2517
2517
|
readonly SIZE_1800X1440: "1800x1440";
|
|
2518
2518
|
readonly SIZE_1920X1200: "1920x1200";
|
|
2519
2519
|
};
|
|
2520
|
-
interface OptimizeForBrowserOptions {
|
|
2520
|
+
export interface OptimizeForBrowserOptions {
|
|
2521
2521
|
value?: boolean;
|
|
2522
2522
|
target?: string;
|
|
2523
2523
|
}
|
|
2524
|
-
interface WebSettingsOptions {
|
|
2524
|
+
export interface WebSettingsOptions {
|
|
2525
2525
|
frameset?: FramesetOptions;
|
|
2526
2526
|
divs?: DivOptions[];
|
|
2527
2527
|
encoding?: string;
|
|
@@ -2536,12 +2536,12 @@ interface WebSettingsOptions {
|
|
|
2536
2536
|
targetScreenSize?: (typeof TargetScreenSize)[keyof typeof TargetScreenSize];
|
|
2537
2537
|
saveSmartTagsAsXml?: boolean;
|
|
2538
2538
|
}
|
|
2539
|
-
declare function framesetXml(fs: FramesetOptions): string;
|
|
2540
|
-
declare function frameXml(f: WebFrameOptions): string;
|
|
2541
|
-
declare const webSettingsDesc: CustomDescriptor<WebSettingsOptions>;
|
|
2539
|
+
export declare function framesetXml(fs: FramesetOptions): string;
|
|
2540
|
+
export declare function frameXml(f: WebFrameOptions): string;
|
|
2541
|
+
export declare const webSettingsDesc: CustomDescriptor<WebSettingsOptions>;
|
|
2542
2542
|
//#endregion
|
|
2543
2543
|
//#region src/parts/core-properties.d.ts
|
|
2544
|
-
interface DocumentOptions extends CorePropertiesOptions {
|
|
2544
|
+
export interface DocumentOptions extends CorePropertiesOptions {
|
|
2545
2545
|
sections: SectionOptions[];
|
|
2546
2546
|
encrypted?: EncryptedContainerOptions;
|
|
2547
2547
|
styles?: StylesOptions;
|
|
@@ -2584,14 +2584,14 @@ interface DocumentOptions extends CorePropertiesOptions {
|
|
|
2584
2584
|
}[];
|
|
2585
2585
|
appProperties?: AppPropertiesOptions;
|
|
2586
2586
|
}
|
|
2587
|
-
declare const corePropertiesDesc: CustomDescriptor<CorePropertiesOptions>;
|
|
2587
|
+
export declare const corePropertiesDesc: CustomDescriptor<CorePropertiesOptions>;
|
|
2588
2588
|
//#endregion
|
|
2589
2589
|
//#region src/parts/sub-doc/sub-doc-collection.d.ts
|
|
2590
|
-
interface SubDocData {
|
|
2590
|
+
export interface SubDocData {
|
|
2591
2591
|
data: Uint8Array;
|
|
2592
2592
|
path: string;
|
|
2593
2593
|
}
|
|
2594
|
-
declare class SubDocCollection {
|
|
2594
|
+
export declare class SubDocCollection {
|
|
2595
2595
|
private map;
|
|
2596
2596
|
constructor();
|
|
2597
2597
|
addSubDoc(key: string, data: SubDocData): void;
|
|
@@ -2610,7 +2610,7 @@ interface DocPropertiesOptions extends NonVisualDrawingPropertiesOptions {
|
|
|
2610
2610
|
}
|
|
2611
2611
|
//#endregion
|
|
2612
2612
|
//#region src/parts/drawing/drawing.d.ts
|
|
2613
|
-
interface Distance {
|
|
2613
|
+
export interface Distance {
|
|
2614
2614
|
distT?: number;
|
|
2615
2615
|
distB?: number;
|
|
2616
2616
|
distL?: number;
|
|
@@ -2618,28 +2618,28 @@ interface Distance {
|
|
|
2618
2618
|
}
|
|
2619
2619
|
//#endregion
|
|
2620
2620
|
//#region src/parts/drawing/text-wrap/text-wrapping.d.ts
|
|
2621
|
-
declare const TextWrappingType: {
|
|
2621
|
+
export declare const TextWrappingType: {
|
|
2622
2622
|
readonly NONE: "none";
|
|
2623
2623
|
readonly SQUARE: "square";
|
|
2624
2624
|
readonly TIGHT: "tight";
|
|
2625
2625
|
readonly TOP_AND_BOTTOM: "topAndBottom";
|
|
2626
2626
|
readonly THROUGH: "through";
|
|
2627
2627
|
};
|
|
2628
|
-
declare const TextWrappingSide: {
|
|
2628
|
+
export declare const TextWrappingSide: {
|
|
2629
2629
|
readonly BOTH_SIDES: "bothSides";
|
|
2630
2630
|
readonly LEFT: "left";
|
|
2631
2631
|
readonly RIGHT: "right";
|
|
2632
2632
|
readonly LARGEST: "largest";
|
|
2633
2633
|
};
|
|
2634
|
-
interface WrapPolygonPoint {
|
|
2634
|
+
export interface WrapPolygonPoint {
|
|
2635
2635
|
x: number;
|
|
2636
2636
|
y: number;
|
|
2637
2637
|
}
|
|
2638
|
-
interface WrapPolygon {
|
|
2638
|
+
export interface WrapPolygon {
|
|
2639
2639
|
edited?: boolean;
|
|
2640
2640
|
points: WrapPolygonPoint[];
|
|
2641
2641
|
}
|
|
2642
|
-
interface TextWrapping {
|
|
2642
|
+
export interface TextWrapping {
|
|
2643
2643
|
type: (typeof TextWrappingType)[keyof typeof TextWrappingType];
|
|
2644
2644
|
side?: (typeof TextWrappingSide)[keyof typeof TextWrappingSide];
|
|
2645
2645
|
margins?: Distance;
|
|
@@ -2647,7 +2647,7 @@ interface TextWrapping {
|
|
|
2647
2647
|
}
|
|
2648
2648
|
//#endregion
|
|
2649
2649
|
//#region src/parts/drawing/floating/floating-position.d.ts
|
|
2650
|
-
declare const HorizontalPositionRelativeFrom: {
|
|
2650
|
+
export declare const HorizontalPositionRelativeFrom: {
|
|
2651
2651
|
readonly CHARACTER: "character";
|
|
2652
2652
|
readonly COLUMN: "column";
|
|
2653
2653
|
readonly INSIDE_MARGIN: "insideMargin";
|
|
@@ -2657,7 +2657,7 @@ declare const HorizontalPositionRelativeFrom: {
|
|
|
2657
2657
|
readonly PAGE: "page";
|
|
2658
2658
|
readonly RIGHT_MARGIN: "rightMargin";
|
|
2659
2659
|
};
|
|
2660
|
-
declare const VerticalPositionRelativeFrom: {
|
|
2660
|
+
export declare const VerticalPositionRelativeFrom: {
|
|
2661
2661
|
readonly BOTTOM_MARGIN: "bottomMargin";
|
|
2662
2662
|
readonly INSIDE_MARGIN: "insideMargin";
|
|
2663
2663
|
readonly LINE: "line";
|
|
@@ -2667,25 +2667,25 @@ declare const VerticalPositionRelativeFrom: {
|
|
|
2667
2667
|
readonly PARAGRAPH: "paragraph";
|
|
2668
2668
|
readonly TOP_MARGIN: "topMargin";
|
|
2669
2669
|
};
|
|
2670
|
-
interface HorizontalPositionOptions {
|
|
2670
|
+
export interface HorizontalPositionOptions {
|
|
2671
2671
|
relative?: (typeof HorizontalPositionRelativeFrom)[keyof typeof HorizontalPositionRelativeFrom];
|
|
2672
2672
|
align?: (typeof HorizontalPositionAlign)[keyof typeof HorizontalPositionAlign];
|
|
2673
2673
|
offset?: number | UniversalMeasure;
|
|
2674
2674
|
percentOffset?: number;
|
|
2675
2675
|
}
|
|
2676
|
-
interface VerticalPositionOptions {
|
|
2676
|
+
export interface VerticalPositionOptions {
|
|
2677
2677
|
relative?: (typeof VerticalPositionRelativeFrom)[keyof typeof VerticalPositionRelativeFrom];
|
|
2678
2678
|
align?: (typeof VerticalPositionAlign)[keyof typeof VerticalPositionAlign];
|
|
2679
2679
|
offset?: number | UniversalMeasure;
|
|
2680
2680
|
percentOffset?: number;
|
|
2681
2681
|
}
|
|
2682
|
-
interface Margins {
|
|
2682
|
+
export interface Margins {
|
|
2683
2683
|
left?: number | UniversalMeasure;
|
|
2684
2684
|
bottom?: number | UniversalMeasure;
|
|
2685
2685
|
top?: number | UniversalMeasure;
|
|
2686
2686
|
right?: number | UniversalMeasure;
|
|
2687
2687
|
}
|
|
2688
|
-
interface Floating {
|
|
2688
|
+
export interface Floating {
|
|
2689
2689
|
horizontalPosition: HorizontalPositionOptions;
|
|
2690
2690
|
verticalPosition: VerticalPositionOptions;
|
|
2691
2691
|
allowOverlap?: boolean;
|
|
@@ -2698,19 +2698,19 @@ interface Floating {
|
|
|
2698
2698
|
horizontalSize?: RelativeSizeOptions;
|
|
2699
2699
|
verticalSize?: RelativeSizeOptions;
|
|
2700
2700
|
}
|
|
2701
|
-
interface RelativeSizeOptions {
|
|
2701
|
+
export interface RelativeSizeOptions {
|
|
2702
2702
|
relative?: "margin" | "page" | "leftMargin" | "rightMargin" | "topMargin" | "bottomMargin";
|
|
2703
2703
|
percent?: number;
|
|
2704
2704
|
}
|
|
2705
2705
|
//#endregion
|
|
2706
2706
|
//#region src/parts/drawing/floating/horizontal-position.d.ts
|
|
2707
|
-
declare const createHorizontalPosition: ({ relative, align, offset, percentOffset }: HorizontalPositionOptions) => string;
|
|
2707
|
+
export declare const createHorizontalPosition: ({ relative, align, offset, percentOffset }: HorizontalPositionOptions) => string;
|
|
2708
2708
|
//#endregion
|
|
2709
2709
|
//#region src/parts/drawing/floating/vertical-position.d.ts
|
|
2710
|
-
declare const createVerticalPosition: ({ relative, align, offset, percentOffset }: VerticalPositionOptions) => string;
|
|
2710
|
+
export declare const createVerticalPosition: ({ relative, align, offset, percentOffset }: VerticalPositionOptions) => string;
|
|
2711
2711
|
//#endregion
|
|
2712
2712
|
//#region src/parts/drawing/descriptor.d.ts
|
|
2713
|
-
interface GraphicFrameLocksOptions {
|
|
2713
|
+
export interface GraphicFrameLocksOptions {
|
|
2714
2714
|
noGrp?: boolean;
|
|
2715
2715
|
noDrilldown?: boolean;
|
|
2716
2716
|
noSelect?: boolean;
|
|
@@ -2719,7 +2719,7 @@ interface GraphicFrameLocksOptions {
|
|
|
2719
2719
|
noResize?: boolean;
|
|
2720
2720
|
emptyLocks?: boolean;
|
|
2721
2721
|
}
|
|
2722
|
-
interface GroupShapeLocksOptions {
|
|
2722
|
+
export interface GroupShapeLocksOptions {
|
|
2723
2723
|
noGrp?: boolean;
|
|
2724
2724
|
noUngrp?: boolean;
|
|
2725
2725
|
noSelect?: boolean;
|
|
@@ -2728,7 +2728,7 @@ interface GroupShapeLocksOptions {
|
|
|
2728
2728
|
noMove?: boolean;
|
|
2729
2729
|
noResize?: boolean;
|
|
2730
2730
|
}
|
|
2731
|
-
interface DrawingDescriptorOptions {
|
|
2731
|
+
export interface DrawingDescriptorOptions {
|
|
2732
2732
|
mediaData: ExtendedMediaData;
|
|
2733
2733
|
docProperties?: DocPropertiesOptions;
|
|
2734
2734
|
floating?: Floating;
|
|
@@ -2741,11 +2741,11 @@ interface DrawingDescriptorOptions {
|
|
|
2741
2741
|
tile?: TileOptions;
|
|
2742
2742
|
graphicFrameLocks?: GraphicFrameLocksOptions | null;
|
|
2743
2743
|
}
|
|
2744
|
-
declare const resetDrawingIdGen: () => void;
|
|
2745
|
-
declare const drawingDesc: CustomDescriptor<DrawingDescriptorOptions, BodyContext>;
|
|
2744
|
+
export declare const resetDrawingIdGen: () => void;
|
|
2745
|
+
export declare const drawingDesc: CustomDescriptor<DrawingDescriptorOptions, BodyContext>;
|
|
2746
2746
|
//#endregion
|
|
2747
2747
|
//#region src/parts/drawing/inline/graphic/graphic-data/wps/body-properties.d.ts
|
|
2748
|
-
declare const createBodyProperties: (options?: BodyPropertiesOptions$1) => string;
|
|
2748
|
+
export declare const createBodyProperties: (options?: BodyPropertiesOptions$1) => string;
|
|
2749
2749
|
//#endregion
|
|
2750
2750
|
//#region src/parts/drawing/inline/graphic/graphic-data/wps/non-visual-shape-properties.d.ts
|
|
2751
2751
|
interface NonVisualShapePropertiesOptions {
|
|
@@ -2760,11 +2760,11 @@ interface NonVisualShapePropertiesOptions {
|
|
|
2760
2760
|
}
|
|
2761
2761
|
//#endregion
|
|
2762
2762
|
//#region src/parts/drawing/inline/graphic/graphic-data/wps/wps-shape.d.ts
|
|
2763
|
-
interface ShapeStyleReferenceOptions {
|
|
2763
|
+
export interface ShapeStyleReferenceOptions {
|
|
2764
2764
|
index: number;
|
|
2765
2765
|
color?: SolidFillOptions;
|
|
2766
2766
|
}
|
|
2767
|
-
interface ShapeStyleOptions {
|
|
2767
|
+
export interface ShapeStyleOptions {
|
|
2768
2768
|
lineReference?: ShapeStyleReferenceOptions;
|
|
2769
2769
|
fillReference?: ShapeStyleReferenceOptions;
|
|
2770
2770
|
effectReference?: ShapeStyleReferenceOptions;
|
|
@@ -2773,12 +2773,12 @@ interface ShapeStyleOptions {
|
|
|
2773
2773
|
color?: SolidFillOptions;
|
|
2774
2774
|
};
|
|
2775
2775
|
}
|
|
2776
|
-
type ShapeTextBoxChild = ParagraphOptions | string | SectionChild;
|
|
2777
|
-
interface TextBoxPartOptions {
|
|
2776
|
+
export type ShapeTextBoxChild = ParagraphOptions | string | SectionChild;
|
|
2777
|
+
export interface TextBoxPartOptions {
|
|
2778
2778
|
path: string;
|
|
2779
2779
|
sequence: number;
|
|
2780
2780
|
}
|
|
2781
|
-
interface ShapeCoreOptions {
|
|
2781
|
+
export interface ShapeCoreOptions {
|
|
2782
2782
|
children: ShapeTextBoxChild[];
|
|
2783
2783
|
nonVisualProperties?: NonVisualShapePropertiesOptions;
|
|
2784
2784
|
bodyProperties?: BodyPropertiesOptions;
|
|
@@ -2801,7 +2801,7 @@ interface ShapeCoreOptions {
|
|
|
2801
2801
|
}
|
|
2802
2802
|
//#endregion
|
|
2803
2803
|
//#region src/shared/media/data.d.ts
|
|
2804
|
-
interface MediaDataTransformation {
|
|
2804
|
+
export interface MediaDataTransformation {
|
|
2805
2805
|
offset?: {
|
|
2806
2806
|
pixels: {
|
|
2807
2807
|
x: number;
|
|
@@ -2830,12 +2830,12 @@ interface MediaDataTransformation {
|
|
|
2830
2830
|
b: number;
|
|
2831
2831
|
};
|
|
2832
2832
|
}
|
|
2833
|
-
interface NonVisualPropertiesOptions extends NonVisualDrawingPropertiesOptions$1 {
|
|
2833
|
+
export interface NonVisualPropertiesOptions extends NonVisualDrawingPropertiesOptions$1 {
|
|
2834
2834
|
id?: number;
|
|
2835
2835
|
preferRelativeResize?: boolean;
|
|
2836
2836
|
pictureLocks?: PictureLockingOptions | null;
|
|
2837
2837
|
}
|
|
2838
|
-
interface CoreMediaData extends BaseMediaEntry {
|
|
2838
|
+
export interface CoreMediaData extends BaseMediaEntry {
|
|
2839
2839
|
transformation: MediaDataTransformation;
|
|
2840
2840
|
sourceRectangle?: SourceRectangleOptions;
|
|
2841
2841
|
nonVisualProperties?: NonVisualPropertiesOptions;
|
|
@@ -2843,14 +2843,14 @@ interface CoreMediaData extends BaseMediaEntry {
|
|
|
2843
2843
|
compression?: BlipCompression;
|
|
2844
2844
|
sourceUrl?: string;
|
|
2845
2845
|
}
|
|
2846
|
-
interface RegularMediaData {
|
|
2846
|
+
export interface RegularMediaData {
|
|
2847
2847
|
type: "jpg" | "png" | "gif" | "bmp" | "tif" | "ico" | "emf" | "wmf";
|
|
2848
2848
|
}
|
|
2849
|
-
interface SvgMediaData {
|
|
2849
|
+
export interface SvgMediaData {
|
|
2850
2850
|
type: "svg";
|
|
2851
2851
|
fallback: RegularMediaData & CoreMediaData;
|
|
2852
2852
|
}
|
|
2853
|
-
interface LinkedPictureMediaData {
|
|
2853
|
+
export interface LinkedPictureMediaData {
|
|
2854
2854
|
type: RegularMediaData["type"];
|
|
2855
2855
|
sourceUrl: string;
|
|
2856
2856
|
transformation: MediaDataTransformation;
|
|
@@ -2859,17 +2859,17 @@ interface LinkedPictureMediaData {
|
|
|
2859
2859
|
useLocalDpi?: boolean;
|
|
2860
2860
|
compression?: BlipCompression;
|
|
2861
2861
|
}
|
|
2862
|
-
interface ShapeMediaData {
|
|
2862
|
+
export interface ShapeMediaData {
|
|
2863
2863
|
type: "wps";
|
|
2864
2864
|
transformation: MediaDataTransformation;
|
|
2865
2865
|
data: ShapeCoreOptions;
|
|
2866
2866
|
}
|
|
2867
|
-
interface GroupCommonMediaData {
|
|
2867
|
+
export interface GroupCommonMediaData {
|
|
2868
2868
|
outline?: OutlineOptions;
|
|
2869
2869
|
fill?: FillOptions;
|
|
2870
2870
|
}
|
|
2871
|
-
type GroupChildMediaData = (ShapeMediaData | MediaData | GroupMediaData | ChartMediaData | ContentPartMediaData) & GroupCommonMediaData;
|
|
2872
|
-
interface GroupMediaData {
|
|
2871
|
+
export type GroupChildMediaData = (ShapeMediaData | MediaData | GroupMediaData | ChartMediaData | ContentPartMediaData) & GroupCommonMediaData;
|
|
2872
|
+
export interface GroupMediaData {
|
|
2873
2873
|
type: "wpg";
|
|
2874
2874
|
transformation: MediaDataTransformation;
|
|
2875
2875
|
children: GroupChildMediaData[];
|
|
@@ -2881,7 +2881,7 @@ interface GroupMediaData {
|
|
|
2881
2881
|
effects?: EffectListOptions;
|
|
2882
2882
|
groupShapeLocks?: GroupShapeLocksOptions;
|
|
2883
2883
|
}
|
|
2884
|
-
interface ChartMediaData {
|
|
2884
|
+
export interface ChartMediaData {
|
|
2885
2885
|
type: "chart";
|
|
2886
2886
|
transformation: MediaDataTransformation;
|
|
2887
2887
|
chartKey?: string;
|
|
@@ -2889,7 +2889,7 @@ interface ChartMediaData {
|
|
|
2889
2889
|
nonVisualProperties?: NonVisualPropertiesOptions;
|
|
2890
2890
|
graphicFrameLocks?: GraphicFrameLocksOptions | null;
|
|
2891
2891
|
}
|
|
2892
|
-
interface ContentPartOptions {
|
|
2892
|
+
export interface ContentPartOptions {
|
|
2893
2893
|
referenceId: string;
|
|
2894
2894
|
transformation?: MediaDataTransformation;
|
|
2895
2895
|
nonVisualProperties?: NonVisualPropertiesOptions & {
|
|
@@ -2897,20 +2897,20 @@ interface ContentPartOptions {
|
|
|
2897
2897
|
};
|
|
2898
2898
|
blackWhiteMode?: BlackWhiteMode;
|
|
2899
2899
|
}
|
|
2900
|
-
interface ContentPartMediaData extends ContentPartOptions {
|
|
2900
|
+
export interface ContentPartMediaData extends ContentPartOptions {
|
|
2901
2901
|
type: "contentPart";
|
|
2902
2902
|
transformation: MediaDataTransformation;
|
|
2903
2903
|
}
|
|
2904
|
-
interface SmartArtMediaData {
|
|
2904
|
+
export interface SmartArtMediaData {
|
|
2905
2905
|
type: "smartart";
|
|
2906
2906
|
transformation: MediaDataTransformation;
|
|
2907
2907
|
smartArtKey: string;
|
|
2908
2908
|
}
|
|
2909
|
-
type ExtendedMediaData = MediaData | LinkedPictureMediaData | ShapeMediaData | GroupMediaData | ChartMediaData | SmartArtMediaData | ContentPartMediaData;
|
|
2910
|
-
type MediaData = (RegularMediaData | SvgMediaData) & CoreMediaData;
|
|
2909
|
+
export type ExtendedMediaData = MediaData | LinkedPictureMediaData | ShapeMediaData | GroupMediaData | ChartMediaData | SmartArtMediaData | ContentPartMediaData;
|
|
2910
|
+
export type MediaData = (RegularMediaData | SvgMediaData) & CoreMediaData;
|
|
2911
2911
|
//#endregion
|
|
2912
2912
|
//#region src/shared/media/media.d.ts
|
|
2913
|
-
interface MediaTransformation {
|
|
2913
|
+
export interface MediaTransformation {
|
|
2914
2914
|
offset?: {
|
|
2915
2915
|
top?: number | UniversalMeasure;
|
|
2916
2916
|
left?: number | UniversalMeasure;
|
|
@@ -2927,10 +2927,10 @@ interface MediaTransformation {
|
|
|
2927
2927
|
b: number;
|
|
2928
2928
|
};
|
|
2929
2929
|
}
|
|
2930
|
-
declare const createTransformation: (options: MediaTransformation) => MediaDataTransformation;
|
|
2930
|
+
export declare const createTransformation: (options: MediaTransformation) => MediaDataTransformation;
|
|
2931
2931
|
//#endregion
|
|
2932
2932
|
//#region src/parse.d.ts
|
|
2933
|
-
interface DocxPartRefs {
|
|
2933
|
+
export interface DocxPartRefs {
|
|
2934
2934
|
headers: Map<string, string>;
|
|
2935
2935
|
footers: Map<string, string>;
|
|
2936
2936
|
footnotes?: string;
|
|
@@ -2956,7 +2956,7 @@ interface DocxPartRefs {
|
|
|
2956
2956
|
bibliography?: string;
|
|
2957
2957
|
glossary?: string;
|
|
2958
2958
|
}
|
|
2959
|
-
interface DocxDocument {
|
|
2959
|
+
export interface DocxDocument {
|
|
2960
2960
|
doc: ParsedArchive;
|
|
2961
2961
|
documentRoot: Element;
|
|
2962
2962
|
body: Element;
|
|
@@ -2972,9 +2972,9 @@ interface DocxDocument {
|
|
|
2972
2972
|
customProps?: string;
|
|
2973
2973
|
contentTypes?: Element;
|
|
2974
2974
|
}
|
|
2975
|
-
declare function parseDocument(data: DataType): Promise<DocumentOptions>;
|
|
2976
|
-
declare function parseDocumentSync(data: DataType): DocumentOptions;
|
|
2977
|
-
declare function parseDocx(data: DataType): DocxDocument;
|
|
2975
|
+
export declare function parseDocument(data: DataType): Promise<DocumentOptions>;
|
|
2976
|
+
export declare function parseDocumentSync(data: DataType): DocumentOptions;
|
|
2977
|
+
export declare function parseDocx(data: DataType): DocxDocument;
|
|
2978
2978
|
//#endregion
|
|
2979
2979
|
//#region src/context.d.ts
|
|
2980
2980
|
interface ViewWrapper {
|
|
@@ -2987,7 +2987,7 @@ interface BodyContext extends WriteContext {
|
|
|
2987
2987
|
viewWrapper: ViewWrapper;
|
|
2988
2988
|
stringifyChild: (child: SectionChild) => string;
|
|
2989
2989
|
}
|
|
2990
|
-
declare class DocxWriteContext implements WriteContext {
|
|
2990
|
+
export declare class DocxWriteContext implements WriteContext {
|
|
2991
2991
|
document: ViewWrapper;
|
|
2992
2992
|
numbering: Numbering;
|
|
2993
2993
|
media: Media<MediaData>;
|
|
@@ -3053,7 +3053,7 @@ declare class DocxWriteContext implements WriteContext {
|
|
|
3053
3053
|
private registerDocumentRel;
|
|
3054
3054
|
addPassthroughDocumentRelationships(): void;
|
|
3055
3055
|
}
|
|
3056
|
-
declare class DocxReadContext implements ReadContext {
|
|
3056
|
+
export declare class DocxReadContext implements ReadContext {
|
|
3057
3057
|
docx: DocxDocument;
|
|
3058
3058
|
styleCache: Map<string, Element>;
|
|
3059
3059
|
numberingCache: Map<string, Element>;
|
|
@@ -3079,20 +3079,20 @@ interface HeaderFooterEntry extends HeaderFooterReference {
|
|
|
3079
3079
|
}
|
|
3080
3080
|
//#endregion
|
|
3081
3081
|
//#region src/parts/document/body/section-properties/descriptor.d.ts
|
|
3082
|
-
interface SectionPropertiesDescriptorOptions extends SectionPropertiesOptions {
|
|
3082
|
+
export interface SectionPropertiesDescriptorOptions extends SectionPropertiesOptions {
|
|
3083
3083
|
headerReferences?: HeaderFooterGroup<HeaderFooterReference>;
|
|
3084
3084
|
footerReferences?: HeaderFooterGroup<HeaderFooterReference>;
|
|
3085
3085
|
printerSettingsId?: string;
|
|
3086
3086
|
}
|
|
3087
|
-
declare const sectionPropertiesDesc: CustomDescriptor<SectionPropertiesDescriptorOptions, BodyContext, SectionPropertiesOptions>;
|
|
3088
|
-
declare function stringifySectionProperties(opts: SectionPropertiesDescriptorOptions): string;
|
|
3089
|
-
declare function parseSectionPropertiesEl(el: Element): SectionPropertiesOptions;
|
|
3087
|
+
export declare const sectionPropertiesDesc: CustomDescriptor<SectionPropertiesDescriptorOptions, BodyContext, SectionPropertiesOptions>;
|
|
3088
|
+
export declare function stringifySectionProperties(opts: SectionPropertiesDescriptorOptions): string;
|
|
3089
|
+
export declare function parseSectionPropertiesEl(el: Element): SectionPropertiesOptions;
|
|
3090
3090
|
//#endregion
|
|
3091
3091
|
//#region src/shared/section.d.ts
|
|
3092
|
-
type BlockContentChild = Exclude<SectionChild, {
|
|
3092
|
+
export type BlockContentChild = Exclude<SectionChild, {
|
|
3093
3093
|
altChunk: unknown;
|
|
3094
3094
|
}>;
|
|
3095
|
-
type SectionChild = {
|
|
3095
|
+
export type SectionChild = {
|
|
3096
3096
|
paragraph: string | ParagraphOptions;
|
|
3097
3097
|
} | {
|
|
3098
3098
|
table: TableOptions;
|
|
@@ -3122,7 +3122,7 @@ type SectionChild = {
|
|
|
3122
3122
|
} | {
|
|
3123
3123
|
rawXml: string;
|
|
3124
3124
|
};
|
|
3125
|
-
interface SectionOptions {
|
|
3125
|
+
export interface SectionOptions {
|
|
3126
3126
|
headers?: {
|
|
3127
3127
|
default?: SectionChild[];
|
|
3128
3128
|
first?: SectionChild[];
|
|
@@ -3148,12 +3148,12 @@ interface SectionOptions {
|
|
|
3148
3148
|
}
|
|
3149
3149
|
//#endregion
|
|
3150
3150
|
//#region src/parts/table-of-contents/table-of-contents-properties.d.ts
|
|
3151
|
-
declare class StyleLevel {
|
|
3151
|
+
export declare class StyleLevel {
|
|
3152
3152
|
styleName: string;
|
|
3153
3153
|
level: number;
|
|
3154
3154
|
constructor(styleName: string, level: number);
|
|
3155
3155
|
}
|
|
3156
|
-
interface TableOfContentsOptions {
|
|
3156
|
+
export interface TableOfContentsOptions {
|
|
3157
3157
|
captionLabel?: string;
|
|
3158
3158
|
entriesFromBookmark?: string;
|
|
3159
3159
|
captionLabelIncludingNumbers?: string;
|
|
@@ -3185,54 +3185,54 @@ interface TableOfContentsOptions {
|
|
|
3185
3185
|
}
|
|
3186
3186
|
//#endregion
|
|
3187
3187
|
//#region src/parts/table-of-contents/sdt-properties.d.ts
|
|
3188
|
-
declare const SdtLock: {
|
|
3188
|
+
export declare const SdtLock: {
|
|
3189
3189
|
readonly SDT_LOCKED: "sdtLocked";
|
|
3190
3190
|
readonly CONTENT_LOCKED: "contentLocked";
|
|
3191
3191
|
readonly UNLOCKED: "unlocked";
|
|
3192
3192
|
readonly SDT_CONTENT_LOCKED: "sdtContentLocked";
|
|
3193
3193
|
};
|
|
3194
|
-
interface SdtListItem {
|
|
3194
|
+
export interface SdtListItem {
|
|
3195
3195
|
displayText?: string;
|
|
3196
3196
|
value?: string;
|
|
3197
3197
|
}
|
|
3198
|
-
interface SdtComboBoxOptions {
|
|
3198
|
+
export interface SdtComboBoxOptions {
|
|
3199
3199
|
items?: SdtListItem[];
|
|
3200
3200
|
lastValue?: string;
|
|
3201
3201
|
}
|
|
3202
|
-
interface SdtDropDownListOptions {
|
|
3202
|
+
export interface SdtDropDownListOptions {
|
|
3203
3203
|
items?: SdtListItem[];
|
|
3204
3204
|
lastValue?: string;
|
|
3205
3205
|
}
|
|
3206
|
-
declare const SdtDateMappingType: {
|
|
3206
|
+
export declare const SdtDateMappingType: {
|
|
3207
3207
|
readonly TEXT: "text";
|
|
3208
3208
|
readonly DATE: "date";
|
|
3209
3209
|
readonly DATE_TIME: "dateTime";
|
|
3210
3210
|
};
|
|
3211
|
-
interface SdtDateOptions {
|
|
3211
|
+
export interface SdtDateOptions {
|
|
3212
3212
|
dateFormat?: string;
|
|
3213
3213
|
languageId?: string;
|
|
3214
3214
|
storeMappedDataAs?: (typeof SdtDateMappingType)[keyof typeof SdtDateMappingType];
|
|
3215
3215
|
calendar?: string;
|
|
3216
3216
|
fullDate?: string;
|
|
3217
3217
|
}
|
|
3218
|
-
interface SdtTextOptions {
|
|
3218
|
+
export interface SdtTextOptions {
|
|
3219
3219
|
multiLine?: boolean;
|
|
3220
3220
|
}
|
|
3221
|
-
interface SdtCheckboxSymbol {
|
|
3221
|
+
export interface SdtCheckboxSymbol {
|
|
3222
3222
|
val: string;
|
|
3223
3223
|
font?: string;
|
|
3224
3224
|
}
|
|
3225
|
-
interface SdtCheckboxOptions {
|
|
3225
|
+
export interface SdtCheckboxOptions {
|
|
3226
3226
|
checked?: boolean;
|
|
3227
3227
|
checkedState?: SdtCheckboxSymbol;
|
|
3228
3228
|
uncheckedState?: SdtCheckboxSymbol;
|
|
3229
3229
|
}
|
|
3230
|
-
interface SdtDataBindingOptions {
|
|
3230
|
+
export interface SdtDataBindingOptions {
|
|
3231
3231
|
prefixMappings?: string;
|
|
3232
3232
|
xpath: string;
|
|
3233
3233
|
storeItemID: string;
|
|
3234
3234
|
}
|
|
3235
|
-
interface SdtPropertiesOptions {
|
|
3235
|
+
export interface SdtPropertiesOptions {
|
|
3236
3236
|
runProperties?: RunPropertiesOptions;
|
|
3237
3237
|
alias?: string;
|
|
3238
3238
|
tag?: string;
|
|
@@ -3271,23 +3271,23 @@ interface SdtPropertiesOptions {
|
|
|
3271
3271
|
}
|
|
3272
3272
|
//#endregion
|
|
3273
3273
|
//#region src/parts/table-of-contents/toc-parse.d.ts
|
|
3274
|
-
declare function parseToc(el: Element, ctx: DocxReadContext, parseChildren?: (elements: Element[], ctx: DocxReadContext) => SectionChild[]): ({
|
|
3274
|
+
export declare function parseToc(el: Element, ctx: DocxReadContext, parseChildren?: (elements: Element[], ctx: DocxReadContext) => SectionChild[]): ({
|
|
3275
3275
|
alias?: string;
|
|
3276
3276
|
} & TableOfContentsOptions) | undefined;
|
|
3277
|
-
declare function parseTocFieldInstruction(instruction: string, opts: Record<string, unknown>): void;
|
|
3278
|
-
declare function parseTocFieldFromElements(els: Element[]): TableOfContentsOptions;
|
|
3279
|
-
declare function selectTocEntryElements(els: Element[]): Element[];
|
|
3280
|
-
declare function keepTocClosingParagraph(el: Element, hasEntries: boolean): boolean;
|
|
3277
|
+
export declare function parseTocFieldInstruction(instruction: string, opts: Record<string, unknown>): void;
|
|
3278
|
+
export declare function parseTocFieldFromElements(els: Element[]): TableOfContentsOptions;
|
|
3279
|
+
export declare function selectTocEntryElements(els: Element[]): Element[];
|
|
3280
|
+
export declare function keepTocClosingParagraph(el: Element, hasEntries: boolean): boolean;
|
|
3281
3281
|
//#endregion
|
|
3282
3282
|
//#region src/parts/table-of-contents/descriptor.d.ts
|
|
3283
|
-
declare function stringifyTableOfContents(alias: string | undefined, options?: TableOfContentsOptions, entriesXml?: string, leadingXml?: string, trailingXml?: string): string;
|
|
3283
|
+
export declare function stringifyTableOfContents(alias: string | undefined, options?: TableOfContentsOptions, entriesXml?: string, leadingXml?: string, trailingXml?: string): string;
|
|
3284
3284
|
//#endregion
|
|
3285
3285
|
//#region src/parts/table/table-cell/table-cell.d.ts
|
|
3286
|
-
interface TableCellOptions extends BaseTableCellOptions, TableCellPropertiesOptions {
|
|
3286
|
+
export interface TableCellOptions extends BaseTableCellOptions, TableCellPropertiesOptions {
|
|
3287
3287
|
children: SectionChild[];
|
|
3288
3288
|
cellProperties?: boolean;
|
|
3289
3289
|
}
|
|
3290
|
-
interface SdtCellOptions {
|
|
3290
|
+
export interface SdtCellOptions {
|
|
3291
3291
|
properties: SdtPropertiesOptions;
|
|
3292
3292
|
cells?: TableCellOptions[];
|
|
3293
3293
|
endProperties?: RunPropertiesOptions;
|
|
@@ -3319,7 +3319,7 @@ type CustomXmlCellOptions = CustomXmlRunOptions & {
|
|
|
3319
3319
|
};
|
|
3320
3320
|
//#endregion
|
|
3321
3321
|
//#region src/parts/perm-start.d.ts
|
|
3322
|
-
declare const EditGroupType: {
|
|
3322
|
+
export declare const EditGroupType: {
|
|
3323
3323
|
readonly NONE: "none";
|
|
3324
3324
|
readonly EVERYONE: "everyone";
|
|
3325
3325
|
readonly ADMINISTRATORS: "administrators";
|
|
@@ -3328,8 +3328,8 @@ declare const EditGroupType: {
|
|
|
3328
3328
|
readonly OWNERS: "owners";
|
|
3329
3329
|
readonly CURRENT: "current";
|
|
3330
3330
|
};
|
|
3331
|
-
type EditGroup = (typeof EditGroupType)[keyof typeof EditGroupType];
|
|
3332
|
-
interface PermStartOptions {
|
|
3331
|
+
export type EditGroup = (typeof EditGroupType)[keyof typeof EditGroupType];
|
|
3332
|
+
export interface PermStartOptions {
|
|
3333
3333
|
id?: string | number;
|
|
3334
3334
|
editGroup?: EditGroup;
|
|
3335
3335
|
editor?: string;
|
|
@@ -3338,14 +3338,14 @@ interface PermStartOptions {
|
|
|
3338
3338
|
}
|
|
3339
3339
|
//#endregion
|
|
3340
3340
|
//#region src/parts/sub-doc/sub-doc.d.ts
|
|
3341
|
-
interface SubDocOptions {
|
|
3341
|
+
export interface SubDocOptions {
|
|
3342
3342
|
data: DataType;
|
|
3343
3343
|
}
|
|
3344
3344
|
//#endregion
|
|
3345
3345
|
//#region src/parts/paragraph/math.d.ts
|
|
3346
|
-
type MathScriptType = "roman" | "script" | "fraktur" | "double-struck" | "sans-serif" | "monospace";
|
|
3347
|
-
type MathStyleType = "plain" | "bold" | "italic" | "boldItalic";
|
|
3348
|
-
interface MathRunPropertiesOptions {
|
|
3346
|
+
export type MathScriptType = "roman" | "script" | "fraktur" | "double-struck" | "sans-serif" | "monospace";
|
|
3347
|
+
export type MathStyleType = "plain" | "bold" | "italic" | "boldItalic";
|
|
3348
|
+
export interface MathRunPropertiesOptions {
|
|
3349
3349
|
literal?: boolean;
|
|
3350
3350
|
normal?: boolean;
|
|
3351
3351
|
script?: MathScriptType;
|
|
@@ -3353,7 +3353,7 @@ interface MathRunPropertiesOptions {
|
|
|
3353
3353
|
breakAlignment?: number;
|
|
3354
3354
|
align?: boolean;
|
|
3355
3355
|
}
|
|
3356
|
-
interface MathDelimiterProperties {
|
|
3356
|
+
export interface MathDelimiterProperties {
|
|
3357
3357
|
beginCharacter?: string;
|
|
3358
3358
|
endCharacter?: string;
|
|
3359
3359
|
separatorCharacter?: string;
|
|
@@ -3361,18 +3361,18 @@ interface MathDelimiterProperties {
|
|
|
3361
3361
|
shape?: "centered" | "match";
|
|
3362
3362
|
controlProperties?: RunPropertiesOptions;
|
|
3363
3363
|
}
|
|
3364
|
-
type MathNaryLimitLocation = "subSup" | "undOvr";
|
|
3365
|
-
type MathSpacingRule = 0 | 1 | 2 | 3 | 4;
|
|
3366
|
-
type MathBaselineAlignment = "inline" | "top" | "center" | "bottom" | "inside" | "outside";
|
|
3367
|
-
interface MathNaryProperties {
|
|
3364
|
+
export type MathNaryLimitLocation = "subSup" | "undOvr";
|
|
3365
|
+
export type MathSpacingRule = 0 | 1 | 2 | 3 | 4;
|
|
3366
|
+
export type MathBaselineAlignment = "inline" | "top" | "center" | "bottom" | "inside" | "outside";
|
|
3367
|
+
export interface MathNaryProperties {
|
|
3368
3368
|
limitLocation?: MathNaryLimitLocation;
|
|
3369
3369
|
grow?: boolean;
|
|
3370
3370
|
}
|
|
3371
|
-
interface MathMatrixColumnOptions {
|
|
3371
|
+
export interface MathMatrixColumnOptions {
|
|
3372
3372
|
count: number;
|
|
3373
3373
|
justification: string;
|
|
3374
3374
|
}
|
|
3375
|
-
interface MathMatrixProperties {
|
|
3375
|
+
export interface MathMatrixProperties {
|
|
3376
3376
|
baseline?: MathBaselineAlignment;
|
|
3377
3377
|
hidePlaceholder?: boolean;
|
|
3378
3378
|
rowSpacingRule?: MathSpacingRule;
|
|
@@ -3382,7 +3382,7 @@ interface MathMatrixProperties {
|
|
|
3382
3382
|
columnGap?: number;
|
|
3383
3383
|
columns?: MathMatrixColumnOptions[];
|
|
3384
3384
|
}
|
|
3385
|
-
interface MathBorderBoxProperties {
|
|
3385
|
+
export interface MathBorderBoxProperties {
|
|
3386
3386
|
hideTop?: boolean;
|
|
3387
3387
|
hideBottom?: boolean;
|
|
3388
3388
|
hideLeft?: boolean;
|
|
@@ -3392,35 +3392,35 @@ interface MathBorderBoxProperties {
|
|
|
3392
3392
|
strikeDiagonalUp?: boolean;
|
|
3393
3393
|
strikeDiagonalDown?: boolean;
|
|
3394
3394
|
}
|
|
3395
|
-
interface MathBoxProperties {
|
|
3395
|
+
export interface MathBoxProperties {
|
|
3396
3396
|
operatorEmulation?: boolean;
|
|
3397
3397
|
noBreak?: boolean;
|
|
3398
3398
|
differential?: boolean;
|
|
3399
3399
|
align?: boolean;
|
|
3400
3400
|
}
|
|
3401
|
-
interface MathGroupCharacterProperties {
|
|
3401
|
+
export interface MathGroupCharacterProperties {
|
|
3402
3402
|
character?: string;
|
|
3403
3403
|
position?: "top" | "bot";
|
|
3404
3404
|
vertical?: "top" | "bot";
|
|
3405
3405
|
}
|
|
3406
|
-
interface MathPhantomProperties {
|
|
3406
|
+
export interface MathPhantomProperties {
|
|
3407
3407
|
show?: boolean;
|
|
3408
3408
|
zeroWidth?: boolean;
|
|
3409
3409
|
zeroAscent?: boolean;
|
|
3410
3410
|
zeroDescent?: boolean;
|
|
3411
3411
|
transparent?: boolean;
|
|
3412
3412
|
}
|
|
3413
|
-
interface MathEquationArrayProperties {
|
|
3413
|
+
export interface MathEquationArrayProperties {
|
|
3414
3414
|
baseline?: MathBaselineAlignment;
|
|
3415
3415
|
distributeRows?: boolean;
|
|
3416
3416
|
objectDistance?: boolean;
|
|
3417
3417
|
rowSpacingRule?: MathSpacingRule;
|
|
3418
3418
|
rowSpacing?: number;
|
|
3419
3419
|
}
|
|
3420
|
-
interface MathRadicalProperties {
|
|
3420
|
+
export interface MathRadicalProperties {
|
|
3421
3421
|
hideDegree?: boolean;
|
|
3422
3422
|
}
|
|
3423
|
-
type MathInput = string | {
|
|
3423
|
+
export type MathInput = string | {
|
|
3424
3424
|
text: string;
|
|
3425
3425
|
properties?: MathRunPropertiesOptions;
|
|
3426
3426
|
runProperties?: RunPropertiesOptions;
|
|
@@ -3588,7 +3588,7 @@ type MathInput = string | {
|
|
|
3588
3588
|
};
|
|
3589
3589
|
//#endregion
|
|
3590
3590
|
//#region src/parts/paragraph/run/symbol-run.d.ts
|
|
3591
|
-
type SymbolRunOptions = {
|
|
3591
|
+
export type SymbolRunOptions = {
|
|
3592
3592
|
char: string;
|
|
3593
3593
|
symbolFont?: string;
|
|
3594
3594
|
kind?: "standard" | "office2016";
|
|
@@ -3628,11 +3628,11 @@ interface SvgMediaOptions {
|
|
|
3628
3628
|
};
|
|
3629
3629
|
fileName?: string;
|
|
3630
3630
|
}
|
|
3631
|
-
type PictureOptions = (RegularPictureOptions | SvgMediaOptions) & CorePictureOptions;
|
|
3632
|
-
declare const createPictureData: (data: Uint8Array, transformation: MediaTransformation, key: string, sourceRectangle?: SourceRectangleOptions, nonVisualProperties?: NonVisualPropertiesOptions) => Pick<MediaData, "data" | "fileName" | "transformation" | "sourceRectangle" | "nonVisualProperties">;
|
|
3631
|
+
export type PictureOptions = (RegularPictureOptions | SvgMediaOptions) & CorePictureOptions;
|
|
3632
|
+
export declare const createPictureData: (data: Uint8Array, transformation: MediaTransformation, key: string, sourceRectangle?: SourceRectangleOptions, nonVisualProperties?: NonVisualPropertiesOptions) => Pick<MediaData, "data" | "fileName" | "transformation" | "sourceRectangle" | "nonVisualProperties">;
|
|
3633
3633
|
//#endregion
|
|
3634
3634
|
//#region src/parts/paragraph/run/chart-run.d.ts
|
|
3635
|
-
interface ChartOptions extends ChartSpaceOptions$1 {
|
|
3635
|
+
export interface ChartOptions extends ChartSpaceOptions$1 {
|
|
3636
3636
|
transformation: MediaTransformation;
|
|
3637
3637
|
floating?: Floating;
|
|
3638
3638
|
altText?: DocPropertiesOptions;
|
|
@@ -3642,11 +3642,11 @@ interface ChartOptions extends ChartSpaceOptions$1 {
|
|
|
3642
3642
|
}
|
|
3643
3643
|
//#endregion
|
|
3644
3644
|
//#region src/parts/paragraph/run/smartart-run.d.ts
|
|
3645
|
-
interface SmartArtNode {
|
|
3645
|
+
export interface SmartArtNode {
|
|
3646
3646
|
text: string;
|
|
3647
3647
|
children?: SmartArtNode[];
|
|
3648
3648
|
}
|
|
3649
|
-
interface SmartArtOptions {
|
|
3649
|
+
export interface SmartArtOptions {
|
|
3650
3650
|
nodes: SmartArtNode[];
|
|
3651
3651
|
transformation: MediaTransformation;
|
|
3652
3652
|
floating?: Floating;
|
|
@@ -3672,10 +3672,10 @@ interface ShapeRunOptions {
|
|
|
3672
3672
|
lastRenderedPageBreak?: boolean;
|
|
3673
3673
|
graphicFrameLocks?: GraphicFrameLocksOptions | null;
|
|
3674
3674
|
}
|
|
3675
|
-
type ShapeOptions = ShapeCoreOptions & ShapeRunOptions;
|
|
3675
|
+
export type ShapeOptions = ShapeCoreOptions & ShapeRunOptions;
|
|
3676
3676
|
//#endregion
|
|
3677
3677
|
//#region src/parts/paragraph/run/wpg-group-run.d.ts
|
|
3678
|
-
interface GroupOptions {
|
|
3678
|
+
export interface GroupOptions {
|
|
3679
3679
|
children: GroupChildMediaData[];
|
|
3680
3680
|
transformation: MediaTransformation;
|
|
3681
3681
|
childOffsetX?: number;
|
|
@@ -3696,7 +3696,7 @@ interface GroupOptions {
|
|
|
3696
3696
|
}
|
|
3697
3697
|
//#endregion
|
|
3698
3698
|
//#region src/parts/paragraph/run/simple-field.d.ts
|
|
3699
|
-
interface SimpleFieldOptions {
|
|
3699
|
+
export interface SimpleFieldOptions {
|
|
3700
3700
|
instruction: string;
|
|
3701
3701
|
cachedValue?: string;
|
|
3702
3702
|
cachedRunsXml?: string;
|
|
@@ -3705,30 +3705,30 @@ interface SimpleFieldOptions {
|
|
|
3705
3705
|
}
|
|
3706
3706
|
//#endregion
|
|
3707
3707
|
//#region src/parts/paragraph/run/positional-tab.d.ts
|
|
3708
|
-
declare const PositionalTabAlignment: {
|
|
3708
|
+
export declare const PositionalTabAlignment: {
|
|
3709
3709
|
readonly LEFT: "left";
|
|
3710
3710
|
readonly CENTER: "center";
|
|
3711
3711
|
readonly RIGHT: "right";
|
|
3712
3712
|
};
|
|
3713
|
-
declare const PositionalTabRelativeTo: {
|
|
3713
|
+
export declare const PositionalTabRelativeTo: {
|
|
3714
3714
|
readonly MARGIN: "margin";
|
|
3715
3715
|
readonly INDENT: "indent";
|
|
3716
3716
|
};
|
|
3717
|
-
declare const PositionalTabLeader: {
|
|
3717
|
+
export declare const PositionalTabLeader: {
|
|
3718
3718
|
readonly NONE: "none";
|
|
3719
3719
|
readonly DOT: "dot";
|
|
3720
3720
|
readonly HYPHEN: "hyphen";
|
|
3721
3721
|
readonly UNDERSCORE: "underscore";
|
|
3722
3722
|
readonly MIDDLE_DOT: "middleDot";
|
|
3723
3723
|
};
|
|
3724
|
-
interface PositionalTabOptions {
|
|
3724
|
+
export interface PositionalTabOptions {
|
|
3725
3725
|
alignment: (typeof PositionalTabAlignment)[keyof typeof PositionalTabAlignment];
|
|
3726
3726
|
relativeTo: (typeof PositionalTabRelativeTo)[keyof typeof PositionalTabRelativeTo];
|
|
3727
3727
|
leader: (typeof PositionalTabLeader)[keyof typeof PositionalTabLeader];
|
|
3728
3728
|
}
|
|
3729
3729
|
//#endregion
|
|
3730
3730
|
//#region src/parts/paragraph/run/form-field.d.ts
|
|
3731
|
-
declare const FormFieldTextType: {
|
|
3731
|
+
export declare const FormFieldTextType: {
|
|
3732
3732
|
readonly REGULAR: "regular";
|
|
3733
3733
|
readonly NUMBER: "number";
|
|
3734
3734
|
readonly DATE: "date";
|
|
@@ -3736,29 +3736,29 @@ declare const FormFieldTextType: {
|
|
|
3736
3736
|
readonly CURRENT_DATE: "currentDate";
|
|
3737
3737
|
readonly CALCULATED: "calculated";
|
|
3738
3738
|
};
|
|
3739
|
-
interface CheckBoxOptions {
|
|
3739
|
+
export interface CheckBoxOptions {
|
|
3740
3740
|
size?: number;
|
|
3741
3741
|
sizeAuto?: boolean;
|
|
3742
3742
|
default?: boolean;
|
|
3743
3743
|
checked?: boolean;
|
|
3744
3744
|
}
|
|
3745
|
-
interface DropDownListOptions {
|
|
3745
|
+
export interface DropDownListOptions {
|
|
3746
3746
|
entries: string[];
|
|
3747
3747
|
result?: number;
|
|
3748
3748
|
default?: number;
|
|
3749
3749
|
}
|
|
3750
|
-
interface TextInputOptions {
|
|
3750
|
+
export interface TextInputOptions {
|
|
3751
3751
|
type?: (typeof FormFieldTextType)[keyof typeof FormFieldTextType];
|
|
3752
3752
|
default?: string;
|
|
3753
3753
|
value?: string;
|
|
3754
3754
|
maxLength?: number;
|
|
3755
3755
|
format?: string;
|
|
3756
3756
|
}
|
|
3757
|
-
interface FormFieldTextOptions {
|
|
3757
|
+
export interface FormFieldTextOptions {
|
|
3758
3758
|
type: "text" | "autoText";
|
|
3759
3759
|
value: string;
|
|
3760
3760
|
}
|
|
3761
|
-
interface FormFieldCommonOptions {
|
|
3761
|
+
export interface FormFieldCommonOptions {
|
|
3762
3762
|
name?: string;
|
|
3763
3763
|
label?: number;
|
|
3764
3764
|
tabIndex?: number;
|
|
@@ -3769,16 +3769,16 @@ interface FormFieldCommonOptions {
|
|
|
3769
3769
|
helpText?: FormFieldTextOptions;
|
|
3770
3770
|
statusText?: FormFieldTextOptions;
|
|
3771
3771
|
}
|
|
3772
|
-
interface FormFieldOptions extends FormFieldCommonOptions {
|
|
3772
|
+
export interface FormFieldOptions extends FormFieldCommonOptions {
|
|
3773
3773
|
checkBox?: CheckBoxOptions;
|
|
3774
3774
|
dropDownList?: DropDownListOptions;
|
|
3775
3775
|
textInput?: TextInputOptions;
|
|
3776
3776
|
}
|
|
3777
|
-
declare const createFormFieldData: (options: FormFieldOptions) => string;
|
|
3778
|
-
declare function parseFormFieldData(el: Element): FormFieldOptions;
|
|
3777
|
+
export declare const createFormFieldData: (options: FormFieldOptions) => string;
|
|
3778
|
+
export declare function parseFormFieldData(el: Element): FormFieldOptions;
|
|
3779
3779
|
//#endregion
|
|
3780
3780
|
//#region src/parts/paragraph/run/smart-tag-run.d.ts
|
|
3781
|
-
interface SmartTagRunOptions {
|
|
3781
|
+
export interface SmartTagRunOptions {
|
|
3782
3782
|
uri?: string;
|
|
3783
3783
|
element: string;
|
|
3784
3784
|
properties?: {
|
|
@@ -3789,25 +3789,25 @@ interface SmartTagRunOptions {
|
|
|
3789
3789
|
}
|
|
3790
3790
|
//#endregion
|
|
3791
3791
|
//#region src/parts/paragraph/run/proof-error.d.ts
|
|
3792
|
-
declare const ProofErrorType: {
|
|
3792
|
+
export declare const ProofErrorType: {
|
|
3793
3793
|
readonly SPELL_START: "spellStart";
|
|
3794
3794
|
readonly SPELL_END: "spellEnd";
|
|
3795
3795
|
readonly GRAM_START: "gramStart";
|
|
3796
3796
|
readonly GRAM_END: "gramEnd";
|
|
3797
3797
|
};
|
|
3798
|
-
type ProofErrorTypeValue = (typeof ProofErrorType)[keyof typeof ProofErrorType];
|
|
3798
|
+
export type ProofErrorTypeValue = (typeof ProofErrorType)[keyof typeof ProofErrorType];
|
|
3799
3799
|
//#endregion
|
|
3800
3800
|
//#region src/parts/paragraph/paragraph.d.ts
|
|
3801
|
-
interface SdtRunOptions {
|
|
3801
|
+
export interface SdtRunOptions {
|
|
3802
3802
|
properties: SdtPropertiesOptions;
|
|
3803
3803
|
children?: (ParagraphChild | string)[];
|
|
3804
3804
|
endProperties?: RunPropertiesOptions;
|
|
3805
3805
|
}
|
|
3806
|
-
interface FootnoteEndnoteReferenceOptions {
|
|
3806
|
+
export interface FootnoteEndnoteReferenceOptions {
|
|
3807
3807
|
id: number;
|
|
3808
3808
|
customMarkFollows?: boolean;
|
|
3809
3809
|
}
|
|
3810
|
-
interface ComplexFieldOptions {
|
|
3810
|
+
export interface ComplexFieldOptions {
|
|
3811
3811
|
instruction: string;
|
|
3812
3812
|
result?: string;
|
|
3813
3813
|
rPrXml?: string;
|
|
@@ -3817,7 +3817,7 @@ interface ComplexFieldOptions {
|
|
|
3817
3817
|
resultRunsXml?: string;
|
|
3818
3818
|
lastRenderedPageBreak?: boolean;
|
|
3819
3819
|
}
|
|
3820
|
-
type TrackChangeChild = RunOptions | string | {
|
|
3820
|
+
export type TrackChangeChild = RunOptions | string | {
|
|
3821
3821
|
commentRangeStart: MarkupRangeOptions;
|
|
3822
3822
|
} | {
|
|
3823
3823
|
commentRangeEnd: MarkupRangeOptions;
|
|
@@ -3848,7 +3848,7 @@ type TrackChangeChild = RunOptions | string | {
|
|
|
3848
3848
|
children: TrackChangeChild[];
|
|
3849
3849
|
};
|
|
3850
3850
|
};
|
|
3851
|
-
type ParagraphChild = {
|
|
3851
|
+
export type ParagraphChild = {
|
|
3852
3852
|
chart: ChartOptions;
|
|
3853
3853
|
} | {
|
|
3854
3854
|
smartArt: SmartArtOptions;
|
|
@@ -4022,7 +4022,7 @@ type ParagraphChild = {
|
|
|
4022
4022
|
} | {
|
|
4023
4023
|
rawXml: string;
|
|
4024
4024
|
} | RunOptions;
|
|
4025
|
-
type ParagraphOptions = {
|
|
4025
|
+
export type ParagraphOptions = {
|
|
4026
4026
|
text?: string;
|
|
4027
4027
|
children?: (ParagraphChild | string)[];
|
|
4028
4028
|
additionRsid?: LongHexNumber;
|
|
@@ -4035,104 +4035,104 @@ type ParagraphOptions = {
|
|
|
4035
4035
|
} & ParagraphPropertiesOptions;
|
|
4036
4036
|
//#endregion
|
|
4037
4037
|
//#region src/parts/paragraph/links/hyperlink.d.ts
|
|
4038
|
-
declare const HyperlinkType: {
|
|
4038
|
+
export declare const HyperlinkType: {
|
|
4039
4039
|
readonly INTERNAL: "INTERNAL";
|
|
4040
4040
|
readonly EXTERNAL: "EXTERNAL";
|
|
4041
4041
|
};
|
|
4042
|
-
interface InternalHyperlinkOptions {
|
|
4042
|
+
export interface InternalHyperlinkOptions {
|
|
4043
4043
|
anchor: string;
|
|
4044
4044
|
tooltip?: string;
|
|
4045
4045
|
}
|
|
4046
|
-
interface ExternalHyperlinkOptions {
|
|
4046
|
+
export interface ExternalHyperlinkOptions {
|
|
4047
4047
|
url: string;
|
|
4048
4048
|
tooltip?: string;
|
|
4049
4049
|
targetFrame?: string;
|
|
4050
4050
|
}
|
|
4051
4051
|
//#endregion
|
|
4052
4052
|
//#region src/parts/paragraph/links/numbered-item-ref.d.ts
|
|
4053
|
-
type NumberedItemReferenceFormat = "none" | "relative" | "no_context" | "full_context";
|
|
4054
|
-
interface NumberedItemReferenceOptions {
|
|
4053
|
+
export type NumberedItemReferenceFormat = "none" | "relative" | "no_context" | "full_context";
|
|
4054
|
+
export interface NumberedItemReferenceOptions {
|
|
4055
4055
|
hyperlink?: boolean;
|
|
4056
4056
|
referenceFormat?: NumberedItemReferenceFormat;
|
|
4057
4057
|
}
|
|
4058
4058
|
//#endregion
|
|
4059
4059
|
//#region src/parts/paragraph/links/bidi.d.ts
|
|
4060
|
-
interface DirOptions {
|
|
4060
|
+
export interface DirOptions {
|
|
4061
4061
|
val: "ltr" | "rtl";
|
|
4062
4062
|
}
|
|
4063
4063
|
//#endregion
|
|
4064
4064
|
//#region src/parts/settings/descriptor.d.ts
|
|
4065
|
-
declare const settingsDesc: CustomDescriptor<SettingsOptions>;
|
|
4065
|
+
export declare const settingsDesc: CustomDescriptor<SettingsOptions>;
|
|
4066
4066
|
//#endregion
|
|
4067
4067
|
//#region src/parts/sdt/sdt-parse.d.ts
|
|
4068
|
-
declare function parseSdtProperties(el: Element): SdtPropertiesOptions;
|
|
4069
|
-
declare function parseSdtBlock(el: Element, ctx: DocxReadContext, parseChildren: (elements: Element[], ctx: DocxReadContext) => unknown[]): {
|
|
4068
|
+
export declare function parseSdtProperties(el: Element): SdtPropertiesOptions;
|
|
4069
|
+
export declare function parseSdtBlock(el: Element, ctx: DocxReadContext, parseChildren: (elements: Element[], ctx: DocxReadContext) => unknown[]): {
|
|
4070
4070
|
properties: SdtPropertiesOptions;
|
|
4071
4071
|
endProperties?: RunPropertiesOptions;
|
|
4072
4072
|
children?: unknown[];
|
|
4073
4073
|
};
|
|
4074
4074
|
//#endregion
|
|
4075
4075
|
//#region src/parts/fonts/descriptor.d.ts
|
|
4076
|
-
interface FontTableInput {
|
|
4076
|
+
export interface FontTableInput {
|
|
4077
4077
|
fonts: EmbeddedFontOptionsWithKey[];
|
|
4078
4078
|
}
|
|
4079
|
-
declare const fontTableDesc: CustomDescriptor<FontTableInput>;
|
|
4079
|
+
export declare const fontTableDesc: CustomDescriptor<FontTableInput>;
|
|
4080
4080
|
//#endregion
|
|
4081
4081
|
//#region src/parts/textbox/textbox.d.ts
|
|
4082
|
-
type TextboxOptions = Omit<ParagraphOptions, "style" | "children"> & {
|
|
4082
|
+
export type TextboxOptions = Omit<ParagraphOptions, "style" | "children"> & {
|
|
4083
4083
|
style?: VmlShapeStyle;
|
|
4084
4084
|
children?: SectionChild[];
|
|
4085
4085
|
};
|
|
4086
4086
|
//#endregion
|
|
4087
4087
|
//#region src/parts/comments.d.ts
|
|
4088
|
-
declare const COMMENTS_NS: string;
|
|
4089
|
-
declare const commentsDesc: CustomDescriptor<CommentOptions[], BodyContext>;
|
|
4088
|
+
export declare const COMMENTS_NS: string;
|
|
4089
|
+
export declare const commentsDesc: CustomDescriptor<CommentOptions[], BodyContext>;
|
|
4090
4090
|
//#endregion
|
|
4091
4091
|
//#region src/parts/inline.d.ts
|
|
4092
|
-
declare function stringifyRunInline(opts: RunOptions, ctx: BodyContext): string;
|
|
4093
|
-
declare function buildMarkupRangeAttrs(m: MarkupRangeOptions): string;
|
|
4094
|
-
declare function buildBookmarkStartAttrs(bs: BookmarkStartOptions): string;
|
|
4095
|
-
declare function stringifyChildDispatch(child: ParagraphChild, ctx: BodyContext): string | string[] | undefined;
|
|
4096
|
-
declare function stringifyParagraphInline(opts: string | ParagraphOptions, ctx: BodyContext): string;
|
|
4092
|
+
export declare function stringifyRunInline(opts: RunOptions, ctx: BodyContext): string;
|
|
4093
|
+
export declare function buildMarkupRangeAttrs(m: MarkupRangeOptions): string;
|
|
4094
|
+
export declare function buildBookmarkStartAttrs(bs: BookmarkStartOptions): string;
|
|
4095
|
+
export declare function stringifyChildDispatch(child: ParagraphChild, ctx: BodyContext): string | string[] | undefined;
|
|
4096
|
+
export declare function stringifyParagraphInline(opts: string | ParagraphOptions, ctx: BodyContext): string;
|
|
4097
4097
|
//#endregion
|
|
4098
4098
|
//#region src/parts/bodychildren.d.ts
|
|
4099
|
-
declare const altChunkDesc: CustomDescriptor<AltChunkOptions, BodyContext>;
|
|
4100
|
-
declare const subDocDesc: CustomDescriptor<SubDocOptions, BodyContext>;
|
|
4101
|
-
interface SdtBlockOptions {
|
|
4099
|
+
export declare const altChunkDesc: CustomDescriptor<AltChunkOptions, BodyContext>;
|
|
4100
|
+
export declare const subDocDesc: CustomDescriptor<SubDocOptions, BodyContext>;
|
|
4101
|
+
export interface SdtBlockOptions {
|
|
4102
4102
|
properties: SdtPropertiesOptions;
|
|
4103
4103
|
children?: BlockContentChild[];
|
|
4104
4104
|
endProperties?: RunPropertiesOptions;
|
|
4105
4105
|
}
|
|
4106
|
-
declare function checkboxSymbolRunInner(cb: SdtCheckboxOptions): string;
|
|
4107
|
-
declare function stringifySdtPr(opts: SdtPropertiesOptions): string;
|
|
4108
|
-
declare function stringifySdtShell(properties: SdtPropertiesOptions, endProperties: RunPropertiesOptions | undefined, contentXml: string): string;
|
|
4109
|
-
declare function parseCustomXmlProperties(el: Element): CustomXmlPropertiesOptions;
|
|
4110
|
-
declare function setBodyParseChild(parser: (el: Element, ctx: DocxReadContext) => SectionChild): void;
|
|
4111
|
-
declare function parseRegisteredBodyChild(el: Element, ctx: DocxReadContext): SectionChild | undefined;
|
|
4112
|
-
declare const sdtBlockDesc: CustomDescriptor<SdtBlockOptions, BodyContext>;
|
|
4113
|
-
interface CustomXmlBlockDescriptorOptions {
|
|
4106
|
+
export declare function checkboxSymbolRunInner(cb: SdtCheckboxOptions): string;
|
|
4107
|
+
export declare function stringifySdtPr(opts: SdtPropertiesOptions): string;
|
|
4108
|
+
export declare function stringifySdtShell(properties: SdtPropertiesOptions, endProperties: RunPropertiesOptions | undefined, contentXml: string): string;
|
|
4109
|
+
export declare function parseCustomXmlProperties(el: Element): CustomXmlPropertiesOptions;
|
|
4110
|
+
export declare function setBodyParseChild(parser: (el: Element, ctx: DocxReadContext) => SectionChild): void;
|
|
4111
|
+
export declare function parseRegisteredBodyChild(el: Element, ctx: DocxReadContext): SectionChild | undefined;
|
|
4112
|
+
export declare const sdtBlockDesc: CustomDescriptor<SdtBlockOptions, BodyContext>;
|
|
4113
|
+
export interface CustomXmlBlockDescriptorOptions {
|
|
4114
4114
|
element: string;
|
|
4115
4115
|
uri?: string;
|
|
4116
4116
|
properties?: CustomXmlPropertiesOptions;
|
|
4117
4117
|
children?: BlockContentChild[];
|
|
4118
4118
|
}
|
|
4119
|
-
declare function stringifyCustomXmlShell(opts: {
|
|
4119
|
+
export declare function stringifyCustomXmlShell(opts: {
|
|
4120
4120
|
element: string;
|
|
4121
4121
|
uri?: string;
|
|
4122
4122
|
properties?: CustomXmlPropertiesOptions;
|
|
4123
4123
|
}, contentXml: string): string;
|
|
4124
|
-
declare const customXmlBlockDesc: CustomDescriptor<CustomXmlBlockDescriptorOptions, BodyContext>;
|
|
4124
|
+
export declare const customXmlBlockDesc: CustomDescriptor<CustomXmlBlockDescriptorOptions, BodyContext>;
|
|
4125
4125
|
//#endregion
|
|
4126
4126
|
//#region src/patch/from-docx.d.ts
|
|
4127
|
-
type PatchComment = Omit<CommentOptions, "id">;
|
|
4128
|
-
type Patch = {
|
|
4127
|
+
export type PatchComment = Omit<CommentOptions, "id">;
|
|
4128
|
+
export type Patch = {
|
|
4129
4129
|
type: "paragraph";
|
|
4130
4130
|
children: (string | RunOptions | ParagraphChild)[];
|
|
4131
4131
|
} | {
|
|
4132
4132
|
type: "document";
|
|
4133
4133
|
children: SectionChild[];
|
|
4134
4134
|
};
|
|
4135
|
-
interface PatchDocumentOptions<T extends OutputType$1 = OutputType$1> extends BasePatchOptions<T, Patch> {
|
|
4135
|
+
export interface PatchDocumentOptions<T extends OutputType$1 = OutputType$1> extends BasePatchOptions<T, Patch> {
|
|
4136
4136
|
keepOriginalStyles?: boolean;
|
|
4137
4137
|
append?: SectionChild[];
|
|
4138
4138
|
sections?: {
|
|
@@ -4150,21 +4150,21 @@ interface PatchDocumentOptions<T extends OutputType$1 = OutputType$1> extends Ba
|
|
|
4150
4150
|
placeholders?: Readonly<Record<string, PatchComment[]>>;
|
|
4151
4151
|
};
|
|
4152
4152
|
}
|
|
4153
|
-
declare const patchDocument: <T extends OutputType$1 = OutputType$1>({ outputType, data, placeholders, findReplace, coreProperties, append, sections, comments, keepOriginalStyles, placeholderDelimiters }: PatchDocumentOptions<T>) => Promise<OutputByType$1[T]>;
|
|
4153
|
+
export declare const patchDocument: <T extends OutputType$1 = OutputType$1>({ outputType, data, placeholders, findReplace, coreProperties, append, sections, comments, keepOriginalStyles, placeholderDelimiters }: PatchDocumentOptions<T>) => Promise<OutputByType$1[T]>;
|
|
4154
4154
|
//#endregion
|
|
4155
4155
|
//#region src/patch/patch-detector.d.ts
|
|
4156
4156
|
interface PatchDetectorOptions {
|
|
4157
4157
|
data: DataType;
|
|
4158
4158
|
}
|
|
4159
|
-
declare const patchDetector: ({ data }: PatchDetectorOptions) => Promise<string[]>;
|
|
4159
|
+
export declare const patchDetector: ({ data }: PatchDetectorOptions) => Promise<string[]>;
|
|
4160
4160
|
//#endregion
|
|
4161
4161
|
//#region src/generate.d.ts
|
|
4162
|
-
declare function generateDocument<T extends OutputType$1 = "nodebuffer">(options: DocumentOptions, packerOptions?: PackerOptions$1<T>): Promise<OutputByType$1[T]>;
|
|
4163
|
-
declare function generateDocumentSync<T extends OutputType$1 = "nodebuffer">(options: DocumentOptions, packerOptions?: PackerOptions$1<T>): OutputByType$1[T];
|
|
4164
|
-
declare function generateDocumentStream(options: DocumentOptions, packerOptions?: PackerOptions$1): ReadableStream<Uint8Array>;
|
|
4162
|
+
export declare function generateDocument<T extends OutputType$1 = "nodebuffer">(options: DocumentOptions, packerOptions?: PackerOptions$1<T>): Promise<OutputByType$1[T]>;
|
|
4163
|
+
export declare function generateDocumentSync<T extends OutputType$1 = "nodebuffer">(options: DocumentOptions, packerOptions?: PackerOptions$1<T>): OutputByType$1[T];
|
|
4164
|
+
export declare function generateDocumentStream(options: DocumentOptions, packerOptions?: PackerOptions$1): ReadableStream<Uint8Array>;
|
|
4165
4165
|
//#endregion
|
|
4166
4166
|
//#region src/compiler.d.ts
|
|
4167
|
-
declare function compileDocument(options: DocumentOptions, overrides?: XmlifyedFile[], mediaLevel?: number): Zippable;
|
|
4167
|
+
export declare function compileDocument(options: DocumentOptions, overrides?: XmlifyedFile[], mediaLevel?: number): Zippable;
|
|
4168
4168
|
//#endregion
|
|
4169
|
-
export {
|
|
4169
|
+
export { type AppPropertiesInput, type AppPropertiesOptions, type BodyContext, type BodyPropertiesOptions, type CompatSettingOptions, type CompatibilityOptions, type CompressionOptions, type CustomPropertiesInput, type CustomPropertyOptions, type CustomXmlAttributeOptions, type CustomXmlBlockOptions, type CustomXmlCellOptions, type CustomXmlPropertiesOptions, type CustomXmlRowOptions, type CustomXmlRunOptions, type FlatTextOptions, Media, type NormalAutofitOptions, type ObjectControlOptions, type ObjectElementOptions, type ObjectEmbedOptions, type ObjectIconImageOptions, type ObjectLinkOptions, type OutputByType, type OutputType, type PackerOptions, type PresetTextShapeOptions, type TextBodyWrapping, type TextHorzOverflow, type TextVertOverflow, type TextVertical, type VerticalAnchor, appPropertiesDesc, bodyPropertiesDesc, customPropertiesDesc, parseArchive, parseBodyProperties };
|
|
4170
4170
|
//# sourceMappingURL=index.d.mts.map
|