Html2PdfFontPathsHelper.java
3.02 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
/*
* Decompiled with CFR 0_118.
*/
package com.adobe.html2pdf;
import com.adobe.html2pdf.Html2PdfFontPaths;
import org.omg.CORBA.Any;
import org.omg.CORBA.ORB;
import org.omg.CORBA.StructMember;
import org.omg.CORBA.TypeCode;
import org.omg.CORBA.portable.InputStream;
import org.omg.CORBA.portable.OutputStream;
public abstract class Html2PdfFontPathsHelper {
private static String _id = "IDL:com/adobe/html2pdf/Html2PdfFontPaths:1.0";
private static TypeCode __typeCode = null;
private static boolean __active = false;
public static void insert(Any a, Html2PdfFontPaths that) {
OutputStream out = a.create_output_stream();
a.type(Html2PdfFontPathsHelper.type());
Html2PdfFontPathsHelper.write(out, that);
a.read_value(out.create_input_stream(), Html2PdfFontPathsHelper.type());
}
public static Html2PdfFontPaths extract(Any a) {
return Html2PdfFontPathsHelper.read(a.create_input_stream());
}
/*
* WARNING - Removed try catching itself - possible behaviour change.
* Enabled force condition propagation
* Lifted jumps to return sites
*/
public static synchronized TypeCode type() {
if (__typeCode != null) return __typeCode;
Class<TypeCode> class_ = TypeCode.class;
synchronized (TypeCode.class) {
if (__typeCode != null) return __typeCode;
{
if (__active) {
// ** MonitorExit[var0] (shouldn't be in output)
return ORB.init().create_recursive_tc(_id);
}
__active = true;
StructMember[] _members0 = new StructMember[3];
TypeCode _tcOf_members0 = null;
_tcOf_members0 = ORB.init().create_wstring_tc(0);
_members0[0] = new StructMember("customerFontPath", _tcOf_members0, null);
_tcOf_members0 = ORB.init().create_wstring_tc(0);
_members0[1] = new StructMember("adobeFontPath", _tcOf_members0, null);
_tcOf_members0 = ORB.init().create_wstring_tc(0);
_members0[2] = new StructMember("systemFontPath", _tcOf_members0, null);
__typeCode = ORB.init().create_struct_tc(Html2PdfFontPathsHelper.id(), "Html2PdfFontPaths", _members0);
__active = false;
}
// ** MonitorExit[var0] (shouldn't be in output)
return __typeCode;
}
}
public static String id() {
return _id;
}
public static Html2PdfFontPaths read(InputStream istream) {
Html2PdfFontPaths value = new Html2PdfFontPaths();
value.customerFontPath = istream.read_wstring();
value.adobeFontPath = istream.read_wstring();
value.systemFontPath = istream.read_wstring();
return value;
}
public static void write(OutputStream ostream, Html2PdfFontPaths value) {
ostream.write_wstring(value.customerFontPath);
ostream.write_wstring(value.adobeFontPath);
ostream.write_wstring(value.systemFontPath);
}
}