added heading styles

This commit is contained in:
Dolan Miu
2016-05-08 17:01:20 +01:00
parent c6291f57ab
commit a1b4facb40
5 changed files with 79 additions and 11 deletions

View File

@ -4,9 +4,9 @@ import {RunPropertiesDefaults} from "./run-properties";
export class DocumentDefaults extends XmlComponent {
constructor() {
constructor(runPropertiesDefaults: RunPropertiesDefaults, paragraphPropertiesDefaults: ParagraphPropertiesDefaults) {
super("w:docDefaults");
this.root.push(new RunPropertiesDefaults());
this.root.push(new ParagraphPropertiesDefaults());
this.root.push(runPropertiesDefaults);
this.root.push(paragraphPropertiesDefaults);
}
}