docx-wasm 0.4.18-rc35 → 0.4.18-rc36
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/pkg/docx_wasm.d.ts +225 -225
- package/dist/node/pkg/docx_wasm.js +62 -62
- package/dist/node/pkg/docx_wasm_bg.wasm +0 -0
- package/dist/node/pkg/docx_wasm_bg.wasm.d.ts +1 -1
- package/dist/web/pkg/docx_wasm.d.ts +225 -225
- package/dist/web/pkg/docx_wasm_bg.js +62 -62
- package/dist/web/pkg/docx_wasm_bg.wasm +0 -0
- package/dist/web/pkg/docx_wasm_bg.wasm.d.ts +1 -1
- package/package.json +1 -1
|
@@ -176,30 +176,40 @@ export function createTableCell(): TableCell;
|
|
|
176
176
|
export function createTableCellBorder(position: number): TableCellBorder;
|
|
177
177
|
/**
|
|
178
178
|
*/
|
|
179
|
-
export enum
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
End,
|
|
185
|
-
Left,
|
|
186
|
-
Right,
|
|
187
|
-
Justified,
|
|
179
|
+
export enum DocGridType {
|
|
180
|
+
Default,
|
|
181
|
+
Lines,
|
|
182
|
+
LinesAndChars,
|
|
183
|
+
SnapToChars,
|
|
188
184
|
}
|
|
189
185
|
/**
|
|
190
186
|
*/
|
|
191
|
-
export enum
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
Unsupported,
|
|
187
|
+
export enum LineSpacingType {
|
|
188
|
+
Auto,
|
|
189
|
+
AtLeast,
|
|
190
|
+
Exact,
|
|
196
191
|
}
|
|
197
192
|
/**
|
|
198
193
|
*/
|
|
199
|
-
export enum
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
194
|
+
export enum SectionType {
|
|
195
|
+
NextPage,
|
|
196
|
+
NextColumn,
|
|
197
|
+
Continuous,
|
|
198
|
+
EvenPage,
|
|
199
|
+
OddPage,
|
|
200
|
+
}
|
|
201
|
+
/**
|
|
202
|
+
*/
|
|
203
|
+
export enum TableLayoutType {
|
|
204
|
+
Fixed,
|
|
205
|
+
Autofit,
|
|
206
|
+
}
|
|
207
|
+
/**
|
|
208
|
+
*/
|
|
209
|
+
export enum CharacterSpacingValues {
|
|
210
|
+
DoNotCompress,
|
|
211
|
+
CompressPunctuation,
|
|
212
|
+
CompressPunctuationAndJapaneseKana,
|
|
203
213
|
Unsupported,
|
|
204
214
|
}
|
|
205
215
|
/**
|
|
@@ -211,102 +221,87 @@ 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
|
-
|
|
279
|
-
|
|
280
|
-
|
|
265
|
+
OutsizeMargin,
|
|
266
|
+
/**
|
|
267
|
+
* Specifies that the horizontal positioning shall be
|
|
268
|
+
* relative to the edge of the page.
|
|
269
|
+
*/
|
|
270
|
+
Page,
|
|
281
271
|
/**
|
|
272
|
+
* Specifies that the horizontal positioning shall be
|
|
273
|
+
* relative to the right margin of the page.
|
|
282
274
|
*/
|
|
283
|
-
|
|
284
|
-
Center,
|
|
285
|
-
Left,
|
|
286
|
-
Right,
|
|
275
|
+
RightMargin,
|
|
287
276
|
}
|
|
288
277
|
/**
|
|
289
278
|
*/
|
|
290
|
-
export enum
|
|
279
|
+
export enum RelativeFromVType {
|
|
280
|
+
BottomMargin,
|
|
281
|
+
InsideMargin,
|
|
282
|
+
Line,
|
|
283
|
+
Margin,
|
|
284
|
+
OutsizeMargin,
|
|
285
|
+
Page,
|
|
291
286
|
Paragraph,
|
|
292
|
-
|
|
293
|
-
Numbering,
|
|
294
|
-
Table,
|
|
295
|
-
Unsupported,
|
|
287
|
+
TopMargin,
|
|
296
288
|
}
|
|
297
289
|
/**
|
|
298
290
|
*/
|
|
299
|
-
export enum
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
291
|
+
export enum VertAlignType {
|
|
292
|
+
Baseline,
|
|
293
|
+
SuperScript,
|
|
294
|
+
SubScript,
|
|
295
|
+
Unsupported,
|
|
304
296
|
}
|
|
305
297
|
/**
|
|
306
298
|
*/
|
|
307
|
-
export enum
|
|
308
|
-
|
|
309
|
-
|
|
299
|
+
export enum WidthType {
|
|
300
|
+
Dxa,
|
|
301
|
+
Auto,
|
|
302
|
+
Pct,
|
|
303
|
+
Nil,
|
|
304
|
+
Unsupported,
|
|
310
305
|
}
|
|
311
306
|
/**
|
|
312
307
|
*/
|
|
@@ -316,12 +311,6 @@ export enum PositionalTabRelativeTo {
|
|
|
316
311
|
}
|
|
317
312
|
/**
|
|
318
313
|
*/
|
|
319
|
-
export enum SpecialIndentKind {
|
|
320
|
-
FirstLine,
|
|
321
|
-
Hanging,
|
|
322
|
-
}
|
|
323
|
-
/**
|
|
324
|
-
*/
|
|
325
314
|
export enum TabValueType {
|
|
326
315
|
Bar,
|
|
327
316
|
Center,
|
|
@@ -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
|
/**
|