LibreOffice Module unotools (master) 1
|
Public Member Functions | |
SvtPathOptions_Impl () | |
const OUString & | GetPath (SvtPathOptions::Paths) |
const OUString & | GetAddinPath () |
const OUString & | GetAutoCorrectPath () |
const OUString & | GetAutoTextPath () |
const OUString & | GetBackupPath () |
const OUString & | GetBasicPath () |
const OUString & | GetBitmapPath () |
const OUString & | GetConfigPath () |
const OUString & | GetDictionaryPath () |
const OUString & | GetFavoritesPath () |
const OUString & | GetFilterPath () |
const OUString & | GetGalleryPath () |
const OUString & | GetGraphicPath () |
const OUString & | GetHelpPath () |
const OUString & | GetLinguisticPath () |
const OUString & | GetModulePath () |
const OUString & | GetPalettePath () |
const OUString & | GetIconsetPath () |
const OUString & | GetPluginPath () |
const OUString & | GetStoragePath () |
const OUString & | GetTempPath () |
const OUString & | GetTemplatePath () |
const OUString & | GetUserConfigPath () |
const OUString & | GetWorkPath () |
const OUString & | GetUIConfigPath () |
const OUString & | GetFingerprintPath () |
const OUString & | GetNumbertextPath () |
const OUString & | GetClassificationPath () |
void | SetPath (SvtPathOptions::Paths, const OUString &rNewPath) |
void | SetAutoTextPath (const OUString &rPath) |
void | SetBasicPath (const OUString &rPath) |
void | SetTempPath (const OUString &rPath) |
OUString | SubstVar (const OUString &rVar) const |
OUString | ExpandMacros (const OUString &rPath) const |
OUString | UsePathVariables (const OUString &rPath) const |
Private Attributes | |
o3tl::enumarray< SvtPathOptions::Paths, OUString > | m_aPathArray |
Reference< XFastPropertySet > | m_xPathSettings |
Reference< XStringSubstitution > | m_xSubstVariables |
Reference< XMacroExpander > | m_xMacroExpander |
std::unordered_map< SvtPathOptions::Paths, sal_Int32 > | m_aMapEnumToPropHandle |
VarNameSet | m_aSystemPathVarNames |
OUString | m_aEmptyString |
std::mutex | m_aMutex |
Definition at line 72 of file pathoptions.cxx.
SvtPathOptions_Impl::SvtPathOptions_Impl | ( | ) |
Definition at line 373 of file pathoptions.cxx.
References aPropNames, aVarNameAttribute, Translate::get(), comphelper::getProcessComponentContext(), i, m_aMapEnumToPropHandle, m_aSystemPathVarNames, m_xMacroExpander, m_xPathSettings, m_xSubstVariables, nHandle, and p.
OUString SvtPathOptions_Impl::ExpandMacros | ( | const OUString & | rPath | ) | const |
Definition at line 284 of file pathoptions.cxx.
References INetURLObject::GetProtocol(), INetURLObject::GetURLPath(), m_xMacroExpander, and INetURLObject::WithCharset.
|
inline |
Definition at line 92 of file pathoptions.cxx.
References SvtPathOptions::AddIn, and GetPath().
|
inline |
Definition at line 93 of file pathoptions.cxx.
References SvtPathOptions::AutoCorrect, and GetPath().
|
inline |
Definition at line 94 of file pathoptions.cxx.
References SvtPathOptions::AutoText, and GetPath().
|
inline |
Definition at line 95 of file pathoptions.cxx.
References SvtPathOptions::Backup, and GetPath().
|
inline |
Definition at line 96 of file pathoptions.cxx.
References SvtPathOptions::Basic, and GetPath().
|
inline |
Definition at line 97 of file pathoptions.cxx.
References SvtPathOptions::Bitmap, and GetPath().
|
inline |
Definition at line 118 of file pathoptions.cxx.
References SvtPathOptions::Classification, and GetPath().
|
inline |
Definition at line 98 of file pathoptions.cxx.
References SvtPathOptions::Config, and GetPath().
|
inline |
Definition at line 99 of file pathoptions.cxx.
References SvtPathOptions::Dictionary, and GetPath().
|
inline |
Definition at line 100 of file pathoptions.cxx.
References SvtPathOptions::Favorites, and GetPath().
|
inline |
Definition at line 101 of file pathoptions.cxx.
References SvtPathOptions::Filter, and GetPath().
|
inline |
Definition at line 116 of file pathoptions.cxx.
References SvtPathOptions::Fingerprint, and GetPath().
|
inline |
Definition at line 102 of file pathoptions.cxx.
References SvtPathOptions::Gallery, and GetPath().
|
inline |
Definition at line 103 of file pathoptions.cxx.
References GetPath(), and SvtPathOptions::Graphic.
|
inline |
Definition at line 104 of file pathoptions.cxx.
References GetPath(), and SvtPathOptions::Help.
|
inline |
Definition at line 108 of file pathoptions.cxx.
References GetPath(), and SvtPathOptions::IconSet.
|
inline |
Definition at line 105 of file pathoptions.cxx.
References GetPath(), and SvtPathOptions::Linguistic.
|
inline |
Definition at line 106 of file pathoptions.cxx.
References GetPath(), and SvtPathOptions::Module.
|
inline |
Definition at line 117 of file pathoptions.cxx.
References GetPath(), and SvtPathOptions::NumberText.
|
inline |
Definition at line 107 of file pathoptions.cxx.
References GetPath(), and SvtPathOptions::Palette.
const OUString & SvtPathOptions_Impl::GetPath | ( | SvtPathOptions::Paths | ePath | ) |
Definition at line 192 of file pathoptions.cxx.
References a, SvtPathOptions::AddIn, Any, ctx, SvtPathOptions::Filter, comphelper::getExpandedUri(), comphelper::getProcessComponentContext(), SvtPathOptions::Help, i, SvtPathOptions::IconSet, m_aEmptyString, m_aMapEnumToPropHandle, m_aMutex, m_aPathArray, m_xPathSettings, SvtPathOptions::Module, nHandle, SvtPathOptions::Palette, SvtPathOptions::Plugin, and SvtPathOptions::Storage.
Referenced by GetAddinPath(), GetAutoCorrectPath(), GetAutoTextPath(), GetBackupPath(), GetBasicPath(), GetBitmapPath(), GetClassificationPath(), GetConfigPath(), GetDictionaryPath(), GetFavoritesPath(), GetFilterPath(), GetFingerprintPath(), GetGalleryPath(), GetGraphicPath(), GetHelpPath(), GetIconsetPath(), GetLinguisticPath(), GetModulePath(), GetNumbertextPath(), GetPalettePath(), GetPluginPath(), GetStoragePath(), GetTemplatePath(), GetTempPath(), GetUIConfigPath(), GetUserConfigPath(), and GetWorkPath().
|
inline |
Definition at line 109 of file pathoptions.cxx.
References GetPath(), and SvtPathOptions::Plugin.
|
inline |
Definition at line 110 of file pathoptions.cxx.
References GetPath(), and SvtPathOptions::Storage.
|
inline |
Definition at line 112 of file pathoptions.cxx.
References GetPath(), and SvtPathOptions::Template.
|
inline |
Definition at line 111 of file pathoptions.cxx.
References GetPath(), and SvtPathOptions::Temp.
|
inline |
Definition at line 115 of file pathoptions.cxx.
References GetPath(), and SvtPathOptions::UIConfig.
|
inline |
Definition at line 113 of file pathoptions.cxx.
References GetPath(), and SvtPathOptions::UserConfig.
|
inline |
Definition at line 114 of file pathoptions.cxx.
References GetPath(), and SvtPathOptions::Work.
|
inline |
Definition at line 122 of file pathoptions.cxx.
References SvtPathOptions::AutoText, and SetPath().
|
inline |
Definition at line 123 of file pathoptions.cxx.
References SvtPathOptions::Basic, and SetPath().
void SvtPathOptions_Impl::SetPath | ( | SvtPathOptions::Paths | ePath, |
const OUString & | rNewPath | ||
) |
Definition at line 245 of file pathoptions.cxx.
References a, SvtPathOptions::AddIn, Any, Exception, SvtPathOptions::Filter, SvtPathOptions::Help, m_aMapEnumToPropHandle, m_aMutex, m_xPathSettings, SvtPathOptions::Module, SvtPathOptions::Plugin, SvtPathOptions::Storage, and TOOLS_WARN_EXCEPTION.
Referenced by SetAutoTextPath(), SetBasicPath(), and SetTempPath().
|
inline |
Definition at line 124 of file pathoptions.cxx.
References SetPath(), and SvtPathOptions::Temp.
OUString SvtPathOptions_Impl::SubstVar | ( | const OUString & | rVar | ) | const |
Definition at line 300 of file pathoptions.cxx.
References m_aSystemPathVarNames, m_xSubstVariables, nLength, SIGN_ENDVARIABLE, SIGN_STARTVARIABLE, and STRPOS_NOTFOUND.
OUString SvtPathOptions_Impl::UsePathVariables | ( | const OUString & | rPath | ) | const |
Definition at line 295 of file pathoptions.cxx.
References m_xSubstVariables.
|
private |
Definition at line 84 of file pathoptions.cxx.
Referenced by GetPath().
|
mutableprivate |
Definition at line 81 of file pathoptions.cxx.
Referenced by GetPath(), SetPath(), and SvtPathOptions_Impl().
|
mutableprivate |
Definition at line 85 of file pathoptions.cxx.
|
private |
Definition at line 76 of file pathoptions.cxx.
Referenced by GetPath().
|
private |
Definition at line 82 of file pathoptions.cxx.
Referenced by SubstVar(), and SvtPathOptions_Impl().
|
private |
Definition at line 79 of file pathoptions.cxx.
Referenced by ExpandMacros(), and SvtPathOptions_Impl().
|
private |
Definition at line 77 of file pathoptions.cxx.
Referenced by GetPath(), SetPath(), and SvtPathOptions_Impl().
|
private |
Definition at line 78 of file pathoptions.cxx.
Referenced by SubstVar(), SvtPathOptions_Impl(), and UsePathVariables().