Create section properties section

This commit is contained in:
Dolan
2018-01-24 00:01:38 +00:00
parent ff5d02c964
commit df197f73ea
17 changed files with 169 additions and 88 deletions

View File

@ -1,4 +1,5 @@
import { XmlComponent } from "file/xml-components";
import { SectionProperties } from "./section-properties/section-properties";
export class Body extends XmlComponent {
constructor() {
@ -7,5 +8,21 @@ export class Body extends XmlComponent {
public push(component: XmlComponent): void {
this.root.push(component);
this.root.push(
new SectionProperties({
width: 11906,
height: 16838,
top: 1440,
right: 1440,
bottom: 1440,
left: 1440,
header: 708,
footer: 708,
gutter: 0,
space: 708,
linePitch: 360,
}),
);
}
}