Files
docx-js/ts/styles/latent-styles/index.ts

13 lines
322 B
TypeScript
Raw Normal View History

2016-04-09 02:04:53 +01:00
import {XmlComponent} from "../../docx/xml-components";
import {LatentStyleException} from "./exceptions";
2016-04-09 20:16:35 +01:00
export class LatentStyles extends XmlComponent {
2016-05-26 15:08:34 +01:00
2016-04-09 02:04:53 +01:00
constructor() {
2016-04-09 20:16:35 +01:00
super("w:latentStyles");
2016-04-09 02:04:53 +01:00
}
2016-05-26 15:08:34 +01:00
2016-04-09 02:04:53 +01:00
push(latentException: LatentStyleException): void {
2016-04-09 20:16:35 +01:00
this.root.push(latentException);
2016-04-09 02:04:53 +01:00
}
}