Lines Matching refs:cChar
135 int ImplFontCharMap::ImplFindRangeIndex( sal_UCS4 cChar ) const in ImplFindRangeIndex()
142 if( cChar >= mpRangeCodes[ nMid ] ) in ImplFindRangeIndex()
154 bool ImplFontCharMap::HasChar( sal_UCS4 cChar ) const in HasChar()
159 const int nRange = ImplFindRangeIndex( cChar ); in HasChar()
160 if( nRange==0 && cChar<mpRangeCodes[0] ) in HasChar()
164 const int nGlyphIndex = GetGlyphIndex( cChar ); in HasChar()
173 int ImplFontCharMap::GetGlyphIndex( sal_UCS4 cChar ) const in GetGlyphIndex()
180 int nRange = ImplFindRangeIndex( cChar ); in GetGlyphIndex()
182 if( (nRange == 0) && (cChar < mpRangeCodes[0]) ) { in GetGlyphIndex()
188 nRange = ImplFindRangeIndex( cChar | 0xF000 ); in GetGlyphIndex()
195 int nGlyphIndex = cChar - mpRangeCodes[ nRange ]; in GetGlyphIndex()
253 sal_UCS4 ImplFontCharMap::GetNextChar( sal_UCS4 cChar ) const in GetNextChar()
255 if( cChar < GetFirstChar() ) in GetNextChar()
257 if( cChar >= GetLastChar() ) in GetNextChar()
260 int nRange = ImplFindRangeIndex( cChar + 1 ); in GetNextChar()
263 return (cChar + 1); in GetNextChar()
268 sal_UCS4 ImplFontCharMap::GetPrevChar( sal_UCS4 cChar ) const in GetPrevChar()
270 if( cChar <= GetFirstChar() ) in GetPrevChar()
272 if( cChar > GetLastChar() ) in GetPrevChar()
275 int nRange = ImplFindRangeIndex( cChar - 1 ); in GetPrevChar()
278 return (cChar - 1); in GetPrevChar()
283 int ImplFontCharMap::GetIndexFromChar( sal_UCS4 cChar ) const in GetIndexFromChar()
292 if( cChar >= cLast ) in GetIndexFromChar()
294 else if( cChar >= cFirst ) in GetIndexFromChar()
295 return nCharIndex + (cChar - cFirst); in GetIndexFromChar()
665 bool FontCharMap::HasChar( sal_UCS4 cChar ) const in HasChar()
667 return mpImpl->HasChar( cChar ); in HasChar()
686 sal_UCS4 FontCharMap::GetNextChar( sal_UCS4 cChar ) const in GetNextChar()
688 return mpImpl->GetNextChar( cChar ); in GetNextChar()
693 sal_UCS4 FontCharMap::GetPrevChar( sal_UCS4 cChar ) const in GetPrevChar()
695 return mpImpl->GetPrevChar( cChar ); in GetPrevChar()
700 int FontCharMap::GetIndexFromChar( sal_UCS4 cChar ) const in GetIndexFromChar()
702 return mpImpl->GetIndexFromChar( cChar ); in GetIndexFromChar()