Lines Matching refs:OUString
74 #define ASCII_STR( val ) rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( val ))
228 OperatingSystem SubstitutePathVariables_Impl::GetOperatingSystemFromString( const rtl::OUString& aO… in GetOperatingSystemFromString()
239 EnvironmentType SubstitutePathVariables_Impl::GetEnvTypeFromString( const rtl::OUString& aEnvTypeSt… in GetEnvTypeFromString()
251 utl::ConfigItem( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Office.Substitution" ))), in SubstitutePathVariables_Impl()
258 m_aSharePointsNodeName( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "SharePoints" ))), in SubstitutePathVariables_Impl()
259 m_aDirPropertyName( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "/Directory" ))), in SubstitutePathVariables_Impl()
260 m_aEnvPropertyName( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "/Environment" ))), in SubstitutePathVariables_Impl()
261 m_aLevelSep( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "/" ))) in SubstitutePathVariables_Impl()
265 Sequence< rtl::OUString > aNotifySeq( 1 ); in SubstitutePathVariables_Impl()
266 aNotifySeq[0] = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "SharePoints" )); in SubstitutePathVariables_Impl()
276 Sequence< rtl::OUString > aSharePointNames; in GetSharePointsRules()
286 rtl::OUString aSharePointNodeName( m_aSharePointsNodeName ); in GetSharePointsRules()
287 aSharePointNodeName += rtl::OUString::createFromAscii( "/" ); in GetSharePointsRules()
310 void SubstitutePathVariables_Impl::Notify( const com::sun::star::uno::Sequence< rtl::OUString >& /*… in Notify() argument
346 const rtl::OUString& SubstitutePathVariables_Impl::GetYPDomainName() in GetYPDomainName()
357 const rtl::OUString& SubstitutePathVariables_Impl::GetDNSDomainName() in GetDNSDomainName()
361 rtl::OUString aTemp; in GetDNSDomainName()
365 rtl::OUString aHostName = GetHostName(); in GetDNSDomainName()
374 m_aDNSDomain = rtl::OUString(); in GetDNSDomainName()
382 const rtl::OUString& SubstitutePathVariables_Impl::GetNTDomainName() in GetNTDomainName()
393 const rtl::OUString& SubstitutePathVariables_Impl::GetHostName() in GetHostName()
397 rtl::OUString aHostName; in GetHostName()
427 rtl::OUString aHost = GetHostName(); in FilterRuleSet()
428 rtl::OUString aHostStr; in FilterRuleSet()
448 rtl::OUString aDomain; in FilterRuleSet()
449 rtl::OUString aDomainStr; in FilterRuleSet()
507 void SubstitutePathVariables_Impl::ReadSharePointsFromConfiguration( Sequence< rtl::OUString >& aSh… in ReadSharePointsFromConfiguration()
514 const rtl::OUString& aSharePointName, in ReadSharePointRuleSetFromConfiguration()
515 const rtl::OUString& aSharePointNodeName, in ReadSharePointRuleSetFromConfiguration()
518 …Sequence< rtl::OUString > aSharePointMappingsNodeNames = GetNodeNames( aSharePointNodeName, utl::C… in ReadSharePointRuleSetFromConfiguration()
523 rtl::OUString aSharePointMapping( aSharePointNodeName ); in ReadSharePointRuleSetFromConfiguration()
528 rtl::OUString aDirValue; in ReadSharePointRuleSetFromConfiguration()
529 rtl::OUString aDirProperty( aSharePointMapping ); in ReadSharePointRuleSetFromConfiguration()
533 Sequence< rtl::OUString > aDirPropertySeq( 1 ); in ReadSharePointRuleSetFromConfiguration()
541 rtl::OUString aEnvUsed; in ReadSharePointRuleSetFromConfiguration()
542 rtl::OUString aEnvProperty( aSharePointMapping ); in ReadSharePointRuleSetFromConfiguration()
544 Sequence< rtl::OUString > aEnvironmentVariable = GetNodeNames( aEnvProperty ); in ReadSharePointRuleSetFromConfiguration()
547 Sequence< rtl::OUString > aEnvUsedPropertySeq( aEnvironmentVariable.getLength() ); in ReadSharePointRuleSetFromConfiguration()
549 rtl::OUString aEnvUsePropNameTemplate( aEnvProperty ); in ReadSharePointRuleSetFromConfiguration()
553 …aEnvUsedPropertySeq[nProperty] = rtl::OUString( aEnvUsePropNameTemplate + aEnvironmentVariable[nPr… in ReadSharePointRuleSetFromConfiguration()
558 rtl::OUString aEnvUsedValue; in ReadSharePointRuleSetFromConfiguration()
615 … m_aPreDefVars.m_FixedVarNames[i] = rtl::OUString::createFromAscii( aFixedVarTable[i].pVarName );
660 rtl::OUString SAL_CALL SubstitutePathVariables::substituteVariables( const ::rtl::OUString& aText, … in substituteVariables()
668 rtl::OUString SAL_CALL SubstitutePathVariables::reSubstituteVariables( const ::rtl::OUString& aText… in reSubstituteVariables()
676 rtl::OUString SAL_CALL SubstitutePathVariables::getSubstituteVariableValue( const ::rtl::OUString& … in getSubstituteVariableValue()
697 rtl::OUString SubstitutePathVariables::ConvertOSLtoUCBURL( const rtl::OUString& aOSLCompliantURL ) … in ConvertOSLtoUCBURL()
701 rtl::OUString aTemp; in ConvertOSLtoUCBURL()
710 return rtl::OUString( aResult ); in ConvertOSLtoUCBURL()
713 rtl::OUString SubstitutePathVariables::GetWorkPath() const in GetWorkPath()
716 rtl::OUString aWorkPath; in GetWorkPath()
719 ::rtl::OUString::createFromAscii("org.openoffice.Office.Paths"), in GetWorkPath()
720 ::rtl::OUString::createFromAscii("Paths/Work"), in GetWorkPath()
721 ::rtl::OUString::createFromAscii("WritePath"), in GetWorkPath()
726 rtl::OUString SubstitutePathVariables::GetWorkVariableValue() const in GetWorkVariableValue()
729 ::rtl::OUString aWorkPath; in GetWorkVariableValue()
732 ::rtl::OUString::createFromAscii("org.openoffice.Office.Paths"), in GetWorkVariableValue()
733 ::rtl::OUString::createFromAscii("Variables"), in GetWorkVariableValue()
734 ::rtl::OUString::createFromAscii("Work"), in GetWorkVariableValue()
747 rtl::OUString SubstitutePathVariables::GetHomeVariableValue() const in GetHomeVariableValue()
751 rtl::OUString aHomePath; in GetHomeVariableValue()
757 rtl::OUString SubstitutePathVariables::GetPathVariableValue() const in GetPathVariableValue()
762 rtl::OUString aRetStr; in GetPathVariableValue()
767 rtl::OUString aTmp; in GetPathVariableValue()
768 rtl::OUString aPathList( pEnv, strlen( pEnv ), gsl_getSystemTextEncoding() ); in GetPathVariableValue()
775 ::rtl::OUString sToken = aPathList.getToken(0, SAL_PATHSEPARATOR, nToken); in GetPathVariableValue()
793 rtl::OUString SubstitutePathVariables::impl_substituteVariable( const ::rtl::OUString& rText, bool … in impl_substituteVariable()
800 rtl::OUString aWorkText = rText; in impl_substituteVariable()
801 rtl::OUString aResult; in impl_substituteVariable()
804 std::vector< rtl::OUString > aEndlessRecursiveDetector; in impl_substituteVariable()
832 rtl::OUString aReplacement; in impl_substituteVariable()
833 rtl::OUString aSubString = aWorkText.copy( nPosition, nLength ); in impl_substituteVariable()
834 rtl::OUString aSubVarString; in impl_substituteVariable()
871 rtl::OUString aVarName = aSubString.copy( 2, nLength-3 ); in impl_substituteVariable()
971 …rtl::OUString aMsg( RTL_CONSTASCII_USTRINGPARAM( "Endless recursion detected. Cannot substitute va… in impl_substituteVariable()
982 rtl::OUString aMsg( RTL_CONSTASCII_USTRINGPARAM( "Unknown variable found!" )); in impl_substituteVariable()
993 rtl::OUString SubstitutePathVariables::impl_reSubstituteVariables( const ::rtl::OUString& rURL ) in impl_reSubstituteVariables()
997 rtl::OUString aURL; in impl_reSubstituteVariables()
1005 rtl::OUString aTemp; in impl_reSubstituteVariables()
1033 rtl::OUString aValue = m_aPreDefVars.m_FixedVar[ (sal_Int32)pIterFixed->eVariable ]; in impl_reSubstituteVariables()
1073 rtl::OUString aVarValue = pIterUser->aVarName; in impl_reSubstituteVariables()
1098 ::rtl::OUString SubstitutePathVariables::impl_getSubstituteVariableValue( const ::rtl::OUString& rV… in impl_getSubstituteVariableValue()
1102 rtl::OUString aVariable; in impl_getSubstituteVariableValue()
1132 rtl::OUString aExceptionText( RTL_CONSTASCII_USTRINGPARAM( "Unknown variable!" )); in impl_getSubstituteVariableValue()
1147 rtl::OUString aExceptionText( RTL_CONSTASCII_USTRINGPARAM( "Unknown variable!" )); in impl_getSubstituteVariableValue()
1156 ::rtl::OUString aOfficePath; in SetPredefinedPathVariables()
1157 ::rtl::OUString aUserPath; in SetPredefinedPathVariables()
1158 ::rtl::OUString aTmp; in SetPredefinedPathVariables()
1159 ::rtl::OUString aTmp2; in SetPredefinedPathVariables()
1164 ::rtl::OUString sVal ; in SetPredefinedPathVariables()
1200 …if ( !aProgObj.HasError() && aProgObj.insertName( rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("progr… in SetPredefinedPathVariables()
1209 rtl::OUString aLocaleStr; in SetPredefinedPathVariables()
1219 rtl::OUString::createFromAscii( ResMgr::GetLang( aPreDefPathVariables.m_eLanguageType, 0 ) )); in SetPredefinedPathVariables()
1225 …aPreDefPathVariables.m_FixedVar[ PREDEFVAR_LANGID ] = rtl::OUString::valueOf( (sal_Int32)aPreDefPa… in SetPredefinedPathVariables()
1244 aPreDefPathVariables.m_FixedVar[PREDEFVAR_BRANDBASEURL] = rtl::OUString( in SetPredefinedPathVariables()