added styles
This commit is contained in:
18
ts/styles/latent-styles/index.ts
Normal file
18
ts/styles/latent-styles/index.ts
Normal 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);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user