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

14 lines
334 B
TypeScript
Raw Normal View History

2017-03-09 09:45:01 +01:00
import { XmlComponent } from "../../docx/xml-components";
import { LatentStyleException } from "./exceptions";
2016-04-09 02:04:53 +01:00
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
2017-03-09 09:45:01 +01:00
public push(latentException: LatentStyleException): void {
2016-04-09 20:16:35 +01:00
this.root.push(latentException);
2016-04-09 02:04:53 +01:00
}
2017-03-09 09:45:01 +01:00
}