docx-wasm 0.0.257 → 0.0.258
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.
|
@@ -254,12 +254,6 @@ export enum FontPitchType {
|
|
|
254
254
|
}
|
|
255
255
|
/**
|
|
256
256
|
*/
|
|
257
|
-
export enum TableLayoutType {
|
|
258
|
-
Fixed,
|
|
259
|
-
Autofit,
|
|
260
|
-
}
|
|
261
|
-
/**
|
|
262
|
-
*/
|
|
263
257
|
export enum WidthType {
|
|
264
258
|
Dxa,
|
|
265
259
|
Auto,
|
|
@@ -360,6 +354,12 @@ export enum StyleType {
|
|
|
360
354
|
}
|
|
361
355
|
/**
|
|
362
356
|
*/
|
|
357
|
+
export enum TableLayoutType {
|
|
358
|
+
Fixed,
|
|
359
|
+
Autofit,
|
|
360
|
+
}
|
|
361
|
+
/**
|
|
362
|
+
*/
|
|
363
363
|
export enum DocGridType {
|
|
364
364
|
Default,
|
|
365
365
|
Lines,
|
|
@@ -389,13 +389,6 @@ export enum TabValueType {
|
|
|
389
389
|
}
|
|
390
390
|
/**
|
|
391
391
|
*/
|
|
392
|
-
export enum LineSpacingType {
|
|
393
|
-
Auto,
|
|
394
|
-
AtLeast,
|
|
395
|
-
Exact,
|
|
396
|
-
}
|
|
397
|
-
/**
|
|
398
|
-
*/
|
|
399
392
|
export enum ShdType {
|
|
400
393
|
Nil,
|
|
401
394
|
Clear,
|
|
@@ -460,6 +453,13 @@ export enum BreakType {
|
|
|
460
453
|
}
|
|
461
454
|
/**
|
|
462
455
|
*/
|
|
456
|
+
export enum LineSpacingType {
|
|
457
|
+
Auto,
|
|
458
|
+
AtLeast,
|
|
459
|
+
Exact,
|
|
460
|
+
}
|
|
461
|
+
/**
|
|
462
|
+
*/
|
|
463
463
|
export enum VAlignType {
|
|
464
464
|
Top,
|
|
465
465
|
Center,
|
|
@@ -447,9 +447,6 @@ module.exports.TabLeaderType = Object.freeze({ Dot:0,"0":"Dot",Heavy:1,"1":"Heav
|
|
|
447
447
|
module.exports.FontPitchType = Object.freeze({ Default:0,"0":"Default",Fixed:1,"1":"Fixed",Variable:2,"2":"Variable", });
|
|
448
448
|
/**
|
|
449
449
|
*/
|
|
450
|
-
module.exports.TableLayoutType = Object.freeze({ Fixed:0,"0":"Fixed",Autofit:1,"1":"Autofit", });
|
|
451
|
-
/**
|
|
452
|
-
*/
|
|
453
450
|
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", });
|
|
454
451
|
/**
|
|
455
452
|
*/
|
|
@@ -512,6 +509,9 @@ module.exports.RelativeFromVType = Object.freeze({ BottomMargin:0,"0":"BottomMar
|
|
|
512
509
|
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", });
|
|
513
510
|
/**
|
|
514
511
|
*/
|
|
512
|
+
module.exports.TableLayoutType = Object.freeze({ Fixed:0,"0":"Fixed",Autofit:1,"1":"Autofit", });
|
|
513
|
+
/**
|
|
514
|
+
*/
|
|
515
515
|
module.exports.DocGridType = Object.freeze({ Default:0,"0":"Default",Lines:1,"1":"Lines",LinesAndChars:2,"2":"LinesAndChars",SnapToChars:3,"3":"SnapToChars", });
|
|
516
516
|
/**
|
|
517
517
|
*/
|
|
@@ -521,9 +521,6 @@ module.exports.FieldCharType = Object.freeze({ Begin:0,"0":"Begin",Separate:1,"1
|
|
|
521
521
|
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", });
|
|
522
522
|
/**
|
|
523
523
|
*/
|
|
524
|
-
module.exports.LineSpacingType = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
|
|
525
|
-
/**
|
|
526
|
-
*/
|
|
527
524
|
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", });
|
|
528
525
|
/**
|
|
529
526
|
*/
|
|
@@ -533,6 +530,9 @@ module.exports.TextDirectionType = Object.freeze({ Lr:0,"0":"Lr",LrV:1,"1":"LrV"
|
|
|
533
530
|
module.exports.BreakType = Object.freeze({ Page:0,"0":"Page",Column:1,"1":"Column",TextWrapping:2,"2":"TextWrapping",Unsupported:3,"3":"Unsupported", });
|
|
534
531
|
/**
|
|
535
532
|
*/
|
|
533
|
+
module.exports.LineSpacingType = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
|
|
534
|
+
/**
|
|
535
|
+
*/
|
|
536
536
|
module.exports.VAlignType = Object.freeze({ Top:0,"0":"Top",Center:1,"1":"Center",Bottom:2,"2":"Bottom",Unsupported:3,"3":"Unsupported", });
|
|
537
537
|
/**
|
|
538
538
|
*/
|
|
Binary file
|
|
@@ -254,12 +254,6 @@ export enum FontPitchType {
|
|
|
254
254
|
}
|
|
255
255
|
/**
|
|
256
256
|
*/
|
|
257
|
-
export enum TableLayoutType {
|
|
258
|
-
Fixed,
|
|
259
|
-
Autofit,
|
|
260
|
-
}
|
|
261
|
-
/**
|
|
262
|
-
*/
|
|
263
257
|
export enum WidthType {
|
|
264
258
|
Dxa,
|
|
265
259
|
Auto,
|
|
@@ -360,6 +354,12 @@ export enum StyleType {
|
|
|
360
354
|
}
|
|
361
355
|
/**
|
|
362
356
|
*/
|
|
357
|
+
export enum TableLayoutType {
|
|
358
|
+
Fixed,
|
|
359
|
+
Autofit,
|
|
360
|
+
}
|
|
361
|
+
/**
|
|
362
|
+
*/
|
|
363
363
|
export enum DocGridType {
|
|
364
364
|
Default,
|
|
365
365
|
Lines,
|
|
@@ -389,13 +389,6 @@ export enum TabValueType {
|
|
|
389
389
|
}
|
|
390
390
|
/**
|
|
391
391
|
*/
|
|
392
|
-
export enum LineSpacingType {
|
|
393
|
-
Auto,
|
|
394
|
-
AtLeast,
|
|
395
|
-
Exact,
|
|
396
|
-
}
|
|
397
|
-
/**
|
|
398
|
-
*/
|
|
399
392
|
export enum ShdType {
|
|
400
393
|
Nil,
|
|
401
394
|
Clear,
|
|
@@ -460,6 +453,13 @@ export enum BreakType {
|
|
|
460
453
|
}
|
|
461
454
|
/**
|
|
462
455
|
*/
|
|
456
|
+
export enum LineSpacingType {
|
|
457
|
+
Auto,
|
|
458
|
+
AtLeast,
|
|
459
|
+
Exact,
|
|
460
|
+
}
|
|
461
|
+
/**
|
|
462
|
+
*/
|
|
463
463
|
export enum VAlignType {
|
|
464
464
|
Top,
|
|
465
465
|
Center,
|
|
@@ -448,9 +448,6 @@ export const TabLeaderType = Object.freeze({ Dot:0,"0":"Dot",Heavy:1,"1":"Heavy"
|
|
|
448
448
|
export const FontPitchType = Object.freeze({ Default:0,"0":"Default",Fixed:1,"1":"Fixed",Variable:2,"2":"Variable", });
|
|
449
449
|
/**
|
|
450
450
|
*/
|
|
451
|
-
export const TableLayoutType = Object.freeze({ Fixed:0,"0":"Fixed",Autofit:1,"1":"Autofit", });
|
|
452
|
-
/**
|
|
453
|
-
*/
|
|
454
451
|
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", });
|
|
455
452
|
/**
|
|
456
453
|
*/
|
|
@@ -513,6 +510,9 @@ export const RelativeFromVType = Object.freeze({ BottomMargin:0,"0":"BottomMargi
|
|
|
513
510
|
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", });
|
|
514
511
|
/**
|
|
515
512
|
*/
|
|
513
|
+
export const TableLayoutType = Object.freeze({ Fixed:0,"0":"Fixed",Autofit:1,"1":"Autofit", });
|
|
514
|
+
/**
|
|
515
|
+
*/
|
|
516
516
|
export const DocGridType = Object.freeze({ Default:0,"0":"Default",Lines:1,"1":"Lines",LinesAndChars:2,"2":"LinesAndChars",SnapToChars:3,"3":"SnapToChars", });
|
|
517
517
|
/**
|
|
518
518
|
*/
|
|
@@ -522,9 +522,6 @@ export const FieldCharType = Object.freeze({ Begin:0,"0":"Begin",Separate:1,"1":
|
|
|
522
522
|
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", });
|
|
523
523
|
/**
|
|
524
524
|
*/
|
|
525
|
-
export const LineSpacingType = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
|
|
526
|
-
/**
|
|
527
|
-
*/
|
|
528
525
|
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", });
|
|
529
526
|
/**
|
|
530
527
|
*/
|
|
@@ -534,6 +531,9 @@ export const TextDirectionType = Object.freeze({ Lr:0,"0":"Lr",LrV:1,"1":"LrV",R
|
|
|
534
531
|
export const BreakType = Object.freeze({ Page:0,"0":"Page",Column:1,"1":"Column",TextWrapping:2,"2":"TextWrapping",Unsupported:3,"3":"Unsupported", });
|
|
535
532
|
/**
|
|
536
533
|
*/
|
|
534
|
+
export const LineSpacingType = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
|
|
535
|
+
/**
|
|
536
|
+
*/
|
|
537
537
|
export const VAlignType = Object.freeze({ Top:0,"0":"Top",Center:1,"1":"Center",Bottom:2,"2":"Bottom",Unsupported:3,"3":"Unsupported", });
|
|
538
538
|
/**
|
|
539
539
|
*/
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "docx-wasm",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.258",
|
|
4
4
|
"main": "dist/node/index.js",
|
|
5
5
|
"browser": "dist/web/index.js",
|
|
6
6
|
"author": "bokuweb <bokuweb12@gmail.com>",
|
|
@@ -31,11 +31,11 @@
|
|
|
31
31
|
"cpy-cli": "4.1.0",
|
|
32
32
|
"file-saver": "2.0.5",
|
|
33
33
|
"html-webpack-plugin": "4.5.2",
|
|
34
|
-
"jest": "
|
|
34
|
+
"jest": "28.1.0",
|
|
35
35
|
"npm-run-all": "4.1.5",
|
|
36
36
|
"text-encoding": "0.7.0",
|
|
37
37
|
"ts-loader": "9.2.8",
|
|
38
|
-
"typescript": "4.6.
|
|
38
|
+
"typescript": "4.6.4",
|
|
39
39
|
"webpack": "4.46.0",
|
|
40
40
|
"webpack-cli": "3.3.12",
|
|
41
41
|
"webpack-dev-server": "3.11.3",
|