added body

This commit is contained in:
Dolan Miu
2016-03-31 23:01:20 +01:00
parent 4b90e1800b
commit b1b664bfe3
11 changed files with 137 additions and 14 deletions

View File

@ -0,0 +1,19 @@
import {XmlComponent, Attributes} from "../../xml-components";
import {SectionProperties} from "./section-properties";
import {PageSize} from "./page-size";
import {PageMargin} from "./page-margin";
import {Columns} from "./columns";
import {DocumentGrid} from "./doc-grid";
export class Body {
private body: Array<XmlComponent>;
constructor() {
this.body = new Array<XmlComponent>();
this.body.push(new SectionProperties());
this.body.push(new PageSize());
this.body.push(new PageMargin());
this.body.push(new Columns());
this.body.push(new DocumentGrid());
}
}