docx-wasm 0.4.18-rc29 → 0.4.18-rc30

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,15 +176,119 @@ export function createTableOfContentsItem(): TableOfContentsItem;
176
176
  export function createTableRow(): TableRow;
177
177
  /**
178
178
  */
179
- export enum AlignmentType {
180
- Both,
179
+ export enum TextDirectionType {
180
+ Lr,
181
+ LrV,
182
+ Rl,
183
+ RlV,
184
+ Tb,
185
+ TbV,
186
+ TbRlV,
187
+ TbRl,
188
+ BtLr,
189
+ LrTbV,
190
+ }
191
+ /**
192
+ */
193
+ export enum PositionalTabAlignmentType {
181
194
  Center,
182
- Distribute,
183
- Start,
184
- End,
185
195
  Left,
186
196
  Right,
187
- Justified,
197
+ }
198
+ /**
199
+ */
200
+ export enum TabLeaderType {
201
+ Dot,
202
+ Heavy,
203
+ Hyphen,
204
+ MiddleDot,
205
+ None,
206
+ Underscore,
207
+ }
208
+ /**
209
+ */
210
+ export enum TableBorderPosition {
211
+ Left,
212
+ Right,
213
+ Top,
214
+ Bottom,
215
+ InsideH,
216
+ InsideV,
217
+ }
218
+ /**
219
+ */
220
+ export enum TableCellBorderPosition {
221
+ Left,
222
+ Right,
223
+ Top,
224
+ Bottom,
225
+ InsideH,
226
+ InsideV,
227
+ Tl2br,
228
+ Tr2bl,
229
+ }
230
+ /**
231
+ */
232
+ export enum ParagraphBorderPosition {
233
+ Left,
234
+ Right,
235
+ Top,
236
+ Bottom,
237
+ Between,
238
+ Bar,
239
+ }
240
+ /**
241
+ */
242
+ export enum HeightRule {
243
+ Auto,
244
+ AtLeast,
245
+ Exact,
246
+ }
247
+ /**
248
+ */
249
+ export enum PageOrientationType {
250
+ Landscape,
251
+ Portrait,
252
+ }
253
+ /**
254
+ */
255
+ export enum PositionalTabRelativeTo {
256
+ Indent,
257
+ Margin,
258
+ }
259
+ /**
260
+ */
261
+ export enum VMergeType {
262
+ Continue,
263
+ Restart,
264
+ Unsupported,
265
+ }
266
+ /**
267
+ */
268
+ export enum TableAlignmentType {
269
+ Center,
270
+ Left,
271
+ Right,
272
+ }
273
+ /**
274
+ */
275
+ export enum BreakType {
276
+ Page,
277
+ Column,
278
+ TextWrapping,
279
+ Unsupported,
280
+ }
281
+ /**
282
+ */
283
+ export enum SpecialIndentKind {
284
+ FirstLine,
285
+ Hanging,
286
+ }
287
+ /**
288
+ */
289
+ export enum TableLayoutType {
290
+ Fixed,
291
+ Autofit,
188
292
  }
189
293
  /**
190
294
  */
@@ -238,9 +342,17 @@ export enum PicAlign {
238
342
  }
239
343
  /**
240
344
  */
241
- export enum PageOrientationType {
242
- Landscape,
243
- Portrait,
345
+ export enum FieldCharType {
346
+ Begin,
347
+ Separate,
348
+ End,
349
+ Unsupported,
350
+ }
351
+ /**
352
+ */
353
+ export enum HyperlinkType {
354
+ Anchor,
355
+ External,
244
356
  }
245
357
  /**
246
358
  */
@@ -304,171 +416,6 @@ export enum RelativeFromVType {
304
416
  }
305
417
  /**
306
418
  */
307
- export enum StyleType {
308
- Paragraph,
309
- Character,
310
- Numbering,
311
- Table,
312
- Unsupported,
313
- }
314
- /**
315
- */
316
- export enum WidthType {
317
- Dxa,
318
- Auto,
319
- Pct,
320
- Nil,
321
- Unsupported,
322
- }
323
- /**
324
- */
325
- export enum TableAlignmentType {
326
- Center,
327
- Left,
328
- Right,
329
- }
330
- /**
331
- */
332
- export enum TableLayoutType {
333
- Fixed,
334
- Autofit,
335
- }
336
- /**
337
- */
338
- export enum CharacterSpacingValues {
339
- DoNotCompress,
340
- CompressPunctuation,
341
- CompressPunctuationAndJapaneseKana,
342
- Unsupported,
343
- }
344
- /**
345
- */
346
- export enum DocGridType {
347
- Default,
348
- Lines,
349
- LinesAndChars,
350
- SnapToChars,
351
- }
352
- /**
353
- */
354
- export enum LineSpacingType {
355
- Auto,
356
- AtLeast,
357
- Exact,
358
- }
359
- /**
360
- */
361
- export enum PositionalTabRelativeTo {
362
- Indent,
363
- Margin,
364
- }
365
- /**
366
- */
367
- export enum TabValueType {
368
- Bar,
369
- Center,
370
- Clear,
371
- Decimal,
372
- End,
373
- Right,
374
- Num,
375
- Start,
376
- Left,
377
- }
378
- /**
379
- */
380
- export enum FieldCharType {
381
- Begin,
382
- Separate,
383
- End,
384
- Unsupported,
385
- }
386
- /**
387
- */
388
- export enum HyperlinkType {
389
- Anchor,
390
- External,
391
- }
392
- /**
393
- */
394
- export enum SpecialIndentKind {
395
- FirstLine,
396
- Hanging,
397
- }
398
- /**
399
- */
400
- export enum TabLeaderType {
401
- Dot,
402
- Heavy,
403
- Hyphen,
404
- MiddleDot,
405
- None,
406
- Underscore,
407
- }
408
- /**
409
- */
410
- export enum BreakType {
411
- Page,
412
- Column,
413
- TextWrapping,
414
- Unsupported,
415
- }
416
- /**
417
- */
418
- export enum TextDirectionType {
419
- Lr,
420
- LrV,
421
- Rl,
422
- RlV,
423
- Tb,
424
- TbV,
425
- TbRlV,
426
- TbRl,
427
- BtLr,
428
- LrTbV,
429
- }
430
- /**
431
- */
432
- export enum VAlignType {
433
- Top,
434
- Center,
435
- Bottom,
436
- Unsupported,
437
- }
438
- /**
439
- */
440
- export enum TableBorderPosition {
441
- Left,
442
- Right,
443
- Top,
444
- Bottom,
445
- InsideH,
446
- InsideV,
447
- }
448
- /**
449
- */
450
- export enum TableCellBorderPosition {
451
- Left,
452
- Right,
453
- Top,
454
- Bottom,
455
- InsideH,
456
- InsideV,
457
- Tl2br,
458
- Tr2bl,
459
- }
460
- /**
461
- */
462
- export enum ParagraphBorderPosition {
463
- Left,
464
- Right,
465
- Top,
466
- Bottom,
467
- Between,
468
- Bar,
469
- }
470
- /**
471
- */
472
419
  export enum ShdType {
473
420
  Nil,
474
421
  Clear,
@@ -511,17 +458,46 @@ export enum ShdType {
511
458
  }
512
459
  /**
513
460
  */
514
- export enum VMergeType {
515
- Continue,
516
- Restart,
461
+ export enum VertAlignType {
462
+ Baseline,
463
+ SuperScript,
464
+ SubScript,
517
465
  Unsupported,
518
466
  }
519
467
  /**
520
468
  */
521
- export enum HeightRule {
522
- Auto,
523
- AtLeast,
524
- Exact,
469
+ export enum AlignmentType {
470
+ Both,
471
+ Center,
472
+ Distribute,
473
+ Start,
474
+ End,
475
+ Left,
476
+ Right,
477
+ Justified,
478
+ }
479
+ /**
480
+ */
481
+ export enum CharacterSpacingValues {
482
+ DoNotCompress,
483
+ CompressPunctuation,
484
+ CompressPunctuationAndJapaneseKana,
485
+ Unsupported,
486
+ }
487
+ /**
488
+ */
489
+ export enum DocGridType {
490
+ Default,
491
+ Lines,
492
+ LinesAndChars,
493
+ SnapToChars,
494
+ }
495
+ /**
496
+ */
497
+ export enum FontPitchType {
498
+ Default,
499
+ Fixed,
500
+ Variable,
525
501
  }
526
502
  /**
527
503
  */
@@ -532,10 +508,10 @@ export enum LevelSuffixType {
532
508
  }
533
509
  /**
534
510
  */
535
- export enum PositionalTabAlignmentType {
536
- Center,
537
- Left,
538
- Right,
511
+ export enum LineSpacingType {
512
+ Auto,
513
+ AtLeast,
514
+ Exact,
539
515
  }
540
516
  /**
541
517
  */
@@ -548,18 +524,25 @@ export enum SectionType {
548
524
  }
549
525
  /**
550
526
  */
551
- export enum FontPitchType {
552
- Default,
553
- Fixed,
554
- Variable,
527
+ export enum StyleType {
528
+ Paragraph,
529
+ Character,
530
+ Numbering,
531
+ Table,
532
+ Unsupported,
555
533
  }
556
534
  /**
557
535
  */
558
- export enum VertAlignType {
559
- Baseline,
560
- SuperScript,
561
- SubScript,
562
- Unsupported,
536
+ export enum TabValueType {
537
+ Bar,
538
+ Center,
539
+ Clear,
540
+ Decimal,
541
+ End,
542
+ Right,
543
+ Num,
544
+ Start,
545
+ Left,
563
546
  }
564
547
  /**
565
548
  */
@@ -572,6 +555,23 @@ export enum TextAlignmentType {
572
555
  }
573
556
  /**
574
557
  */
558
+ export enum VAlignType {
559
+ Top,
560
+ Center,
561
+ Bottom,
562
+ Unsupported,
563
+ }
564
+ /**
565
+ */
566
+ export enum WidthType {
567
+ Dxa,
568
+ Auto,
569
+ Pct,
570
+ Nil,
571
+ Unsupported,
572
+ }
573
+ /**
574
+ */
575
575
  export class AbstractNumbering {
576
576
  free(): void;
577
577
  /**
@@ -504,7 +504,46 @@ module.exports.createTableRow = function() {
504
504
 
505
505
  /**
506
506
  */
507
- 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", });
507
+ 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", });
508
+ /**
509
+ */
510
+ module.exports.PositionalTabAlignmentType = Object.freeze({ Center:0,"0":"Center",Left:1,"1":"Left",Right:2,"2":"Right", });
511
+ /**
512
+ */
513
+ 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", });
514
+ /**
515
+ */
516
+ 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", });
517
+ /**
518
+ */
519
+ 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", });
520
+ /**
521
+ */
522
+ 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", });
523
+ /**
524
+ */
525
+ module.exports.HeightRule = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
526
+ /**
527
+ */
528
+ module.exports.PageOrientationType = Object.freeze({ Landscape:0,"0":"Landscape",Portrait:1,"1":"Portrait", });
529
+ /**
530
+ */
531
+ module.exports.PositionalTabRelativeTo = Object.freeze({ Indent:0,"0":"Indent",Margin:1,"1":"Margin", });
532
+ /**
533
+ */
534
+ module.exports.VMergeType = Object.freeze({ Continue:0,"0":"Continue",Restart:1,"1":"Restart",Unsupported:2,"2":"Unsupported", });
535
+ /**
536
+ */
537
+ module.exports.TableAlignmentType = Object.freeze({ Center:0,"0":"Center",Left:1,"1":"Left",Right:2,"2":"Right", });
538
+ /**
539
+ */
540
+ module.exports.BreakType = Object.freeze({ Page:0,"0":"Page",Column:1,"1":"Column",TextWrapping:2,"2":"TextWrapping",Unsupported:3,"3":"Unsupported", });
541
+ /**
542
+ */
543
+ module.exports.SpecialIndentKind = Object.freeze({ FirstLine:0,"0":"FirstLine",Hanging:1,"1":"Hanging", });
544
+ /**
545
+ */
546
+ module.exports.TableLayoutType = Object.freeze({ Fixed:0,"0":"Fixed",Autofit:1,"1":"Autofit", });
508
547
  /**
509
548
  */
510
549
  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", });
@@ -516,7 +555,10 @@ module.exports.DrawingPositionType = Object.freeze({ Anchor:0,"0":"Anchor",Inlin
516
555
  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", });
517
556
  /**
518
557
  */
519
- module.exports.PageOrientationType = Object.freeze({ Landscape:0,"0":"Landscape",Portrait:1,"1":"Portrait", });
558
+ module.exports.FieldCharType = Object.freeze({ Begin:0,"0":"Begin",Separate:1,"1":"Separate",End:2,"2":"End",Unsupported:3,"3":"Unsupported", });
559
+ /**
560
+ */
561
+ module.exports.HyperlinkType = Object.freeze({ Anchor:0,"0":"Anchor",External:1,"1":"External", });
520
562
  /**
521
563
  */
522
564
  module.exports.RelativeFromHType = Object.freeze({
@@ -569,16 +611,13 @@ RightMargin:7,"7":"RightMargin", });
569
611
  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", });
570
612
  /**
571
613
  */
572
- 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", });
573
- /**
574
- */
575
- 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", });
614
+ 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", });
576
615
  /**
577
616
  */
578
- module.exports.TableAlignmentType = Object.freeze({ Center:0,"0":"Center",Left:1,"1":"Left",Right:2,"2":"Right", });
617
+ module.exports.VertAlignType = Object.freeze({ Baseline:0,"0":"Baseline",SuperScript:1,"1":"SuperScript",SubScript:2,"2":"SubScript",Unsupported:3,"3":"Unsupported", });
579
618
  /**
580
619
  */
581
- module.exports.TableLayoutType = Object.freeze({ Fixed:0,"0":"Fixed",Autofit:1,"1":"Autofit", });
620
+ 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", });
582
621
  /**
583
622
  */
584
623
  module.exports.CharacterSpacingValues = Object.freeze({ DoNotCompress:0,"0":"DoNotCompress",CompressPunctuation:1,"1":"CompressPunctuation",CompressPunctuationAndJapaneseKana:2,"2":"CompressPunctuationAndJapaneseKana",Unsupported:3,"3":"Unsupported", });
@@ -587,70 +626,31 @@ module.exports.CharacterSpacingValues = Object.freeze({ DoNotCompress:0,"0":"DoN
587
626
  module.exports.DocGridType = Object.freeze({ Default:0,"0":"Default",Lines:1,"1":"Lines",LinesAndChars:2,"2":"LinesAndChars",SnapToChars:3,"3":"SnapToChars", });
588
627
  /**
589
628
  */
590
- module.exports.LineSpacingType = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
591
- /**
592
- */
593
- module.exports.PositionalTabRelativeTo = Object.freeze({ Indent:0,"0":"Indent",Margin:1,"1":"Margin", });
594
- /**
595
- */
596
- 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", });
629
+ module.exports.FontPitchType = Object.freeze({ Default:0,"0":"Default",Fixed:1,"1":"Fixed",Variable:2,"2":"Variable", });
597
630
  /**
598
631
  */
599
- module.exports.FieldCharType = Object.freeze({ Begin:0,"0":"Begin",Separate:1,"1":"Separate",End:2,"2":"End",Unsupported:3,"3":"Unsupported", });
632
+ module.exports.LevelSuffixType = Object.freeze({ Nothing:0,"0":"Nothing",Space:1,"1":"Space",Tab:2,"2":"Tab", });
600
633
  /**
601
634
  */
602
- module.exports.HyperlinkType = Object.freeze({ Anchor:0,"0":"Anchor",External:1,"1":"External", });
635
+ module.exports.LineSpacingType = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
603
636
  /**
604
637
  */
605
- module.exports.SpecialIndentKind = Object.freeze({ FirstLine:0,"0":"FirstLine",Hanging:1,"1":"Hanging", });
638
+ 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", });
606
639
  /**
607
640
  */
608
- 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", });
641
+ 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", });
609
642
  /**
610
643
  */
611
- module.exports.BreakType = Object.freeze({ Page:0,"0":"Page",Column:1,"1":"Column",TextWrapping:2,"2":"TextWrapping",Unsupported:3,"3":"Unsupported", });
644
+ 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
645
  /**
613
646
  */
614
- 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", });
647
+ 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
648
  /**
616
649
  */
617
650
  module.exports.VAlignType = Object.freeze({ Top:0,"0":"Top",Center:1,"1":"Center",Bottom:2,"2":"Bottom",Unsupported:3,"3":"Unsupported", });
618
651
  /**
619
652
  */
620
- 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", });
621
- /**
622
- */
623
- 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", });
624
- /**
625
- */
626
- 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", });
627
- /**
628
- */
629
- 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", });
630
- /**
631
- */
632
- module.exports.VMergeType = Object.freeze({ Continue:0,"0":"Continue",Restart:1,"1":"Restart",Unsupported:2,"2":"Unsupported", });
633
- /**
634
- */
635
- module.exports.HeightRule = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
636
- /**
637
- */
638
- module.exports.LevelSuffixType = Object.freeze({ Nothing:0,"0":"Nothing",Space:1,"1":"Space",Tab:2,"2":"Tab", });
639
- /**
640
- */
641
- module.exports.PositionalTabAlignmentType = Object.freeze({ Center:0,"0":"Center",Left:1,"1":"Left",Right:2,"2":"Right", });
642
- /**
643
- */
644
- 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", });
645
- /**
646
- */
647
- module.exports.FontPitchType = Object.freeze({ Default:0,"0":"Default",Fixed:1,"1":"Fixed",Variable:2,"2":"Variable", });
648
- /**
649
- */
650
- module.exports.VertAlignType = Object.freeze({ Baseline:0,"0":"Baseline",SuperScript:1,"1":"SuperScript",SubScript:2,"2":"SubScript",Unsupported:3,"3":"Unsupported", });
651
- /**
652
- */
653
- 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", });
653
+ 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", });
654
654
  /**
655
655
  */
656
656
  class AbstractNumbering {
Binary file
@@ -412,8 +412,8 @@ export function tablerow_row_height(a: number, b: number): number;
412
412
  export function tablerow_height_rule(a: number, b: number): number;
413
413
  export function tablerow_delete(a: number, b: number, c: number, d: number, e: number): number;
414
414
  export function tablerow_insert(a: number, b: number, c: number, d: number, e: number): number;
415
- export function __wbg_tablecellproperty_free(a: number): void;
416
415
  export function __wbg_tableproperty_free(a: number): void;
416
+ export function __wbg_tablecellproperty_free(a: number): void;
417
417
  export function __wbindgen_malloc(a: number): number;
418
418
  export function __wbindgen_realloc(a: number, b: number, c: number): number;
419
419
  export function __wbindgen_add_to_stack_pointer(a: number): number;
@@ -176,15 +176,119 @@ export function createTableOfContentsItem(): TableOfContentsItem;
176
176
  export function createTableRow(): TableRow;
177
177
  /**
178
178
  */
179
- export enum AlignmentType {
180
- Both,
179
+ export enum TextDirectionType {
180
+ Lr,
181
+ LrV,
182
+ Rl,
183
+ RlV,
184
+ Tb,
185
+ TbV,
186
+ TbRlV,
187
+ TbRl,
188
+ BtLr,
189
+ LrTbV,
190
+ }
191
+ /**
192
+ */
193
+ export enum PositionalTabAlignmentType {
181
194
  Center,
182
- Distribute,
183
- Start,
184
- End,
185
195
  Left,
186
196
  Right,
187
- Justified,
197
+ }
198
+ /**
199
+ */
200
+ export enum TabLeaderType {
201
+ Dot,
202
+ Heavy,
203
+ Hyphen,
204
+ MiddleDot,
205
+ None,
206
+ Underscore,
207
+ }
208
+ /**
209
+ */
210
+ export enum TableBorderPosition {
211
+ Left,
212
+ Right,
213
+ Top,
214
+ Bottom,
215
+ InsideH,
216
+ InsideV,
217
+ }
218
+ /**
219
+ */
220
+ export enum TableCellBorderPosition {
221
+ Left,
222
+ Right,
223
+ Top,
224
+ Bottom,
225
+ InsideH,
226
+ InsideV,
227
+ Tl2br,
228
+ Tr2bl,
229
+ }
230
+ /**
231
+ */
232
+ export enum ParagraphBorderPosition {
233
+ Left,
234
+ Right,
235
+ Top,
236
+ Bottom,
237
+ Between,
238
+ Bar,
239
+ }
240
+ /**
241
+ */
242
+ export enum HeightRule {
243
+ Auto,
244
+ AtLeast,
245
+ Exact,
246
+ }
247
+ /**
248
+ */
249
+ export enum PageOrientationType {
250
+ Landscape,
251
+ Portrait,
252
+ }
253
+ /**
254
+ */
255
+ export enum PositionalTabRelativeTo {
256
+ Indent,
257
+ Margin,
258
+ }
259
+ /**
260
+ */
261
+ export enum VMergeType {
262
+ Continue,
263
+ Restart,
264
+ Unsupported,
265
+ }
266
+ /**
267
+ */
268
+ export enum TableAlignmentType {
269
+ Center,
270
+ Left,
271
+ Right,
272
+ }
273
+ /**
274
+ */
275
+ export enum BreakType {
276
+ Page,
277
+ Column,
278
+ TextWrapping,
279
+ Unsupported,
280
+ }
281
+ /**
282
+ */
283
+ export enum SpecialIndentKind {
284
+ FirstLine,
285
+ Hanging,
286
+ }
287
+ /**
288
+ */
289
+ export enum TableLayoutType {
290
+ Fixed,
291
+ Autofit,
188
292
  }
189
293
  /**
190
294
  */
@@ -238,9 +342,17 @@ export enum PicAlign {
238
342
  }
239
343
  /**
240
344
  */
241
- export enum PageOrientationType {
242
- Landscape,
243
- Portrait,
345
+ export enum FieldCharType {
346
+ Begin,
347
+ Separate,
348
+ End,
349
+ Unsupported,
350
+ }
351
+ /**
352
+ */
353
+ export enum HyperlinkType {
354
+ Anchor,
355
+ External,
244
356
  }
245
357
  /**
246
358
  */
@@ -304,171 +416,6 @@ export enum RelativeFromVType {
304
416
  }
305
417
  /**
306
418
  */
307
- export enum StyleType {
308
- Paragraph,
309
- Character,
310
- Numbering,
311
- Table,
312
- Unsupported,
313
- }
314
- /**
315
- */
316
- export enum WidthType {
317
- Dxa,
318
- Auto,
319
- Pct,
320
- Nil,
321
- Unsupported,
322
- }
323
- /**
324
- */
325
- export enum TableAlignmentType {
326
- Center,
327
- Left,
328
- Right,
329
- }
330
- /**
331
- */
332
- export enum TableLayoutType {
333
- Fixed,
334
- Autofit,
335
- }
336
- /**
337
- */
338
- export enum CharacterSpacingValues {
339
- DoNotCompress,
340
- CompressPunctuation,
341
- CompressPunctuationAndJapaneseKana,
342
- Unsupported,
343
- }
344
- /**
345
- */
346
- export enum DocGridType {
347
- Default,
348
- Lines,
349
- LinesAndChars,
350
- SnapToChars,
351
- }
352
- /**
353
- */
354
- export enum LineSpacingType {
355
- Auto,
356
- AtLeast,
357
- Exact,
358
- }
359
- /**
360
- */
361
- export enum PositionalTabRelativeTo {
362
- Indent,
363
- Margin,
364
- }
365
- /**
366
- */
367
- export enum TabValueType {
368
- Bar,
369
- Center,
370
- Clear,
371
- Decimal,
372
- End,
373
- Right,
374
- Num,
375
- Start,
376
- Left,
377
- }
378
- /**
379
- */
380
- export enum FieldCharType {
381
- Begin,
382
- Separate,
383
- End,
384
- Unsupported,
385
- }
386
- /**
387
- */
388
- export enum HyperlinkType {
389
- Anchor,
390
- External,
391
- }
392
- /**
393
- */
394
- export enum SpecialIndentKind {
395
- FirstLine,
396
- Hanging,
397
- }
398
- /**
399
- */
400
- export enum TabLeaderType {
401
- Dot,
402
- Heavy,
403
- Hyphen,
404
- MiddleDot,
405
- None,
406
- Underscore,
407
- }
408
- /**
409
- */
410
- export enum BreakType {
411
- Page,
412
- Column,
413
- TextWrapping,
414
- Unsupported,
415
- }
416
- /**
417
- */
418
- export enum TextDirectionType {
419
- Lr,
420
- LrV,
421
- Rl,
422
- RlV,
423
- Tb,
424
- TbV,
425
- TbRlV,
426
- TbRl,
427
- BtLr,
428
- LrTbV,
429
- }
430
- /**
431
- */
432
- export enum VAlignType {
433
- Top,
434
- Center,
435
- Bottom,
436
- Unsupported,
437
- }
438
- /**
439
- */
440
- export enum TableBorderPosition {
441
- Left,
442
- Right,
443
- Top,
444
- Bottom,
445
- InsideH,
446
- InsideV,
447
- }
448
- /**
449
- */
450
- export enum TableCellBorderPosition {
451
- Left,
452
- Right,
453
- Top,
454
- Bottom,
455
- InsideH,
456
- InsideV,
457
- Tl2br,
458
- Tr2bl,
459
- }
460
- /**
461
- */
462
- export enum ParagraphBorderPosition {
463
- Left,
464
- Right,
465
- Top,
466
- Bottom,
467
- Between,
468
- Bar,
469
- }
470
- /**
471
- */
472
419
  export enum ShdType {
473
420
  Nil,
474
421
  Clear,
@@ -511,17 +458,46 @@ export enum ShdType {
511
458
  }
512
459
  /**
513
460
  */
514
- export enum VMergeType {
515
- Continue,
516
- Restart,
461
+ export enum VertAlignType {
462
+ Baseline,
463
+ SuperScript,
464
+ SubScript,
517
465
  Unsupported,
518
466
  }
519
467
  /**
520
468
  */
521
- export enum HeightRule {
522
- Auto,
523
- AtLeast,
524
- Exact,
469
+ export enum AlignmentType {
470
+ Both,
471
+ Center,
472
+ Distribute,
473
+ Start,
474
+ End,
475
+ Left,
476
+ Right,
477
+ Justified,
478
+ }
479
+ /**
480
+ */
481
+ export enum CharacterSpacingValues {
482
+ DoNotCompress,
483
+ CompressPunctuation,
484
+ CompressPunctuationAndJapaneseKana,
485
+ Unsupported,
486
+ }
487
+ /**
488
+ */
489
+ export enum DocGridType {
490
+ Default,
491
+ Lines,
492
+ LinesAndChars,
493
+ SnapToChars,
494
+ }
495
+ /**
496
+ */
497
+ export enum FontPitchType {
498
+ Default,
499
+ Fixed,
500
+ Variable,
525
501
  }
526
502
  /**
527
503
  */
@@ -532,10 +508,10 @@ export enum LevelSuffixType {
532
508
  }
533
509
  /**
534
510
  */
535
- export enum PositionalTabAlignmentType {
536
- Center,
537
- Left,
538
- Right,
511
+ export enum LineSpacingType {
512
+ Auto,
513
+ AtLeast,
514
+ Exact,
539
515
  }
540
516
  /**
541
517
  */
@@ -548,18 +524,25 @@ export enum SectionType {
548
524
  }
549
525
  /**
550
526
  */
551
- export enum FontPitchType {
552
- Default,
553
- Fixed,
554
- Variable,
527
+ export enum StyleType {
528
+ Paragraph,
529
+ Character,
530
+ Numbering,
531
+ Table,
532
+ Unsupported,
555
533
  }
556
534
  /**
557
535
  */
558
- export enum VertAlignType {
559
- Baseline,
560
- SuperScript,
561
- SubScript,
562
- Unsupported,
536
+ export enum TabValueType {
537
+ Bar,
538
+ Center,
539
+ Clear,
540
+ Decimal,
541
+ End,
542
+ Right,
543
+ Num,
544
+ Start,
545
+ Left,
563
546
  }
564
547
  /**
565
548
  */
@@ -572,6 +555,23 @@ export enum TextAlignmentType {
572
555
  }
573
556
  /**
574
557
  */
558
+ export enum VAlignType {
559
+ Top,
560
+ Center,
561
+ Bottom,
562
+ Unsupported,
563
+ }
564
+ /**
565
+ */
566
+ export enum WidthType {
567
+ Dxa,
568
+ Auto,
569
+ Pct,
570
+ Nil,
571
+ Unsupported,
572
+ }
573
+ /**
574
+ */
575
575
  export class AbstractNumbering {
576
576
  free(): void;
577
577
  /**
@@ -505,7 +505,46 @@ export function createTableRow() {
505
505
 
506
506
  /**
507
507
  */
508
- 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", });
508
+ 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", });
509
+ /**
510
+ */
511
+ export const PositionalTabAlignmentType = Object.freeze({ Center:0,"0":"Center",Left:1,"1":"Left",Right:2,"2":"Right", });
512
+ /**
513
+ */
514
+ 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", });
515
+ /**
516
+ */
517
+ 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", });
518
+ /**
519
+ */
520
+ 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", });
521
+ /**
522
+ */
523
+ 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", });
524
+ /**
525
+ */
526
+ export const HeightRule = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
527
+ /**
528
+ */
529
+ export const PageOrientationType = Object.freeze({ Landscape:0,"0":"Landscape",Portrait:1,"1":"Portrait", });
530
+ /**
531
+ */
532
+ export const PositionalTabRelativeTo = Object.freeze({ Indent:0,"0":"Indent",Margin:1,"1":"Margin", });
533
+ /**
534
+ */
535
+ export const VMergeType = Object.freeze({ Continue:0,"0":"Continue",Restart:1,"1":"Restart",Unsupported:2,"2":"Unsupported", });
536
+ /**
537
+ */
538
+ export const TableAlignmentType = Object.freeze({ Center:0,"0":"Center",Left:1,"1":"Left",Right:2,"2":"Right", });
539
+ /**
540
+ */
541
+ export const BreakType = Object.freeze({ Page:0,"0":"Page",Column:1,"1":"Column",TextWrapping:2,"2":"TextWrapping",Unsupported:3,"3":"Unsupported", });
542
+ /**
543
+ */
544
+ export const SpecialIndentKind = Object.freeze({ FirstLine:0,"0":"FirstLine",Hanging:1,"1":"Hanging", });
545
+ /**
546
+ */
547
+ export const TableLayoutType = Object.freeze({ Fixed:0,"0":"Fixed",Autofit:1,"1":"Autofit", });
509
548
  /**
510
549
  */
511
550
  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", });
@@ -517,7 +556,10 @@ export const DrawingPositionType = Object.freeze({ Anchor:0,"0":"Anchor",Inline:
517
556
  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", });
518
557
  /**
519
558
  */
520
- export const PageOrientationType = Object.freeze({ Landscape:0,"0":"Landscape",Portrait:1,"1":"Portrait", });
559
+ export const FieldCharType = Object.freeze({ Begin:0,"0":"Begin",Separate:1,"1":"Separate",End:2,"2":"End",Unsupported:3,"3":"Unsupported", });
560
+ /**
561
+ */
562
+ export const HyperlinkType = Object.freeze({ Anchor:0,"0":"Anchor",External:1,"1":"External", });
521
563
  /**
522
564
  */
523
565
  export const RelativeFromHType = Object.freeze({
@@ -570,16 +612,13 @@ RightMargin:7,"7":"RightMargin", });
570
612
  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", });
571
613
  /**
572
614
  */
573
- 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", });
574
- /**
575
- */
576
- 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", });
615
+ 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", });
577
616
  /**
578
617
  */
579
- export const TableAlignmentType = Object.freeze({ Center:0,"0":"Center",Left:1,"1":"Left",Right:2,"2":"Right", });
618
+ export const VertAlignType = Object.freeze({ Baseline:0,"0":"Baseline",SuperScript:1,"1":"SuperScript",SubScript:2,"2":"SubScript",Unsupported:3,"3":"Unsupported", });
580
619
  /**
581
620
  */
582
- export const TableLayoutType = Object.freeze({ Fixed:0,"0":"Fixed",Autofit:1,"1":"Autofit", });
621
+ 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", });
583
622
  /**
584
623
  */
585
624
  export const CharacterSpacingValues = Object.freeze({ DoNotCompress:0,"0":"DoNotCompress",CompressPunctuation:1,"1":"CompressPunctuation",CompressPunctuationAndJapaneseKana:2,"2":"CompressPunctuationAndJapaneseKana",Unsupported:3,"3":"Unsupported", });
@@ -588,70 +627,31 @@ export const CharacterSpacingValues = Object.freeze({ DoNotCompress:0,"0":"DoNot
588
627
  export const DocGridType = Object.freeze({ Default:0,"0":"Default",Lines:1,"1":"Lines",LinesAndChars:2,"2":"LinesAndChars",SnapToChars:3,"3":"SnapToChars", });
589
628
  /**
590
629
  */
591
- export const LineSpacingType = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
592
- /**
593
- */
594
- export const PositionalTabRelativeTo = Object.freeze({ Indent:0,"0":"Indent",Margin:1,"1":"Margin", });
595
- /**
596
- */
597
- 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", });
630
+ export const FontPitchType = Object.freeze({ Default:0,"0":"Default",Fixed:1,"1":"Fixed",Variable:2,"2":"Variable", });
598
631
  /**
599
632
  */
600
- export const FieldCharType = Object.freeze({ Begin:0,"0":"Begin",Separate:1,"1":"Separate",End:2,"2":"End",Unsupported:3,"3":"Unsupported", });
633
+ export const LevelSuffixType = Object.freeze({ Nothing:0,"0":"Nothing",Space:1,"1":"Space",Tab:2,"2":"Tab", });
601
634
  /**
602
635
  */
603
- export const HyperlinkType = Object.freeze({ Anchor:0,"0":"Anchor",External:1,"1":"External", });
636
+ export const LineSpacingType = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
604
637
  /**
605
638
  */
606
- export const SpecialIndentKind = Object.freeze({ FirstLine:0,"0":"FirstLine",Hanging:1,"1":"Hanging", });
639
+ 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", });
607
640
  /**
608
641
  */
609
- 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", });
642
+ 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", });
610
643
  /**
611
644
  */
612
- export const BreakType = Object.freeze({ Page:0,"0":"Page",Column:1,"1":"Column",TextWrapping:2,"2":"TextWrapping",Unsupported:3,"3":"Unsupported", });
645
+ 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
646
  /**
614
647
  */
615
- 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", });
648
+ 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
649
  /**
617
650
  */
618
651
  export const VAlignType = Object.freeze({ Top:0,"0":"Top",Center:1,"1":"Center",Bottom:2,"2":"Bottom",Unsupported:3,"3":"Unsupported", });
619
652
  /**
620
653
  */
621
- 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", });
622
- /**
623
- */
624
- 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", });
625
- /**
626
- */
627
- 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", });
628
- /**
629
- */
630
- 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", });
631
- /**
632
- */
633
- export const VMergeType = Object.freeze({ Continue:0,"0":"Continue",Restart:1,"1":"Restart",Unsupported:2,"2":"Unsupported", });
634
- /**
635
- */
636
- export const HeightRule = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
637
- /**
638
- */
639
- export const LevelSuffixType = Object.freeze({ Nothing:0,"0":"Nothing",Space:1,"1":"Space",Tab:2,"2":"Tab", });
640
- /**
641
- */
642
- export const PositionalTabAlignmentType = Object.freeze({ Center:0,"0":"Center",Left:1,"1":"Left",Right:2,"2":"Right", });
643
- /**
644
- */
645
- 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", });
646
- /**
647
- */
648
- export const FontPitchType = Object.freeze({ Default:0,"0":"Default",Fixed:1,"1":"Fixed",Variable:2,"2":"Variable", });
649
- /**
650
- */
651
- export const VertAlignType = Object.freeze({ Baseline:0,"0":"Baseline",SuperScript:1,"1":"SuperScript",SubScript:2,"2":"SubScript",Unsupported:3,"3":"Unsupported", });
652
- /**
653
- */
654
- 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", });
654
+ 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", });
655
655
  /**
656
656
  */
657
657
  export class AbstractNumbering {
Binary file
@@ -412,8 +412,8 @@ export function tablerow_row_height(a: number, b: number): number;
412
412
  export function tablerow_height_rule(a: number, b: number): number;
413
413
  export function tablerow_delete(a: number, b: number, c: number, d: number, e: number): number;
414
414
  export function tablerow_insert(a: number, b: number, c: number, d: number, e: number): number;
415
- export function __wbg_tablecellproperty_free(a: number): void;
416
415
  export function __wbg_tableproperty_free(a: number): void;
416
+ export function __wbg_tablecellproperty_free(a: number): void;
417
417
  export function __wbindgen_malloc(a: number): number;
418
418
  export function __wbindgen_realloc(a: number, b: number, c: number): number;
419
419
  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-rc29",
3
+ "version": "0.4.18-rc30",
4
4
  "main": "dist/node/index.js",
5
5
  "browser": "dist/web/index.js",
6
6
  "author": "bokuweb <bokuweb12@gmail.com>",