Files
docx-js/src/file/styles/defaults/run-properties.ts

11 lines
350 B
TypeScript
Raw Normal View History

import { IRunStylePropertiesOptions, RunProperties } from "file/paragraph/run/properties";
import { XmlComponent } from "file/xml-components";
2016-04-09 02:04:53 +01:00
2016-04-09 20:16:35 +01:00
export class RunPropertiesDefaults extends XmlComponent {
constructor(options?: IRunStylePropertiesOptions) {
2016-04-09 20:16:35 +01:00
super("w:rPrDefault");
2021-03-09 01:37:22 +00:00
this.root.push(new RunProperties(options));
}
2017-03-09 09:45:01 +01:00
}