now extends XmlComponent
This commit is contained in:
@ -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());
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user