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,15 @@
import { XmlComponent } from "file/xml-components";
import { DocPropertiesAttributes } from "./doc-properties-attributes";
export class DocProperties extends XmlComponent {
constructor() {
super("wp:docPr");
this.root.push(new DocPropertiesAttributes({
id: 0,
name: "",
descr: "",
}));
}
}