docx-wasm 0.4.18-rc24 → 0.4.18-rc25

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,38 +176,69 @@ export function createDocx(): Docx;
176
176
  export function createFooter(): Footer;
177
177
  /**
178
178
  */
179
- export enum LevelSuffixType {
180
- Nothing,
181
- Space,
182
- Tab,
179
+ export enum BorderType {
180
+ Nil,
181
+ None,
182
+ Single,
183
+ Thick,
184
+ Double,
185
+ Dotted,
186
+ Dashed,
187
+ DotDash,
188
+ DotDotDash,
189
+ Triple,
190
+ ThinThickSmallGap,
191
+ ThickThinSmallGap,
192
+ ThinThickThinSmallGap,
193
+ ThinThickMediumGap,
194
+ ThickThinMediumGap,
195
+ ThinThickThinMediumGap,
196
+ ThinThickLargeGap,
197
+ ThickThinLargeGap,
198
+ ThinThickThinLargeGap,
199
+ Wave,
200
+ DoubleWave,
201
+ DashSmallGap,
202
+ DashDotStroked,
203
+ ThreeDEmboss,
204
+ ThreeDEngrave,
205
+ Outset,
206
+ Inset,
207
+ Apples,
208
+ ArchedScallops,
209
+ BabyPacifier,
210
+ BabyRattle,
183
211
  }
184
212
  /**
185
213
  */
186
- export enum VertAlignType {
187
- Baseline,
188
- SuperScript,
189
- SubScript,
214
+ export enum CharacterSpacingValues {
215
+ DoNotCompress,
216
+ CompressPunctuation,
217
+ CompressPunctuationAndJapaneseKana,
190
218
  Unsupported,
191
219
  }
192
220
  /**
193
221
  */
194
- export enum PositionalTabAlignmentType {
195
- Center,
196
- Left,
197
- Right,
222
+ export enum DocGridType {
223
+ Default,
224
+ Lines,
225
+ LinesAndChars,
226
+ SnapToChars,
198
227
  }
199
228
  /**
200
229
  */
201
- export enum TabValueType {
202
- Bar,
203
- Center,
204
- Clear,
205
- Decimal,
206
- End,
207
- Right,
208
- Num,
209
- Start,
230
+ export enum DrawingPositionType {
231
+ Anchor,
232
+ Inline,
233
+ }
234
+ /**
235
+ */
236
+ export enum PicAlign {
210
237
  Left,
238
+ Right,
239
+ Center,
240
+ Bottom,
241
+ Top,
211
242
  }
212
243
  /**
213
244
  */
@@ -225,17 +256,56 @@ export enum LineSpacingType {
225
256
  }
226
257
  /**
227
258
  */
228
- export enum CharacterSpacingValues {
229
- DoNotCompress,
230
- CompressPunctuation,
231
- CompressPunctuationAndJapaneseKana,
259
+ export enum PositionalTabRelativeTo {
260
+ Indent,
261
+ Margin,
262
+ }
263
+ /**
264
+ */
265
+ export enum SectionType {
266
+ NextPage,
267
+ NextColumn,
268
+ Continuous,
269
+ EvenPage,
270
+ OddPage,
271
+ }
272
+ /**
273
+ */
274
+ export enum StyleType {
275
+ Paragraph,
276
+ Character,
277
+ Numbering,
278
+ Table,
232
279
  Unsupported,
233
280
  }
234
281
  /**
235
282
  */
236
- export enum PositionalTabRelativeTo {
237
- Indent,
238
- Margin,
283
+ export enum WidthType {
284
+ Dxa,
285
+ Auto,
286
+ Pct,
287
+ Nil,
288
+ Unsupported,
289
+ }
290
+ /**
291
+ */
292
+ export enum AlignmentType {
293
+ Both,
294
+ Center,
295
+ Distribute,
296
+ Start,
297
+ End,
298
+ Left,
299
+ Right,
300
+ Justified,
301
+ }
302
+ /**
303
+ */
304
+ export enum FieldCharType {
305
+ Begin,
306
+ Separate,
307
+ End,
308
+ Unsupported,
239
309
  }
240
310
  /**
241
311
  */
@@ -299,25 +369,62 @@ export enum RelativeFromVType {
299
369
  }
300
370
  /**
301
371
  */
302
- export enum SpecialIndentKind {
303
- FirstLine,
304
- Hanging,
372
+ export enum ShdType {
373
+ Nil,
374
+ Clear,
375
+ Solid,
376
+ HorzStripe,
377
+ VertStripe,
378
+ ReverseDiagStripe,
379
+ DiagStripe,
380
+ HorzCross,
381
+ DiagCross,
382
+ ThinHorzStripe,
383
+ ThinVertStripe,
384
+ ThinReverseDiagStripe,
385
+ ThinDiagStripe,
386
+ ThinHorzCross,
387
+ ThinDiagCross,
388
+ Pct5,
389
+ Pct10,
390
+ Pct12,
391
+ Pct15,
392
+ Pct20,
393
+ Pct25,
394
+ Pct30,
395
+ Pct35,
396
+ Pct37,
397
+ Pct40,
398
+ Pct45,
399
+ Pct50,
400
+ Pct55,
401
+ Pct60,
402
+ Pct62,
403
+ Pct65,
404
+ Pct70,
405
+ Pct75,
406
+ Pct80,
407
+ Pct85,
408
+ Pct87,
409
+ Pct90,
410
+ Pct95,
305
411
  }
306
412
  /**
307
413
  */
308
- export enum StyleType {
309
- Paragraph,
310
- Character,
311
- Numbering,
312
- Table,
313
- Unsupported,
414
+ export enum TextAlignmentType {
415
+ Auto,
416
+ Baseline,
417
+ Bottom,
418
+ Center,
419
+ Top,
314
420
  }
315
421
  /**
316
422
  */
317
- export enum TableAlignmentType {
318
- Center,
319
- Left,
320
- Right,
423
+ export enum VertAlignType {
424
+ Baseline,
425
+ SuperScript,
426
+ SubScript,
427
+ Unsupported,
321
428
  }
322
429
  /**
323
430
  */
@@ -327,60 +434,44 @@ export enum TableLayoutType {
327
434
  }
328
435
  /**
329
436
  */
330
- export enum WidthType {
331
- Dxa,
332
- Auto,
333
- Pct,
334
- Nil,
335
- Unsupported,
336
- }
337
- /**
338
- */
339
- export enum FieldCharType {
340
- Begin,
341
- Separate,
342
- End,
343
- Unsupported,
437
+ export enum PageOrientationType {
438
+ Landscape,
439
+ Portrait,
344
440
  }
345
441
  /**
346
442
  */
347
- export enum HyperlinkType {
348
- Anchor,
349
- External,
443
+ export enum SpecialIndentKind {
444
+ FirstLine,
445
+ Hanging,
350
446
  }
351
447
  /**
352
448
  */
353
- export enum AlignmentType {
354
- Both,
449
+ export enum TableAlignmentType {
355
450
  Center,
356
- Distribute,
357
- Start,
358
- End,
359
451
  Left,
360
452
  Right,
361
- Justified,
362
453
  }
363
454
  /**
364
455
  */
365
- export enum BreakType {
366
- Page,
367
- Column,
368
- TextWrapping,
369
- Unsupported,
456
+ export enum FontPitchType {
457
+ Default,
458
+ Fixed,
459
+ Variable,
370
460
  }
371
461
  /**
372
462
  */
373
- export enum PageOrientationType {
374
- Landscape,
375
- Portrait,
463
+ export enum VAlignType {
464
+ Top,
465
+ Center,
466
+ Bottom,
467
+ Unsupported,
376
468
  }
377
469
  /**
378
470
  */
379
- export enum DocGridType {
380
- Default,
381
- Lines,
382
- LinesAndChars,
383
- SnapToChars,
471
+ export enum VMergeType {
472
+ Continue,
473
+ Restart,
474
+ Unsupported,
384
475
  }
385
476
  /**
386
477
  */
@@ -416,138 +507,54 @@ export enum ParagraphBorderPosition {
416
507
  }
417
508
  /**
418
509
  */
419
- export enum SectionType {
420
- NextPage,
421
- NextColumn,
422
- Continuous,
423
- EvenPage,
424
- OddPage,
425
- }
426
- /**
427
- */
428
- export enum TabLeaderType {
429
- Dot,
430
- Heavy,
431
- Hyphen,
432
- MiddleDot,
433
- None,
434
- Underscore,
510
+ export enum BreakType {
511
+ Page,
512
+ Column,
513
+ TextWrapping,
514
+ Unsupported,
435
515
  }
436
516
  /**
437
517
  */
438
- export enum TextAlignmentType {
439
- Auto,
440
- Baseline,
441
- Bottom,
442
- Center,
443
- Top,
518
+ export enum LevelSuffixType {
519
+ Nothing,
520
+ Space,
521
+ Tab,
444
522
  }
445
523
  /**
446
524
  */
447
- export enum VAlignType {
448
- Top,
525
+ export enum TabValueType {
526
+ Bar,
449
527
  Center,
450
- Bottom,
451
- Unsupported,
452
- }
453
- /**
454
- */
455
- export enum BorderType {
456
- Nil,
457
- None,
458
- Single,
459
- Thick,
460
- Double,
461
- Dotted,
462
- Dashed,
463
- DotDash,
464
- DotDotDash,
465
- Triple,
466
- ThinThickSmallGap,
467
- ThickThinSmallGap,
468
- ThinThickThinSmallGap,
469
- ThinThickMediumGap,
470
- ThickThinMediumGap,
471
- ThinThickThinMediumGap,
472
- ThinThickLargeGap,
473
- ThickThinLargeGap,
474
- ThinThickThinLargeGap,
475
- Wave,
476
- DoubleWave,
477
- DashSmallGap,
478
- DashDotStroked,
479
- ThreeDEmboss,
480
- ThreeDEngrave,
481
- Outset,
482
- Inset,
483
- Apples,
484
- ArchedScallops,
485
- BabyPacifier,
486
- BabyRattle,
528
+ Clear,
529
+ Decimal,
530
+ End,
531
+ Right,
532
+ Num,
533
+ Start,
534
+ Left,
487
535
  }
488
536
  /**
489
537
  */
490
- export enum DrawingPositionType {
538
+ export enum HyperlinkType {
491
539
  Anchor,
492
- Inline,
540
+ External,
493
541
  }
494
542
  /**
495
543
  */
496
- export enum PicAlign {
544
+ export enum PositionalTabAlignmentType {
545
+ Center,
497
546
  Left,
498
547
  Right,
499
- Center,
500
- Bottom,
501
- Top,
502
- }
503
- /**
504
- */
505
- export enum FontPitchType {
506
- Default,
507
- Fixed,
508
- Variable,
509
548
  }
510
549
  /**
511
550
  */
512
- export enum ShdType {
513
- Nil,
514
- Clear,
515
- Solid,
516
- HorzStripe,
517
- VertStripe,
518
- ReverseDiagStripe,
519
- DiagStripe,
520
- HorzCross,
521
- DiagCross,
522
- ThinHorzStripe,
523
- ThinVertStripe,
524
- ThinReverseDiagStripe,
525
- ThinDiagStripe,
526
- ThinHorzCross,
527
- ThinDiagCross,
528
- Pct5,
529
- Pct10,
530
- Pct12,
531
- Pct15,
532
- Pct20,
533
- Pct25,
534
- Pct30,
535
- Pct35,
536
- Pct37,
537
- Pct40,
538
- Pct45,
539
- Pct50,
540
- Pct55,
541
- Pct60,
542
- Pct62,
543
- Pct65,
544
- Pct70,
545
- Pct75,
546
- Pct80,
547
- Pct85,
548
- Pct87,
549
- Pct90,
550
- Pct95,
551
+ export enum TabLeaderType {
552
+ Dot,
553
+ Heavy,
554
+ Hyphen,
555
+ MiddleDot,
556
+ None,
557
+ Underscore,
551
558
  }
552
559
  /**
553
560
  */
@@ -565,13 +572,6 @@ export enum TextDirectionType {
565
572
  }
566
573
  /**
567
574
  */
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,16 +504,19 @@ module.exports.createFooter = function() {
504
504
 
505
505
  /**
506
506
  */
507
- module.exports.LevelSuffixType = Object.freeze({ Nothing:0,"0":"Nothing",Space:1,"1":"Space",Tab:2,"2":"Tab", });
507
+ 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", });
508
508
  /**
509
509
  */
510
- module.exports.VertAlignType = Object.freeze({ Baseline:0,"0":"Baseline",SuperScript:1,"1":"SuperScript",SubScript:2,"2":"SubScript",Unsupported:3,"3":"Unsupported", });
510
+ module.exports.CharacterSpacingValues = Object.freeze({ DoNotCompress:0,"0":"DoNotCompress",CompressPunctuation:1,"1":"CompressPunctuation",CompressPunctuationAndJapaneseKana:2,"2":"CompressPunctuationAndJapaneseKana",Unsupported:3,"3":"Unsupported", });
511
511
  /**
512
512
  */
513
- module.exports.PositionalTabAlignmentType = Object.freeze({ Center:0,"0":"Center",Left:1,"1":"Left",Right:2,"2":"Right", });
513
+ module.exports.DocGridType = Object.freeze({ Default:0,"0":"Default",Lines:1,"1":"Lines",LinesAndChars:2,"2":"LinesAndChars",SnapToChars:3,"3":"SnapToChars", });
514
514
  /**
515
515
  */
516
- 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", });
516
+ module.exports.DrawingPositionType = Object.freeze({ Anchor:0,"0":"Anchor",Inline:1,"1":"Inline", });
517
+ /**
518
+ */
519
+ 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
520
  /**
518
521
  */
519
522
  module.exports.HeightRule = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
@@ -522,10 +525,22 @@ module.exports.HeightRule = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtL
522
525
  module.exports.LineSpacingType = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
523
526
  /**
524
527
  */
525
- module.exports.CharacterSpacingValues = Object.freeze({ DoNotCompress:0,"0":"DoNotCompress",CompressPunctuation:1,"1":"CompressPunctuation",CompressPunctuationAndJapaneseKana:2,"2":"CompressPunctuationAndJapaneseKana",Unsupported:3,"3":"Unsupported", });
528
+ module.exports.PositionalTabRelativeTo = Object.freeze({ Indent:0,"0":"Indent",Margin:1,"1":"Margin", });
526
529
  /**
527
530
  */
528
- module.exports.PositionalTabRelativeTo = Object.freeze({ Indent:0,"0":"Indent",Margin:1,"1":"Margin", });
531
+ 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", });
532
+ /**
533
+ */
534
+ 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", });
535
+ /**
536
+ */
537
+ 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", });
538
+ /**
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
+ */
543
+ module.exports.FieldCharType = Object.freeze({ Begin:0,"0":"Begin",Separate:1,"1":"Separate",End:2,"2":"End",Unsupported:3,"3":"Unsupported", });
529
544
  /**
530
545
  */
531
546
  module.exports.RelativeFromHType = Object.freeze({
@@ -578,37 +593,34 @@ RightMargin:7,"7":"RightMargin", });
578
593
  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", });
579
594
  /**
580
595
  */
581
- module.exports.SpecialIndentKind = Object.freeze({ FirstLine:0,"0":"FirstLine",Hanging:1,"1":"Hanging", });
596
+ 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", });
582
597
  /**
583
598
  */
584
- 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", });
599
+ 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", });
585
600
  /**
586
601
  */
587
- module.exports.TableAlignmentType = Object.freeze({ Center:0,"0":"Center",Left:1,"1":"Left",Right:2,"2":"Right", });
602
+ module.exports.VertAlignType = Object.freeze({ Baseline:0,"0":"Baseline",SuperScript:1,"1":"SuperScript",SubScript:2,"2":"SubScript",Unsupported:3,"3":"Unsupported", });
588
603
  /**
589
604
  */
590
605
  module.exports.TableLayoutType = Object.freeze({ Fixed:0,"0":"Fixed",Autofit:1,"1":"Autofit", });
591
606
  /**
592
607
  */
593
- 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", });
594
- /**
595
- */
596
- module.exports.FieldCharType = Object.freeze({ Begin:0,"0":"Begin",Separate:1,"1":"Separate",End:2,"2":"End",Unsupported:3,"3":"Unsupported", });
608
+ module.exports.PageOrientationType = Object.freeze({ Landscape:0,"0":"Landscape",Portrait:1,"1":"Portrait", });
597
609
  /**
598
610
  */
599
- module.exports.HyperlinkType = Object.freeze({ Anchor:0,"0":"Anchor",External:1,"1":"External", });
611
+ module.exports.SpecialIndentKind = Object.freeze({ FirstLine:0,"0":"FirstLine",Hanging:1,"1":"Hanging", });
600
612
  /**
601
613
  */
602
- 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", });
614
+ module.exports.TableAlignmentType = Object.freeze({ Center:0,"0":"Center",Left:1,"1":"Left",Right:2,"2":"Right", });
603
615
  /**
604
616
  */
605
- module.exports.BreakType = Object.freeze({ Page:0,"0":"Page",Column:1,"1":"Column",TextWrapping:2,"2":"TextWrapping",Unsupported:3,"3":"Unsupported", });
617
+ module.exports.FontPitchType = Object.freeze({ Default:0,"0":"Default",Fixed:1,"1":"Fixed",Variable:2,"2":"Variable", });
606
618
  /**
607
619
  */
608
- module.exports.PageOrientationType = Object.freeze({ Landscape:0,"0":"Landscape",Portrait:1,"1":"Portrait", });
620
+ module.exports.VAlignType = Object.freeze({ Top:0,"0":"Top",Center:1,"1":"Center",Bottom:2,"2":"Bottom",Unsupported:3,"3":"Unsupported", });
609
621
  /**
610
622
  */
611
- module.exports.DocGridType = Object.freeze({ Default:0,"0":"Default",Lines:1,"1":"Lines",LinesAndChars:2,"2":"LinesAndChars",SnapToChars:3,"3":"SnapToChars", });
623
+ module.exports.VMergeType = Object.freeze({ Continue:0,"0":"Continue",Restart:1,"1":"Restart",Unsupported:2,"2":"Unsupported", });
612
624
  /**
613
625
  */
614
626
  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", });
@@ -620,39 +632,27 @@ module.exports.TableCellBorderPosition = Object.freeze({ Left:0,"0":"Left",Right
620
632
  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
633
  /**
622
634
  */
623
- 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", });
624
- /**
625
- */
626
- 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", });
627
- /**
628
- */
629
- 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", });
630
- /**
631
- */
632
- module.exports.VAlignType = Object.freeze({ Top:0,"0":"Top",Center:1,"1":"Center",Bottom:2,"2":"Bottom",Unsupported:3,"3":"Unsupported", });
635
+ module.exports.BreakType = Object.freeze({ Page:0,"0":"Page",Column:1,"1":"Column",TextWrapping:2,"2":"TextWrapping",Unsupported:3,"3":"Unsupported", });
633
636
  /**
634
637
  */
635
- 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", });
638
+ module.exports.LevelSuffixType = Object.freeze({ Nothing:0,"0":"Nothing",Space:1,"1":"Space",Tab:2,"2":"Tab", });
636
639
  /**
637
640
  */
638
- module.exports.DrawingPositionType = Object.freeze({ Anchor:0,"0":"Anchor",Inline:1,"1":"Inline", });
641
+ 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", });
639
642
  /**
640
643
  */
641
- 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", });
644
+ module.exports.HyperlinkType = Object.freeze({ Anchor:0,"0":"Anchor",External:1,"1":"External", });
642
645
  /**
643
646
  */
644
- module.exports.FontPitchType = Object.freeze({ Default:0,"0":"Default",Fixed:1,"1":"Fixed",Variable:2,"2":"Variable", });
647
+ module.exports.PositionalTabAlignmentType = Object.freeze({ Center:0,"0":"Center",Left:1,"1":"Left",Right:2,"2":"Right", });
645
648
  /**
646
649
  */
647
- 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", });
650
+ 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", });
648
651
  /**
649
652
  */
650
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", });
651
654
  /**
652
655
  */
653
- module.exports.VMergeType = Object.freeze({ Continue:0,"0":"Continue",Restart:1,"1":"Restart",Unsupported:2,"2":"Unsupported", });
654
- /**
655
- */
656
656
  class AbstractNumbering {
657
657
 
658
658
  static __wrap(ptr) {
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_tableproperty_free(a: number): void;
414
413
  export function __wbg_tablecellproperty_free(a: number): void;
414
+ export function __wbg_tableproperty_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,38 +176,69 @@ export function createDocx(): Docx;
176
176
  export function createFooter(): Footer;
177
177
  /**
178
178
  */
179
- export enum LevelSuffixType {
180
- Nothing,
181
- Space,
182
- Tab,
179
+ export enum BorderType {
180
+ Nil,
181
+ None,
182
+ Single,
183
+ Thick,
184
+ Double,
185
+ Dotted,
186
+ Dashed,
187
+ DotDash,
188
+ DotDotDash,
189
+ Triple,
190
+ ThinThickSmallGap,
191
+ ThickThinSmallGap,
192
+ ThinThickThinSmallGap,
193
+ ThinThickMediumGap,
194
+ ThickThinMediumGap,
195
+ ThinThickThinMediumGap,
196
+ ThinThickLargeGap,
197
+ ThickThinLargeGap,
198
+ ThinThickThinLargeGap,
199
+ Wave,
200
+ DoubleWave,
201
+ DashSmallGap,
202
+ DashDotStroked,
203
+ ThreeDEmboss,
204
+ ThreeDEngrave,
205
+ Outset,
206
+ Inset,
207
+ Apples,
208
+ ArchedScallops,
209
+ BabyPacifier,
210
+ BabyRattle,
183
211
  }
184
212
  /**
185
213
  */
186
- export enum VertAlignType {
187
- Baseline,
188
- SuperScript,
189
- SubScript,
214
+ export enum CharacterSpacingValues {
215
+ DoNotCompress,
216
+ CompressPunctuation,
217
+ CompressPunctuationAndJapaneseKana,
190
218
  Unsupported,
191
219
  }
192
220
  /**
193
221
  */
194
- export enum PositionalTabAlignmentType {
195
- Center,
196
- Left,
197
- Right,
222
+ export enum DocGridType {
223
+ Default,
224
+ Lines,
225
+ LinesAndChars,
226
+ SnapToChars,
198
227
  }
199
228
  /**
200
229
  */
201
- export enum TabValueType {
202
- Bar,
203
- Center,
204
- Clear,
205
- Decimal,
206
- End,
207
- Right,
208
- Num,
209
- Start,
230
+ export enum DrawingPositionType {
231
+ Anchor,
232
+ Inline,
233
+ }
234
+ /**
235
+ */
236
+ export enum PicAlign {
210
237
  Left,
238
+ Right,
239
+ Center,
240
+ Bottom,
241
+ Top,
211
242
  }
212
243
  /**
213
244
  */
@@ -225,17 +256,56 @@ export enum LineSpacingType {
225
256
  }
226
257
  /**
227
258
  */
228
- export enum CharacterSpacingValues {
229
- DoNotCompress,
230
- CompressPunctuation,
231
- CompressPunctuationAndJapaneseKana,
259
+ export enum PositionalTabRelativeTo {
260
+ Indent,
261
+ Margin,
262
+ }
263
+ /**
264
+ */
265
+ export enum SectionType {
266
+ NextPage,
267
+ NextColumn,
268
+ Continuous,
269
+ EvenPage,
270
+ OddPage,
271
+ }
272
+ /**
273
+ */
274
+ export enum StyleType {
275
+ Paragraph,
276
+ Character,
277
+ Numbering,
278
+ Table,
232
279
  Unsupported,
233
280
  }
234
281
  /**
235
282
  */
236
- export enum PositionalTabRelativeTo {
237
- Indent,
238
- Margin,
283
+ export enum WidthType {
284
+ Dxa,
285
+ Auto,
286
+ Pct,
287
+ Nil,
288
+ Unsupported,
289
+ }
290
+ /**
291
+ */
292
+ export enum AlignmentType {
293
+ Both,
294
+ Center,
295
+ Distribute,
296
+ Start,
297
+ End,
298
+ Left,
299
+ Right,
300
+ Justified,
301
+ }
302
+ /**
303
+ */
304
+ export enum FieldCharType {
305
+ Begin,
306
+ Separate,
307
+ End,
308
+ Unsupported,
239
309
  }
240
310
  /**
241
311
  */
@@ -299,25 +369,62 @@ export enum RelativeFromVType {
299
369
  }
300
370
  /**
301
371
  */
302
- export enum SpecialIndentKind {
303
- FirstLine,
304
- Hanging,
372
+ export enum ShdType {
373
+ Nil,
374
+ Clear,
375
+ Solid,
376
+ HorzStripe,
377
+ VertStripe,
378
+ ReverseDiagStripe,
379
+ DiagStripe,
380
+ HorzCross,
381
+ DiagCross,
382
+ ThinHorzStripe,
383
+ ThinVertStripe,
384
+ ThinReverseDiagStripe,
385
+ ThinDiagStripe,
386
+ ThinHorzCross,
387
+ ThinDiagCross,
388
+ Pct5,
389
+ Pct10,
390
+ Pct12,
391
+ Pct15,
392
+ Pct20,
393
+ Pct25,
394
+ Pct30,
395
+ Pct35,
396
+ Pct37,
397
+ Pct40,
398
+ Pct45,
399
+ Pct50,
400
+ Pct55,
401
+ Pct60,
402
+ Pct62,
403
+ Pct65,
404
+ Pct70,
405
+ Pct75,
406
+ Pct80,
407
+ Pct85,
408
+ Pct87,
409
+ Pct90,
410
+ Pct95,
305
411
  }
306
412
  /**
307
413
  */
308
- export enum StyleType {
309
- Paragraph,
310
- Character,
311
- Numbering,
312
- Table,
313
- Unsupported,
414
+ export enum TextAlignmentType {
415
+ Auto,
416
+ Baseline,
417
+ Bottom,
418
+ Center,
419
+ Top,
314
420
  }
315
421
  /**
316
422
  */
317
- export enum TableAlignmentType {
318
- Center,
319
- Left,
320
- Right,
423
+ export enum VertAlignType {
424
+ Baseline,
425
+ SuperScript,
426
+ SubScript,
427
+ Unsupported,
321
428
  }
322
429
  /**
323
430
  */
@@ -327,60 +434,44 @@ export enum TableLayoutType {
327
434
  }
328
435
  /**
329
436
  */
330
- export enum WidthType {
331
- Dxa,
332
- Auto,
333
- Pct,
334
- Nil,
335
- Unsupported,
336
- }
337
- /**
338
- */
339
- export enum FieldCharType {
340
- Begin,
341
- Separate,
342
- End,
343
- Unsupported,
437
+ export enum PageOrientationType {
438
+ Landscape,
439
+ Portrait,
344
440
  }
345
441
  /**
346
442
  */
347
- export enum HyperlinkType {
348
- Anchor,
349
- External,
443
+ export enum SpecialIndentKind {
444
+ FirstLine,
445
+ Hanging,
350
446
  }
351
447
  /**
352
448
  */
353
- export enum AlignmentType {
354
- Both,
449
+ export enum TableAlignmentType {
355
450
  Center,
356
- Distribute,
357
- Start,
358
- End,
359
451
  Left,
360
452
  Right,
361
- Justified,
362
453
  }
363
454
  /**
364
455
  */
365
- export enum BreakType {
366
- Page,
367
- Column,
368
- TextWrapping,
369
- Unsupported,
456
+ export enum FontPitchType {
457
+ Default,
458
+ Fixed,
459
+ Variable,
370
460
  }
371
461
  /**
372
462
  */
373
- export enum PageOrientationType {
374
- Landscape,
375
- Portrait,
463
+ export enum VAlignType {
464
+ Top,
465
+ Center,
466
+ Bottom,
467
+ Unsupported,
376
468
  }
377
469
  /**
378
470
  */
379
- export enum DocGridType {
380
- Default,
381
- Lines,
382
- LinesAndChars,
383
- SnapToChars,
471
+ export enum VMergeType {
472
+ Continue,
473
+ Restart,
474
+ Unsupported,
384
475
  }
385
476
  /**
386
477
  */
@@ -416,138 +507,54 @@ export enum ParagraphBorderPosition {
416
507
  }
417
508
  /**
418
509
  */
419
- export enum SectionType {
420
- NextPage,
421
- NextColumn,
422
- Continuous,
423
- EvenPage,
424
- OddPage,
425
- }
426
- /**
427
- */
428
- export enum TabLeaderType {
429
- Dot,
430
- Heavy,
431
- Hyphen,
432
- MiddleDot,
433
- None,
434
- Underscore,
510
+ export enum BreakType {
511
+ Page,
512
+ Column,
513
+ TextWrapping,
514
+ Unsupported,
435
515
  }
436
516
  /**
437
517
  */
438
- export enum TextAlignmentType {
439
- Auto,
440
- Baseline,
441
- Bottom,
442
- Center,
443
- Top,
518
+ export enum LevelSuffixType {
519
+ Nothing,
520
+ Space,
521
+ Tab,
444
522
  }
445
523
  /**
446
524
  */
447
- export enum VAlignType {
448
- Top,
525
+ export enum TabValueType {
526
+ Bar,
449
527
  Center,
450
- Bottom,
451
- Unsupported,
452
- }
453
- /**
454
- */
455
- export enum BorderType {
456
- Nil,
457
- None,
458
- Single,
459
- Thick,
460
- Double,
461
- Dotted,
462
- Dashed,
463
- DotDash,
464
- DotDotDash,
465
- Triple,
466
- ThinThickSmallGap,
467
- ThickThinSmallGap,
468
- ThinThickThinSmallGap,
469
- ThinThickMediumGap,
470
- ThickThinMediumGap,
471
- ThinThickThinMediumGap,
472
- ThinThickLargeGap,
473
- ThickThinLargeGap,
474
- ThinThickThinLargeGap,
475
- Wave,
476
- DoubleWave,
477
- DashSmallGap,
478
- DashDotStroked,
479
- ThreeDEmboss,
480
- ThreeDEngrave,
481
- Outset,
482
- Inset,
483
- Apples,
484
- ArchedScallops,
485
- BabyPacifier,
486
- BabyRattle,
528
+ Clear,
529
+ Decimal,
530
+ End,
531
+ Right,
532
+ Num,
533
+ Start,
534
+ Left,
487
535
  }
488
536
  /**
489
537
  */
490
- export enum DrawingPositionType {
538
+ export enum HyperlinkType {
491
539
  Anchor,
492
- Inline,
540
+ External,
493
541
  }
494
542
  /**
495
543
  */
496
- export enum PicAlign {
544
+ export enum PositionalTabAlignmentType {
545
+ Center,
497
546
  Left,
498
547
  Right,
499
- Center,
500
- Bottom,
501
- Top,
502
- }
503
- /**
504
- */
505
- export enum FontPitchType {
506
- Default,
507
- Fixed,
508
- Variable,
509
548
  }
510
549
  /**
511
550
  */
512
- export enum ShdType {
513
- Nil,
514
- Clear,
515
- Solid,
516
- HorzStripe,
517
- VertStripe,
518
- ReverseDiagStripe,
519
- DiagStripe,
520
- HorzCross,
521
- DiagCross,
522
- ThinHorzStripe,
523
- ThinVertStripe,
524
- ThinReverseDiagStripe,
525
- ThinDiagStripe,
526
- ThinHorzCross,
527
- ThinDiagCross,
528
- Pct5,
529
- Pct10,
530
- Pct12,
531
- Pct15,
532
- Pct20,
533
- Pct25,
534
- Pct30,
535
- Pct35,
536
- Pct37,
537
- Pct40,
538
- Pct45,
539
- Pct50,
540
- Pct55,
541
- Pct60,
542
- Pct62,
543
- Pct65,
544
- Pct70,
545
- Pct75,
546
- Pct80,
547
- Pct85,
548
- Pct87,
549
- Pct90,
550
- Pct95,
551
+ export enum TabLeaderType {
552
+ Dot,
553
+ Heavy,
554
+ Hyphen,
555
+ MiddleDot,
556
+ None,
557
+ Underscore,
551
558
  }
552
559
  /**
553
560
  */
@@ -565,13 +572,6 @@ export enum TextDirectionType {
565
572
  }
566
573
  /**
567
574
  */
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,16 +505,19 @@ export function createFooter() {
505
505
 
506
506
  /**
507
507
  */
508
- export const LevelSuffixType = Object.freeze({ Nothing:0,"0":"Nothing",Space:1,"1":"Space",Tab:2,"2":"Tab", });
508
+ 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", });
509
509
  /**
510
510
  */
511
- export const VertAlignType = Object.freeze({ Baseline:0,"0":"Baseline",SuperScript:1,"1":"SuperScript",SubScript:2,"2":"SubScript",Unsupported:3,"3":"Unsupported", });
511
+ export const CharacterSpacingValues = Object.freeze({ DoNotCompress:0,"0":"DoNotCompress",CompressPunctuation:1,"1":"CompressPunctuation",CompressPunctuationAndJapaneseKana:2,"2":"CompressPunctuationAndJapaneseKana",Unsupported:3,"3":"Unsupported", });
512
512
  /**
513
513
  */
514
- export const PositionalTabAlignmentType = Object.freeze({ Center:0,"0":"Center",Left:1,"1":"Left",Right:2,"2":"Right", });
514
+ export const DocGridType = Object.freeze({ Default:0,"0":"Default",Lines:1,"1":"Lines",LinesAndChars:2,"2":"LinesAndChars",SnapToChars:3,"3":"SnapToChars", });
515
515
  /**
516
516
  */
517
- 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", });
517
+ export const DrawingPositionType = Object.freeze({ Anchor:0,"0":"Anchor",Inline:1,"1":"Inline", });
518
+ /**
519
+ */
520
+ 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
521
  /**
519
522
  */
520
523
  export const HeightRule = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
@@ -523,10 +526,22 @@ export const HeightRule = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLea
523
526
  export const LineSpacingType = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
524
527
  /**
525
528
  */
526
- export const CharacterSpacingValues = Object.freeze({ DoNotCompress:0,"0":"DoNotCompress",CompressPunctuation:1,"1":"CompressPunctuation",CompressPunctuationAndJapaneseKana:2,"2":"CompressPunctuationAndJapaneseKana",Unsupported:3,"3":"Unsupported", });
529
+ export const PositionalTabRelativeTo = Object.freeze({ Indent:0,"0":"Indent",Margin:1,"1":"Margin", });
527
530
  /**
528
531
  */
529
- export const PositionalTabRelativeTo = Object.freeze({ Indent:0,"0":"Indent",Margin:1,"1":"Margin", });
532
+ 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", });
533
+ /**
534
+ */
535
+ 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", });
536
+ /**
537
+ */
538
+ 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", });
539
+ /**
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
+ */
544
+ export const FieldCharType = Object.freeze({ Begin:0,"0":"Begin",Separate:1,"1":"Separate",End:2,"2":"End",Unsupported:3,"3":"Unsupported", });
530
545
  /**
531
546
  */
532
547
  export const RelativeFromHType = Object.freeze({
@@ -579,37 +594,34 @@ RightMargin:7,"7":"RightMargin", });
579
594
  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", });
580
595
  /**
581
596
  */
582
- export const SpecialIndentKind = Object.freeze({ FirstLine:0,"0":"FirstLine",Hanging:1,"1":"Hanging", });
597
+ 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", });
583
598
  /**
584
599
  */
585
- 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", });
600
+ 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", });
586
601
  /**
587
602
  */
588
- export const TableAlignmentType = Object.freeze({ Center:0,"0":"Center",Left:1,"1":"Left",Right:2,"2":"Right", });
603
+ export const VertAlignType = Object.freeze({ Baseline:0,"0":"Baseline",SuperScript:1,"1":"SuperScript",SubScript:2,"2":"SubScript",Unsupported:3,"3":"Unsupported", });
589
604
  /**
590
605
  */
591
606
  export const TableLayoutType = Object.freeze({ Fixed:0,"0":"Fixed",Autofit:1,"1":"Autofit", });
592
607
  /**
593
608
  */
594
- 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", });
595
- /**
596
- */
597
- export const FieldCharType = Object.freeze({ Begin:0,"0":"Begin",Separate:1,"1":"Separate",End:2,"2":"End",Unsupported:3,"3":"Unsupported", });
609
+ export const PageOrientationType = Object.freeze({ Landscape:0,"0":"Landscape",Portrait:1,"1":"Portrait", });
598
610
  /**
599
611
  */
600
- export const HyperlinkType = Object.freeze({ Anchor:0,"0":"Anchor",External:1,"1":"External", });
612
+ export const SpecialIndentKind = Object.freeze({ FirstLine:0,"0":"FirstLine",Hanging:1,"1":"Hanging", });
601
613
  /**
602
614
  */
603
- 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", });
615
+ export const TableAlignmentType = Object.freeze({ Center:0,"0":"Center",Left:1,"1":"Left",Right:2,"2":"Right", });
604
616
  /**
605
617
  */
606
- export const BreakType = Object.freeze({ Page:0,"0":"Page",Column:1,"1":"Column",TextWrapping:2,"2":"TextWrapping",Unsupported:3,"3":"Unsupported", });
618
+ export const FontPitchType = Object.freeze({ Default:0,"0":"Default",Fixed:1,"1":"Fixed",Variable:2,"2":"Variable", });
607
619
  /**
608
620
  */
609
- export const PageOrientationType = Object.freeze({ Landscape:0,"0":"Landscape",Portrait:1,"1":"Portrait", });
621
+ export const VAlignType = Object.freeze({ Top:0,"0":"Top",Center:1,"1":"Center",Bottom:2,"2":"Bottom",Unsupported:3,"3":"Unsupported", });
610
622
  /**
611
623
  */
612
- export const DocGridType = Object.freeze({ Default:0,"0":"Default",Lines:1,"1":"Lines",LinesAndChars:2,"2":"LinesAndChars",SnapToChars:3,"3":"SnapToChars", });
624
+ export const VMergeType = Object.freeze({ Continue:0,"0":"Continue",Restart:1,"1":"Restart",Unsupported:2,"2":"Unsupported", });
613
625
  /**
614
626
  */
615
627
  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", });
@@ -621,39 +633,27 @@ export const TableCellBorderPosition = Object.freeze({ Left:0,"0":"Left",Right:1
621
633
  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
634
  /**
623
635
  */
624
- 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", });
625
- /**
626
- */
627
- 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", });
628
- /**
629
- */
630
- 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", });
631
- /**
632
- */
633
- export const VAlignType = Object.freeze({ Top:0,"0":"Top",Center:1,"1":"Center",Bottom:2,"2":"Bottom",Unsupported:3,"3":"Unsupported", });
636
+ export const BreakType = Object.freeze({ Page:0,"0":"Page",Column:1,"1":"Column",TextWrapping:2,"2":"TextWrapping",Unsupported:3,"3":"Unsupported", });
634
637
  /**
635
638
  */
636
- 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", });
639
+ export const LevelSuffixType = Object.freeze({ Nothing:0,"0":"Nothing",Space:1,"1":"Space",Tab:2,"2":"Tab", });
637
640
  /**
638
641
  */
639
- export const DrawingPositionType = Object.freeze({ Anchor:0,"0":"Anchor",Inline:1,"1":"Inline", });
642
+ 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", });
640
643
  /**
641
644
  */
642
- 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", });
645
+ export const HyperlinkType = Object.freeze({ Anchor:0,"0":"Anchor",External:1,"1":"External", });
643
646
  /**
644
647
  */
645
- export const FontPitchType = Object.freeze({ Default:0,"0":"Default",Fixed:1,"1":"Fixed",Variable:2,"2":"Variable", });
648
+ export const PositionalTabAlignmentType = Object.freeze({ Center:0,"0":"Center",Left:1,"1":"Left",Right:2,"2":"Right", });
646
649
  /**
647
650
  */
648
- 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", });
651
+ 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", });
649
652
  /**
650
653
  */
651
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", });
652
655
  /**
653
656
  */
654
- export const VMergeType = Object.freeze({ Continue:0,"0":"Continue",Restart:1,"1":"Restart",Unsupported:2,"2":"Unsupported", });
655
- /**
656
- */
657
657
  export class AbstractNumbering {
658
658
 
659
659
  static __wrap(ptr) {
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_tableproperty_free(a: number): void;
414
413
  export function __wbg_tablecellproperty_free(a: number): void;
414
+ export function __wbg_tableproperty_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-rc24",
3
+ "version": "0.4.18-rc25",
4
4
  "main": "dist/node/index.js",
5
5
  "browser": "dist/web/index.js",
6
6
  "author": "bokuweb <bokuweb12@gmail.com>",