LCFormsOptions.java 7.54 KB
/*
 * Decompiled with CFR 0_118.
 * 
 * Could not load the following classes:
 *  org.slf4j.Logger
 *  org.slf4j.LoggerFactory
 */
package com.adobe.forms.option;

import com.adobe.forms.option.TemplateObj;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class LCFormsOptions {
    private static final List<String> allOpts;
    private static Logger logger;
    private String template;
    private String templateBytes;
    private String data;
    private String dataRef;
    private String contentRoot;
    private String submitUrl;
    private String debugDir;
    private String packet;
    private String formDom;
    private String activity;
    private String contextSom;
    private String useXFA4J;
    private String renderType;
    private String scriptsToRun;
    private String locale;
    private String mfAllowAttachments;
    private String taggedPDF;
    private String pdfVersion;
    private String extensionLevel;
    private String linearized;
    private String usePreRenderCache;
    private String numCopies;
    private String paginationOverride;
    private String xdcUri;
    private String xciBytes;
    private String useRenderCache;
    private TemplateObj templateObj;
    private String generateCustomizableInfo;
    private String minifyTemplateScripts;
    private String skipTrustedCheck;

    public String getGenerateCustomizableInfo() {
        return this.generateCustomizableInfo;
    }

    public void setGenerateCustomizableInfo(String generateCustomizableInfo) {
        this.generateCustomizableInfo = generateCustomizableInfo;
    }

    public String getMinifyTemplateScripts() {
        return this.minifyTemplateScripts;
    }

    public void setSkipTrustedCheck(String skipTrustedCheck) {
        this.skipTrustedCheck = skipTrustedCheck;
    }

    public String getSkipTrustedCheck() {
        return this.skipTrustedCheck;
    }

    public void setMinifyTemplateScripts(String minifyTemplateScripts) {
        this.minifyTemplateScripts = minifyTemplateScripts;
    }

    public String getUseRenderCache() {
        return this.useRenderCache;
    }

    public void setUseRenderCache(String useRenderCache) {
        this.useRenderCache = useRenderCache;
    }

    public String getRenderType() {
        return this.renderType;
    }

    public void setRenderType(String renderType) {
        this.renderType = renderType;
    }

    public String getUseXFA4J() {
        return this.useXFA4J;
    }

    public void setUseXFA4J(String useXFA4J) {
        this.useXFA4J = useXFA4J;
    }

    public static List<String> getSupported() {
        return allOpts;
    }

    public String getData() {
        return this.data;
    }

    public void setData(String data2) {
        this.data = data2;
    }

    public String getDataRef() {
        return this.dataRef;
    }

    public void setDataRef(String dataRef) {
        this.dataRef = dataRef;
    }

    public String getTemplate() {
        return this.template;
    }

    public void setTemplate(String template2) {
        this.template = template2;
    }

    public String getContentRoot() {
        return this.contentRoot;
    }

    public String getMfAllowAttachments() {
        return this.mfAllowAttachments;
    }

    public void setContentRoot(String contentRoot) {
        this.contentRoot = contentRoot;
    }

    public void setMfAllowAttachments(String mfAllowAttachments) {
        this.mfAllowAttachments = mfAllowAttachments;
    }

    public String getSubmitUrl() {
        return this.submitUrl;
    }

    public void setSubmitUrl(String submitUrl) {
        this.submitUrl = submitUrl;
    }

    public String getDebugDir() {
        return this.debugDir;
    }

    public void setDebugDir(String debugDir) {
        this.debugDir = debugDir;
    }

    public String getPacket() {
        return this.packet;
    }

    public void setPacket(String packet) {
        this.packet = packet;
    }

    public String getFormDom() {
        return this.formDom;
    }

    public void setFormDom(String formDom) {
        this.formDom = formDom;
    }

    public String getActivity() {
        return this.activity;
    }

    public void setActivity(String activity) {
        this.activity = activity;
    }

    public String getContextSom() {
        return this.contextSom;
    }

    public void setContextSom(String contextSom) {
        this.contextSom = contextSom;
    }

    public String getTemplateBytes() {
        return this.templateBytes;
    }

    public void setTemplateBytes(String templateBytes) {
        this.templateBytes = templateBytes;
    }

    public TemplateObj getTemplateObj() {
        return this.templateObj;
    }

    public void setTemplateObj(TemplateObj templateObj) {
        this.templateObj = templateObj;
    }

    public String getScriptsToRun() {
        return this.scriptsToRun;
    }

    public void setScriptsToRun(String scripts) {
        this.scriptsToRun = scripts;
    }

    public String getTaggedPDF() {
        return this.taggedPDF;
    }

    public void setTaggedPDF(String tagged) {
        this.taggedPDF = tagged;
    }

    public String getLocale() {
        return this.locale;
    }

    public void setLocale(String locale) {
        this.locale = locale;
    }

    public String getPdfVersion() {
        return this.pdfVersion;
    }

    public void setPdfVersion(String str) {
        this.pdfVersion = str;
    }

    public String getExtensionLevel() {
        return this.extensionLevel;
    }

    public void setExtensionLevel(String str) {
        this.extensionLevel = str;
    }

    public String getLinearized() {
        return this.linearized;
    }

    public void setLinearized(String linearized) {
        this.linearized = linearized;
    }

    public String getNumCopies() {
        return this.numCopies;
    }

    public void setNumCopies(String numCopies) {
        this.numCopies = numCopies;
    }

    public String getPaginationOverride() {
        return this.paginationOverride;
    }

    public void setPaginationOverride(String paginationOverride) {
        this.paginationOverride = paginationOverride;
    }

    public String getXdcUri() {
        return this.xdcUri;
    }

    public void setXdcUri(String xdcUri) {
        this.xdcUri = xdcUri;
    }

    public String getXciBytes() {
        return this.xciBytes;
    }

    public void setXciBytes(String xciBytes) {
        this.xciBytes = xciBytes;
    }

    public String getUsePreRenderCache() {
        return this.usePreRenderCache;
    }

    public void setPreRenderCache(String usePreRenderCache) {
        this.usePreRenderCache = usePreRenderCache;
    }

    static {
        logger = LoggerFactory.getLogger(LCFormsOptions.class);
        allOpts = new ArrayList<String>();
        for (Field field : LCFormsOptions.class.getDeclaredFields()) {
            int mode = 2;
            if ((field.getModifiers() & mode) != mode || field.getType() != String.class) continue;
            try {
                String fieldName = field.getName();
                allOpts.add(fieldName);
                String setGetSuffix = "" + Character.toUpperCase(fieldName.charAt(0)) + fieldName.substring(1);
                LCFormsOptions.class.getDeclaredMethod("set" + setGetSuffix, String.class);
                LCFormsOptions.class.getDeclaredMethod("get" + setGetSuffix, new Class[0]);
                continue;
            }
            catch (NoSuchMethodException e) {
                logger.debug("Exception: ", (Throwable)e);
            }
        }
    }
}