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/FolderPicker.hpp>
#include <com/sun/star/ui/dialogs/FilePicker.hpp>
#include <com/sun/star/ui/dialogs/TemplateDescription.hpp>
#include <com/sun/star/util/thePathSettings.hpp>
#include <tools/diagnose_ex.h>
#include <sal/log.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 (const OUString &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

#define MULTIPATH_DELIMITER   ';'

Function Documentation

static OUString Convert_Impl ( const OUString &  rValue)
static
static OUString getCfgName_Impl ( SvtPathOptions::Paths  _nHandle)
static

Definition at line 118 of file optpath.cxx.

References SvtPathOptions::LAST, m_nHandle, and nIndex.

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

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

Definition at line 204 of file optpath.cxx.

References TRISTATE_FALSE, and TRISTATE_TRUE.

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

Definition at line 585 of file optpath.cxx.

References RET_OK.

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

Definition at line 335 of file optpath.cxx.

IMPL_LINK_NOARG ( SvxPathTabPage  ,
StandardHdl_Impl  ,
weld::Button ,
void   
)
IMPL_LINK_NOARG ( SvxPathTabPage  ,
DoubleClickPathHdl_Impl  ,
weld::TreeView ,
bool   
)

Definition at line 464 of file optpath.cxx.

IMPL_LINK_NOARG ( SvxPathTabPage  ,
PathHdl_Impl  ,
weld::Button ,
void   
)
static bool IsMultiPath_Impl ( const SvtPathOptions::Paths  nIndex)
static

Variable Documentation

Handle2CfgNameMapping_Impl const Hdl2CfgMap_Impl[]
constexpr OUStringLiteral IODLG_CONFIGNAME = u"FilePicker_Save"

Definition at line 59 of file optpath.cxx.

Referenced by SvxPathTabPage::ChangeCurrentEntry().

constexpr OUStringLiteral POSTFIX_INTERNAL = u"_internal"

Definition at line 55 of file optpath.cxx.

Referenced by SvxPathTabPage::GetPathList().

constexpr OUStringLiteral POSTFIX_USER = u"_user"

Definition at line 56 of file optpath.cxx.

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

constexpr OUStringLiteral POSTFIX_WRITABLE = u"_writable"

Definition at line 57 of file optpath.cxx.

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

constexpr OUStringLiteral VAR_ONE = u"%1"

Definition at line 58 of file optpath.cxx.

Referenced by IMPL_LINK_NOARG().