added body
This commit is contained in:
18
ts/docx/document/body/page-margin.ts
Normal file
18
ts/docx/document/body/page-margin.ts
Normal file
@ -0,0 +1,18 @@
|
||||
import {XmlComponent, Attributes} from "../../xml-components";
|
||||
|
||||
export class PageMargin {
|
||||
private pgMar: Array<XmlComponent>;
|
||||
|
||||
constructor() {
|
||||
this.pgMar = new Array<XmlComponent>();
|
||||
this.pgMar.push(new Attributes({
|
||||
top: "1440",
|
||||
right: "1440",
|
||||
bottom: "1440",
|
||||
left: "1440",
|
||||
header: "708",
|
||||
footer: "708",
|
||||
gutter: "0"
|
||||
}));
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user