Files
docx-js/ts/docx/document/body/section-properties.ts

21 lines
644 B
TypeScript
Raw Normal View History

2016-03-31 23:01:20 +01:00
import {XmlComponent, Attributes} from "../../xml-components";
2016-04-06 01:08:53 +01:00
import {PageSize} from "./page-size";
import {PageMargin} from "./page-margin";
import {Columns} from "./columns";
import {DocumentGrid} from "./doc-grid";
2016-03-31 23:01:20 +01:00
2016-04-09 20:16:35 +01:00
export class SectionProperties extends XmlComponent {
2016-04-06 01:08:53 +01:00
2016-03-31 23:01:20 +01:00
constructor() {
2016-04-09 20:16:35 +01:00
super("w:sectPr");
this.root.push(new Attributes({
2016-03-31 23:01:20 +01:00
rsidR: "00B64E8F",
rsidRPr: "00D842E4",
rsidSect: "000A6AD0"
}));
2016-04-09 20:16:35 +01:00
this.root.push(new PageSize());
this.root.push(new PageMargin());
this.root.push(new Columns());
this.root.push(new DocumentGrid());
2016-03-31 23:01:20 +01:00
}
}