Progress on embeddding image

This commit is contained in:
Dolan
2018-01-16 00:43:00 +00:00
parent 392db1cd11
commit f7c2072cff
12 changed files with 76 additions and 13 deletions

View File

@ -0,0 +1,16 @@
import { XmlComponent } from "file/xml-components";
import { GraphicDataAttributes } from "./graphic-data-attribute";
import { Pic } from "./pic";
export class GraphicData extends XmlComponent {
constructor(referenceId: number) {
super("a:graphicData");
this.root.push(new GraphicDataAttributes({
uri: "http://schemas.openxmlformats.org/drawingml/2006/picture",
}));
this.root.push(new Pic(referenceId));
}
}