LibreOffice Module cui (master) 1
Classes | Macros | Functions | Variables
optpath.cxx File Reference
#include <svx/svxdlg.hxx>
#include <sfx2/filedlghelper.hxx>
#include <sfx2/app.hxx>
#include <tools/urlobj.hxx>
#include <unotools/defaultoptions.hxx>
#include <unotools/pathoptions.hxx>
#include <unotools/moduleoptions.hxx>
#include <unotools/viewoptions.hxx>
#include <bitmaps.hlst>
#include <dialmgr.hxx>
#include <optpath.hxx>
#include <strings.hrc>
#include <comphelper/processfactory.hxx>
#include <comphelper/string.hxx>
#include <com/sun/star/uno/Exception.hpp>
#include <com/sun/star/beans/PropertyAttribute.hpp>
#include <com/sun/star/ui/dialogs/ExecutableDialogResults.hpp>
#include <com/sun/star/ui/dialogs/XAsynchronousExecutableDialog.hpp>
#include <com/sun/star/ui/dialogs/XFolderPicker2.hpp>
#include <com/sun/star/ui/dialogs/XFilePicker3.hpp>
#include <com/sun/star/ui/dialogs/TemplateDescription.hpp>
#include <com/sun/star/util/thePathSettings.hpp>
#include <comphelper/diagnose_ex.hxx>
#include <sal/log.hxx>
#include <o3tl/string_view.hxx>
Include dependency graph for optpath.cxx:

Go to the source code of this file.

Classes

struct  OptPath_Impl
 

Macros

#define MULTIPATH_DELIMITER   ';'
 

Functions

static OUString getCfgName_Impl (SvtPathOptions::Paths _nHandle)
 
static OUString Convert_Impl (std::u16string_view rValue)
 
static bool IsMultiPath_Impl (const SvtPathOptions::Paths nIndex)
 
 IMPL_LINK (SvxPathTabPage, HeaderBarClick, int, nColumn, void)
 
 IMPL_LINK_NOARG (SvxPathTabPage, PathSelect_Impl, weld::TreeView &, void)
 
 IMPL_LINK_NOARG (SvxPathTabPage, StandardHdl_Impl, weld::Button &, void)
 
 IMPL_LINK_NOARG (SvxPathTabPage, DoubleClickPathHdl_Impl, weld::TreeView &, bool)
 
 IMPL_LINK_NOARG (SvxPathTabPage, PathHdl_Impl, weld::Button &, void)
 
 IMPL_LINK (SvxPathTabPage, DialogClosedHdl, DialogClosedEvent *, pEvt, void)
 

Variables

constexpr OUStringLiteral POSTFIX_INTERNAL = u"_internal"
 
constexpr OUStringLiteral POSTFIX_USER = u"_user"
 
constexpr OUStringLiteral POSTFIX_WRITABLE = u"_writable"
 
constexpr OUStringLiteral VAR_ONE = u"%1"
 
constexpr OUStringLiteral IODLG_CONFIGNAME = u"FilePicker_Save"
 
Handle2CfgNameMapping_Impl const Hdl2CfgMap_Impl []
 

Macro Definition Documentation

◆ MULTIPATH_DELIMITER

#define MULTIPATH_DELIMITER   ';'

Definition at line 137 of file optpath.cxx.

Function Documentation

◆ Convert_Impl()

static OUString Convert_Impl ( std::u16string_view  rValue)
static

◆ getCfgName_Impl()

static OUString getCfgName_Impl ( SvtPathOptions::Paths  _nHandle)
static

◆ IMPL_LINK() [1/2]

IMPL_LINK ( SvxPathTabPage  ,
DialogClosedHdl  ,
DialogClosedEvent *  ,
pEvt  ,
void   
)

Definition at line 586 of file optpath.cxx.

References RET_OK.

◆ IMPL_LINK() [2/2]

IMPL_LINK ( SvxPathTabPage  ,
HeaderBarClick  ,
int  ,
nColumn  ,
void   
)

Definition at line 205 of file optpath.cxx.

References TRISTATE_FALSE, and TRISTATE_TRUE.

◆ IMPL_LINK_NOARG() [1/4]

IMPL_LINK_NOARG ( SvxPathTabPage  ,
DoubleClickPathHdl_Impl  ,
weld::TreeView ,
bool   
)

Definition at line 465 of file optpath.cxx.

◆ IMPL_LINK_NOARG() [2/4]

IMPL_LINK_NOARG ( SvxPathTabPage  ,
PathHdl_Impl  ,
weld::Button ,
void   
)

◆ IMPL_LINK_NOARG() [3/4]

IMPL_LINK_NOARG ( SvxPathTabPage  ,
PathSelect_Impl  ,
weld::TreeView ,
void   
)

Definition at line 336 of file optpath.cxx.

◆ IMPL_LINK_NOARG() [4/4]

IMPL_LINK_NOARG ( SvxPathTabPage  ,
StandardHdl_Impl  ,
weld::Button ,
void   
)

◆ IsMultiPath_Impl()

static bool IsMultiPath_Impl ( const SvtPathOptions::Paths  nIndex)
static

Variable Documentation

◆ Hdl2CfgMap_Impl

Handle2CfgNameMapping_Impl const Hdl2CfgMap_Impl[]

◆ IODLG_CONFIGNAME

constexpr OUStringLiteral IODLG_CONFIGNAME = u"FilePicker_Save"
constexpr

Definition at line 60 of file optpath.cxx.

Referenced by SvxPathTabPage::ChangeCurrentEntry().

◆ POSTFIX_INTERNAL

constexpr OUStringLiteral POSTFIX_INTERNAL = u"_internal"
constexpr

Definition at line 56 of file optpath.cxx.

Referenced by SvxPathTabPage::GetPathList().

◆ POSTFIX_USER

constexpr OUStringLiteral POSTFIX_USER = u"_user"
constexpr

Definition at line 57 of file optpath.cxx.

Referenced by SvxPathTabPage::GetPathList(), and SvxPathTabPage::SetPathList().

◆ POSTFIX_WRITABLE

constexpr OUStringLiteral POSTFIX_WRITABLE = u"_writable"
constexpr

Definition at line 58 of file optpath.cxx.

Referenced by SvxPathTabPage::GetPathList(), and SvxPathTabPage::SetPathList().

◆ VAR_ONE

constexpr OUStringLiteral VAR_ONE = u"%1"
constexpr

Definition at line 59 of file optpath.cxx.

Referenced by IMPL_LINK_NOARG().