Lines Matching refs:nChar
81 bool IsDiacritic( sal_UCS4 nChar ) in IsDiacritic() argument
84 if( nChar < 0x0300 ) in IsDiacritic()
86 if( nChar >= 0x2100 ) in IsDiacritic()
110 if( (pRange->mnMin <= nChar) && (nChar < pRange->mnEnd) ) in IsDiacritic()
118 int GetVerticalFlags( sal_UCS4 nChar ) in GetVerticalFlags() argument
120 if( (nChar >= 0x1100 && nChar <= 0x11f9) // Hangul Jamo in GetVerticalFlags()
121 || (nChar == 0x2030 || nChar == 0x2031) // per mille sign in GetVerticalFlags()
122 || (nChar >= 0x3000 && nChar <= 0xfaff) // unified CJK in GetVerticalFlags()
123 || (nChar >= 0xfe20 && nChar <= 0xfe6f) // CJK compatibility in GetVerticalFlags()
124 || (nChar >= 0xff00 && nChar <= 0xfffd) ) // other CJK in GetVerticalFlags()
131 if((nChar >= 0x3008 && nChar <= 0x301C && nChar != 0x3012) in GetVerticalFlags()
132 || (nChar == 0xFF3B || nChar == 0xFF3D) in GetVerticalFlags()
133 || (nChar >= 0xFF5B && nChar <= 0xFF9F) // halfwidth forms in GetVerticalFlags()
134 || (nChar == 0xFFE3) ) in GetVerticalFlags()
136 else if( nChar == 0x30fc ) in GetVerticalFlags()
140 else if( (nChar >= 0x20000) && (nChar <= 0x3FFFF) ) // all SIP/TIP ideographs in GetVerticalFlags()
154 switch( nChar ) in GetVerticalChar()
197 VCL_DLLPUBLIC sal_UCS4 GetMirroredChar( sal_UCS4 nChar ) in GetMirroredChar() argument
199 nChar = u_charMirror( nChar ); in GetMirroredChar()
200 return nChar; in GetMirroredChar()
206 const char* GetAutofallback( sal_UCS4 nChar ) in GetAutofallback() argument
209 switch( nChar ) in GetAutofallback()
290 sal_UCS4 GetLocalizedChar( sal_UCS4 nChar, LanguageType eLang ) in GetLocalizedChar() argument
293 if( (nChar < '0') || ('9' < nChar) ) in GetLocalizedChar()
294 return nChar; in GetLocalizedChar()
382 nChar += nOffset; in GetLocalizedChar()
383 return nChar; in GetLocalizedChar()
939 long nChar = nGlyph & GF_IDXMASK; in IsSpacingGlyph() local
940 bRet = (nChar <= 0x0020) // blank in IsSpacingGlyph()
942 || (nChar >= 0x2000 && nChar <= 0x200F) // whitespace in IsSpacingGlyph()
943 || (nChar == 0x3000); // ideographic space in IsSpacingGlyph()