Lines Matching refs:rWord
271 sal_Int16 SpellChecker::GetSpellFailure( const OUString &rWord, const Locale &rLocale ) in GetSpellFailure() argument
282 OUStringBuffer rBuf(rWord); in GetSpellFailure()
358 sal_Bool SAL_CALL SpellChecker::isValid( const OUString& rWord, const Locale& rLocale, in isValid() argument
364 if (rLocale == Locale() || !rWord.getLength()) in isValid()
375 if (rWord.match(A2OU(SPELLML_HEADER), 0) && (rWord.getLength() > 10)) return sal_False; in isValid()
387 sal_Int16 nFailure = GetSpellFailure( rWord, rLocale ); in isValid()
388 if (nFailure != -1 && !rWord.match(A2OU(SPELLML_HEADER), 0)) in isValid()
393 (!rHelper.IsSpellUpperCase() && IsUpper( rWord, nLang )) || in isValid()
394 (!rHelper.IsSpellWithDigits() && HasDigits( rWord )) || in isValid()
405 SpellChecker::GetProposals( const OUString &rWord, const Locale &rLocale ) in GetProposals() argument
420 OUStringBuffer rBuf(rWord); in GetProposals()
474 String aTmp(rWord); in GetProposals()
486 const OUString& rWord, const Locale& rLocale, in spell() argument
492 if (rLocale == Locale() || !rWord.getLength()) in spell()
503 if (!isValid( rWord, rLocale, rProperties )) in spell()
505 xAlt = GetProposals( rWord, rLocale ); in spell()