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,16 @@
import { XmlComponent } from "file/xml-components";
import { EffectExtentAttributes } from "./effect-extent-attributes";
export class EffectExtent extends XmlComponent {
constructor() {
super("wp:effectExtent");
this.root.push(new EffectExtentAttributes({
b: 0,
l: 0,
r: 0,
t: 0,
}));
}
}