docx-wasm 0.4.18-rc35 → 0.4.18-rc37
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/paragraph-property.d.ts +1 -1
- package/dist/node/pkg/docx_wasm.d.ts +277 -277
- package/dist/node/pkg/docx_wasm.js +185 -187
- package/dist/node/pkg/docx_wasm_bg.wasm +0 -0
- package/dist/node/pkg/docx_wasm_bg.wasm.d.ts +221 -221
- package/dist/node/table.d.ts +1 -1
- package/dist/web/paragraph-property.d.ts +1 -1
- package/dist/web/pkg/docx_wasm.d.ts +277 -277
- package/dist/web/pkg/docx_wasm_bg.js +184 -186
- package/dist/web/pkg/docx_wasm_bg.wasm +0 -0
- package/dist/web/pkg/docx_wasm_bg.wasm.d.ts +221 -221
- package/dist/web/table.d.ts +1 -1
- package/package.json +1 -1
|
@@ -90,5 +90,5 @@ export declare class ParagraphPropertyChange {
|
|
|
90
90
|
numbering(id: number, level: number): this;
|
|
91
91
|
}
|
|
92
92
|
export declare const buildLineSpacing: (p: ParagraphProperty) => wasm.LineSpacing | null;
|
|
93
|
-
export declare const setParagraphProperty: <T extends wasm.
|
|
93
|
+
export declare const setParagraphProperty: <T extends wasm.Style | wasm.Paragraph>(target: T, property: ParagraphProperty) => T;
|
|
94
94
|
export declare const createParagraphProperty: (property: ParagraphProperty) => wasm.ParagraphProperty;
|
|
@@ -6,15 +6,6 @@
|
|
|
6
6
|
*/
|
|
7
7
|
export function createPic(buf: Uint8Array): Pic;
|
|
8
8
|
/**
|
|
9
|
-
* @param {number} id
|
|
10
|
-
* @returns {Comment}
|
|
11
|
-
*/
|
|
12
|
-
export function createComment(id: number): Comment;
|
|
13
|
-
/**
|
|
14
|
-
* @returns {Docx}
|
|
15
|
-
*/
|
|
16
|
-
export function createDocx(): Docx;
|
|
17
|
-
/**
|
|
18
9
|
* @param {Run} run
|
|
19
10
|
* @returns {Insert}
|
|
20
11
|
*/
|
|
@@ -25,33 +16,36 @@ export function createInsert(run: Run): Insert;
|
|
|
25
16
|
*/
|
|
26
17
|
export function readDocx(buf: Uint8Array): string;
|
|
27
18
|
/**
|
|
28
|
-
* @returns {
|
|
19
|
+
* @returns {Header}
|
|
29
20
|
*/
|
|
30
|
-
export function
|
|
21
|
+
export function createHeader(): Header;
|
|
31
22
|
/**
|
|
32
|
-
* @returns {
|
|
23
|
+
* @returns {ParagraphPropertyChange}
|
|
33
24
|
*/
|
|
34
|
-
export function
|
|
25
|
+
export function createParagraphPropertyChange(): ParagraphPropertyChange;
|
|
35
26
|
/**
|
|
36
|
-
* @returns {
|
|
27
|
+
* @returns {ParagraphProperty}
|
|
37
28
|
*/
|
|
38
|
-
export function
|
|
29
|
+
export function createParagraphProperty(): ParagraphProperty;
|
|
39
30
|
/**
|
|
40
|
-
* @
|
|
41
|
-
* @param {number} relative_to
|
|
42
|
-
* @param {number} leader
|
|
43
|
-
* @returns {PositionalTab}
|
|
31
|
+
* @returns {TableCell}
|
|
44
32
|
*/
|
|
45
|
-
export function
|
|
33
|
+
export function createTableCell(): TableCell;
|
|
46
34
|
/**
|
|
47
|
-
* @param {
|
|
48
|
-
* @
|
|
49
|
-
* @param {string} version
|
|
50
|
-
* @param {string} store
|
|
51
|
-
* @param {string} store_type
|
|
52
|
-
* @returns {WebExtension}
|
|
35
|
+
* @param {number} position
|
|
36
|
+
* @returns {TableCellBorder}
|
|
53
37
|
*/
|
|
54
|
-
export function
|
|
38
|
+
export function createTableCellBorder(position: number): TableCellBorder;
|
|
39
|
+
/**
|
|
40
|
+
* @returns {RunFonts}
|
|
41
|
+
*/
|
|
42
|
+
export function createRunFonts(): RunFonts;
|
|
43
|
+
/**
|
|
44
|
+
* @param {string} style_id
|
|
45
|
+
* @param {number} style_type
|
|
46
|
+
* @returns {Style}
|
|
47
|
+
*/
|
|
48
|
+
export function createStyle(style_id: string, style_type: number): Style;
|
|
55
49
|
/**
|
|
56
50
|
* @returns {Footer}
|
|
57
51
|
*/
|
|
@@ -90,6 +84,30 @@ export function createTableOfContentsItem(): TableOfContentsItem;
|
|
|
90
84
|
*/
|
|
91
85
|
export function createTableRow(): TableRow;
|
|
92
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}
|
|
99
|
+
*/
|
|
100
|
+
export function createPositionalTab(alignment: number, relative_to: number, leader: number): PositionalTab;
|
|
101
|
+
/**
|
|
102
|
+
* @param {string} id
|
|
103
|
+
* @param {string} reference_id
|
|
104
|
+
* @param {string} version
|
|
105
|
+
* @param {string} store
|
|
106
|
+
* @param {string} store_type
|
|
107
|
+
* @returns {WebExtension}
|
|
108
|
+
*/
|
|
109
|
+
export function createWebExtension(id: string, reference_id: string, version: string, store: string, store_type: string): WebExtension;
|
|
110
|
+
/**
|
|
93
111
|
* @param {Run} run
|
|
94
112
|
* @returns {Delete}
|
|
95
113
|
*/
|
|
@@ -121,6 +139,10 @@ export function createLineSpacing(): LineSpacing;
|
|
|
121
139
|
*/
|
|
122
140
|
export function createTable(): Table;
|
|
123
141
|
/**
|
|
142
|
+
* @returns {NumPages}
|
|
143
|
+
*/
|
|
144
|
+
export function createNumPages(): NumPages;
|
|
145
|
+
/**
|
|
124
146
|
* @param {number} id
|
|
125
147
|
* @returns {AbstractNumbering}
|
|
126
148
|
*/
|
|
@@ -144,62 +166,50 @@ export function createRunProperty(): RunProperty;
|
|
|
144
166
|
*/
|
|
145
167
|
export function createTablePosition(): TablePositionProperty;
|
|
146
168
|
/**
|
|
147
|
-
* @
|
|
148
|
-
|
|
149
|
-
export function createRunFonts(): RunFonts;
|
|
150
|
-
/**
|
|
151
|
-
* @param {string} style_id
|
|
152
|
-
* @param {number} style_type
|
|
153
|
-
* @returns {Style}
|
|
154
|
-
*/
|
|
155
|
-
export function createStyle(style_id: string, style_type: number): Style;
|
|
156
|
-
/**
|
|
157
|
-
* @returns {Header}
|
|
158
|
-
*/
|
|
159
|
-
export function createHeader(): Header;
|
|
160
|
-
/**
|
|
161
|
-
* @returns {ParagraphPropertyChange}
|
|
169
|
+
* @param {number} id
|
|
170
|
+
* @returns {Comment}
|
|
162
171
|
*/
|
|
163
|
-
export function
|
|
172
|
+
export function createComment(id: number): Comment;
|
|
164
173
|
/**
|
|
165
|
-
* @returns {
|
|
174
|
+
* @returns {Docx}
|
|
166
175
|
*/
|
|
167
|
-
export function
|
|
176
|
+
export function createDocx(): Docx;
|
|
168
177
|
/**
|
|
169
|
-
* @returns {TableCell}
|
|
170
178
|
*/
|
|
171
|
-
export
|
|
179
|
+
export enum DocGridType {
|
|
180
|
+
Default,
|
|
181
|
+
Lines,
|
|
182
|
+
LinesAndChars,
|
|
183
|
+
SnapToChars,
|
|
184
|
+
}
|
|
172
185
|
/**
|
|
173
|
-
* @param {number} position
|
|
174
|
-
* @returns {TableCellBorder}
|
|
175
186
|
*/
|
|
176
|
-
export
|
|
187
|
+
export enum LineSpacingType {
|
|
188
|
+
Auto,
|
|
189
|
+
AtLeast,
|
|
190
|
+
Exact,
|
|
191
|
+
}
|
|
177
192
|
/**
|
|
178
193
|
*/
|
|
179
|
-
export enum
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
Left,
|
|
186
|
-
Right,
|
|
187
|
-
Justified,
|
|
194
|
+
export enum SectionType {
|
|
195
|
+
NextPage,
|
|
196
|
+
NextColumn,
|
|
197
|
+
Continuous,
|
|
198
|
+
EvenPage,
|
|
199
|
+
OddPage,
|
|
188
200
|
}
|
|
189
201
|
/**
|
|
190
202
|
*/
|
|
191
|
-
export enum
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
TextWrapping,
|
|
195
|
-
Unsupported,
|
|
203
|
+
export enum TableLayoutType {
|
|
204
|
+
Fixed,
|
|
205
|
+
Autofit,
|
|
196
206
|
}
|
|
197
207
|
/**
|
|
198
208
|
*/
|
|
199
|
-
export enum
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
209
|
+
export enum CharacterSpacingValues {
|
|
210
|
+
DoNotCompress,
|
|
211
|
+
CompressPunctuation,
|
|
212
|
+
CompressPunctuationAndJapaneseKana,
|
|
203
213
|
Unsupported,
|
|
204
214
|
}
|
|
205
215
|
/**
|
|
@@ -211,114 +221,93 @@ export enum FontPitchType {
|
|
|
211
221
|
}
|
|
212
222
|
/**
|
|
213
223
|
*/
|
|
214
|
-
export enum
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
MiddleDot,
|
|
219
|
-
None,
|
|
220
|
-
Underscore,
|
|
224
|
+
export enum LevelSuffixType {
|
|
225
|
+
Nothing,
|
|
226
|
+
Space,
|
|
227
|
+
Tab,
|
|
221
228
|
}
|
|
222
229
|
/**
|
|
223
230
|
*/
|
|
224
|
-
export enum
|
|
225
|
-
Landscape,
|
|
226
|
-
Portrait,
|
|
227
|
-
}
|
|
231
|
+
export enum RelativeFromHType {
|
|
228
232
|
/**
|
|
233
|
+
* Specifies that the horizontal positioning shall be
|
|
234
|
+
* relative to the position of the anchor within its run
|
|
235
|
+
* content.
|
|
229
236
|
*/
|
|
230
|
-
|
|
231
|
-
Continue,
|
|
232
|
-
Restart,
|
|
233
|
-
Unsupported,
|
|
234
|
-
}
|
|
237
|
+
Character,
|
|
235
238
|
/**
|
|
239
|
+
* Specifies that the horizontal positioning shall be
|
|
240
|
+
* relative to the extents of the column which contains its
|
|
241
|
+
* anchor.
|
|
236
242
|
*/
|
|
237
|
-
|
|
238
|
-
Left,
|
|
239
|
-
Right,
|
|
240
|
-
Top,
|
|
241
|
-
Bottom,
|
|
242
|
-
InsideH,
|
|
243
|
-
InsideV,
|
|
244
|
-
}
|
|
243
|
+
Column,
|
|
245
244
|
/**
|
|
245
|
+
* Specifies that the horizontal positioning shall be
|
|
246
|
+
* relative to the inside margin of the current page (the
|
|
247
|
+
* left margin on odd pages, right on even pages).
|
|
246
248
|
*/
|
|
247
|
-
|
|
248
|
-
Left,
|
|
249
|
-
Right,
|
|
250
|
-
Top,
|
|
251
|
-
Bottom,
|
|
252
|
-
InsideH,
|
|
253
|
-
InsideV,
|
|
254
|
-
Tl2br,
|
|
255
|
-
Tr2bl,
|
|
256
|
-
}
|
|
249
|
+
InsideMargin,
|
|
257
250
|
/**
|
|
251
|
+
* Specifies that the horizontal positioning shall be
|
|
252
|
+
* relative to the left margin of the page.
|
|
258
253
|
*/
|
|
259
|
-
|
|
260
|
-
Left,
|
|
261
|
-
Right,
|
|
262
|
-
Top,
|
|
263
|
-
Bottom,
|
|
264
|
-
Between,
|
|
265
|
-
Bar,
|
|
266
|
-
}
|
|
254
|
+
LeftMargin,
|
|
267
255
|
/**
|
|
256
|
+
* Specifies that the horizontal positioning shall be
|
|
257
|
+
* relative to the page margins.
|
|
268
258
|
*/
|
|
269
|
-
|
|
270
|
-
DoNotCompress,
|
|
271
|
-
CompressPunctuation,
|
|
272
|
-
CompressPunctuationAndJapaneseKana,
|
|
273
|
-
Unsupported,
|
|
274
|
-
}
|
|
259
|
+
Margin,
|
|
275
260
|
/**
|
|
261
|
+
* Specifies that the horizontal positioning shall be
|
|
262
|
+
* relative to the outside margin of the current page (the
|
|
263
|
+
* right margin on odd pages, left on even pages).
|
|
276
264
|
*/
|
|
277
|
-
|
|
278
|
-
Anchor,
|
|
279
|
-
External,
|
|
280
|
-
}
|
|
265
|
+
OutsizeMargin,
|
|
281
266
|
/**
|
|
267
|
+
* Specifies that the horizontal positioning shall be
|
|
268
|
+
* relative to the edge of the page.
|
|
282
269
|
*/
|
|
283
|
-
|
|
284
|
-
Center,
|
|
285
|
-
Left,
|
|
286
|
-
Right,
|
|
287
|
-
}
|
|
270
|
+
Page,
|
|
288
271
|
/**
|
|
272
|
+
* Specifies that the horizontal positioning shall be
|
|
273
|
+
* relative to the right margin of the page.
|
|
289
274
|
*/
|
|
290
|
-
|
|
291
|
-
Paragraph,
|
|
292
|
-
Character,
|
|
293
|
-
Numbering,
|
|
294
|
-
Table,
|
|
295
|
-
Unsupported,
|
|
275
|
+
RightMargin,
|
|
296
276
|
}
|
|
297
277
|
/**
|
|
298
278
|
*/
|
|
299
|
-
export enum
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
279
|
+
export enum RelativeFromVType {
|
|
280
|
+
BottomMargin,
|
|
281
|
+
InsideMargin,
|
|
282
|
+
Line,
|
|
283
|
+
Margin,
|
|
284
|
+
OutsizeMargin,
|
|
285
|
+
Page,
|
|
286
|
+
Paragraph,
|
|
287
|
+
TopMargin,
|
|
304
288
|
}
|
|
305
289
|
/**
|
|
306
290
|
*/
|
|
307
|
-
export enum
|
|
308
|
-
|
|
309
|
-
|
|
291
|
+
export enum VertAlignType {
|
|
292
|
+
Baseline,
|
|
293
|
+
SuperScript,
|
|
294
|
+
SubScript,
|
|
295
|
+
Unsupported,
|
|
310
296
|
}
|
|
311
297
|
/**
|
|
312
298
|
*/
|
|
313
|
-
export enum
|
|
314
|
-
|
|
315
|
-
|
|
299
|
+
export enum WidthType {
|
|
300
|
+
Dxa,
|
|
301
|
+
Auto,
|
|
302
|
+
Pct,
|
|
303
|
+
Nil,
|
|
304
|
+
Unsupported,
|
|
316
305
|
}
|
|
317
306
|
/**
|
|
318
307
|
*/
|
|
319
|
-
export enum
|
|
320
|
-
|
|
321
|
-
|
|
308
|
+
export enum PositionalTabRelativeTo {
|
|
309
|
+
Indent,
|
|
310
|
+
Margin,
|
|
322
311
|
}
|
|
323
312
|
/**
|
|
324
313
|
*/
|
|
@@ -335,24 +324,17 @@ export enum TabValueType {
|
|
|
335
324
|
}
|
|
336
325
|
/**
|
|
337
326
|
*/
|
|
338
|
-
export enum
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
RlV,
|
|
343
|
-
Tb,
|
|
344
|
-
TbV,
|
|
345
|
-
TbRlV,
|
|
346
|
-
TbRl,
|
|
347
|
-
BtLr,
|
|
348
|
-
LrTbV,
|
|
327
|
+
export enum VMergeType {
|
|
328
|
+
Continue,
|
|
329
|
+
Restart,
|
|
330
|
+
Unsupported,
|
|
349
331
|
}
|
|
350
332
|
/**
|
|
351
333
|
*/
|
|
352
|
-
export enum
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
334
|
+
export enum HeightRule {
|
|
335
|
+
Auto,
|
|
336
|
+
AtLeast,
|
|
337
|
+
Exact,
|
|
356
338
|
}
|
|
357
339
|
/**
|
|
358
340
|
*/
|
|
@@ -406,127 +388,16 @@ export enum PicAlign {
|
|
|
406
388
|
}
|
|
407
389
|
/**
|
|
408
390
|
*/
|
|
409
|
-
export enum
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
Tab,
|
|
413
|
-
}
|
|
414
|
-
/**
|
|
415
|
-
*/
|
|
416
|
-
export enum SectionType {
|
|
417
|
-
NextPage,
|
|
418
|
-
NextColumn,
|
|
419
|
-
Continuous,
|
|
420
|
-
EvenPage,
|
|
421
|
-
OddPage,
|
|
422
|
-
}
|
|
423
|
-
/**
|
|
424
|
-
*/
|
|
425
|
-
export enum TextAlignmentType {
|
|
426
|
-
Auto,
|
|
427
|
-
Baseline,
|
|
428
|
-
Bottom,
|
|
429
|
-
Center,
|
|
430
|
-
Top,
|
|
431
|
-
}
|
|
432
|
-
/**
|
|
433
|
-
*/
|
|
434
|
-
export enum VertAlignType {
|
|
435
|
-
Baseline,
|
|
436
|
-
SuperScript,
|
|
437
|
-
SubScript,
|
|
438
|
-
Unsupported,
|
|
439
|
-
}
|
|
440
|
-
/**
|
|
441
|
-
*/
|
|
442
|
-
export enum WidthType {
|
|
443
|
-
Dxa,
|
|
444
|
-
Auto,
|
|
445
|
-
Pct,
|
|
446
|
-
Nil,
|
|
447
|
-
Unsupported,
|
|
448
|
-
}
|
|
449
|
-
/**
|
|
450
|
-
*/
|
|
451
|
-
export enum HeightRule {
|
|
452
|
-
Auto,
|
|
453
|
-
AtLeast,
|
|
454
|
-
Exact,
|
|
455
|
-
}
|
|
456
|
-
/**
|
|
457
|
-
*/
|
|
458
|
-
export enum LineSpacingType {
|
|
459
|
-
Auto,
|
|
460
|
-
AtLeast,
|
|
461
|
-
Exact,
|
|
391
|
+
export enum HyperlinkType {
|
|
392
|
+
Anchor,
|
|
393
|
+
External,
|
|
462
394
|
}
|
|
463
395
|
/**
|
|
464
396
|
*/
|
|
465
|
-
export enum
|
|
466
|
-
Top,
|
|
397
|
+
export enum PositionalTabAlignmentType {
|
|
467
398
|
Center,
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
}
|
|
471
|
-
/**
|
|
472
|
-
*/
|
|
473
|
-
export enum RelativeFromHType {
|
|
474
|
-
/**
|
|
475
|
-
* Specifies that the horizontal positioning shall be
|
|
476
|
-
* relative to the position of the anchor within its run
|
|
477
|
-
* content.
|
|
478
|
-
*/
|
|
479
|
-
Character,
|
|
480
|
-
/**
|
|
481
|
-
* Specifies that the horizontal positioning shall be
|
|
482
|
-
* relative to the extents of the column which contains its
|
|
483
|
-
* anchor.
|
|
484
|
-
*/
|
|
485
|
-
Column,
|
|
486
|
-
/**
|
|
487
|
-
* Specifies that the horizontal positioning shall be
|
|
488
|
-
* relative to the inside margin of the current page (the
|
|
489
|
-
* left margin on odd pages, right on even pages).
|
|
490
|
-
*/
|
|
491
|
-
InsideMargin,
|
|
492
|
-
/**
|
|
493
|
-
* Specifies that the horizontal positioning shall be
|
|
494
|
-
* relative to the left margin of the page.
|
|
495
|
-
*/
|
|
496
|
-
LeftMargin,
|
|
497
|
-
/**
|
|
498
|
-
* Specifies that the horizontal positioning shall be
|
|
499
|
-
* relative to the page margins.
|
|
500
|
-
*/
|
|
501
|
-
Margin,
|
|
502
|
-
/**
|
|
503
|
-
* Specifies that the horizontal positioning shall be
|
|
504
|
-
* relative to the outside margin of the current page (the
|
|
505
|
-
* right margin on odd pages, left on even pages).
|
|
506
|
-
*/
|
|
507
|
-
OutsizeMargin,
|
|
508
|
-
/**
|
|
509
|
-
* Specifies that the horizontal positioning shall be
|
|
510
|
-
* relative to the edge of the page.
|
|
511
|
-
*/
|
|
512
|
-
Page,
|
|
513
|
-
/**
|
|
514
|
-
* Specifies that the horizontal positioning shall be
|
|
515
|
-
* relative to the right margin of the page.
|
|
516
|
-
*/
|
|
517
|
-
RightMargin,
|
|
518
|
-
}
|
|
519
|
-
/**
|
|
520
|
-
*/
|
|
521
|
-
export enum RelativeFromVType {
|
|
522
|
-
BottomMargin,
|
|
523
|
-
InsideMargin,
|
|
524
|
-
Line,
|
|
525
|
-
Margin,
|
|
526
|
-
OutsizeMargin,
|
|
527
|
-
Page,
|
|
528
|
-
Paragraph,
|
|
529
|
-
TopMargin,
|
|
399
|
+
Left,
|
|
400
|
+
Right,
|
|
530
401
|
}
|
|
531
402
|
/**
|
|
532
403
|
*/
|
|
@@ -572,6 +443,135 @@ export enum ShdType {
|
|
|
572
443
|
}
|
|
573
444
|
/**
|
|
574
445
|
*/
|
|
446
|
+
export enum TableAlignmentType {
|
|
447
|
+
Center,
|
|
448
|
+
Left,
|
|
449
|
+
Right,
|
|
450
|
+
}
|
|
451
|
+
/**
|
|
452
|
+
*/
|
|
453
|
+
export enum TableBorderPosition {
|
|
454
|
+
Left,
|
|
455
|
+
Right,
|
|
456
|
+
Top,
|
|
457
|
+
Bottom,
|
|
458
|
+
InsideH,
|
|
459
|
+
InsideV,
|
|
460
|
+
}
|
|
461
|
+
/**
|
|
462
|
+
*/
|
|
463
|
+
export enum TableCellBorderPosition {
|
|
464
|
+
Left,
|
|
465
|
+
Right,
|
|
466
|
+
Top,
|
|
467
|
+
Bottom,
|
|
468
|
+
InsideH,
|
|
469
|
+
InsideV,
|
|
470
|
+
Tl2br,
|
|
471
|
+
Tr2bl,
|
|
472
|
+
}
|
|
473
|
+
/**
|
|
474
|
+
*/
|
|
475
|
+
export enum ParagraphBorderPosition {
|
|
476
|
+
Left,
|
|
477
|
+
Right,
|
|
478
|
+
Top,
|
|
479
|
+
Bottom,
|
|
480
|
+
Between,
|
|
481
|
+
Bar,
|
|
482
|
+
}
|
|
483
|
+
/**
|
|
484
|
+
*/
|
|
485
|
+
export enum BreakType {
|
|
486
|
+
Page,
|
|
487
|
+
Column,
|
|
488
|
+
TextWrapping,
|
|
489
|
+
Unsupported,
|
|
490
|
+
}
|
|
491
|
+
/**
|
|
492
|
+
*/
|
|
493
|
+
export enum FieldCharType {
|
|
494
|
+
Begin,
|
|
495
|
+
Separate,
|
|
496
|
+
End,
|
|
497
|
+
Unsupported,
|
|
498
|
+
}
|
|
499
|
+
/**
|
|
500
|
+
*/
|
|
501
|
+
export enum TabLeaderType {
|
|
502
|
+
Dot,
|
|
503
|
+
Heavy,
|
|
504
|
+
Hyphen,
|
|
505
|
+
MiddleDot,
|
|
506
|
+
None,
|
|
507
|
+
Underscore,
|
|
508
|
+
}
|
|
509
|
+
/**
|
|
510
|
+
*/
|
|
511
|
+
export enum TextAlignmentType {
|
|
512
|
+
Auto,
|
|
513
|
+
Baseline,
|
|
514
|
+
Bottom,
|
|
515
|
+
Center,
|
|
516
|
+
Top,
|
|
517
|
+
}
|
|
518
|
+
/**
|
|
519
|
+
*/
|
|
520
|
+
export enum TextDirectionType {
|
|
521
|
+
Lr,
|
|
522
|
+
LrV,
|
|
523
|
+
Rl,
|
|
524
|
+
RlV,
|
|
525
|
+
Tb,
|
|
526
|
+
TbV,
|
|
527
|
+
TbRlV,
|
|
528
|
+
TbRl,
|
|
529
|
+
BtLr,
|
|
530
|
+
LrTbV,
|
|
531
|
+
}
|
|
532
|
+
/**
|
|
533
|
+
*/
|
|
534
|
+
export enum AlignmentType {
|
|
535
|
+
Both,
|
|
536
|
+
Center,
|
|
537
|
+
Distribute,
|
|
538
|
+
Start,
|
|
539
|
+
End,
|
|
540
|
+
Left,
|
|
541
|
+
Right,
|
|
542
|
+
Justified,
|
|
543
|
+
}
|
|
544
|
+
/**
|
|
545
|
+
*/
|
|
546
|
+
export enum PageOrientationType {
|
|
547
|
+
Landscape,
|
|
548
|
+
Portrait,
|
|
549
|
+
}
|
|
550
|
+
/**
|
|
551
|
+
*/
|
|
552
|
+
export enum SpecialIndentKind {
|
|
553
|
+
FirstLine,
|
|
554
|
+
Hanging,
|
|
555
|
+
}
|
|
556
|
+
/**
|
|
557
|
+
*/
|
|
558
|
+
export enum StyleType {
|
|
559
|
+
Paragraph,
|
|
560
|
+
Character,
|
|
561
|
+
Numbering,
|
|
562
|
+
Table,
|
|
563
|
+
Unsupported,
|
|
564
|
+
}
|
|
565
|
+
/**
|
|
566
|
+
*/
|
|
567
|
+
export enum VAlignType {
|
|
568
|
+
Top,
|
|
569
|
+
Center,
|
|
570
|
+
Bottom,
|
|
571
|
+
Unsupported,
|
|
572
|
+
}
|
|
573
|
+
/**
|
|
574
|
+
*/
|
|
575
575
|
export class AbstractNumbering {
|
|
576
576
|
free(): void;
|
|
577
577
|
/**
|