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