Files
docx-js/src/file/document/body/page-margin.ts
2018-01-23 01:33:12 +00:00

19 lines
459 B
TypeScript

import { Attributes, XmlComponent } from "file/xml-components";
export class PageMargin extends XmlComponent {
constructor() {
super("w:pgMar");
this.root.push(
new Attributes({
top: "1440",
right: "1440",
bottom: "1440",
left: "1440",
header: "708",
footer: "708",
gutter: "0",
}),
);
}
}