2018-01-11 01:47:09 +00:00
|
|
|
import { XmlComponent } from "file/xml-components";
|
|
|
|
import { Graphic } from "./graphic";
|
|
|
|
import { GraphicFrameProperties } from "./graphic-frame/graphic-frame-properties";
|
2018-01-16 00:43:00 +00:00
|
|
|
import { InlineAttributes } from "./inline-attributes";
|
2018-01-11 01:47:09 +00:00
|
|
|
|
|
|
|
export class Inline extends XmlComponent {
|
|
|
|
|
|
|
|
constructor(referenceId: number) {
|
|
|
|
super("wp:inline");
|
|
|
|
|
2018-01-16 00:43:00 +00:00
|
|
|
this.root.push(new InlineAttributes({
|
|
|
|
distT: 0,
|
|
|
|
distB: 0,
|
|
|
|
distL: 0,
|
|
|
|
distR: 0,
|
|
|
|
}));
|
|
|
|
|
2018-01-11 01:47:09 +00:00
|
|
|
this.root.push(new GraphicFrameProperties());
|
|
|
|
this.root.push(new Graphic(referenceId));
|
|
|
|
}
|
|
|
|
}
|