Lines Matching refs:rWord
297 sal_Int16 SpellChecker::GetSpellFailure( const OUString &rWord, const Locale &rLocale ) in GetSpellFailure() argument
308 OUStringBuffer rBuf(rWord); in GetSpellFailure()
384 sal_Bool SAL_CALL SpellChecker::isValid( const OUString& rWord, const Locale& rLocale, in isValid() argument
390 if (rLocale == Locale() || !rWord.getLength()) in isValid()
401 if (rWord.match(A2OU(SPELLML_HEADER), 0) && (rWord.getLength() > 10)) return sal_False; in isValid()
413 sal_Int16 nFailure = GetSpellFailure( rWord, rLocale ); in isValid()
414 if (nFailure != -1 && !rWord.match(A2OU(SPELLML_HEADER), 0)) in isValid()
419 (!rHelper.IsSpellUpperCase() && IsUpper( rWord, nLang )) || in isValid()
420 (!rHelper.IsSpellWithDigits() && HasDigits( rWord )) || in isValid()
431 SpellChecker::GetProposals( const OUString &rWord, const Locale &rLocale ) in GetProposals() argument
446 OUStringBuffer rBuf(rWord); in GetProposals()
499 String aTmp(rWord); in GetProposals()
508 const OUString& rWord, const Locale& rLocale, in spell() argument
514 if (rLocale == Locale() || !rWord.getLength()) in spell()
525 if (!isValid( rWord, rLocale, rProperties )) in spell()
527 xAlt = GetProposals( rWord, rLocale ); in spell()