Files
docx-js/ts/styles/defaults/index.ts

12 lines
410 B
TypeScript
Raw Normal View History

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
constructor() {
2016-04-09 20:16:35 +01:00
super("w:docDefaults");
this.root.push(new RunPropertiesDefaults());
this.root.push(new ParagraphPropertiesDefaults());
2016-04-09 02:04:53 +01:00
}
}