2022-06-26 23:26:42 +01:00
|
|
|
import { IParagraphStylePropertiesOptions, ParagraphProperties } from "@file/paragraph/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 ParagraphPropertiesDefaults extends XmlComponent {
|
2020-07-11 17:01:32 +08:00
|
|
|
constructor(options?: IParagraphStylePropertiesOptions) {
|
2016-04-09 20:16:35 +01:00
|
|
|
super("w:pPrDefault");
|
2020-07-11 17:01:32 +08:00
|
|
|
this.root.push(new ParagraphProperties(options));
|
2016-04-09 02:04:53 +01:00
|
|
|
}
|
2017-03-09 09:45:01 +01:00
|
|
|
}
|