Package com.adobe.xfa.gfx
Class GFXDecorationInfo
- java.lang.Object
-
- com.adobe.xfa.gfx.GFXDecorationInfo
-
public class GFXDecorationInfo extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static int
DECORATE_ALL
static int
DECORATE_COUNT
static int
DECORATE_DOUBLE
static int
DECORATE_NONE
static int
DECORATE_SINGLE
static int
DECORATE_TYPE
static int
DECORATE_UNKNOWN
static int
DECORATE_WORD
static GFXDecorationInfo
decorateDoubleAll
static GFXDecorationInfo
decorateDoubleWord
static GFXDecorationInfo
decorateNone
static GFXDecorationInfo
decorateSingleAll
static GFXDecorationInfo
decorateSingleWord
int
mCount
int
mType
-
Constructor Summary
Constructors Constructor Description GFXDecorationInfo(int count, int type)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GFXDecorationInfo
extractDecoration(int nDecoration)
Extract text decoration into usable values.
-
-
-
Field Detail
-
DECORATE_TYPE
public static final int DECORATE_TYPE
- See Also:
- Constant Field Values
-
DECORATE_UNKNOWN
public static final int DECORATE_UNKNOWN
- See Also:
- Constant Field Values
-
DECORATE_NONE
public static final int DECORATE_NONE
- See Also:
- Constant Field Values
-
DECORATE_ALL
public static final int DECORATE_ALL
- See Also:
- Constant Field Values
-
DECORATE_WORD
public static final int DECORATE_WORD
- See Also:
- Constant Field Values
-
DECORATE_COUNT
public static final int DECORATE_COUNT
- See Also:
- Constant Field Values
-
DECORATE_SINGLE
public static final int DECORATE_SINGLE
- See Also:
- Constant Field Values
-
DECORATE_DOUBLE
public static final int DECORATE_DOUBLE
- See Also:
- Constant Field Values
-
decorateNone
public static final GFXDecorationInfo decorateNone
-
decorateSingleWord
public static final GFXDecorationInfo decorateSingleWord
-
decorateSingleAll
public static final GFXDecorationInfo decorateSingleAll
-
decorateDoubleWord
public static final GFXDecorationInfo decorateDoubleWord
-
decorateDoubleAll
public static final GFXDecorationInfo decorateDoubleAll
-
mType
public final int mType
-
mCount
public final int mCount
-
-
Method Detail
-
extractDecoration
public static GFXDecorationInfo extractDecoration(int nDecoration)
Extract text decoration into usable values.Given an underline, line-through or overline value, extract the two component values from it for further processing.
- Parameters:
nDecoration
- Input text decoration value.- Returns:
- TRUE if there is any decoration; FALSE if no decoration.
-
-