2018-01-16 00:43:00 +00:00
|
|
|
import { XmlComponent } from "file/xml-components";
|
|
|
|
import { GraphicDataAttributes } from "./graphic-data-attribute";
|
|
|
|
import { Pic } from "./pic";
|
|
|
|
|
|
|
|
export class GraphicData extends XmlComponent {
|
|
|
|
|
2018-01-22 20:42:57 +00:00
|
|
|
constructor(referenceId: number, x: number, y: number) {
|
2018-01-16 00:43:00 +00:00
|
|
|
super("a:graphicData");
|
|
|
|
|
|
|
|
this.root.push(new GraphicDataAttributes({
|
|
|
|
uri: "http://schemas.openxmlformats.org/drawingml/2006/picture",
|
|
|
|
}));
|
|
|
|
|
2018-01-22 20:42:57 +00:00
|
|
|
this.root.push(new Pic(referenceId, x, y));
|
2018-01-16 00:43:00 +00:00
|
|
|
}
|
|
|
|
}
|