parent
2237ece46d
commit
146a6d799c
|
@ -227,6 +227,10 @@ export class Docx {
|
||||||
paragraph = paragraph.align(wasm.AlignmentType.Distribute);
|
paragraph = paragraph.align(wasm.AlignmentType.Distribute);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case "both": {
|
||||||
|
paragraph = paragraph.align(wasm.AlignmentType.Both);
|
||||||
|
break;
|
||||||
|
}
|
||||||
case "end": {
|
case "end": {
|
||||||
paragraph = paragraph.align(wasm.AlignmentType.End);
|
paragraph = paragraph.align(wasm.AlignmentType.End);
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -19,6 +19,7 @@ export type AlignmentType =
|
||||||
| "center"
|
| "center"
|
||||||
| "left"
|
| "left"
|
||||||
| "right"
|
| "right"
|
||||||
|
| "both"
|
||||||
| "justified"
|
| "justified"
|
||||||
| "distribute"
|
| "distribute"
|
||||||
| "end";
|
| "end";
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "docx-wasm",
|
"name": "docx-wasm",
|
||||||
"version": "0.0.81",
|
"version": "0.0.86",
|
||||||
"main": "dist/node/index.js",
|
"main": "dist/node/index.js",
|
||||||
"browser": "dist/web/index.js",
|
"browser": "dist/web/index.js",
|
||||||
"author": "bokuweb <bokuweb12@gmail.com>",
|
"author": "bokuweb <bokuweb12@gmail.com>",
|
||||||
|
|
Loading…
Reference in New Issue