FormLayout.java
1.55 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
/*
* Decompiled with CFR 0_118.
*/
package com.adobe.xfa.layout;
import com.adobe.xfa.AppModel;
import com.adobe.xfa.font.FontService;
import com.adobe.xfa.layout.Layout;
import com.adobe.xfa.layout.LayoutDriver;
import com.adobe.xfa.layout.LayoutEnv;
import com.adobe.xfa.service.Service;
import com.adobe.xfa.service.href.HrefService;
public class FormLayout
extends Layout {
private LayoutDriver moLayoutDriver;
private boolean mbNeedSecondPass;
private boolean mbSecondPass;
public FormLayout(AppModel oAppModel) {
super(oAppModel);
assert (oAppModel != null);
this.mbNeedSecondPass = false;
this.mbSecondPass = false;
}
public FormLayout(FontService oFontService, Service oImageService, HrefService oHrefService, AppModel oAppModel) {
super(oAppModel);
assert (oAppModel != null);
assert (oFontService != null);
assert (oImageService != null);
assert (oHrefService != null);
this.mbNeedSecondPass = false;
this.mbSecondPass = false;
this.moLayoutDriver = new LayoutDriver();
LayoutEnv oEnv = new LayoutEnv(oFontService, oImageService, oHrefService, this.moLayoutDriver);
super.setLayoutEnv(oEnv);
}
@Override
public void layout(boolean bFullLayout) {
}
public boolean needsSecondPass() {
return this.mbNeedSecondPass;
}
public void setNeedsSecondPass() {
this.mbNeedSecondPass = !this.mbSecondPass;
}
protected LayoutDriver getLayoutDriver() {
return this.moLayoutDriver;
}
}