Landscape mode

This commit is contained in:
Dolan
2018-01-25 01:47:47 +00:00
parent 4339f8cfc0
commit 355e97cb5e
4 changed files with 24 additions and 4 deletions

View File

@ -3,11 +3,13 @@ import { XmlAttributeComponent } from "file/xml-components";
export interface IPageSizeAttributes {
width?: number;
height?: number;
orientation?: string;
}
export class PageSizeAttributes extends XmlAttributeComponent<IPageSizeAttributes> {
protected xmlKeys = {
width: "w:w",
height: "w:h",
orientation: "w:orient",
};
}