docx-wasm 0.4.18-rc20 → 0.4.18-rc22

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.
@@ -176,51 +176,56 @@ export function createDocx(): Docx;
176
176
  export function createFooter(): Footer;
177
177
  /**
178
178
  */
179
- export enum TableBorderPosition {
180
- Left,
181
- Right,
182
- Top,
183
- Bottom,
184
- InsideH,
185
- InsideV,
179
+ export enum HyperlinkType {
180
+ Anchor,
181
+ External,
186
182
  }
187
183
  /**
188
184
  */
189
- export enum TableCellBorderPosition {
190
- Left,
191
- Right,
192
- Top,
193
- Bottom,
194
- InsideH,
195
- InsideV,
196
- Tl2br,
197
- Tr2bl,
185
+ export enum LevelSuffixType {
186
+ Nothing,
187
+ Space,
188
+ Tab,
198
189
  }
199
190
  /**
200
191
  */
201
- export enum ParagraphBorderPosition {
202
- Left,
203
- Right,
204
- Top,
205
- Bottom,
206
- Between,
207
- Bar,
192
+ export enum VMergeType {
193
+ Continue,
194
+ Restart,
195
+ Unsupported,
208
196
  }
209
197
  /**
210
198
  */
211
- export enum FontPitchType {
212
- Default,
199
+ export enum SpecialIndentKind {
200
+ FirstLine,
201
+ Hanging,
202
+ }
203
+ /**
204
+ */
205
+ export enum TableLayoutType {
213
206
  Fixed,
214
- Variable,
207
+ Autofit,
215
208
  }
216
209
  /**
217
210
  */
218
- export enum SectionType {
219
- NextPage,
220
- NextColumn,
221
- Continuous,
222
- EvenPage,
223
- OddPage,
211
+ export enum VertAlignType {
212
+ Baseline,
213
+ SuperScript,
214
+ SubScript,
215
+ Unsupported,
216
+ }
217
+ /**
218
+ */
219
+ export enum PageOrientationType {
220
+ Landscape,
221
+ Portrait,
222
+ }
223
+ /**
224
+ */
225
+ export enum PositionalTabAlignmentType {
226
+ Center,
227
+ Left,
228
+ Right,
224
229
  }
225
230
  /**
226
231
  */
@@ -250,6 +255,18 @@ export enum TextAlignmentType {
250
255
  }
251
256
  /**
252
257
  */
258
+ export enum AlignmentType {
259
+ Both,
260
+ Center,
261
+ Distribute,
262
+ Start,
263
+ End,
264
+ Left,
265
+ Right,
266
+ Justified,
267
+ }
268
+ /**
269
+ */
253
270
  export enum CharacterSpacingValues {
254
271
  DoNotCompress,
255
272
  CompressPunctuation,
@@ -258,9 +275,18 @@ export enum CharacterSpacingValues {
258
275
  }
259
276
  /**
260
277
  */
261
- export enum PositionalTabRelativeTo {
262
- Indent,
263
- Margin,
278
+ export enum FieldCharType {
279
+ Begin,
280
+ Separate,
281
+ End,
282
+ Unsupported,
283
+ }
284
+ /**
285
+ */
286
+ export enum LineSpacingType {
287
+ Auto,
288
+ AtLeast,
289
+ Exact,
264
290
  }
265
291
  /**
266
292
  */
@@ -324,9 +350,12 @@ export enum RelativeFromVType {
324
350
  }
325
351
  /**
326
352
  */
327
- export enum SpecialIndentKind {
328
- FirstLine,
329
- Hanging,
353
+ export enum SectionType {
354
+ NextPage,
355
+ NextColumn,
356
+ Continuous,
357
+ EvenPage,
358
+ OddPage,
330
359
  }
331
360
  /**
332
361
  */
@@ -339,14 +368,6 @@ export enum StyleType {
339
368
  }
340
369
  /**
341
370
  */
342
- export enum VertAlignType {
343
- Baseline,
344
- SuperScript,
345
- SubScript,
346
- Unsupported,
347
- }
348
- /**
349
- */
350
371
  export enum WidthType {
351
372
  Dxa,
352
373
  Auto,
@@ -356,6 +377,89 @@ export enum WidthType {
356
377
  }
357
378
  /**
358
379
  */
380
+ export enum DocGridType {
381
+ Default,
382
+ Lines,
383
+ LinesAndChars,
384
+ SnapToChars,
385
+ }
386
+ /**
387
+ */
388
+ export enum TableBorderPosition {
389
+ Left,
390
+ Right,
391
+ Top,
392
+ Bottom,
393
+ InsideH,
394
+ InsideV,
395
+ }
396
+ /**
397
+ */
398
+ export enum TableCellBorderPosition {
399
+ Left,
400
+ Right,
401
+ Top,
402
+ Bottom,
403
+ InsideH,
404
+ InsideV,
405
+ Tl2br,
406
+ Tr2bl,
407
+ }
408
+ /**
409
+ */
410
+ export enum ParagraphBorderPosition {
411
+ Left,
412
+ Right,
413
+ Top,
414
+ Bottom,
415
+ Between,
416
+ Bar,
417
+ }
418
+ /**
419
+ */
420
+ export enum TabValueType {
421
+ Bar,
422
+ Center,
423
+ Clear,
424
+ Decimal,
425
+ End,
426
+ Right,
427
+ Num,
428
+ Start,
429
+ Left,
430
+ }
431
+ /**
432
+ */
433
+ export enum VAlignType {
434
+ Top,
435
+ Center,
436
+ Bottom,
437
+ Unsupported,
438
+ }
439
+ /**
440
+ */
441
+ export enum BreakType {
442
+ Page,
443
+ Column,
444
+ TextWrapping,
445
+ Unsupported,
446
+ }
447
+ /**
448
+ */
449
+ export enum FontPitchType {
450
+ Default,
451
+ Fixed,
452
+ Variable,
453
+ }
454
+ /**
455
+ */
456
+ export enum HeightRule {
457
+ Auto,
458
+ AtLeast,
459
+ Exact,
460
+ }
461
+ /**
462
+ */
359
463
  export enum BorderType {
360
464
  Nil,
361
465
  None,
@@ -406,6 +510,12 @@ export enum PicAlign {
406
510
  }
407
511
  /**
408
512
  */
513
+ export enum PositionalTabRelativeTo {
514
+ Indent,
515
+ Margin,
516
+ }
517
+ /**
518
+ */
409
519
  export enum ShdType {
410
520
  Nil,
411
521
  Clear,
@@ -448,87 +558,6 @@ export enum ShdType {
448
558
  }
449
559
  /**
450
560
  */
451
- export enum VAlignType {
452
- Top,
453
- Center,
454
- Bottom,
455
- Unsupported,
456
- }
457
- /**
458
- */
459
- export enum HeightRule {
460
- Auto,
461
- AtLeast,
462
- Exact,
463
- }
464
- /**
465
- */
466
- export enum LineSpacingType {
467
- Auto,
468
- AtLeast,
469
- Exact,
470
- }
471
- /**
472
- */
473
- export enum PositionalTabAlignmentType {
474
- Center,
475
- Left,
476
- Right,
477
- }
478
- /**
479
- */
480
- export enum TabValueType {
481
- Bar,
482
- Center,
483
- Clear,
484
- Decimal,
485
- End,
486
- Right,
487
- Num,
488
- Start,
489
- Left,
490
- }
491
- /**
492
- */
493
- export enum TableLayoutType {
494
- Fixed,
495
- Autofit,
496
- }
497
- /**
498
- */
499
- export enum LevelSuffixType {
500
- Nothing,
501
- Space,
502
- Tab,
503
- }
504
- /**
505
- */
506
- export enum AlignmentType {
507
- Both,
508
- Center,
509
- Distribute,
510
- Start,
511
- End,
512
- Left,
513
- Right,
514
- Justified,
515
- }
516
- /**
517
- */
518
- export enum BreakType {
519
- Page,
520
- Column,
521
- TextWrapping,
522
- Unsupported,
523
- }
524
- /**
525
- */
526
- export enum PageOrientationType {
527
- Landscape,
528
- Portrait,
529
- }
530
- /**
531
- */
532
561
  export enum TextDirectionType {
533
562
  Lr,
534
563
  LrV,
@@ -543,35 +572,6 @@ export enum TextDirectionType {
543
572
  }
544
573
  /**
545
574
  */
546
- export enum DocGridType {
547
- Default,
548
- Lines,
549
- LinesAndChars,
550
- SnapToChars,
551
- }
552
- /**
553
- */
554
- export enum FieldCharType {
555
- Begin,
556
- Separate,
557
- End,
558
- Unsupported,
559
- }
560
- /**
561
- */
562
- export enum HyperlinkType {
563
- Anchor,
564
- External,
565
- }
566
- /**
567
- */
568
- export enum VMergeType {
569
- Continue,
570
- Restart,
571
- Unsupported,
572
- }
573
- /**
574
- */
575
575
  export class AbstractNumbering {
576
576
  free(): void;
577
577
  /**
@@ -504,19 +504,28 @@ module.exports.createFooter = function() {
504
504
 
505
505
  /**
506
506
  */
507
- 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", });
507
+ module.exports.HyperlinkType = Object.freeze({ Anchor:0,"0":"Anchor",External:1,"1":"External", });
508
508
  /**
509
509
  */
510
- 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", });
510
+ module.exports.LevelSuffixType = Object.freeze({ Nothing:0,"0":"Nothing",Space:1,"1":"Space",Tab:2,"2":"Tab", });
511
511
  /**
512
512
  */
513
- 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", });
513
+ module.exports.VMergeType = Object.freeze({ Continue:0,"0":"Continue",Restart:1,"1":"Restart",Unsupported:2,"2":"Unsupported", });
514
514
  /**
515
515
  */
516
- module.exports.FontPitchType = Object.freeze({ Default:0,"0":"Default",Fixed:1,"1":"Fixed",Variable:2,"2":"Variable", });
516
+ module.exports.SpecialIndentKind = Object.freeze({ FirstLine:0,"0":"FirstLine",Hanging:1,"1":"Hanging", });
517
517
  /**
518
518
  */
519
- module.exports.SectionType = Object.freeze({ NextPage:0,"0":"NextPage",NextColumn:1,"1":"NextColumn",Continuous:2,"2":"Continuous",EvenPage:3,"3":"EvenPage",OddPage:4,"4":"OddPage", });
519
+ module.exports.TableLayoutType = Object.freeze({ Fixed:0,"0":"Fixed",Autofit:1,"1":"Autofit", });
520
+ /**
521
+ */
522
+ module.exports.VertAlignType = Object.freeze({ Baseline:0,"0":"Baseline",SuperScript:1,"1":"SuperScript",SubScript:2,"2":"SubScript",Unsupported:3,"3":"Unsupported", });
523
+ /**
524
+ */
525
+ module.exports.PageOrientationType = Object.freeze({ Landscape:0,"0":"Landscape",Portrait:1,"1":"Portrait", });
526
+ /**
527
+ */
528
+ module.exports.PositionalTabAlignmentType = Object.freeze({ Center:0,"0":"Center",Left:1,"1":"Left",Right:2,"2":"Right", });
520
529
  /**
521
530
  */
522
531
  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", });
@@ -528,10 +537,16 @@ module.exports.TableAlignmentType = Object.freeze({ Center:0,"0":"Center",Left:1
528
537
  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", });
529
538
  /**
530
539
  */
540
+ 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", });
541
+ /**
542
+ */
531
543
  module.exports.CharacterSpacingValues = Object.freeze({ DoNotCompress:0,"0":"DoNotCompress",CompressPunctuation:1,"1":"CompressPunctuation",CompressPunctuationAndJapaneseKana:2,"2":"CompressPunctuationAndJapaneseKana",Unsupported:3,"3":"Unsupported", });
532
544
  /**
533
545
  */
534
- module.exports.PositionalTabRelativeTo = Object.freeze({ Indent:0,"0":"Indent",Margin:1,"1":"Margin", });
546
+ module.exports.FieldCharType = Object.freeze({ Begin:0,"0":"Begin",Separate:1,"1":"Separate",End:2,"2":"End",Unsupported:3,"3":"Unsupported", });
547
+ /**
548
+ */
549
+ module.exports.LineSpacingType = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
535
550
  /**
536
551
  */
537
552
  module.exports.RelativeFromHType = Object.freeze({
@@ -584,73 +599,58 @@ RightMargin:7,"7":"RightMargin", });
584
599
  module.exports.RelativeFromVType = Object.freeze({ BottomMargin:0,"0":"BottomMargin",InsideMargin:1,"1":"InsideMargin",Line:2,"2":"Line",Margin:3,"3":"Margin",OutsizeMargin:4,"4":"OutsizeMargin",Page:5,"5":"Page",Paragraph:6,"6":"Paragraph",TopMargin:7,"7":"TopMargin", });
585
600
  /**
586
601
  */
587
- module.exports.SpecialIndentKind = Object.freeze({ FirstLine:0,"0":"FirstLine",Hanging:1,"1":"Hanging", });
602
+ module.exports.SectionType = Object.freeze({ NextPage:0,"0":"NextPage",NextColumn:1,"1":"NextColumn",Continuous:2,"2":"Continuous",EvenPage:3,"3":"EvenPage",OddPage:4,"4":"OddPage", });
588
603
  /**
589
604
  */
590
605
  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", });
591
606
  /**
592
607
  */
593
- module.exports.VertAlignType = Object.freeze({ Baseline:0,"0":"Baseline",SuperScript:1,"1":"SuperScript",SubScript:2,"2":"SubScript",Unsupported:3,"3":"Unsupported", });
594
- /**
595
- */
596
608
  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", });
597
609
  /**
598
610
  */
599
- module.exports.BorderType = Object.freeze({ Nil:0,"0":"Nil",None:1,"1":"None",Single:2,"2":"Single",Thick:3,"3":"Thick",Double:4,"4":"Double",Dotted:5,"5":"Dotted",Dashed:6,"6":"Dashed",DotDash:7,"7":"DotDash",DotDotDash:8,"8":"DotDotDash",Triple:9,"9":"Triple",ThinThickSmallGap:10,"10":"ThinThickSmallGap",ThickThinSmallGap:11,"11":"ThickThinSmallGap",ThinThickThinSmallGap:12,"12":"ThinThickThinSmallGap",ThinThickMediumGap:13,"13":"ThinThickMediumGap",ThickThinMediumGap:14,"14":"ThickThinMediumGap",ThinThickThinMediumGap:15,"15":"ThinThickThinMediumGap",ThinThickLargeGap:16,"16":"ThinThickLargeGap",ThickThinLargeGap:17,"17":"ThickThinLargeGap",ThinThickThinLargeGap:18,"18":"ThinThickThinLargeGap",Wave:19,"19":"Wave",DoubleWave:20,"20":"DoubleWave",DashSmallGap:21,"21":"DashSmallGap",DashDotStroked:22,"22":"DashDotStroked",ThreeDEmboss:23,"23":"ThreeDEmboss",ThreeDEngrave:24,"24":"ThreeDEngrave",Outset:25,"25":"Outset",Inset:26,"26":"Inset",Apples:27,"27":"Apples",ArchedScallops:28,"28":"ArchedScallops",BabyPacifier:29,"29":"BabyPacifier",BabyRattle:30,"30":"BabyRattle", });
600
- /**
601
- */
602
- module.exports.DrawingPositionType = Object.freeze({ Anchor:0,"0":"Anchor",Inline:1,"1":"Inline", });
603
- /**
604
- */
605
- module.exports.PicAlign = Object.freeze({ Left:0,"0":"Left",Right:1,"1":"Right",Center:2,"2":"Center",Bottom:3,"3":"Bottom",Top:4,"4":"Top", });
606
- /**
607
- */
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
- /**
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.DocGridType = Object.freeze({ Default:0,"0":"Default",Lines:1,"1":"Lines",LinesAndChars:2,"2":"LinesAndChars",SnapToChars:3,"3":"SnapToChars", });
612
612
  /**
613
613
  */
614
- module.exports.HeightRule = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
614
+ 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", });
615
615
  /**
616
616
  */
617
- module.exports.LineSpacingType = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
617
+ 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", });
618
618
  /**
619
619
  */
620
- module.exports.PositionalTabAlignmentType = Object.freeze({ Center:0,"0":"Center",Left:1,"1":"Left",Right:2,"2":"Right", });
620
+ 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", });
621
621
  /**
622
622
  */
623
623
  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", });
624
624
  /**
625
625
  */
626
- module.exports.TableLayoutType = Object.freeze({ Fixed:0,"0":"Fixed",Autofit:1,"1":"Autofit", });
626
+ module.exports.VAlignType = Object.freeze({ Top:0,"0":"Top",Center:1,"1":"Center",Bottom:2,"2":"Bottom",Unsupported:3,"3":"Unsupported", });
627
627
  /**
628
628
  */
629
- module.exports.LevelSuffixType = Object.freeze({ Nothing:0,"0":"Nothing",Space:1,"1":"Space",Tab:2,"2":"Tab", });
629
+ module.exports.BreakType = Object.freeze({ Page:0,"0":"Page",Column:1,"1":"Column",TextWrapping:2,"2":"TextWrapping",Unsupported:3,"3":"Unsupported", });
630
630
  /**
631
631
  */
632
- 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", });
632
+ module.exports.FontPitchType = Object.freeze({ Default:0,"0":"Default",Fixed:1,"1":"Fixed",Variable:2,"2":"Variable", });
633
633
  /**
634
634
  */
635
- module.exports.BreakType = Object.freeze({ Page:0,"0":"Page",Column:1,"1":"Column",TextWrapping:2,"2":"TextWrapping",Unsupported:3,"3":"Unsupported", });
635
+ module.exports.HeightRule = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
636
636
  /**
637
637
  */
638
- module.exports.PageOrientationType = Object.freeze({ Landscape:0,"0":"Landscape",Portrait:1,"1":"Portrait", });
638
+ module.exports.BorderType = Object.freeze({ Nil:0,"0":"Nil",None:1,"1":"None",Single:2,"2":"Single",Thick:3,"3":"Thick",Double:4,"4":"Double",Dotted:5,"5":"Dotted",Dashed:6,"6":"Dashed",DotDash:7,"7":"DotDash",DotDotDash:8,"8":"DotDotDash",Triple:9,"9":"Triple",ThinThickSmallGap:10,"10":"ThinThickSmallGap",ThickThinSmallGap:11,"11":"ThickThinSmallGap",ThinThickThinSmallGap:12,"12":"ThinThickThinSmallGap",ThinThickMediumGap:13,"13":"ThinThickMediumGap",ThickThinMediumGap:14,"14":"ThickThinMediumGap",ThinThickThinMediumGap:15,"15":"ThinThickThinMediumGap",ThinThickLargeGap:16,"16":"ThinThickLargeGap",ThickThinLargeGap:17,"17":"ThickThinLargeGap",ThinThickThinLargeGap:18,"18":"ThinThickThinLargeGap",Wave:19,"19":"Wave",DoubleWave:20,"20":"DoubleWave",DashSmallGap:21,"21":"DashSmallGap",DashDotStroked:22,"22":"DashDotStroked",ThreeDEmboss:23,"23":"ThreeDEmboss",ThreeDEngrave:24,"24":"ThreeDEngrave",Outset:25,"25":"Outset",Inset:26,"26":"Inset",Apples:27,"27":"Apples",ArchedScallops:28,"28":"ArchedScallops",BabyPacifier:29,"29":"BabyPacifier",BabyRattle:30,"30":"BabyRattle", });
639
639
  /**
640
640
  */
641
- 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", });
641
+ module.exports.DrawingPositionType = Object.freeze({ Anchor:0,"0":"Anchor",Inline:1,"1":"Inline", });
642
642
  /**
643
643
  */
644
- module.exports.DocGridType = Object.freeze({ Default:0,"0":"Default",Lines:1,"1":"Lines",LinesAndChars:2,"2":"LinesAndChars",SnapToChars:3,"3":"SnapToChars", });
644
+ module.exports.PicAlign = Object.freeze({ Left:0,"0":"Left",Right:1,"1":"Right",Center:2,"2":"Center",Bottom:3,"3":"Bottom",Top:4,"4":"Top", });
645
645
  /**
646
646
  */
647
- module.exports.FieldCharType = Object.freeze({ Begin:0,"0":"Begin",Separate:1,"1":"Separate",End:2,"2":"End",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.HyperlinkType = Object.freeze({ Anchor:0,"0":"Anchor",External:1,"1":"External", });
650
+ 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", });
651
651
  /**
652
652
  */
653
- module.exports.VMergeType = Object.freeze({ Continue:0,"0":"Continue",Restart:1,"1":"Restart",Unsupported:2,"2":"Unsupported", });
653
+ 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", });
654
654
  /**
655
655
  */
656
656
  class AbstractNumbering {
Binary file
@@ -410,8 +410,8 @@ export function __wbg_footer_free(a: number): void;
410
410
  export function createFooter(): number;
411
411
  export function footer_add_paragraph(a: number, b: number): number;
412
412
  export function footer_add_table(a: number, b: number): number;
413
- export function __wbg_tablecellproperty_free(a: number): void;
414
413
  export function __wbg_tableproperty_free(a: number): void;
414
+ export function __wbg_tablecellproperty_free(a: number): void;
415
415
  export function __wbindgen_malloc(a: number): number;
416
416
  export function __wbindgen_realloc(a: number, b: number, c: number): number;
417
417
  export function __wbindgen_add_to_stack_pointer(a: number): number;
@@ -176,51 +176,56 @@ export function createDocx(): Docx;
176
176
  export function createFooter(): Footer;
177
177
  /**
178
178
  */
179
- export enum TableBorderPosition {
180
- Left,
181
- Right,
182
- Top,
183
- Bottom,
184
- InsideH,
185
- InsideV,
179
+ export enum HyperlinkType {
180
+ Anchor,
181
+ External,
186
182
  }
187
183
  /**
188
184
  */
189
- export enum TableCellBorderPosition {
190
- Left,
191
- Right,
192
- Top,
193
- Bottom,
194
- InsideH,
195
- InsideV,
196
- Tl2br,
197
- Tr2bl,
185
+ export enum LevelSuffixType {
186
+ Nothing,
187
+ Space,
188
+ Tab,
198
189
  }
199
190
  /**
200
191
  */
201
- export enum ParagraphBorderPosition {
202
- Left,
203
- Right,
204
- Top,
205
- Bottom,
206
- Between,
207
- Bar,
192
+ export enum VMergeType {
193
+ Continue,
194
+ Restart,
195
+ Unsupported,
208
196
  }
209
197
  /**
210
198
  */
211
- export enum FontPitchType {
212
- Default,
199
+ export enum SpecialIndentKind {
200
+ FirstLine,
201
+ Hanging,
202
+ }
203
+ /**
204
+ */
205
+ export enum TableLayoutType {
213
206
  Fixed,
214
- Variable,
207
+ Autofit,
215
208
  }
216
209
  /**
217
210
  */
218
- export enum SectionType {
219
- NextPage,
220
- NextColumn,
221
- Continuous,
222
- EvenPage,
223
- OddPage,
211
+ export enum VertAlignType {
212
+ Baseline,
213
+ SuperScript,
214
+ SubScript,
215
+ Unsupported,
216
+ }
217
+ /**
218
+ */
219
+ export enum PageOrientationType {
220
+ Landscape,
221
+ Portrait,
222
+ }
223
+ /**
224
+ */
225
+ export enum PositionalTabAlignmentType {
226
+ Center,
227
+ Left,
228
+ Right,
224
229
  }
225
230
  /**
226
231
  */
@@ -250,6 +255,18 @@ export enum TextAlignmentType {
250
255
  }
251
256
  /**
252
257
  */
258
+ export enum AlignmentType {
259
+ Both,
260
+ Center,
261
+ Distribute,
262
+ Start,
263
+ End,
264
+ Left,
265
+ Right,
266
+ Justified,
267
+ }
268
+ /**
269
+ */
253
270
  export enum CharacterSpacingValues {
254
271
  DoNotCompress,
255
272
  CompressPunctuation,
@@ -258,9 +275,18 @@ export enum CharacterSpacingValues {
258
275
  }
259
276
  /**
260
277
  */
261
- export enum PositionalTabRelativeTo {
262
- Indent,
263
- Margin,
278
+ export enum FieldCharType {
279
+ Begin,
280
+ Separate,
281
+ End,
282
+ Unsupported,
283
+ }
284
+ /**
285
+ */
286
+ export enum LineSpacingType {
287
+ Auto,
288
+ AtLeast,
289
+ Exact,
264
290
  }
265
291
  /**
266
292
  */
@@ -324,9 +350,12 @@ export enum RelativeFromVType {
324
350
  }
325
351
  /**
326
352
  */
327
- export enum SpecialIndentKind {
328
- FirstLine,
329
- Hanging,
353
+ export enum SectionType {
354
+ NextPage,
355
+ NextColumn,
356
+ Continuous,
357
+ EvenPage,
358
+ OddPage,
330
359
  }
331
360
  /**
332
361
  */
@@ -339,14 +368,6 @@ export enum StyleType {
339
368
  }
340
369
  /**
341
370
  */
342
- export enum VertAlignType {
343
- Baseline,
344
- SuperScript,
345
- SubScript,
346
- Unsupported,
347
- }
348
- /**
349
- */
350
371
  export enum WidthType {
351
372
  Dxa,
352
373
  Auto,
@@ -356,6 +377,89 @@ export enum WidthType {
356
377
  }
357
378
  /**
358
379
  */
380
+ export enum DocGridType {
381
+ Default,
382
+ Lines,
383
+ LinesAndChars,
384
+ SnapToChars,
385
+ }
386
+ /**
387
+ */
388
+ export enum TableBorderPosition {
389
+ Left,
390
+ Right,
391
+ Top,
392
+ Bottom,
393
+ InsideH,
394
+ InsideV,
395
+ }
396
+ /**
397
+ */
398
+ export enum TableCellBorderPosition {
399
+ Left,
400
+ Right,
401
+ Top,
402
+ Bottom,
403
+ InsideH,
404
+ InsideV,
405
+ Tl2br,
406
+ Tr2bl,
407
+ }
408
+ /**
409
+ */
410
+ export enum ParagraphBorderPosition {
411
+ Left,
412
+ Right,
413
+ Top,
414
+ Bottom,
415
+ Between,
416
+ Bar,
417
+ }
418
+ /**
419
+ */
420
+ export enum TabValueType {
421
+ Bar,
422
+ Center,
423
+ Clear,
424
+ Decimal,
425
+ End,
426
+ Right,
427
+ Num,
428
+ Start,
429
+ Left,
430
+ }
431
+ /**
432
+ */
433
+ export enum VAlignType {
434
+ Top,
435
+ Center,
436
+ Bottom,
437
+ Unsupported,
438
+ }
439
+ /**
440
+ */
441
+ export enum BreakType {
442
+ Page,
443
+ Column,
444
+ TextWrapping,
445
+ Unsupported,
446
+ }
447
+ /**
448
+ */
449
+ export enum FontPitchType {
450
+ Default,
451
+ Fixed,
452
+ Variable,
453
+ }
454
+ /**
455
+ */
456
+ export enum HeightRule {
457
+ Auto,
458
+ AtLeast,
459
+ Exact,
460
+ }
461
+ /**
462
+ */
359
463
  export enum BorderType {
360
464
  Nil,
361
465
  None,
@@ -406,6 +510,12 @@ export enum PicAlign {
406
510
  }
407
511
  /**
408
512
  */
513
+ export enum PositionalTabRelativeTo {
514
+ Indent,
515
+ Margin,
516
+ }
517
+ /**
518
+ */
409
519
  export enum ShdType {
410
520
  Nil,
411
521
  Clear,
@@ -448,87 +558,6 @@ export enum ShdType {
448
558
  }
449
559
  /**
450
560
  */
451
- export enum VAlignType {
452
- Top,
453
- Center,
454
- Bottom,
455
- Unsupported,
456
- }
457
- /**
458
- */
459
- export enum HeightRule {
460
- Auto,
461
- AtLeast,
462
- Exact,
463
- }
464
- /**
465
- */
466
- export enum LineSpacingType {
467
- Auto,
468
- AtLeast,
469
- Exact,
470
- }
471
- /**
472
- */
473
- export enum PositionalTabAlignmentType {
474
- Center,
475
- Left,
476
- Right,
477
- }
478
- /**
479
- */
480
- export enum TabValueType {
481
- Bar,
482
- Center,
483
- Clear,
484
- Decimal,
485
- End,
486
- Right,
487
- Num,
488
- Start,
489
- Left,
490
- }
491
- /**
492
- */
493
- export enum TableLayoutType {
494
- Fixed,
495
- Autofit,
496
- }
497
- /**
498
- */
499
- export enum LevelSuffixType {
500
- Nothing,
501
- Space,
502
- Tab,
503
- }
504
- /**
505
- */
506
- export enum AlignmentType {
507
- Both,
508
- Center,
509
- Distribute,
510
- Start,
511
- End,
512
- Left,
513
- Right,
514
- Justified,
515
- }
516
- /**
517
- */
518
- export enum BreakType {
519
- Page,
520
- Column,
521
- TextWrapping,
522
- Unsupported,
523
- }
524
- /**
525
- */
526
- export enum PageOrientationType {
527
- Landscape,
528
- Portrait,
529
- }
530
- /**
531
- */
532
561
  export enum TextDirectionType {
533
562
  Lr,
534
563
  LrV,
@@ -543,35 +572,6 @@ export enum TextDirectionType {
543
572
  }
544
573
  /**
545
574
  */
546
- export enum DocGridType {
547
- Default,
548
- Lines,
549
- LinesAndChars,
550
- SnapToChars,
551
- }
552
- /**
553
- */
554
- export enum FieldCharType {
555
- Begin,
556
- Separate,
557
- End,
558
- Unsupported,
559
- }
560
- /**
561
- */
562
- export enum HyperlinkType {
563
- Anchor,
564
- External,
565
- }
566
- /**
567
- */
568
- export enum VMergeType {
569
- Continue,
570
- Restart,
571
- Unsupported,
572
- }
573
- /**
574
- */
575
575
  export class AbstractNumbering {
576
576
  free(): void;
577
577
  /**
@@ -505,19 +505,28 @@ export function createFooter() {
505
505
 
506
506
  /**
507
507
  */
508
- 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", });
508
+ export const HyperlinkType = Object.freeze({ Anchor:0,"0":"Anchor",External:1,"1":"External", });
509
509
  /**
510
510
  */
511
- 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", });
511
+ export const LevelSuffixType = Object.freeze({ Nothing:0,"0":"Nothing",Space:1,"1":"Space",Tab:2,"2":"Tab", });
512
512
  /**
513
513
  */
514
- 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", });
514
+ export const VMergeType = Object.freeze({ Continue:0,"0":"Continue",Restart:1,"1":"Restart",Unsupported:2,"2":"Unsupported", });
515
515
  /**
516
516
  */
517
- export const FontPitchType = Object.freeze({ Default:0,"0":"Default",Fixed:1,"1":"Fixed",Variable:2,"2":"Variable", });
517
+ export const SpecialIndentKind = Object.freeze({ FirstLine:0,"0":"FirstLine",Hanging:1,"1":"Hanging", });
518
518
  /**
519
519
  */
520
- export const SectionType = Object.freeze({ NextPage:0,"0":"NextPage",NextColumn:1,"1":"NextColumn",Continuous:2,"2":"Continuous",EvenPage:3,"3":"EvenPage",OddPage:4,"4":"OddPage", });
520
+ export const TableLayoutType = Object.freeze({ Fixed:0,"0":"Fixed",Autofit:1,"1":"Autofit", });
521
+ /**
522
+ */
523
+ export const VertAlignType = Object.freeze({ Baseline:0,"0":"Baseline",SuperScript:1,"1":"SuperScript",SubScript:2,"2":"SubScript",Unsupported:3,"3":"Unsupported", });
524
+ /**
525
+ */
526
+ export const PageOrientationType = Object.freeze({ Landscape:0,"0":"Landscape",Portrait:1,"1":"Portrait", });
527
+ /**
528
+ */
529
+ export const PositionalTabAlignmentType = Object.freeze({ Center:0,"0":"Center",Left:1,"1":"Left",Right:2,"2":"Right", });
521
530
  /**
522
531
  */
523
532
  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", });
@@ -529,10 +538,16 @@ export const TableAlignmentType = Object.freeze({ Center:0,"0":"Center",Left:1,"
529
538
  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", });
530
539
  /**
531
540
  */
541
+ 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", });
542
+ /**
543
+ */
532
544
  export const CharacterSpacingValues = Object.freeze({ DoNotCompress:0,"0":"DoNotCompress",CompressPunctuation:1,"1":"CompressPunctuation",CompressPunctuationAndJapaneseKana:2,"2":"CompressPunctuationAndJapaneseKana",Unsupported:3,"3":"Unsupported", });
533
545
  /**
534
546
  */
535
- export const PositionalTabRelativeTo = Object.freeze({ Indent:0,"0":"Indent",Margin:1,"1":"Margin", });
547
+ export const FieldCharType = Object.freeze({ Begin:0,"0":"Begin",Separate:1,"1":"Separate",End:2,"2":"End",Unsupported:3,"3":"Unsupported", });
548
+ /**
549
+ */
550
+ export const LineSpacingType = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
536
551
  /**
537
552
  */
538
553
  export const RelativeFromHType = Object.freeze({
@@ -585,73 +600,58 @@ RightMargin:7,"7":"RightMargin", });
585
600
  export const RelativeFromVType = Object.freeze({ BottomMargin:0,"0":"BottomMargin",InsideMargin:1,"1":"InsideMargin",Line:2,"2":"Line",Margin:3,"3":"Margin",OutsizeMargin:4,"4":"OutsizeMargin",Page:5,"5":"Page",Paragraph:6,"6":"Paragraph",TopMargin:7,"7":"TopMargin", });
586
601
  /**
587
602
  */
588
- export const SpecialIndentKind = Object.freeze({ FirstLine:0,"0":"FirstLine",Hanging:1,"1":"Hanging", });
603
+ export const SectionType = Object.freeze({ NextPage:0,"0":"NextPage",NextColumn:1,"1":"NextColumn",Continuous:2,"2":"Continuous",EvenPage:3,"3":"EvenPage",OddPage:4,"4":"OddPage", });
589
604
  /**
590
605
  */
591
606
  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", });
592
607
  /**
593
608
  */
594
- export const VertAlignType = Object.freeze({ Baseline:0,"0":"Baseline",SuperScript:1,"1":"SuperScript",SubScript:2,"2":"SubScript",Unsupported:3,"3":"Unsupported", });
595
- /**
596
- */
597
609
  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", });
598
610
  /**
599
611
  */
600
- export const BorderType = Object.freeze({ Nil:0,"0":"Nil",None:1,"1":"None",Single:2,"2":"Single",Thick:3,"3":"Thick",Double:4,"4":"Double",Dotted:5,"5":"Dotted",Dashed:6,"6":"Dashed",DotDash:7,"7":"DotDash",DotDotDash:8,"8":"DotDotDash",Triple:9,"9":"Triple",ThinThickSmallGap:10,"10":"ThinThickSmallGap",ThickThinSmallGap:11,"11":"ThickThinSmallGap",ThinThickThinSmallGap:12,"12":"ThinThickThinSmallGap",ThinThickMediumGap:13,"13":"ThinThickMediumGap",ThickThinMediumGap:14,"14":"ThickThinMediumGap",ThinThickThinMediumGap:15,"15":"ThinThickThinMediumGap",ThinThickLargeGap:16,"16":"ThinThickLargeGap",ThickThinLargeGap:17,"17":"ThickThinLargeGap",ThinThickThinLargeGap:18,"18":"ThinThickThinLargeGap",Wave:19,"19":"Wave",DoubleWave:20,"20":"DoubleWave",DashSmallGap:21,"21":"DashSmallGap",DashDotStroked:22,"22":"DashDotStroked",ThreeDEmboss:23,"23":"ThreeDEmboss",ThreeDEngrave:24,"24":"ThreeDEngrave",Outset:25,"25":"Outset",Inset:26,"26":"Inset",Apples:27,"27":"Apples",ArchedScallops:28,"28":"ArchedScallops",BabyPacifier:29,"29":"BabyPacifier",BabyRattle:30,"30":"BabyRattle", });
601
- /**
602
- */
603
- export const DrawingPositionType = Object.freeze({ Anchor:0,"0":"Anchor",Inline:1,"1":"Inline", });
604
- /**
605
- */
606
- export const PicAlign = Object.freeze({ Left:0,"0":"Left",Right:1,"1":"Right",Center:2,"2":"Center",Bottom:3,"3":"Bottom",Top:4,"4":"Top", });
607
- /**
608
- */
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
- /**
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 DocGridType = Object.freeze({ Default:0,"0":"Default",Lines:1,"1":"Lines",LinesAndChars:2,"2":"LinesAndChars",SnapToChars:3,"3":"SnapToChars", });
613
613
  /**
614
614
  */
615
- export const HeightRule = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
615
+ 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", });
616
616
  /**
617
617
  */
618
- export const LineSpacingType = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
618
+ 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", });
619
619
  /**
620
620
  */
621
- export const PositionalTabAlignmentType = Object.freeze({ Center:0,"0":"Center",Left:1,"1":"Left",Right:2,"2":"Right", });
621
+ 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", });
622
622
  /**
623
623
  */
624
624
  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", });
625
625
  /**
626
626
  */
627
- export const TableLayoutType = Object.freeze({ Fixed:0,"0":"Fixed",Autofit:1,"1":"Autofit", });
627
+ export const VAlignType = Object.freeze({ Top:0,"0":"Top",Center:1,"1":"Center",Bottom:2,"2":"Bottom",Unsupported:3,"3":"Unsupported", });
628
628
  /**
629
629
  */
630
- export const LevelSuffixType = Object.freeze({ Nothing:0,"0":"Nothing",Space:1,"1":"Space",Tab:2,"2":"Tab", });
630
+ export const BreakType = Object.freeze({ Page:0,"0":"Page",Column:1,"1":"Column",TextWrapping:2,"2":"TextWrapping",Unsupported:3,"3":"Unsupported", });
631
631
  /**
632
632
  */
633
- 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", });
633
+ export const FontPitchType = Object.freeze({ Default:0,"0":"Default",Fixed:1,"1":"Fixed",Variable:2,"2":"Variable", });
634
634
  /**
635
635
  */
636
- export const BreakType = Object.freeze({ Page:0,"0":"Page",Column:1,"1":"Column",TextWrapping:2,"2":"TextWrapping",Unsupported:3,"3":"Unsupported", });
636
+ export const HeightRule = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
637
637
  /**
638
638
  */
639
- export const PageOrientationType = Object.freeze({ Landscape:0,"0":"Landscape",Portrait:1,"1":"Portrait", });
639
+ export const BorderType = Object.freeze({ Nil:0,"0":"Nil",None:1,"1":"None",Single:2,"2":"Single",Thick:3,"3":"Thick",Double:4,"4":"Double",Dotted:5,"5":"Dotted",Dashed:6,"6":"Dashed",DotDash:7,"7":"DotDash",DotDotDash:8,"8":"DotDotDash",Triple:9,"9":"Triple",ThinThickSmallGap:10,"10":"ThinThickSmallGap",ThickThinSmallGap:11,"11":"ThickThinSmallGap",ThinThickThinSmallGap:12,"12":"ThinThickThinSmallGap",ThinThickMediumGap:13,"13":"ThinThickMediumGap",ThickThinMediumGap:14,"14":"ThickThinMediumGap",ThinThickThinMediumGap:15,"15":"ThinThickThinMediumGap",ThinThickLargeGap:16,"16":"ThinThickLargeGap",ThickThinLargeGap:17,"17":"ThickThinLargeGap",ThinThickThinLargeGap:18,"18":"ThinThickThinLargeGap",Wave:19,"19":"Wave",DoubleWave:20,"20":"DoubleWave",DashSmallGap:21,"21":"DashSmallGap",DashDotStroked:22,"22":"DashDotStroked",ThreeDEmboss:23,"23":"ThreeDEmboss",ThreeDEngrave:24,"24":"ThreeDEngrave",Outset:25,"25":"Outset",Inset:26,"26":"Inset",Apples:27,"27":"Apples",ArchedScallops:28,"28":"ArchedScallops",BabyPacifier:29,"29":"BabyPacifier",BabyRattle:30,"30":"BabyRattle", });
640
640
  /**
641
641
  */
642
- 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", });
642
+ export const DrawingPositionType = Object.freeze({ Anchor:0,"0":"Anchor",Inline:1,"1":"Inline", });
643
643
  /**
644
644
  */
645
- export const DocGridType = Object.freeze({ Default:0,"0":"Default",Lines:1,"1":"Lines",LinesAndChars:2,"2":"LinesAndChars",SnapToChars:3,"3":"SnapToChars", });
645
+ export const PicAlign = Object.freeze({ Left:0,"0":"Left",Right:1,"1":"Right",Center:2,"2":"Center",Bottom:3,"3":"Bottom",Top:4,"4":"Top", });
646
646
  /**
647
647
  */
648
- export const FieldCharType = Object.freeze({ Begin:0,"0":"Begin",Separate:1,"1":"Separate",End:2,"2":"End",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 HyperlinkType = Object.freeze({ Anchor:0,"0":"Anchor",External:1,"1":"External", });
651
+ 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", });
652
652
  /**
653
653
  */
654
- export const VMergeType = Object.freeze({ Continue:0,"0":"Continue",Restart:1,"1":"Restart",Unsupported:2,"2":"Unsupported", });
654
+ 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", });
655
655
  /**
656
656
  */
657
657
  export class AbstractNumbering {
Binary file
@@ -410,8 +410,8 @@ export function __wbg_footer_free(a: number): void;
410
410
  export function createFooter(): number;
411
411
  export function footer_add_paragraph(a: number, b: number): number;
412
412
  export function footer_add_table(a: number, b: number): number;
413
- export function __wbg_tablecellproperty_free(a: number): void;
414
413
  export function __wbg_tableproperty_free(a: number): void;
414
+ export function __wbg_tablecellproperty_free(a: number): void;
415
415
  export function __wbindgen_malloc(a: number): number;
416
416
  export function __wbindgen_realloc(a: number, b: number, c: number): number;
417
417
  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-rc20",
3
+ "version": "0.4.18-rc22",
4
4
  "main": "dist/node/index.js",
5
5
  "browser": "dist/web/index.js",
6
6
  "author": "bokuweb <bokuweb12@gmail.com>",