now extends XmlComponent

This commit is contained in:
Dolan Miu
2016-04-09 20:16:35 +01:00
parent 84610bd72f
commit f68a2aff56
33 changed files with 180 additions and 371 deletions

View File

@ -1,15 +1,10 @@
import {XmlComponent} from "../../docx/xml-components";
import {RunProperties} from "../../docx/run/properties";
export class RunPropertiesDefaults implements XmlComponent {
private rPrDefault: Array<XmlComponent>;
xmlKeys = {
rPrDefault: "w:rPrDefault"
}
export class RunPropertiesDefaults extends XmlComponent {
constructor() {
this.rPrDefault = new Array<XmlComponent>();
this.rPrDefault.push(new RunProperties());
super("w:rPrDefault");
this.root.push(new RunProperties());
}
}