LibreOffice Module cui (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
SvxPathTabPage Class Reference

#include <optpath.hxx>

Inheritance diagram for SvxPathTabPage:
[legend]
Collaboration diagram for SvxPathTabPage:
[legend]

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 SfxItemSetGetItemSet () 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 SfxItemSetGetDialogExampleSet () const
 
OUString GetHelpId () const
 
OUString GetConfigId () const
 
bool IsVisible () const
 
weld::WindowGetFrameWeld () const
 
std::unordered_map< OUString, css::uno::Any > & getAdditionalProperties ()
 

Static Public Member Functions

static std::unique_ptr< SfxTabPageCreate (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
 
- Static Public Member Functions inherited from SfxTabPage
static const SfxPoolItemGetItem (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_ImplpImpl
 
rtl::Reference< ::svt::DialogClosedListenerxDialogListener
 
css::uno::Reference< css::ui::dialogs::XFolderPicker2 > xFolderPicker
 
std::unique_ptr< weld::Buttonm_xStandardBtn
 
std::unique_ptr< weld::Buttonm_xPathBtn
 
std::unique_ptr< weld::TreeViewm_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 SfxPoolItemGetOldItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true)
 
const T * GetOldItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true)
 
SfxOkDialogControllerGetDialogController () const
 

Detailed Description

Definition at line 33 of file optpath.hxx.

Constructor & Destructor Documentation

◆ SvxPathTabPage()

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.

◆ ~SvxPathTabPage()

SvxPathTabPage::~SvxPathTabPage ( )
overridevirtual

Definition at line 212 of file optpath.cxx.

References i, and m_xPathBox.

Member Function Documentation

◆ ChangeCurrentEntry()

void SvxPathTabPage::ChangeCurrentEntry ( const OUString &  _rFolder)
private

◆ Create()

std::unique_ptr< SfxTabPage > SvxPathTabPage::Create ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rSet 
)
static

Definition at line 218 of file optpath.cxx.

Referenced by CreateGeneralTabPage().

◆ DECL_LINK() [1/6]

SvxPathTabPage::DECL_LINK ( DialogClosedHdl  ,
css::ui::dialogs::DialogClosedEvent *  ,
void   
)
private

◆ DECL_LINK() [2/6]

SvxPathTabPage::DECL_LINK ( DoubleClickPathHdl_Impl  ,
weld::TreeView ,
bool   
)
private

◆ DECL_LINK() [3/6]

SvxPathTabPage::DECL_LINK ( HeaderBarClick  ,
int  ,
void   
)
private

◆ DECL_LINK() [4/6]

SvxPathTabPage::DECL_LINK ( PathHdl_Impl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [5/6]

SvxPathTabPage::DECL_LINK ( PathSelect_Impl  ,
weld::TreeView ,
void   
)
private

◆ DECL_LINK() [6/6]

SvxPathTabPage::DECL_LINK ( StandardHdl_Impl  ,
weld::Button ,
void   
)
private

◆ FillItemSet()

bool SvxPathTabPage::FillItemSet ( SfxItemSet rSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 224 of file optpath.cxx.

References i, m_xPathBox, and SetPathList().

◆ GetPathList()

void SvxPathTabPage::GetPathList ( SvtPathOptions::Paths  _nPathHandle,
OUString &  _rInternalPath,
OUString &  _rUserPath,
OUString &  _rWritablePath,
bool &  _rReadOnly 
)
private

◆ Reset()

void SvxPathTabPage::Reset ( const SfxItemSet rSet)
overridevirtual

◆ SetPathList()

void SvxPathTabPage::SetPathList ( SvtPathOptions::Paths  _nPathHandle,
std::u16string_view  _rUserPath,
const OUString &  _rWritablePath 
)
private

Member Data Documentation

◆ m_xPathBox

std::unique_ptr<weld::TreeView> SvxPathTabPage::m_xPathBox
private

Definition at line 43 of file optpath.hxx.

Referenced by ChangeCurrentEntry(), FillItemSet(), Reset(), SvxPathTabPage(), and ~SvxPathTabPage().

◆ m_xPathBtn

std::unique_ptr<weld::Button> SvxPathTabPage::m_xPathBtn
private

Definition at line 42 of file optpath.hxx.

Referenced by SvxPathTabPage().

◆ m_xStandardBtn

std::unique_ptr<weld::Button> SvxPathTabPage::m_xStandardBtn
private

Definition at line 41 of file optpath.hxx.

Referenced by SvxPathTabPage().

◆ pImpl

std::unique_ptr<OptPath_Impl> SvxPathTabPage::pImpl
private

Definition at line 36 of file optpath.hxx.

Referenced by GetPathList(), and SetPathList().

◆ xDialogListener

rtl::Reference< ::svt::DialogClosedListener > SvxPathTabPage::xDialogListener
private

Definition at line 38 of file optpath.hxx.

Referenced by SvxPathTabPage().

◆ xFolderPicker

css::uno::Reference< css::ui::dialogs::XFolderPicker2 > SvxPathTabPage::xFolderPicker
private

Definition at line 39 of file optpath.hxx.


The documentation for this class was generated from the following files: