HTMLRenderSpec.java
6.23 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
/*
* Decompiled with CFR 0_118.
*
* Could not load the following classes:
* com.adobe.livecycle.SinceLC
*/
package com.adobe.livecycle.formsservice.client;
import com.adobe.livecycle.SinceLC;
import com.adobe.livecycle.formsservice.client.FormModel;
import com.adobe.livecycle.formsservice.client.HTMLToolbar;
import com.adobe.livecycle.formsservice.client.OutputType;
import com.adobe.livecycle.formsservice.client.StyleGenerationLevel;
import com.adobe.livecycle.formsservice.utils.FormsServiceClientUtils;
import java.io.Serializable;
public class HTMLRenderSpec
implements Serializable {
private static final long serialVersionUID = 3117649099031113243L;
private OutputType outputType = null;
private String charset = null;
private int pageNumber = 0;
private String locale = null;
private Boolean cacheEnabled = null;
private boolean xMLData = false;
private boolean standAlone = false;
private FormModel formModel = FormModel.auto;
private String xCIURI = null;
private String digSigCSSURI = null;
private String customCSSURI = null;
private HTMLToolbar htmlToolbar = HTMLToolbar.Disabled;
private String toolbarURI = null;
private String fontMapURI = null;
private boolean debugEnabled = false;
private Boolean generateTabIndex = true;
private StyleGenerationLevel styleGenerationLevel = StyleGenerationLevel.InlineAndInternalStyles;
@SinceLC(value="10.0.0.0")
private boolean logPerformance = false;
private int auditLog = 0;
public HTMLRenderSpec() {
}
public HTMLRenderSpec(OutputType outputType, String charset, int pageNumber, String locale, Boolean cacheEnabled, boolean xMLData, boolean standAlone, FormModel formModel, String xCIURI, String digSigCSSURI, String customCSSURI, HTMLToolbar htmlToolbar, String toolbarURI, String fontMapURI) {
this.outputType = outputType;
this.charset = charset;
this.pageNumber = pageNumber;
this.locale = locale;
this.cacheEnabled = cacheEnabled;
this.xMLData = xMLData;
this.standAlone = standAlone;
this.formModel = formModel;
this.xCIURI = xCIURI;
this.digSigCSSURI = digSigCSSURI;
this.customCSSURI = customCSSURI;
this.htmlToolbar = htmlToolbar;
this.toolbarURI = toolbarURI;
this.fontMapURI = fontMapURI;
}
@SinceLC(value="10.0.0.0")
public boolean isLogPerformance() {
return this.logPerformance;
}
@SinceLC(value="10.0.0.0")
public void setLogPerformance(boolean logPerformance) {
this.logPerformance = logPerformance;
}
public OutputType getOutputType() {
return this.outputType;
}
public void setOutputType(OutputType outputType) {
this.outputType = outputType;
}
public String getCharset() {
return this.charset;
}
public void setCharset(String charset) {
this.charset = charset;
}
public int getPageNumber() {
return this.pageNumber;
}
public void setPageNumber(int pageNumber) {
this.pageNumber = pageNumber;
}
public String getLocale() {
return this.locale;
}
public void setLocale(String locale) {
this.locale = locale;
}
public Boolean isCacheEnabled() {
return this.cacheEnabled;
}
public Boolean getCacheEnabled() {
return this.cacheEnabled;
}
public void setCacheEnabled(Boolean cacheEnabled) {
this.cacheEnabled = cacheEnabled;
}
public boolean isXMLData() {
return this.xMLData;
}
public void setXMLData(boolean xMLData) {
this.xMLData = xMLData;
}
public boolean isStandAlone() {
return this.standAlone;
}
public void setStandAlone(boolean standAlone) {
this.standAlone = standAlone;
}
public FormModel getFormModel() {
return this.formModel;
}
public void setFormModel(FormModel formModel) {
this.formModel = formModel;
}
public String getXCIURI() {
return this.decodeURL(this.xCIURI);
}
public void setXCIURI(String xCIURI) {
this.xCIURI = xCIURI;
}
public String getDigSigCSSURI() {
return this.decodeURL(this.digSigCSSURI);
}
public void setDigSigCSSURI(String digSigCSSURI) {
this.digSigCSSURI = digSigCSSURI;
}
public HTMLToolbar getHTMLToolbar() {
return this.htmlToolbar;
}
public void setHTMLToolbar(HTMLToolbar htmlToolbar) {
this.htmlToolbar = htmlToolbar;
}
public String getToolbarURI() {
return this.toolbarURI;
}
public void setToolbarURI(String toolbarURI) {
this.toolbarURI = toolbarURI;
}
public String getFontMapURI() {
return this.decodeURL(this.fontMapURI);
}
public void setFontMapURI(String fontMapURI) {
this.fontMapURI = fontMapURI;
}
private String decodeURL(String sURLEncoded) {
if (sURLEncoded != null && sURLEncoded.indexOf(37) != -1) {
byte[] cDecoded = FormsServiceClientUtils.URLDecode(sURLEncoded);
sURLEncoded = new String(cDecoded);
}
return sURLEncoded;
}
@SinceLC(value="8.2.1")
public String getCustomCSSURI() {
return this.customCSSURI;
}
public void setCustomCSSURI(String customCSSURI) {
this.customCSSURI = customCSSURI;
}
@SinceLC(value="8.2.1")
public boolean isDebugEnabled() {
return this.debugEnabled;
}
public void setDebugEnabled(boolean debugEnabled) {
this.debugEnabled = debugEnabled;
}
@SinceLC(value="8.2.1")
public Boolean getGenerateTabIndex() {
return this.generateTabIndex;
}
public void setGenerateTabIndex(Boolean generateTabIndex) {
this.generateTabIndex = generateTabIndex;
}
@SinceLC(value="8.2.1")
public StyleGenerationLevel getStyleGenerationLevel() {
return this.styleGenerationLevel;
}
public void setStyleGenerationLevel(StyleGenerationLevel styleGenerationLevel) {
this.styleGenerationLevel = styleGenerationLevel;
}
@SinceLC(value="11.0.1")
public int getAuditLog() {
return this.auditLog;
}
public void setAuditLog(int auditLog) {
this.auditLog = auditLog;
}
}