docx-wasm 0.4.18-rc22 → 0.4.18-rc24

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,12 +176,6 @@ export function createDocx(): Docx;
176
176
  export function createFooter(): Footer;
177
177
  /**
178
178
  */
179
- export enum HyperlinkType {
180
- Anchor,
181
- External,
182
- }
183
- /**
184
- */
185
179
  export enum LevelSuffixType {
186
180
  Nothing,
187
181
  Space,
@@ -189,25 +183,6 @@ export enum LevelSuffixType {
189
183
  }
190
184
  /**
191
185
  */
192
- export enum VMergeType {
193
- Continue,
194
- Restart,
195
- Unsupported,
196
- }
197
- /**
198
- */
199
- export enum SpecialIndentKind {
200
- FirstLine,
201
- Hanging,
202
- }
203
- /**
204
- */
205
- export enum TableLayoutType {
206
- Fixed,
207
- Autofit,
208
- }
209
- /**
210
- */
211
186
  export enum VertAlignType {
212
187
  Baseline,
213
188
  SuperScript,
@@ -216,12 +191,6 @@ export enum VertAlignType {
216
191
  }
217
192
  /**
218
193
  */
219
- export enum PageOrientationType {
220
- Landscape,
221
- Portrait,
222
- }
223
- /**
224
- */
225
194
  export enum PositionalTabAlignmentType {
226
195
  Center,
227
196
  Left,
@@ -229,41 +198,30 @@ export enum PositionalTabAlignmentType {
229
198
  }
230
199
  /**
231
200
  */
232
- export enum TabLeaderType {
233
- Dot,
234
- Heavy,
235
- Hyphen,
236
- MiddleDot,
237
- None,
238
- Underscore,
239
- }
240
- /**
241
- */
242
- export enum TableAlignmentType {
201
+ export enum TabValueType {
202
+ Bar,
243
203
  Center,
244
- Left,
204
+ Clear,
205
+ Decimal,
206
+ End,
245
207
  Right,
208
+ Num,
209
+ Start,
210
+ Left,
246
211
  }
247
212
  /**
248
213
  */
249
- export enum TextAlignmentType {
214
+ export enum HeightRule {
250
215
  Auto,
251
- Baseline,
252
- Bottom,
253
- Center,
254
- Top,
216
+ AtLeast,
217
+ Exact,
255
218
  }
256
219
  /**
257
220
  */
258
- export enum AlignmentType {
259
- Both,
260
- Center,
261
- Distribute,
262
- Start,
263
- End,
264
- Left,
265
- Right,
266
- Justified,
221
+ export enum LineSpacingType {
222
+ Auto,
223
+ AtLeast,
224
+ Exact,
267
225
  }
268
226
  /**
269
227
  */
@@ -275,18 +233,9 @@ export enum CharacterSpacingValues {
275
233
  }
276
234
  /**
277
235
  */
278
- export enum FieldCharType {
279
- Begin,
280
- Separate,
281
- End,
282
- Unsupported,
283
- }
284
- /**
285
- */
286
- export enum LineSpacingType {
287
- Auto,
288
- AtLeast,
289
- Exact,
236
+ export enum PositionalTabRelativeTo {
237
+ Indent,
238
+ Margin,
290
239
  }
291
240
  /**
292
241
  */
@@ -350,12 +299,9 @@ export enum RelativeFromVType {
350
299
  }
351
300
  /**
352
301
  */
353
- export enum SectionType {
354
- NextPage,
355
- NextColumn,
356
- Continuous,
357
- EvenPage,
358
- OddPage,
302
+ export enum SpecialIndentKind {
303
+ FirstLine,
304
+ Hanging,
359
305
  }
360
306
  /**
361
307
  */
@@ -368,6 +314,19 @@ export enum StyleType {
368
314
  }
369
315
  /**
370
316
  */
317
+ export enum TableAlignmentType {
318
+ Center,
319
+ Left,
320
+ Right,
321
+ }
322
+ /**
323
+ */
324
+ export enum TableLayoutType {
325
+ Fixed,
326
+ Autofit,
327
+ }
328
+ /**
329
+ */
371
330
  export enum WidthType {
372
331
  Dxa,
373
332
  Auto,
@@ -377,6 +336,46 @@ export enum WidthType {
377
336
  }
378
337
  /**
379
338
  */
339
+ export enum FieldCharType {
340
+ Begin,
341
+ Separate,
342
+ End,
343
+ Unsupported,
344
+ }
345
+ /**
346
+ */
347
+ export enum HyperlinkType {
348
+ Anchor,
349
+ External,
350
+ }
351
+ /**
352
+ */
353
+ export enum AlignmentType {
354
+ Both,
355
+ Center,
356
+ Distribute,
357
+ Start,
358
+ End,
359
+ Left,
360
+ Right,
361
+ Justified,
362
+ }
363
+ /**
364
+ */
365
+ export enum BreakType {
366
+ Page,
367
+ Column,
368
+ TextWrapping,
369
+ Unsupported,
370
+ }
371
+ /**
372
+ */
373
+ export enum PageOrientationType {
374
+ Landscape,
375
+ Portrait,
376
+ }
377
+ /**
378
+ */
380
379
  export enum DocGridType {
381
380
  Default,
382
381
  Lines,
@@ -417,46 +416,39 @@ export enum ParagraphBorderPosition {
417
416
  }
418
417
  /**
419
418
  */
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,
419
+ export enum SectionType {
420
+ NextPage,
421
+ NextColumn,
422
+ Continuous,
423
+ EvenPage,
424
+ OddPage,
438
425
  }
439
426
  /**
440
427
  */
441
- export enum BreakType {
442
- Page,
443
- Column,
444
- TextWrapping,
445
- Unsupported,
428
+ export enum TabLeaderType {
429
+ Dot,
430
+ Heavy,
431
+ Hyphen,
432
+ MiddleDot,
433
+ None,
434
+ Underscore,
446
435
  }
447
436
  /**
448
437
  */
449
- export enum FontPitchType {
450
- Default,
451
- Fixed,
452
- Variable,
438
+ export enum TextAlignmentType {
439
+ Auto,
440
+ Baseline,
441
+ Bottom,
442
+ Center,
443
+ Top,
453
444
  }
454
445
  /**
455
446
  */
456
- export enum HeightRule {
457
- Auto,
458
- AtLeast,
459
- Exact,
447
+ export enum VAlignType {
448
+ Top,
449
+ Center,
450
+ Bottom,
451
+ Unsupported,
460
452
  }
461
453
  /**
462
454
  */
@@ -510,9 +502,10 @@ export enum PicAlign {
510
502
  }
511
503
  /**
512
504
  */
513
- export enum PositionalTabRelativeTo {
514
- Indent,
515
- Margin,
505
+ export enum FontPitchType {
506
+ Default,
507
+ Fixed,
508
+ Variable,
516
509
  }
517
510
  /**
518
511
  */
@@ -572,6 +565,13 @@ export enum TextDirectionType {
572
565
  }
573
566
  /**
574
567
  */
568
+ export enum VMergeType {
569
+ Continue,
570
+ Restart,
571
+ Unsupported,
572
+ }
573
+ /**
574
+ */
575
575
  export class AbstractNumbering {
576
576
  free(): void;
577
577
  /**
@@ -502,51 +502,30 @@ module.exports.createFooter = function() {
502
502
  return Footer.__wrap(ret);
503
503
  };
504
504
 
505
- /**
506
- */
507
- module.exports.HyperlinkType = Object.freeze({ Anchor:0,"0":"Anchor",External:1,"1":"External", });
508
505
  /**
509
506
  */
510
507
  module.exports.LevelSuffixType = Object.freeze({ Nothing:0,"0":"Nothing",Space:1,"1":"Space",Tab:2,"2":"Tab", });
511
508
  /**
512
509
  */
513
- module.exports.VMergeType = Object.freeze({ Continue:0,"0":"Continue",Restart:1,"1":"Restart",Unsupported:2,"2":"Unsupported", });
514
- /**
515
- */
516
- module.exports.SpecialIndentKind = Object.freeze({ FirstLine:0,"0":"FirstLine",Hanging:1,"1":"Hanging", });
517
- /**
518
- */
519
- module.exports.TableLayoutType = Object.freeze({ Fixed:0,"0":"Fixed",Autofit:1,"1":"Autofit", });
520
- /**
521
- */
522
510
  module.exports.VertAlignType = Object.freeze({ Baseline:0,"0":"Baseline",SuperScript:1,"1":"SuperScript",SubScript:2,"2":"SubScript",Unsupported:3,"3":"Unsupported", });
523
511
  /**
524
512
  */
525
- module.exports.PageOrientationType = Object.freeze({ Landscape:0,"0":"Landscape",Portrait:1,"1":"Portrait", });
526
- /**
527
- */
528
513
  module.exports.PositionalTabAlignmentType = Object.freeze({ Center:0,"0":"Center",Left:1,"1":"Left",Right:2,"2":"Right", });
529
514
  /**
530
515
  */
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", });
532
- /**
533
- */
534
- module.exports.TableAlignmentType = Object.freeze({ Center:0,"0":"Center",Left:1,"1":"Left",Right:2,"2":"Right", });
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", });
535
517
  /**
536
518
  */
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", });
519
+ module.exports.HeightRule = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
538
520
  /**
539
521
  */
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", });
522
+ module.exports.LineSpacingType = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
541
523
  /**
542
524
  */
543
525
  module.exports.CharacterSpacingValues = Object.freeze({ DoNotCompress:0,"0":"DoNotCompress",CompressPunctuation:1,"1":"CompressPunctuation",CompressPunctuationAndJapaneseKana:2,"2":"CompressPunctuationAndJapaneseKana",Unsupported:3,"3":"Unsupported", });
544
526
  /**
545
527
  */
546
- module.exports.FieldCharType = Object.freeze({ Begin:0,"0":"Begin",Separate:1,"1":"Separate",End:2,"2":"End",Unsupported:3,"3":"Unsupported", });
547
- /**
548
- */
549
- module.exports.LineSpacingType = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
528
+ module.exports.PositionalTabRelativeTo = Object.freeze({ Indent:0,"0":"Indent",Margin:1,"1":"Margin", });
550
529
  /**
551
530
  */
552
531
  module.exports.RelativeFromHType = Object.freeze({
@@ -599,15 +578,36 @@ RightMargin:7,"7":"RightMargin", });
599
578
  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
579
  /**
601
580
  */
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", });
581
+ module.exports.SpecialIndentKind = Object.freeze({ FirstLine:0,"0":"FirstLine",Hanging:1,"1":"Hanging", });
603
582
  /**
604
583
  */
605
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", });
606
585
  /**
607
586
  */
587
+ module.exports.TableAlignmentType = Object.freeze({ Center:0,"0":"Center",Left:1,"1":"Left",Right:2,"2":"Right", });
588
+ /**
589
+ */
590
+ module.exports.TableLayoutType = Object.freeze({ Fixed:0,"0":"Fixed",Autofit:1,"1":"Autofit", });
591
+ /**
592
+ */
608
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", });
609
594
  /**
610
595
  */
596
+ module.exports.FieldCharType = Object.freeze({ Begin:0,"0":"Begin",Separate:1,"1":"Separate",End:2,"2":"End",Unsupported:3,"3":"Unsupported", });
597
+ /**
598
+ */
599
+ module.exports.HyperlinkType = Object.freeze({ Anchor:0,"0":"Anchor",External:1,"1":"External", });
600
+ /**
601
+ */
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", });
603
+ /**
604
+ */
605
+ module.exports.BreakType = Object.freeze({ Page:0,"0":"Page",Column:1,"1":"Column",TextWrapping:2,"2":"TextWrapping",Unsupported:3,"3":"Unsupported", });
606
+ /**
607
+ */
608
+ module.exports.PageOrientationType = Object.freeze({ Landscape:0,"0":"Landscape",Portrait:1,"1":"Portrait", });
609
+ /**
610
+ */
611
611
  module.exports.DocGridType = Object.freeze({ Default:0,"0":"Default",Lines:1,"1":"Lines",LinesAndChars:2,"2":"LinesAndChars",SnapToChars:3,"3":"SnapToChars", });
612
612
  /**
613
613
  */
@@ -620,19 +620,16 @@ module.exports.TableCellBorderPosition = Object.freeze({ Left:0,"0":"Left",Right
620
620
  module.exports.ParagraphBorderPosition = Object.freeze({ Left:0,"0":"Left",Right:1,"1":"Right",Top:2,"2":"Top",Bottom:3,"3":"Bottom",Between:4,"4":"Between",Bar:5,"5":"Bar", });
621
621
  /**
622
622
  */
623
- module.exports.TabValueType = Object.freeze({ Bar:0,"0":"Bar",Center:1,"1":"Center",Clear:2,"2":"Clear",Decimal:3,"3":"Decimal",End:4,"4":"End",Right:5,"5":"Right",Num:6,"6":"Num",Start:7,"7":"Start",Left:8,"8":"Left", });
624
- /**
625
- */
626
- module.exports.VAlignType = Object.freeze({ Top:0,"0":"Top",Center:1,"1":"Center",Bottom:2,"2":"Bottom",Unsupported:3,"3":"Unsupported", });
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", });
627
624
  /**
628
625
  */
629
- module.exports.BreakType = Object.freeze({ Page:0,"0":"Page",Column:1,"1":"Column",TextWrapping:2,"2":"TextWrapping",Unsupported:3,"3":"Unsupported", });
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", });
630
627
  /**
631
628
  */
632
- module.exports.FontPitchType = Object.freeze({ Default:0,"0":"Default",Fixed:1,"1":"Fixed",Variable:2,"2":"Variable", });
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", });
633
630
  /**
634
631
  */
635
- module.exports.HeightRule = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
632
+ module.exports.VAlignType = Object.freeze({ Top:0,"0":"Top",Center:1,"1":"Center",Bottom:2,"2":"Bottom",Unsupported:3,"3":"Unsupported", });
636
633
  /**
637
634
  */
638
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", });
@@ -644,7 +641,7 @@ module.exports.DrawingPositionType = Object.freeze({ Anchor:0,"0":"Anchor",Inlin
644
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", });
645
642
  /**
646
643
  */
647
- module.exports.PositionalTabRelativeTo = Object.freeze({ Indent:0,"0":"Indent",Margin:1,"1":"Margin", });
644
+ module.exports.FontPitchType = Object.freeze({ Default:0,"0":"Default",Fixed:1,"1":"Fixed",Variable:2,"2":"Variable", });
648
645
  /**
649
646
  */
650
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", });
@@ -653,6 +650,9 @@ module.exports.ShdType = Object.freeze({ Nil:0,"0":"Nil",Clear:1,"1":"Clear",Sol
653
650
  module.exports.TextDirectionType = Object.freeze({ Lr:0,"0":"Lr",LrV:1,"1":"LrV",Rl:2,"2":"Rl",RlV:3,"3":"RlV",Tb:4,"4":"Tb",TbV:5,"5":"TbV",TbRlV:6,"6":"TbRlV",TbRl:7,"7":"TbRl",BtLr:8,"8":"BtLr",LrTbV:9,"9":"LrTbV", });
654
651
  /**
655
652
  */
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
@@ -176,12 +176,6 @@ export function createDocx(): Docx;
176
176
  export function createFooter(): Footer;
177
177
  /**
178
178
  */
179
- export enum HyperlinkType {
180
- Anchor,
181
- External,
182
- }
183
- /**
184
- */
185
179
  export enum LevelSuffixType {
186
180
  Nothing,
187
181
  Space,
@@ -189,25 +183,6 @@ export enum LevelSuffixType {
189
183
  }
190
184
  /**
191
185
  */
192
- export enum VMergeType {
193
- Continue,
194
- Restart,
195
- Unsupported,
196
- }
197
- /**
198
- */
199
- export enum SpecialIndentKind {
200
- FirstLine,
201
- Hanging,
202
- }
203
- /**
204
- */
205
- export enum TableLayoutType {
206
- Fixed,
207
- Autofit,
208
- }
209
- /**
210
- */
211
186
  export enum VertAlignType {
212
187
  Baseline,
213
188
  SuperScript,
@@ -216,12 +191,6 @@ export enum VertAlignType {
216
191
  }
217
192
  /**
218
193
  */
219
- export enum PageOrientationType {
220
- Landscape,
221
- Portrait,
222
- }
223
- /**
224
- */
225
194
  export enum PositionalTabAlignmentType {
226
195
  Center,
227
196
  Left,
@@ -229,41 +198,30 @@ export enum PositionalTabAlignmentType {
229
198
  }
230
199
  /**
231
200
  */
232
- export enum TabLeaderType {
233
- Dot,
234
- Heavy,
235
- Hyphen,
236
- MiddleDot,
237
- None,
238
- Underscore,
239
- }
240
- /**
241
- */
242
- export enum TableAlignmentType {
201
+ export enum TabValueType {
202
+ Bar,
243
203
  Center,
244
- Left,
204
+ Clear,
205
+ Decimal,
206
+ End,
245
207
  Right,
208
+ Num,
209
+ Start,
210
+ Left,
246
211
  }
247
212
  /**
248
213
  */
249
- export enum TextAlignmentType {
214
+ export enum HeightRule {
250
215
  Auto,
251
- Baseline,
252
- Bottom,
253
- Center,
254
- Top,
216
+ AtLeast,
217
+ Exact,
255
218
  }
256
219
  /**
257
220
  */
258
- export enum AlignmentType {
259
- Both,
260
- Center,
261
- Distribute,
262
- Start,
263
- End,
264
- Left,
265
- Right,
266
- Justified,
221
+ export enum LineSpacingType {
222
+ Auto,
223
+ AtLeast,
224
+ Exact,
267
225
  }
268
226
  /**
269
227
  */
@@ -275,18 +233,9 @@ export enum CharacterSpacingValues {
275
233
  }
276
234
  /**
277
235
  */
278
- export enum FieldCharType {
279
- Begin,
280
- Separate,
281
- End,
282
- Unsupported,
283
- }
284
- /**
285
- */
286
- export enum LineSpacingType {
287
- Auto,
288
- AtLeast,
289
- Exact,
236
+ export enum PositionalTabRelativeTo {
237
+ Indent,
238
+ Margin,
290
239
  }
291
240
  /**
292
241
  */
@@ -350,12 +299,9 @@ export enum RelativeFromVType {
350
299
  }
351
300
  /**
352
301
  */
353
- export enum SectionType {
354
- NextPage,
355
- NextColumn,
356
- Continuous,
357
- EvenPage,
358
- OddPage,
302
+ export enum SpecialIndentKind {
303
+ FirstLine,
304
+ Hanging,
359
305
  }
360
306
  /**
361
307
  */
@@ -368,6 +314,19 @@ export enum StyleType {
368
314
  }
369
315
  /**
370
316
  */
317
+ export enum TableAlignmentType {
318
+ Center,
319
+ Left,
320
+ Right,
321
+ }
322
+ /**
323
+ */
324
+ export enum TableLayoutType {
325
+ Fixed,
326
+ Autofit,
327
+ }
328
+ /**
329
+ */
371
330
  export enum WidthType {
372
331
  Dxa,
373
332
  Auto,
@@ -377,6 +336,46 @@ export enum WidthType {
377
336
  }
378
337
  /**
379
338
  */
339
+ export enum FieldCharType {
340
+ Begin,
341
+ Separate,
342
+ End,
343
+ Unsupported,
344
+ }
345
+ /**
346
+ */
347
+ export enum HyperlinkType {
348
+ Anchor,
349
+ External,
350
+ }
351
+ /**
352
+ */
353
+ export enum AlignmentType {
354
+ Both,
355
+ Center,
356
+ Distribute,
357
+ Start,
358
+ End,
359
+ Left,
360
+ Right,
361
+ Justified,
362
+ }
363
+ /**
364
+ */
365
+ export enum BreakType {
366
+ Page,
367
+ Column,
368
+ TextWrapping,
369
+ Unsupported,
370
+ }
371
+ /**
372
+ */
373
+ export enum PageOrientationType {
374
+ Landscape,
375
+ Portrait,
376
+ }
377
+ /**
378
+ */
380
379
  export enum DocGridType {
381
380
  Default,
382
381
  Lines,
@@ -417,46 +416,39 @@ export enum ParagraphBorderPosition {
417
416
  }
418
417
  /**
419
418
  */
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,
419
+ export enum SectionType {
420
+ NextPage,
421
+ NextColumn,
422
+ Continuous,
423
+ EvenPage,
424
+ OddPage,
438
425
  }
439
426
  /**
440
427
  */
441
- export enum BreakType {
442
- Page,
443
- Column,
444
- TextWrapping,
445
- Unsupported,
428
+ export enum TabLeaderType {
429
+ Dot,
430
+ Heavy,
431
+ Hyphen,
432
+ MiddleDot,
433
+ None,
434
+ Underscore,
446
435
  }
447
436
  /**
448
437
  */
449
- export enum FontPitchType {
450
- Default,
451
- Fixed,
452
- Variable,
438
+ export enum TextAlignmentType {
439
+ Auto,
440
+ Baseline,
441
+ Bottom,
442
+ Center,
443
+ Top,
453
444
  }
454
445
  /**
455
446
  */
456
- export enum HeightRule {
457
- Auto,
458
- AtLeast,
459
- Exact,
447
+ export enum VAlignType {
448
+ Top,
449
+ Center,
450
+ Bottom,
451
+ Unsupported,
460
452
  }
461
453
  /**
462
454
  */
@@ -510,9 +502,10 @@ export enum PicAlign {
510
502
  }
511
503
  /**
512
504
  */
513
- export enum PositionalTabRelativeTo {
514
- Indent,
515
- Margin,
505
+ export enum FontPitchType {
506
+ Default,
507
+ Fixed,
508
+ Variable,
516
509
  }
517
510
  /**
518
511
  */
@@ -572,6 +565,13 @@ export enum TextDirectionType {
572
565
  }
573
566
  /**
574
567
  */
568
+ export enum VMergeType {
569
+ Continue,
570
+ Restart,
571
+ Unsupported,
572
+ }
573
+ /**
574
+ */
575
575
  export class AbstractNumbering {
576
576
  free(): void;
577
577
  /**
@@ -503,51 +503,30 @@ export function createFooter() {
503
503
  return Footer.__wrap(ret);
504
504
  }
505
505
 
506
- /**
507
- */
508
- export const HyperlinkType = Object.freeze({ Anchor:0,"0":"Anchor",External:1,"1":"External", });
509
506
  /**
510
507
  */
511
508
  export const LevelSuffixType = Object.freeze({ Nothing:0,"0":"Nothing",Space:1,"1":"Space",Tab:2,"2":"Tab", });
512
509
  /**
513
510
  */
514
- export const VMergeType = Object.freeze({ Continue:0,"0":"Continue",Restart:1,"1":"Restart",Unsupported:2,"2":"Unsupported", });
515
- /**
516
- */
517
- export const SpecialIndentKind = Object.freeze({ FirstLine:0,"0":"FirstLine",Hanging:1,"1":"Hanging", });
518
- /**
519
- */
520
- export const TableLayoutType = Object.freeze({ Fixed:0,"0":"Fixed",Autofit:1,"1":"Autofit", });
521
- /**
522
- */
523
511
  export const VertAlignType = Object.freeze({ Baseline:0,"0":"Baseline",SuperScript:1,"1":"SuperScript",SubScript:2,"2":"SubScript",Unsupported:3,"3":"Unsupported", });
524
512
  /**
525
513
  */
526
- export const PageOrientationType = Object.freeze({ Landscape:0,"0":"Landscape",Portrait:1,"1":"Portrait", });
527
- /**
528
- */
529
514
  export const PositionalTabAlignmentType = Object.freeze({ Center:0,"0":"Center",Left:1,"1":"Left",Right:2,"2":"Right", });
530
515
  /**
531
516
  */
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", });
533
- /**
534
- */
535
- export const TableAlignmentType = Object.freeze({ Center:0,"0":"Center",Left:1,"1":"Left",Right:2,"2":"Right", });
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", });
536
518
  /**
537
519
  */
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", });
520
+ export const HeightRule = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
539
521
  /**
540
522
  */
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", });
523
+ export const LineSpacingType = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
542
524
  /**
543
525
  */
544
526
  export const CharacterSpacingValues = Object.freeze({ DoNotCompress:0,"0":"DoNotCompress",CompressPunctuation:1,"1":"CompressPunctuation",CompressPunctuationAndJapaneseKana:2,"2":"CompressPunctuationAndJapaneseKana",Unsupported:3,"3":"Unsupported", });
545
527
  /**
546
528
  */
547
- export const FieldCharType = Object.freeze({ Begin:0,"0":"Begin",Separate:1,"1":"Separate",End:2,"2":"End",Unsupported:3,"3":"Unsupported", });
548
- /**
549
- */
550
- export const LineSpacingType = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
529
+ export const PositionalTabRelativeTo = Object.freeze({ Indent:0,"0":"Indent",Margin:1,"1":"Margin", });
551
530
  /**
552
531
  */
553
532
  export const RelativeFromHType = Object.freeze({
@@ -600,15 +579,36 @@ RightMargin:7,"7":"RightMargin", });
600
579
  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
580
  /**
602
581
  */
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", });
582
+ export const SpecialIndentKind = Object.freeze({ FirstLine:0,"0":"FirstLine",Hanging:1,"1":"Hanging", });
604
583
  /**
605
584
  */
606
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", });
607
586
  /**
608
587
  */
588
+ export const TableAlignmentType = Object.freeze({ Center:0,"0":"Center",Left:1,"1":"Left",Right:2,"2":"Right", });
589
+ /**
590
+ */
591
+ export const TableLayoutType = Object.freeze({ Fixed:0,"0":"Fixed",Autofit:1,"1":"Autofit", });
592
+ /**
593
+ */
609
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", });
610
595
  /**
611
596
  */
597
+ export const FieldCharType = Object.freeze({ Begin:0,"0":"Begin",Separate:1,"1":"Separate",End:2,"2":"End",Unsupported:3,"3":"Unsupported", });
598
+ /**
599
+ */
600
+ export const HyperlinkType = Object.freeze({ Anchor:0,"0":"Anchor",External:1,"1":"External", });
601
+ /**
602
+ */
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", });
604
+ /**
605
+ */
606
+ export const BreakType = Object.freeze({ Page:0,"0":"Page",Column:1,"1":"Column",TextWrapping:2,"2":"TextWrapping",Unsupported:3,"3":"Unsupported", });
607
+ /**
608
+ */
609
+ export const PageOrientationType = Object.freeze({ Landscape:0,"0":"Landscape",Portrait:1,"1":"Portrait", });
610
+ /**
611
+ */
612
612
  export const DocGridType = Object.freeze({ Default:0,"0":"Default",Lines:1,"1":"Lines",LinesAndChars:2,"2":"LinesAndChars",SnapToChars:3,"3":"SnapToChars", });
613
613
  /**
614
614
  */
@@ -621,19 +621,16 @@ export const TableCellBorderPosition = Object.freeze({ Left:0,"0":"Left",Right:1
621
621
  export const ParagraphBorderPosition = Object.freeze({ Left:0,"0":"Left",Right:1,"1":"Right",Top:2,"2":"Top",Bottom:3,"3":"Bottom",Between:4,"4":"Between",Bar:5,"5":"Bar", });
622
622
  /**
623
623
  */
624
- export const TabValueType = Object.freeze({ Bar:0,"0":"Bar",Center:1,"1":"Center",Clear:2,"2":"Clear",Decimal:3,"3":"Decimal",End:4,"4":"End",Right:5,"5":"Right",Num:6,"6":"Num",Start:7,"7":"Start",Left:8,"8":"Left", });
625
- /**
626
- */
627
- export const VAlignType = Object.freeze({ Top:0,"0":"Top",Center:1,"1":"Center",Bottom:2,"2":"Bottom",Unsupported:3,"3":"Unsupported", });
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", });
628
625
  /**
629
626
  */
630
- export const BreakType = Object.freeze({ Page:0,"0":"Page",Column:1,"1":"Column",TextWrapping:2,"2":"TextWrapping",Unsupported:3,"3":"Unsupported", });
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", });
631
628
  /**
632
629
  */
633
- export const FontPitchType = Object.freeze({ Default:0,"0":"Default",Fixed:1,"1":"Fixed",Variable:2,"2":"Variable", });
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", });
634
631
  /**
635
632
  */
636
- export const HeightRule = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
633
+ export const VAlignType = Object.freeze({ Top:0,"0":"Top",Center:1,"1":"Center",Bottom:2,"2":"Bottom",Unsupported:3,"3":"Unsupported", });
637
634
  /**
638
635
  */
639
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", });
@@ -645,7 +642,7 @@ export const DrawingPositionType = Object.freeze({ Anchor:0,"0":"Anchor",Inline:
645
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", });
646
643
  /**
647
644
  */
648
- export const PositionalTabRelativeTo = Object.freeze({ Indent:0,"0":"Indent",Margin:1,"1":"Margin", });
645
+ export const FontPitchType = Object.freeze({ Default:0,"0":"Default",Fixed:1,"1":"Fixed",Variable:2,"2":"Variable", });
649
646
  /**
650
647
  */
651
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", });
@@ -654,6 +651,9 @@ export const ShdType = Object.freeze({ Nil:0,"0":"Nil",Clear:1,"1":"Clear",Solid
654
651
  export const TextDirectionType = Object.freeze({ Lr:0,"0":"Lr",LrV:1,"1":"LrV",Rl:2,"2":"Rl",RlV:3,"3":"RlV",Tb:4,"4":"Tb",TbV:5,"5":"TbV",TbRlV:6,"6":"TbRlV",TbRl:7,"7":"TbRl",BtLr:8,"8":"BtLr",LrTbV:9,"9":"LrTbV", });
655
652
  /**
656
653
  */
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "docx-wasm",
3
- "version": "0.4.18-rc22",
3
+ "version": "0.4.18-rc24",
4
4
  "main": "dist/node/index.js",
5
5
  "browser": "dist/web/index.js",
6
6
  "author": "bokuweb <bokuweb12@gmail.com>",