put contents inside sectPr

This commit is contained in:
Dolan Miu
2016-04-06 01:08:53 +01:00
parent 7d8bac54dc
commit 98ecc5c53f
2 changed files with 12 additions and 12 deletions

View File

@ -1,12 +1,16 @@
import {XmlComponent, Attributes} from "../../xml-components";
import {PageSize} from "./page-size";
import {PageMargin} from "./page-margin";
import {Columns} from "./columns";
import {DocumentGrid} from "./doc-grid";
export class SectionProperties implements XmlComponent {
private sectPr: Array<XmlComponent>;
xmlKeys = {
sectPr: 'w:sectPr'
}
constructor() {
this.sectPr = new Array<XmlComponent>();
this.sectPr.push(new Attributes({
@ -14,5 +18,9 @@ export class SectionProperties implements XmlComponent {
rsidRPr: "00D842E4",
rsidSect: "000A6AD0"
}));
this.sectPr.push(new PageSize());
this.sectPr.push(new PageMargin());
this.sectPr.push(new Columns());
this.sectPr.push(new DocumentGrid());
}
}