InitialView.java 6.52 KB
/*
 * Decompiled with CFR 0_118.
 */
package com.adobe.native2pdf.xml;

import java.io.Serializable;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

@XmlAccessorType(value=XmlAccessType.FIELD)
@XmlType(name="", propOrder={"documentOptions", "windowOptions", "uiOptions"})
@XmlRootElement(name="initialView")
public class InitialView
implements Serializable {
    @XmlElement(required=1)
    protected DocumentOptions documentOptions;
    @XmlElement(required=1)
    protected WindowOptions windowOptions;
    @XmlElement(required=1)
    protected UiOptions uiOptions;

    public DocumentOptions getDocumentOptions() {
        return this.documentOptions;
    }

    public void setDocumentOptions(DocumentOptions value) {
        this.documentOptions = value;
    }

    public boolean isSetDocumentOptions() {
        return this.documentOptions != null;
    }

    public WindowOptions getWindowOptions() {
        return this.windowOptions;
    }

    public void setWindowOptions(WindowOptions value) {
        this.windowOptions = value;
    }

    public boolean isSetWindowOptions() {
        return this.windowOptions != null;
    }

    public UiOptions getUiOptions() {
        return this.uiOptions;
    }

    public void setUiOptions(UiOptions value) {
        this.uiOptions = value;
    }

    public boolean isSetUiOptions() {
        return this.uiOptions != null;
    }

    @XmlAccessorType(value=XmlAccessType.FIELD)
    @XmlType(name="", propOrder={"fitWindow", "centerWindow", "fullScreenMode", "titleDisplay"})
    public static class WindowOptions
    implements Serializable {
        protected boolean fitWindow;
        protected boolean centerWindow;
        protected boolean fullScreenMode;
        @XmlElement(required=1)
        protected String titleDisplay;

        public boolean isFitWindow() {
            return this.fitWindow;
        }

        public void setFitWindow(boolean value) {
            this.fitWindow = value;
        }

        public boolean isSetFitWindow() {
            return true;
        }

        public boolean isCenterWindow() {
            return this.centerWindow;
        }

        public void setCenterWindow(boolean value) {
            this.centerWindow = value;
        }

        public boolean isSetCenterWindow() {
            return true;
        }

        public boolean isFullScreenMode() {
            return this.fullScreenMode;
        }

        public void setFullScreenMode(boolean value) {
            this.fullScreenMode = value;
        }

        public boolean isSetFullScreenMode() {
            return true;
        }

        public String getTitleDisplay() {
            return this.titleDisplay;
        }

        public void setTitleDisplay(String value) {
            this.titleDisplay = value;
        }

        public boolean isSetTitleDisplay() {
            return this.titleDisplay != null;
        }
    }

    @XmlAccessorType(value=XmlAccessType.FIELD)
    @XmlType(name="", propOrder={"hideMenuBar", "hideToolBar", "hideWindowUI"})
    public static class UiOptions
    implements Serializable {
        protected boolean hideMenuBar;
        protected boolean hideToolBar;
        protected boolean hideWindowUI;

        public boolean isHideMenuBar() {
            return this.hideMenuBar;
        }

        public void setHideMenuBar(boolean value) {
            this.hideMenuBar = value;
        }

        public boolean isSetHideMenuBar() {
            return true;
        }

        public boolean isHideToolBar() {
            return this.hideToolBar;
        }

        public void setHideToolBar(boolean value) {
            this.hideToolBar = value;
        }

        public boolean isSetHideToolBar() {
            return true;
        }

        public boolean isHideWindowUI() {
            return this.hideWindowUI;
        }

        public void setHideWindowUI(boolean value) {
            this.hideWindowUI = value;
        }

        public boolean isSetHideWindowUI() {
            return true;
        }
    }

    @XmlAccessorType(value=XmlAccessType.FIELD)
    @XmlType(name="", propOrder={"pageMode", "pageLayout", "zoomType", "pageNumber"})
    public static class DocumentOptions
    implements Serializable {
        @XmlElement(required=1)
        protected String pageMode;
        @XmlElement(required=1)
        protected String pageLayout;
        @XmlElement(required=1)
        protected ZoomType zoomType;
        protected int pageNumber;

        public String getPageMode() {
            return this.pageMode;
        }

        public void setPageMode(String value) {
            this.pageMode = value;
        }

        public boolean isSetPageMode() {
            return this.pageMode != null;
        }

        public String getPageLayout() {
            return this.pageLayout;
        }

        public void setPageLayout(String value) {
            this.pageLayout = value;
        }

        public boolean isSetPageLayout() {
            return this.pageLayout != null;
        }

        public ZoomType getZoomType() {
            return this.zoomType;
        }

        public void setZoomType(ZoomType value) {
            this.zoomType = value;
        }

        public boolean isSetZoomType() {
            return this.zoomType != null;
        }

        public int getPageNumber() {
            return this.pageNumber;
        }

        public void setPageNumber(int value) {
            this.pageNumber = value;
        }

        public boolean isSetPageNumber() {
            return true;
        }

        @XmlAccessorType(value=XmlAccessType.FIELD)
        @XmlType(name="", propOrder={"zoomMode", "percent"})
        public static class ZoomType
        implements Serializable {
            @XmlElement(required=1)
            protected String zoomMode;
            protected float percent;

            public String getZoomMode() {
                return this.zoomMode;
            }

            public void setZoomMode(String value) {
                this.zoomMode = value;
            }

            public boolean isSetZoomMode() {
                return this.zoomMode != null;
            }

            public float getPercent() {
                return this.percent;
            }

            public void setPercent(float value) {
                this.percent = value;
            }

            public boolean isSetPercent() {
                return true;
            }
        }

    }

}