now extends XmlComponent
This commit is contained in:
@ -1,15 +1,10 @@
|
||||
import {XmlComponent, Attributes} from "../../xml-components";
|
||||
|
||||
export class PageSize implements XmlComponent {
|
||||
private pgSz: Array<XmlComponent>;
|
||||
|
||||
xmlKeys = {
|
||||
pgSz: 'w:pgSz'
|
||||
}
|
||||
export class PageSize extends XmlComponent {
|
||||
|
||||
constructor() {
|
||||
this.pgSz = new Array<XmlComponent>();
|
||||
this.pgSz.push(new Attributes({
|
||||
super("w:pgSz");
|
||||
this.root.push(new Attributes({
|
||||
w: "11906",
|
||||
h: "16838"
|
||||
}));
|
||||
|
Reference in New Issue
Block a user