LCFormsOptions.java
7.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
/*
* 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);
}
}
}
}