Re-order package

This commit is contained in:
Dolan
2017-12-19 23:13:11 +00:00
parent 49fc28d86c
commit df6c7cf19f
43 changed files with 51 additions and 52 deletions

16
src/docx/drawing/index.ts Normal file
View File

@ -0,0 +1,16 @@
import { XmlComponent } from "../../docx/xml-components";
import { IData } from "../../media/data";
import { Inline } from "./inline";
export class Drawing extends XmlComponent {
constructor(imageData: IData) {
super("w:drawing");
if (imageData === undefined) {
throw new Error("imageData cannot be undefined");
}
this.root.push(new Inline(imageData.referenceId));
}
}