Files
docx-js/src/file/styles/defaults/run-properties.ts
2020-07-15 14:10:37 +08:00

13 lines
441 B
TypeScript

import { IRunStylePropertiesOptions, RunProperties } from "file/paragraph/run/properties";
import { XmlComponent } from "file/xml-components";
export class RunPropertiesDefaults extends XmlComponent {
private readonly properties: RunProperties;
constructor(options?: IRunStylePropertiesOptions) {
super("w:rPrDefault");
this.properties = new RunProperties(options);
this.root.push(this.properties);
}
}