Lines Matching refs:aText
92 static sal_Bool TildeParsing( String& aText, String& aBaseUrl );
113 String aText; member in SvtMatchContext_Impl
151 , aText( rText ) in SvtMatchContext_Impl()
299 pBox->SetSelection( Selection( pThis->aText.Len(), aTmp.Len() ) );
351 bPureHomePath = aText.Search( '~' ) == 0 && aText.Search( '/' ) == STRING_NOTFOUND; in ReadFolder()
355 || aText.CompareToAscii( "." ) == COMPARE_EQUAL in ReadFolder()
356 … || (aText.Len() > 1 && aText.Copy( aText.Len() - 2, 2 ).CompareToAscii( "/." ) == COMPARE_EQUAL) in ReadFolder()
357 … || (aText.Len() > 2 && aText.Copy( aText.Len() - 3, 3 ).CompareToAscii( "/.." ) == COMPARE_EQUAL); in ReadFolder()
366 String aNewText( aText ); in ReadFolder()
472 String aInput( aText ); in ReadFolder()
475 … if ((aText.Len() && aText.GetChar(aText.Len() - 1) == '.') || bPureHomePath) in ReadFolder()
509 String SvtURLBox::ParseSmart( String aText, String aBaseURL, String aWorkDir ) in ParseSmart() argument
515 if( !SvtURLBox_Impl::TildeParsing( aText, aBaseURL ) ) in ParseSmart()
524 if( aText.Search( '/' ) == 0 ) in ParseSmart()
530 String aTextURL = INetURLObject::encode( aText, INetURLObject::PART_FPATH, in ParseSmart()
540 String aSmart( aText ); in ParseSmart()
548 if( aText.Search( '\\' ) == 0 && (aText.Len() < 2 || aText.GetChar( 1 ) != '\\') ) in ParseSmart()
575 if ( aText.GetChar( aText.Len() - 1 ) == '.' ) in ParseSmart()
585 ::utl::LocalFileHelper::ConvertSystemPathToURL( aText, aWorkDir, aMatch ); in ParseSmart()
604 sal_uInt16 nTextLen = aText.Len(); in run()
608 if( aText.Search( '*' ) != STRING_NOTFOUND || aText.Search( '?' ) != STRING_NOTFOUND ) in run()
614 INetProtocol eProt = INetURLObject::CompareProtocolScheme( aText ); in run()
629 aMatch = SvtURLBox::ParseSmart( aText, aBaseURL, aWorkDir ); in run()
631 aMatch = aText; in run()
640 Insert( aText, aMatch ); in run()
685 aObj.SetSmartURL( aText ); in run()
695 …if ( aText.CompareIgnoreCaseToAscii( aScheme, aText.Len() ) == COMPARE_EQUAL && aText.Len() < aSch… in run()
714 if( aText.CompareIgnoreCaseToAscii( aCurString, aText.Len() )== COMPARE_EQUAL ) in run()
730 if( aText.Len() < aMatch.Len() ) in run()
742 if( aText.CompareTo( aCurMainURL, aText.Len() ) == COMPARE_EQUAL ) in run()
744 if( aText.Len() < aCurMainURL.Len() ) in run()
1141 String aText( GetText() ); in GetURL() local
1142 if ( MatchesPlaceHolder( aText ) ) in GetURL()
1152 if( *(*pImp->pCompletions)[ nPos ] == aText ) in GetURL()
1160 aText.EraseTrailingChars(); in GetURL()
1161 if ( !aText.Len() ) in GetURL()
1162 return aText; in GetURL()
1166 INetURLObject aObj( aText ); in GetURL()
1167 if( aText.Search( '*' ) != STRING_NOTFOUND || aText.Search( '?' ) != STRING_NOTFOUND ) in GetURL()
1173 if ( aTempObj.SetSmartURL( aText ) ) in GetURL()
1176 return aText; in GetURL()
1181 String aName = ParseSmart( aText, aBaseURL, SvtPathOptions().GetWorkPath() ); in GetURL()
1187 return aText; in GetURL()
1254 aText in TildeParsing()
1263 if( aText.Search( '~' ) == 0 ) in TildeParsing()
1268 if( aText.Len() == 1 || aText.GetChar( 1 ) == '/' ) in TildeParsing()
1279 if( aText.Len() == 1 ) in TildeParsing()
1285 xub_StrLen nNameEnd = aText.Search( '/' ); in TildeParsing()
1286 …String aUserName = aText.Copy( 1, ( nNameEnd != STRING_NOTFOUND ) ? nNameEnd : ( aText.Len() - 1 )… in TildeParsing()
1332 if( aText.Len() > 2 ) in TildeParsing()
1333 aParseTilde += aText.Copy( 2 ); in TildeParsing()
1336 aText = aParseTilde; in TildeParsing()