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

#include <cuihyperdlg.hxx>

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

Public Member Functions

 SvxHpLinkDlg (SfxBindings *pBindings, SfxChildWindow *pChild, weld::Window *pParent)
 
virtual ~SvxHpLinkDlg () override
 
void AddTabPage (const OString &rId, CreatePage pCreateFunc)
 
void SetCurPageId (const OString &rId)
 
const OString & GetCurPageId () const
 
void ShowPage (const OString &rId)
 
WhichRangesContainer GetInputRanges (const SfxItemPool &)
 gives via map converted local slots if applicable More...
 
void SetInputSet (const SfxItemSet *pInSet)
 
void Start ()
 
bool QueryClose ()
 
void PageCreated (IconChoicePage &rPage)
 
void SetPage (SvxHyperlinkItem const *pItem)
 
void SetReadOnlyMode (bool bReadOnly)
 
bool IsHTMLDoc () const
 
SfxDispatcherGetDispatcher () const
 
- Public Member Functions inherited from SfxModelessDialogController
virtual ~SfxModelessDialogController () override
 
void Initialize (SfxChildWinInfo const *pInfo)
 
bool IsClosing () const
 
virtual void Close () override
 
virtual void EndDialog (int nResponse) override
 
virtual void Activate () override
 
virtual void Deactivate () override
 
virtual void ChildWinDispose () override
 
virtual void FillInfo (SfxChildWinInfo &) const
 
SfxBindingsGetBindings () const
 
- Public Member Functions inherited from SfxDialogController
 SfxDialogController (weld::Widget *pParent, const OUString &rUIFile, const OString &rDialogId)
 
virtual void Activate ()
 
virtual void Deactivate ()
 
virtual void ChildWinDispose ()
 
virtual void Close ()
 
virtual void EndDialog (int nResponse)
 

Private Member Functions

 DECL_LINK (ChosePageHdl_Impl, const OString &, void)
 
IconChoicePageDataGetPageData (std::string_view rId)
 
void SwitchPage (const OString &rId)
 
 DECL_LINK (ResetHdl, weld::Button &, void)
 
 DECL_LINK (ClickOkHdl_Impl, weld::Button &, void)
 
 DECL_LINK (ClickApplyHdl_Impl, weld::Button &, void)
 
IconChoicePageGetTabPage (std::string_view rPageId)
 
void ActivatePageImpl ()
 
void DeActivatePageImpl ()
 
void ResetPageImpl ()
 
void Activate () override
 
virtual void Close () override
 
void Apply ()
 

Private Attributes

std::vector< std::unique_ptr< IconChoicePageData > > maPageList
 
OString msCurrentPageId
 
const SfxItemSetpSet
 
std::unique_ptr< SfxItemSetpOutSet
 
std::unique_ptr< SfxItemSetpExampleSet
 
WhichRangesContainer pRanges
 
SvxHlinkCtrl maCtrl
 Controller. More...
 
std::unique_ptr< SfxItemSetmpItemSet
 
bool mbGrabFocus: 1
 
bool mbIsHTMLDoc: 1
 
std::unique_ptr< weld::Notebookm_xIconCtrl
 
std::unique_ptr< weld::Buttonm_xOKBtn
 
std::unique_ptr< weld::Buttonm_xApplyBtn
 
std::unique_ptr< weld::Buttonm_xCancelBtn
 
std::unique_ptr< weld::Buttonm_xHelpBtn
 
std::unique_ptr< weld::Buttonm_xResetBtn
 

Friends

class IconChoicePage
 

Additional Inherited Members

- Protected Member Functions inherited from SfxModelessDialogController
 SfxModelessDialogController (SfxBindings *, SfxChildWindow *pChildWin, weld::Window *pParent, const OUString &rUIXMLDescription, const OString &rID)
 

Detailed Description

Definition at line 63 of file cuihyperdlg.hxx.

Constructor & Destructor Documentation

◆ SvxHpLinkDlg()

SvxHpLinkDlg::SvxHpLinkDlg ( SfxBindings pBindings,
SfxChildWindow pChild,
weld::Window pParent 
)

◆ ~SvxHpLinkDlg()

SvxHpLinkDlg::~SvxHpLinkDlg ( )
overridevirtual

Member Function Documentation

◆ Activate()

void SvxHpLinkDlg::Activate ( )
overrideprivatevirtual

◆ ActivatePageImpl()

void SvxHpLinkDlg::ActivatePageImpl ( )
private

Definition at line 135 of file iconcdlg.cxx.

References GetPageData(), m_xDialog, m_xResetBtn, maPageList, msCurrentPageId, pData, pExampleSet, and pSet.

Referenced by ShowPage(), and Start().

◆ AddTabPage()

void SvxHpLinkDlg::AddTabPage ( const OString &  rId,
CreatePage  pCreateFunc 
)

Definition at line 73 of file iconcdlg.cxx.

References m_xIconCtrl, maPageList, PageCreated(), and pSet.

Referenced by SvxHpLinkDlg().

◆ Apply()

void SvxHpLinkDlg::Apply ( )
private

◆ Close()

void SvxHpLinkDlg::Close ( )
overrideprivatevirtual

◆ DeActivatePageImpl()

void SvxHpLinkDlg::DeActivatePageImpl ( )
private

◆ DECL_LINK() [1/4]

SvxHpLinkDlg::DECL_LINK ( ChosePageHdl_Impl  ,
const OString &  ,
void   
)
private

◆ DECL_LINK() [2/4]

SvxHpLinkDlg::DECL_LINK ( ClickApplyHdl_Impl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [3/4]

SvxHpLinkDlg::DECL_LINK ( ClickOkHdl_Impl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [4/4]

SvxHpLinkDlg::DECL_LINK ( ResetHdl  ,
weld::Button ,
void   
)
private

◆ GetCurPageId()

const OString & SvxHpLinkDlg::GetCurPageId ( ) const
inline

Definition at line 119 of file cuihyperdlg.hxx.

References msCurrentPageId.

Referenced by Activate(), Apply(), SetPage(), and ShowPage().

◆ GetDispatcher()

SfxDispatcher * SvxHpLinkDlg::GetDispatcher ( ) const
inline

◆ GetInputRanges()

WhichRangesContainer SvxHpLinkDlg::GetInputRanges ( const SfxItemPool )

gives via map converted local slots if applicable

Definition at line 229 of file iconcdlg.cxx.

References WhichRangesContainer::empty(), SfxItemSet::GetRanges(), pRanges, pSet, and SAL_WARN.

Referenced by DeActivatePageImpl().

◆ GetPageData()

IconChoicePageData * SvxHpLinkDlg::GetPageData ( std::string_view  rId)
private

Definition at line 283 of file iconcdlg.cxx.

References maPageList, and pData.

Referenced by ActivatePageImpl(), DeActivatePageImpl(), GetTabPage(), ResetPageImpl(), and ShowPage().

◆ GetTabPage()

IconChoicePage * SvxHpLinkDlg::GetTabPage ( std::string_view  rPageId)
inlineprivate

Definition at line 100 of file cuihyperdlg.hxx.

References GetPageData(), and IconChoicePageData::xPage.

Referenced by Activate(), Apply(), and SetPage().

◆ IsHTMLDoc()

bool SvxHpLinkDlg::IsHTMLDoc ( ) const
inline

Definition at line 133 of file cuihyperdlg.hxx.

References mbIsHTMLDoc.

Referenced by SvxHyperlinkTabPageBase::GetDataFromCommonFields().

◆ PageCreated()

void SvxHpLinkDlg::PageCreated ( IconChoicePage rPage)

◆ QueryClose()

bool SvxHpLinkDlg::QueryClose ( )

Definition at line 257 of file iconcdlg.cxx.

References maPageList, and pData.

◆ ResetPageImpl()

void SvxHpLinkDlg::ResetPageImpl ( )
private

Definition at line 214 of file iconcdlg.cxx.

References GetPageData(), msCurrentPageId, pData, and pSet.

◆ SetCurPageId()

void SvxHpLinkDlg::SetCurPageId ( const OString &  rId)
inline

Definition at line 118 of file cuihyperdlg.hxx.

References msCurrentPageId, and SwitchPage().

Referenced by ShowPage(), and SvxHpLinkDlg().

◆ SetInputSet()

void SvxHpLinkDlg::SetInputSet ( const SfxItemSet pInSet)

Definition at line 244 of file iconcdlg.cxx.

References SfxItemSet::GetPool(), SfxItemSet::GetRanges(), pExampleSet, pOutSet, and pSet.

Referenced by SvxHpLinkDlg().

◆ SetPage()

void SvxHpLinkDlg::SetPage ( SvxHyperlinkItem const *  pItem)

◆ SetReadOnlyMode()

void SvxHpLinkDlg::SetReadOnlyMode ( bool  bReadOnly)

Definition at line 276 of file cuihyperdlg.cxx.

References m_xOKBtn.

Referenced by SvxHlinkCtrl::StateChangedAtToolBoxControl().

◆ ShowPage()

void SvxHpLinkDlg::ShowPage ( const OString &  rId)

◆ Start()

void SvxHpLinkDlg::Start ( )

Definition at line 271 of file iconcdlg.cxx.

References ActivatePageImpl(), msCurrentPageId, and SwitchPage().

Referenced by SvxHpLinkDlg().

◆ SwitchPage()

void SvxHpLinkDlg::SwitchPage ( const OString &  rId)
private

Definition at line 303 of file iconcdlg.cxx.

References m_xIconCtrl.

Referenced by SetCurPageId(), and Start().

Friends And Related Function Documentation

◆ IconChoicePage

friend class IconChoicePage
friend

Definition at line 66 of file cuihyperdlg.hxx.

Member Data Documentation

◆ m_xApplyBtn

std::unique_ptr<weld::Button> SvxHpLinkDlg::m_xApplyBtn
private

Definition at line 85 of file cuihyperdlg.hxx.

Referenced by SvxHpLinkDlg().

◆ m_xCancelBtn

std::unique_ptr<weld::Button> SvxHpLinkDlg::m_xCancelBtn
private

Definition at line 86 of file cuihyperdlg.hxx.

Referenced by SvxHpLinkDlg().

◆ m_xHelpBtn

std::unique_ptr<weld::Button> SvxHpLinkDlg::m_xHelpBtn
private

Definition at line 87 of file cuihyperdlg.hxx.

Referenced by SvxHpLinkDlg().

◆ m_xIconCtrl

std::unique_ptr<weld::Notebook> SvxHpLinkDlg::m_xIconCtrl
private

Definition at line 83 of file cuihyperdlg.hxx.

Referenced by AddTabPage(), SvxHpLinkDlg(), and SwitchPage().

◆ m_xOKBtn

std::unique_ptr<weld::Button> SvxHpLinkDlg::m_xOKBtn
private

Definition at line 84 of file cuihyperdlg.hxx.

Referenced by SetReadOnlyMode(), and SvxHpLinkDlg().

◆ m_xResetBtn

std::unique_ptr<weld::Button> SvxHpLinkDlg::m_xResetBtn
private

Definition at line 88 of file cuihyperdlg.hxx.

Referenced by ActivatePageImpl(), and SvxHpLinkDlg().

◆ maCtrl

SvxHlinkCtrl SvxHpLinkDlg::maCtrl
private

Controller.

Definition at line 77 of file cuihyperdlg.hxx.

Referenced by ~SvxHpLinkDlg().

◆ maPageList

std::vector< std::unique_ptr<IconChoicePageData> > SvxHpLinkDlg::maPageList
private

◆ mbGrabFocus

bool SvxHpLinkDlg::mbGrabFocus
private

Definition at line 80 of file cuihyperdlg.hxx.

Referenced by Activate(), SvxHpLinkDlg(), and ~SvxHpLinkDlg().

◆ mbIsHTMLDoc

bool SvxHpLinkDlg::mbIsHTMLDoc
private

Definition at line 81 of file cuihyperdlg.hxx.

Referenced by IsHTMLDoc(), and SetPage().

◆ mpItemSet

std::unique_ptr<SfxItemSet> SvxHpLinkDlg::mpItemSet
private

Definition at line 78 of file cuihyperdlg.hxx.

Referenced by SvxHpLinkDlg(), and ~SvxHpLinkDlg().

◆ msCurrentPageId

OString SvxHpLinkDlg::msCurrentPageId
private

◆ pExampleSet

std::unique_ptr<SfxItemSet> SvxHpLinkDlg::pExampleSet
private

Definition at line 74 of file cuihyperdlg.hxx.

Referenced by ActivatePageImpl(), DeActivatePageImpl(), SetInputSet(), and SvxHpLinkDlg().

◆ pOutSet

std::unique_ptr<SfxItemSet> SvxHpLinkDlg::pOutSet
private

Definition at line 73 of file cuihyperdlg.hxx.

Referenced by DeActivatePageImpl(), SetInputSet(), SvxHpLinkDlg(), and ~SvxHpLinkDlg().

◆ pRanges

WhichRangesContainer SvxHpLinkDlg::pRanges
private

Definition at line 75 of file cuihyperdlg.hxx.

Referenced by GetInputRanges(), and ~SvxHpLinkDlg().

◆ pSet

const SfxItemSet* SvxHpLinkDlg::pSet
private

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