docx-wasm 0.4.18-rc39 → 0.4.18-rc40
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.
- package/dist/node/pkg/docx_wasm.d.ts +172 -172
- package/dist/node/pkg/docx_wasm.js +51 -51
- package/dist/node/pkg/docx_wasm_bg.wasm +0 -0
- package/dist/web/pkg/docx_wasm.d.ts +172 -172
- package/dist/web/pkg/docx_wasm_bg.js +51 -51
- package/dist/web/pkg/docx_wasm_bg.wasm +0 -0
- package/package.json +1 -1
|
@@ -176,10 +176,38 @@ export function createComment(id: number): Comment;
|
|
|
176
176
|
export function createDocx(): Docx;
|
|
177
177
|
/**
|
|
178
178
|
*/
|
|
179
|
-
export enum
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
179
|
+
export enum FieldCharType {
|
|
180
|
+
Begin,
|
|
181
|
+
Separate,
|
|
182
|
+
End,
|
|
183
|
+
Unsupported,
|
|
184
|
+
}
|
|
185
|
+
/**
|
|
186
|
+
*/
|
|
187
|
+
export enum TabLeaderType {
|
|
188
|
+
Dot,
|
|
189
|
+
Heavy,
|
|
190
|
+
Hyphen,
|
|
191
|
+
MiddleDot,
|
|
192
|
+
None,
|
|
193
|
+
Underscore,
|
|
194
|
+
}
|
|
195
|
+
/**
|
|
196
|
+
*/
|
|
197
|
+
export enum TextAlignmentType {
|
|
198
|
+
Auto,
|
|
199
|
+
Baseline,
|
|
200
|
+
Bottom,
|
|
201
|
+
Center,
|
|
202
|
+
Top,
|
|
203
|
+
}
|
|
204
|
+
/**
|
|
205
|
+
*/
|
|
206
|
+
export enum VertAlignType {
|
|
207
|
+
Baseline,
|
|
208
|
+
SuperScript,
|
|
209
|
+
SubScript,
|
|
210
|
+
Unsupported,
|
|
183
211
|
}
|
|
184
212
|
/**
|
|
185
213
|
*/
|
|
@@ -218,6 +246,14 @@ export enum BorderType {
|
|
|
218
246
|
}
|
|
219
247
|
/**
|
|
220
248
|
*/
|
|
249
|
+
export enum DocGridType {
|
|
250
|
+
Default,
|
|
251
|
+
Lines,
|
|
252
|
+
LinesAndChars,
|
|
253
|
+
SnapToChars,
|
|
254
|
+
}
|
|
255
|
+
/**
|
|
256
|
+
*/
|
|
221
257
|
export enum DrawingPositionType {
|
|
222
258
|
Anchor,
|
|
223
259
|
Inline,
|
|
@@ -239,6 +275,12 @@ export enum HyperlinkType {
|
|
|
239
275
|
}
|
|
240
276
|
/**
|
|
241
277
|
*/
|
|
278
|
+
export enum PageOrientationType {
|
|
279
|
+
Landscape,
|
|
280
|
+
Portrait,
|
|
281
|
+
}
|
|
282
|
+
/**
|
|
283
|
+
*/
|
|
242
284
|
export enum PositionalTabAlignmentType {
|
|
243
285
|
Center,
|
|
244
286
|
Left,
|
|
@@ -246,6 +288,84 @@ export enum PositionalTabAlignmentType {
|
|
|
246
288
|
}
|
|
247
289
|
/**
|
|
248
290
|
*/
|
|
291
|
+
export enum WidthType {
|
|
292
|
+
Dxa,
|
|
293
|
+
Auto,
|
|
294
|
+
Pct,
|
|
295
|
+
Nil,
|
|
296
|
+
Unsupported,
|
|
297
|
+
}
|
|
298
|
+
/**
|
|
299
|
+
*/
|
|
300
|
+
export enum TableBorderPosition {
|
|
301
|
+
Left,
|
|
302
|
+
Right,
|
|
303
|
+
Top,
|
|
304
|
+
Bottom,
|
|
305
|
+
InsideH,
|
|
306
|
+
InsideV,
|
|
307
|
+
}
|
|
308
|
+
/**
|
|
309
|
+
*/
|
|
310
|
+
export enum TableCellBorderPosition {
|
|
311
|
+
Left,
|
|
312
|
+
Right,
|
|
313
|
+
Top,
|
|
314
|
+
Bottom,
|
|
315
|
+
InsideH,
|
|
316
|
+
InsideV,
|
|
317
|
+
Tl2br,
|
|
318
|
+
Tr2bl,
|
|
319
|
+
}
|
|
320
|
+
/**
|
|
321
|
+
*/
|
|
322
|
+
export enum ParagraphBorderPosition {
|
|
323
|
+
Left,
|
|
324
|
+
Right,
|
|
325
|
+
Top,
|
|
326
|
+
Bottom,
|
|
327
|
+
Between,
|
|
328
|
+
Bar,
|
|
329
|
+
}
|
|
330
|
+
/**
|
|
331
|
+
*/
|
|
332
|
+
export enum CharacterSpacingValues {
|
|
333
|
+
DoNotCompress,
|
|
334
|
+
CompressPunctuation,
|
|
335
|
+
CompressPunctuationAndJapaneseKana,
|
|
336
|
+
Unsupported,
|
|
337
|
+
}
|
|
338
|
+
/**
|
|
339
|
+
*/
|
|
340
|
+
export enum LineSpacingType {
|
|
341
|
+
Auto,
|
|
342
|
+
AtLeast,
|
|
343
|
+
Exact,
|
|
344
|
+
}
|
|
345
|
+
/**
|
|
346
|
+
*/
|
|
347
|
+
export enum StyleType {
|
|
348
|
+
Paragraph,
|
|
349
|
+
Character,
|
|
350
|
+
Numbering,
|
|
351
|
+
Table,
|
|
352
|
+
Unsupported,
|
|
353
|
+
}
|
|
354
|
+
/**
|
|
355
|
+
*/
|
|
356
|
+
export enum TableAlignmentType {
|
|
357
|
+
Center,
|
|
358
|
+
Left,
|
|
359
|
+
Right,
|
|
360
|
+
}
|
|
361
|
+
/**
|
|
362
|
+
*/
|
|
363
|
+
export enum PositionalTabRelativeTo {
|
|
364
|
+
Indent,
|
|
365
|
+
Margin,
|
|
366
|
+
}
|
|
367
|
+
/**
|
|
368
|
+
*/
|
|
249
369
|
export enum ShdType {
|
|
250
370
|
Nil,
|
|
251
371
|
Clear,
|
|
@@ -288,41 +408,38 @@ export enum ShdType {
|
|
|
288
408
|
}
|
|
289
409
|
/**
|
|
290
410
|
*/
|
|
291
|
-
export enum
|
|
411
|
+
export enum TabValueType {
|
|
412
|
+
Bar,
|
|
292
413
|
Center,
|
|
293
|
-
|
|
414
|
+
Clear,
|
|
415
|
+
Decimal,
|
|
416
|
+
End,
|
|
294
417
|
Right,
|
|
418
|
+
Num,
|
|
419
|
+
Start,
|
|
420
|
+
Left,
|
|
295
421
|
}
|
|
296
422
|
/**
|
|
297
423
|
*/
|
|
298
|
-
export enum
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
}
|
|
303
|
-
/**
|
|
304
|
-
*/
|
|
305
|
-
export enum LineSpacingType {
|
|
306
|
-
Auto,
|
|
307
|
-
AtLeast,
|
|
308
|
-
Exact,
|
|
424
|
+
export enum VMergeType {
|
|
425
|
+
Continue,
|
|
426
|
+
Restart,
|
|
427
|
+
Unsupported,
|
|
309
428
|
}
|
|
310
429
|
/**
|
|
311
430
|
*/
|
|
312
|
-
export enum
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
OddPage,
|
|
431
|
+
export enum BreakType {
|
|
432
|
+
Page,
|
|
433
|
+
Column,
|
|
434
|
+
TextWrapping,
|
|
435
|
+
Unsupported,
|
|
318
436
|
}
|
|
319
437
|
/**
|
|
320
438
|
*/
|
|
321
|
-
export enum
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
Unsupported,
|
|
439
|
+
export enum FontPitchType {
|
|
440
|
+
Default,
|
|
441
|
+
Fixed,
|
|
442
|
+
Variable,
|
|
326
443
|
}
|
|
327
444
|
/**
|
|
328
445
|
*/
|
|
@@ -333,6 +450,13 @@ export enum HeightRule {
|
|
|
333
450
|
}
|
|
334
451
|
/**
|
|
335
452
|
*/
|
|
453
|
+
export enum LevelSuffixType {
|
|
454
|
+
Nothing,
|
|
455
|
+
Space,
|
|
456
|
+
Tab,
|
|
457
|
+
}
|
|
458
|
+
/**
|
|
459
|
+
*/
|
|
336
460
|
export enum RelativeFromHType {
|
|
337
461
|
/**
|
|
338
462
|
* Specifies that the horizontal positioning shall be
|
|
@@ -393,26 +517,26 @@ export enum RelativeFromVType {
|
|
|
393
517
|
}
|
|
394
518
|
/**
|
|
395
519
|
*/
|
|
396
|
-
export enum
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
export enum VertAlignType {
|
|
403
|
-
Baseline,
|
|
404
|
-
SuperScript,
|
|
405
|
-
SubScript,
|
|
406
|
-
Unsupported,
|
|
520
|
+
export enum SectionType {
|
|
521
|
+
NextPage,
|
|
522
|
+
NextColumn,
|
|
523
|
+
Continuous,
|
|
524
|
+
EvenPage,
|
|
525
|
+
OddPage,
|
|
407
526
|
}
|
|
408
527
|
/**
|
|
409
528
|
*/
|
|
410
|
-
export enum
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
529
|
+
export enum TextDirectionType {
|
|
530
|
+
Lr,
|
|
531
|
+
LrV,
|
|
532
|
+
Rl,
|
|
533
|
+
RlV,
|
|
534
|
+
Tb,
|
|
535
|
+
TbV,
|
|
536
|
+
TbRlV,
|
|
537
|
+
TbRl,
|
|
538
|
+
BtLr,
|
|
539
|
+
LrTbV,
|
|
416
540
|
}
|
|
417
541
|
/**
|
|
418
542
|
*/
|
|
@@ -428,24 +552,15 @@ export enum AlignmentType {
|
|
|
428
552
|
}
|
|
429
553
|
/**
|
|
430
554
|
*/
|
|
431
|
-
export enum PageOrientationType {
|
|
432
|
-
Landscape,
|
|
433
|
-
Portrait,
|
|
434
|
-
}
|
|
435
|
-
/**
|
|
436
|
-
*/
|
|
437
555
|
export enum SpecialIndentKind {
|
|
438
556
|
FirstLine,
|
|
439
557
|
Hanging,
|
|
440
558
|
}
|
|
441
559
|
/**
|
|
442
560
|
*/
|
|
443
|
-
export enum
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
Numbering,
|
|
447
|
-
Table,
|
|
448
|
-
Unsupported,
|
|
561
|
+
export enum TableLayoutType {
|
|
562
|
+
Fixed,
|
|
563
|
+
Autofit,
|
|
449
564
|
}
|
|
450
565
|
/**
|
|
451
566
|
*/
|
|
@@ -457,121 +572,6 @@ export enum VAlignType {
|
|
|
457
572
|
}
|
|
458
573
|
/**
|
|
459
574
|
*/
|
|
460
|
-
export enum BreakType {
|
|
461
|
-
Page,
|
|
462
|
-
Column,
|
|
463
|
-
TextWrapping,
|
|
464
|
-
Unsupported,
|
|
465
|
-
}
|
|
466
|
-
/**
|
|
467
|
-
*/
|
|
468
|
-
export enum DocGridType {
|
|
469
|
-
Default,
|
|
470
|
-
Lines,
|
|
471
|
-
LinesAndChars,
|
|
472
|
-
SnapToChars,
|
|
473
|
-
}
|
|
474
|
-
/**
|
|
475
|
-
*/
|
|
476
|
-
export enum PositionalTabRelativeTo {
|
|
477
|
-
Indent,
|
|
478
|
-
Margin,
|
|
479
|
-
}
|
|
480
|
-
/**
|
|
481
|
-
*/
|
|
482
|
-
export enum TabValueType {
|
|
483
|
-
Bar,
|
|
484
|
-
Center,
|
|
485
|
-
Clear,
|
|
486
|
-
Decimal,
|
|
487
|
-
End,
|
|
488
|
-
Right,
|
|
489
|
-
Num,
|
|
490
|
-
Start,
|
|
491
|
-
Left,
|
|
492
|
-
}
|
|
493
|
-
/**
|
|
494
|
-
*/
|
|
495
|
-
export enum FieldCharType {
|
|
496
|
-
Begin,
|
|
497
|
-
Separate,
|
|
498
|
-
End,
|
|
499
|
-
Unsupported,
|
|
500
|
-
}
|
|
501
|
-
/**
|
|
502
|
-
*/
|
|
503
|
-
export enum TabLeaderType {
|
|
504
|
-
Dot,
|
|
505
|
-
Heavy,
|
|
506
|
-
Hyphen,
|
|
507
|
-
MiddleDot,
|
|
508
|
-
None,
|
|
509
|
-
Underscore,
|
|
510
|
-
}
|
|
511
|
-
/**
|
|
512
|
-
*/
|
|
513
|
-
export enum TextAlignmentType {
|
|
514
|
-
Auto,
|
|
515
|
-
Baseline,
|
|
516
|
-
Bottom,
|
|
517
|
-
Center,
|
|
518
|
-
Top,
|
|
519
|
-
}
|
|
520
|
-
/**
|
|
521
|
-
*/
|
|
522
|
-
export enum TextDirectionType {
|
|
523
|
-
Lr,
|
|
524
|
-
LrV,
|
|
525
|
-
Rl,
|
|
526
|
-
RlV,
|
|
527
|
-
Tb,
|
|
528
|
-
TbV,
|
|
529
|
-
TbRlV,
|
|
530
|
-
TbRl,
|
|
531
|
-
BtLr,
|
|
532
|
-
LrTbV,
|
|
533
|
-
}
|
|
534
|
-
/**
|
|
535
|
-
*/
|
|
536
|
-
export enum VMergeType {
|
|
537
|
-
Continue,
|
|
538
|
-
Restart,
|
|
539
|
-
Unsupported,
|
|
540
|
-
}
|
|
541
|
-
/**
|
|
542
|
-
*/
|
|
543
|
-
export enum TableBorderPosition {
|
|
544
|
-
Left,
|
|
545
|
-
Right,
|
|
546
|
-
Top,
|
|
547
|
-
Bottom,
|
|
548
|
-
InsideH,
|
|
549
|
-
InsideV,
|
|
550
|
-
}
|
|
551
|
-
/**
|
|
552
|
-
*/
|
|
553
|
-
export enum TableCellBorderPosition {
|
|
554
|
-
Left,
|
|
555
|
-
Right,
|
|
556
|
-
Top,
|
|
557
|
-
Bottom,
|
|
558
|
-
InsideH,
|
|
559
|
-
InsideV,
|
|
560
|
-
Tl2br,
|
|
561
|
-
Tr2bl,
|
|
562
|
-
}
|
|
563
|
-
/**
|
|
564
|
-
*/
|
|
565
|
-
export enum ParagraphBorderPosition {
|
|
566
|
-
Left,
|
|
567
|
-
Right,
|
|
568
|
-
Top,
|
|
569
|
-
Bottom,
|
|
570
|
-
Between,
|
|
571
|
-
Bar,
|
|
572
|
-
}
|
|
573
|
-
/**
|
|
574
|
-
*/
|
|
575
575
|
export class AbstractNumbering {
|
|
576
576
|
free(): void;
|
|
577
577
|
/**
|
|
@@ -504,12 +504,24 @@ function getArrayU8FromWasm0(ptr, len) {
|
|
|
504
504
|
}
|
|
505
505
|
/**
|
|
506
506
|
*/
|
|
507
|
-
module.exports.
|
|
507
|
+
module.exports.FieldCharType = Object.freeze({ Begin:0,"0":"Begin",Separate:1,"1":"Separate",End:2,"2":"End",Unsupported:3,"3":"Unsupported", });
|
|
508
|
+
/**
|
|
509
|
+
*/
|
|
510
|
+
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", });
|
|
511
|
+
/**
|
|
512
|
+
*/
|
|
513
|
+
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", });
|
|
514
|
+
/**
|
|
515
|
+
*/
|
|
516
|
+
module.exports.VertAlignType = Object.freeze({ Baseline:0,"0":"Baseline",SuperScript:1,"1":"SuperScript",SubScript:2,"2":"SubScript",Unsupported:3,"3":"Unsupported", });
|
|
508
517
|
/**
|
|
509
518
|
*/
|
|
510
519
|
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", });
|
|
511
520
|
/**
|
|
512
521
|
*/
|
|
522
|
+
module.exports.DocGridType = Object.freeze({ Default:0,"0":"Default",Lines:1,"1":"Lines",LinesAndChars:2,"2":"LinesAndChars",SnapToChars:3,"3":"SnapToChars", });
|
|
523
|
+
/**
|
|
524
|
+
*/
|
|
513
525
|
module.exports.DrawingPositionType = Object.freeze({ Anchor:0,"0":"Anchor",Inline:1,"1":"Inline", });
|
|
514
526
|
/**
|
|
515
527
|
*/
|
|
@@ -519,30 +531,60 @@ module.exports.PicAlign = Object.freeze({ Left:0,"0":"Left",Right:1,"1":"Right",
|
|
|
519
531
|
module.exports.HyperlinkType = Object.freeze({ Anchor:0,"0":"Anchor",External:1,"1":"External", });
|
|
520
532
|
/**
|
|
521
533
|
*/
|
|
534
|
+
module.exports.PageOrientationType = Object.freeze({ Landscape:0,"0":"Landscape",Portrait:1,"1":"Portrait", });
|
|
535
|
+
/**
|
|
536
|
+
*/
|
|
522
537
|
module.exports.PositionalTabAlignmentType = Object.freeze({ Center:0,"0":"Center",Left:1,"1":"Left",Right:2,"2":"Right", });
|
|
523
538
|
/**
|
|
524
539
|
*/
|
|
525
|
-
module.exports.
|
|
540
|
+
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", });
|
|
526
541
|
/**
|
|
527
542
|
*/
|
|
528
|
-
module.exports.
|
|
543
|
+
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", });
|
|
529
544
|
/**
|
|
530
545
|
*/
|
|
531
|
-
module.exports.
|
|
546
|
+
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", });
|
|
547
|
+
/**
|
|
548
|
+
*/
|
|
549
|
+
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", });
|
|
550
|
+
/**
|
|
551
|
+
*/
|
|
552
|
+
module.exports.CharacterSpacingValues = Object.freeze({ DoNotCompress:0,"0":"DoNotCompress",CompressPunctuation:1,"1":"CompressPunctuation",CompressPunctuationAndJapaneseKana:2,"2":"CompressPunctuationAndJapaneseKana",Unsupported:3,"3":"Unsupported", });
|
|
532
553
|
/**
|
|
533
554
|
*/
|
|
534
555
|
module.exports.LineSpacingType = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
|
|
535
556
|
/**
|
|
536
557
|
*/
|
|
537
|
-
module.exports.
|
|
558
|
+
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", });
|
|
538
559
|
/**
|
|
539
560
|
*/
|
|
540
|
-
module.exports.
|
|
561
|
+
module.exports.TableAlignmentType = Object.freeze({ Center:0,"0":"Center",Left:1,"1":"Left",Right:2,"2":"Right", });
|
|
562
|
+
/**
|
|
563
|
+
*/
|
|
564
|
+
module.exports.PositionalTabRelativeTo = Object.freeze({ Indent:0,"0":"Indent",Margin:1,"1":"Margin", });
|
|
565
|
+
/**
|
|
566
|
+
*/
|
|
567
|
+
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", });
|
|
568
|
+
/**
|
|
569
|
+
*/
|
|
570
|
+
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", });
|
|
571
|
+
/**
|
|
572
|
+
*/
|
|
573
|
+
module.exports.VMergeType = Object.freeze({ Continue:0,"0":"Continue",Restart:1,"1":"Restart",Unsupported:2,"2":"Unsupported", });
|
|
574
|
+
/**
|
|
575
|
+
*/
|
|
576
|
+
module.exports.BreakType = Object.freeze({ Page:0,"0":"Page",Column:1,"1":"Column",TextWrapping:2,"2":"TextWrapping",Unsupported:3,"3":"Unsupported", });
|
|
577
|
+
/**
|
|
578
|
+
*/
|
|
579
|
+
module.exports.FontPitchType = Object.freeze({ Default:0,"0":"Default",Fixed:1,"1":"Fixed",Variable:2,"2":"Variable", });
|
|
541
580
|
/**
|
|
542
581
|
*/
|
|
543
582
|
module.exports.HeightRule = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
|
|
544
583
|
/**
|
|
545
584
|
*/
|
|
585
|
+
module.exports.LevelSuffixType = Object.freeze({ Nothing:0,"0":"Nothing",Space:1,"1":"Space",Tab:2,"2":"Tab", });
|
|
586
|
+
/**
|
|
587
|
+
*/
|
|
546
588
|
module.exports.RelativeFromHType = Object.freeze({
|
|
547
589
|
/**
|
|
548
590
|
* Specifies that the horizontal positioning shall be
|
|
@@ -593,66 +635,24 @@ RightMargin:7,"7":"RightMargin", });
|
|
|
593
635
|
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", });
|
|
594
636
|
/**
|
|
595
637
|
*/
|
|
596
|
-
module.exports.
|
|
597
|
-
/**
|
|
598
|
-
*/
|
|
599
|
-
module.exports.VertAlignType = Object.freeze({ Baseline:0,"0":"Baseline",SuperScript:1,"1":"SuperScript",SubScript:2,"2":"SubScript",Unsupported:3,"3":"Unsupported", });
|
|
638
|
+
module.exports.SectionType = Object.freeze({ NextPage:0,"0":"NextPage",NextColumn:1,"1":"NextColumn",Continuous:2,"2":"Continuous",EvenPage:3,"3":"EvenPage",OddPage:4,"4":"OddPage", });
|
|
600
639
|
/**
|
|
601
640
|
*/
|
|
602
|
-
module.exports.
|
|
641
|
+
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", });
|
|
603
642
|
/**
|
|
604
643
|
*/
|
|
605
644
|
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", });
|
|
606
645
|
/**
|
|
607
646
|
*/
|
|
608
|
-
module.exports.PageOrientationType = Object.freeze({ Landscape:0,"0":"Landscape",Portrait:1,"1":"Portrait", });
|
|
609
|
-
/**
|
|
610
|
-
*/
|
|
611
647
|
module.exports.SpecialIndentKind = Object.freeze({ FirstLine:0,"0":"FirstLine",Hanging:1,"1":"Hanging", });
|
|
612
648
|
/**
|
|
613
649
|
*/
|
|
614
|
-
module.exports.
|
|
650
|
+
module.exports.TableLayoutType = Object.freeze({ Fixed:0,"0":"Fixed",Autofit:1,"1":"Autofit", });
|
|
615
651
|
/**
|
|
616
652
|
*/
|
|
617
653
|
module.exports.VAlignType = Object.freeze({ Top:0,"0":"Top",Center:1,"1":"Center",Bottom:2,"2":"Bottom",Unsupported:3,"3":"Unsupported", });
|
|
618
654
|
/**
|
|
619
655
|
*/
|
|
620
|
-
module.exports.BreakType = Object.freeze({ Page:0,"0":"Page",Column:1,"1":"Column",TextWrapping:2,"2":"TextWrapping",Unsupported:3,"3":"Unsupported", });
|
|
621
|
-
/**
|
|
622
|
-
*/
|
|
623
|
-
module.exports.DocGridType = Object.freeze({ Default:0,"0":"Default",Lines:1,"1":"Lines",LinesAndChars:2,"2":"LinesAndChars",SnapToChars:3,"3":"SnapToChars", });
|
|
624
|
-
/**
|
|
625
|
-
*/
|
|
626
|
-
module.exports.PositionalTabRelativeTo = Object.freeze({ Indent:0,"0":"Indent",Margin:1,"1":"Margin", });
|
|
627
|
-
/**
|
|
628
|
-
*/
|
|
629
|
-
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", });
|
|
630
|
-
/**
|
|
631
|
-
*/
|
|
632
|
-
module.exports.FieldCharType = Object.freeze({ Begin:0,"0":"Begin",Separate:1,"1":"Separate",End:2,"2":"End",Unsupported:3,"3":"Unsupported", });
|
|
633
|
-
/**
|
|
634
|
-
*/
|
|
635
|
-
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", });
|
|
636
|
-
/**
|
|
637
|
-
*/
|
|
638
|
-
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", });
|
|
639
|
-
/**
|
|
640
|
-
*/
|
|
641
|
-
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", });
|
|
642
|
-
/**
|
|
643
|
-
*/
|
|
644
|
-
module.exports.VMergeType = Object.freeze({ Continue:0,"0":"Continue",Restart:1,"1":"Restart",Unsupported:2,"2":"Unsupported", });
|
|
645
|
-
/**
|
|
646
|
-
*/
|
|
647
|
-
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", });
|
|
648
|
-
/**
|
|
649
|
-
*/
|
|
650
|
-
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", });
|
|
651
|
-
/**
|
|
652
|
-
*/
|
|
653
|
-
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", });
|
|
654
|
-
/**
|
|
655
|
-
*/
|
|
656
656
|
class AbstractNumbering {
|
|
657
657
|
|
|
658
658
|
static __wrap(ptr) {
|
|
Binary file
|
|
@@ -176,10 +176,38 @@ export function createComment(id: number): Comment;
|
|
|
176
176
|
export function createDocx(): Docx;
|
|
177
177
|
/**
|
|
178
178
|
*/
|
|
179
|
-
export enum
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
179
|
+
export enum FieldCharType {
|
|
180
|
+
Begin,
|
|
181
|
+
Separate,
|
|
182
|
+
End,
|
|
183
|
+
Unsupported,
|
|
184
|
+
}
|
|
185
|
+
/**
|
|
186
|
+
*/
|
|
187
|
+
export enum TabLeaderType {
|
|
188
|
+
Dot,
|
|
189
|
+
Heavy,
|
|
190
|
+
Hyphen,
|
|
191
|
+
MiddleDot,
|
|
192
|
+
None,
|
|
193
|
+
Underscore,
|
|
194
|
+
}
|
|
195
|
+
/**
|
|
196
|
+
*/
|
|
197
|
+
export enum TextAlignmentType {
|
|
198
|
+
Auto,
|
|
199
|
+
Baseline,
|
|
200
|
+
Bottom,
|
|
201
|
+
Center,
|
|
202
|
+
Top,
|
|
203
|
+
}
|
|
204
|
+
/**
|
|
205
|
+
*/
|
|
206
|
+
export enum VertAlignType {
|
|
207
|
+
Baseline,
|
|
208
|
+
SuperScript,
|
|
209
|
+
SubScript,
|
|
210
|
+
Unsupported,
|
|
183
211
|
}
|
|
184
212
|
/**
|
|
185
213
|
*/
|
|
@@ -218,6 +246,14 @@ export enum BorderType {
|
|
|
218
246
|
}
|
|
219
247
|
/**
|
|
220
248
|
*/
|
|
249
|
+
export enum DocGridType {
|
|
250
|
+
Default,
|
|
251
|
+
Lines,
|
|
252
|
+
LinesAndChars,
|
|
253
|
+
SnapToChars,
|
|
254
|
+
}
|
|
255
|
+
/**
|
|
256
|
+
*/
|
|
221
257
|
export enum DrawingPositionType {
|
|
222
258
|
Anchor,
|
|
223
259
|
Inline,
|
|
@@ -239,6 +275,12 @@ export enum HyperlinkType {
|
|
|
239
275
|
}
|
|
240
276
|
/**
|
|
241
277
|
*/
|
|
278
|
+
export enum PageOrientationType {
|
|
279
|
+
Landscape,
|
|
280
|
+
Portrait,
|
|
281
|
+
}
|
|
282
|
+
/**
|
|
283
|
+
*/
|
|
242
284
|
export enum PositionalTabAlignmentType {
|
|
243
285
|
Center,
|
|
244
286
|
Left,
|
|
@@ -246,6 +288,84 @@ export enum PositionalTabAlignmentType {
|
|
|
246
288
|
}
|
|
247
289
|
/**
|
|
248
290
|
*/
|
|
291
|
+
export enum WidthType {
|
|
292
|
+
Dxa,
|
|
293
|
+
Auto,
|
|
294
|
+
Pct,
|
|
295
|
+
Nil,
|
|
296
|
+
Unsupported,
|
|
297
|
+
}
|
|
298
|
+
/**
|
|
299
|
+
*/
|
|
300
|
+
export enum TableBorderPosition {
|
|
301
|
+
Left,
|
|
302
|
+
Right,
|
|
303
|
+
Top,
|
|
304
|
+
Bottom,
|
|
305
|
+
InsideH,
|
|
306
|
+
InsideV,
|
|
307
|
+
}
|
|
308
|
+
/**
|
|
309
|
+
*/
|
|
310
|
+
export enum TableCellBorderPosition {
|
|
311
|
+
Left,
|
|
312
|
+
Right,
|
|
313
|
+
Top,
|
|
314
|
+
Bottom,
|
|
315
|
+
InsideH,
|
|
316
|
+
InsideV,
|
|
317
|
+
Tl2br,
|
|
318
|
+
Tr2bl,
|
|
319
|
+
}
|
|
320
|
+
/**
|
|
321
|
+
*/
|
|
322
|
+
export enum ParagraphBorderPosition {
|
|
323
|
+
Left,
|
|
324
|
+
Right,
|
|
325
|
+
Top,
|
|
326
|
+
Bottom,
|
|
327
|
+
Between,
|
|
328
|
+
Bar,
|
|
329
|
+
}
|
|
330
|
+
/**
|
|
331
|
+
*/
|
|
332
|
+
export enum CharacterSpacingValues {
|
|
333
|
+
DoNotCompress,
|
|
334
|
+
CompressPunctuation,
|
|
335
|
+
CompressPunctuationAndJapaneseKana,
|
|
336
|
+
Unsupported,
|
|
337
|
+
}
|
|
338
|
+
/**
|
|
339
|
+
*/
|
|
340
|
+
export enum LineSpacingType {
|
|
341
|
+
Auto,
|
|
342
|
+
AtLeast,
|
|
343
|
+
Exact,
|
|
344
|
+
}
|
|
345
|
+
/**
|
|
346
|
+
*/
|
|
347
|
+
export enum StyleType {
|
|
348
|
+
Paragraph,
|
|
349
|
+
Character,
|
|
350
|
+
Numbering,
|
|
351
|
+
Table,
|
|
352
|
+
Unsupported,
|
|
353
|
+
}
|
|
354
|
+
/**
|
|
355
|
+
*/
|
|
356
|
+
export enum TableAlignmentType {
|
|
357
|
+
Center,
|
|
358
|
+
Left,
|
|
359
|
+
Right,
|
|
360
|
+
}
|
|
361
|
+
/**
|
|
362
|
+
*/
|
|
363
|
+
export enum PositionalTabRelativeTo {
|
|
364
|
+
Indent,
|
|
365
|
+
Margin,
|
|
366
|
+
}
|
|
367
|
+
/**
|
|
368
|
+
*/
|
|
249
369
|
export enum ShdType {
|
|
250
370
|
Nil,
|
|
251
371
|
Clear,
|
|
@@ -288,41 +408,38 @@ export enum ShdType {
|
|
|
288
408
|
}
|
|
289
409
|
/**
|
|
290
410
|
*/
|
|
291
|
-
export enum
|
|
411
|
+
export enum TabValueType {
|
|
412
|
+
Bar,
|
|
292
413
|
Center,
|
|
293
|
-
|
|
414
|
+
Clear,
|
|
415
|
+
Decimal,
|
|
416
|
+
End,
|
|
294
417
|
Right,
|
|
418
|
+
Num,
|
|
419
|
+
Start,
|
|
420
|
+
Left,
|
|
295
421
|
}
|
|
296
422
|
/**
|
|
297
423
|
*/
|
|
298
|
-
export enum
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
}
|
|
303
|
-
/**
|
|
304
|
-
*/
|
|
305
|
-
export enum LineSpacingType {
|
|
306
|
-
Auto,
|
|
307
|
-
AtLeast,
|
|
308
|
-
Exact,
|
|
424
|
+
export enum VMergeType {
|
|
425
|
+
Continue,
|
|
426
|
+
Restart,
|
|
427
|
+
Unsupported,
|
|
309
428
|
}
|
|
310
429
|
/**
|
|
311
430
|
*/
|
|
312
|
-
export enum
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
OddPage,
|
|
431
|
+
export enum BreakType {
|
|
432
|
+
Page,
|
|
433
|
+
Column,
|
|
434
|
+
TextWrapping,
|
|
435
|
+
Unsupported,
|
|
318
436
|
}
|
|
319
437
|
/**
|
|
320
438
|
*/
|
|
321
|
-
export enum
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
Unsupported,
|
|
439
|
+
export enum FontPitchType {
|
|
440
|
+
Default,
|
|
441
|
+
Fixed,
|
|
442
|
+
Variable,
|
|
326
443
|
}
|
|
327
444
|
/**
|
|
328
445
|
*/
|
|
@@ -333,6 +450,13 @@ export enum HeightRule {
|
|
|
333
450
|
}
|
|
334
451
|
/**
|
|
335
452
|
*/
|
|
453
|
+
export enum LevelSuffixType {
|
|
454
|
+
Nothing,
|
|
455
|
+
Space,
|
|
456
|
+
Tab,
|
|
457
|
+
}
|
|
458
|
+
/**
|
|
459
|
+
*/
|
|
336
460
|
export enum RelativeFromHType {
|
|
337
461
|
/**
|
|
338
462
|
* Specifies that the horizontal positioning shall be
|
|
@@ -393,26 +517,26 @@ export enum RelativeFromVType {
|
|
|
393
517
|
}
|
|
394
518
|
/**
|
|
395
519
|
*/
|
|
396
|
-
export enum
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
export enum VertAlignType {
|
|
403
|
-
Baseline,
|
|
404
|
-
SuperScript,
|
|
405
|
-
SubScript,
|
|
406
|
-
Unsupported,
|
|
520
|
+
export enum SectionType {
|
|
521
|
+
NextPage,
|
|
522
|
+
NextColumn,
|
|
523
|
+
Continuous,
|
|
524
|
+
EvenPage,
|
|
525
|
+
OddPage,
|
|
407
526
|
}
|
|
408
527
|
/**
|
|
409
528
|
*/
|
|
410
|
-
export enum
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
529
|
+
export enum TextDirectionType {
|
|
530
|
+
Lr,
|
|
531
|
+
LrV,
|
|
532
|
+
Rl,
|
|
533
|
+
RlV,
|
|
534
|
+
Tb,
|
|
535
|
+
TbV,
|
|
536
|
+
TbRlV,
|
|
537
|
+
TbRl,
|
|
538
|
+
BtLr,
|
|
539
|
+
LrTbV,
|
|
416
540
|
}
|
|
417
541
|
/**
|
|
418
542
|
*/
|
|
@@ -428,24 +552,15 @@ export enum AlignmentType {
|
|
|
428
552
|
}
|
|
429
553
|
/**
|
|
430
554
|
*/
|
|
431
|
-
export enum PageOrientationType {
|
|
432
|
-
Landscape,
|
|
433
|
-
Portrait,
|
|
434
|
-
}
|
|
435
|
-
/**
|
|
436
|
-
*/
|
|
437
555
|
export enum SpecialIndentKind {
|
|
438
556
|
FirstLine,
|
|
439
557
|
Hanging,
|
|
440
558
|
}
|
|
441
559
|
/**
|
|
442
560
|
*/
|
|
443
|
-
export enum
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
Numbering,
|
|
447
|
-
Table,
|
|
448
|
-
Unsupported,
|
|
561
|
+
export enum TableLayoutType {
|
|
562
|
+
Fixed,
|
|
563
|
+
Autofit,
|
|
449
564
|
}
|
|
450
565
|
/**
|
|
451
566
|
*/
|
|
@@ -457,121 +572,6 @@ export enum VAlignType {
|
|
|
457
572
|
}
|
|
458
573
|
/**
|
|
459
574
|
*/
|
|
460
|
-
export enum BreakType {
|
|
461
|
-
Page,
|
|
462
|
-
Column,
|
|
463
|
-
TextWrapping,
|
|
464
|
-
Unsupported,
|
|
465
|
-
}
|
|
466
|
-
/**
|
|
467
|
-
*/
|
|
468
|
-
export enum DocGridType {
|
|
469
|
-
Default,
|
|
470
|
-
Lines,
|
|
471
|
-
LinesAndChars,
|
|
472
|
-
SnapToChars,
|
|
473
|
-
}
|
|
474
|
-
/**
|
|
475
|
-
*/
|
|
476
|
-
export enum PositionalTabRelativeTo {
|
|
477
|
-
Indent,
|
|
478
|
-
Margin,
|
|
479
|
-
}
|
|
480
|
-
/**
|
|
481
|
-
*/
|
|
482
|
-
export enum TabValueType {
|
|
483
|
-
Bar,
|
|
484
|
-
Center,
|
|
485
|
-
Clear,
|
|
486
|
-
Decimal,
|
|
487
|
-
End,
|
|
488
|
-
Right,
|
|
489
|
-
Num,
|
|
490
|
-
Start,
|
|
491
|
-
Left,
|
|
492
|
-
}
|
|
493
|
-
/**
|
|
494
|
-
*/
|
|
495
|
-
export enum FieldCharType {
|
|
496
|
-
Begin,
|
|
497
|
-
Separate,
|
|
498
|
-
End,
|
|
499
|
-
Unsupported,
|
|
500
|
-
}
|
|
501
|
-
/**
|
|
502
|
-
*/
|
|
503
|
-
export enum TabLeaderType {
|
|
504
|
-
Dot,
|
|
505
|
-
Heavy,
|
|
506
|
-
Hyphen,
|
|
507
|
-
MiddleDot,
|
|
508
|
-
None,
|
|
509
|
-
Underscore,
|
|
510
|
-
}
|
|
511
|
-
/**
|
|
512
|
-
*/
|
|
513
|
-
export enum TextAlignmentType {
|
|
514
|
-
Auto,
|
|
515
|
-
Baseline,
|
|
516
|
-
Bottom,
|
|
517
|
-
Center,
|
|
518
|
-
Top,
|
|
519
|
-
}
|
|
520
|
-
/**
|
|
521
|
-
*/
|
|
522
|
-
export enum TextDirectionType {
|
|
523
|
-
Lr,
|
|
524
|
-
LrV,
|
|
525
|
-
Rl,
|
|
526
|
-
RlV,
|
|
527
|
-
Tb,
|
|
528
|
-
TbV,
|
|
529
|
-
TbRlV,
|
|
530
|
-
TbRl,
|
|
531
|
-
BtLr,
|
|
532
|
-
LrTbV,
|
|
533
|
-
}
|
|
534
|
-
/**
|
|
535
|
-
*/
|
|
536
|
-
export enum VMergeType {
|
|
537
|
-
Continue,
|
|
538
|
-
Restart,
|
|
539
|
-
Unsupported,
|
|
540
|
-
}
|
|
541
|
-
/**
|
|
542
|
-
*/
|
|
543
|
-
export enum TableBorderPosition {
|
|
544
|
-
Left,
|
|
545
|
-
Right,
|
|
546
|
-
Top,
|
|
547
|
-
Bottom,
|
|
548
|
-
InsideH,
|
|
549
|
-
InsideV,
|
|
550
|
-
}
|
|
551
|
-
/**
|
|
552
|
-
*/
|
|
553
|
-
export enum TableCellBorderPosition {
|
|
554
|
-
Left,
|
|
555
|
-
Right,
|
|
556
|
-
Top,
|
|
557
|
-
Bottom,
|
|
558
|
-
InsideH,
|
|
559
|
-
InsideV,
|
|
560
|
-
Tl2br,
|
|
561
|
-
Tr2bl,
|
|
562
|
-
}
|
|
563
|
-
/**
|
|
564
|
-
*/
|
|
565
|
-
export enum ParagraphBorderPosition {
|
|
566
|
-
Left,
|
|
567
|
-
Right,
|
|
568
|
-
Top,
|
|
569
|
-
Bottom,
|
|
570
|
-
Between,
|
|
571
|
-
Bar,
|
|
572
|
-
}
|
|
573
|
-
/**
|
|
574
|
-
*/
|
|
575
575
|
export class AbstractNumbering {
|
|
576
576
|
free(): void;
|
|
577
577
|
/**
|
|
@@ -505,12 +505,24 @@ function getArrayU8FromWasm0(ptr, len) {
|
|
|
505
505
|
}
|
|
506
506
|
/**
|
|
507
507
|
*/
|
|
508
|
-
export const
|
|
508
|
+
export const FieldCharType = Object.freeze({ Begin:0,"0":"Begin",Separate:1,"1":"Separate",End:2,"2":"End",Unsupported:3,"3":"Unsupported", });
|
|
509
|
+
/**
|
|
510
|
+
*/
|
|
511
|
+
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", });
|
|
512
|
+
/**
|
|
513
|
+
*/
|
|
514
|
+
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", });
|
|
515
|
+
/**
|
|
516
|
+
*/
|
|
517
|
+
export const VertAlignType = Object.freeze({ Baseline:0,"0":"Baseline",SuperScript:1,"1":"SuperScript",SubScript:2,"2":"SubScript",Unsupported:3,"3":"Unsupported", });
|
|
509
518
|
/**
|
|
510
519
|
*/
|
|
511
520
|
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", });
|
|
512
521
|
/**
|
|
513
522
|
*/
|
|
523
|
+
export const DocGridType = Object.freeze({ Default:0,"0":"Default",Lines:1,"1":"Lines",LinesAndChars:2,"2":"LinesAndChars",SnapToChars:3,"3":"SnapToChars", });
|
|
524
|
+
/**
|
|
525
|
+
*/
|
|
514
526
|
export const DrawingPositionType = Object.freeze({ Anchor:0,"0":"Anchor",Inline:1,"1":"Inline", });
|
|
515
527
|
/**
|
|
516
528
|
*/
|
|
@@ -520,30 +532,60 @@ export const PicAlign = Object.freeze({ Left:0,"0":"Left",Right:1,"1":"Right",Ce
|
|
|
520
532
|
export const HyperlinkType = Object.freeze({ Anchor:0,"0":"Anchor",External:1,"1":"External", });
|
|
521
533
|
/**
|
|
522
534
|
*/
|
|
535
|
+
export const PageOrientationType = Object.freeze({ Landscape:0,"0":"Landscape",Portrait:1,"1":"Portrait", });
|
|
536
|
+
/**
|
|
537
|
+
*/
|
|
523
538
|
export const PositionalTabAlignmentType = Object.freeze({ Center:0,"0":"Center",Left:1,"1":"Left",Right:2,"2":"Right", });
|
|
524
539
|
/**
|
|
525
540
|
*/
|
|
526
|
-
export const
|
|
541
|
+
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", });
|
|
527
542
|
/**
|
|
528
543
|
*/
|
|
529
|
-
export const
|
|
544
|
+
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", });
|
|
530
545
|
/**
|
|
531
546
|
*/
|
|
532
|
-
export const
|
|
547
|
+
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", });
|
|
548
|
+
/**
|
|
549
|
+
*/
|
|
550
|
+
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", });
|
|
551
|
+
/**
|
|
552
|
+
*/
|
|
553
|
+
export const CharacterSpacingValues = Object.freeze({ DoNotCompress:0,"0":"DoNotCompress",CompressPunctuation:1,"1":"CompressPunctuation",CompressPunctuationAndJapaneseKana:2,"2":"CompressPunctuationAndJapaneseKana",Unsupported:3,"3":"Unsupported", });
|
|
533
554
|
/**
|
|
534
555
|
*/
|
|
535
556
|
export const LineSpacingType = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
|
|
536
557
|
/**
|
|
537
558
|
*/
|
|
538
|
-
export const
|
|
559
|
+
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", });
|
|
539
560
|
/**
|
|
540
561
|
*/
|
|
541
|
-
export const
|
|
562
|
+
export const TableAlignmentType = Object.freeze({ Center:0,"0":"Center",Left:1,"1":"Left",Right:2,"2":"Right", });
|
|
563
|
+
/**
|
|
564
|
+
*/
|
|
565
|
+
export const PositionalTabRelativeTo = Object.freeze({ Indent:0,"0":"Indent",Margin:1,"1":"Margin", });
|
|
566
|
+
/**
|
|
567
|
+
*/
|
|
568
|
+
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", });
|
|
569
|
+
/**
|
|
570
|
+
*/
|
|
571
|
+
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", });
|
|
572
|
+
/**
|
|
573
|
+
*/
|
|
574
|
+
export const VMergeType = Object.freeze({ Continue:0,"0":"Continue",Restart:1,"1":"Restart",Unsupported:2,"2":"Unsupported", });
|
|
575
|
+
/**
|
|
576
|
+
*/
|
|
577
|
+
export const BreakType = Object.freeze({ Page:0,"0":"Page",Column:1,"1":"Column",TextWrapping:2,"2":"TextWrapping",Unsupported:3,"3":"Unsupported", });
|
|
578
|
+
/**
|
|
579
|
+
*/
|
|
580
|
+
export const FontPitchType = Object.freeze({ Default:0,"0":"Default",Fixed:1,"1":"Fixed",Variable:2,"2":"Variable", });
|
|
542
581
|
/**
|
|
543
582
|
*/
|
|
544
583
|
export const HeightRule = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
|
|
545
584
|
/**
|
|
546
585
|
*/
|
|
586
|
+
export const LevelSuffixType = Object.freeze({ Nothing:0,"0":"Nothing",Space:1,"1":"Space",Tab:2,"2":"Tab", });
|
|
587
|
+
/**
|
|
588
|
+
*/
|
|
547
589
|
export const RelativeFromHType = Object.freeze({
|
|
548
590
|
/**
|
|
549
591
|
* Specifies that the horizontal positioning shall be
|
|
@@ -594,66 +636,24 @@ RightMargin:7,"7":"RightMargin", });
|
|
|
594
636
|
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", });
|
|
595
637
|
/**
|
|
596
638
|
*/
|
|
597
|
-
export const
|
|
598
|
-
/**
|
|
599
|
-
*/
|
|
600
|
-
export const VertAlignType = Object.freeze({ Baseline:0,"0":"Baseline",SuperScript:1,"1":"SuperScript",SubScript:2,"2":"SubScript",Unsupported:3,"3":"Unsupported", });
|
|
639
|
+
export const SectionType = Object.freeze({ NextPage:0,"0":"NextPage",NextColumn:1,"1":"NextColumn",Continuous:2,"2":"Continuous",EvenPage:3,"3":"EvenPage",OddPage:4,"4":"OddPage", });
|
|
601
640
|
/**
|
|
602
641
|
*/
|
|
603
|
-
export const
|
|
642
|
+
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", });
|
|
604
643
|
/**
|
|
605
644
|
*/
|
|
606
645
|
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", });
|
|
607
646
|
/**
|
|
608
647
|
*/
|
|
609
|
-
export const PageOrientationType = Object.freeze({ Landscape:0,"0":"Landscape",Portrait:1,"1":"Portrait", });
|
|
610
|
-
/**
|
|
611
|
-
*/
|
|
612
648
|
export const SpecialIndentKind = Object.freeze({ FirstLine:0,"0":"FirstLine",Hanging:1,"1":"Hanging", });
|
|
613
649
|
/**
|
|
614
650
|
*/
|
|
615
|
-
export const
|
|
651
|
+
export const TableLayoutType = Object.freeze({ Fixed:0,"0":"Fixed",Autofit:1,"1":"Autofit", });
|
|
616
652
|
/**
|
|
617
653
|
*/
|
|
618
654
|
export const VAlignType = Object.freeze({ Top:0,"0":"Top",Center:1,"1":"Center",Bottom:2,"2":"Bottom",Unsupported:3,"3":"Unsupported", });
|
|
619
655
|
/**
|
|
620
656
|
*/
|
|
621
|
-
export const BreakType = Object.freeze({ Page:0,"0":"Page",Column:1,"1":"Column",TextWrapping:2,"2":"TextWrapping",Unsupported:3,"3":"Unsupported", });
|
|
622
|
-
/**
|
|
623
|
-
*/
|
|
624
|
-
export const DocGridType = Object.freeze({ Default:0,"0":"Default",Lines:1,"1":"Lines",LinesAndChars:2,"2":"LinesAndChars",SnapToChars:3,"3":"SnapToChars", });
|
|
625
|
-
/**
|
|
626
|
-
*/
|
|
627
|
-
export const PositionalTabRelativeTo = Object.freeze({ Indent:0,"0":"Indent",Margin:1,"1":"Margin", });
|
|
628
|
-
/**
|
|
629
|
-
*/
|
|
630
|
-
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", });
|
|
631
|
-
/**
|
|
632
|
-
*/
|
|
633
|
-
export const FieldCharType = Object.freeze({ Begin:0,"0":"Begin",Separate:1,"1":"Separate",End:2,"2":"End",Unsupported:3,"3":"Unsupported", });
|
|
634
|
-
/**
|
|
635
|
-
*/
|
|
636
|
-
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", });
|
|
637
|
-
/**
|
|
638
|
-
*/
|
|
639
|
-
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", });
|
|
640
|
-
/**
|
|
641
|
-
*/
|
|
642
|
-
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", });
|
|
643
|
-
/**
|
|
644
|
-
*/
|
|
645
|
-
export const VMergeType = Object.freeze({ Continue:0,"0":"Continue",Restart:1,"1":"Restart",Unsupported:2,"2":"Unsupported", });
|
|
646
|
-
/**
|
|
647
|
-
*/
|
|
648
|
-
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", });
|
|
649
|
-
/**
|
|
650
|
-
*/
|
|
651
|
-
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", });
|
|
652
|
-
/**
|
|
653
|
-
*/
|
|
654
|
-
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", });
|
|
655
|
-
/**
|
|
656
|
-
*/
|
|
657
657
|
export class AbstractNumbering {
|
|
658
658
|
|
|
659
659
|
static __wrap(ptr) {
|
|
Binary file
|