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

13 lines
441 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 {
2018-01-29 01:55:25 +00:00
private readonly properties: RunProperties;
2016-04-09 20:16:35 +01:00
constructor(options?: IRunStylePropertiesOptions) {
2016-04-09 20:16:35 +01:00
super("w:rPrDefault");
this.properties = new RunProperties(options);
this.root.push(this.properties);
}
2017-03-09 09:45:01 +01:00
}