docx
Version:
Easily generate .docx files with JS/TS with a nice declarative API. Works for Node and on the Browser.
13 lines (10 loc) • 341 B
text/typescript
import { XmlComponent } from "file/xml-components";
import { LatentStyleException } from "./exceptions";
export class LatentStyles extends XmlComponent {
constructor(latentException?: LatentStyleException) {
super("w:latentStyles");
if (latentException) {
this.root.push(latentException);
}
}
}