Lines Matching refs:aTxt
226 String aTxt( aEditWord ); in EnableLRBtn_Impl() local
227 xub_StrLen nLen = aTxt.Len(); in EnableLRBtn_Impl()
233 if ( aTxt.GetChar( i ) == sal_Unicode( HYPH_POS_CHAR ) ) in EnableLRBtn_Impl()
240 DBG_ASSERT(nOldPos < aTxt.Len(), "nOldPos out of range"); in EnableLRBtn_Impl()
241 if (nOldPos >= aTxt.Len()) in EnableLRBtn_Impl()
242 nOldPos = aTxt.Len() - 1; in EnableLRBtn_Impl()
246 if ( aTxt.GetChar( i ) == sal_Unicode( HYPH_POS_CHAR ) ) in EnableLRBtn_Impl()
286 String aTxt; in EraseUnusableHyphens_Impl() local
292 aTxt = String( rxPossHyph->getPossibleHyphens() ); in EraseUnusableHyphens_Impl()
313 nPos = aTxt.Search( sal_Unicode( HYPH_POS_CHAR ), nStart ); in EraseUnusableHyphens_Impl()
333 nPos = aTxt.SearchAndReplace( aTmp, aEmpty, nPos + 1 ); in EraseUnusableHyphens_Impl()
336 const String aSearchRange( aTxt.Copy( 0, nPos1 ) ); in EraseUnusableHyphens_Impl()
348 aTxt.Replace( 0, nPos2, aLeft ); in EraseUnusableHyphens_Impl()
351 return aTxt; in EraseUnusableHyphens_Impl()
432 String aTxt( aWordEdit.GetText() ); in GetHyphIndex_Impl() local
434 for ( sal_uInt16 i=0 ; i < aTxt.Len(); ++i ) in GetHyphIndex_Impl()
436 sal_Unicode cChar = aTxt.GetChar( i ); in GetHyphIndex_Impl()
451 String aTxt( aEditWord ); in SelLeft_Impl() local
454 DBG_ASSERT(i <= aTxt.Len(), "index out of range"); in SelLeft_Impl()
455 if (aTxt.GetChar( i ) == sal_Unicode( HYPH_POS_CHAR )) in SelLeft_Impl()
457 aTxt.SetChar( i, sal_Unicode( CUR_HYPH_POS_CHAR ) ); in SelLeft_Impl()
460 aWordEdit.SetText( aTxt ); in SelLeft_Impl()
474 String aTxt( aEditWord ); in SelRight_Impl() local
475 for ( xub_StrLen i = nOldPos + 1; i < aTxt.Len(); ++i ) in SelRight_Impl()
477 if (aTxt.GetChar( i ) == sal_Unicode( HYPH_POS_CHAR )) in SelRight_Impl()
479 aTxt.SetChar( i, sal_Unicode( CUR_HYPH_POS_CHAR ) ); in SelRight_Impl()
482 aWordEdit.SetText( aTxt ); in SelRight_Impl()