docx-wasm 0.0.270 → 0.0.271
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 +34 -34
- package/dist/node/pkg/docx_wasm.js +13 -13
- package/dist/node/pkg/docx_wasm_bg.wasm +0 -0
- package/dist/node/pkg/docx_wasm_bg.wasm.d.ts +1 -1
- package/dist/web/pkg/docx_wasm.d.ts +34 -34
- package/dist/web/pkg/docx_wasm_bg.js +13 -13
- package/dist/web/pkg/docx_wasm_bg.wasm +0 -0
- package/dist/web/pkg/docx_wasm_bg.wasm.d.ts +1 -1
- package/package.json +1 -1
|
@@ -311,13 +311,6 @@ export enum BorderType {
|
|
|
311
311
|
}
|
|
312
312
|
/**
|
|
313
313
|
*/
|
|
314
|
-
export enum FontPitchType {
|
|
315
|
-
Default,
|
|
316
|
-
Fixed,
|
|
317
|
-
Variable,
|
|
318
|
-
}
|
|
319
|
-
/**
|
|
320
|
-
*/
|
|
321
314
|
export enum PageOrientationType {
|
|
322
315
|
Landscape,
|
|
323
316
|
Portrait,
|
|
@@ -346,9 +339,10 @@ export enum TableAlignmentType {
|
|
|
346
339
|
}
|
|
347
340
|
/**
|
|
348
341
|
*/
|
|
349
|
-
export enum
|
|
342
|
+
export enum FontPitchType {
|
|
343
|
+
Default,
|
|
350
344
|
Fixed,
|
|
351
|
-
|
|
345
|
+
Variable,
|
|
352
346
|
}
|
|
353
347
|
/**
|
|
354
348
|
*/
|
|
@@ -383,6 +377,37 @@ export enum TableCellBorderPosition {
|
|
|
383
377
|
}
|
|
384
378
|
/**
|
|
385
379
|
*/
|
|
380
|
+
export enum StyleType {
|
|
381
|
+
Paragraph,
|
|
382
|
+
Character,
|
|
383
|
+
Numbering,
|
|
384
|
+
Table,
|
|
385
|
+
Unsupported,
|
|
386
|
+
}
|
|
387
|
+
/**
|
|
388
|
+
*/
|
|
389
|
+
export enum TableLayoutType {
|
|
390
|
+
Fixed,
|
|
391
|
+
Autofit,
|
|
392
|
+
}
|
|
393
|
+
/**
|
|
394
|
+
*/
|
|
395
|
+
export enum DocGridType {
|
|
396
|
+
Default,
|
|
397
|
+
Lines,
|
|
398
|
+
LinesAndChars,
|
|
399
|
+
SnapToChars,
|
|
400
|
+
}
|
|
401
|
+
/**
|
|
402
|
+
*/
|
|
403
|
+
export enum FieldCharType {
|
|
404
|
+
Begin,
|
|
405
|
+
Separate,
|
|
406
|
+
End,
|
|
407
|
+
Unsupported,
|
|
408
|
+
}
|
|
409
|
+
/**
|
|
410
|
+
*/
|
|
386
411
|
export enum RelativeFromHType {
|
|
387
412
|
/**
|
|
388
413
|
* Specifies that the horizontal positioning shall be
|
|
@@ -443,31 +468,6 @@ export enum RelativeFromVType {
|
|
|
443
468
|
}
|
|
444
469
|
/**
|
|
445
470
|
*/
|
|
446
|
-
export enum StyleType {
|
|
447
|
-
Paragraph,
|
|
448
|
-
Character,
|
|
449
|
-
Numbering,
|
|
450
|
-
Table,
|
|
451
|
-
Unsupported,
|
|
452
|
-
}
|
|
453
|
-
/**
|
|
454
|
-
*/
|
|
455
|
-
export enum DocGridType {
|
|
456
|
-
Default,
|
|
457
|
-
Lines,
|
|
458
|
-
LinesAndChars,
|
|
459
|
-
SnapToChars,
|
|
460
|
-
}
|
|
461
|
-
/**
|
|
462
|
-
*/
|
|
463
|
-
export enum FieldCharType {
|
|
464
|
-
Begin,
|
|
465
|
-
Separate,
|
|
466
|
-
End,
|
|
467
|
-
Unsupported,
|
|
468
|
-
}
|
|
469
|
-
/**
|
|
470
|
-
*/
|
|
471
471
|
export enum TabValueType {
|
|
472
472
|
Bar,
|
|
473
473
|
Center,
|
|
@@ -461,9 +461,6 @@ module.exports.VAlignType = Object.freeze({ Top:0,"0":"Top",Center:1,"1":"Center
|
|
|
461
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", });
|
|
462
462
|
/**
|
|
463
463
|
*/
|
|
464
|
-
module.exports.FontPitchType = Object.freeze({ Default:0,"0":"Default",Fixed:1,"1":"Fixed",Variable:2,"2":"Variable", });
|
|
465
|
-
/**
|
|
466
|
-
*/
|
|
467
464
|
module.exports.PageOrientationType = Object.freeze({ Landscape:0,"0":"Landscape",Portrait:1,"1":"Portrait", });
|
|
468
465
|
/**
|
|
469
466
|
*/
|
|
@@ -476,7 +473,7 @@ module.exports.SpecialIndentKind = Object.freeze({ FirstLine:0,"0":"FirstLine",H
|
|
|
476
473
|
module.exports.TableAlignmentType = Object.freeze({ Center:0,"0":"Center",Left:1,"1":"Left",Right:2,"2":"Right", });
|
|
477
474
|
/**
|
|
478
475
|
*/
|
|
479
|
-
module.exports.
|
|
476
|
+
module.exports.FontPitchType = Object.freeze({ Default:0,"0":"Default",Fixed:1,"1":"Fixed",Variable:2,"2":"Variable", });
|
|
480
477
|
/**
|
|
481
478
|
*/
|
|
482
479
|
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", });
|
|
@@ -488,6 +485,18 @@ module.exports.TableBorderPosition = Object.freeze({ Left:0,"0":"Left",Right:1,"
|
|
|
488
485
|
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", });
|
|
489
486
|
/**
|
|
490
487
|
*/
|
|
488
|
+
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", });
|
|
489
|
+
/**
|
|
490
|
+
*/
|
|
491
|
+
module.exports.TableLayoutType = Object.freeze({ Fixed:0,"0":"Fixed",Autofit:1,"1":"Autofit", });
|
|
492
|
+
/**
|
|
493
|
+
*/
|
|
494
|
+
module.exports.DocGridType = Object.freeze({ Default:0,"0":"Default",Lines:1,"1":"Lines",LinesAndChars:2,"2":"LinesAndChars",SnapToChars:3,"3":"SnapToChars", });
|
|
495
|
+
/**
|
|
496
|
+
*/
|
|
497
|
+
module.exports.FieldCharType = Object.freeze({ Begin:0,"0":"Begin",Separate:1,"1":"Separate",End:2,"2":"End",Unsupported:3,"3":"Unsupported", });
|
|
498
|
+
/**
|
|
499
|
+
*/
|
|
491
500
|
module.exports.RelativeFromHType = Object.freeze({
|
|
492
501
|
/**
|
|
493
502
|
* Specifies that the horizontal positioning shall be
|
|
@@ -538,15 +547,6 @@ RightMargin:7,"7":"RightMargin", });
|
|
|
538
547
|
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", });
|
|
539
548
|
/**
|
|
540
549
|
*/
|
|
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", });
|
|
542
|
-
/**
|
|
543
|
-
*/
|
|
544
|
-
module.exports.DocGridType = Object.freeze({ Default:0,"0":"Default",Lines:1,"1":"Lines",LinesAndChars:2,"2":"LinesAndChars",SnapToChars:3,"3":"SnapToChars", });
|
|
545
|
-
/**
|
|
546
|
-
*/
|
|
547
|
-
module.exports.FieldCharType = Object.freeze({ Begin:0,"0":"Begin",Separate:1,"1":"Separate",End:2,"2":"End",Unsupported:3,"3":"Unsupported", });
|
|
548
|
-
/**
|
|
549
|
-
*/
|
|
550
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
|
*/
|
|
Binary file
|
|
@@ -258,8 +258,8 @@ export function pagemargin_right(a: number, b: number): number;
|
|
|
258
258
|
export function pagemargin_header(a: number, b: number): number;
|
|
259
259
|
export function pagemargin_footer(a: number, b: number): number;
|
|
260
260
|
export function pagemargin_gutter(a: number, b: number): number;
|
|
261
|
-
export function __wbg_tablecellproperty_free(a: number): void;
|
|
262
261
|
export function __wbg_tableproperty_free(a: number): void;
|
|
262
|
+
export function __wbg_tablecellproperty_free(a: number): void;
|
|
263
263
|
export function __wbindgen_add_to_stack_pointer(a: number): number;
|
|
264
264
|
export function __wbindgen_malloc(a: number): number;
|
|
265
265
|
export function __wbindgen_free(a: number, b: number): void;
|
|
@@ -311,13 +311,6 @@ export enum BorderType {
|
|
|
311
311
|
}
|
|
312
312
|
/**
|
|
313
313
|
*/
|
|
314
|
-
export enum FontPitchType {
|
|
315
|
-
Default,
|
|
316
|
-
Fixed,
|
|
317
|
-
Variable,
|
|
318
|
-
}
|
|
319
|
-
/**
|
|
320
|
-
*/
|
|
321
314
|
export enum PageOrientationType {
|
|
322
315
|
Landscape,
|
|
323
316
|
Portrait,
|
|
@@ -346,9 +339,10 @@ export enum TableAlignmentType {
|
|
|
346
339
|
}
|
|
347
340
|
/**
|
|
348
341
|
*/
|
|
349
|
-
export enum
|
|
342
|
+
export enum FontPitchType {
|
|
343
|
+
Default,
|
|
350
344
|
Fixed,
|
|
351
|
-
|
|
345
|
+
Variable,
|
|
352
346
|
}
|
|
353
347
|
/**
|
|
354
348
|
*/
|
|
@@ -383,6 +377,37 @@ export enum TableCellBorderPosition {
|
|
|
383
377
|
}
|
|
384
378
|
/**
|
|
385
379
|
*/
|
|
380
|
+
export enum StyleType {
|
|
381
|
+
Paragraph,
|
|
382
|
+
Character,
|
|
383
|
+
Numbering,
|
|
384
|
+
Table,
|
|
385
|
+
Unsupported,
|
|
386
|
+
}
|
|
387
|
+
/**
|
|
388
|
+
*/
|
|
389
|
+
export enum TableLayoutType {
|
|
390
|
+
Fixed,
|
|
391
|
+
Autofit,
|
|
392
|
+
}
|
|
393
|
+
/**
|
|
394
|
+
*/
|
|
395
|
+
export enum DocGridType {
|
|
396
|
+
Default,
|
|
397
|
+
Lines,
|
|
398
|
+
LinesAndChars,
|
|
399
|
+
SnapToChars,
|
|
400
|
+
}
|
|
401
|
+
/**
|
|
402
|
+
*/
|
|
403
|
+
export enum FieldCharType {
|
|
404
|
+
Begin,
|
|
405
|
+
Separate,
|
|
406
|
+
End,
|
|
407
|
+
Unsupported,
|
|
408
|
+
}
|
|
409
|
+
/**
|
|
410
|
+
*/
|
|
386
411
|
export enum RelativeFromHType {
|
|
387
412
|
/**
|
|
388
413
|
* Specifies that the horizontal positioning shall be
|
|
@@ -443,31 +468,6 @@ export enum RelativeFromVType {
|
|
|
443
468
|
}
|
|
444
469
|
/**
|
|
445
470
|
*/
|
|
446
|
-
export enum StyleType {
|
|
447
|
-
Paragraph,
|
|
448
|
-
Character,
|
|
449
|
-
Numbering,
|
|
450
|
-
Table,
|
|
451
|
-
Unsupported,
|
|
452
|
-
}
|
|
453
|
-
/**
|
|
454
|
-
*/
|
|
455
|
-
export enum DocGridType {
|
|
456
|
-
Default,
|
|
457
|
-
Lines,
|
|
458
|
-
LinesAndChars,
|
|
459
|
-
SnapToChars,
|
|
460
|
-
}
|
|
461
|
-
/**
|
|
462
|
-
*/
|
|
463
|
-
export enum FieldCharType {
|
|
464
|
-
Begin,
|
|
465
|
-
Separate,
|
|
466
|
-
End,
|
|
467
|
-
Unsupported,
|
|
468
|
-
}
|
|
469
|
-
/**
|
|
470
|
-
*/
|
|
471
471
|
export enum TabValueType {
|
|
472
472
|
Bar,
|
|
473
473
|
Center,
|
|
@@ -462,9 +462,6 @@ export const VAlignType = Object.freeze({ Top:0,"0":"Top",Center:1,"1":"Center",
|
|
|
462
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", });
|
|
463
463
|
/**
|
|
464
464
|
*/
|
|
465
|
-
export const FontPitchType = Object.freeze({ Default:0,"0":"Default",Fixed:1,"1":"Fixed",Variable:2,"2":"Variable", });
|
|
466
|
-
/**
|
|
467
|
-
*/
|
|
468
465
|
export const PageOrientationType = Object.freeze({ Landscape:0,"0":"Landscape",Portrait:1,"1":"Portrait", });
|
|
469
466
|
/**
|
|
470
467
|
*/
|
|
@@ -477,7 +474,7 @@ export const SpecialIndentKind = Object.freeze({ FirstLine:0,"0":"FirstLine",Han
|
|
|
477
474
|
export const TableAlignmentType = Object.freeze({ Center:0,"0":"Center",Left:1,"1":"Left",Right:2,"2":"Right", });
|
|
478
475
|
/**
|
|
479
476
|
*/
|
|
480
|
-
export const
|
|
477
|
+
export const FontPitchType = Object.freeze({ Default:0,"0":"Default",Fixed:1,"1":"Fixed",Variable:2,"2":"Variable", });
|
|
481
478
|
/**
|
|
482
479
|
*/
|
|
483
480
|
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", });
|
|
@@ -489,6 +486,18 @@ export const TableBorderPosition = Object.freeze({ Left:0,"0":"Left",Right:1,"1"
|
|
|
489
486
|
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", });
|
|
490
487
|
/**
|
|
491
488
|
*/
|
|
489
|
+
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", });
|
|
490
|
+
/**
|
|
491
|
+
*/
|
|
492
|
+
export const TableLayoutType = Object.freeze({ Fixed:0,"0":"Fixed",Autofit:1,"1":"Autofit", });
|
|
493
|
+
/**
|
|
494
|
+
*/
|
|
495
|
+
export const DocGridType = Object.freeze({ Default:0,"0":"Default",Lines:1,"1":"Lines",LinesAndChars:2,"2":"LinesAndChars",SnapToChars:3,"3":"SnapToChars", });
|
|
496
|
+
/**
|
|
497
|
+
*/
|
|
498
|
+
export const FieldCharType = Object.freeze({ Begin:0,"0":"Begin",Separate:1,"1":"Separate",End:2,"2":"End",Unsupported:3,"3":"Unsupported", });
|
|
499
|
+
/**
|
|
500
|
+
*/
|
|
492
501
|
export const RelativeFromHType = Object.freeze({
|
|
493
502
|
/**
|
|
494
503
|
* Specifies that the horizontal positioning shall be
|
|
@@ -539,15 +548,6 @@ RightMargin:7,"7":"RightMargin", });
|
|
|
539
548
|
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", });
|
|
540
549
|
/**
|
|
541
550
|
*/
|
|
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", });
|
|
543
|
-
/**
|
|
544
|
-
*/
|
|
545
|
-
export const DocGridType = Object.freeze({ Default:0,"0":"Default",Lines:1,"1":"Lines",LinesAndChars:2,"2":"LinesAndChars",SnapToChars:3,"3":"SnapToChars", });
|
|
546
|
-
/**
|
|
547
|
-
*/
|
|
548
|
-
export const FieldCharType = Object.freeze({ Begin:0,"0":"Begin",Separate:1,"1":"Separate",End:2,"2":"End",Unsupported:3,"3":"Unsupported", });
|
|
549
|
-
/**
|
|
550
|
-
*/
|
|
551
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
|
*/
|
|
Binary file
|
|
@@ -258,8 +258,8 @@ export function pagemargin_right(a: number, b: number): number;
|
|
|
258
258
|
export function pagemargin_header(a: number, b: number): number;
|
|
259
259
|
export function pagemargin_footer(a: number, b: number): number;
|
|
260
260
|
export function pagemargin_gutter(a: number, b: number): number;
|
|
261
|
-
export function __wbg_tablecellproperty_free(a: number): void;
|
|
262
261
|
export function __wbg_tableproperty_free(a: number): void;
|
|
262
|
+
export function __wbg_tablecellproperty_free(a: number): void;
|
|
263
263
|
export function __wbindgen_add_to_stack_pointer(a: number): number;
|
|
264
264
|
export function __wbindgen_malloc(a: number): number;
|
|
265
265
|
export function __wbindgen_free(a: number, b: number): void;
|