Got docx not crashing when adding image

This commit is contained in:
Dolan
2018-01-16 01:31:47 +00:00
parent f7c2072cff
commit 7c31b72f99
8 changed files with 101 additions and 4 deletions

View File

@ -0,0 +1,14 @@
import { XmlComponent } from "file/xml-components";
import { ExtentAttributes } from "./extent-attributes";
export class Extent extends XmlComponent {
constructor() {
super("wp:extent");
this.root.push(new ExtentAttributes({
cx: 3162300,
cy: 2857500,
}));
}
}