docx-wasm 0.4.18-rc40 → 0.4.18-rc42
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/json/run.d.ts +1 -0
- package/dist/node/pkg/docx_wasm.d.ts +269 -245
- package/dist/node/pkg/docx_wasm.js +351 -303
- package/dist/node/pkg/docx_wasm_bg.wasm +0 -0
- package/dist/node/pkg/docx_wasm_bg.wasm.d.ts +162 -156
- package/dist/node/run-property.d.ts +3 -0
- package/dist/node/run-property.js +19 -0
- package/dist/node/run-property.js.map +1 -1
- package/dist/node/run.d.ts +1 -0
- package/dist/node/run.js +6 -0
- package/dist/node/run.js.map +1 -1
- package/dist/node/style.d.ts +1 -0
- package/dist/node/style.js +4 -0
- package/dist/node/style.js.map +1 -1
- package/dist/node/table.d.ts +1 -1
- package/dist/web/json/run.d.ts +1 -0
- package/dist/web/pkg/docx_wasm.d.ts +269 -245
- package/dist/web/pkg/docx_wasm_bg.js +350 -302
- package/dist/web/pkg/docx_wasm_bg.wasm +0 -0
- package/dist/web/pkg/docx_wasm_bg.wasm.d.ts +162 -156
- package/dist/web/run-property.d.ts +3 -0
- package/dist/web/run-property.js +19 -0
- package/dist/web/run-property.js.map +1 -1
- package/dist/web/run.d.ts +1 -0
- package/dist/web/run.js +6 -0
- package/dist/web/run.js.map +1 -1
- package/dist/web/style.d.ts +1 -0
- package/dist/web/style.js +4 -0
- package/dist/web/style.js.map +1 -1
- package/dist/web/table.d.ts +1 -1
- package/js/json/run.ts +1 -0
- package/js/run-property.ts +23 -0
- package/js/run.ts +6 -0
- package/js/style.ts +5 -0
- package/package.json +1 -1
package/dist/node/json/run.d.ts
CHANGED
|
@@ -47,6 +47,7 @@ export type RunPropertyJSON = {
|
|
|
47
47
|
ins?: InsertJSONData | null;
|
|
48
48
|
del?: DeleteJSONData | null;
|
|
49
49
|
strike?: boolean;
|
|
50
|
+
dstrike?: boolean;
|
|
50
51
|
};
|
|
51
52
|
export type RunChildJSON = TextJSON | SymJSON | DeleteTextJSON | TabJSON | BreakJSON | DrawingJSON | PtabJSON | ShapeJSON | CommentRangeStartJSON | CommentRangeEndJSON | FieldCharJSON | InstrTextStringJSON;
|
|
52
53
|
export type TextJSON = {
|
|
@@ -6,19 +6,13 @@
|
|
|
6
6
|
*/
|
|
7
7
|
export function createPic(buf: Uint8Array): Pic;
|
|
8
8
|
/**
|
|
9
|
-
* @
|
|
10
|
-
* @returns {Insert}
|
|
11
|
-
*/
|
|
12
|
-
export function createInsert(run: Run): Insert;
|
|
13
|
-
/**
|
|
14
|
-
* @param {Uint8Array} buf
|
|
15
|
-
* @returns {string}
|
|
9
|
+
* @returns {Footer}
|
|
16
10
|
*/
|
|
17
|
-
export function
|
|
11
|
+
export function createFooter(): Footer;
|
|
18
12
|
/**
|
|
19
|
-
* @returns {
|
|
13
|
+
* @returns {PageNum}
|
|
20
14
|
*/
|
|
21
|
-
export function
|
|
15
|
+
export function createPageNum(): PageNum;
|
|
22
16
|
/**
|
|
23
17
|
* @returns {ParagraphPropertyChange}
|
|
24
18
|
*/
|
|
@@ -32,11 +26,55 @@ export function createParagraphProperty(): ParagraphProperty;
|
|
|
32
26
|
*/
|
|
33
27
|
export function createTableCell(): TableCell;
|
|
34
28
|
/**
|
|
29
|
+
* @param {string} id
|
|
30
|
+
* @param {string} reference_id
|
|
31
|
+
* @param {string} version
|
|
32
|
+
* @param {string} store
|
|
33
|
+
* @param {string} store_type
|
|
34
|
+
* @returns {WebExtension}
|
|
35
|
+
*/
|
|
36
|
+
export function createWebExtension(id: string, reference_id: string, version: string, store: string, store_type: string): WebExtension;
|
|
37
|
+
/**
|
|
38
|
+
* @param {number} id
|
|
39
|
+
* @returns {AbstractNumbering}
|
|
40
|
+
*/
|
|
41
|
+
export function createAbstractNumbering(id: number): AbstractNumbering;
|
|
42
|
+
/**
|
|
43
|
+
* @returns {NumPages}
|
|
44
|
+
*/
|
|
45
|
+
export function createNumPages(): NumPages;
|
|
46
|
+
/**
|
|
47
|
+
* @returns {Run}
|
|
48
|
+
*/
|
|
49
|
+
export function createRun(): Run;
|
|
50
|
+
/**
|
|
51
|
+
* @returns {Table}
|
|
52
|
+
*/
|
|
53
|
+
export function createTable(): Table;
|
|
54
|
+
/**
|
|
35
55
|
* @param {number} position
|
|
36
56
|
* @returns {TableCellBorder}
|
|
37
57
|
*/
|
|
38
58
|
export function createTableCellBorder(position: number): TableCellBorder;
|
|
39
59
|
/**
|
|
60
|
+
* @returns {TableRow}
|
|
61
|
+
*/
|
|
62
|
+
export function createTableRow(): TableRow;
|
|
63
|
+
/**
|
|
64
|
+
* @param {Run} run
|
|
65
|
+
* @returns {Insert}
|
|
66
|
+
*/
|
|
67
|
+
export function createInsert(run: Run): Insert;
|
|
68
|
+
/**
|
|
69
|
+
* @param {Uint8Array} buf
|
|
70
|
+
* @returns {string}
|
|
71
|
+
*/
|
|
72
|
+
export function readDocx(buf: Uint8Array): string;
|
|
73
|
+
/**
|
|
74
|
+
* @returns {PageMargin}
|
|
75
|
+
*/
|
|
76
|
+
export function createPageMargin(): PageMargin;
|
|
77
|
+
/**
|
|
40
78
|
* @returns {RunFonts}
|
|
41
79
|
*/
|
|
42
80
|
export function createRunFonts(): RunFonts;
|
|
@@ -47,19 +85,32 @@ export function createRunFonts(): RunFonts;
|
|
|
47
85
|
*/
|
|
48
86
|
export function createStyle(style_id: string, style_type: number): Style;
|
|
49
87
|
/**
|
|
50
|
-
* @returns {Footer}
|
|
51
|
-
*/
|
|
52
|
-
export function createFooter(): Footer;
|
|
53
|
-
/**
|
|
54
88
|
* @param {string} v
|
|
55
89
|
* @param {number} t
|
|
56
90
|
* @returns {Hyperlink}
|
|
57
91
|
*/
|
|
58
92
|
export function createHyperlink(v: string, t: number): Hyperlink;
|
|
59
93
|
/**
|
|
60
|
-
* @
|
|
94
|
+
* @param {number} id
|
|
95
|
+
* @param {number} abstract_num_id
|
|
96
|
+
* @returns {Numbering}
|
|
61
97
|
*/
|
|
62
|
-
export function
|
|
98
|
+
export function createNumbering(id: number, abstract_num_id: number): Numbering;
|
|
99
|
+
/**
|
|
100
|
+
* @returns {Paragraph}
|
|
101
|
+
*/
|
|
102
|
+
export function createParagraph(): Paragraph;
|
|
103
|
+
/**
|
|
104
|
+
* @param {number} alignment
|
|
105
|
+
* @param {number} relative_to
|
|
106
|
+
* @param {number} leader
|
|
107
|
+
* @returns {PositionalTab}
|
|
108
|
+
*/
|
|
109
|
+
export function createPositionalTab(alignment: number, relative_to: number, leader: number): PositionalTab;
|
|
110
|
+
/**
|
|
111
|
+
* @returns {LineSpacing}
|
|
112
|
+
*/
|
|
113
|
+
export function createLineSpacing(): LineSpacing;
|
|
63
114
|
/**
|
|
64
115
|
* @param {number | undefined} start
|
|
65
116
|
* @param {string | undefined} chap_style
|
|
@@ -67,6 +118,10 @@ export function createPageNum(): PageNum;
|
|
|
67
118
|
*/
|
|
68
119
|
export function createPageNumType(start?: number, chap_style?: string): PageNumType;
|
|
69
120
|
/**
|
|
121
|
+
* @returns {RunProperty}
|
|
122
|
+
*/
|
|
123
|
+
export function createRunProperty(): RunProperty;
|
|
124
|
+
/**
|
|
70
125
|
* @returns {TableOfContents}
|
|
71
126
|
*/
|
|
72
127
|
export function createTableOfContents(): TableOfContents;
|
|
@@ -80,33 +135,14 @@ export function createTableOfContentsWithInstrText(s: string): TableOfContents;
|
|
|
80
135
|
*/
|
|
81
136
|
export function createTableOfContentsItem(): TableOfContentsItem;
|
|
82
137
|
/**
|
|
83
|
-
* @
|
|
84
|
-
|
|
85
|
-
export function createTableRow(): TableRow;
|
|
86
|
-
/**
|
|
87
|
-
* @returns {PageMargin}
|
|
88
|
-
*/
|
|
89
|
-
export function createPageMargin(): PageMargin;
|
|
90
|
-
/**
|
|
91
|
-
* @returns {Paragraph}
|
|
92
|
-
*/
|
|
93
|
-
export function createParagraph(): Paragraph;
|
|
94
|
-
/**
|
|
95
|
-
* @param {number} alignment
|
|
96
|
-
* @param {number} relative_to
|
|
97
|
-
* @param {number} leader
|
|
98
|
-
* @returns {PositionalTab}
|
|
138
|
+
* @param {number} id
|
|
139
|
+
* @returns {Comment}
|
|
99
140
|
*/
|
|
100
|
-
export function
|
|
141
|
+
export function createComment(id: number): Comment;
|
|
101
142
|
/**
|
|
102
|
-
* @
|
|
103
|
-
* @param {string} reference_id
|
|
104
|
-
* @param {string} version
|
|
105
|
-
* @param {string} store
|
|
106
|
-
* @param {string} store_type
|
|
107
|
-
* @returns {WebExtension}
|
|
143
|
+
* @returns {Docx}
|
|
108
144
|
*/
|
|
109
|
-
export function
|
|
145
|
+
export function createDocx(): Docx;
|
|
110
146
|
/**
|
|
111
147
|
* @param {Run} run
|
|
112
148
|
* @returns {Delete}
|
|
@@ -117,6 +153,10 @@ export function createDelete(run: Run): Delete;
|
|
|
117
153
|
*/
|
|
118
154
|
export function createFrameProperty(): FrameProperty;
|
|
119
155
|
/**
|
|
156
|
+
* @returns {Header}
|
|
157
|
+
*/
|
|
158
|
+
export function createHeader(): Header;
|
|
159
|
+
/**
|
|
120
160
|
* @param {number} id
|
|
121
161
|
* @param {number} start
|
|
122
162
|
* @param {string} format
|
|
@@ -131,85 +171,10 @@ export function createLevel(id: number, start: number, format: string, text: str
|
|
|
131
171
|
*/
|
|
132
172
|
export function createLevelOverride(level: number): LevelOverride;
|
|
133
173
|
/**
|
|
134
|
-
* @returns {LineSpacing}
|
|
135
|
-
*/
|
|
136
|
-
export function createLineSpacing(): LineSpacing;
|
|
137
|
-
/**
|
|
138
|
-
* @returns {Table}
|
|
139
|
-
*/
|
|
140
|
-
export function createTable(): Table;
|
|
141
|
-
/**
|
|
142
|
-
* @returns {NumPages}
|
|
143
|
-
*/
|
|
144
|
-
export function createNumPages(): NumPages;
|
|
145
|
-
/**
|
|
146
|
-
* @param {number} id
|
|
147
|
-
* @returns {AbstractNumbering}
|
|
148
|
-
*/
|
|
149
|
-
export function createAbstractNumbering(id: number): AbstractNumbering;
|
|
150
|
-
/**
|
|
151
|
-
* @param {number} id
|
|
152
|
-
* @param {number} abstract_num_id
|
|
153
|
-
* @returns {Numbering}
|
|
154
|
-
*/
|
|
155
|
-
export function createNumbering(id: number, abstract_num_id: number): Numbering;
|
|
156
|
-
/**
|
|
157
|
-
* @returns {Run}
|
|
158
|
-
*/
|
|
159
|
-
export function createRun(): Run;
|
|
160
|
-
/**
|
|
161
|
-
* @returns {RunProperty}
|
|
162
|
-
*/
|
|
163
|
-
export function createRunProperty(): RunProperty;
|
|
164
|
-
/**
|
|
165
174
|
* @returns {TablePositionProperty}
|
|
166
175
|
*/
|
|
167
176
|
export function createTablePosition(): TablePositionProperty;
|
|
168
177
|
/**
|
|
169
|
-
* @param {number} id
|
|
170
|
-
* @returns {Comment}
|
|
171
|
-
*/
|
|
172
|
-
export function createComment(id: number): Comment;
|
|
173
|
-
/**
|
|
174
|
-
* @returns {Docx}
|
|
175
|
-
*/
|
|
176
|
-
export function createDocx(): Docx;
|
|
177
|
-
/**
|
|
178
|
-
*/
|
|
179
|
-
export enum FieldCharType {
|
|
180
|
-
Begin,
|
|
181
|
-
Separate,
|
|
182
|
-
End,
|
|
183
|
-
Unsupported,
|
|
184
|
-
}
|
|
185
|
-
/**
|
|
186
|
-
*/
|
|
187
|
-
export enum TabLeaderType {
|
|
188
|
-
Dot,
|
|
189
|
-
Heavy,
|
|
190
|
-
Hyphen,
|
|
191
|
-
MiddleDot,
|
|
192
|
-
None,
|
|
193
|
-
Underscore,
|
|
194
|
-
}
|
|
195
|
-
/**
|
|
196
|
-
*/
|
|
197
|
-
export enum TextAlignmentType {
|
|
198
|
-
Auto,
|
|
199
|
-
Baseline,
|
|
200
|
-
Bottom,
|
|
201
|
-
Center,
|
|
202
|
-
Top,
|
|
203
|
-
}
|
|
204
|
-
/**
|
|
205
|
-
*/
|
|
206
|
-
export enum VertAlignType {
|
|
207
|
-
Baseline,
|
|
208
|
-
SuperScript,
|
|
209
|
-
SubScript,
|
|
210
|
-
Unsupported,
|
|
211
|
-
}
|
|
212
|
-
/**
|
|
213
178
|
*/
|
|
214
179
|
export enum BorderType {
|
|
215
180
|
Nil,
|
|
@@ -275,16 +240,85 @@ export enum HyperlinkType {
|
|
|
275
240
|
}
|
|
276
241
|
/**
|
|
277
242
|
*/
|
|
243
|
+
export enum LineSpacingType {
|
|
244
|
+
Auto,
|
|
245
|
+
AtLeast,
|
|
246
|
+
Exact,
|
|
247
|
+
}
|
|
248
|
+
/**
|
|
249
|
+
*/
|
|
278
250
|
export enum PageOrientationType {
|
|
279
251
|
Landscape,
|
|
280
252
|
Portrait,
|
|
281
253
|
}
|
|
282
254
|
/**
|
|
283
255
|
*/
|
|
284
|
-
export enum
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
256
|
+
export enum RelativeFromHType {
|
|
257
|
+
/**
|
|
258
|
+
* Specifies that the horizontal positioning shall be
|
|
259
|
+
* relative to the position of the anchor within its run
|
|
260
|
+
* content.
|
|
261
|
+
*/
|
|
262
|
+
Character,
|
|
263
|
+
/**
|
|
264
|
+
* Specifies that the horizontal positioning shall be
|
|
265
|
+
* relative to the extents of the column which contains its
|
|
266
|
+
* anchor.
|
|
267
|
+
*/
|
|
268
|
+
Column,
|
|
269
|
+
/**
|
|
270
|
+
* Specifies that the horizontal positioning shall be
|
|
271
|
+
* relative to the inside margin of the current page (the
|
|
272
|
+
* left margin on odd pages, right on even pages).
|
|
273
|
+
*/
|
|
274
|
+
InsideMargin,
|
|
275
|
+
/**
|
|
276
|
+
* Specifies that the horizontal positioning shall be
|
|
277
|
+
* relative to the left margin of the page.
|
|
278
|
+
*/
|
|
279
|
+
LeftMargin,
|
|
280
|
+
/**
|
|
281
|
+
* Specifies that the horizontal positioning shall be
|
|
282
|
+
* relative to the page margins.
|
|
283
|
+
*/
|
|
284
|
+
Margin,
|
|
285
|
+
/**
|
|
286
|
+
* Specifies that the horizontal positioning shall be
|
|
287
|
+
* relative to the outside margin of the current page (the
|
|
288
|
+
* right margin on odd pages, left on even pages).
|
|
289
|
+
*/
|
|
290
|
+
OutsizeMargin,
|
|
291
|
+
/**
|
|
292
|
+
* Specifies that the horizontal positioning shall be
|
|
293
|
+
* relative to the edge of the page.
|
|
294
|
+
*/
|
|
295
|
+
Page,
|
|
296
|
+
/**
|
|
297
|
+
* Specifies that the horizontal positioning shall be
|
|
298
|
+
* relative to the right margin of the page.
|
|
299
|
+
*/
|
|
300
|
+
RightMargin,
|
|
301
|
+
}
|
|
302
|
+
/**
|
|
303
|
+
*/
|
|
304
|
+
export enum RelativeFromVType {
|
|
305
|
+
BottomMargin,
|
|
306
|
+
InsideMargin,
|
|
307
|
+
Line,
|
|
308
|
+
Margin,
|
|
309
|
+
OutsizeMargin,
|
|
310
|
+
Page,
|
|
311
|
+
Paragraph,
|
|
312
|
+
TopMargin,
|
|
313
|
+
}
|
|
314
|
+
/**
|
|
315
|
+
*/
|
|
316
|
+
export enum SectionType {
|
|
317
|
+
NextPage,
|
|
318
|
+
NextColumn,
|
|
319
|
+
Continuous,
|
|
320
|
+
EvenPage,
|
|
321
|
+
OddPage,
|
|
288
322
|
}
|
|
289
323
|
/**
|
|
290
324
|
*/
|
|
@@ -329,40 +363,43 @@ export enum ParagraphBorderPosition {
|
|
|
329
363
|
}
|
|
330
364
|
/**
|
|
331
365
|
*/
|
|
332
|
-
export enum
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
Unsupported,
|
|
366
|
+
export enum FontPitchType {
|
|
367
|
+
Default,
|
|
368
|
+
Fixed,
|
|
369
|
+
Variable,
|
|
337
370
|
}
|
|
338
371
|
/**
|
|
339
372
|
*/
|
|
340
|
-
export enum
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
373
|
+
export enum TabLeaderType {
|
|
374
|
+
Dot,
|
|
375
|
+
Heavy,
|
|
376
|
+
Hyphen,
|
|
377
|
+
MiddleDot,
|
|
378
|
+
None,
|
|
379
|
+
Underscore,
|
|
344
380
|
}
|
|
345
381
|
/**
|
|
346
382
|
*/
|
|
347
|
-
export enum
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
Table,
|
|
383
|
+
export enum VAlignType {
|
|
384
|
+
Top,
|
|
385
|
+
Center,
|
|
386
|
+
Bottom,
|
|
352
387
|
Unsupported,
|
|
353
388
|
}
|
|
354
389
|
/**
|
|
355
390
|
*/
|
|
356
|
-
export enum
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
391
|
+
export enum VertAlignType {
|
|
392
|
+
Baseline,
|
|
393
|
+
SuperScript,
|
|
394
|
+
SubScript,
|
|
395
|
+
Unsupported,
|
|
360
396
|
}
|
|
361
397
|
/**
|
|
362
398
|
*/
|
|
363
|
-
export enum
|
|
364
|
-
|
|
365
|
-
|
|
399
|
+
export enum PositionalTabAlignmentType {
|
|
400
|
+
Center,
|
|
401
|
+
Left,
|
|
402
|
+
Right,
|
|
366
403
|
}
|
|
367
404
|
/**
|
|
368
405
|
*/
|
|
@@ -421,108 +458,12 @@ export enum TabValueType {
|
|
|
421
458
|
}
|
|
422
459
|
/**
|
|
423
460
|
*/
|
|
424
|
-
export enum
|
|
425
|
-
Continue,
|
|
426
|
-
Restart,
|
|
427
|
-
Unsupported,
|
|
428
|
-
}
|
|
429
|
-
/**
|
|
430
|
-
*/
|
|
431
|
-
export enum BreakType {
|
|
432
|
-
Page,
|
|
433
|
-
Column,
|
|
434
|
-
TextWrapping,
|
|
435
|
-
Unsupported,
|
|
436
|
-
}
|
|
437
|
-
/**
|
|
438
|
-
*/
|
|
439
|
-
export enum FontPitchType {
|
|
440
|
-
Default,
|
|
441
|
-
Fixed,
|
|
442
|
-
Variable,
|
|
443
|
-
}
|
|
444
|
-
/**
|
|
445
|
-
*/
|
|
446
|
-
export enum HeightRule {
|
|
461
|
+
export enum TextAlignmentType {
|
|
447
462
|
Auto,
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
*/
|
|
453
|
-
export enum LevelSuffixType {
|
|
454
|
-
Nothing,
|
|
455
|
-
Space,
|
|
456
|
-
Tab,
|
|
457
|
-
}
|
|
458
|
-
/**
|
|
459
|
-
*/
|
|
460
|
-
export enum RelativeFromHType {
|
|
461
|
-
/**
|
|
462
|
-
* Specifies that the horizontal positioning shall be
|
|
463
|
-
* relative to the position of the anchor within its run
|
|
464
|
-
* content.
|
|
465
|
-
*/
|
|
466
|
-
Character,
|
|
467
|
-
/**
|
|
468
|
-
* Specifies that the horizontal positioning shall be
|
|
469
|
-
* relative to the extents of the column which contains its
|
|
470
|
-
* anchor.
|
|
471
|
-
*/
|
|
472
|
-
Column,
|
|
473
|
-
/**
|
|
474
|
-
* Specifies that the horizontal positioning shall be
|
|
475
|
-
* relative to the inside margin of the current page (the
|
|
476
|
-
* left margin on odd pages, right on even pages).
|
|
477
|
-
*/
|
|
478
|
-
InsideMargin,
|
|
479
|
-
/**
|
|
480
|
-
* Specifies that the horizontal positioning shall be
|
|
481
|
-
* relative to the left margin of the page.
|
|
482
|
-
*/
|
|
483
|
-
LeftMargin,
|
|
484
|
-
/**
|
|
485
|
-
* Specifies that the horizontal positioning shall be
|
|
486
|
-
* relative to the page margins.
|
|
487
|
-
*/
|
|
488
|
-
Margin,
|
|
489
|
-
/**
|
|
490
|
-
* Specifies that the horizontal positioning shall be
|
|
491
|
-
* relative to the outside margin of the current page (the
|
|
492
|
-
* right margin on odd pages, left on even pages).
|
|
493
|
-
*/
|
|
494
|
-
OutsizeMargin,
|
|
495
|
-
/**
|
|
496
|
-
* Specifies that the horizontal positioning shall be
|
|
497
|
-
* relative to the edge of the page.
|
|
498
|
-
*/
|
|
499
|
-
Page,
|
|
500
|
-
/**
|
|
501
|
-
* Specifies that the horizontal positioning shall be
|
|
502
|
-
* relative to the right margin of the page.
|
|
503
|
-
*/
|
|
504
|
-
RightMargin,
|
|
505
|
-
}
|
|
506
|
-
/**
|
|
507
|
-
*/
|
|
508
|
-
export enum RelativeFromVType {
|
|
509
|
-
BottomMargin,
|
|
510
|
-
InsideMargin,
|
|
511
|
-
Line,
|
|
512
|
-
Margin,
|
|
513
|
-
OutsizeMargin,
|
|
514
|
-
Page,
|
|
515
|
-
Paragraph,
|
|
516
|
-
TopMargin,
|
|
517
|
-
}
|
|
518
|
-
/**
|
|
519
|
-
*/
|
|
520
|
-
export enum SectionType {
|
|
521
|
-
NextPage,
|
|
522
|
-
NextColumn,
|
|
523
|
-
Continuous,
|
|
524
|
-
EvenPage,
|
|
525
|
-
OddPage,
|
|
463
|
+
Baseline,
|
|
464
|
+
Bottom,
|
|
465
|
+
Center,
|
|
466
|
+
Top,
|
|
526
467
|
}
|
|
527
468
|
/**
|
|
528
469
|
*/
|
|
@@ -540,6 +481,14 @@ export enum TextDirectionType {
|
|
|
540
481
|
}
|
|
541
482
|
/**
|
|
542
483
|
*/
|
|
484
|
+
export enum BreakType {
|
|
485
|
+
Page,
|
|
486
|
+
Column,
|
|
487
|
+
TextWrapping,
|
|
488
|
+
Unsupported,
|
|
489
|
+
}
|
|
490
|
+
/**
|
|
491
|
+
*/
|
|
543
492
|
export enum AlignmentType {
|
|
544
493
|
Both,
|
|
545
494
|
Center,
|
|
@@ -552,6 +501,14 @@ export enum AlignmentType {
|
|
|
552
501
|
}
|
|
553
502
|
/**
|
|
554
503
|
*/
|
|
504
|
+
export enum FieldCharType {
|
|
505
|
+
Begin,
|
|
506
|
+
Separate,
|
|
507
|
+
End,
|
|
508
|
+
Unsupported,
|
|
509
|
+
}
|
|
510
|
+
/**
|
|
511
|
+
*/
|
|
555
512
|
export enum SpecialIndentKind {
|
|
556
513
|
FirstLine,
|
|
557
514
|
Hanging,
|
|
@@ -564,14 +521,57 @@ export enum TableLayoutType {
|
|
|
564
521
|
}
|
|
565
522
|
/**
|
|
566
523
|
*/
|
|
567
|
-
export enum
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
524
|
+
export enum VMergeType {
|
|
525
|
+
Continue,
|
|
526
|
+
Restart,
|
|
527
|
+
Unsupported,
|
|
528
|
+
}
|
|
529
|
+
/**
|
|
530
|
+
*/
|
|
531
|
+
export enum CharacterSpacingValues {
|
|
532
|
+
DoNotCompress,
|
|
533
|
+
CompressPunctuation,
|
|
534
|
+
CompressPunctuationAndJapaneseKana,
|
|
571
535
|
Unsupported,
|
|
572
536
|
}
|
|
573
537
|
/**
|
|
574
538
|
*/
|
|
539
|
+
export enum HeightRule {
|
|
540
|
+
Auto,
|
|
541
|
+
AtLeast,
|
|
542
|
+
Exact,
|
|
543
|
+
}
|
|
544
|
+
/**
|
|
545
|
+
*/
|
|
546
|
+
export enum LevelSuffixType {
|
|
547
|
+
Nothing,
|
|
548
|
+
Space,
|
|
549
|
+
Tab,
|
|
550
|
+
}
|
|
551
|
+
/**
|
|
552
|
+
*/
|
|
553
|
+
export enum PositionalTabRelativeTo {
|
|
554
|
+
Indent,
|
|
555
|
+
Margin,
|
|
556
|
+
}
|
|
557
|
+
/**
|
|
558
|
+
*/
|
|
559
|
+
export enum StyleType {
|
|
560
|
+
Paragraph,
|
|
561
|
+
Character,
|
|
562
|
+
Numbering,
|
|
563
|
+
Table,
|
|
564
|
+
Unsupported,
|
|
565
|
+
}
|
|
566
|
+
/**
|
|
567
|
+
*/
|
|
568
|
+
export enum TableAlignmentType {
|
|
569
|
+
Center,
|
|
570
|
+
Left,
|
|
571
|
+
Right,
|
|
572
|
+
}
|
|
573
|
+
/**
|
|
574
|
+
*/
|
|
575
575
|
export class AbstractNumbering {
|
|
576
576
|
free(): void;
|
|
577
577
|
/**
|
|
@@ -1021,6 +1021,14 @@ export class Level {
|
|
|
1021
1021
|
disable_strike(): Level;
|
|
1022
1022
|
/**
|
|
1023
1023
|
* @returns {Level}
|
|
1024
|
+
*/
|
|
1025
|
+
dstrike(): Level;
|
|
1026
|
+
/**
|
|
1027
|
+
* @returns {Level}
|
|
1028
|
+
*/
|
|
1029
|
+
disable_dstrike(): Level;
|
|
1030
|
+
/**
|
|
1031
|
+
* @returns {Level}
|
|
1024
1032
|
*/
|
|
1025
1033
|
disable_italic(): Level;
|
|
1026
1034
|
/**
|
|
@@ -1663,6 +1671,10 @@ export class Run {
|
|
|
1663
1671
|
*/
|
|
1664
1672
|
strike(): Run;
|
|
1665
1673
|
/**
|
|
1674
|
+
* @returns {Run}
|
|
1675
|
+
*/
|
|
1676
|
+
dstrike(): Run;
|
|
1677
|
+
/**
|
|
1666
1678
|
* @param {string} line_type
|
|
1667
1679
|
* @returns {Run}
|
|
1668
1680
|
*/
|
|
@@ -1784,6 +1796,14 @@ export class RunProperty {
|
|
|
1784
1796
|
*/
|
|
1785
1797
|
disable_strike(): RunProperty;
|
|
1786
1798
|
/**
|
|
1799
|
+
* @returns {RunProperty}
|
|
1800
|
+
*/
|
|
1801
|
+
dstrike(): RunProperty;
|
|
1802
|
+
/**
|
|
1803
|
+
* @returns {RunProperty}
|
|
1804
|
+
*/
|
|
1805
|
+
disable_dstrike(): RunProperty;
|
|
1806
|
+
/**
|
|
1787
1807
|
* @param {RunFonts} f
|
|
1788
1808
|
* @returns {RunProperty}
|
|
1789
1809
|
*/
|
|
@@ -1884,6 +1904,10 @@ export class Style {
|
|
|
1884
1904
|
*/
|
|
1885
1905
|
strike(): Style;
|
|
1886
1906
|
/**
|
|
1907
|
+
* @returns {Style}
|
|
1908
|
+
*/
|
|
1909
|
+
dstrike(): Style;
|
|
1910
|
+
/**
|
|
1887
1911
|
* @param {string} line_type
|
|
1888
1912
|
* @returns {Style}
|
|
1889
1913
|
*/
|