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)
 
OString GetCurPageId () const
 
void ShowPage (const OString &rId)
 
const sal_uInt16 * GetInputRanges (const SfxItemPool &)
 gives via map converted local slots if applicable More...
 
void SetInputSet (const SfxItemSet *pInSet)
 
weld::ButtonGetOKButton ()
 
void Start ()
 
bool QueryClose ()
 
void PageCreated (const OString &rId, 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 EndDialog () 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)
 

Private Member Functions

 DECL_LINK (ChosePageHdl_Impl, const OString &, void)
 
IconChoicePageDataGetPageData (const OString &rId)
 
void Start_Impl ()
 
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 (const OString &rPageId)
 
void ActivatePageImpl ()
 
void DeActivatePageImpl ()
 
void ResetPageImpl ()
 
virtual void Close () override
 
void Apply ()
 

Private Attributes

std::vector< std::unique_ptr< IconChoicePageData > > maPageList
 
OString msCurrentPageId
 
const SfxItemSetpSet
 
std::unique_ptr< SfxItemSetpOutSet
 
SfxItemSetpExampleSet
 
std::unique_ptr< sal_uInt16[]> 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 ( SfxBindings pBindings,
SfxChildWindow pChild,
weld::Window pParent 
)
SvxHpLinkDlg::~SvxHpLinkDlg ( )
overridevirtual

Member Function Documentation

void SvxHpLinkDlg::ActivatePageImpl ( )
private

Definition at line 134 of file iconcdlg.cxx.

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

Referenced by ShowPage(), and Start_Impl().

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

Definition at line 72 of file iconcdlg.cxx.

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

Referenced by SvxHpLinkDlg().

void SvxHpLinkDlg::Apply ( )
private
void SvxHpLinkDlg::Close ( )
overrideprivatevirtual
void SvxHpLinkDlg::DeActivatePageImpl ( )
private
SvxHpLinkDlg::DECL_LINK ( ChosePageHdl_Impl  ,
const OString &  ,
void   
)
private
SvxHpLinkDlg::DECL_LINK ( ResetHdl  ,
weld::Button ,
void   
)
private
SvxHpLinkDlg::DECL_LINK ( ClickOkHdl_Impl  ,
weld::Button ,
void   
)
private
SvxHpLinkDlg::DECL_LINK ( ClickApplyHdl_Impl  ,
weld::Button ,
void   
)
private
OString SvxHpLinkDlg::GetCurPageId ( ) const
inline

Definition at line 119 of file cuihyperdlg.hxx.

References msCurrentPageId.

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

SfxDispatcher* SvxHpLinkDlg::GetDispatcher ( ) const
inline
const sal_uInt16 * SvxHpLinkDlg::GetInputRanges ( const SfxItemPool )

gives via map converted local slots if applicable

Definition at line 230 of file iconcdlg.cxx.

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

Referenced by DeActivatePageImpl().

weld::Button& SvxHpLinkDlg::GetOKButton ( )
inline

Definition at line 126 of file cuihyperdlg.hxx.

References m_xOKBtn.

Referenced by SetReadOnlyMode().

IconChoicePageData * SvxHpLinkDlg::GetPageData ( const OString &  rId)
private

Definition at line 292 of file iconcdlg.cxx.

References maPageList.

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

IconChoicePage* SvxHpLinkDlg::GetTabPage ( const OString &  rPageId)
inlineprivate

Definition at line 101 of file cuihyperdlg.hxx.

References GetPageData(), and IconChoicePageData::xPage.

Referenced by Apply(), and SetPage().

bool SvxHpLinkDlg::IsHTMLDoc ( ) const
inline

Definition at line 135 of file cuihyperdlg.hxx.

References mbIsHTMLDoc.

Referenced by SvxHyperlinkTabPageBase::GetDataFromCommonFields().

void SvxHpLinkDlg::PageCreated ( const OString &  rId,
IconChoicePage rPage 
)
bool SvxHpLinkDlg::QueryClose ( )

Definition at line 266 of file iconcdlg.cxx.

References maPageList.

void SvxHpLinkDlg::ResetPageImpl ( )
private

Definition at line 215 of file iconcdlg.cxx.

References DBG_ASSERT, GetPageData(), msCurrentPageId, pSet, and IconChoicePageData::xPage.

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

Definition at line 118 of file cuihyperdlg.hxx.

References SwitchPage().

Referenced by ShowPage(), and SvxHpLinkDlg().

void SvxHpLinkDlg::SetInputSet ( const SfxItemSet pInSet)

Definition at line 248 of file iconcdlg.cxx.

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

Referenced by SvxHpLinkDlg().

void SvxHpLinkDlg::SetPage ( SvxHyperlinkItem const *  pItem)
void SvxHpLinkDlg::SetReadOnlyMode ( bool  bReadOnly)

Definition at line 275 of file cuihyperdlg.cxx.

References GetOKButton(), and weld::Widget::set_sensitive().

Referenced by SvxHlinkCtrl::StateChanged().

void SvxHpLinkDlg::ShowPage ( const OString &  rId)
void SvxHpLinkDlg::Start ( )

Definition at line 261 of file iconcdlg.cxx.

References Start_Impl().

Referenced by SvxHpLinkDlg().

void SvxHpLinkDlg::Start_Impl ( )
private

Definition at line 280 of file iconcdlg.cxx.

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

Referenced by Start().

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

Definition at line 312 of file iconcdlg.cxx.

References m_xIconCtrl.

Referenced by SetCurPageId(), and Start_Impl().

Friends And Related Function Documentation

friend class IconChoicePage
friend

Definition at line 66 of file cuihyperdlg.hxx.

Member Data Documentation

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

Definition at line 85 of file cuihyperdlg.hxx.

Referenced by SvxHpLinkDlg().

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

Definition at line 86 of file cuihyperdlg.hxx.

Referenced by SvxHpLinkDlg().

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

Definition at line 87 of file cuihyperdlg.hxx.

Referenced by SvxHpLinkDlg().

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

Definition at line 83 of file cuihyperdlg.hxx.

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

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

Definition at line 84 of file cuihyperdlg.hxx.

Referenced by GetOKButton(), and SvxHpLinkDlg().

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

Definition at line 88 of file cuihyperdlg.hxx.

Referenced by ActivatePageImpl(), and SvxHpLinkDlg().

SvxHlinkCtrl SvxHpLinkDlg::maCtrl
private

Controller.

Definition at line 77 of file cuihyperdlg.hxx.

Referenced by ~SvxHpLinkDlg().

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

Definition at line 80 of file cuihyperdlg.hxx.

Referenced by SetPage(), and SvxHpLinkDlg().

bool SvxHpLinkDlg::mbIsHTMLDoc
private

Definition at line 81 of file cuihyperdlg.hxx.

Referenced by IsHTMLDoc(), and SetPage().

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

Definition at line 78 of file cuihyperdlg.hxx.

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

OString SvxHpLinkDlg::msCurrentPageId
private
SfxItemSet* SvxHpLinkDlg::pExampleSet
private

Definition at line 74 of file cuihyperdlg.hxx.

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

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

Definition at line 73 of file cuihyperdlg.hxx.

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

std::unique_ptr<sal_uInt16[]> SvxHpLinkDlg::pRanges
private

Definition at line 75 of file cuihyperdlg.hxx.

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

const SfxItemSet* SvxHpLinkDlg::pSet
private

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