Files
docx-js/src/file/drawing/inline/graphic/graphic-data/index.ts

11 lines
263 B
TypeScript
Raw Normal View History

2017-12-19 23:13:11 +00:00
import { XmlComponent } from "../../../../xml-components";
2017-03-13 00:02:56 +00:00
import { Pic } from "./pic";
2017-03-13 00:02:56 +00:00
export class GraphicData extends XmlComponent {
2017-03-13 00:02:56 +00:00
constructor(referenceId: number) {
super("a:graphicData");
2017-03-13 00:02:56 +00:00
this.root.push(new Pic(referenceId));
}
}