docx-wasm 0.4.18-rc41 → 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.
@@ -331,42 +331,6 @@ export enum WidthType {
331
331
  }
332
332
  /**
333
333
  */
334
- export enum FontPitchType {
335
- Default,
336
- Fixed,
337
- Variable,
338
- }
339
- /**
340
- */
341
- export enum VertAlignType {
342
- Baseline,
343
- SuperScript,
344
- SubScript,
345
- Unsupported,
346
- }
347
- /**
348
- */
349
- export enum TableAlignmentType {
350
- Center,
351
- Left,
352
- Right,
353
- }
354
- /**
355
- */
356
- export enum TextDirectionType {
357
- Lr,
358
- LrV,
359
- Rl,
360
- RlV,
361
- Tb,
362
- TbV,
363
- TbRlV,
364
- TbRl,
365
- BtLr,
366
- LrTbV,
367
- }
368
- /**
369
- */
370
334
  export enum TableBorderPosition {
371
335
  Left,
372
336
  Right,
@@ -399,6 +363,13 @@ export enum ParagraphBorderPosition {
399
363
  }
400
364
  /**
401
365
  */
366
+ export enum FontPitchType {
367
+ Default,
368
+ Fixed,
369
+ Variable,
370
+ }
371
+ /**
372
+ */
402
373
  export enum TabLeaderType {
403
374
  Dot,
404
375
  Heavy,
@@ -409,12 +380,6 @@ export enum TabLeaderType {
409
380
  }
410
381
  /**
411
382
  */
412
- export enum TableLayoutType {
413
- Fixed,
414
- Autofit,
415
- }
416
- /**
417
- */
418
383
  export enum VAlignType {
419
384
  Top,
420
385
  Center,
@@ -423,39 +388,10 @@ export enum VAlignType {
423
388
  }
424
389
  /**
425
390
  */
426
- export enum CharacterSpacingValues {
427
- DoNotCompress,
428
- CompressPunctuation,
429
- CompressPunctuationAndJapaneseKana,
430
- Unsupported,
431
- }
432
- /**
433
- */
434
- export enum HeightRule {
435
- Auto,
436
- AtLeast,
437
- Exact,
438
- }
439
- /**
440
- */
441
- export enum LevelSuffixType {
442
- Nothing,
443
- Space,
444
- Tab,
445
- }
446
- /**
447
- */
448
- export enum PositionalTabRelativeTo {
449
- Indent,
450
- Margin,
451
- }
452
- /**
453
- */
454
- export enum StyleType {
455
- Paragraph,
456
- Character,
457
- Numbering,
458
- Table,
391
+ export enum VertAlignType {
392
+ Baseline,
393
+ SuperScript,
394
+ SubScript,
459
395
  Unsupported,
460
396
  }
461
397
  /**
@@ -531,9 +467,24 @@ export enum TextAlignmentType {
531
467
  }
532
468
  /**
533
469
  */
534
- export enum VMergeType {
535
- Continue,
536
- Restart,
470
+ export enum TextDirectionType {
471
+ Lr,
472
+ LrV,
473
+ Rl,
474
+ RlV,
475
+ Tb,
476
+ TbV,
477
+ TbRlV,
478
+ TbRl,
479
+ BtLr,
480
+ LrTbV,
481
+ }
482
+ /**
483
+ */
484
+ export enum BreakType {
485
+ Page,
486
+ Column,
487
+ TextWrapping,
537
488
  Unsupported,
538
489
  }
539
490
  /**
@@ -550,14 +501,6 @@ export enum AlignmentType {
550
501
  }
551
502
  /**
552
503
  */
553
- export enum BreakType {
554
- Page,
555
- Column,
556
- TextWrapping,
557
- Unsupported,
558
- }
559
- /**
560
- */
561
504
  export enum FieldCharType {
562
505
  Begin,
563
506
  Separate,
@@ -572,6 +515,63 @@ export enum SpecialIndentKind {
572
515
  }
573
516
  /**
574
517
  */
518
+ export enum TableLayoutType {
519
+ Fixed,
520
+ Autofit,
521
+ }
522
+ /**
523
+ */
524
+ export enum VMergeType {
525
+ Continue,
526
+ Restart,
527
+ Unsupported,
528
+ }
529
+ /**
530
+ */
531
+ export enum CharacterSpacingValues {
532
+ DoNotCompress,
533
+ CompressPunctuation,
534
+ CompressPunctuationAndJapaneseKana,
535
+ Unsupported,
536
+ }
537
+ /**
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
  /**
@@ -581,76 +581,76 @@ module.exports.SectionType = Object.freeze({ NextPage:0,"0":"NextPage",NextColum
581
581
  module.exports.WidthType = Object.freeze({ Dxa:0,"0":"Dxa",Auto:1,"1":"Auto",Pct:2,"2":"Pct",Nil:3,"3":"Nil",Unsupported:4,"4":"Unsupported", });
582
582
  /**
583
583
  */
584
- module.exports.FontPitchType = Object.freeze({ Default:0,"0":"Default",Fixed:1,"1":"Fixed",Variable:2,"2":"Variable", });
584
+ module.exports.TableBorderPosition = Object.freeze({ Left:0,"0":"Left",Right:1,"1":"Right",Top:2,"2":"Top",Bottom:3,"3":"Bottom",InsideH:4,"4":"InsideH",InsideV:5,"5":"InsideV", });
585
585
  /**
586
586
  */
587
- module.exports.VertAlignType = Object.freeze({ Baseline:0,"0":"Baseline",SuperScript:1,"1":"SuperScript",SubScript:2,"2":"SubScript",Unsupported:3,"3":"Unsupported", });
587
+ module.exports.TableCellBorderPosition = Object.freeze({ Left:0,"0":"Left",Right:1,"1":"Right",Top:2,"2":"Top",Bottom:3,"3":"Bottom",InsideH:4,"4":"InsideH",InsideV:5,"5":"InsideV",Tl2br:6,"6":"Tl2br",Tr2bl:7,"7":"Tr2bl", });
588
588
  /**
589
589
  */
590
- module.exports.TableAlignmentType = Object.freeze({ Center:0,"0":"Center",Left:1,"1":"Left",Right:2,"2":"Right", });
590
+ module.exports.ParagraphBorderPosition = Object.freeze({ Left:0,"0":"Left",Right:1,"1":"Right",Top:2,"2":"Top",Bottom:3,"3":"Bottom",Between:4,"4":"Between",Bar:5,"5":"Bar", });
591
591
  /**
592
592
  */
593
- module.exports.TextDirectionType = Object.freeze({ Lr:0,"0":"Lr",LrV:1,"1":"LrV",Rl:2,"2":"Rl",RlV:3,"3":"RlV",Tb:4,"4":"Tb",TbV:5,"5":"TbV",TbRlV:6,"6":"TbRlV",TbRl:7,"7":"TbRl",BtLr:8,"8":"BtLr",LrTbV:9,"9":"LrTbV", });
593
+ module.exports.FontPitchType = Object.freeze({ Default:0,"0":"Default",Fixed:1,"1":"Fixed",Variable:2,"2":"Variable", });
594
594
  /**
595
595
  */
596
- module.exports.TableBorderPosition = Object.freeze({ Left:0,"0":"Left",Right:1,"1":"Right",Top:2,"2":"Top",Bottom:3,"3":"Bottom",InsideH:4,"4":"InsideH",InsideV:5,"5":"InsideV", });
596
+ module.exports.TabLeaderType = Object.freeze({ Dot:0,"0":"Dot",Heavy:1,"1":"Heavy",Hyphen:2,"2":"Hyphen",MiddleDot:3,"3":"MiddleDot",None:4,"4":"None",Underscore:5,"5":"Underscore", });
597
597
  /**
598
598
  */
599
- module.exports.TableCellBorderPosition = Object.freeze({ Left:0,"0":"Left",Right:1,"1":"Right",Top:2,"2":"Top",Bottom:3,"3":"Bottom",InsideH:4,"4":"InsideH",InsideV:5,"5":"InsideV",Tl2br:6,"6":"Tl2br",Tr2bl:7,"7":"Tr2bl", });
599
+ module.exports.VAlignType = Object.freeze({ Top:0,"0":"Top",Center:1,"1":"Center",Bottom:2,"2":"Bottom",Unsupported:3,"3":"Unsupported", });
600
600
  /**
601
601
  */
602
- module.exports.ParagraphBorderPosition = Object.freeze({ Left:0,"0":"Left",Right:1,"1":"Right",Top:2,"2":"Top",Bottom:3,"3":"Bottom",Between:4,"4":"Between",Bar:5,"5":"Bar", });
602
+ module.exports.VertAlignType = Object.freeze({ Baseline:0,"0":"Baseline",SuperScript:1,"1":"SuperScript",SubScript:2,"2":"SubScript",Unsupported:3,"3":"Unsupported", });
603
603
  /**
604
604
  */
605
- module.exports.TabLeaderType = Object.freeze({ Dot:0,"0":"Dot",Heavy:1,"1":"Heavy",Hyphen:2,"2":"Hyphen",MiddleDot:3,"3":"MiddleDot",None:4,"4":"None",Underscore:5,"5":"Underscore", });
605
+ module.exports.PositionalTabAlignmentType = Object.freeze({ Center:0,"0":"Center",Left:1,"1":"Left",Right:2,"2":"Right", });
606
606
  /**
607
607
  */
608
- module.exports.TableLayoutType = Object.freeze({ Fixed:0,"0":"Fixed",Autofit:1,"1":"Autofit", });
608
+ module.exports.ShdType = Object.freeze({ Nil:0,"0":"Nil",Clear:1,"1":"Clear",Solid:2,"2":"Solid",HorzStripe:3,"3":"HorzStripe",VertStripe:4,"4":"VertStripe",ReverseDiagStripe:5,"5":"ReverseDiagStripe",DiagStripe:6,"6":"DiagStripe",HorzCross:7,"7":"HorzCross",DiagCross:8,"8":"DiagCross",ThinHorzStripe:9,"9":"ThinHorzStripe",ThinVertStripe:10,"10":"ThinVertStripe",ThinReverseDiagStripe:11,"11":"ThinReverseDiagStripe",ThinDiagStripe:12,"12":"ThinDiagStripe",ThinHorzCross:13,"13":"ThinHorzCross",ThinDiagCross:14,"14":"ThinDiagCross",Pct5:15,"15":"Pct5",Pct10:16,"16":"Pct10",Pct12:17,"17":"Pct12",Pct15:18,"18":"Pct15",Pct20:19,"19":"Pct20",Pct25:20,"20":"Pct25",Pct30:21,"21":"Pct30",Pct35:22,"22":"Pct35",Pct37:23,"23":"Pct37",Pct40:24,"24":"Pct40",Pct45:25,"25":"Pct45",Pct50:26,"26":"Pct50",Pct55:27,"27":"Pct55",Pct60:28,"28":"Pct60",Pct62:29,"29":"Pct62",Pct65:30,"30":"Pct65",Pct70:31,"31":"Pct70",Pct75:32,"32":"Pct75",Pct80:33,"33":"Pct80",Pct85:34,"34":"Pct85",Pct87:35,"35":"Pct87",Pct90:36,"36":"Pct90",Pct95:37,"37":"Pct95", });
609
609
  /**
610
610
  */
611
- module.exports.VAlignType = Object.freeze({ Top:0,"0":"Top",Center:1,"1":"Center",Bottom:2,"2":"Bottom",Unsupported:3,"3":"Unsupported", });
611
+ module.exports.TabValueType = Object.freeze({ Bar:0,"0":"Bar",Center:1,"1":"Center",Clear:2,"2":"Clear",Decimal:3,"3":"Decimal",End:4,"4":"End",Right:5,"5":"Right",Num:6,"6":"Num",Start:7,"7":"Start",Left:8,"8":"Left", });
612
612
  /**
613
613
  */
614
- module.exports.CharacterSpacingValues = Object.freeze({ DoNotCompress:0,"0":"DoNotCompress",CompressPunctuation:1,"1":"CompressPunctuation",CompressPunctuationAndJapaneseKana:2,"2":"CompressPunctuationAndJapaneseKana",Unsupported:3,"3":"Unsupported", });
614
+ module.exports.TextAlignmentType = Object.freeze({ Auto:0,"0":"Auto",Baseline:1,"1":"Baseline",Bottom:2,"2":"Bottom",Center:3,"3":"Center",Top:4,"4":"Top", });
615
615
  /**
616
616
  */
617
- module.exports.HeightRule = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
617
+ module.exports.TextDirectionType = Object.freeze({ Lr:0,"0":"Lr",LrV:1,"1":"LrV",Rl:2,"2":"Rl",RlV:3,"3":"RlV",Tb:4,"4":"Tb",TbV:5,"5":"TbV",TbRlV:6,"6":"TbRlV",TbRl:7,"7":"TbRl",BtLr:8,"8":"BtLr",LrTbV:9,"9":"LrTbV", });
618
618
  /**
619
619
  */
620
- module.exports.LevelSuffixType = Object.freeze({ Nothing:0,"0":"Nothing",Space:1,"1":"Space",Tab:2,"2":"Tab", });
620
+ module.exports.BreakType = Object.freeze({ Page:0,"0":"Page",Column:1,"1":"Column",TextWrapping:2,"2":"TextWrapping",Unsupported:3,"3":"Unsupported", });
621
621
  /**
622
622
  */
623
- module.exports.PositionalTabRelativeTo = Object.freeze({ Indent:0,"0":"Indent",Margin:1,"1":"Margin", });
623
+ module.exports.AlignmentType = Object.freeze({ Both:0,"0":"Both",Center:1,"1":"Center",Distribute:2,"2":"Distribute",Start:3,"3":"Start",End:4,"4":"End",Left:5,"5":"Left",Right:6,"6":"Right",Justified:7,"7":"Justified", });
624
624
  /**
625
625
  */
626
- module.exports.StyleType = Object.freeze({ Paragraph:0,"0":"Paragraph",Character:1,"1":"Character",Numbering:2,"2":"Numbering",Table:3,"3":"Table",Unsupported:4,"4":"Unsupported", });
626
+ module.exports.FieldCharType = Object.freeze({ Begin:0,"0":"Begin",Separate:1,"1":"Separate",End:2,"2":"End",Unsupported:3,"3":"Unsupported", });
627
627
  /**
628
628
  */
629
- module.exports.PositionalTabAlignmentType = Object.freeze({ Center:0,"0":"Center",Left:1,"1":"Left",Right:2,"2":"Right", });
629
+ module.exports.SpecialIndentKind = Object.freeze({ FirstLine:0,"0":"FirstLine",Hanging:1,"1":"Hanging", });
630
630
  /**
631
631
  */
632
- module.exports.ShdType = Object.freeze({ Nil:0,"0":"Nil",Clear:1,"1":"Clear",Solid:2,"2":"Solid",HorzStripe:3,"3":"HorzStripe",VertStripe:4,"4":"VertStripe",ReverseDiagStripe:5,"5":"ReverseDiagStripe",DiagStripe:6,"6":"DiagStripe",HorzCross:7,"7":"HorzCross",DiagCross:8,"8":"DiagCross",ThinHorzStripe:9,"9":"ThinHorzStripe",ThinVertStripe:10,"10":"ThinVertStripe",ThinReverseDiagStripe:11,"11":"ThinReverseDiagStripe",ThinDiagStripe:12,"12":"ThinDiagStripe",ThinHorzCross:13,"13":"ThinHorzCross",ThinDiagCross:14,"14":"ThinDiagCross",Pct5:15,"15":"Pct5",Pct10:16,"16":"Pct10",Pct12:17,"17":"Pct12",Pct15:18,"18":"Pct15",Pct20:19,"19":"Pct20",Pct25:20,"20":"Pct25",Pct30:21,"21":"Pct30",Pct35:22,"22":"Pct35",Pct37:23,"23":"Pct37",Pct40:24,"24":"Pct40",Pct45:25,"25":"Pct45",Pct50:26,"26":"Pct50",Pct55:27,"27":"Pct55",Pct60:28,"28":"Pct60",Pct62:29,"29":"Pct62",Pct65:30,"30":"Pct65",Pct70:31,"31":"Pct70",Pct75:32,"32":"Pct75",Pct80:33,"33":"Pct80",Pct85:34,"34":"Pct85",Pct87:35,"35":"Pct87",Pct90:36,"36":"Pct90",Pct95:37,"37":"Pct95", });
632
+ module.exports.TableLayoutType = Object.freeze({ Fixed:0,"0":"Fixed",Autofit:1,"1":"Autofit", });
633
633
  /**
634
634
  */
635
- module.exports.TabValueType = Object.freeze({ Bar:0,"0":"Bar",Center:1,"1":"Center",Clear:2,"2":"Clear",Decimal:3,"3":"Decimal",End:4,"4":"End",Right:5,"5":"Right",Num:6,"6":"Num",Start:7,"7":"Start",Left:8,"8":"Left", });
635
+ module.exports.VMergeType = Object.freeze({ Continue:0,"0":"Continue",Restart:1,"1":"Restart",Unsupported:2,"2":"Unsupported", });
636
636
  /**
637
637
  */
638
- module.exports.TextAlignmentType = Object.freeze({ Auto:0,"0":"Auto",Baseline:1,"1":"Baseline",Bottom:2,"2":"Bottom",Center:3,"3":"Center",Top:4,"4":"Top", });
638
+ module.exports.CharacterSpacingValues = Object.freeze({ DoNotCompress:0,"0":"DoNotCompress",CompressPunctuation:1,"1":"CompressPunctuation",CompressPunctuationAndJapaneseKana:2,"2":"CompressPunctuationAndJapaneseKana",Unsupported:3,"3":"Unsupported", });
639
639
  /**
640
640
  */
641
- module.exports.VMergeType = Object.freeze({ Continue:0,"0":"Continue",Restart:1,"1":"Restart",Unsupported:2,"2":"Unsupported", });
641
+ module.exports.HeightRule = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
642
642
  /**
643
643
  */
644
- module.exports.AlignmentType = Object.freeze({ Both:0,"0":"Both",Center:1,"1":"Center",Distribute:2,"2":"Distribute",Start:3,"3":"Start",End:4,"4":"End",Left:5,"5":"Left",Right:6,"6":"Right",Justified:7,"7":"Justified", });
644
+ module.exports.LevelSuffixType = Object.freeze({ Nothing:0,"0":"Nothing",Space:1,"1":"Space",Tab:2,"2":"Tab", });
645
645
  /**
646
646
  */
647
- module.exports.BreakType = Object.freeze({ Page:0,"0":"Page",Column:1,"1":"Column",TextWrapping:2,"2":"TextWrapping",Unsupported:3,"3":"Unsupported", });
647
+ module.exports.PositionalTabRelativeTo = Object.freeze({ Indent:0,"0":"Indent",Margin:1,"1":"Margin", });
648
648
  /**
649
649
  */
650
- module.exports.FieldCharType = Object.freeze({ Begin:0,"0":"Begin",Separate:1,"1":"Separate",End:2,"2":"End",Unsupported:3,"3":"Unsupported", });
650
+ module.exports.StyleType = Object.freeze({ Paragraph:0,"0":"Paragraph",Character:1,"1":"Character",Numbering:2,"2":"Numbering",Table:3,"3":"Table",Unsupported:4,"4":"Unsupported", });
651
651
  /**
652
652
  */
653
- module.exports.SpecialIndentKind = Object.freeze({ FirstLine:0,"0":"FirstLine",Hanging:1,"1":"Hanging", });
653
+ module.exports.TableAlignmentType = Object.freeze({ Center:0,"0":"Center",Left:1,"1":"Left",Right:2,"2":"Right", });
654
654
  /**
655
655
  */
656
656
  class AbstractNumbering {
Binary file
@@ -425,8 +425,8 @@ export function tablepositionproperty_position_x_alignment(a: number, b: number,
425
425
  export function tablepositionproperty_position_y_alignment(a: number, b: number, c: number): number;
426
426
  export function tablepositionproperty_position_x(a: number, b: number): number;
427
427
  export function tablepositionproperty_position_y(a: number, b: number): number;
428
- export function __wbg_tablecellproperty_free(a: number): void;
429
428
  export function __wbg_tableproperty_free(a: number): void;
429
+ export function __wbg_tablecellproperty_free(a: number): void;
430
430
  export function __wbindgen_malloc(a: number): number;
431
431
  export function __wbindgen_realloc(a: number, b: number, c: number): number;
432
432
  export function __wbindgen_add_to_stack_pointer(a: number): number;
@@ -331,42 +331,6 @@ export enum WidthType {
331
331
  }
332
332
  /**
333
333
  */
334
- export enum FontPitchType {
335
- Default,
336
- Fixed,
337
- Variable,
338
- }
339
- /**
340
- */
341
- export enum VertAlignType {
342
- Baseline,
343
- SuperScript,
344
- SubScript,
345
- Unsupported,
346
- }
347
- /**
348
- */
349
- export enum TableAlignmentType {
350
- Center,
351
- Left,
352
- Right,
353
- }
354
- /**
355
- */
356
- export enum TextDirectionType {
357
- Lr,
358
- LrV,
359
- Rl,
360
- RlV,
361
- Tb,
362
- TbV,
363
- TbRlV,
364
- TbRl,
365
- BtLr,
366
- LrTbV,
367
- }
368
- /**
369
- */
370
334
  export enum TableBorderPosition {
371
335
  Left,
372
336
  Right,
@@ -399,6 +363,13 @@ export enum ParagraphBorderPosition {
399
363
  }
400
364
  /**
401
365
  */
366
+ export enum FontPitchType {
367
+ Default,
368
+ Fixed,
369
+ Variable,
370
+ }
371
+ /**
372
+ */
402
373
  export enum TabLeaderType {
403
374
  Dot,
404
375
  Heavy,
@@ -409,12 +380,6 @@ export enum TabLeaderType {
409
380
  }
410
381
  /**
411
382
  */
412
- export enum TableLayoutType {
413
- Fixed,
414
- Autofit,
415
- }
416
- /**
417
- */
418
383
  export enum VAlignType {
419
384
  Top,
420
385
  Center,
@@ -423,39 +388,10 @@ export enum VAlignType {
423
388
  }
424
389
  /**
425
390
  */
426
- export enum CharacterSpacingValues {
427
- DoNotCompress,
428
- CompressPunctuation,
429
- CompressPunctuationAndJapaneseKana,
430
- Unsupported,
431
- }
432
- /**
433
- */
434
- export enum HeightRule {
435
- Auto,
436
- AtLeast,
437
- Exact,
438
- }
439
- /**
440
- */
441
- export enum LevelSuffixType {
442
- Nothing,
443
- Space,
444
- Tab,
445
- }
446
- /**
447
- */
448
- export enum PositionalTabRelativeTo {
449
- Indent,
450
- Margin,
451
- }
452
- /**
453
- */
454
- export enum StyleType {
455
- Paragraph,
456
- Character,
457
- Numbering,
458
- Table,
391
+ export enum VertAlignType {
392
+ Baseline,
393
+ SuperScript,
394
+ SubScript,
459
395
  Unsupported,
460
396
  }
461
397
  /**
@@ -531,9 +467,24 @@ export enum TextAlignmentType {
531
467
  }
532
468
  /**
533
469
  */
534
- export enum VMergeType {
535
- Continue,
536
- Restart,
470
+ export enum TextDirectionType {
471
+ Lr,
472
+ LrV,
473
+ Rl,
474
+ RlV,
475
+ Tb,
476
+ TbV,
477
+ TbRlV,
478
+ TbRl,
479
+ BtLr,
480
+ LrTbV,
481
+ }
482
+ /**
483
+ */
484
+ export enum BreakType {
485
+ Page,
486
+ Column,
487
+ TextWrapping,
537
488
  Unsupported,
538
489
  }
539
490
  /**
@@ -550,14 +501,6 @@ export enum AlignmentType {
550
501
  }
551
502
  /**
552
503
  */
553
- export enum BreakType {
554
- Page,
555
- Column,
556
- TextWrapping,
557
- Unsupported,
558
- }
559
- /**
560
- */
561
504
  export enum FieldCharType {
562
505
  Begin,
563
506
  Separate,
@@ -572,6 +515,63 @@ export enum SpecialIndentKind {
572
515
  }
573
516
  /**
574
517
  */
518
+ export enum TableLayoutType {
519
+ Fixed,
520
+ Autofit,
521
+ }
522
+ /**
523
+ */
524
+ export enum VMergeType {
525
+ Continue,
526
+ Restart,
527
+ Unsupported,
528
+ }
529
+ /**
530
+ */
531
+ export enum CharacterSpacingValues {
532
+ DoNotCompress,
533
+ CompressPunctuation,
534
+ CompressPunctuationAndJapaneseKana,
535
+ Unsupported,
536
+ }
537
+ /**
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
  /**
@@ -582,76 +582,76 @@ export const SectionType = Object.freeze({ NextPage:0,"0":"NextPage",NextColumn:
582
582
  export const WidthType = Object.freeze({ Dxa:0,"0":"Dxa",Auto:1,"1":"Auto",Pct:2,"2":"Pct",Nil:3,"3":"Nil",Unsupported:4,"4":"Unsupported", });
583
583
  /**
584
584
  */
585
- export const FontPitchType = Object.freeze({ Default:0,"0":"Default",Fixed:1,"1":"Fixed",Variable:2,"2":"Variable", });
585
+ export const TableBorderPosition = Object.freeze({ Left:0,"0":"Left",Right:1,"1":"Right",Top:2,"2":"Top",Bottom:3,"3":"Bottom",InsideH:4,"4":"InsideH",InsideV:5,"5":"InsideV", });
586
586
  /**
587
587
  */
588
- export const VertAlignType = Object.freeze({ Baseline:0,"0":"Baseline",SuperScript:1,"1":"SuperScript",SubScript:2,"2":"SubScript",Unsupported:3,"3":"Unsupported", });
588
+ export const TableCellBorderPosition = Object.freeze({ Left:0,"0":"Left",Right:1,"1":"Right",Top:2,"2":"Top",Bottom:3,"3":"Bottom",InsideH:4,"4":"InsideH",InsideV:5,"5":"InsideV",Tl2br:6,"6":"Tl2br",Tr2bl:7,"7":"Tr2bl", });
589
589
  /**
590
590
  */
591
- export const TableAlignmentType = Object.freeze({ Center:0,"0":"Center",Left:1,"1":"Left",Right:2,"2":"Right", });
591
+ export const ParagraphBorderPosition = Object.freeze({ Left:0,"0":"Left",Right:1,"1":"Right",Top:2,"2":"Top",Bottom:3,"3":"Bottom",Between:4,"4":"Between",Bar:5,"5":"Bar", });
592
592
  /**
593
593
  */
594
- export const TextDirectionType = Object.freeze({ Lr:0,"0":"Lr",LrV:1,"1":"LrV",Rl:2,"2":"Rl",RlV:3,"3":"RlV",Tb:4,"4":"Tb",TbV:5,"5":"TbV",TbRlV:6,"6":"TbRlV",TbRl:7,"7":"TbRl",BtLr:8,"8":"BtLr",LrTbV:9,"9":"LrTbV", });
594
+ export const FontPitchType = Object.freeze({ Default:0,"0":"Default",Fixed:1,"1":"Fixed",Variable:2,"2":"Variable", });
595
595
  /**
596
596
  */
597
- export const TableBorderPosition = Object.freeze({ Left:0,"0":"Left",Right:1,"1":"Right",Top:2,"2":"Top",Bottom:3,"3":"Bottom",InsideH:4,"4":"InsideH",InsideV:5,"5":"InsideV", });
597
+ export const TabLeaderType = Object.freeze({ Dot:0,"0":"Dot",Heavy:1,"1":"Heavy",Hyphen:2,"2":"Hyphen",MiddleDot:3,"3":"MiddleDot",None:4,"4":"None",Underscore:5,"5":"Underscore", });
598
598
  /**
599
599
  */
600
- export const TableCellBorderPosition = Object.freeze({ Left:0,"0":"Left",Right:1,"1":"Right",Top:2,"2":"Top",Bottom:3,"3":"Bottom",InsideH:4,"4":"InsideH",InsideV:5,"5":"InsideV",Tl2br:6,"6":"Tl2br",Tr2bl:7,"7":"Tr2bl", });
600
+ export const VAlignType = Object.freeze({ Top:0,"0":"Top",Center:1,"1":"Center",Bottom:2,"2":"Bottom",Unsupported:3,"3":"Unsupported", });
601
601
  /**
602
602
  */
603
- export const ParagraphBorderPosition = Object.freeze({ Left:0,"0":"Left",Right:1,"1":"Right",Top:2,"2":"Top",Bottom:3,"3":"Bottom",Between:4,"4":"Between",Bar:5,"5":"Bar", });
603
+ export const VertAlignType = Object.freeze({ Baseline:0,"0":"Baseline",SuperScript:1,"1":"SuperScript",SubScript:2,"2":"SubScript",Unsupported:3,"3":"Unsupported", });
604
604
  /**
605
605
  */
606
- export const TabLeaderType = Object.freeze({ Dot:0,"0":"Dot",Heavy:1,"1":"Heavy",Hyphen:2,"2":"Hyphen",MiddleDot:3,"3":"MiddleDot",None:4,"4":"None",Underscore:5,"5":"Underscore", });
606
+ export const PositionalTabAlignmentType = Object.freeze({ Center:0,"0":"Center",Left:1,"1":"Left",Right:2,"2":"Right", });
607
607
  /**
608
608
  */
609
- export const TableLayoutType = Object.freeze({ Fixed:0,"0":"Fixed",Autofit:1,"1":"Autofit", });
609
+ export const ShdType = Object.freeze({ Nil:0,"0":"Nil",Clear:1,"1":"Clear",Solid:2,"2":"Solid",HorzStripe:3,"3":"HorzStripe",VertStripe:4,"4":"VertStripe",ReverseDiagStripe:5,"5":"ReverseDiagStripe",DiagStripe:6,"6":"DiagStripe",HorzCross:7,"7":"HorzCross",DiagCross:8,"8":"DiagCross",ThinHorzStripe:9,"9":"ThinHorzStripe",ThinVertStripe:10,"10":"ThinVertStripe",ThinReverseDiagStripe:11,"11":"ThinReverseDiagStripe",ThinDiagStripe:12,"12":"ThinDiagStripe",ThinHorzCross:13,"13":"ThinHorzCross",ThinDiagCross:14,"14":"ThinDiagCross",Pct5:15,"15":"Pct5",Pct10:16,"16":"Pct10",Pct12:17,"17":"Pct12",Pct15:18,"18":"Pct15",Pct20:19,"19":"Pct20",Pct25:20,"20":"Pct25",Pct30:21,"21":"Pct30",Pct35:22,"22":"Pct35",Pct37:23,"23":"Pct37",Pct40:24,"24":"Pct40",Pct45:25,"25":"Pct45",Pct50:26,"26":"Pct50",Pct55:27,"27":"Pct55",Pct60:28,"28":"Pct60",Pct62:29,"29":"Pct62",Pct65:30,"30":"Pct65",Pct70:31,"31":"Pct70",Pct75:32,"32":"Pct75",Pct80:33,"33":"Pct80",Pct85:34,"34":"Pct85",Pct87:35,"35":"Pct87",Pct90:36,"36":"Pct90",Pct95:37,"37":"Pct95", });
610
610
  /**
611
611
  */
612
- export const VAlignType = Object.freeze({ Top:0,"0":"Top",Center:1,"1":"Center",Bottom:2,"2":"Bottom",Unsupported:3,"3":"Unsupported", });
612
+ export const TabValueType = Object.freeze({ Bar:0,"0":"Bar",Center:1,"1":"Center",Clear:2,"2":"Clear",Decimal:3,"3":"Decimal",End:4,"4":"End",Right:5,"5":"Right",Num:6,"6":"Num",Start:7,"7":"Start",Left:8,"8":"Left", });
613
613
  /**
614
614
  */
615
- export const CharacterSpacingValues = Object.freeze({ DoNotCompress:0,"0":"DoNotCompress",CompressPunctuation:1,"1":"CompressPunctuation",CompressPunctuationAndJapaneseKana:2,"2":"CompressPunctuationAndJapaneseKana",Unsupported:3,"3":"Unsupported", });
615
+ export const TextAlignmentType = Object.freeze({ Auto:0,"0":"Auto",Baseline:1,"1":"Baseline",Bottom:2,"2":"Bottom",Center:3,"3":"Center",Top:4,"4":"Top", });
616
616
  /**
617
617
  */
618
- export const HeightRule = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
618
+ export const TextDirectionType = Object.freeze({ Lr:0,"0":"Lr",LrV:1,"1":"LrV",Rl:2,"2":"Rl",RlV:3,"3":"RlV",Tb:4,"4":"Tb",TbV:5,"5":"TbV",TbRlV:6,"6":"TbRlV",TbRl:7,"7":"TbRl",BtLr:8,"8":"BtLr",LrTbV:9,"9":"LrTbV", });
619
619
  /**
620
620
  */
621
- export const LevelSuffixType = Object.freeze({ Nothing:0,"0":"Nothing",Space:1,"1":"Space",Tab:2,"2":"Tab", });
621
+ export const BreakType = Object.freeze({ Page:0,"0":"Page",Column:1,"1":"Column",TextWrapping:2,"2":"TextWrapping",Unsupported:3,"3":"Unsupported", });
622
622
  /**
623
623
  */
624
- export const PositionalTabRelativeTo = Object.freeze({ Indent:0,"0":"Indent",Margin:1,"1":"Margin", });
624
+ export const AlignmentType = Object.freeze({ Both:0,"0":"Both",Center:1,"1":"Center",Distribute:2,"2":"Distribute",Start:3,"3":"Start",End:4,"4":"End",Left:5,"5":"Left",Right:6,"6":"Right",Justified:7,"7":"Justified", });
625
625
  /**
626
626
  */
627
- export const StyleType = Object.freeze({ Paragraph:0,"0":"Paragraph",Character:1,"1":"Character",Numbering:2,"2":"Numbering",Table:3,"3":"Table",Unsupported:4,"4":"Unsupported", });
627
+ export const FieldCharType = Object.freeze({ Begin:0,"0":"Begin",Separate:1,"1":"Separate",End:2,"2":"End",Unsupported:3,"3":"Unsupported", });
628
628
  /**
629
629
  */
630
- export const PositionalTabAlignmentType = Object.freeze({ Center:0,"0":"Center",Left:1,"1":"Left",Right:2,"2":"Right", });
630
+ export const SpecialIndentKind = Object.freeze({ FirstLine:0,"0":"FirstLine",Hanging:1,"1":"Hanging", });
631
631
  /**
632
632
  */
633
- export const ShdType = Object.freeze({ Nil:0,"0":"Nil",Clear:1,"1":"Clear",Solid:2,"2":"Solid",HorzStripe:3,"3":"HorzStripe",VertStripe:4,"4":"VertStripe",ReverseDiagStripe:5,"5":"ReverseDiagStripe",DiagStripe:6,"6":"DiagStripe",HorzCross:7,"7":"HorzCross",DiagCross:8,"8":"DiagCross",ThinHorzStripe:9,"9":"ThinHorzStripe",ThinVertStripe:10,"10":"ThinVertStripe",ThinReverseDiagStripe:11,"11":"ThinReverseDiagStripe",ThinDiagStripe:12,"12":"ThinDiagStripe",ThinHorzCross:13,"13":"ThinHorzCross",ThinDiagCross:14,"14":"ThinDiagCross",Pct5:15,"15":"Pct5",Pct10:16,"16":"Pct10",Pct12:17,"17":"Pct12",Pct15:18,"18":"Pct15",Pct20:19,"19":"Pct20",Pct25:20,"20":"Pct25",Pct30:21,"21":"Pct30",Pct35:22,"22":"Pct35",Pct37:23,"23":"Pct37",Pct40:24,"24":"Pct40",Pct45:25,"25":"Pct45",Pct50:26,"26":"Pct50",Pct55:27,"27":"Pct55",Pct60:28,"28":"Pct60",Pct62:29,"29":"Pct62",Pct65:30,"30":"Pct65",Pct70:31,"31":"Pct70",Pct75:32,"32":"Pct75",Pct80:33,"33":"Pct80",Pct85:34,"34":"Pct85",Pct87:35,"35":"Pct87",Pct90:36,"36":"Pct90",Pct95:37,"37":"Pct95", });
633
+ export const TableLayoutType = Object.freeze({ Fixed:0,"0":"Fixed",Autofit:1,"1":"Autofit", });
634
634
  /**
635
635
  */
636
- export const TabValueType = Object.freeze({ Bar:0,"0":"Bar",Center:1,"1":"Center",Clear:2,"2":"Clear",Decimal:3,"3":"Decimal",End:4,"4":"End",Right:5,"5":"Right",Num:6,"6":"Num",Start:7,"7":"Start",Left:8,"8":"Left", });
636
+ export const VMergeType = Object.freeze({ Continue:0,"0":"Continue",Restart:1,"1":"Restart",Unsupported:2,"2":"Unsupported", });
637
637
  /**
638
638
  */
639
- export const TextAlignmentType = Object.freeze({ Auto:0,"0":"Auto",Baseline:1,"1":"Baseline",Bottom:2,"2":"Bottom",Center:3,"3":"Center",Top:4,"4":"Top", });
639
+ export const CharacterSpacingValues = Object.freeze({ DoNotCompress:0,"0":"DoNotCompress",CompressPunctuation:1,"1":"CompressPunctuation",CompressPunctuationAndJapaneseKana:2,"2":"CompressPunctuationAndJapaneseKana",Unsupported:3,"3":"Unsupported", });
640
640
  /**
641
641
  */
642
- export const VMergeType = Object.freeze({ Continue:0,"0":"Continue",Restart:1,"1":"Restart",Unsupported:2,"2":"Unsupported", });
642
+ export const HeightRule = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
643
643
  /**
644
644
  */
645
- export const AlignmentType = Object.freeze({ Both:0,"0":"Both",Center:1,"1":"Center",Distribute:2,"2":"Distribute",Start:3,"3":"Start",End:4,"4":"End",Left:5,"5":"Left",Right:6,"6":"Right",Justified:7,"7":"Justified", });
645
+ export const LevelSuffixType = Object.freeze({ Nothing:0,"0":"Nothing",Space:1,"1":"Space",Tab:2,"2":"Tab", });
646
646
  /**
647
647
  */
648
- export const BreakType = Object.freeze({ Page:0,"0":"Page",Column:1,"1":"Column",TextWrapping:2,"2":"TextWrapping",Unsupported:3,"3":"Unsupported", });
648
+ export const PositionalTabRelativeTo = Object.freeze({ Indent:0,"0":"Indent",Margin:1,"1":"Margin", });
649
649
  /**
650
650
  */
651
- export const FieldCharType = Object.freeze({ Begin:0,"0":"Begin",Separate:1,"1":"Separate",End:2,"2":"End",Unsupported:3,"3":"Unsupported", });
651
+ export const StyleType = Object.freeze({ Paragraph:0,"0":"Paragraph",Character:1,"1":"Character",Numbering:2,"2":"Numbering",Table:3,"3":"Table",Unsupported:4,"4":"Unsupported", });
652
652
  /**
653
653
  */
654
- export const SpecialIndentKind = Object.freeze({ FirstLine:0,"0":"FirstLine",Hanging:1,"1":"Hanging", });
654
+ export const TableAlignmentType = Object.freeze({ Center:0,"0":"Center",Left:1,"1":"Left",Right:2,"2":"Right", });
655
655
  /**
656
656
  */
657
657
  export class AbstractNumbering {
Binary file
@@ -425,8 +425,8 @@ export function tablepositionproperty_position_x_alignment(a: number, b: number,
425
425
  export function tablepositionproperty_position_y_alignment(a: number, b: number, c: number): number;
426
426
  export function tablepositionproperty_position_x(a: number, b: number): number;
427
427
  export function tablepositionproperty_position_y(a: number, b: number): number;
428
- export function __wbg_tablecellproperty_free(a: number): void;
429
428
  export function __wbg_tableproperty_free(a: number): void;
429
+ export function __wbg_tablecellproperty_free(a: number): void;
430
430
  export function __wbindgen_malloc(a: number): number;
431
431
  export function __wbindgen_realloc(a: number, b: number, c: number): number;
432
432
  export function __wbindgen_add_to_stack_pointer(a: number): number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "docx-wasm",
3
- "version": "0.4.18-rc41",
3
+ "version": "0.4.18-rc42",
4
4
  "main": "dist/node/index.js",
5
5
  "browser": "dist/web/index.js",
6
6
  "author": "bokuweb <bokuweb12@gmail.com>",