2017-03-11 16:56:35 +00:00
|
|
|
import { XmlComponent } from "../../../xml-components";
|
2017-03-13 00:02:56 +00:00
|
|
|
import { Inline } from "./inline";
|
2017-03-11 16:56:35 +00:00
|
|
|
|
|
|
|
export class Drawing extends XmlComponent {
|
2017-03-12 21:30:46 +00:00
|
|
|
|
2017-03-12 23:31:43 +00:00
|
|
|
constructor(imagePath: string) {
|
2017-03-11 18:21:31 +00:00
|
|
|
super("w:drawing");
|
2017-03-13 00:02:56 +00:00
|
|
|
|
|
|
|
// store in the document, then get Id
|
|
|
|
|
|
|
|
this.root.push(new Inline(5));
|
2017-03-11 18:21:31 +00:00
|
|
|
}
|
2017-03-12 21:30:46 +00:00
|
|
|
}
|