Files
docx-js/ts/styles/defaults/index.ts
2016-05-08 17:01:20 +01:00

12 lines
500 B
TypeScript

import {XmlComponent} from "../../docx/xml-components";
import {ParagraphPropertiesDefaults} from "./paragraph-properties";
import {RunPropertiesDefaults} from "./run-properties";
export class DocumentDefaults extends XmlComponent {
constructor(runPropertiesDefaults: RunPropertiesDefaults, paragraphPropertiesDefaults: ParagraphPropertiesDefaults) {
super("w:docDefaults");
this.root.push(runPropertiesDefaults);
this.root.push(paragraphPropertiesDefaults);
}
}