2016-04-09 02:04:53 +01:00
|
|
|
import {XmlComponent} from "../../docx/xml-components";
|
|
|
|
import {ParagraphPropertiesDefaults} from "./paragraph-properties";
|
|
|
|
import {RunPropertiesDefaults} from "./run-properties";
|
|
|
|
|
2016-04-09 20:16:35 +01:00
|
|
|
export class DocumentDefaults extends XmlComponent {
|
2016-04-09 02:04:53 +01:00
|
|
|
|
2016-05-08 17:01:20 +01:00
|
|
|
constructor(runPropertiesDefaults: RunPropertiesDefaults, paragraphPropertiesDefaults: ParagraphPropertiesDefaults) {
|
2016-04-09 20:16:35 +01:00
|
|
|
super("w:docDefaults");
|
2016-05-08 17:01:20 +01:00
|
|
|
this.root.push(runPropertiesDefaults);
|
|
|
|
this.root.push(paragraphPropertiesDefaults);
|
2016-04-09 02:04:53 +01:00
|
|
|
}
|
|
|
|
}
|