docx
Version:
Easily generate .docx files with JS/TS with a nice declarative API. Works for Node and on the Browser.
11 lines (8 loc) • 350 B
text/typescript
import { IRunStylePropertiesOptions, RunProperties } from "file/paragraph/run/properties";
import { XmlComponent } from "file/xml-components";
export class RunPropertiesDefaults extends XmlComponent {
constructor(options?: IRunStylePropertiesOptions) {
super("w:rPrDefault");
this.root.push(new RunProperties(options));
}
}