LibreOffice Module cui (master) 1
|
#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>
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 [] |
#define MULTIPATH_DELIMITER ';' |
Definition at line 137 of file optpath.cxx.
|
static |
Definition at line 139 of file optpath.cxx.
References INetURLObject::GetProtocol(), o3tl::getToken(), MULTIPATH_DELIMITER, nPos, and INetURLObject::PathToFileName().
Referenced by SvxPathTabPage::ChangeCurrentEntry(), IMPL_LINK_NOARG(), and SvxPathTabPage::Reset().
|
static |
Definition at line 119 of file optpath.cxx.
References Hdl2CfgMap_Impl, SvtPathOptions::LAST, m_nHandle, and nIndex.
Referenced by SvxPathTabPage::GetPathList(), and SvxPathTabPage::SetPathList().
IMPL_LINK | ( | SvxPathTabPage | , |
DialogClosedHdl | , | ||
DialogClosedEvent * | , | ||
pEvt | , | ||
void | |||
) |
Definition at line 586 of file optpath.cxx.
References RET_OK.
IMPL_LINK | ( | SvxPathTabPage | , |
HeaderBarClick | , | ||
int | , | ||
nColumn | , | ||
void | |||
) |
Definition at line 205 of file optpath.cxx.
References TRISTATE_FALSE, and TRISTATE_TRUE.
IMPL_LINK_NOARG | ( | SvxPathTabPage | , |
DoubleClickPathHdl_Impl | , | ||
weld::TreeView & | , | ||
bool | |||
) |
Definition at line 465 of file optpath.cxx.
IMPL_LINK_NOARG | ( | SvxPathTabPage | , |
PathHdl_Impl | , | ||
weld::Button & | , | ||
void | |||
) |
Definition at line 471 of file optpath.cxx.
References aHelper, aURL, bReadOnly, SvtPathOptions::Classification, VclPtr< class reference_type >::clear(), Convert_Impl(), SvxAbstractDialogFactory::Create(), sfx2::createFolderPicker(), SvxAbstractDialogFactory::CreateSvxMultiPathDialog(), DBG_UNHANDLED_EXCEPTION, Exception, GetFrameWeld(), IsMultiPath_Impl(), MULTIPATH_DELIMITER, INetURLObject::NONE, nPos, RET_OK, TOOLS_WARN_EXCEPTION, and VAR_ONE.
IMPL_LINK_NOARG | ( | SvxPathTabPage | , |
PathSelect_Impl | , | ||
weld::TreeView & | , | ||
void | |||
) |
Definition at line 336 of file optpath.cxx.
IMPL_LINK_NOARG | ( | SvxPathTabPage | , |
StandardHdl_Impl | , | ||
weld::Button & | , | ||
void | |||
) |
Definition at line 350 of file optpath.cxx.
References bReadOnly, Convert_Impl(), SvtDefaultOptions::GetDefaultPath(), o3tl::getToken(), and MULTIPATH_DELIMITER.
|
static |
Definition at line 162 of file optpath.cxx.
References SvtPathOptions::AutoCorrect, SvtPathOptions::AutoText, SvtPathOptions::Basic, SvtPathOptions::Dictionary, SvtPathOptions::Gallery, SvtPathOptions::Linguistic, nIndex, and SvtPathOptions::Template.
Referenced by IMPL_LINK_NOARG().
Handle2CfgNameMapping_Impl const Hdl2CfgMap_Impl[] |
Definition at line 101 of file optpath.cxx.
Referenced by getCfgName_Impl().
|
constexpr |
Definition at line 60 of file optpath.cxx.
Referenced by SvxPathTabPage::ChangeCurrentEntry().
|
constexpr |
Definition at line 56 of file optpath.cxx.
Referenced by SvxPathTabPage::GetPathList().
|
constexpr |
Definition at line 57 of file optpath.cxx.
Referenced by SvxPathTabPage::GetPathList(), and SvxPathTabPage::SetPathList().
|
constexpr |
Definition at line 58 of file optpath.cxx.
Referenced by SvxPathTabPage::GetPathList(), and SvxPathTabPage::SetPathList().
|
constexpr |
Definition at line 59 of file optpath.cxx.
Referenced by IMPL_LINK_NOARG().