docx-wasm 0.0.266 → 0.0.269

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.
@@ -132,6 +132,42 @@ export function createLevelOverride(level: number): LevelOverride;
132
132
  export function createPageMargin(): PageMargin;
133
133
  /**
134
134
  */
135
+ export enum AlignmentType {
136
+ Both,
137
+ Center,
138
+ Distribute,
139
+ End,
140
+ Left,
141
+ Right,
142
+ Justified,
143
+ Unsupported,
144
+ }
145
+ /**
146
+ */
147
+ export enum HeightRule {
148
+ Auto,
149
+ AtLeast,
150
+ Exact,
151
+ }
152
+ /**
153
+ */
154
+ export enum LevelSuffixType {
155
+ Nothing,
156
+ Space,
157
+ Tab,
158
+ }
159
+ /**
160
+ */
161
+ export enum TabLeaderType {
162
+ Dot,
163
+ Heavy,
164
+ Hyphen,
165
+ MiddleDot,
166
+ None,
167
+ Underscore,
168
+ }
169
+ /**
170
+ */
135
171
  export enum DrawingPositionType {
136
172
  Anchor,
137
173
  Inline,
@@ -146,9 +182,97 @@ export enum PicAlign {
146
182
  }
147
183
  /**
148
184
  */
149
- export enum SpecialIndentKind {
150
- FirstLine,
151
- Hanging,
185
+ export enum VMergeType {
186
+ Continue,
187
+ Restart,
188
+ Unsupported,
189
+ }
190
+ /**
191
+ */
192
+ export enum BreakType {
193
+ Page,
194
+ Column,
195
+ TextWrapping,
196
+ Unsupported,
197
+ }
198
+ /**
199
+ */
200
+ export enum LineSpacingType {
201
+ Auto,
202
+ AtLeast,
203
+ Exact,
204
+ }
205
+ /**
206
+ */
207
+ export enum ShdType {
208
+ Nil,
209
+ Clear,
210
+ Solid,
211
+ HorzStripe,
212
+ VertStripe,
213
+ ReverseDiagStripe,
214
+ DiagStripe,
215
+ HorzCross,
216
+ DiagCross,
217
+ ThinHorzStripe,
218
+ ThinVertStripe,
219
+ ThinReverseDiagStripe,
220
+ ThinDiagStripe,
221
+ ThinHorzCross,
222
+ ThinDiagCross,
223
+ Pct5,
224
+ Pct10,
225
+ Pct12,
226
+ Pct15,
227
+ Pct20,
228
+ Pct25,
229
+ Pct30,
230
+ Pct35,
231
+ Pct37,
232
+ Pct40,
233
+ Pct45,
234
+ Pct50,
235
+ Pct55,
236
+ Pct60,
237
+ Pct62,
238
+ Pct65,
239
+ Pct70,
240
+ Pct75,
241
+ Pct80,
242
+ Pct85,
243
+ Pct87,
244
+ Pct90,
245
+ Pct95,
246
+ }
247
+ /**
248
+ */
249
+ export enum TextDirectionType {
250
+ Lr,
251
+ LrV,
252
+ Rl,
253
+ RlV,
254
+ Tb,
255
+ TbV,
256
+ TbRlV,
257
+ TbRl,
258
+ BtLr,
259
+ LrTbV,
260
+ }
261
+ /**
262
+ */
263
+ export enum VertAlignType {
264
+ Baseline,
265
+ SuperScript,
266
+ SubScript,
267
+ Unsupported,
268
+ }
269
+ /**
270
+ */
271
+ export enum VAlignType {
272
+ Top,
273
+ Center,
274
+ Bottom,
275
+ Unsupported,
152
276
  }
153
277
  /**
154
278
  */
@@ -187,49 +311,6 @@ export enum BorderType {
187
311
  }
188
312
  /**
189
313
  */
190
- export enum HeightRule {
191
- Auto,
192
- AtLeast,
193
- Exact,
194
- }
195
- /**
196
- */
197
- export enum LevelSuffixType {
198
- Nothing,
199
- Space,
200
- Tab,
201
- }
202
- /**
203
- */
204
- export enum AlignmentType {
205
- Both,
206
- Center,
207
- Distribute,
208
- End,
209
- Left,
210
- Right,
211
- Justified,
212
- Unsupported,
213
- }
214
- /**
215
- */
216
- export enum TabLeaderType {
217
- Dot,
218
- Heavy,
219
- Hyphen,
220
- MiddleDot,
221
- None,
222
- Underscore,
223
- }
224
- /**
225
- */
226
- export enum VMergeType {
227
- Continue,
228
- Restart,
229
- Unsupported,
230
- }
231
- /**
232
- */
233
314
  export enum FontPitchType {
234
315
  Default,
235
316
  Fixed,
@@ -252,6 +333,12 @@ export enum SectionType {
252
333
  }
253
334
  /**
254
335
  */
336
+ export enum SpecialIndentKind {
337
+ FirstLine,
338
+ Hanging,
339
+ }
340
+ /**
341
+ */
255
342
  export enum TableAlignmentType {
256
343
  Center,
257
344
  Left,
@@ -259,6 +346,21 @@ export enum TableAlignmentType {
259
346
  }
260
347
  /**
261
348
  */
349
+ export enum TableLayoutType {
350
+ Fixed,
351
+ Autofit,
352
+ }
353
+ /**
354
+ */
355
+ export enum WidthType {
356
+ Dxa,
357
+ Auto,
358
+ Pct,
359
+ Nil,
360
+ Unsupported,
361
+ }
362
+ /**
363
+ */
262
364
  export enum TableBorderPosition {
263
365
  Left,
264
366
  Right,
@@ -281,38 +383,6 @@ export enum TableCellBorderPosition {
281
383
  }
282
384
  /**
283
385
  */
284
- export enum StyleType {
285
- Paragraph,
286
- Character,
287
- Numbering,
288
- Table,
289
- Unsupported,
290
- }
291
- /**
292
- */
293
- export enum TableLayoutType {
294
- Fixed,
295
- Autofit,
296
- }
297
- /**
298
- */
299
- export enum WidthType {
300
- Dxa,
301
- Auto,
302
- Pct,
303
- Nil,
304
- Unsupported,
305
- }
306
- /**
307
- */
308
- export enum DocGridType {
309
- Default,
310
- Lines,
311
- LinesAndChars,
312
- SnapToChars,
313
- }
314
- /**
315
- */
316
386
  export enum RelativeFromHType {
317
387
  /**
318
388
  * Specifies that the horizontal positioning shall be
@@ -373,24 +443,20 @@ export enum RelativeFromVType {
373
443
  }
374
444
  /**
375
445
  */
376
- export enum TabValueType {
377
- Bar,
378
- Center,
379
- Clear,
380
- Decimal,
381
- End,
382
- Right,
383
- Num,
384
- Start,
385
- Left,
446
+ export enum StyleType {
447
+ Paragraph,
448
+ Character,
449
+ Numbering,
450
+ Table,
451
+ Unsupported,
386
452
  }
387
453
  /**
388
454
  */
389
- export enum BreakType {
390
- Page,
391
- Column,
392
- TextWrapping,
393
- Unsupported,
455
+ export enum DocGridType {
456
+ Default,
457
+ Lines,
458
+ LinesAndChars,
459
+ SnapToChars,
394
460
  }
395
461
  /**
396
462
  */
@@ -402,82 +468,16 @@ export enum FieldCharType {
402
468
  }
403
469
  /**
404
470
  */
405
- export enum LineSpacingType {
406
- Auto,
407
- AtLeast,
408
- Exact,
409
- }
410
- /**
411
- */
412
- export enum TextDirectionType {
413
- Lr,
414
- LrV,
415
- Rl,
416
- RlV,
417
- Tb,
418
- TbV,
419
- TbRlV,
420
- TbRl,
421
- BtLr,
422
- LrTbV,
423
- }
424
- /**
425
- */
426
- export enum ShdType {
427
- Nil,
428
- Clear,
429
- Solid,
430
- HorzStripe,
431
- VertStripe,
432
- ReverseDiagStripe,
433
- DiagStripe,
434
- HorzCross,
435
- DiagCross,
436
- ThinHorzStripe,
437
- ThinVertStripe,
438
- ThinReverseDiagStripe,
439
- ThinDiagStripe,
440
- ThinHorzCross,
441
- ThinDiagCross,
442
- Pct5,
443
- Pct10,
444
- Pct12,
445
- Pct15,
446
- Pct20,
447
- Pct25,
448
- Pct30,
449
- Pct35,
450
- Pct37,
451
- Pct40,
452
- Pct45,
453
- Pct50,
454
- Pct55,
455
- Pct60,
456
- Pct62,
457
- Pct65,
458
- Pct70,
459
- Pct75,
460
- Pct80,
461
- Pct85,
462
- Pct87,
463
- Pct90,
464
- Pct95,
465
- }
466
- /**
467
- */
468
- export enum VertAlignType {
469
- Baseline,
470
- SuperScript,
471
- SubScript,
472
- Unsupported,
473
- }
474
- /**
475
- */
476
- export enum VAlignType {
477
- Top,
471
+ export enum TabValueType {
472
+ Bar,
478
473
  Center,
479
- Bottom,
480
- Unsupported,
474
+ Clear,
475
+ Decimal,
476
+ End,
477
+ Right,
478
+ Num,
479
+ Start,
480
+ Left,
481
481
  }
482
482
  /**
483
483
  */
@@ -417,6 +417,18 @@ module.exports.createPageMargin = function() {
417
417
  return PageMargin.__wrap(ret);
418
418
  };
419
419
 
420
+ /**
421
+ */
422
+ module.exports.AlignmentType = Object.freeze({ Both:0,"0":"Both",Center:1,"1":"Center",Distribute:2,"2":"Distribute",End:3,"3":"End",Left:4,"4":"Left",Right:5,"5":"Right",Justified:6,"6":"Justified",Unsupported:7,"7":"Unsupported", });
423
+ /**
424
+ */
425
+ module.exports.HeightRule = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
426
+ /**
427
+ */
428
+ module.exports.LevelSuffixType = Object.freeze({ Nothing:0,"0":"Nothing",Space:1,"1":"Space",Tab:2,"2":"Tab", });
429
+ /**
430
+ */
431
+ 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", });
420
432
  /**
421
433
  */
422
434
  module.exports.DrawingPositionType = Object.freeze({ Anchor:0,"0":"Anchor",Inline:1,"1":"Inline", });
@@ -425,25 +437,28 @@ module.exports.DrawingPositionType = Object.freeze({ Anchor:0,"0":"Anchor",Inlin
425
437
  module.exports.PicAlign = Object.freeze({ Left:0,"0":"Left",Right:1,"1":"Right",Bottom:2,"2":"Bottom",Top:3,"3":"Top", });
426
438
  /**
427
439
  */
428
- module.exports.SpecialIndentKind = Object.freeze({ FirstLine:0,"0":"FirstLine",Hanging:1,"1":"Hanging", });
440
+ module.exports.VMergeType = Object.freeze({ Continue:0,"0":"Continue",Restart:1,"1":"Restart",Unsupported:2,"2":"Unsupported", });
429
441
  /**
430
442
  */
431
- 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", });
443
+ module.exports.BreakType = Object.freeze({ Page:0,"0":"Page",Column:1,"1":"Column",TextWrapping:2,"2":"TextWrapping",Unsupported:3,"3":"Unsupported", });
432
444
  /**
433
445
  */
434
- module.exports.HeightRule = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
446
+ module.exports.LineSpacingType = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
435
447
  /**
436
448
  */
437
- module.exports.LevelSuffixType = Object.freeze({ Nothing:0,"0":"Nothing",Space:1,"1":"Space",Tab:2,"2":"Tab", });
449
+ 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", });
438
450
  /**
439
451
  */
440
- module.exports.AlignmentType = Object.freeze({ Both:0,"0":"Both",Center:1,"1":"Center",Distribute:2,"2":"Distribute",End:3,"3":"End",Left:4,"4":"Left",Right:5,"5":"Right",Justified:6,"6":"Justified",Unsupported:7,"7":"Unsupported", });
452
+ 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", });
441
453
  /**
442
454
  */
443
- 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", });
455
+ module.exports.VertAlignType = Object.freeze({ Baseline:0,"0":"Baseline",SuperScript:1,"1":"SuperScript",SubScript:2,"2":"SubScript",Unsupported:3,"3":"Unsupported", });
444
456
  /**
445
457
  */
446
- module.exports.VMergeType = Object.freeze({ Continue:0,"0":"Continue",Restart:1,"1":"Restart",Unsupported:2,"2":"Unsupported", });
458
+ module.exports.VAlignType = Object.freeze({ Top:0,"0":"Top",Center:1,"1":"Center",Bottom:2,"2":"Bottom",Unsupported:3,"3":"Unsupported", });
459
+ /**
460
+ */
461
+ 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", });
447
462
  /**
448
463
  */
449
464
  module.exports.FontPitchType = Object.freeze({ Default:0,"0":"Default",Fixed:1,"1":"Fixed",Variable:2,"2":"Variable", });
@@ -455,16 +470,10 @@ module.exports.PageOrientationType = Object.freeze({ Landscape:0,"0":"Landscape"
455
470
  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", });
456
471
  /**
457
472
  */
458
- module.exports.TableAlignmentType = Object.freeze({ Center:0,"0":"Center",Left:1,"1":"Left",Right:2,"2":"Right", });
459
- /**
460
- */
461
- 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", });
462
- /**
463
- */
464
- 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", });
473
+ module.exports.SpecialIndentKind = Object.freeze({ FirstLine:0,"0":"FirstLine",Hanging:1,"1":"Hanging", });
465
474
  /**
466
475
  */
467
- 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", });
476
+ module.exports.TableAlignmentType = Object.freeze({ Center:0,"0":"Center",Left:1,"1":"Left",Right:2,"2":"Right", });
468
477
  /**
469
478
  */
470
479
  module.exports.TableLayoutType = Object.freeze({ Fixed:0,"0":"Fixed",Autofit:1,"1":"Autofit", });
@@ -473,7 +482,10 @@ module.exports.TableLayoutType = Object.freeze({ Fixed:0,"0":"Fixed",Autofit:1,"
473
482
  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", });
474
483
  /**
475
484
  */
476
- module.exports.DocGridType = Object.freeze({ Default:0,"0":"Default",Lines:1,"1":"Lines",LinesAndChars:2,"2":"LinesAndChars",SnapToChars:3,"3":"SnapToChars", });
485
+ 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", });
486
+ /**
487
+ */
488
+ 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", });
477
489
  /**
478
490
  */
479
491
  module.exports.RelativeFromHType = Object.freeze({
@@ -526,28 +538,16 @@ RightMargin:7,"7":"RightMargin", });
526
538
  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", });
527
539
  /**
528
540
  */
529
- 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", });
541
+ 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", });
530
542
  /**
531
543
  */
532
- module.exports.BreakType = Object.freeze({ Page:0,"0":"Page",Column:1,"1":"Column",TextWrapping:2,"2":"TextWrapping",Unsupported:3,"3":"Unsupported", });
544
+ module.exports.DocGridType = Object.freeze({ Default:0,"0":"Default",Lines:1,"1":"Lines",LinesAndChars:2,"2":"LinesAndChars",SnapToChars:3,"3":"SnapToChars", });
533
545
  /**
534
546
  */
535
547
  module.exports.FieldCharType = Object.freeze({ Begin:0,"0":"Begin",Separate:1,"1":"Separate",End:2,"2":"End",Unsupported:3,"3":"Unsupported", });
536
548
  /**
537
549
  */
538
- module.exports.LineSpacingType = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
539
- /**
540
- */
541
- 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", });
542
- /**
543
- */
544
- 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", });
545
- /**
546
- */
547
- module.exports.VertAlignType = Object.freeze({ Baseline:0,"0":"Baseline",SuperScript:1,"1":"SuperScript",SubScript:2,"2":"SubScript",Unsupported:3,"3":"Unsupported", });
548
- /**
549
- */
550
- module.exports.VAlignType = Object.freeze({ Top:0,"0":"Top",Center:1,"1":"Center",Bottom:2,"2":"Bottom",Unsupported:3,"3":"Unsupported", });
550
+ 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", });
551
551
  /**
552
552
  */
553
553
  class AbstractNumbering {
Binary file
@@ -52,6 +52,7 @@ export function __wbg_footer_free(a: number): void;
52
52
  export function createFooter(): number;
53
53
  export function footer_add_paragraph(a: number, b: number): number;
54
54
  export function footer_add_table(a: number, b: number): number;
55
+ export function __wbg_header_free(a: number): void;
55
56
  export function createHeader(): number;
56
57
  export function header_add_paragraph(a: number, b: number): number;
57
58
  export function header_add_table(a: number, b: number): number;
@@ -66,7 +67,6 @@ export function tablecellborder_border_type(a: number, b: number): number;
66
67
  export function tablecellborder_get_size(a: number): number;
67
68
  export function tablecellborder_get_color(a: number, b: number): void;
68
69
  export function tablecellborder_get_border_type(a: number): number;
69
- export function __wbg_header_free(a: number): void;
70
70
  export function insert_author(a: number, b: number, c: number): number;
71
71
  export function __wbg_level_free(a: number): void;
72
72
  export function createLevel(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number): number;
@@ -132,6 +132,42 @@ export function createLevelOverride(level: number): LevelOverride;
132
132
  export function createPageMargin(): PageMargin;
133
133
  /**
134
134
  */
135
+ export enum AlignmentType {
136
+ Both,
137
+ Center,
138
+ Distribute,
139
+ End,
140
+ Left,
141
+ Right,
142
+ Justified,
143
+ Unsupported,
144
+ }
145
+ /**
146
+ */
147
+ export enum HeightRule {
148
+ Auto,
149
+ AtLeast,
150
+ Exact,
151
+ }
152
+ /**
153
+ */
154
+ export enum LevelSuffixType {
155
+ Nothing,
156
+ Space,
157
+ Tab,
158
+ }
159
+ /**
160
+ */
161
+ export enum TabLeaderType {
162
+ Dot,
163
+ Heavy,
164
+ Hyphen,
165
+ MiddleDot,
166
+ None,
167
+ Underscore,
168
+ }
169
+ /**
170
+ */
135
171
  export enum DrawingPositionType {
136
172
  Anchor,
137
173
  Inline,
@@ -146,9 +182,97 @@ export enum PicAlign {
146
182
  }
147
183
  /**
148
184
  */
149
- export enum SpecialIndentKind {
150
- FirstLine,
151
- Hanging,
185
+ export enum VMergeType {
186
+ Continue,
187
+ Restart,
188
+ Unsupported,
189
+ }
190
+ /**
191
+ */
192
+ export enum BreakType {
193
+ Page,
194
+ Column,
195
+ TextWrapping,
196
+ Unsupported,
197
+ }
198
+ /**
199
+ */
200
+ export enum LineSpacingType {
201
+ Auto,
202
+ AtLeast,
203
+ Exact,
204
+ }
205
+ /**
206
+ */
207
+ export enum ShdType {
208
+ Nil,
209
+ Clear,
210
+ Solid,
211
+ HorzStripe,
212
+ VertStripe,
213
+ ReverseDiagStripe,
214
+ DiagStripe,
215
+ HorzCross,
216
+ DiagCross,
217
+ ThinHorzStripe,
218
+ ThinVertStripe,
219
+ ThinReverseDiagStripe,
220
+ ThinDiagStripe,
221
+ ThinHorzCross,
222
+ ThinDiagCross,
223
+ Pct5,
224
+ Pct10,
225
+ Pct12,
226
+ Pct15,
227
+ Pct20,
228
+ Pct25,
229
+ Pct30,
230
+ Pct35,
231
+ Pct37,
232
+ Pct40,
233
+ Pct45,
234
+ Pct50,
235
+ Pct55,
236
+ Pct60,
237
+ Pct62,
238
+ Pct65,
239
+ Pct70,
240
+ Pct75,
241
+ Pct80,
242
+ Pct85,
243
+ Pct87,
244
+ Pct90,
245
+ Pct95,
246
+ }
247
+ /**
248
+ */
249
+ export enum TextDirectionType {
250
+ Lr,
251
+ LrV,
252
+ Rl,
253
+ RlV,
254
+ Tb,
255
+ TbV,
256
+ TbRlV,
257
+ TbRl,
258
+ BtLr,
259
+ LrTbV,
260
+ }
261
+ /**
262
+ */
263
+ export enum VertAlignType {
264
+ Baseline,
265
+ SuperScript,
266
+ SubScript,
267
+ Unsupported,
268
+ }
269
+ /**
270
+ */
271
+ export enum VAlignType {
272
+ Top,
273
+ Center,
274
+ Bottom,
275
+ Unsupported,
152
276
  }
153
277
  /**
154
278
  */
@@ -187,49 +311,6 @@ export enum BorderType {
187
311
  }
188
312
  /**
189
313
  */
190
- export enum HeightRule {
191
- Auto,
192
- AtLeast,
193
- Exact,
194
- }
195
- /**
196
- */
197
- export enum LevelSuffixType {
198
- Nothing,
199
- Space,
200
- Tab,
201
- }
202
- /**
203
- */
204
- export enum AlignmentType {
205
- Both,
206
- Center,
207
- Distribute,
208
- End,
209
- Left,
210
- Right,
211
- Justified,
212
- Unsupported,
213
- }
214
- /**
215
- */
216
- export enum TabLeaderType {
217
- Dot,
218
- Heavy,
219
- Hyphen,
220
- MiddleDot,
221
- None,
222
- Underscore,
223
- }
224
- /**
225
- */
226
- export enum VMergeType {
227
- Continue,
228
- Restart,
229
- Unsupported,
230
- }
231
- /**
232
- */
233
314
  export enum FontPitchType {
234
315
  Default,
235
316
  Fixed,
@@ -252,6 +333,12 @@ export enum SectionType {
252
333
  }
253
334
  /**
254
335
  */
336
+ export enum SpecialIndentKind {
337
+ FirstLine,
338
+ Hanging,
339
+ }
340
+ /**
341
+ */
255
342
  export enum TableAlignmentType {
256
343
  Center,
257
344
  Left,
@@ -259,6 +346,21 @@ export enum TableAlignmentType {
259
346
  }
260
347
  /**
261
348
  */
349
+ export enum TableLayoutType {
350
+ Fixed,
351
+ Autofit,
352
+ }
353
+ /**
354
+ */
355
+ export enum WidthType {
356
+ Dxa,
357
+ Auto,
358
+ Pct,
359
+ Nil,
360
+ Unsupported,
361
+ }
362
+ /**
363
+ */
262
364
  export enum TableBorderPosition {
263
365
  Left,
264
366
  Right,
@@ -281,38 +383,6 @@ export enum TableCellBorderPosition {
281
383
  }
282
384
  /**
283
385
  */
284
- export enum StyleType {
285
- Paragraph,
286
- Character,
287
- Numbering,
288
- Table,
289
- Unsupported,
290
- }
291
- /**
292
- */
293
- export enum TableLayoutType {
294
- Fixed,
295
- Autofit,
296
- }
297
- /**
298
- */
299
- export enum WidthType {
300
- Dxa,
301
- Auto,
302
- Pct,
303
- Nil,
304
- Unsupported,
305
- }
306
- /**
307
- */
308
- export enum DocGridType {
309
- Default,
310
- Lines,
311
- LinesAndChars,
312
- SnapToChars,
313
- }
314
- /**
315
- */
316
386
  export enum RelativeFromHType {
317
387
  /**
318
388
  * Specifies that the horizontal positioning shall be
@@ -373,24 +443,20 @@ export enum RelativeFromVType {
373
443
  }
374
444
  /**
375
445
  */
376
- export enum TabValueType {
377
- Bar,
378
- Center,
379
- Clear,
380
- Decimal,
381
- End,
382
- Right,
383
- Num,
384
- Start,
385
- Left,
446
+ export enum StyleType {
447
+ Paragraph,
448
+ Character,
449
+ Numbering,
450
+ Table,
451
+ Unsupported,
386
452
  }
387
453
  /**
388
454
  */
389
- export enum BreakType {
390
- Page,
391
- Column,
392
- TextWrapping,
393
- Unsupported,
455
+ export enum DocGridType {
456
+ Default,
457
+ Lines,
458
+ LinesAndChars,
459
+ SnapToChars,
394
460
  }
395
461
  /**
396
462
  */
@@ -402,82 +468,16 @@ export enum FieldCharType {
402
468
  }
403
469
  /**
404
470
  */
405
- export enum LineSpacingType {
406
- Auto,
407
- AtLeast,
408
- Exact,
409
- }
410
- /**
411
- */
412
- export enum TextDirectionType {
413
- Lr,
414
- LrV,
415
- Rl,
416
- RlV,
417
- Tb,
418
- TbV,
419
- TbRlV,
420
- TbRl,
421
- BtLr,
422
- LrTbV,
423
- }
424
- /**
425
- */
426
- export enum ShdType {
427
- Nil,
428
- Clear,
429
- Solid,
430
- HorzStripe,
431
- VertStripe,
432
- ReverseDiagStripe,
433
- DiagStripe,
434
- HorzCross,
435
- DiagCross,
436
- ThinHorzStripe,
437
- ThinVertStripe,
438
- ThinReverseDiagStripe,
439
- ThinDiagStripe,
440
- ThinHorzCross,
441
- ThinDiagCross,
442
- Pct5,
443
- Pct10,
444
- Pct12,
445
- Pct15,
446
- Pct20,
447
- Pct25,
448
- Pct30,
449
- Pct35,
450
- Pct37,
451
- Pct40,
452
- Pct45,
453
- Pct50,
454
- Pct55,
455
- Pct60,
456
- Pct62,
457
- Pct65,
458
- Pct70,
459
- Pct75,
460
- Pct80,
461
- Pct85,
462
- Pct87,
463
- Pct90,
464
- Pct95,
465
- }
466
- /**
467
- */
468
- export enum VertAlignType {
469
- Baseline,
470
- SuperScript,
471
- SubScript,
472
- Unsupported,
473
- }
474
- /**
475
- */
476
- export enum VAlignType {
477
- Top,
471
+ export enum TabValueType {
472
+ Bar,
478
473
  Center,
479
- Bottom,
480
- Unsupported,
474
+ Clear,
475
+ Decimal,
476
+ End,
477
+ Right,
478
+ Num,
479
+ Start,
480
+ Left,
481
481
  }
482
482
  /**
483
483
  */
@@ -418,6 +418,18 @@ export function createPageMargin() {
418
418
  return PageMargin.__wrap(ret);
419
419
  }
420
420
 
421
+ /**
422
+ */
423
+ export const AlignmentType = Object.freeze({ Both:0,"0":"Both",Center:1,"1":"Center",Distribute:2,"2":"Distribute",End:3,"3":"End",Left:4,"4":"Left",Right:5,"5":"Right",Justified:6,"6":"Justified",Unsupported:7,"7":"Unsupported", });
424
+ /**
425
+ */
426
+ export const HeightRule = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
427
+ /**
428
+ */
429
+ export const LevelSuffixType = Object.freeze({ Nothing:0,"0":"Nothing",Space:1,"1":"Space",Tab:2,"2":"Tab", });
430
+ /**
431
+ */
432
+ 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", });
421
433
  /**
422
434
  */
423
435
  export const DrawingPositionType = Object.freeze({ Anchor:0,"0":"Anchor",Inline:1,"1":"Inline", });
@@ -426,25 +438,28 @@ export const DrawingPositionType = Object.freeze({ Anchor:0,"0":"Anchor",Inline:
426
438
  export const PicAlign = Object.freeze({ Left:0,"0":"Left",Right:1,"1":"Right",Bottom:2,"2":"Bottom",Top:3,"3":"Top", });
427
439
  /**
428
440
  */
429
- export const SpecialIndentKind = Object.freeze({ FirstLine:0,"0":"FirstLine",Hanging:1,"1":"Hanging", });
441
+ export const VMergeType = Object.freeze({ Continue:0,"0":"Continue",Restart:1,"1":"Restart",Unsupported:2,"2":"Unsupported", });
430
442
  /**
431
443
  */
432
- 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", });
444
+ export const BreakType = Object.freeze({ Page:0,"0":"Page",Column:1,"1":"Column",TextWrapping:2,"2":"TextWrapping",Unsupported:3,"3":"Unsupported", });
433
445
  /**
434
446
  */
435
- export const HeightRule = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
447
+ export const LineSpacingType = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
436
448
  /**
437
449
  */
438
- export const LevelSuffixType = Object.freeze({ Nothing:0,"0":"Nothing",Space:1,"1":"Space",Tab:2,"2":"Tab", });
450
+ 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", });
439
451
  /**
440
452
  */
441
- export const AlignmentType = Object.freeze({ Both:0,"0":"Both",Center:1,"1":"Center",Distribute:2,"2":"Distribute",End:3,"3":"End",Left:4,"4":"Left",Right:5,"5":"Right",Justified:6,"6":"Justified",Unsupported:7,"7":"Unsupported", });
453
+ 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", });
442
454
  /**
443
455
  */
444
- 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", });
456
+ export const VertAlignType = Object.freeze({ Baseline:0,"0":"Baseline",SuperScript:1,"1":"SuperScript",SubScript:2,"2":"SubScript",Unsupported:3,"3":"Unsupported", });
445
457
  /**
446
458
  */
447
- export const VMergeType = Object.freeze({ Continue:0,"0":"Continue",Restart:1,"1":"Restart",Unsupported:2,"2":"Unsupported", });
459
+ export const VAlignType = Object.freeze({ Top:0,"0":"Top",Center:1,"1":"Center",Bottom:2,"2":"Bottom",Unsupported:3,"3":"Unsupported", });
460
+ /**
461
+ */
462
+ 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", });
448
463
  /**
449
464
  */
450
465
  export const FontPitchType = Object.freeze({ Default:0,"0":"Default",Fixed:1,"1":"Fixed",Variable:2,"2":"Variable", });
@@ -456,16 +471,10 @@ export const PageOrientationType = Object.freeze({ Landscape:0,"0":"Landscape",P
456
471
  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", });
457
472
  /**
458
473
  */
459
- export const TableAlignmentType = Object.freeze({ Center:0,"0":"Center",Left:1,"1":"Left",Right:2,"2":"Right", });
460
- /**
461
- */
462
- 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", });
463
- /**
464
- */
465
- 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", });
474
+ export const SpecialIndentKind = Object.freeze({ FirstLine:0,"0":"FirstLine",Hanging:1,"1":"Hanging", });
466
475
  /**
467
476
  */
468
- 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", });
477
+ export const TableAlignmentType = Object.freeze({ Center:0,"0":"Center",Left:1,"1":"Left",Right:2,"2":"Right", });
469
478
  /**
470
479
  */
471
480
  export const TableLayoutType = Object.freeze({ Fixed:0,"0":"Fixed",Autofit:1,"1":"Autofit", });
@@ -474,7 +483,10 @@ export const TableLayoutType = Object.freeze({ Fixed:0,"0":"Fixed",Autofit:1,"1"
474
483
  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", });
475
484
  /**
476
485
  */
477
- export const DocGridType = Object.freeze({ Default:0,"0":"Default",Lines:1,"1":"Lines",LinesAndChars:2,"2":"LinesAndChars",SnapToChars:3,"3":"SnapToChars", });
486
+ 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", });
487
+ /**
488
+ */
489
+ 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", });
478
490
  /**
479
491
  */
480
492
  export const RelativeFromHType = Object.freeze({
@@ -527,28 +539,16 @@ RightMargin:7,"7":"RightMargin", });
527
539
  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", });
528
540
  /**
529
541
  */
530
- 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", });
542
+ 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", });
531
543
  /**
532
544
  */
533
- export const BreakType = Object.freeze({ Page:0,"0":"Page",Column:1,"1":"Column",TextWrapping:2,"2":"TextWrapping",Unsupported:3,"3":"Unsupported", });
545
+ export const DocGridType = Object.freeze({ Default:0,"0":"Default",Lines:1,"1":"Lines",LinesAndChars:2,"2":"LinesAndChars",SnapToChars:3,"3":"SnapToChars", });
534
546
  /**
535
547
  */
536
548
  export const FieldCharType = Object.freeze({ Begin:0,"0":"Begin",Separate:1,"1":"Separate",End:2,"2":"End",Unsupported:3,"3":"Unsupported", });
537
549
  /**
538
550
  */
539
- export const LineSpacingType = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
540
- /**
541
- */
542
- 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", });
543
- /**
544
- */
545
- 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", });
546
- /**
547
- */
548
- export const VertAlignType = Object.freeze({ Baseline:0,"0":"Baseline",SuperScript:1,"1":"SuperScript",SubScript:2,"2":"SubScript",Unsupported:3,"3":"Unsupported", });
549
- /**
550
- */
551
- export const VAlignType = Object.freeze({ Top:0,"0":"Top",Center:1,"1":"Center",Bottom:2,"2":"Bottom",Unsupported:3,"3":"Unsupported", });
551
+ 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", });
552
552
  /**
553
553
  */
554
554
  export class AbstractNumbering {
Binary file
@@ -52,6 +52,7 @@ export function __wbg_footer_free(a: number): void;
52
52
  export function createFooter(): number;
53
53
  export function footer_add_paragraph(a: number, b: number): number;
54
54
  export function footer_add_table(a: number, b: number): number;
55
+ export function __wbg_header_free(a: number): void;
55
56
  export function createHeader(): number;
56
57
  export function header_add_paragraph(a: number, b: number): number;
57
58
  export function header_add_table(a: number, b: number): number;
@@ -66,7 +67,6 @@ export function tablecellborder_border_type(a: number, b: number): number;
66
67
  export function tablecellborder_get_size(a: number): number;
67
68
  export function tablecellborder_get_color(a: number, b: number): void;
68
69
  export function tablecellborder_get_border_type(a: number): number;
69
- export function __wbg_header_free(a: number): void;
70
70
  export function insert_author(a: number, b: number, c: number): number;
71
71
  export function __wbg_level_free(a: number): void;
72
72
  export function createLevel(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number): number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "docx-wasm",
3
- "version": "0.0.266",
3
+ "version": "0.0.269",
4
4
  "main": "dist/node/index.js",
5
5
  "browser": "dist/web/index.js",
6
6
  "author": "bokuweb <bokuweb12@gmail.com>",