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 {LatentStyleExceptionAttributes} from "./attributes";
export class LatentStyleException implements XmlComponent {
private lsdException: Array<XmlComponent>;
xmlKeys = {
lsdException: "w:lsdException"
}
export class LatentStyleException extends XmlComponent {
constructor(attributes: LatentStyleExceptionAttributes) {
this.lsdException = new Array<XmlComponent>();
this.lsdException.push(attributes);
super("w:lsdException");
this.root.push(attributes);
}
}