AcroFormLayout.java
1.68 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
/*
* Decompiled with CFR 0_118.
*/
package com.adobe.xfa.layout;
import com.adobe.xfa.AppModel;
import com.adobe.xfa.Node;
import com.adobe.xfa.font.FontService;
import com.adobe.xfa.form.FormInstanceManager;
import com.adobe.xfa.layout.FormLayout;
import com.adobe.xfa.service.Service;
import com.adobe.xfa.service.href.HrefService;
public class AcroFormLayout
extends FormLayout
implements FormInstanceManager.InstanceListener {
private boolean mbUnrepairable = false;
private boolean mbUseLayoutNodePool = true;
private int mnNextNodeID = 0;
public AcroFormLayout(FontService oFontService, Service oImageService, HrefService oHrefService, AppModel oAppModel) {
super(oAppModel);
assert (oFontService != null);
assert (oImageService != null);
assert (oHrefService != null);
}
public void setUnrepairable() {
this.mbUnrepairable = true;
}
public boolean isUnrepairable() {
return this.mbUnrepairable;
}
public int newID() {
++this.mnNextNodeID;
return this.mnNextNodeID;
}
public void enableLayoutNodePooling(boolean bEnable) {
this.mbUseLayoutNodePool = bEnable;
}
public boolean enableLayoutNodePooling() {
return this.mbUseLayoutNodePool;
}
@Override
public void preAddInstance() {
}
@Override
public void preRemoveInstance(Node toBeRemoved) {
}
@Override
public void preMoveInstance(Node toBeMoved) {
}
@Override
public void postAddInstance(Node wasAdded) {
}
@Override
public void postRemoveInstance(Node wasRemoved) {
}
@Override
public void postMoveInstance(Node wasMoved) {
}
}