added body
This commit is contained in:
19
ts/docx/document/body/index.ts
Normal file
19
ts/docx/document/body/index.ts
Normal 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());
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user