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

import java.io.Serializable;
import java.math.BigDecimal;
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={"levels", "samePath", "sameServer", "pageWidth", "pageHeight", "marginTop", "marginBottom", "marginLeft", "marginRight", "placeHeader", "placeFooter", "headerContent", "footerContent", "createBookmarks", "createTaggedPDF", "orientation", "inputEncoding", "forceEncoding"})
@XmlRootElement(name="html2pdfSettings")
public class Html2PdfSettings
implements Serializable {
    protected int levels;
    protected boolean samePath;
    protected boolean sameServer;
    @XmlElement(required=1)
    protected BigDecimal pageWidth;
    @XmlElement(required=1)
    protected BigDecimal pageHeight;
    @XmlElement(required=1)
    protected BigDecimal marginTop;
    @XmlElement(required=1)
    protected BigDecimal marginBottom;
    @XmlElement(required=1)
    protected BigDecimal marginLeft;
    @XmlElement(required=1)
    protected BigDecimal marginRight;
    protected boolean placeHeader;
    protected boolean placeFooter;
    @XmlElement(required=1)
    protected String headerContent;
    @XmlElement(required=1)
    protected String footerContent;
    protected Boolean createBookmarks;
    protected Boolean createTaggedPDF;
    @XmlElement(required=1, defaultValue="Portrait")
    protected String orientation;
    @XmlElement(defaultValue="")
    protected String inputEncoding;
    @XmlElement(defaultValue="false")
    protected Boolean forceEncoding;

    public int getLevels() {
        return this.levels;
    }

    public void setLevels(int value) {
        this.levels = value;
    }

    public boolean isSetLevels() {
        return true;
    }

    public boolean isSamePath() {
        return this.samePath;
    }

    public void setSamePath(boolean value) {
        this.samePath = value;
    }

    public boolean isSetSamePath() {
        return true;
    }

    public boolean isSameServer() {
        return this.sameServer;
    }

    public void setSameServer(boolean value) {
        this.sameServer = value;
    }

    public boolean isSetSameServer() {
        return true;
    }

    public BigDecimal getPageWidth() {
        return this.pageWidth;
    }

    public void setPageWidth(BigDecimal value) {
        this.pageWidth = value;
    }

    public boolean isSetPageWidth() {
        return this.pageWidth != null;
    }

    public BigDecimal getPageHeight() {
        return this.pageHeight;
    }

    public void setPageHeight(BigDecimal value) {
        this.pageHeight = value;
    }

    public boolean isSetPageHeight() {
        return this.pageHeight != null;
    }

    public BigDecimal getMarginTop() {
        return this.marginTop;
    }

    public void setMarginTop(BigDecimal value) {
        this.marginTop = value;
    }

    public boolean isSetMarginTop() {
        return this.marginTop != null;
    }

    public BigDecimal getMarginBottom() {
        return this.marginBottom;
    }

    public void setMarginBottom(BigDecimal value) {
        this.marginBottom = value;
    }

    public boolean isSetMarginBottom() {
        return this.marginBottom != null;
    }

    public BigDecimal getMarginLeft() {
        return this.marginLeft;
    }

    public void setMarginLeft(BigDecimal value) {
        this.marginLeft = value;
    }

    public boolean isSetMarginLeft() {
        return this.marginLeft != null;
    }

    public BigDecimal getMarginRight() {
        return this.marginRight;
    }

    public void setMarginRight(BigDecimal value) {
        this.marginRight = value;
    }

    public boolean isSetMarginRight() {
        return this.marginRight != null;
    }

    public boolean isPlaceHeader() {
        return this.placeHeader;
    }

    public void setPlaceHeader(boolean value) {
        this.placeHeader = value;
    }

    public boolean isSetPlaceHeader() {
        return true;
    }

    public boolean isPlaceFooter() {
        return this.placeFooter;
    }

    public void setPlaceFooter(boolean value) {
        this.placeFooter = value;
    }

    public boolean isSetPlaceFooter() {
        return true;
    }

    public String getHeaderContent() {
        return this.headerContent;
    }

    public void setHeaderContent(String value) {
        this.headerContent = value;
    }

    public boolean isSetHeaderContent() {
        return this.headerContent != null;
    }

    public String getFooterContent() {
        return this.footerContent;
    }

    public void setFooterContent(String value) {
        this.footerContent = value;
    }

    public boolean isSetFooterContent() {
        return this.footerContent != null;
    }

    public Boolean isCreateBookmarks() {
        return this.isSetCreateBookmarks() ? this.createBookmarks : false;
    }

    public void setCreateBookmarks(Boolean value) {
        this.createBookmarks = value;
    }

    public boolean isSetCreateBookmarks() {
        return this.createBookmarks != null;
    }

    public Boolean isCreateTaggedPDF() {
        return this.isSetCreateTaggedPDF() ? this.createTaggedPDF : false;
    }

    public void setCreateTaggedPDF(Boolean value) {
        this.createTaggedPDF = value;
    }

    public boolean isSetCreateTaggedPDF() {
        return this.createTaggedPDF != null;
    }

    public String getOrientation() {
        return this.orientation;
    }

    public void setOrientation(String value) {
        this.orientation = value;
    }

    public boolean isSetOrientation() {
        return this.orientation != null;
    }

    public String getInputEncoding() {
        return this.inputEncoding;
    }

    public void setInputEncoding(String value) {
        this.inputEncoding = value;
    }

    public boolean isSetInputEncoding() {
        return this.inputEncoding != null;
    }

    public Boolean isForceEncoding() {
        return this.isSetForceEncoding() ? this.forceEncoding : false;
    }

    public void setForceEncoding(Boolean value) {
        this.forceEncoding = value;
    }

    public boolean isSetForceEncoding() {
        return this.forceEncoding != null;
    }
}