StrPara.java
909 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
41
42
43
44
45
/*
* Decompiled with CFR 0_118.
*/
package com.adobe.xfa.text;
import com.adobe.xfa.text.Pkg;
import com.adobe.xfa.text.StrItem;
import com.adobe.xfa.text.TextAttr;
import com.adobe.xfa.text.TextGfxSource;
import com.adobe.xfa.text.markup.MarkupOut;
import java.io.PrintStream;
class StrPara
extends StrItem {
StrPara() {
super(5);
}
@Override
TextAttr markup(MarkupOut oMarkup, int nStart, int nSize, boolean bFlattenFields, TextAttr poPrevAttr) {
oMarkup.para();
return poPrevAttr;
}
@Override
int charAt(int nIndex) {
return 10;
}
@Override
boolean isEqual(StrItem poCompare) {
return true;
}
@Override
StrItem cloneItem(TextGfxSource oGfxSource) {
return new StrPara();
}
@Override
void debug(int indent) {
System.out.println(Pkg.doIndent(indent + 1) + "Paragraph");
}
}