2018-01-12 00:12:39 +00:00
|
|
|
// http://officeopenxml.com/drwPic.php
|
2018-01-11 01:47:09 +00:00
|
|
|
import { XmlComponent } from "file/xml-components";
|
|
|
|
import { BlipFill } from "./blip/blip-fill";
|
|
|
|
import { NonVisualPicProperties } from "./non-visual-pic-properties/non-visual-pic-properties";
|
2018-01-12 00:12:39 +00:00
|
|
|
import { ShapeProperties } from "./shape-properties/shape-properties";
|
2018-01-11 01:47:09 +00:00
|
|
|
|
|
|
|
export class Pic extends XmlComponent {
|
|
|
|
|
|
|
|
constructor(referenceId: number) {
|
|
|
|
super("pic:pic");
|
|
|
|
|
|
|
|
this.root.push(new NonVisualPicProperties());
|
|
|
|
this.root.push(new BlipFill(referenceId));
|
2018-01-12 00:12:39 +00:00
|
|
|
this.root.push(new ShapeProperties());
|
2018-01-11 01:47:09 +00:00
|
|
|
}
|
|
|
|
}
|