Home
last modified time | relevance | path

Searched refs:aWord (Results 1 – 25 of 44) sorted by relevance

12

/AOO41X/main/odk/examples/DevelopersGuide/OfficeDev/Linguistic/
H A DSampleSpellChecker.java135 private boolean IsUpper( String aWord, Locale aLocale ) in IsUpper() argument
139 return aWord.equals( aWord.toUpperCase( aLang ) ); in IsUpper()
142 private boolean HasDigits( String aWord ) in HasDigits() argument
144 int nLen = aWord.length(); in HasDigits()
147 if (Character.isDigit( aWord.charAt(i) )) in HasDigits()
154 String aWord, in GetSpellFailure() argument
165 if (bIsGermanPreReform && aWord.equals( "Schifffahrt" )) in GetSpellFailure()
167 else if (!bIsGermanPreReform && aWord.equals( "Schiffahrt" )) in GetSpellFailure()
173 boolean bIsValid = !(aWord.indexOf( "u" ) != -1 || aWord.indexOf( "U" ) != -1) in GetSpellFailure()
174 && !aWord.equals( "arizona" ); in GetSpellFailure()
[all …]
H A DSampleHyphenator.java206 String aWord, Locale aLocale, in hyphenate() argument
211 if (IsEqual( aLocale, new Locale() ) || aWord.length() == 0) in hyphenate()
232 if (aWord.length() >= nHyphMinWordLen) in hyphenate()
234 String aHyphenatedWord = aWord; in hyphenate()
242 if (bIsGermanPreReform && aWord.equals( "Schiffahrt" )) in hyphenate()
251 else if (!bIsGermanPreReform && aWord.equals( "Schifffahrt" )) in hyphenate()
258 int nLast = aWord.length() - 1 - nHyphMinTrailing; in hyphenate()
260 if ( aWord.equals( "waterfall" ) ) in hyphenate()
267 else if ( aWord.equals( "driving" ) ) in hyphenate()
277 !(nHyphenationPos >= aWord.length() - nHyphMinTrailing)) in hyphenate()
[all …]
H A DXHyphenatedWord_impl.java29 String aWord; field in XHyphenatedWord_impl
37 String aWord, in XHyphenatedWord_impl() argument
43 this.aWord = aWord; in XHyphenatedWord_impl()
48 this.bIsAltSpelling = (aWord != aHyphenatedWord); in XHyphenatedWord_impl()
52 if (this.aWord == null) in XHyphenatedWord_impl()
53 this.aWord = new String(); in XHyphenatedWord_impl()
64 return aWord; in getWord()
H A DLinguisticExamples.java183 String aWord = "horseback"; in Run() local
184 boolean bIsCorrect = mxSpell.isValid( aWord, aLocale, aEmptyProps ); in Run()
185 System.out.println( aWord + ": " + bIsCorrect ); in Run()
188 aWord = "course"; in Run()
189 bIsCorrect = mxSpell.isValid( aWord, aLocale , aEmptyProps ); in Run()
190 System.out.println( aWord + ": " + bIsCorrect ); in Run()
193 aWord = "house"; in Run()
194 XSpellAlternatives xAlt = mxSpell.spell( aWord, aLocale, aEmptyProps ); in Run()
196 System.out.println( aWord + " is correct." ); in Run()
199 System.out.println( aWord + " is not correct. A list of proposals follows." ); in Run()
H A DXPossibleHyphens_impl.java29 String aWord; field in XPossibleHyphens_impl
35 String aWord, in XPossibleHyphens_impl() argument
40 this.aWord = aWord; in XPossibleHyphens_impl()
47 if (this.aWord == null) in XPossibleHyphens_impl()
48 this.aWord = new String(); in XPossibleHyphens_impl()
63 return aWord; in getWord()
H A DXSpellAlternatives_impl.java30 String aWord; field in XSpellAlternatives_impl
36 String aWord, in XSpellAlternatives_impl() argument
41 this.aWord = aWord; in XSpellAlternatives_impl()
48 if (this.aWord == null) in XSpellAlternatives_impl()
49 this.aWord = new String(); in XSpellAlternatives_impl()
62 return aWord; in getWord()
/AOO41X/main/linguistic/inc/linguistic/
H A Dhyphdta.hxx48 ::rtl::OUString aWord;
84 ::rtl::OUString GetWord() { return aWord; } in GetWord()
87 void SetWord( ::rtl::OUString &rTxt ) { aWord = rTxt; } in SetWord()
101 ::rtl::OUString aWord;
130 ::rtl::OUString GetWord() { return aWord; } in GetWord()
132 void SetWord( ::rtl::OUString &rTxt ) { aWord = rTxt; } in SetWord()
/AOO41X/main/lingucomponent/source/hyphenator/altlinuxhyph/hyphen/
H A Dhyphenimp.cxx276 Reference< XHyphenatedWord > SAL_CALL Hyphenator::hyphenate( const ::rtl::OUString& aWord, in hyphenate() argument
352 ct = capitalType(aWord, pCC); in hyphenate()
355 OUStringBuffer rBuf(aWord); in hyphenate()
419 sal_Int32 Leading = GetPosInWordToCheck( aWord, nMaxLeading ); in hyphenate()
503 xRes = new HyphenatedWord( aWord, LocaleToLanguage( aLocale ), nPos, in hyphenate()
504 aWord.replaceAt(nHyphenationPosAlt + 1, cut[nHyphenationPos], repHyph), in hyphenate()
509 xRes = new HyphenatedWord( aWord, LocaleToLanguage( aLocale ), in hyphenate()
510 (sal_Int16)nHyphenationPos, aWord, (sal_Int16) nHyphenationPos); in hyphenate()
545 …rence< XPossibleHyphens > SAL_CALL Hyphenator::createPossibleHyphens( const ::rtl::OUString& aWord, in createPossibleHyphens() argument
615 OUStringBuffer rBuf(aWord); in createPossibleHyphens()
[all …]
H A Dhyphenimp.hxx111 …linguistic2::XHyphenatedWord > SAL_CALL hyphenate( const ::rtl::OUString& aWord, const ::com::sun:…
112 …yphenatedWord > SAL_CALL queryAlternativeSpelling( const ::rtl::OUString& aWord, const ::com::sun:…
113 …XPossibleHyphens > SAL_CALL createPossibleHyphens( const ::rtl::OUString& aWord, const ::com::sun:…
/AOO41X/main/linguistic/source/
H A Dspelldsp.hxx89 sal_Bool isValid_Impl(const ::rtl::OUString& aWord, LanguageType nLanguage,
96 spell_Impl(const ::rtl::OUString& aWord, LanguageType nLanguage,
110 …virtual sal_Bool SAL_CALL isValid( const ::rtl::OUString& aWord, const ::com::sun::star::lang::Loc…
111 …:linguistic2::XSpellAlternatives > SAL_CALL spell( const ::rtl::OUString& aWord, const ::com::sun:…
118 …virtual ::sal_Bool SAL_CALL isValid( const ::rtl::OUString& aWord, ::sal_Int16 nLanguage, const ::…
119 …:linguistic2::XSpellAlternatives > SAL_CALL spell( const ::rtl::OUString& aWord, ::sal_Int16 nLang…
H A Dhyphdta.cxx54 aWord (rWord), in HyphenatedWord()
86 return aWord; in getWord()
138 aWord (rWord), in PossibleHyphens()
155 return aWord; in getWord()
H A Dspelldta.cxx254 aWord (rWord), in SpellAlternatives()
269 aWord (rWord), in SpellAlternatives()
285 return aWord; in getWord()
340 aWord = rWord; in SetWordLanguage()
H A Dhyphdsp.hxx111 hyphenate( const ::rtl::OUString& aWord,
119 queryAlternativeSpelling( const ::rtl::OUString& aWord,
128 const ::rtl::OUString& aWord,
H A Ddicimp.hxx132 getEntry( const ::rtl::OUString& aWord )
139 add( const ::rtl::OUString& aWord, sal_Bool bIsNegative,
143 remove( const ::rtl::OUString& aWord )
H A Dmisc.cxx556 OUString aWord( rxHyphWord->getWord() ), in GetAltSpelling() local
560 const sal_Unicode *pWord = aWord.getStr(), in GetAltSpelling()
584 sal_Int32 nPosR = aWord.getLength() - 1, in GetAltSpelling()
649 OUString aWord( rxHyphWord->getWord() ); in RebuildHyphensAndControlChars() local
/AOO41X/main/editeng/source/editeng/
H A Dimpedit4.cxx1718 String aWord; in ImpConvert() local
1860 aWord = GetSelected( aCurSel ); in ImpConvert()
1862 if ( aWord.Len() > 0 /* && bLangOk */) in ImpConvert()
1863 aRes = aWord; in ImpConvert()
1896 String aWord; in ImpSpell()
1921 aWord = GetSelected( aCurSel ); in ImpSpell()
1925 if ( aWord.Len() && ( aCurSel.Max().GetIndex() < aCurSel.Max().GetNode()->Len() ) ) in ImpSpell()
1931 aWord += cNext; in ImpSpell()
1935 if ( aWord.Len() > 0 ) in ImpSpell()
1939 xSpellAlt = xSpeller->spell( aWord, eLang, aEmptySeq ); in ImpSpell()
[all …]
H A Deditview.cxx1204 String aWord = pImpEditView->SpellIgnoreOrAddWord( sal_False ); in ExecuteSpellPopup() local
1207 SpellCallbackInfo aInf( SPELLCMD_IGNOREWORD, aWord ); in ExecuteSpellPopup()
1288 String aWord = pAlt[nId - MN_AUTOSTART]; in ExecuteSpellPopup() local
1291 pAutoCorrect->PutText( aSelected, aWord, PIMPEE->GetLanguage( aPaM2 ) ); in ExecuteSpellPopup()
1292 InsertText( aWord ); in ExecuteSpellPopup()
1297 String aWord = pAlt[nId - MN_ALTSTART]; in ExecuteSpellPopup() local
1298 InsertText( aWord ); in ExecuteSpellPopup()
1409 XubString aWord; in GetWordUnderMousePointer() local
1428 aWord = pImpEE->GetSelected( aWordSel ); in GetWordUnderMousePointer()
1431 return aWord; in GetWordUnderMousePointer()
/AOO41X/main/offapi/com/sun/star/linguistic2/
H A DXDictionary.idl130 @param aWord
135 com::sun::star::linguistic2::XDictionaryEntry getEntry( [in] string aWord );
167 @param aWord
175 be used when replacing aWord. Otherwise, it is undefined.
183 [in] string aWord,
190 @param aWord
197 boolean remove( [in] string aWord );
H A DXSpellChecker.idl69 @param aWord
88 [in] string aWord,
98 <NULL/> if <var>aWord</var> is spelled correctly using
103 @param aWord
121 [in] string aWord,
H A DXHyphenator.idl94 @param aWord
118 [in] string aWord,
141 @param aWord
166 [in] string aWord,
180 @param aWord
199 [in] string aWord,
H A DXDictionary1.idl71 com::sun::star::linguistic2::XDictionaryEntry getEntry( [in] string aWord );
78 [in] string aWord,
83 boolean remove( [in] string aWord );
H A DXSearchableDictionary.idl48 @param aWord
58 …equence< com::sun::star::linguistic2::XDictionaryEntry > searchSimilarEntries( [in] string aWord );
H A DXSpellChecker1.idl58 [in] string aWord,
65 [in] string aWord,
/AOO41X/main/basctl/source/basicide/
H A Dbaside2b.cxx200 String aWord; in GetWordAtCursor() local
225 aWord = aURL; in GetWordAtCursor()
234 if ( !aWord.Len() ) in GetWordAtCursor()
235 aWord = pTextEngine->GetWord( rSelEnd ); in GetWordAtCursor()
238 if ( !aWord.Len() && pEditView->HasSelection() ) in GetWordAtCursor()
239 aWord = pTextEngine->GetWord( rSelStart ); in GetWordAtCursor()
243 return aWord; in GetWordAtCursor()
270 String aWord = GetEditView()->GetTextEngine()->GetWord( aCursor, &aStartOfWord ); in RequestHelp() local
271 if ( aWord.Len() && !ByteString( aWord, RTL_TEXTENCODING_UTF8 ).IsNumericAscii() ) in RequestHelp()
273 sal_uInt16 nLastChar =aWord.Len()-1; in RequestHelp()
[all …]
/AOO41X/main/editeng/inc/editeng/
H A Deditstat.hxx128 String aWord; member
132 : aWord( rWord ) in SpellCallbackInfo()

12