Files
docx-js/ts/styles/defaults/index.ts
2016-04-09 20:16:35 +01:00

12 lines
410 B
TypeScript

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