2016-03-31 23:01:20 +01:00
|
|
|
import {XmlComponent, Attributes} from "../../xml-components";
|
|
|
|
|
2016-04-03 01:44:18 +01:00
|
|
|
export class PageMargin implements XmlComponent {
|
2016-03-31 23:01:20 +01:00
|
|
|
private pgMar: Array<XmlComponent>;
|
2016-04-03 01:44:18 +01:00
|
|
|
|
|
|
|
xmlKeys = {
|
|
|
|
pgMar: 'w:pgMar'
|
|
|
|
}
|
2016-03-31 23:01:20 +01:00
|
|
|
|
|
|
|
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"
|
|
|
|
}));
|
|
|
|
}
|
|
|
|
}
|