FrameGfxDraw.java
957 Bytes
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
/*
* Decompiled with CFR 0_118.
*/
package com.adobe.xfa.text;
import com.adobe.xfa.text.DrawParm;
import com.adobe.xfa.text.FrameHelper;
import com.adobe.xfa.text.TextFrame;
import com.adobe.xfa.text.TextSparseStream;
import com.adobe.xfa.ut.UnitSpan;
class FrameGfxDraw
extends FrameHelper {
private final DrawParm moParm;
private boolean mbFits;
FrameGfxDraw(TextSparseStream poStream, DrawParm oParm, int eProcess) {
super(poStream, eProcess);
this.moParm = oParm;
this.mbFits = true;
}
FrameGfxDraw(TextSparseStream poStream, DrawParm oParm) {
this(poStream, oParm, 0);
}
boolean fits() {
return this.mbFits;
}
@Override
protected boolean processOneFrame(TextFrame poFrame) {
boolean bFits;
if (poFrame != null && !(bFits = poFrame.gfxDraw(this.moParm, this.getOffset()))) {
this.mbFits = false;
}
return true;
}
}