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 intBIDI_ALstatic intBIDI_ANstatic intBIDI_Bstatic intBIDI_BNstatic intBIDI_CSstatic intBIDI_ENstatic intBIDI_ESstatic intBIDI_ETstatic intBIDI_Lstatic intBIDI_LREstatic intBIDI_LROstatic intBIDI_MASKstatic intBIDI_NSMstatic intBIDI_ONstatic intBIDI_PDFstatic intBIDI_Rstatic intBIDI_RLEstatic intBIDI_RLOstatic intBIDI_Sstatic intBIDI_SHIFTstatic intBIDI_WSstatic intBM_MASKstatic intBM_OFFstatic intBM_ONstatic intBM_SHIFTstatic intBREAK_AIstatic intBREAK_ALstatic intBREAK_ALLOWstatic intBREAK_B2static intBREAK_BAstatic intBREAK_BBstatic intBREAK_BKstatic intBREAK_CBstatic intBREAK_CLstatic intBREAK_CMstatic intBREAK_COMBINING_MARKstatic intBREAK_CRstatic intBREAK_EXstatic intBREAK_GLstatic intBREAK_H2static intBREAK_H3static intBREAK_HYstatic intBREAK_IDstatic intBREAK_IF_SPACEstatic intBREAK_INstatic intBREAK_ISstatic intBREAK_JLstatic intBREAK_JTstatic intBREAK_JVstatic intBREAK_LFstatic intBREAK_MASKstatic intBREAK_NLstatic intBREAK_NSstatic intBREAK_NUstatic intBREAK_OPstatic intBREAK_POstatic intBREAK_PRstatic intBREAK_PROHIBITstatic intBREAK_QUstatic intBREAK_SAstatic intBREAK_SGstatic intBREAK_SHIFTstatic intBREAK_SPstatic intBREAK_SYstatic intBREAK_WJstatic intBREAK_XXstatic intBREAK_ZWstatic intCASE_Defaultstatic intCASE_Lowercasestatic intCASE_MASKstatic intCASE_SHIFTstatic intCASE_Titlecasestatic intCASE_Uppercasestatic intdefaultLetterstatic intdefaultObjectstatic intdefaultSpacestatic intGRAPHEME_Controlstatic intGRAPHEME_CRstatic intGRAPHEME_Defaultstatic intGRAPHEME_Extendstatic intGRAPHEME_Lstatic intGRAPHEME_LFstatic intGRAPHEME_LVstatic intGRAPHEME_LVTstatic intGRAPHEME_MASKstatic intGRAPHEME_SHIFTstatic intGRAPHEME_Tstatic intGRAPHEME_Vstatic intINVALIDstatic intWIDTH_Astatic intWIDTH_Fstatic intWIDTH_Hstatic intWIDTH_MASKstatic intWIDTH_Nstatic intWIDTH_Nastatic intWIDTH_SHIFTstatic intWIDTH_Wstatic intWORD_ALetterstatic intWORD_Defaultstatic intWORD_ExtendNumLetstatic intWORD_Formatstatic intWORD_Katakanastatic intWORD_MASKstatic intWORD_MidLetterstatic intWORD_MidNumstatic intWORD_Numericstatic intWORD_SHIFT
-
Constructor Summary
Constructors Constructor Description TextCharProp()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static intBIDIMirrorToIndex(int nData)static intBIDIToIndex(int nData)static intbreakToIndex(int nData)static intcaseToIndex(int nData)static intgetBIDIClass(int nData)static intgetBIDIMirrorChar(int c)static intgetBIDIMirrorClass(int nData)static intgetBreakClass(int nData)static intgetCaseClass(int nData)static intgetCharProperty(int c)static intgetGraphemeClass(int nData)static intgetPairRule(int eBefore, int eAfter)static intgetWidthClass(int nData)static intgetWordClass(int nData)static intgraphemeToIndex(int nData)static booleanisAmbiguousWidth(int eWidth)static booleanisBIDIMirrored(int nData)static booleanisWordEdge(int eData)static booleankinsokuAllowEnd(int c)static booleankinsokuAllowStart(int c)static intmakeData(int eBreak, int eWidth, int eGrapheme, int eWord, int eCase, int eBIDI, int eBM)static intresolveBreakWidth(int eBefore, int eAfter)static intresolveBreakWidth(int eBefore, int eAfter, int eDefault)static intsetBIDIClass(int nData, int eBIDI)static intsetBIDIMirrorClass(int nData, int eBIDIMirror)static intsetBreakClass(int nData, int eBreak)static intsetCaseClass(int nData, int eCase)static intsetGraphemeClass(int nData, int eGrapheme)static intsetWidthClass(int nData, int eWidth)static intsetWordClass(int nData, int eWord)static intwidthToIndex(int nData)static intwordToIndex(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)
-
-