Lines Matching refs:cChar
340 sal_Bool SvxAutoCorrect::IsAutoCorrectChar( sal_Unicode cChar ) in IsAutoCorrectChar() argument
342 return cChar == '\0' || cChar == '\t' || cChar == 0x0a || in IsAutoCorrectChar()
343 cChar == ' ' || cChar == '\'' || cChar == '\"' || in IsAutoCorrectChar()
344 cChar == '*' || cChar == '_' || in IsAutoCorrectChar()
345 cChar == '.' || cChar == ',' || cChar == ';' || in IsAutoCorrectChar()
346 cChar == ':' || cChar == '?' || cChar == '!' || cChar == '/'; in IsAutoCorrectChar()
349 sal_Bool SvxAutoCorrect::NeedsHardspaceAutocorr( sal_Unicode cChar ) in NeedsHardspaceAutocorr() argument
351 return cChar == ';' || cChar == ':' || cChar == '?' || cChar == '!' || in NeedsHardspaceAutocorr()
352 cChar == '/' /*case for the urls exception*/; in NeedsHardspaceAutocorr()
691 sal_Unicode cChar = rTxt.GetChar( nEndPos ); in FnAddNonBrkSpace() local
692 bool bHasSpace = chars.indexOf( sal_Unicode( cChar ) ) != -1; in FnAddNonBrkSpace()
693 bool bIsSpecial = allChars.indexOf( sal_Unicode( cChar ) ) != -1; in FnAddNonBrkSpace()
735 else if ( cChar == '/' && nEndPos > 1 && rTxt.Len() > (nEndPos - 1) ) in FnAddNonBrkSpace()
1222 xub_StrLen nInsPos, sal_Unicode cChar, in AutoCorrect() argument
1230 if( cChar ) in AutoCorrect()
1233 if( nInsPos && ' ' == cChar && in AutoCorrect()
1241 sal_Bool bSingle = '\'' == cChar; in AutoCorrect()
1243 (IsAutoCorrFlag( ChgQuotes ) && ('\"' == cChar )) || in AutoCorrect()
1256 InsertQuote( rDoc, nInsPos, cChar, bSttQuote, bInsert ); in AutoCorrect()
1262 rDoc.Insert( nInsPos, cChar ); in AutoCorrect()
1264 rDoc.Replace( nInsPos, cChar ); in AutoCorrect()
1269 if ( NeedsHardspaceAutocorr( cChar ) && in AutoCorrect()
1274 else if ( bIsNextRun && !IsAutoCorrectChar( cChar ) ) in AutoCorrect()
1278 cChar != ' ' && cChar != '\t' && cChar != CHAR_HARDBLANK ) in AutoCorrect()
1311 if( '*' == cChar || '_' == cChar ) in AutoCorrect()
1396 ( ' ' == cChar || '\t' == cChar || 0x0a == cChar || !cChar ) && in AutoCorrect()