LibreOffice Module cui (master) 1
|
#include <optpath.hxx>
Public Member Functions | |
SvxPathTabPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet) | |
virtual | ~SvxPathTabPage () override |
virtual bool | FillItemSet (SfxItemSet *rSet) override |
virtual void | Reset (const SfxItemSet *rSet) override |
Public Member Functions inherited from SfxTabPage | |
void | SetDialogController (SfxOkDialogController *pDialog) |
virtual | ~SfxTabPage () override |
void | set_visible (bool bVisible) |
const SfxItemSet & | GetItemSet () const |
virtual bool | FillItemSet (SfxItemSet *) |
virtual void | Reset (const SfxItemSet *) |
virtual bool | DeferResetToFirstActivation () |
bool | HasExchangeSupport () const |
void | SetExchangeSupport () |
virtual void | ActivatePage (const SfxItemSet &) |
virtual DeactivateRC | DeactivatePage (SfxItemSet *pSet) |
void | SetUserData (const OUString &rString) |
const OUString & | GetUserData () const |
virtual void | FillUserData () |
virtual bool | IsReadOnly () const |
virtual void | PageCreated (const SfxAllItemSet &aSet) |
virtual void | ChangesApplied () |
void | SetFrame (const css::uno::Reference< css::frame::XFrame > &xFrame) |
css::uno::Reference< css::frame::XFrame > | GetFrame () const |
const SfxItemSet * | GetDialogExampleSet () const |
OUString | GetHelpId () const |
OUString | GetConfigId () const |
bool | IsVisible () const |
weld::Window * | GetFrameWeld () const |
std::unordered_map< OUString, css::uno::Any > & | getAdditionalProperties () |
Static Public Member Functions | |
static std::unique_ptr< SfxTabPage > | Create (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet) |
Static Public Member Functions inherited from SfxTabPage | |
static const SfxPoolItem * | GetItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true) |
static const T * | GetItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true) |
Private Member Functions | |
void | ChangeCurrentEntry (const OUString &_rFolder) |
DECL_LINK (PathHdl_Impl, weld::Button &, void) | |
DECL_LINK (DoubleClickPathHdl_Impl, weld::TreeView &, bool) | |
DECL_LINK (StandardHdl_Impl, weld::Button &, void) | |
DECL_LINK (PathSelect_Impl, weld::TreeView &, void) | |
DECL_LINK (HeaderBarClick, int, void) | |
DECL_LINK (DialogClosedHdl, css::ui::dialogs::DialogClosedEvent *, void) | |
void | GetPathList (SvtPathOptions::Paths _nPathHandle, OUString &_rInternalPath, OUString &_rUserPath, OUString &_rWritablePath, bool &_rReadOnly) |
void | SetPathList (SvtPathOptions::Paths _nPathHandle, std::u16string_view _rUserPath, const OUString &_rWritablePath) |
Private Attributes | |
std::unique_ptr< OptPath_Impl > | pImpl |
rtl::Reference< ::svt::DialogClosedListener > | xDialogListener |
css::uno::Reference< css::ui::dialogs::XFolderPicker2 > | xFolderPicker |
std::unique_ptr< weld::Button > | m_xStandardBtn |
std::unique_ptr< weld::Button > | m_xPathBtn |
std::unique_ptr< weld::TreeView > | m_xPathBox |
Additional Inherited Members | |
Protected Member Functions inherited from SfxTabPage | |
SfxTabPage (weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OUString &rID, const SfxItemSet *rAttrSet) | |
sal_uInt16 | GetWhich (sal_uInt16 nSlot, bool bDeep=true) const |
TypedWhichId< T > | GetWhich (TypedWhichId< T > nSlot, bool bDeep=true) const |
const SfxPoolItem * | GetOldItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true) |
const T * | GetOldItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true) |
SfxOkDialogController * | GetDialogController () const |
Definition at line 33 of file optpath.hxx.
SvxPathTabPage::SvxPathTabPage | ( | weld::Container * | pPage, |
weld::DialogController * | pController, | ||
const SfxItemSet & | rSet | ||
) |
Definition at line 183 of file optpath.cxx.
References LINK, m_xPathBox, m_xPathBtn, m_xStandardBtn, rSet, and xDialogListener.
|
overridevirtual |
Definition at line 212 of file optpath.cxx.
References i, and m_xPathBox.
|
private |
Definition at line 414 of file optpath.cxx.
References bReadOnly, Convert_Impl(), SvtViewOptions::Delete(), INetURLObject::getFSysPath(), GetPathList(), INetURLObject::GetProtocol(), IODLG_CONFIGNAME, m_xPathBox, INetURLObject::removeFinalSlash(), SfxApplication::ResetLastDir(), SAL_WARN, SfxGetpApp(), and SvtPathOptions::Work.
|
static |
Definition at line 218 of file optpath.cxx.
Referenced by CreateGeneralTabPage().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 224 of file optpath.cxx.
References i, m_xPathBox, and SetPathList().
|
private |
Definition at line 596 of file optpath.cxx.
References Any, Exception, getCfgName_Impl(), comphelper::getProcessComponentContext(), i, nCount, pImpl, POSTFIX_INTERNAL, POSTFIX_USER, POSTFIX_WRITABLE, Property, and TOOLS_WARN_EXCEPTION.
Referenced by ChangeCurrentEntry(), and Reset().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 236 of file optpath.cxx.
References aStr, SvtPathOptions::AutoCorrect, SvtPathOptions::AutoText, SvtPathOptions::Backup, bReadOnly, SvtPathOptions::Classification, Convert_Impl(), CuiResId(), SvtPathOptions::Dictionary, SvtPathOptions::Gallery, GetPathList(), SvtPathOptions::Graphic, i, SvtModuleOptions::IsModuleInstalled(), SvtPathOptions::Linguistic, m_xPathBox, MULTIPATH_DELIMITER, sId, SvtPathOptions::Temp, SvtPathOptions::Template, weld::toId(), SvtPathOptions::Work, and SvtModuleOptions::WRITER.
|
private |
Definition at line 661 of file optpath.cxx.
References Any, Exception, getCfgName_Impl(), comphelper::getProcessComponentContext(), o3tl::getToken(), comphelper::string::getTokenCount(), i, MULTIPATH_DELIMITER, nCount, nPos, pImpl, POSTFIX_USER, POSTFIX_WRITABLE, and TOOLS_WARN_EXCEPTION.
Referenced by FillItemSet().
|
private |
Definition at line 43 of file optpath.hxx.
Referenced by ChangeCurrentEntry(), FillItemSet(), Reset(), SvxPathTabPage(), and ~SvxPathTabPage().
|
private |
Definition at line 42 of file optpath.hxx.
Referenced by SvxPathTabPage().
|
private |
Definition at line 41 of file optpath.hxx.
Referenced by SvxPathTabPage().
|
private |
Definition at line 36 of file optpath.hxx.
Referenced by GetPathList(), and SetPathList().
|
private |
Definition at line 38 of file optpath.hxx.
Referenced by SvxPathTabPage().
|
private |
Definition at line 39 of file optpath.hxx.