Add more files for creating a drawing

This commit is contained in:
Dolan
2018-01-11 01:47:09 +00:00
parent 2d02f51f25
commit ca244bcfe1
15 changed files with 169 additions and 21 deletions

View File

@ -0,0 +1,13 @@
import { XmlComponent } from "file/xml-components";
import { Graphic } from "./graphic";
import { GraphicFrameProperties } from "./graphic-frame/graphic-frame-properties";
export class Inline extends XmlComponent {
constructor(referenceId: number) {
super("wp:inline");
this.root.push(new GraphicFrameProperties());
this.root.push(new Graphic(referenceId));
}
}