added styles

This commit is contained in:
Dolan Miu
2016-04-09 02:04:53 +01:00
parent e9696927bc
commit bf928393b5
9 changed files with 125 additions and 1 deletions

View File

@ -0,0 +1,18 @@
import {XmlComponent} from "../../docx/xml-components";
import {LatentStyleException} from "./exceptions";
export class LatentStyles implements XmlComponent {
private latentStyles: Array<XmlComponent>;
xmlKeys = {
latentStyles: "w:latentStyles"
}
constructor() {
this.latentStyles = new Array<XmlComponent>();
}
push(latentException: LatentStyleException): void {
this.latentStyles.push(latentException);
}
}