2020-07-11 17:01:32 +08:00
|
|
|
import { IRunStylePropertiesOptions, RunProperties } from "file/paragraph/run/properties";
|
2017-12-30 20:25:16 +00:00
|
|
|
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
|
|
|
|
2020-07-11 17:01:32 +08:00
|
|
|
constructor(options?: IRunStylePropertiesOptions) {
|
2016-04-09 20:16:35 +01:00
|
|
|
super("w:rPrDefault");
|
2020-07-11 17:01:32 +08:00
|
|
|
this.properties = new RunProperties(options);
|
2017-09-16 08:24:15 -06:00
|
|
|
this.root.push(this.properties);
|
|
|
|
}
|
2017-03-09 09:45:01 +01:00
|
|
|
}
|