LibreOffice Module unotools (master) 1
Classes | Macros | Typedefs | Variables
pathoptions.cxx File Reference
#include <sal/config.h>
#include <sal/log.hxx>
#include <unotools/pathoptions.hxx>
#include <comphelper/diagnose_ex.hxx>
#include <tools/urlobj.hxx>
#include <com/sun/star/uno/Any.hxx>
#include <com/sun/star/uno/Sequence.hxx>
#include <osl/mutex.hxx>
#include <osl/file.hxx>
#include <unotools/ucbhelper.hxx>
#include <comphelper/getexpandeduri.hxx>
#include <comphelper/processfactory.hxx>
#include <com/sun/star/beans/XFastPropertySet.hpp>
#include <com/sun/star/beans/XPropertySetInfo.hpp>
#include <com/sun/star/util/thePathSettings.hpp>
#include <com/sun/star/util/PathSubstitution.hpp>
#include <com/sun/star/util/XStringSubstitution.hpp>
#include <com/sun/star/util/theMacroExpander.hpp>
#include <o3tl/enumarray.hxx>
#include <o3tl/string_view.hxx>
#include "itemholder1.hxx"
#include <set>
#include <unordered_map>
Include dependency graph for pathoptions.cxx:

Go to the source code of this file.

Classes

class  SvtPathOptions_Impl
 

Macros

#define SEARCHPATH_DELIMITER   ';'
 
#define SIGN_STARTVARIABLE   "$("
 
#define SIGN_ENDVARIABLE   ")"
 
#define SUBSTITUTE_INSTPATH   "$(instpath)"
 
#define SUBSTITUTE_PROGPATH   "$(progpath)"
 
#define SUBSTITUTE_USERPATH   "$(userpath)"
 
#define SUBSTITUTE_PATH   "$(path)"
 
#define STRPOS_NOTFOUND   -1
 

Typedefs

typedef std::unordered_map< OUString, sal_Int32 > NameToHandleMap
 
typedef std::set< OUString > VarNameSet
 

Variables

static std::weak_ptr< SvtPathOptions_Implg_pOptions
 
const PropertyStruct aPropNames []
 
const VarNameAttribute aVarNameAttribute []
 

Macro Definition Documentation

◆ SEARCHPATH_DELIMITER

#define SEARCHPATH_DELIMITER   ';'

Definition at line 55 of file pathoptions.cxx.

◆ SIGN_ENDVARIABLE

#define SIGN_ENDVARIABLE   ")"

Definition at line 57 of file pathoptions.cxx.

◆ SIGN_STARTVARIABLE

#define SIGN_STARTVARIABLE   "$("

Definition at line 56 of file pathoptions.cxx.

◆ STRPOS_NOTFOUND

#define STRPOS_NOTFOUND   -1

Definition at line 65 of file pathoptions.cxx.

◆ SUBSTITUTE_INSTPATH

#define SUBSTITUTE_INSTPATH   "$(instpath)"

Definition at line 60 of file pathoptions.cxx.

◆ SUBSTITUTE_PATH

#define SUBSTITUTE_PATH   "$(path)"

Definition at line 63 of file pathoptions.cxx.

◆ SUBSTITUTE_PROGPATH

#define SUBSTITUTE_PROGPATH   "$(progpath)"

Definition at line 61 of file pathoptions.cxx.

◆ SUBSTITUTE_USERPATH

#define SUBSTITUTE_USERPATH   "$(userpath)"

Definition at line 62 of file pathoptions.cxx.

Typedef Documentation

◆ NameToHandleMap

typedef std::unordered_map<OUString, sal_Int32> NameToHandleMap

Definition at line 67 of file pathoptions.cxx.

◆ VarNameSet

typedef std::set<OUString> VarNameSet

Definition at line 69 of file pathoptions.cxx.

Variable Documentation

◆ aPropNames

const PropertyStruct aPropNames[]
Initial value:
=
{
}

Definition at line 151 of file pathoptions.cxx.

Referenced by SvtSearchOptions_Impl::GetPropertyNames(), and SvtPathOptions_Impl::SvtPathOptions_Impl().

◆ aVarNameAttribute

const VarNameAttribute aVarNameAttribute[]
Initial value:
=
{
}
#define SUBSTITUTE_INSTPATH
Definition: pathoptions.cxx:60
#define SUBSTITUTE_USERPATH
Definition: pathoptions.cxx:62
#define SUBSTITUTE_PATH
Definition: pathoptions.cxx:63
#define SUBSTITUTE_PROGPATH
Definition: pathoptions.cxx:61

Definition at line 182 of file pathoptions.cxx.

Referenced by SvtPathOptions_Impl::SvtPathOptions_Impl().

◆ g_pOptions

std::weak_ptr<SvtPathOptions_Impl> g_pOptions
static

Definition at line 133 of file pathoptions.cxx.

Referenced by SvtPathOptions::SvtPathOptions().