Package com.adobe.xfa.text
Class TextCharProp
- java.lang.Object
-
- com.adobe.xfa.text.TextCharProp
-
public class TextCharProp extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static int
BIDI_AL
static int
BIDI_AN
static int
BIDI_B
static int
BIDI_BN
static int
BIDI_CS
static int
BIDI_EN
static int
BIDI_ES
static int
BIDI_ET
static int
BIDI_L
static int
BIDI_LRE
static int
BIDI_LRO
static int
BIDI_MASK
static int
BIDI_NSM
static int
BIDI_ON
static int
BIDI_PDF
static int
BIDI_R
static int
BIDI_RLE
static int
BIDI_RLO
static int
BIDI_S
static int
BIDI_SHIFT
static int
BIDI_WS
static int
BM_MASK
static int
BM_OFF
static int
BM_ON
static int
BM_SHIFT
static int
BREAK_AI
static int
BREAK_AL
static int
BREAK_ALLOW
static int
BREAK_B2
static int
BREAK_BA
static int
BREAK_BB
static int
BREAK_BK
static int
BREAK_CB
static int
BREAK_CL
static int
BREAK_CM
static int
BREAK_COMBINING_MARK
static int
BREAK_CR
static int
BREAK_EX
static int
BREAK_GL
static int
BREAK_H2
static int
BREAK_H3
static int
BREAK_HY
static int
BREAK_ID
static int
BREAK_IF_SPACE
static int
BREAK_IN
static int
BREAK_IS
static int
BREAK_JL
static int
BREAK_JT
static int
BREAK_JV
static int
BREAK_LF
static int
BREAK_MASK
static int
BREAK_NL
static int
BREAK_NS
static int
BREAK_NU
static int
BREAK_OP
static int
BREAK_PO
static int
BREAK_PR
static int
BREAK_PROHIBIT
static int
BREAK_QU
static int
BREAK_SA
static int
BREAK_SG
static int
BREAK_SHIFT
static int
BREAK_SP
static int
BREAK_SY
static int
BREAK_WJ
static int
BREAK_XX
static int
BREAK_ZW
static int
CASE_Default
static int
CASE_Lowercase
static int
CASE_MASK
static int
CASE_SHIFT
static int
CASE_Titlecase
static int
CASE_Uppercase
static int
defaultLetter
static int
defaultObject
static int
defaultSpace
static int
GRAPHEME_Control
static int
GRAPHEME_CR
static int
GRAPHEME_Default
static int
GRAPHEME_Extend
static int
GRAPHEME_L
static int
GRAPHEME_LF
static int
GRAPHEME_LV
static int
GRAPHEME_LVT
static int
GRAPHEME_MASK
static int
GRAPHEME_SHIFT
static int
GRAPHEME_T
static int
GRAPHEME_V
static int
INVALID
static int
WIDTH_A
static int
WIDTH_F
static int
WIDTH_H
static int
WIDTH_MASK
static int
WIDTH_N
static int
WIDTH_Na
static int
WIDTH_SHIFT
static int
WIDTH_W
static int
WORD_ALetter
static int
WORD_Default
static int
WORD_ExtendNumLet
static int
WORD_Format
static int
WORD_Katakana
static int
WORD_MASK
static int
WORD_MidLetter
static int
WORD_MidNum
static int
WORD_Numeric
static int
WORD_SHIFT
-
Constructor Summary
Constructors Constructor Description TextCharProp()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
BIDIMirrorToIndex(int nData)
static int
BIDIToIndex(int nData)
static int
breakToIndex(int nData)
static int
caseToIndex(int nData)
static int
getBIDIClass(int nData)
static int
getBIDIMirrorChar(int c)
static int
getBIDIMirrorClass(int nData)
static int
getBreakClass(int nData)
static int
getCaseClass(int nData)
static int
getCharProperty(int c)
static int
getGraphemeClass(int nData)
static int
getPairRule(int eBefore, int eAfter)
static int
getWidthClass(int nData)
static int
getWordClass(int nData)
static int
graphemeToIndex(int nData)
static boolean
isAmbiguousWidth(int eWidth)
static boolean
isBIDIMirrored(int nData)
static boolean
isWordEdge(int eData)
static boolean
kinsokuAllowEnd(int c)
static boolean
kinsokuAllowStart(int c)
static int
makeData(int eBreak, int eWidth, int eGrapheme, int eWord, int eCase, int eBIDI, int eBM)
static int
resolveBreakWidth(int eBefore, int eAfter)
static int
resolveBreakWidth(int eBefore, int eAfter, int eDefault)
static int
setBIDIClass(int nData, int eBIDI)
static int
setBIDIMirrorClass(int nData, int eBIDIMirror)
static int
setBreakClass(int nData, int eBreak)
static int
setCaseClass(int nData, int eCase)
static int
setGraphemeClass(int nData, int eGrapheme)
static int
setWidthClass(int nData, int eWidth)
static int
setWordClass(int nData, int eWord)
static int
widthToIndex(int nData)
static int
wordToIndex(int nData)
-
-
-
Field Detail
-
BREAK_MASK
public static final int BREAK_MASK
- See Also:
- Constant Field Values
-
BREAK_SHIFT
public static final int BREAK_SHIFT
- See Also:
- Constant Field Values
-
WIDTH_MASK
public static final int WIDTH_MASK
- See Also:
- Constant Field Values
-
WIDTH_SHIFT
public static final int WIDTH_SHIFT
- See Also:
- Constant Field Values
-
GRAPHEME_MASK
public static final int GRAPHEME_MASK
- See Also:
- Constant Field Values
-
GRAPHEME_SHIFT
public static final int GRAPHEME_SHIFT
- See Also:
- Constant Field Values
-
WORD_MASK
public static final int WORD_MASK
- See Also:
- Constant Field Values
-
WORD_SHIFT
public static final int WORD_SHIFT
- See Also:
- Constant Field Values
-
CASE_MASK
public static final int CASE_MASK
- See Also:
- Constant Field Values
-
CASE_SHIFT
public static final int CASE_SHIFT
- See Also:
- Constant Field Values
-
BIDI_MASK
public static final int BIDI_MASK
- See Also:
- Constant Field Values
-
BIDI_SHIFT
public static final int BIDI_SHIFT
- See Also:
- Constant Field Values
-
BM_MASK
public static final int BM_MASK
- See Also:
- Constant Field Values
-
BM_SHIFT
public static final int BM_SHIFT
- See Also:
- Constant Field Values
-
BREAK_AI
public static final int BREAK_AI
- See Also:
- Constant Field Values
-
BREAK_AL
public static final int BREAK_AL
- See Also:
- Constant Field Values
-
BREAK_B2
public static final int BREAK_B2
- See Also:
- Constant Field Values
-
BREAK_BA
public static final int BREAK_BA
- See Also:
- Constant Field Values
-
BREAK_BB
public static final int BREAK_BB
- See Also:
- Constant Field Values
-
BREAK_BK
public static final int BREAK_BK
- See Also:
- Constant Field Values
-
BREAK_CB
public static final int BREAK_CB
- See Also:
- Constant Field Values
-
BREAK_CL
public static final int BREAK_CL
- See Also:
- Constant Field Values
-
BREAK_CM
public static final int BREAK_CM
- See Also:
- Constant Field Values
-
BREAK_CR
public static final int BREAK_CR
- See Also:
- Constant Field Values
-
BREAK_EX
public static final int BREAK_EX
- See Also:
- Constant Field Values
-
BREAK_GL
public static final int BREAK_GL
- See Also:
- Constant Field Values
-
BREAK_H2
public static final int BREAK_H2
- See Also:
- Constant Field Values
-
BREAK_H3
public static final int BREAK_H3
- See Also:
- Constant Field Values
-
BREAK_HY
public static final int BREAK_HY
- See Also:
- Constant Field Values
-
BREAK_ID
public static final int BREAK_ID
- See Also:
- Constant Field Values
-
BREAK_IN
public static final int BREAK_IN
- See Also:
- Constant Field Values
-
BREAK_IS
public static final int BREAK_IS
- See Also:
- Constant Field Values
-
BREAK_JL
public static final int BREAK_JL
- See Also:
- Constant Field Values
-
BREAK_JT
public static final int BREAK_JT
- See Also:
- Constant Field Values
-
BREAK_JV
public static final int BREAK_JV
- See Also:
- Constant Field Values
-
BREAK_LF
public static final int BREAK_LF
- See Also:
- Constant Field Values
-
BREAK_NL
public static final int BREAK_NL
- See Also:
- Constant Field Values
-
BREAK_NS
public static final int BREAK_NS
- See Also:
- Constant Field Values
-
BREAK_NU
public static final int BREAK_NU
- See Also:
- Constant Field Values
-
BREAK_OP
public static final int BREAK_OP
- See Also:
- Constant Field Values
-
BREAK_PO
public static final int BREAK_PO
- See Also:
- Constant Field Values
-
BREAK_PR
public static final int BREAK_PR
- See Also:
- Constant Field Values
-
BREAK_QU
public static final int BREAK_QU
- See Also:
- Constant Field Values
-
BREAK_SA
public static final int BREAK_SA
- See Also:
- Constant Field Values
-
BREAK_SG
public static final int BREAK_SG
- See Also:
- Constant Field Values
-
BREAK_SP
public static final int BREAK_SP
- See Also:
- Constant Field Values
-
BREAK_SY
public static final int BREAK_SY
- See Also:
- Constant Field Values
-
BREAK_WJ
public static final int BREAK_WJ
- See Also:
- Constant Field Values
-
BREAK_XX
public static final int BREAK_XX
- See Also:
- Constant Field Values
-
BREAK_ZW
public static final int BREAK_ZW
- See Also:
- Constant Field Values
-
WIDTH_A
public static final int WIDTH_A
- See Also:
- Constant Field Values
-
WIDTH_F
public static final int WIDTH_F
- See Also:
- Constant Field Values
-
WIDTH_H
public static final int WIDTH_H
- See Also:
- Constant Field Values
-
WIDTH_N
public static final int WIDTH_N
- See Also:
- Constant Field Values
-
WIDTH_Na
public static final int WIDTH_Na
- See Also:
- Constant Field Values
-
WIDTH_W
public static final int WIDTH_W
- See Also:
- Constant Field Values
-
GRAPHEME_Control
public static final int GRAPHEME_Control
- See Also:
- Constant Field Values
-
GRAPHEME_CR
public static final int GRAPHEME_CR
- See Also:
- Constant Field Values
-
GRAPHEME_Default
public static final int GRAPHEME_Default
- See Also:
- Constant Field Values
-
GRAPHEME_Extend
public static final int GRAPHEME_Extend
- See Also:
- Constant Field Values
-
GRAPHEME_L
public static final int GRAPHEME_L
- See Also:
- Constant Field Values
-
GRAPHEME_LF
public static final int GRAPHEME_LF
- See Also:
- Constant Field Values
-
GRAPHEME_LV
public static final int GRAPHEME_LV
- See Also:
- Constant Field Values
-
GRAPHEME_LVT
public static final int GRAPHEME_LVT
- See Also:
- Constant Field Values
-
GRAPHEME_T
public static final int GRAPHEME_T
- See Also:
- Constant Field Values
-
GRAPHEME_V
public static final int GRAPHEME_V
- See Also:
- Constant Field Values
-
WORD_ALetter
public static final int WORD_ALetter
- See Also:
- Constant Field Values
-
WORD_Default
public static final int WORD_Default
- See Also:
- Constant Field Values
-
WORD_ExtendNumLet
public static final int WORD_ExtendNumLet
- See Also:
- Constant Field Values
-
WORD_Format
public static final int WORD_Format
- See Also:
- Constant Field Values
-
WORD_Katakana
public static final int WORD_Katakana
- See Also:
- Constant Field Values
-
WORD_MidLetter
public static final int WORD_MidLetter
- See Also:
- Constant Field Values
-
WORD_MidNum
public static final int WORD_MidNum
- See Also:
- Constant Field Values
-
WORD_Numeric
public static final int WORD_Numeric
- See Also:
- Constant Field Values
-
CASE_Default
public static final int CASE_Default
- See Also:
- Constant Field Values
-
CASE_Lowercase
public static final int CASE_Lowercase
- See Also:
- Constant Field Values
-
CASE_Titlecase
public static final int CASE_Titlecase
- See Also:
- Constant Field Values
-
CASE_Uppercase
public static final int CASE_Uppercase
- See Also:
- Constant Field Values
-
BIDI_AL
public static final int BIDI_AL
- See Also:
- Constant Field Values
-
BIDI_AN
public static final int BIDI_AN
- See Also:
- Constant Field Values
-
BIDI_B
public static final int BIDI_B
- See Also:
- Constant Field Values
-
BIDI_BN
public static final int BIDI_BN
- See Also:
- Constant Field Values
-
BIDI_CS
public static final int BIDI_CS
- See Also:
- Constant Field Values
-
BIDI_EN
public static final int BIDI_EN
- See Also:
- Constant Field Values
-
BIDI_ES
public static final int BIDI_ES
- See Also:
- Constant Field Values
-
BIDI_ET
public static final int BIDI_ET
- See Also:
- Constant Field Values
-
BIDI_L
public static final int BIDI_L
- See Also:
- Constant Field Values
-
BIDI_LRE
public static final int BIDI_LRE
- See Also:
- Constant Field Values
-
BIDI_LRO
public static final int BIDI_LRO
- See Also:
- Constant Field Values
-
BIDI_NSM
public static final int BIDI_NSM
- See Also:
- Constant Field Values
-
BIDI_ON
public static final int BIDI_ON
- See Also:
- Constant Field Values
-
BIDI_PDF
public static final int BIDI_PDF
- See Also:
- Constant Field Values
-
BIDI_R
public static final int BIDI_R
- See Also:
- Constant Field Values
-
BIDI_RLE
public static final int BIDI_RLE
- See Also:
- Constant Field Values
-
BIDI_RLO
public static final int BIDI_RLO
- See Also:
- Constant Field Values
-
BIDI_S
public static final int BIDI_S
- See Also:
- Constant Field Values
-
BIDI_WS
public static final int BIDI_WS
- See Also:
- Constant Field Values
-
BM_OFF
public static final int BM_OFF
- See Also:
- Constant Field Values
-
BM_ON
public static final int BM_ON
- See Also:
- Constant Field Values
-
defaultLetter
public static final int defaultLetter
-
defaultSpace
public static final int defaultSpace
-
defaultObject
public static final int defaultObject
-
INVALID
public static final int INVALID
- See Also:
- Constant Field Values
-
BREAK_PROHIBIT
public static final int BREAK_PROHIBIT
- See Also:
- Constant Field Values
-
BREAK_IF_SPACE
public static final int BREAK_IF_SPACE
- See Also:
- Constant Field Values
-
BREAK_COMBINING_MARK
public static final int BREAK_COMBINING_MARK
- See Also:
- Constant Field Values
-
BREAK_ALLOW
public static final int BREAK_ALLOW
- See Also:
- Constant Field Values
-
-
Method Detail
-
makeData
public static final int makeData(int eBreak, int eWidth, int eGrapheme, int eWord, int eCase, int eBIDI, int eBM)
-
getCharProperty
public static int getCharProperty(int c)
-
getPairRule
public static int getPairRule(int eBefore, int eAfter)
-
kinsokuAllowStart
public static boolean kinsokuAllowStart(int c)
-
kinsokuAllowEnd
public static boolean kinsokuAllowEnd(int c)
-
getBreakClass
public static int getBreakClass(int nData)
-
setBreakClass
public static int setBreakClass(int nData, int eBreak)
-
breakToIndex
public static int breakToIndex(int nData)
-
getWidthClass
public static int getWidthClass(int nData)
-
setWidthClass
public static int setWidthClass(int nData, int eWidth)
-
widthToIndex
public static int widthToIndex(int nData)
-
getGraphemeClass
public static int getGraphemeClass(int nData)
-
setGraphemeClass
public static int setGraphemeClass(int nData, int eGrapheme)
-
graphemeToIndex
public static int graphemeToIndex(int nData)
-
getWordClass
public static int getWordClass(int nData)
-
setWordClass
public static int setWordClass(int nData, int eWord)
-
wordToIndex
public static int wordToIndex(int nData)
-
getCaseClass
public static int getCaseClass(int nData)
-
setCaseClass
public static int setCaseClass(int nData, int eCase)
-
caseToIndex
public static int caseToIndex(int nData)
-
getBIDIClass
public static int getBIDIClass(int nData)
-
setBIDIClass
public static int setBIDIClass(int nData, int eBIDI)
-
BIDIToIndex
public static int BIDIToIndex(int nData)
-
getBIDIMirrorClass
public static int getBIDIMirrorClass(int nData)
-
setBIDIMirrorClass
public static int setBIDIMirrorClass(int nData, int eBIDIMirror)
-
BIDIMirrorToIndex
public static int BIDIMirrorToIndex(int nData)
-
isBIDIMirrored
public static boolean isBIDIMirrored(int nData)
-
isWordEdge
public static boolean isWordEdge(int eData)
-
resolveBreakWidth
public static int resolveBreakWidth(int eBefore, int eAfter, int eDefault)
-
resolveBreakWidth
public static int resolveBreakWidth(int eBefore, int eAfter)
-
isAmbiguousWidth
public static boolean isAmbiguousWidth(int eWidth)
-
getBIDIMirrorChar
public static int getBIDIMirrorChar(int c)
-
-