import { ChangePagePropertyCommand } from "./ChangePagePropertyCommand"; import { ChangePageLandscapeHistoryItem } from "../../History/Page/ChangePageLandscapeHistoryItem"; import { HistoryItem } from "../../History/HistoryItem"; export class ChangePageLandscapeCommand extends ChangePagePropertyCommand { getValue(): boolean { return this.control.model.pageLandscape; } createHistoryItems(parameter: boolean): HistoryItem[] { return [new ChangePageLandscapeHistoryItem(parameter)]; } }