AcrobatVersion.java
1.89 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
/*
* 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;
public enum AcrobatVersion {
auto("auto"),
Acrobat_6("acrobat6"),
Acrobat_7_0("acrobat7.0"),
Acrobat_7_0_5("acrobat7.0.5"),
Acrobat_8("acrobat8.0"),
Acrobat_8_1("acrobat8.1"),
Acrobat_9("acrobat9.0"),
Acrobat_10("acrobat10.0"),
Acrobat_10_1("acrobat10.1"),
Acrobat_11("acrobat11.0");
private final String version;
private AcrobatVersion(String version) {
this.version = version;
}
public String getVersion() {
return this.version;
}
public static String getDisplayName(AcrobatVersion someAcrobatVersion) {
switch (someAcrobatVersion) {
case auto: {
return "<Use Form Template Default>";
}
case Acrobat_6: {
return "Acrobat and Reader 6.0 and above";
}
case Acrobat_7_0: {
return "Acrobat and Reader 7.0 and above";
}
case Acrobat_7_0_5: {
return "Acrobat and Reader 7.0.5 and above";
}
case Acrobat_8: {
return "Acrobat and Reader 8.0 and above";
}
case Acrobat_8_1: {
return "Acrobat and Reader 8.1 and above";
}
case Acrobat_9: {
return "Acrobat and Reader 9.0 and above";
}
case Acrobat_10: {
return "Acrobat and Reader 10.0 and above";
}
case Acrobat_10_1: {
return "Acrobat and Reader 10.1 and above";
}
case Acrobat_11: {
return "Acrobat and Reader 11.0 and above";
}
}
return someAcrobatVersion.toString();
}
}