docx-wasm 0.4.18-rc23 → 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,82 +176,116 @@ export function createDocx(): Docx;
176
176
  export function createFooter(): Footer;
177
177
  /**
178
178
  */
179
- export enum HyperlinkType {
180
- Anchor,
181
- External,
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,
182
211
  }
183
212
  /**
184
213
  */
185
- export enum LevelSuffixType {
186
- Nothing,
187
- Space,
188
- Tab,
214
+ export enum CharacterSpacingValues {
215
+ DoNotCompress,
216
+ CompressPunctuation,
217
+ CompressPunctuationAndJapaneseKana,
218
+ Unsupported,
189
219
  }
190
220
  /**
191
221
  */
192
- export enum VMergeType {
193
- Continue,
194
- Restart,
195
- Unsupported,
222
+ export enum DocGridType {
223
+ Default,
224
+ Lines,
225
+ LinesAndChars,
226
+ SnapToChars,
196
227
  }
197
228
  /**
198
229
  */
199
- export enum SpecialIndentKind {
200
- FirstLine,
201
- Hanging,
230
+ export enum DrawingPositionType {
231
+ Anchor,
232
+ Inline,
202
233
  }
203
234
  /**
204
235
  */
205
- export enum TableLayoutType {
206
- Fixed,
207
- Autofit,
236
+ export enum PicAlign {
237
+ Left,
238
+ Right,
239
+ Center,
240
+ Bottom,
241
+ Top,
208
242
  }
209
243
  /**
210
244
  */
211
- export enum VertAlignType {
212
- Baseline,
213
- SuperScript,
214
- SubScript,
215
- Unsupported,
245
+ export enum HeightRule {
246
+ Auto,
247
+ AtLeast,
248
+ Exact,
216
249
  }
217
250
  /**
218
251
  */
219
- export enum PageOrientationType {
220
- Landscape,
221
- Portrait,
252
+ export enum LineSpacingType {
253
+ Auto,
254
+ AtLeast,
255
+ Exact,
222
256
  }
223
257
  /**
224
258
  */
225
- export enum PositionalTabAlignmentType {
226
- Center,
227
- Left,
228
- Right,
259
+ export enum PositionalTabRelativeTo {
260
+ Indent,
261
+ Margin,
229
262
  }
230
263
  /**
231
264
  */
232
- export enum TabLeaderType {
233
- Dot,
234
- Heavy,
235
- Hyphen,
236
- MiddleDot,
237
- None,
238
- Underscore,
265
+ export enum SectionType {
266
+ NextPage,
267
+ NextColumn,
268
+ Continuous,
269
+ EvenPage,
270
+ OddPage,
239
271
  }
240
272
  /**
241
273
  */
242
- export enum TableAlignmentType {
243
- Center,
244
- Left,
245
- Right,
274
+ export enum StyleType {
275
+ Paragraph,
276
+ Character,
277
+ Numbering,
278
+ Table,
279
+ Unsupported,
246
280
  }
247
281
  /**
248
282
  */
249
- export enum TextAlignmentType {
283
+ export enum WidthType {
284
+ Dxa,
250
285
  Auto,
251
- Baseline,
252
- Bottom,
253
- Center,
254
- Top,
286
+ Pct,
287
+ Nil,
288
+ Unsupported,
255
289
  }
256
290
  /**
257
291
  */
@@ -267,14 +301,6 @@ export enum AlignmentType {
267
301
  }
268
302
  /**
269
303
  */
270
- export enum CharacterSpacingValues {
271
- DoNotCompress,
272
- CompressPunctuation,
273
- CompressPunctuationAndJapaneseKana,
274
- Unsupported,
275
- }
276
- /**
277
- */
278
304
  export enum FieldCharType {
279
305
  Begin,
280
306
  Separate,
@@ -283,13 +309,6 @@ export enum FieldCharType {
283
309
  }
284
310
  /**
285
311
  */
286
- export enum LineSpacingType {
287
- Auto,
288
- AtLeast,
289
- Exact,
290
- }
291
- /**
292
- */
293
312
  export enum RelativeFromHType {
294
313
  /**
295
314
  * Specifies that the horizontal positioning shall be
@@ -350,38 +369,109 @@ export enum RelativeFromVType {
350
369
  }
351
370
  /**
352
371
  */
353
- export enum SectionType {
354
- NextPage,
355
- NextColumn,
356
- Continuous,
357
- EvenPage,
358
- OddPage,
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,
359
411
  }
360
412
  /**
361
413
  */
362
- export enum StyleType {
363
- Paragraph,
364
- Character,
365
- Numbering,
366
- Table,
367
- Unsupported,
414
+ export enum TextAlignmentType {
415
+ Auto,
416
+ Baseline,
417
+ Bottom,
418
+ Center,
419
+ Top,
368
420
  }
369
421
  /**
370
422
  */
371
- export enum WidthType {
372
- Dxa,
373
- Auto,
374
- Pct,
375
- Nil,
423
+ export enum VertAlignType {
424
+ Baseline,
425
+ SuperScript,
426
+ SubScript,
376
427
  Unsupported,
377
428
  }
378
429
  /**
379
430
  */
380
- export enum DocGridType {
431
+ export enum TableLayoutType {
432
+ Fixed,
433
+ Autofit,
434
+ }
435
+ /**
436
+ */
437
+ export enum PageOrientationType {
438
+ Landscape,
439
+ Portrait,
440
+ }
441
+ /**
442
+ */
443
+ export enum SpecialIndentKind {
444
+ FirstLine,
445
+ Hanging,
446
+ }
447
+ /**
448
+ */
449
+ export enum TableAlignmentType {
450
+ Center,
451
+ Left,
452
+ Right,
453
+ }
454
+ /**
455
+ */
456
+ export enum FontPitchType {
381
457
  Default,
382
- Lines,
383
- LinesAndChars,
384
- SnapToChars,
458
+ Fixed,
459
+ Variable,
460
+ }
461
+ /**
462
+ */
463
+ export enum VAlignType {
464
+ Top,
465
+ Center,
466
+ Bottom,
467
+ Unsupported,
468
+ }
469
+ /**
470
+ */
471
+ export enum VMergeType {
472
+ Continue,
473
+ Restart,
474
+ Unsupported,
385
475
  }
386
476
  /**
387
477
  */
@@ -417,27 +507,6 @@ export enum ParagraphBorderPosition {
417
507
  }
418
508
  /**
419
509
  */
420
- export enum TabValueType {
421
- Bar,
422
- Center,
423
- Clear,
424
- Decimal,
425
- End,
426
- Right,
427
- Num,
428
- Start,
429
- Left,
430
- }
431
- /**
432
- */
433
- export enum VAlignType {
434
- Top,
435
- Center,
436
- Bottom,
437
- Unsupported,
438
- }
439
- /**
440
- */
441
510
  export enum BreakType {
442
511
  Page,
443
512
  Column,
@@ -446,115 +515,46 @@ export enum BreakType {
446
515
  }
447
516
  /**
448
517
  */
449
- export enum FontPitchType {
450
- Default,
451
- Fixed,
452
- Variable,
453
- }
454
- /**
455
- */
456
- export enum HeightRule {
457
- Auto,
458
- AtLeast,
459
- Exact,
518
+ export enum LevelSuffixType {
519
+ Nothing,
520
+ Space,
521
+ Tab,
460
522
  }
461
523
  /**
462
524
  */
463
- export enum BorderType {
464
- Nil,
465
- None,
466
- Single,
467
- Thick,
468
- Double,
469
- Dotted,
470
- Dashed,
471
- DotDash,
472
- DotDotDash,
473
- Triple,
474
- ThinThickSmallGap,
475
- ThickThinSmallGap,
476
- ThinThickThinSmallGap,
477
- ThinThickMediumGap,
478
- ThickThinMediumGap,
479
- ThinThickThinMediumGap,
480
- ThinThickLargeGap,
481
- ThickThinLargeGap,
482
- ThinThickThinLargeGap,
483
- Wave,
484
- DoubleWave,
485
- DashSmallGap,
486
- DashDotStroked,
487
- ThreeDEmboss,
488
- ThreeDEngrave,
489
- Outset,
490
- Inset,
491
- Apples,
492
- ArchedScallops,
493
- BabyPacifier,
494
- BabyRattle,
525
+ export enum TabValueType {
526
+ Bar,
527
+ Center,
528
+ Clear,
529
+ Decimal,
530
+ End,
531
+ Right,
532
+ Num,
533
+ Start,
534
+ Left,
495
535
  }
496
536
  /**
497
537
  */
498
- export enum DrawingPositionType {
538
+ export enum HyperlinkType {
499
539
  Anchor,
500
- Inline,
540
+ External,
501
541
  }
502
542
  /**
503
543
  */
504
- export enum PicAlign {
544
+ export enum PositionalTabAlignmentType {
545
+ Center,
505
546
  Left,
506
547
  Right,
507
- Center,
508
- Bottom,
509
- Top,
510
- }
511
- /**
512
- */
513
- export enum PositionalTabRelativeTo {
514
- Indent,
515
- Margin,
516
548
  }
517
549
  /**
518
550
  */
519
- export enum ShdType {
520
- Nil,
521
- Clear,
522
- Solid,
523
- HorzStripe,
524
- VertStripe,
525
- ReverseDiagStripe,
526
- DiagStripe,
527
- HorzCross,
528
- DiagCross,
529
- ThinHorzStripe,
530
- ThinVertStripe,
531
- ThinReverseDiagStripe,
532
- ThinDiagStripe,
533
- ThinHorzCross,
534
- ThinDiagCross,
535
- Pct5,
536
- Pct10,
537
- Pct12,
538
- Pct15,
539
- Pct20,
540
- Pct25,
541
- Pct30,
542
- Pct35,
543
- Pct37,
544
- Pct40,
545
- Pct45,
546
- Pct50,
547
- Pct55,
548
- Pct60,
549
- Pct62,
550
- Pct65,
551
- Pct70,
552
- Pct75,
553
- Pct80,
554
- Pct85,
555
- Pct87,
556
- Pct90,
557
- Pct95,
551
+ export enum TabLeaderType {
552
+ Dot,
553
+ Heavy,
554
+ Hyphen,
555
+ MiddleDot,
556
+ None,
557
+ Underscore,
558
558
  }
559
559
  /**
560
560
  */
@@ -504,51 +504,45 @@ module.exports.createFooter = function() {
504
504
 
505
505
  /**
506
506
  */
507
- module.exports.HyperlinkType = Object.freeze({ Anchor:0,"0":"Anchor",External:1,"1":"External", });
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.LevelSuffixType = Object.freeze({ Nothing:0,"0":"Nothing",Space:1,"1":"Space",Tab:2,"2":"Tab", });
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.VMergeType = Object.freeze({ Continue:0,"0":"Continue",Restart:1,"1":"Restart",Unsupported:2,"2":"Unsupported", });
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.SpecialIndentKind = Object.freeze({ FirstLine:0,"0":"FirstLine",Hanging:1,"1":"Hanging", });
516
+ module.exports.DrawingPositionType = Object.freeze({ Anchor:0,"0":"Anchor",Inline:1,"1":"Inline", });
517
517
  /**
518
518
  */
519
- module.exports.TableLayoutType = Object.freeze({ Fixed:0,"0":"Fixed",Autofit:1,"1":"Autofit", });
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", });
520
520
  /**
521
521
  */
522
- module.exports.VertAlignType = Object.freeze({ Baseline:0,"0":"Baseline",SuperScript:1,"1":"SuperScript",SubScript:2,"2":"SubScript",Unsupported:3,"3":"Unsupported", });
522
+ module.exports.HeightRule = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
523
523
  /**
524
524
  */
525
- module.exports.PageOrientationType = Object.freeze({ Landscape:0,"0":"Landscape",Portrait:1,"1":"Portrait", });
525
+ module.exports.LineSpacingType = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
526
526
  /**
527
527
  */
528
- module.exports.PositionalTabAlignmentType = Object.freeze({ Center:0,"0":"Center",Left:1,"1":"Left",Right:2,"2":"Right", });
528
+ module.exports.PositionalTabRelativeTo = Object.freeze({ Indent:0,"0":"Indent",Margin:1,"1":"Margin", });
529
529
  /**
530
530
  */
531
- module.exports.TabLeaderType = Object.freeze({ Dot:0,"0":"Dot",Heavy:1,"1":"Heavy",Hyphen:2,"2":"Hyphen",MiddleDot:3,"3":"MiddleDot",None:4,"4":"None",Underscore:5,"5":"Underscore", });
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
532
  /**
533
533
  */
534
- module.exports.TableAlignmentType = Object.freeze({ Center:0,"0":"Center",Left:1,"1":"Left",Right:2,"2":"Right", });
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
535
  /**
536
536
  */
537
- module.exports.TextAlignmentType = Object.freeze({ Auto:0,"0":"Auto",Baseline:1,"1":"Baseline",Bottom:2,"2":"Bottom",Center:3,"3":"Center",Top:4,"4":"Top", });
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
538
  /**
539
539
  */
540
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
541
  /**
542
542
  */
543
- module.exports.CharacterSpacingValues = Object.freeze({ DoNotCompress:0,"0":"DoNotCompress",CompressPunctuation:1,"1":"CompressPunctuation",CompressPunctuationAndJapaneseKana:2,"2":"CompressPunctuationAndJapaneseKana",Unsupported:3,"3":"Unsupported", });
544
- /**
545
- */
546
543
  module.exports.FieldCharType = Object.freeze({ Begin:0,"0":"Begin",Separate:1,"1":"Separate",End:2,"2":"End",Unsupported:3,"3":"Unsupported", });
547
544
  /**
548
545
  */
549
- module.exports.LineSpacingType = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
550
- /**
551
- */
552
546
  module.exports.RelativeFromHType = Object.freeze({
553
547
  /**
554
548
  * Specifies that the horizontal positioning shall be
@@ -599,55 +593,61 @@ RightMargin:7,"7":"RightMargin", });
599
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", });
600
594
  /**
601
595
  */
602
- module.exports.SectionType = Object.freeze({ NextPage:0,"0":"NextPage",NextColumn:1,"1":"NextColumn",Continuous:2,"2":"Continuous",EvenPage:3,"3":"EvenPage",OddPage:4,"4":"OddPage", });
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", });
603
597
  /**
604
598
  */
605
- module.exports.StyleType = Object.freeze({ Paragraph:0,"0":"Paragraph",Character:1,"1":"Character",Numbering:2,"2":"Numbering",Table:3,"3":"Table",Unsupported:4,"4":"Unsupported", });
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", });
606
600
  /**
607
601
  */
608
- module.exports.WidthType = Object.freeze({ Dxa:0,"0":"Dxa",Auto:1,"1":"Auto",Pct:2,"2":"Pct",Nil:3,"3":"Nil",Unsupported:4,"4":"Unsupported", });
602
+ module.exports.VertAlignType = Object.freeze({ Baseline:0,"0":"Baseline",SuperScript:1,"1":"SuperScript",SubScript:2,"2":"SubScript",Unsupported:3,"3":"Unsupported", });
609
603
  /**
610
604
  */
611
- module.exports.DocGridType = Object.freeze({ Default:0,"0":"Default",Lines:1,"1":"Lines",LinesAndChars:2,"2":"LinesAndChars",SnapToChars:3,"3":"SnapToChars", });
605
+ module.exports.TableLayoutType = Object.freeze({ Fixed:0,"0":"Fixed",Autofit:1,"1":"Autofit", });
612
606
  /**
613
607
  */
614
- module.exports.TableBorderPosition = Object.freeze({ Left:0,"0":"Left",Right:1,"1":"Right",Top:2,"2":"Top",Bottom:3,"3":"Bottom",InsideH:4,"4":"InsideH",InsideV:5,"5":"InsideV", });
608
+ module.exports.PageOrientationType = Object.freeze({ Landscape:0,"0":"Landscape",Portrait:1,"1":"Portrait", });
615
609
  /**
616
610
  */
617
- module.exports.TableCellBorderPosition = Object.freeze({ Left:0,"0":"Left",Right:1,"1":"Right",Top:2,"2":"Top",Bottom:3,"3":"Bottom",InsideH:4,"4":"InsideH",InsideV:5,"5":"InsideV",Tl2br:6,"6":"Tl2br",Tr2bl:7,"7":"Tr2bl", });
611
+ module.exports.SpecialIndentKind = Object.freeze({ FirstLine:0,"0":"FirstLine",Hanging:1,"1":"Hanging", });
618
612
  /**
619
613
  */
620
- module.exports.ParagraphBorderPosition = Object.freeze({ Left:0,"0":"Left",Right:1,"1":"Right",Top:2,"2":"Top",Bottom:3,"3":"Bottom",Between:4,"4":"Between",Bar:5,"5":"Bar", });
614
+ module.exports.TableAlignmentType = Object.freeze({ Center:0,"0":"Center",Left:1,"1":"Left",Right:2,"2":"Right", });
621
615
  /**
622
616
  */
623
- module.exports.TabValueType = Object.freeze({ Bar:0,"0":"Bar",Center:1,"1":"Center",Clear:2,"2":"Clear",Decimal:3,"3":"Decimal",End:4,"4":"End",Right:5,"5":"Right",Num:6,"6":"Num",Start:7,"7":"Start",Left:8,"8":"Left", });
617
+ module.exports.FontPitchType = Object.freeze({ Default:0,"0":"Default",Fixed:1,"1":"Fixed",Variable:2,"2":"Variable", });
624
618
  /**
625
619
  */
626
620
  module.exports.VAlignType = Object.freeze({ Top:0,"0":"Top",Center:1,"1":"Center",Bottom:2,"2":"Bottom",Unsupported:3,"3":"Unsupported", });
627
621
  /**
628
622
  */
629
- module.exports.BreakType = Object.freeze({ Page:0,"0":"Page",Column:1,"1":"Column",TextWrapping:2,"2":"TextWrapping",Unsupported:3,"3":"Unsupported", });
623
+ module.exports.VMergeType = Object.freeze({ Continue:0,"0":"Continue",Restart:1,"1":"Restart",Unsupported:2,"2":"Unsupported", });
630
624
  /**
631
625
  */
632
- module.exports.FontPitchType = Object.freeze({ Default:0,"0":"Default",Fixed:1,"1":"Fixed",Variable:2,"2":"Variable", });
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", });
633
627
  /**
634
628
  */
635
- module.exports.HeightRule = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
629
+ 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", });
636
630
  /**
637
631
  */
638
- module.exports.BorderType = Object.freeze({ Nil:0,"0":"Nil",None:1,"1":"None",Single:2,"2":"Single",Thick:3,"3":"Thick",Double:4,"4":"Double",Dotted:5,"5":"Dotted",Dashed:6,"6":"Dashed",DotDash:7,"7":"DotDash",DotDotDash:8,"8":"DotDotDash",Triple:9,"9":"Triple",ThinThickSmallGap:10,"10":"ThinThickSmallGap",ThickThinSmallGap:11,"11":"ThickThinSmallGap",ThinThickThinSmallGap:12,"12":"ThinThickThinSmallGap",ThinThickMediumGap:13,"13":"ThinThickMediumGap",ThickThinMediumGap:14,"14":"ThickThinMediumGap",ThinThickThinMediumGap:15,"15":"ThinThickThinMediumGap",ThinThickLargeGap:16,"16":"ThinThickLargeGap",ThickThinLargeGap:17,"17":"ThickThinLargeGap",ThinThickThinLargeGap:18,"18":"ThinThickThinLargeGap",Wave:19,"19":"Wave",DoubleWave:20,"20":"DoubleWave",DashSmallGap:21,"21":"DashSmallGap",DashDotStroked:22,"22":"DashDotStroked",ThreeDEmboss:23,"23":"ThreeDEmboss",ThreeDEngrave:24,"24":"ThreeDEngrave",Outset:25,"25":"Outset",Inset:26,"26":"Inset",Apples:27,"27":"Apples",ArchedScallops:28,"28":"ArchedScallops",BabyPacifier:29,"29":"BabyPacifier",BabyRattle:30,"30":"BabyRattle", });
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", });
639
633
  /**
640
634
  */
641
- module.exports.DrawingPositionType = Object.freeze({ Anchor:0,"0":"Anchor",Inline:1,"1":"Inline", });
635
+ module.exports.BreakType = Object.freeze({ Page:0,"0":"Page",Column:1,"1":"Column",TextWrapping:2,"2":"TextWrapping",Unsupported:3,"3":"Unsupported", });
642
636
  /**
643
637
  */
644
- module.exports.PicAlign = Object.freeze({ Left:0,"0":"Left",Right:1,"1":"Right",Center:2,"2":"Center",Bottom:3,"3":"Bottom",Top:4,"4":"Top", });
638
+ module.exports.LevelSuffixType = Object.freeze({ Nothing:0,"0":"Nothing",Space:1,"1":"Space",Tab:2,"2":"Tab", });
645
639
  /**
646
640
  */
647
- module.exports.PositionalTabRelativeTo = Object.freeze({ Indent:0,"0":"Indent",Margin:1,"1":"Margin", });
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", });
648
642
  /**
649
643
  */
650
- module.exports.ShdType = Object.freeze({ Nil:0,"0":"Nil",Clear:1,"1":"Clear",Solid:2,"2":"Solid",HorzStripe:3,"3":"HorzStripe",VertStripe:4,"4":"VertStripe",ReverseDiagStripe:5,"5":"ReverseDiagStripe",DiagStripe:6,"6":"DiagStripe",HorzCross:7,"7":"HorzCross",DiagCross:8,"8":"DiagCross",ThinHorzStripe:9,"9":"ThinHorzStripe",ThinVertStripe:10,"10":"ThinVertStripe",ThinReverseDiagStripe:11,"11":"ThinReverseDiagStripe",ThinDiagStripe:12,"12":"ThinDiagStripe",ThinHorzCross:13,"13":"ThinHorzCross",ThinDiagCross:14,"14":"ThinDiagCross",Pct5:15,"15":"Pct5",Pct10:16,"16":"Pct10",Pct12:17,"17":"Pct12",Pct15:18,"18":"Pct15",Pct20:19,"19":"Pct20",Pct25:20,"20":"Pct25",Pct30:21,"21":"Pct30",Pct35:22,"22":"Pct35",Pct37:23,"23":"Pct37",Pct40:24,"24":"Pct40",Pct45:25,"25":"Pct45",Pct50:26,"26":"Pct50",Pct55:27,"27":"Pct55",Pct60:28,"28":"Pct60",Pct62:29,"29":"Pct62",Pct65:30,"30":"Pct65",Pct70:31,"31":"Pct70",Pct75:32,"32":"Pct75",Pct80:33,"33":"Pct80",Pct85:34,"34":"Pct85",Pct87:35,"35":"Pct87",Pct90:36,"36":"Pct90",Pct95:37,"37":"Pct95", });
644
+ module.exports.HyperlinkType = Object.freeze({ Anchor:0,"0":"Anchor",External:1,"1":"External", });
645
+ /**
646
+ */
647
+ module.exports.PositionalTabAlignmentType = Object.freeze({ Center:0,"0":"Center",Left:1,"1":"Left",Right:2,"2":"Right", });
648
+ /**
649
+ */
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", });
651
651
  /**
652
652
  */
653
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", });
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,82 +176,116 @@ export function createDocx(): Docx;
176
176
  export function createFooter(): Footer;
177
177
  /**
178
178
  */
179
- export enum HyperlinkType {
180
- Anchor,
181
- External,
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,
182
211
  }
183
212
  /**
184
213
  */
185
- export enum LevelSuffixType {
186
- Nothing,
187
- Space,
188
- Tab,
214
+ export enum CharacterSpacingValues {
215
+ DoNotCompress,
216
+ CompressPunctuation,
217
+ CompressPunctuationAndJapaneseKana,
218
+ Unsupported,
189
219
  }
190
220
  /**
191
221
  */
192
- export enum VMergeType {
193
- Continue,
194
- Restart,
195
- Unsupported,
222
+ export enum DocGridType {
223
+ Default,
224
+ Lines,
225
+ LinesAndChars,
226
+ SnapToChars,
196
227
  }
197
228
  /**
198
229
  */
199
- export enum SpecialIndentKind {
200
- FirstLine,
201
- Hanging,
230
+ export enum DrawingPositionType {
231
+ Anchor,
232
+ Inline,
202
233
  }
203
234
  /**
204
235
  */
205
- export enum TableLayoutType {
206
- Fixed,
207
- Autofit,
236
+ export enum PicAlign {
237
+ Left,
238
+ Right,
239
+ Center,
240
+ Bottom,
241
+ Top,
208
242
  }
209
243
  /**
210
244
  */
211
- export enum VertAlignType {
212
- Baseline,
213
- SuperScript,
214
- SubScript,
215
- Unsupported,
245
+ export enum HeightRule {
246
+ Auto,
247
+ AtLeast,
248
+ Exact,
216
249
  }
217
250
  /**
218
251
  */
219
- export enum PageOrientationType {
220
- Landscape,
221
- Portrait,
252
+ export enum LineSpacingType {
253
+ Auto,
254
+ AtLeast,
255
+ Exact,
222
256
  }
223
257
  /**
224
258
  */
225
- export enum PositionalTabAlignmentType {
226
- Center,
227
- Left,
228
- Right,
259
+ export enum PositionalTabRelativeTo {
260
+ Indent,
261
+ Margin,
229
262
  }
230
263
  /**
231
264
  */
232
- export enum TabLeaderType {
233
- Dot,
234
- Heavy,
235
- Hyphen,
236
- MiddleDot,
237
- None,
238
- Underscore,
265
+ export enum SectionType {
266
+ NextPage,
267
+ NextColumn,
268
+ Continuous,
269
+ EvenPage,
270
+ OddPage,
239
271
  }
240
272
  /**
241
273
  */
242
- export enum TableAlignmentType {
243
- Center,
244
- Left,
245
- Right,
274
+ export enum StyleType {
275
+ Paragraph,
276
+ Character,
277
+ Numbering,
278
+ Table,
279
+ Unsupported,
246
280
  }
247
281
  /**
248
282
  */
249
- export enum TextAlignmentType {
283
+ export enum WidthType {
284
+ Dxa,
250
285
  Auto,
251
- Baseline,
252
- Bottom,
253
- Center,
254
- Top,
286
+ Pct,
287
+ Nil,
288
+ Unsupported,
255
289
  }
256
290
  /**
257
291
  */
@@ -267,14 +301,6 @@ export enum AlignmentType {
267
301
  }
268
302
  /**
269
303
  */
270
- export enum CharacterSpacingValues {
271
- DoNotCompress,
272
- CompressPunctuation,
273
- CompressPunctuationAndJapaneseKana,
274
- Unsupported,
275
- }
276
- /**
277
- */
278
304
  export enum FieldCharType {
279
305
  Begin,
280
306
  Separate,
@@ -283,13 +309,6 @@ export enum FieldCharType {
283
309
  }
284
310
  /**
285
311
  */
286
- export enum LineSpacingType {
287
- Auto,
288
- AtLeast,
289
- Exact,
290
- }
291
- /**
292
- */
293
312
  export enum RelativeFromHType {
294
313
  /**
295
314
  * Specifies that the horizontal positioning shall be
@@ -350,38 +369,109 @@ export enum RelativeFromVType {
350
369
  }
351
370
  /**
352
371
  */
353
- export enum SectionType {
354
- NextPage,
355
- NextColumn,
356
- Continuous,
357
- EvenPage,
358
- OddPage,
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,
359
411
  }
360
412
  /**
361
413
  */
362
- export enum StyleType {
363
- Paragraph,
364
- Character,
365
- Numbering,
366
- Table,
367
- Unsupported,
414
+ export enum TextAlignmentType {
415
+ Auto,
416
+ Baseline,
417
+ Bottom,
418
+ Center,
419
+ Top,
368
420
  }
369
421
  /**
370
422
  */
371
- export enum WidthType {
372
- Dxa,
373
- Auto,
374
- Pct,
375
- Nil,
423
+ export enum VertAlignType {
424
+ Baseline,
425
+ SuperScript,
426
+ SubScript,
376
427
  Unsupported,
377
428
  }
378
429
  /**
379
430
  */
380
- export enum DocGridType {
431
+ export enum TableLayoutType {
432
+ Fixed,
433
+ Autofit,
434
+ }
435
+ /**
436
+ */
437
+ export enum PageOrientationType {
438
+ Landscape,
439
+ Portrait,
440
+ }
441
+ /**
442
+ */
443
+ export enum SpecialIndentKind {
444
+ FirstLine,
445
+ Hanging,
446
+ }
447
+ /**
448
+ */
449
+ export enum TableAlignmentType {
450
+ Center,
451
+ Left,
452
+ Right,
453
+ }
454
+ /**
455
+ */
456
+ export enum FontPitchType {
381
457
  Default,
382
- Lines,
383
- LinesAndChars,
384
- SnapToChars,
458
+ Fixed,
459
+ Variable,
460
+ }
461
+ /**
462
+ */
463
+ export enum VAlignType {
464
+ Top,
465
+ Center,
466
+ Bottom,
467
+ Unsupported,
468
+ }
469
+ /**
470
+ */
471
+ export enum VMergeType {
472
+ Continue,
473
+ Restart,
474
+ Unsupported,
385
475
  }
386
476
  /**
387
477
  */
@@ -417,27 +507,6 @@ export enum ParagraphBorderPosition {
417
507
  }
418
508
  /**
419
509
  */
420
- export enum TabValueType {
421
- Bar,
422
- Center,
423
- Clear,
424
- Decimal,
425
- End,
426
- Right,
427
- Num,
428
- Start,
429
- Left,
430
- }
431
- /**
432
- */
433
- export enum VAlignType {
434
- Top,
435
- Center,
436
- Bottom,
437
- Unsupported,
438
- }
439
- /**
440
- */
441
510
  export enum BreakType {
442
511
  Page,
443
512
  Column,
@@ -446,115 +515,46 @@ export enum BreakType {
446
515
  }
447
516
  /**
448
517
  */
449
- export enum FontPitchType {
450
- Default,
451
- Fixed,
452
- Variable,
453
- }
454
- /**
455
- */
456
- export enum HeightRule {
457
- Auto,
458
- AtLeast,
459
- Exact,
518
+ export enum LevelSuffixType {
519
+ Nothing,
520
+ Space,
521
+ Tab,
460
522
  }
461
523
  /**
462
524
  */
463
- export enum BorderType {
464
- Nil,
465
- None,
466
- Single,
467
- Thick,
468
- Double,
469
- Dotted,
470
- Dashed,
471
- DotDash,
472
- DotDotDash,
473
- Triple,
474
- ThinThickSmallGap,
475
- ThickThinSmallGap,
476
- ThinThickThinSmallGap,
477
- ThinThickMediumGap,
478
- ThickThinMediumGap,
479
- ThinThickThinMediumGap,
480
- ThinThickLargeGap,
481
- ThickThinLargeGap,
482
- ThinThickThinLargeGap,
483
- Wave,
484
- DoubleWave,
485
- DashSmallGap,
486
- DashDotStroked,
487
- ThreeDEmboss,
488
- ThreeDEngrave,
489
- Outset,
490
- Inset,
491
- Apples,
492
- ArchedScallops,
493
- BabyPacifier,
494
- BabyRattle,
525
+ export enum TabValueType {
526
+ Bar,
527
+ Center,
528
+ Clear,
529
+ Decimal,
530
+ End,
531
+ Right,
532
+ Num,
533
+ Start,
534
+ Left,
495
535
  }
496
536
  /**
497
537
  */
498
- export enum DrawingPositionType {
538
+ export enum HyperlinkType {
499
539
  Anchor,
500
- Inline,
540
+ External,
501
541
  }
502
542
  /**
503
543
  */
504
- export enum PicAlign {
544
+ export enum PositionalTabAlignmentType {
545
+ Center,
505
546
  Left,
506
547
  Right,
507
- Center,
508
- Bottom,
509
- Top,
510
- }
511
- /**
512
- */
513
- export enum PositionalTabRelativeTo {
514
- Indent,
515
- Margin,
516
548
  }
517
549
  /**
518
550
  */
519
- export enum ShdType {
520
- Nil,
521
- Clear,
522
- Solid,
523
- HorzStripe,
524
- VertStripe,
525
- ReverseDiagStripe,
526
- DiagStripe,
527
- HorzCross,
528
- DiagCross,
529
- ThinHorzStripe,
530
- ThinVertStripe,
531
- ThinReverseDiagStripe,
532
- ThinDiagStripe,
533
- ThinHorzCross,
534
- ThinDiagCross,
535
- Pct5,
536
- Pct10,
537
- Pct12,
538
- Pct15,
539
- Pct20,
540
- Pct25,
541
- Pct30,
542
- Pct35,
543
- Pct37,
544
- Pct40,
545
- Pct45,
546
- Pct50,
547
- Pct55,
548
- Pct60,
549
- Pct62,
550
- Pct65,
551
- Pct70,
552
- Pct75,
553
- Pct80,
554
- Pct85,
555
- Pct87,
556
- Pct90,
557
- Pct95,
551
+ export enum TabLeaderType {
552
+ Dot,
553
+ Heavy,
554
+ Hyphen,
555
+ MiddleDot,
556
+ None,
557
+ Underscore,
558
558
  }
559
559
  /**
560
560
  */
@@ -505,51 +505,45 @@ export function createFooter() {
505
505
 
506
506
  /**
507
507
  */
508
- export const HyperlinkType = Object.freeze({ Anchor:0,"0":"Anchor",External:1,"1":"External", });
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 LevelSuffixType = Object.freeze({ Nothing:0,"0":"Nothing",Space:1,"1":"Space",Tab:2,"2":"Tab", });
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 VMergeType = Object.freeze({ Continue:0,"0":"Continue",Restart:1,"1":"Restart",Unsupported:2,"2":"Unsupported", });
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 SpecialIndentKind = Object.freeze({ FirstLine:0,"0":"FirstLine",Hanging:1,"1":"Hanging", });
517
+ export const DrawingPositionType = Object.freeze({ Anchor:0,"0":"Anchor",Inline:1,"1":"Inline", });
518
518
  /**
519
519
  */
520
- export const TableLayoutType = Object.freeze({ Fixed:0,"0":"Fixed",Autofit:1,"1":"Autofit", });
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", });
521
521
  /**
522
522
  */
523
- export const VertAlignType = Object.freeze({ Baseline:0,"0":"Baseline",SuperScript:1,"1":"SuperScript",SubScript:2,"2":"SubScript",Unsupported:3,"3":"Unsupported", });
523
+ export const HeightRule = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
524
524
  /**
525
525
  */
526
- export const PageOrientationType = Object.freeze({ Landscape:0,"0":"Landscape",Portrait:1,"1":"Portrait", });
526
+ export const LineSpacingType = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
527
527
  /**
528
528
  */
529
- export const PositionalTabAlignmentType = Object.freeze({ Center:0,"0":"Center",Left:1,"1":"Left",Right:2,"2":"Right", });
529
+ export const PositionalTabRelativeTo = Object.freeze({ Indent:0,"0":"Indent",Margin:1,"1":"Margin", });
530
530
  /**
531
531
  */
532
- export const TabLeaderType = Object.freeze({ Dot:0,"0":"Dot",Heavy:1,"1":"Heavy",Hyphen:2,"2":"Hyphen",MiddleDot:3,"3":"MiddleDot",None:4,"4":"None",Underscore:5,"5":"Underscore", });
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
533
  /**
534
534
  */
535
- export const TableAlignmentType = Object.freeze({ Center:0,"0":"Center",Left:1,"1":"Left",Right:2,"2":"Right", });
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
536
  /**
537
537
  */
538
- export const TextAlignmentType = Object.freeze({ Auto:0,"0":"Auto",Baseline:1,"1":"Baseline",Bottom:2,"2":"Bottom",Center:3,"3":"Center",Top:4,"4":"Top", });
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
539
  /**
540
540
  */
541
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
542
  /**
543
543
  */
544
- export const CharacterSpacingValues = Object.freeze({ DoNotCompress:0,"0":"DoNotCompress",CompressPunctuation:1,"1":"CompressPunctuation",CompressPunctuationAndJapaneseKana:2,"2":"CompressPunctuationAndJapaneseKana",Unsupported:3,"3":"Unsupported", });
545
- /**
546
- */
547
544
  export const FieldCharType = Object.freeze({ Begin:0,"0":"Begin",Separate:1,"1":"Separate",End:2,"2":"End",Unsupported:3,"3":"Unsupported", });
548
545
  /**
549
546
  */
550
- export const LineSpacingType = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
551
- /**
552
- */
553
547
  export const RelativeFromHType = Object.freeze({
554
548
  /**
555
549
  * Specifies that the horizontal positioning shall be
@@ -600,55 +594,61 @@ RightMargin:7,"7":"RightMargin", });
600
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", });
601
595
  /**
602
596
  */
603
- export const SectionType = Object.freeze({ NextPage:0,"0":"NextPage",NextColumn:1,"1":"NextColumn",Continuous:2,"2":"Continuous",EvenPage:3,"3":"EvenPage",OddPage:4,"4":"OddPage", });
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", });
604
598
  /**
605
599
  */
606
- export const StyleType = Object.freeze({ Paragraph:0,"0":"Paragraph",Character:1,"1":"Character",Numbering:2,"2":"Numbering",Table:3,"3":"Table",Unsupported:4,"4":"Unsupported", });
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", });
607
601
  /**
608
602
  */
609
- export const WidthType = Object.freeze({ Dxa:0,"0":"Dxa",Auto:1,"1":"Auto",Pct:2,"2":"Pct",Nil:3,"3":"Nil",Unsupported:4,"4":"Unsupported", });
603
+ export const VertAlignType = Object.freeze({ Baseline:0,"0":"Baseline",SuperScript:1,"1":"SuperScript",SubScript:2,"2":"SubScript",Unsupported:3,"3":"Unsupported", });
610
604
  /**
611
605
  */
612
- export const DocGridType = Object.freeze({ Default:0,"0":"Default",Lines:1,"1":"Lines",LinesAndChars:2,"2":"LinesAndChars",SnapToChars:3,"3":"SnapToChars", });
606
+ export const TableLayoutType = Object.freeze({ Fixed:0,"0":"Fixed",Autofit:1,"1":"Autofit", });
613
607
  /**
614
608
  */
615
- export const TableBorderPosition = Object.freeze({ Left:0,"0":"Left",Right:1,"1":"Right",Top:2,"2":"Top",Bottom:3,"3":"Bottom",InsideH:4,"4":"InsideH",InsideV:5,"5":"InsideV", });
609
+ export const PageOrientationType = Object.freeze({ Landscape:0,"0":"Landscape",Portrait:1,"1":"Portrait", });
616
610
  /**
617
611
  */
618
- export const TableCellBorderPosition = Object.freeze({ Left:0,"0":"Left",Right:1,"1":"Right",Top:2,"2":"Top",Bottom:3,"3":"Bottom",InsideH:4,"4":"InsideH",InsideV:5,"5":"InsideV",Tl2br:6,"6":"Tl2br",Tr2bl:7,"7":"Tr2bl", });
612
+ export const SpecialIndentKind = Object.freeze({ FirstLine:0,"0":"FirstLine",Hanging:1,"1":"Hanging", });
619
613
  /**
620
614
  */
621
- export const ParagraphBorderPosition = Object.freeze({ Left:0,"0":"Left",Right:1,"1":"Right",Top:2,"2":"Top",Bottom:3,"3":"Bottom",Between:4,"4":"Between",Bar:5,"5":"Bar", });
615
+ export const TableAlignmentType = Object.freeze({ Center:0,"0":"Center",Left:1,"1":"Left",Right:2,"2":"Right", });
622
616
  /**
623
617
  */
624
- export const TabValueType = Object.freeze({ Bar:0,"0":"Bar",Center:1,"1":"Center",Clear:2,"2":"Clear",Decimal:3,"3":"Decimal",End:4,"4":"End",Right:5,"5":"Right",Num:6,"6":"Num",Start:7,"7":"Start",Left:8,"8":"Left", });
618
+ export const FontPitchType = Object.freeze({ Default:0,"0":"Default",Fixed:1,"1":"Fixed",Variable:2,"2":"Variable", });
625
619
  /**
626
620
  */
627
621
  export const VAlignType = Object.freeze({ Top:0,"0":"Top",Center:1,"1":"Center",Bottom:2,"2":"Bottom",Unsupported:3,"3":"Unsupported", });
628
622
  /**
629
623
  */
630
- export const BreakType = Object.freeze({ Page:0,"0":"Page",Column:1,"1":"Column",TextWrapping:2,"2":"TextWrapping",Unsupported:3,"3":"Unsupported", });
624
+ export const VMergeType = Object.freeze({ Continue:0,"0":"Continue",Restart:1,"1":"Restart",Unsupported:2,"2":"Unsupported", });
631
625
  /**
632
626
  */
633
- export const FontPitchType = Object.freeze({ Default:0,"0":"Default",Fixed:1,"1":"Fixed",Variable:2,"2":"Variable", });
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", });
634
628
  /**
635
629
  */
636
- export const HeightRule = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
630
+ 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", });
637
631
  /**
638
632
  */
639
- export const BorderType = Object.freeze({ Nil:0,"0":"Nil",None:1,"1":"None",Single:2,"2":"Single",Thick:3,"3":"Thick",Double:4,"4":"Double",Dotted:5,"5":"Dotted",Dashed:6,"6":"Dashed",DotDash:7,"7":"DotDash",DotDotDash:8,"8":"DotDotDash",Triple:9,"9":"Triple",ThinThickSmallGap:10,"10":"ThinThickSmallGap",ThickThinSmallGap:11,"11":"ThickThinSmallGap",ThinThickThinSmallGap:12,"12":"ThinThickThinSmallGap",ThinThickMediumGap:13,"13":"ThinThickMediumGap",ThickThinMediumGap:14,"14":"ThickThinMediumGap",ThinThickThinMediumGap:15,"15":"ThinThickThinMediumGap",ThinThickLargeGap:16,"16":"ThinThickLargeGap",ThickThinLargeGap:17,"17":"ThickThinLargeGap",ThinThickThinLargeGap:18,"18":"ThinThickThinLargeGap",Wave:19,"19":"Wave",DoubleWave:20,"20":"DoubleWave",DashSmallGap:21,"21":"DashSmallGap",DashDotStroked:22,"22":"DashDotStroked",ThreeDEmboss:23,"23":"ThreeDEmboss",ThreeDEngrave:24,"24":"ThreeDEngrave",Outset:25,"25":"Outset",Inset:26,"26":"Inset",Apples:27,"27":"Apples",ArchedScallops:28,"28":"ArchedScallops",BabyPacifier:29,"29":"BabyPacifier",BabyRattle:30,"30":"BabyRattle", });
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", });
640
634
  /**
641
635
  */
642
- export const DrawingPositionType = Object.freeze({ Anchor:0,"0":"Anchor",Inline:1,"1":"Inline", });
636
+ export const BreakType = Object.freeze({ Page:0,"0":"Page",Column:1,"1":"Column",TextWrapping:2,"2":"TextWrapping",Unsupported:3,"3":"Unsupported", });
643
637
  /**
644
638
  */
645
- export const PicAlign = Object.freeze({ Left:0,"0":"Left",Right:1,"1":"Right",Center:2,"2":"Center",Bottom:3,"3":"Bottom",Top:4,"4":"Top", });
639
+ export const LevelSuffixType = Object.freeze({ Nothing:0,"0":"Nothing",Space:1,"1":"Space",Tab:2,"2":"Tab", });
646
640
  /**
647
641
  */
648
- export const PositionalTabRelativeTo = Object.freeze({ Indent:0,"0":"Indent",Margin:1,"1":"Margin", });
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", });
649
643
  /**
650
644
  */
651
- export const ShdType = Object.freeze({ Nil:0,"0":"Nil",Clear:1,"1":"Clear",Solid:2,"2":"Solid",HorzStripe:3,"3":"HorzStripe",VertStripe:4,"4":"VertStripe",ReverseDiagStripe:5,"5":"ReverseDiagStripe",DiagStripe:6,"6":"DiagStripe",HorzCross:7,"7":"HorzCross",DiagCross:8,"8":"DiagCross",ThinHorzStripe:9,"9":"ThinHorzStripe",ThinVertStripe:10,"10":"ThinVertStripe",ThinReverseDiagStripe:11,"11":"ThinReverseDiagStripe",ThinDiagStripe:12,"12":"ThinDiagStripe",ThinHorzCross:13,"13":"ThinHorzCross",ThinDiagCross:14,"14":"ThinDiagCross",Pct5:15,"15":"Pct5",Pct10:16,"16":"Pct10",Pct12:17,"17":"Pct12",Pct15:18,"18":"Pct15",Pct20:19,"19":"Pct20",Pct25:20,"20":"Pct25",Pct30:21,"21":"Pct30",Pct35:22,"22":"Pct35",Pct37:23,"23":"Pct37",Pct40:24,"24":"Pct40",Pct45:25,"25":"Pct45",Pct50:26,"26":"Pct50",Pct55:27,"27":"Pct55",Pct60:28,"28":"Pct60",Pct62:29,"29":"Pct62",Pct65:30,"30":"Pct65",Pct70:31,"31":"Pct70",Pct75:32,"32":"Pct75",Pct80:33,"33":"Pct80",Pct85:34,"34":"Pct85",Pct87:35,"35":"Pct87",Pct90:36,"36":"Pct90",Pct95:37,"37":"Pct95", });
645
+ export const HyperlinkType = Object.freeze({ Anchor:0,"0":"Anchor",External:1,"1":"External", });
646
+ /**
647
+ */
648
+ export const PositionalTabAlignmentType = Object.freeze({ Center:0,"0":"Center",Left:1,"1":"Left",Right:2,"2":"Right", });
649
+ /**
650
+ */
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", });
652
652
  /**
653
653
  */
654
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", });
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-rc23",
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>",