TextDrawInfo.java
1.79 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
/*
* Decompiled with CFR 0_118.
*/
package com.adobe.xfa.text;
import com.adobe.xfa.gfx.GFXEnv;
import com.adobe.xfa.text.TextSelection;
import com.adobe.xfa.ut.Rect;
public class TextDrawInfo {
public static final int INVALID_DEFAULT_RUNTIME_EXTENT = 0;
public static final int INVALID_DEFAULT_DECLARED_SIZE = 1;
public static final int INVALID_DEFAULT_AUGMENTED_SIZE = 2;
private final GFXEnv moGfxEnv;
private Rect moInvalid;
private Rect moPage;
private TextSelection mpoPrimary;
private TextSelection mpoSecondary;
private int meInvalidDefault;
private boolean mbTruncate;
public TextDrawInfo(GFXEnv oGfxEnv) {
this.moGfxEnv = oGfxEnv;
this.meInvalidDefault = 2;
}
public GFXEnv getGfxEnv() {
return this.moGfxEnv;
}
public Rect getInvalid() {
return this.moInvalid;
}
public void setInvalid(Rect oInvalid) {
this.moInvalid = oInvalid;
}
public Rect getPage() {
return this.moPage;
}
public void setPage(Rect oPage) {
this.moPage = oPage;
}
public TextSelection getPrimary() {
return this.mpoPrimary;
}
public void setPrimary(TextSelection poPrimary) {
this.mpoPrimary = poPrimary;
}
public TextSelection getSecondary() {
return this.mpoSecondary;
}
public void setSecondary(TextSelection poSecondary) {
this.mpoSecondary = poSecondary;
}
public int getInvalidDefault() {
return this.meInvalidDefault;
}
public void setInvalidDefault(int eInvalidDefault) {
this.meInvalidDefault = eInvalidDefault;
}
public boolean getTruncate() {
return this.mbTruncate;
}
public void setTruncate(boolean bTruncate) {
this.mbTruncate = bTruncate;
}
}