docx-wasm 0.4.13 → 0.4.14-beta2
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/node/border.d.ts +1 -1
- package/dist/node/break.d.ts +1 -1
- package/dist/node/builder.d.ts +1 -1
- package/dist/node/hyperlink.d.ts +1 -1
- package/dist/node/json/bindings/Bold.d.ts +1 -1
- package/dist/node/json/bindings/BoldCs.d.ts +1 -1
- package/dist/node/json/bindings/BorderType.d.ts +1 -1
- package/dist/node/json/bindings/BreakType.d.ts +1 -1
- package/dist/node/json/bindings/Caps.d.ts +1 -1
- package/dist/node/json/bindings/CharacterSpacing.d.ts +1 -1
- package/dist/node/json/bindings/Color.d.ts +1 -1
- package/dist/node/json/bindings/DeleteChild.d.ts +1 -1
- package/dist/node/json/bindings/DrawingPosition.d.ts +1 -1
- package/dist/node/json/bindings/DrawingPositionType.d.ts +1 -1
- package/dist/node/json/bindings/FieldCharType.d.ts +1 -1
- package/dist/node/json/bindings/Highlight.d.ts +1 -1
- package/dist/node/json/bindings/HyperlinkType.d.ts +1 -1
- package/dist/node/json/bindings/InsertChild.d.ts +1 -1
- package/dist/node/json/bindings/InstrText.d.ts +1 -1
- package/dist/node/json/bindings/Italic.d.ts +1 -1
- package/dist/node/json/bindings/ItalicCs.d.ts +1 -1
- package/dist/node/json/bindings/PicAlign.d.ts +1 -1
- package/dist/node/json/bindings/RelativeFromHType.d.ts +1 -1
- package/dist/node/json/bindings/RelativeFromVType.d.ts +1 -1
- package/dist/node/json/bindings/RunStyle.d.ts +1 -1
- package/dist/node/json/bindings/SpecVanish.d.ts +1 -1
- package/dist/node/json/bindings/Strike.d.ts +1 -1
- package/dist/node/json/bindings/StyleWithLevel.d.ts +1 -1
- package/dist/node/json/bindings/Sz.d.ts +1 -1
- package/dist/node/json/bindings/SzCs.d.ts +1 -1
- package/dist/node/json/bindings/TabLeaderType.d.ts +1 -1
- package/dist/node/json/bindings/TabLeaderType.js +0 -1
- package/dist/node/json/bindings/TabLeaderType.js.map +1 -1
- package/dist/node/json/bindings/TabValueType.d.ts +1 -1
- package/dist/node/json/bindings/TabValueType.js +0 -1
- package/dist/node/json/bindings/TabValueType.js.map +1 -1
- package/dist/node/json/bindings/TableCellBorderPosition.d.ts +1 -1
- package/dist/node/json/bindings/TextAlignmentType.d.ts +1 -1
- package/dist/node/json/bindings/Underline.d.ts +1 -1
- package/dist/node/json/bindings/Vanish.d.ts +1 -1
- package/dist/node/json/bindings/VertAlign.d.ts +1 -1
- package/dist/node/json/border.d.ts +1 -1
- package/dist/node/json/comment.d.ts +4 -4
- package/dist/node/json/document.d.ts +2 -2
- package/dist/node/json/drawing.d.ts +8 -8
- package/dist/node/json/footer.d.ts +2 -2
- package/dist/node/json/header.d.ts +2 -2
- package/dist/node/json/indent.d.ts +1 -1
- package/dist/node/json/index.d.ts +2 -2
- package/dist/node/json/line_spacing.d.ts +1 -1
- package/dist/node/json/numbering.d.ts +5 -5
- package/dist/node/json/paragraph.d.ts +15 -15
- package/dist/node/json/run.d.ts +13 -13
- package/dist/node/json/section-property.d.ts +4 -4
- package/dist/node/json/shading.d.ts +1 -1
- package/dist/node/json/shape.d.ts +1 -1
- package/dist/node/json/structured-data-tag.d.ts +2 -2
- package/dist/node/json/styles.d.ts +2 -2
- package/dist/node/json/table.d.ts +11 -11
- package/dist/node/json/textbox-content.d.ts +2 -2
- package/dist/node/json/web-settings.d.ts +2 -2
- package/dist/node/level.d.ts +1 -1
- package/dist/node/page-num.d.ts +1 -1
- package/dist/node/paragraph-property.d.ts +6 -4
- package/dist/node/paragraph-property.js +60 -0
- package/dist/node/paragraph-property.js.map +1 -1
- package/dist/node/paragraph.d.ts +8 -1
- package/dist/node/paragraph.js +4 -0
- package/dist/node/paragraph.js.map +1 -1
- package/dist/node/pkg/docx_wasm.d.ts +288 -274
- package/dist/node/pkg/docx_wasm.js +217 -196
- package/dist/node/pkg/docx_wasm_bg.wasm +0 -0
- package/dist/node/pkg/docx_wasm_bg.wasm.d.ts +173 -171
- package/dist/node/run.d.ts +7 -7
- package/dist/node/section-property.d.ts +4 -4
- package/dist/node/settings.d.ts +2 -2
- package/dist/node/style.d.ts +1 -1
- package/dist/node/table-cell-border.d.ts +1 -1
- package/dist/node/table-cell-borders.d.ts +1 -1
- package/dist/node/table-cell.d.ts +4 -4
- package/dist/node/table-row.d.ts +1 -1
- package/dist/node/table.d.ts +3 -3
- package/dist/web/border.d.ts +1 -1
- package/dist/web/break.d.ts +1 -1
- package/dist/web/builder.d.ts +1 -1
- package/dist/web/hyperlink.d.ts +1 -1
- package/dist/web/json/bindings/Bold.d.ts +1 -1
- package/dist/web/json/bindings/BoldCs.d.ts +1 -1
- package/dist/web/json/bindings/BorderType.d.ts +1 -1
- package/dist/web/json/bindings/BreakType.d.ts +1 -1
- package/dist/web/json/bindings/Caps.d.ts +1 -1
- package/dist/web/json/bindings/CharacterSpacing.d.ts +1 -1
- package/dist/web/json/bindings/Color.d.ts +1 -1
- package/dist/web/json/bindings/DeleteChild.d.ts +1 -1
- package/dist/web/json/bindings/DrawingPosition.d.ts +1 -1
- package/dist/web/json/bindings/DrawingPositionType.d.ts +1 -1
- package/dist/web/json/bindings/FieldCharType.d.ts +1 -1
- package/dist/web/json/bindings/Highlight.d.ts +1 -1
- package/dist/web/json/bindings/HyperlinkType.d.ts +1 -1
- package/dist/web/json/bindings/InsertChild.d.ts +1 -1
- package/dist/web/json/bindings/InstrText.d.ts +1 -1
- package/dist/web/json/bindings/Italic.d.ts +1 -1
- package/dist/web/json/bindings/ItalicCs.d.ts +1 -1
- package/dist/web/json/bindings/PicAlign.d.ts +1 -1
- package/dist/web/json/bindings/RelativeFromHType.d.ts +1 -1
- package/dist/web/json/bindings/RelativeFromVType.d.ts +1 -1
- package/dist/web/json/bindings/RunStyle.d.ts +1 -1
- package/dist/web/json/bindings/SpecVanish.d.ts +1 -1
- package/dist/web/json/bindings/Strike.d.ts +1 -1
- package/dist/web/json/bindings/StyleWithLevel.d.ts +1 -1
- package/dist/web/json/bindings/Sz.d.ts +1 -1
- package/dist/web/json/bindings/SzCs.d.ts +1 -1
- package/dist/web/json/bindings/TabLeaderType.d.ts +1 -1
- package/dist/web/json/bindings/TabLeaderType.js +0 -1
- package/dist/web/json/bindings/TabLeaderType.js.map +1 -1
- package/dist/web/json/bindings/TabValueType.d.ts +1 -1
- package/dist/web/json/bindings/TabValueType.js +0 -1
- package/dist/web/json/bindings/TabValueType.js.map +1 -1
- package/dist/web/json/bindings/TableCellBorderPosition.d.ts +1 -1
- package/dist/web/json/bindings/TextAlignmentType.d.ts +1 -1
- package/dist/web/json/bindings/Underline.d.ts +1 -1
- package/dist/web/json/bindings/Vanish.d.ts +1 -1
- package/dist/web/json/bindings/VertAlign.d.ts +1 -1
- package/dist/web/json/border.d.ts +1 -1
- package/dist/web/json/comment.d.ts +4 -4
- package/dist/web/json/document.d.ts +2 -2
- package/dist/web/json/drawing.d.ts +8 -8
- package/dist/web/json/footer.d.ts +2 -2
- package/dist/web/json/header.d.ts +2 -2
- package/dist/web/json/indent.d.ts +1 -1
- package/dist/web/json/index.d.ts +2 -2
- package/dist/web/json/line_spacing.d.ts +1 -1
- package/dist/web/json/numbering.d.ts +5 -5
- package/dist/web/json/paragraph.d.ts +15 -15
- package/dist/web/json/run.d.ts +13 -13
- package/dist/web/json/section-property.d.ts +4 -4
- package/dist/web/json/shading.d.ts +1 -1
- package/dist/web/json/shape.d.ts +1 -1
- package/dist/web/json/structured-data-tag.d.ts +2 -2
- package/dist/web/json/styles.d.ts +2 -2
- package/dist/web/json/table.d.ts +11 -11
- package/dist/web/json/textbox-content.d.ts +2 -2
- package/dist/web/json/web-settings.d.ts +2 -2
- package/dist/web/level.d.ts +1 -1
- package/dist/web/page-num.d.ts +1 -1
- package/dist/web/paragraph-property.d.ts +6 -4
- package/dist/web/paragraph-property.js +60 -0
- package/dist/web/paragraph-property.js.map +1 -1
- package/dist/web/paragraph.d.ts +8 -1
- package/dist/web/paragraph.js +4 -0
- package/dist/web/paragraph.js.map +1 -1
- package/dist/web/pkg/docx_wasm.d.ts +288 -274
- package/dist/web/pkg/docx_wasm_bg.js +215 -194
- package/dist/web/pkg/docx_wasm_bg.wasm +0 -0
- package/dist/web/pkg/docx_wasm_bg.wasm.d.ts +173 -171
- package/dist/web/run.d.ts +7 -7
- package/dist/web/section-property.d.ts +4 -4
- package/dist/web/settings.d.ts +2 -2
- package/dist/web/style.d.ts +1 -1
- package/dist/web/table-cell-border.d.ts +1 -1
- package/dist/web/table-cell-borders.d.ts +1 -1
- package/dist/web/table-cell.d.ts +4 -4
- package/dist/web/table-row.d.ts +1 -1
- package/dist/web/table.d.ts +3 -3
- package/js/json/bindings/Tab.ts +0 -1
- package/js/json/bindings/TabLeaderType.ts +1 -2
- package/js/json/bindings/TabValueType.ts +0 -1
- package/js/paragraph-property.ts +63 -0
- package/js/paragraph.ts +13 -0
- package/package.json +1 -1
|
@@ -1,21 +1,29 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* @
|
|
4
|
+
* @param {number} id
|
|
5
|
+
* @returns {Comment}
|
|
5
6
|
*/
|
|
6
|
-
export function
|
|
7
|
+
export function createComment(id: number): Comment;
|
|
7
8
|
/**
|
|
8
|
-
* @
|
|
9
|
+
* @param {string} v
|
|
10
|
+
* @param {number} t
|
|
11
|
+
* @returns {Hyperlink}
|
|
9
12
|
*/
|
|
10
|
-
export function
|
|
13
|
+
export function createHyperlink(v: string, t: number): Hyperlink;
|
|
11
14
|
/**
|
|
12
|
-
* @returns {
|
|
15
|
+
* @returns {PageNum}
|
|
13
16
|
*/
|
|
14
|
-
export function
|
|
17
|
+
export function createPageNum(): PageNum;
|
|
15
18
|
/**
|
|
16
|
-
* @returns {
|
|
19
|
+
* @returns {TableOfContents}
|
|
17
20
|
*/
|
|
18
|
-
export function
|
|
21
|
+
export function createTableOfContents(): TableOfContents;
|
|
22
|
+
/**
|
|
23
|
+
* @param {string} s
|
|
24
|
+
* @returns {TableOfContents}
|
|
25
|
+
*/
|
|
26
|
+
export function createTableOfContentsWithInstrText(s: string): TableOfContents;
|
|
19
27
|
/**
|
|
20
28
|
* @param {Uint8Array} buf
|
|
21
29
|
* @returns {Pic}
|
|
@@ -26,19 +34,31 @@ export function createPic(buf: Uint8Array): Pic;
|
|
|
26
34
|
*/
|
|
27
35
|
export function createTableCell(): TableCell;
|
|
28
36
|
/**
|
|
29
|
-
* @
|
|
30
|
-
* @returns {Delete}
|
|
37
|
+
* @returns {Footer}
|
|
31
38
|
*/
|
|
32
|
-
export function
|
|
39
|
+
export function createFooter(): Footer;
|
|
33
40
|
/**
|
|
34
|
-
* @returns {
|
|
41
|
+
* @returns {ParagraphPropertyChange}
|
|
35
42
|
*/
|
|
36
|
-
export function
|
|
43
|
+
export function createParagraphPropertyChange(): ParagraphPropertyChange;
|
|
37
44
|
/**
|
|
38
|
-
* @
|
|
39
|
-
* @returns {Insert}
|
|
45
|
+
* @returns {Paragraph}
|
|
40
46
|
*/
|
|
41
|
-
export function
|
|
47
|
+
export function createParagraph(): Paragraph;
|
|
48
|
+
/**
|
|
49
|
+
* @param {string} id
|
|
50
|
+
* @param {string} reference_id
|
|
51
|
+
* @param {string} version
|
|
52
|
+
* @param {string} store
|
|
53
|
+
* @param {string} store_type
|
|
54
|
+
* @returns {WebExtension}
|
|
55
|
+
*/
|
|
56
|
+
export function createWebExtension(id: string, reference_id: string, version: string, store: string, store_type: string): WebExtension;
|
|
57
|
+
/**
|
|
58
|
+
* @param {number} id
|
|
59
|
+
* @returns {AbstractNumbering}
|
|
60
|
+
*/
|
|
61
|
+
export function createAbstractNumbering(id: number): AbstractNumbering;
|
|
42
62
|
/**
|
|
43
63
|
* @param {number} id
|
|
44
64
|
* @param {number} abstract_num_id
|
|
@@ -52,68 +72,45 @@ export function createNumbering(id: number, abstract_num_id: number): Numbering;
|
|
|
52
72
|
*/
|
|
53
73
|
export function createStyle(style_id: string, style_type: number): Style;
|
|
54
74
|
/**
|
|
55
|
-
* @
|
|
75
|
+
* @param {number} position
|
|
76
|
+
* @returns {TableCellBorder}
|
|
56
77
|
*/
|
|
57
|
-
export function
|
|
78
|
+
export function createTableCellBorder(position: number): TableCellBorder;
|
|
58
79
|
/**
|
|
59
|
-
* @
|
|
60
|
-
* @returns {AbstractNumbering}
|
|
80
|
+
* @returns {LineSpacing}
|
|
61
81
|
*/
|
|
62
|
-
export function
|
|
82
|
+
export function createLineSpacing(): LineSpacing;
|
|
83
|
+
/**
|
|
84
|
+
* @param {Run} run
|
|
85
|
+
* @returns {Insert}
|
|
86
|
+
*/
|
|
87
|
+
export function createInsert(run: Run): Insert;
|
|
63
88
|
/**
|
|
64
89
|
* @param {Uint8Array} buf
|
|
65
90
|
* @returns {string}
|
|
66
91
|
*/
|
|
67
92
|
export function readDocx(buf: Uint8Array): string;
|
|
68
93
|
/**
|
|
69
|
-
* @
|
|
70
|
-
|
|
71
|
-
export function createFooter(): Footer;
|
|
72
|
-
/**
|
|
73
|
-
* @returns {PageMargin}
|
|
74
|
-
*/
|
|
75
|
-
export function createPageMargin(): PageMargin;
|
|
76
|
-
/**
|
|
77
|
-
* @returns {PageNum}
|
|
78
|
-
*/
|
|
79
|
-
export function createPageNum(): PageNum;
|
|
80
|
-
/**
|
|
81
|
-
* @param {number | undefined} start
|
|
82
|
-
* @param {string | undefined} chap_style
|
|
83
|
-
* @returns {PageNumType}
|
|
84
|
-
*/
|
|
85
|
-
export function createPageNumType(start?: number, chap_style?: string): PageNumType;
|
|
86
|
-
/**
|
|
87
|
-
* @returns {TableOfContents}
|
|
88
|
-
*/
|
|
89
|
-
export function createTableOfContents(): TableOfContents;
|
|
90
|
-
/**
|
|
91
|
-
* @param {string} s
|
|
92
|
-
* @returns {TableOfContents}
|
|
94
|
+
* @param {Run} run
|
|
95
|
+
* @returns {Delete}
|
|
93
96
|
*/
|
|
94
|
-
export function
|
|
97
|
+
export function createDelete(run: Run): Delete;
|
|
95
98
|
/**
|
|
96
|
-
* @
|
|
97
|
-
* @param {string} reference_id
|
|
98
|
-
* @param {string} version
|
|
99
|
-
* @param {string} store
|
|
100
|
-
* @param {string} store_type
|
|
101
|
-
* @returns {WebExtension}
|
|
99
|
+
* @returns {Docx}
|
|
102
100
|
*/
|
|
103
|
-
export function
|
|
101
|
+
export function createDocx(): Docx;
|
|
104
102
|
/**
|
|
105
|
-
* @returns {
|
|
103
|
+
* @returns {Header}
|
|
106
104
|
*/
|
|
107
|
-
export function
|
|
105
|
+
export function createHeader(): Header;
|
|
108
106
|
/**
|
|
109
107
|
* @returns {Run}
|
|
110
108
|
*/
|
|
111
109
|
export function createRun(): Run;
|
|
112
110
|
/**
|
|
113
|
-
* @
|
|
114
|
-
* @returns {TableCellBorder}
|
|
111
|
+
* @returns {RunFonts}
|
|
115
112
|
*/
|
|
116
|
-
export function
|
|
113
|
+
export function createRunFonts(): RunFonts;
|
|
117
114
|
/**
|
|
118
115
|
* @returns {TablePositionProperty}
|
|
119
116
|
*/
|
|
@@ -124,17 +121,6 @@ export function createTablePosition(): TablePositionProperty;
|
|
|
124
121
|
export function createTableRow(): TableRow;
|
|
125
122
|
/**
|
|
126
123
|
* @param {number} id
|
|
127
|
-
* @returns {Comment}
|
|
128
|
-
*/
|
|
129
|
-
export function createComment(id: number): Comment;
|
|
130
|
-
/**
|
|
131
|
-
* @param {string} v
|
|
132
|
-
* @param {number} t
|
|
133
|
-
* @returns {Hyperlink}
|
|
134
|
-
*/
|
|
135
|
-
export function createHyperlink(v: string, t: number): Hyperlink;
|
|
136
|
-
/**
|
|
137
|
-
* @param {number} id
|
|
138
124
|
* @param {number} start
|
|
139
125
|
* @param {string} format
|
|
140
126
|
* @param {string} text
|
|
@@ -148,18 +134,23 @@ export function createLevel(id: number, start: number, format: string, text: str
|
|
|
148
134
|
*/
|
|
149
135
|
export function createLevelOverride(level: number): LevelOverride;
|
|
150
136
|
/**
|
|
137
|
+
* @returns {PageMargin}
|
|
138
|
+
*/
|
|
139
|
+
export function createPageMargin(): PageMargin;
|
|
140
|
+
/**
|
|
141
|
+
* @param {number | undefined} start
|
|
142
|
+
* @param {string | undefined} chap_style
|
|
143
|
+
* @returns {PageNumType}
|
|
144
|
+
*/
|
|
145
|
+
export function createPageNumType(start?: number, chap_style?: string): PageNumType;
|
|
146
|
+
/**
|
|
151
147
|
* @returns {Table}
|
|
152
148
|
*/
|
|
153
149
|
export function createTable(): Table;
|
|
154
150
|
/**
|
|
151
|
+
* @returns {TableOfContentsItem}
|
|
155
152
|
*/
|
|
156
|
-
export
|
|
157
|
-
Paragraph,
|
|
158
|
-
Character,
|
|
159
|
-
Numbering,
|
|
160
|
-
Table,
|
|
161
|
-
Unsupported,
|
|
162
|
-
}
|
|
153
|
+
export function createTableOfContentsItem(): TableOfContentsItem;
|
|
163
154
|
/**
|
|
164
155
|
*/
|
|
165
156
|
export enum SpecialIndentKind {
|
|
@@ -168,25 +159,20 @@ export enum SpecialIndentKind {
|
|
|
168
159
|
}
|
|
169
160
|
/**
|
|
170
161
|
*/
|
|
171
|
-
export enum
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
*/
|
|
178
|
-
export enum PageOrientationType {
|
|
179
|
-
Landscape,
|
|
180
|
-
Portrait,
|
|
162
|
+
export enum StyleType {
|
|
163
|
+
Paragraph,
|
|
164
|
+
Character,
|
|
165
|
+
Numbering,
|
|
166
|
+
Table,
|
|
167
|
+
Unsupported,
|
|
181
168
|
}
|
|
182
169
|
/**
|
|
183
170
|
*/
|
|
184
|
-
export enum
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
OddPage,
|
|
171
|
+
export enum BreakType {
|
|
172
|
+
Page,
|
|
173
|
+
Column,
|
|
174
|
+
TextWrapping,
|
|
175
|
+
Unsupported,
|
|
190
176
|
}
|
|
191
177
|
/**
|
|
192
178
|
*/
|
|
@@ -197,155 +183,25 @@ export enum TableAlignmentType {
|
|
|
197
183
|
}
|
|
198
184
|
/**
|
|
199
185
|
*/
|
|
200
|
-
export enum LevelSuffixType {
|
|
201
|
-
Nothing,
|
|
202
|
-
Space,
|
|
203
|
-
Tab,
|
|
204
|
-
}
|
|
205
|
-
/**
|
|
206
|
-
*/
|
|
207
|
-
export enum BorderType {
|
|
208
|
-
Nil,
|
|
209
|
-
None,
|
|
210
|
-
Single,
|
|
211
|
-
Thick,
|
|
212
|
-
Double,
|
|
213
|
-
Dotted,
|
|
214
|
-
Dashed,
|
|
215
|
-
DotDash,
|
|
216
|
-
DotDotDash,
|
|
217
|
-
Triple,
|
|
218
|
-
ThinThickSmallGap,
|
|
219
|
-
ThickThinSmallGap,
|
|
220
|
-
ThinThickThinSmallGap,
|
|
221
|
-
ThinThickMediumGap,
|
|
222
|
-
ThickThinMediumGap,
|
|
223
|
-
ThinThickThinMediumGap,
|
|
224
|
-
ThinThickLargeGap,
|
|
225
|
-
ThickThinLargeGap,
|
|
226
|
-
ThinThickThinLargeGap,
|
|
227
|
-
Wave,
|
|
228
|
-
DoubleWave,
|
|
229
|
-
DashSmallGap,
|
|
230
|
-
DashDotStroked,
|
|
231
|
-
ThreeDEmboss,
|
|
232
|
-
ThreeDEngrave,
|
|
233
|
-
Outset,
|
|
234
|
-
Inset,
|
|
235
|
-
Apples,
|
|
236
|
-
ArchedScallops,
|
|
237
|
-
BabyPacifier,
|
|
238
|
-
BabyRattle,
|
|
239
|
-
}
|
|
240
|
-
/**
|
|
241
|
-
*/
|
|
242
|
-
export enum DrawingPositionType {
|
|
243
|
-
Anchor,
|
|
244
|
-
Inline,
|
|
245
|
-
}
|
|
246
|
-
/**
|
|
247
|
-
*/
|
|
248
|
-
export enum PicAlign {
|
|
249
|
-
Left,
|
|
250
|
-
Right,
|
|
251
|
-
Center,
|
|
252
|
-
Bottom,
|
|
253
|
-
Top,
|
|
254
|
-
}
|
|
255
|
-
/**
|
|
256
|
-
*/
|
|
257
|
-
export enum FieldCharType {
|
|
258
|
-
Begin,
|
|
259
|
-
Separate,
|
|
260
|
-
End,
|
|
261
|
-
Unsupported,
|
|
262
|
-
}
|
|
263
|
-
/**
|
|
264
|
-
*/
|
|
265
|
-
export enum ShdType {
|
|
266
|
-
Nil,
|
|
267
|
-
Clear,
|
|
268
|
-
Solid,
|
|
269
|
-
HorzStripe,
|
|
270
|
-
VertStripe,
|
|
271
|
-
ReverseDiagStripe,
|
|
272
|
-
DiagStripe,
|
|
273
|
-
HorzCross,
|
|
274
|
-
DiagCross,
|
|
275
|
-
ThinHorzStripe,
|
|
276
|
-
ThinVertStripe,
|
|
277
|
-
ThinReverseDiagStripe,
|
|
278
|
-
ThinDiagStripe,
|
|
279
|
-
ThinHorzCross,
|
|
280
|
-
ThinDiagCross,
|
|
281
|
-
Pct5,
|
|
282
|
-
Pct10,
|
|
283
|
-
Pct12,
|
|
284
|
-
Pct15,
|
|
285
|
-
Pct20,
|
|
286
|
-
Pct25,
|
|
287
|
-
Pct30,
|
|
288
|
-
Pct35,
|
|
289
|
-
Pct37,
|
|
290
|
-
Pct40,
|
|
291
|
-
Pct45,
|
|
292
|
-
Pct50,
|
|
293
|
-
Pct55,
|
|
294
|
-
Pct60,
|
|
295
|
-
Pct62,
|
|
296
|
-
Pct65,
|
|
297
|
-
Pct70,
|
|
298
|
-
Pct75,
|
|
299
|
-
Pct80,
|
|
300
|
-
Pct85,
|
|
301
|
-
Pct87,
|
|
302
|
-
Pct90,
|
|
303
|
-
Pct95,
|
|
304
|
-
}
|
|
305
|
-
/**
|
|
306
|
-
*/
|
|
307
|
-
export enum TextAlignmentType {
|
|
308
|
-
Auto,
|
|
309
|
-
Baseline,
|
|
310
|
-
Bottom,
|
|
311
|
-
Center,
|
|
312
|
-
Top,
|
|
313
|
-
}
|
|
314
|
-
/**
|
|
315
|
-
*/
|
|
316
|
-
export enum VMergeType {
|
|
317
|
-
Continue,
|
|
318
|
-
Restart,
|
|
319
|
-
Unsupported,
|
|
320
|
-
}
|
|
321
|
-
/**
|
|
322
|
-
*/
|
|
323
|
-
export enum BreakType {
|
|
324
|
-
Page,
|
|
325
|
-
Column,
|
|
326
|
-
TextWrapping,
|
|
327
|
-
Unsupported,
|
|
186
|
+
export enum LevelSuffixType {
|
|
187
|
+
Nothing,
|
|
188
|
+
Space,
|
|
189
|
+
Tab,
|
|
328
190
|
}
|
|
329
191
|
/**
|
|
330
192
|
*/
|
|
331
|
-
export enum
|
|
193
|
+
export enum TextAlignmentType {
|
|
332
194
|
Auto,
|
|
333
|
-
|
|
334
|
-
|
|
195
|
+
Baseline,
|
|
196
|
+
Bottom,
|
|
197
|
+
Center,
|
|
198
|
+
Top,
|
|
335
199
|
}
|
|
336
200
|
/**
|
|
337
201
|
*/
|
|
338
|
-
export enum
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
Rl,
|
|
342
|
-
RlV,
|
|
343
|
-
Tb,
|
|
344
|
-
TbV,
|
|
345
|
-
TbRlV,
|
|
346
|
-
TbRl,
|
|
347
|
-
BtLr,
|
|
348
|
-
LrTbV,
|
|
202
|
+
export enum PageOrientationType {
|
|
203
|
+
Landscape,
|
|
204
|
+
Portrait,
|
|
349
205
|
}
|
|
350
206
|
/**
|
|
351
207
|
*/
|
|
@@ -381,17 +237,19 @@ export enum ParagraphBorderPosition {
|
|
|
381
237
|
}
|
|
382
238
|
/**
|
|
383
239
|
*/
|
|
384
|
-
export enum
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
Unsupported,
|
|
240
|
+
export enum LineSpacingType {
|
|
241
|
+
Auto,
|
|
242
|
+
AtLeast,
|
|
243
|
+
Exact,
|
|
389
244
|
}
|
|
390
245
|
/**
|
|
391
246
|
*/
|
|
392
|
-
export enum
|
|
393
|
-
|
|
394
|
-
|
|
247
|
+
export enum SectionType {
|
|
248
|
+
NextPage,
|
|
249
|
+
NextColumn,
|
|
250
|
+
Continuous,
|
|
251
|
+
EvenPage,
|
|
252
|
+
OddPage,
|
|
395
253
|
}
|
|
396
254
|
/**
|
|
397
255
|
*/
|
|
@@ -408,20 +266,77 @@ export enum TabValueType {
|
|
|
408
266
|
}
|
|
409
267
|
/**
|
|
410
268
|
*/
|
|
411
|
-
export enum
|
|
412
|
-
|
|
413
|
-
|
|
269
|
+
export enum VMergeType {
|
|
270
|
+
Continue,
|
|
271
|
+
Restart,
|
|
272
|
+
Unsupported,
|
|
414
273
|
}
|
|
415
274
|
/**
|
|
416
275
|
*/
|
|
417
|
-
export enum
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
276
|
+
export enum WidthType {
|
|
277
|
+
Dxa,
|
|
278
|
+
Auto,
|
|
279
|
+
Pct,
|
|
280
|
+
Nil,
|
|
281
|
+
Unsupported,
|
|
282
|
+
}
|
|
283
|
+
/**
|
|
284
|
+
*/
|
|
285
|
+
export enum CharacterSpacingValues {
|
|
286
|
+
DoNotCompress,
|
|
287
|
+
CompressPunctuation,
|
|
288
|
+
CompressPunctuationAndJapaneseKana,
|
|
289
|
+
Unsupported,
|
|
290
|
+
}
|
|
291
|
+
/**
|
|
292
|
+
*/
|
|
293
|
+
export enum DocGridType {
|
|
294
|
+
Default,
|
|
295
|
+
Lines,
|
|
296
|
+
LinesAndChars,
|
|
297
|
+
SnapToChars,
|
|
298
|
+
}
|
|
299
|
+
/**
|
|
300
|
+
*/
|
|
301
|
+
export enum FieldCharType {
|
|
302
|
+
Begin,
|
|
303
|
+
Separate,
|
|
304
|
+
End,
|
|
421
305
|
Unsupported,
|
|
422
306
|
}
|
|
423
307
|
/**
|
|
424
308
|
*/
|
|
309
|
+
export enum FontPitchType {
|
|
310
|
+
Default,
|
|
311
|
+
Fixed,
|
|
312
|
+
Variable,
|
|
313
|
+
}
|
|
314
|
+
/**
|
|
315
|
+
*/
|
|
316
|
+
export enum TabLeaderType {
|
|
317
|
+
Dot,
|
|
318
|
+
Heavy,
|
|
319
|
+
Hyphen,
|
|
320
|
+
MiddleDot,
|
|
321
|
+
None,
|
|
322
|
+
Underscore,
|
|
323
|
+
}
|
|
324
|
+
/**
|
|
325
|
+
*/
|
|
326
|
+
export enum TextDirectionType {
|
|
327
|
+
Lr,
|
|
328
|
+
LrV,
|
|
329
|
+
Rl,
|
|
330
|
+
RlV,
|
|
331
|
+
Tb,
|
|
332
|
+
TbV,
|
|
333
|
+
TbRlV,
|
|
334
|
+
TbRl,
|
|
335
|
+
BtLr,
|
|
336
|
+
LrTbV,
|
|
337
|
+
}
|
|
338
|
+
/**
|
|
339
|
+
*/
|
|
425
340
|
export enum AlignmentType {
|
|
426
341
|
Both,
|
|
427
342
|
Center,
|
|
@@ -435,11 +350,9 @@ export enum AlignmentType {
|
|
|
435
350
|
}
|
|
436
351
|
/**
|
|
437
352
|
*/
|
|
438
|
-
export enum
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
LinesAndChars,
|
|
442
|
-
SnapToChars,
|
|
353
|
+
export enum HyperlinkType {
|
|
354
|
+
Anchor,
|
|
355
|
+
External,
|
|
443
356
|
}
|
|
444
357
|
/**
|
|
445
358
|
*/
|
|
@@ -451,7 +364,113 @@ export enum VAlignType {
|
|
|
451
364
|
}
|
|
452
365
|
/**
|
|
453
366
|
*/
|
|
454
|
-
export enum
|
|
367
|
+
export enum ShdType {
|
|
368
|
+
Nil,
|
|
369
|
+
Clear,
|
|
370
|
+
Solid,
|
|
371
|
+
HorzStripe,
|
|
372
|
+
VertStripe,
|
|
373
|
+
ReverseDiagStripe,
|
|
374
|
+
DiagStripe,
|
|
375
|
+
HorzCross,
|
|
376
|
+
DiagCross,
|
|
377
|
+
ThinHorzStripe,
|
|
378
|
+
ThinVertStripe,
|
|
379
|
+
ThinReverseDiagStripe,
|
|
380
|
+
ThinDiagStripe,
|
|
381
|
+
ThinHorzCross,
|
|
382
|
+
ThinDiagCross,
|
|
383
|
+
Pct5,
|
|
384
|
+
Pct10,
|
|
385
|
+
Pct12,
|
|
386
|
+
Pct15,
|
|
387
|
+
Pct20,
|
|
388
|
+
Pct25,
|
|
389
|
+
Pct30,
|
|
390
|
+
Pct35,
|
|
391
|
+
Pct37,
|
|
392
|
+
Pct40,
|
|
393
|
+
Pct45,
|
|
394
|
+
Pct50,
|
|
395
|
+
Pct55,
|
|
396
|
+
Pct60,
|
|
397
|
+
Pct62,
|
|
398
|
+
Pct65,
|
|
399
|
+
Pct70,
|
|
400
|
+
Pct75,
|
|
401
|
+
Pct80,
|
|
402
|
+
Pct85,
|
|
403
|
+
Pct87,
|
|
404
|
+
Pct90,
|
|
405
|
+
Pct95,
|
|
406
|
+
}
|
|
407
|
+
/**
|
|
408
|
+
*/
|
|
409
|
+
export enum TableLayoutType {
|
|
410
|
+
Fixed,
|
|
411
|
+
Autofit,
|
|
412
|
+
}
|
|
413
|
+
/**
|
|
414
|
+
*/
|
|
415
|
+
export enum VertAlignType {
|
|
416
|
+
Baseline,
|
|
417
|
+
SuperScript,
|
|
418
|
+
SubScript,
|
|
419
|
+
Unsupported,
|
|
420
|
+
}
|
|
421
|
+
/**
|
|
422
|
+
*/
|
|
423
|
+
export enum BorderType {
|
|
424
|
+
Nil,
|
|
425
|
+
None,
|
|
426
|
+
Single,
|
|
427
|
+
Thick,
|
|
428
|
+
Double,
|
|
429
|
+
Dotted,
|
|
430
|
+
Dashed,
|
|
431
|
+
DotDash,
|
|
432
|
+
DotDotDash,
|
|
433
|
+
Triple,
|
|
434
|
+
ThinThickSmallGap,
|
|
435
|
+
ThickThinSmallGap,
|
|
436
|
+
ThinThickThinSmallGap,
|
|
437
|
+
ThinThickMediumGap,
|
|
438
|
+
ThickThinMediumGap,
|
|
439
|
+
ThinThickThinMediumGap,
|
|
440
|
+
ThinThickLargeGap,
|
|
441
|
+
ThickThinLargeGap,
|
|
442
|
+
ThinThickThinLargeGap,
|
|
443
|
+
Wave,
|
|
444
|
+
DoubleWave,
|
|
445
|
+
DashSmallGap,
|
|
446
|
+
DashDotStroked,
|
|
447
|
+
ThreeDEmboss,
|
|
448
|
+
ThreeDEngrave,
|
|
449
|
+
Outset,
|
|
450
|
+
Inset,
|
|
451
|
+
Apples,
|
|
452
|
+
ArchedScallops,
|
|
453
|
+
BabyPacifier,
|
|
454
|
+
BabyRattle,
|
|
455
|
+
}
|
|
456
|
+
/**
|
|
457
|
+
*/
|
|
458
|
+
export enum DrawingPositionType {
|
|
459
|
+
Anchor,
|
|
460
|
+
Inline,
|
|
461
|
+
}
|
|
462
|
+
/**
|
|
463
|
+
*/
|
|
464
|
+
export enum PicAlign {
|
|
465
|
+
Left,
|
|
466
|
+
Right,
|
|
467
|
+
Center,
|
|
468
|
+
Bottom,
|
|
469
|
+
Top,
|
|
470
|
+
}
|
|
471
|
+
/**
|
|
472
|
+
*/
|
|
473
|
+
export enum HeightRule {
|
|
455
474
|
Auto,
|
|
456
475
|
AtLeast,
|
|
457
476
|
Exact,
|
|
@@ -518,25 +537,6 @@ export enum RelativeFromVType {
|
|
|
518
537
|
}
|
|
519
538
|
/**
|
|
520
539
|
*/
|
|
521
|
-
export enum TabLeaderType {
|
|
522
|
-
Dot,
|
|
523
|
-
Heavy,
|
|
524
|
-
Hyphen,
|
|
525
|
-
MiddleDot,
|
|
526
|
-
None,
|
|
527
|
-
Underscore,
|
|
528
|
-
}
|
|
529
|
-
/**
|
|
530
|
-
*/
|
|
531
|
-
export enum WidthType {
|
|
532
|
-
Dxa,
|
|
533
|
-
Auto,
|
|
534
|
-
Pct,
|
|
535
|
-
Nil,
|
|
536
|
-
Unsupported,
|
|
537
|
-
}
|
|
538
|
-
/**
|
|
539
|
-
*/
|
|
540
540
|
export class AbstractNumbering {
|
|
541
541
|
free(): void;
|
|
542
542
|
/**
|
|
@@ -1248,6 +1248,13 @@ export class Paragraph {
|
|
|
1248
1248
|
*/
|
|
1249
1249
|
insert(author: string, date: string): Paragraph;
|
|
1250
1250
|
/**
|
|
1251
|
+
* @param {number | undefined} val
|
|
1252
|
+
* @param {number | undefined} leader
|
|
1253
|
+
* @param {number | undefined} pos
|
|
1254
|
+
* @returns {Paragraph}
|
|
1255
|
+
*/
|
|
1256
|
+
add_tab(val?: number, leader?: number, pos?: number): Paragraph;
|
|
1257
|
+
/**
|
|
1251
1258
|
* @param {ParagraphPropertyChange} p
|
|
1252
1259
|
* @returns {Paragraph}
|
|
1253
1260
|
*/
|
|
@@ -1558,6 +1565,13 @@ export class Style {
|
|
|
1558
1565
|
*/
|
|
1559
1566
|
adjust_right_ind(v: number): Style;
|
|
1560
1567
|
/**
|
|
1568
|
+
* @param {number | undefined} val
|
|
1569
|
+
* @param {number | undefined} leader
|
|
1570
|
+
* @param {number | undefined} pos
|
|
1571
|
+
* @returns {Style}
|
|
1572
|
+
*/
|
|
1573
|
+
add_tab(val?: number, leader?: number, pos?: number): Style;
|
|
1574
|
+
/**
|
|
1561
1575
|
* @param {number} left
|
|
1562
1576
|
* @param {number | undefined} special_indent_kind
|
|
1563
1577
|
* @param {number | undefined} special_indent_size
|