Html2PdfSettings.java
6.29 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
/*
* 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;
}
}