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 {ParagraphProperties} from "../../docx/paragraph/properties";
export class ParagraphPropertiesDefaults implements XmlComponent {
private pPrDefault: Array<XmlComponent>;
xmlKeys = {
pPrDefault: "w:pPrDefault"
}
export class ParagraphPropertiesDefaults extends XmlComponent {
constructor() {
this.pPrDefault = new Array<XmlComponent>();
this.pPrDefault.push(new ParagraphProperties());
super("w:pPrDefault");
this.root.push(new ParagraphProperties());
}
}