LibreOffice Module cui (master) 1
|
#include <cuihyperdlg.hxx>
Public Member Functions | |
SvxHpLinkDlg (SfxBindings *pBindings, SfxChildWindow *pChild, weld::Window *pParent) | |
virtual | ~SvxHpLinkDlg () override |
void | AddTabPage (const OUString &rId, CreatePage pCreateFunc) |
void | SetCurPageId (const OUString &rId) |
const OUString & | GetCurPageId () const |
void | ShowPage (const OUString &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 |
SfxDispatcher * | GetDispatcher () 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 |
SfxBindings & | GetBindings () const |
Public Member Functions inherited from SfxDialogController | |
SfxDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId) | |
virtual void | Activate () |
virtual void | Deactivate () |
virtual void | ChildWinDispose () |
virtual void | Close () |
virtual void | EndDialog (int nResponse) |
virtual bool | CloseOnHide () const |
Private Member Functions | |
DECL_LINK (ChosePageHdl_Impl, const OUString &, void) | |
IconChoicePageData * | GetPageData (std::u16string_view rId) |
void | SwitchPage (const OUString &rId) |
DECL_LINK (ResetHdl, weld::Button &, void) | |
DECL_LINK (ClickOkHdl_Impl, weld::Button &, void) | |
DECL_LINK (ClickApplyHdl_Impl, weld::Button &, void) | |
IconChoicePage * | GetTabPage (std::u16string_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 |
OUString | msCurrentPageId |
const SfxItemSet * | pSet |
std::unique_ptr< SfxItemSet > | pOutSet |
std::unique_ptr< SfxItemSet > | pExampleSet |
WhichRangesContainer | pRanges |
SvxHlinkCtrl | maCtrl |
Controller. More... | |
std::unique_ptr< SfxItemSet > | mpItemSet |
bool | mbGrabFocus: 1 |
bool | mbIsHTMLDoc: 1 |
std::unique_ptr< weld::Notebook > | m_xIconCtrl |
std::unique_ptr< weld::Button > | m_xOKBtn |
std::unique_ptr< weld::Button > | m_xApplyBtn |
std::unique_ptr< weld::Button > | m_xCancelBtn |
std::unique_ptr< weld::Button > | m_xHelpBtn |
std::unique_ptr< weld::Button > | m_xResetBtn |
Static Private Attributes | |
static OUString | msRememberedPageId |
Friends | |
class | IconChoicePage |
Additional Inherited Members | |
Protected Member Functions inherited from SfxModelessDialogController | |
SfxModelessDialogController (SfxBindings *, SfxChildWindow *pChildWin, weld::Window *pParent, const OUString &rUIXMLDescription, const OUString &rID) | |
Definition at line 63 of file cuihyperdlg.hxx.
SvxHpLinkDlg::SvxHpLinkDlg | ( | SfxBindings * | pBindings, |
SfxChildWindow * | pChild, | ||
weld::Window * | pParent | ||
) |
Definition at line 88 of file cuihyperdlg.cxx.
References AddTabPage(), SvxHyperlinkNewDocTp::Create(), SvxHyperlinkDocTp::Create(), SvxHyperlinkInternetTp::Create(), SvxHyperlinkMailTp::Create(), CuiResId(), SfxModelessDialogController::GetBindings(), SfxShell::GetPool(), SfxItemSet::GetPool(), SfxItemSet::GetRanges(), comphelper::LibreOfficeKit::isActive(), LINK, m_xApplyBtn, m_xCancelBtn, m_xHelpBtn, m_xIconCtrl, m_xOKBtn, m_xResetBtn, mbGrabFocus, mpItemSet, msRememberedPageId, pExampleSet, pOutSet, pSet, SetCurPageId(), SetInputSet(), SfxGetpApp(), Start(), and SfxBindings::Update().
|
overridevirtual |
Definition at line 154 of file cuihyperdlg.cxx.
References SvtViewOptions::Delete(), SvxHlinkCtrl::dispose(), maCtrl, maPageList, mbGrabFocus, mpItemSet, pOutSet, pRanges, and WhichRangesContainer::reset().
|
overrideprivatevirtual |
Reimplemented from SfxModelessDialogController.
Definition at line 172 of file cuihyperdlg.cxx.
References SfxModelessDialogController::Activate(), GetCurPageId(), GetTabPage(), and mbGrabFocus.
|
private |
Definition at line 135 of file iconcdlg.cxx.
References GetPageData(), m_xDialog, m_xResetBtn, maPageList, msCurrentPageId, msRememberedPageId, pData, pExampleSet, and pSet.
Referenced by ShowPage(), and Start().
void SvxHpLinkDlg::AddTabPage | ( | const OUString & | rId, |
CreatePage | pCreateFunc | ||
) |
Definition at line 73 of file iconcdlg.cxx.
References m_xIconCtrl, maPageList, PageCreated(), and pSet.
Referenced by SvxHpLinkDlg().
|
private |
Definition at line 188 of file cuihyperdlg.cxx.
References SfxDispatcher::ExecuteList(), SvxHyperlinkTabPageBase::FillItemSet(), GetCurPageId(), GetDispatcher(), SfxItemSet::GetItem(), GetTabPage(), SvxHyperlinkItem::GetURL(), and SfxGetpApp().
|
overrideprivatevirtual |
Reimplemented from SfxModelessDialogController.
Definition at line 180 of file cuihyperdlg.cxx.
References SfxViewFrame::Current(), and SfxModelessDialogController::IsClosing().
|
private |
!!
Definition at line 157 of file iconcdlg.cxx.
References SfxItemSet::Count(), IconChoicePage::DeactivatePage(), GetInputRanges(), IconChoicePage::GetItemSet(), GetPageData(), SfxItemSet::GetPool(), SfxItemSet::GetRanges(), IconChoicePage::HasExchangeSupport(), maPageList, msCurrentPageId, pData, pExampleSet, pOutSet, and pSet.
Referenced by ShowPage().
|
private |
|
private |
|
private |
|
private |
|
inline |
Definition at line 121 of file cuihyperdlg.hxx.
References msCurrentPageId.
Referenced by Activate(), Apply(), SetPage(), and ShowPage().
|
inline |
Definition at line 137 of file cuihyperdlg.hxx.
References SfxModelessDialogController::GetBindings(), and SfxBindings::GetDispatcher().
Referenced by Apply(), and SvxHyperlinkTabPageBase::GetDispatcher().
WhichRangesContainer SvxHpLinkDlg::GetInputRanges | ( | const SfxItemPool & | ) |
gives via map converted local slots if applicable
Definition at line 232 of file iconcdlg.cxx.
References WhichRangesContainer::empty(), SfxItemSet::GetRanges(), pRanges, pSet, and SAL_WARN.
Referenced by DeActivatePageImpl().
|
private |
Definition at line 286 of file iconcdlg.cxx.
References maPageList, and pData.
Referenced by ActivatePageImpl(), DeActivatePageImpl(), GetTabPage(), ResetPageImpl(), and ShowPage().
|
inlineprivate |
Definition at line 102 of file cuihyperdlg.hxx.
References GetPageData(), and IconChoicePageData::xPage.
Referenced by Activate(), Apply(), and SetPage().
|
inline |
Definition at line 135 of file cuihyperdlg.hxx.
References mbIsHTMLDoc.
Referenced by SvxHyperlinkTabPageBase::GetDataFromCommonFields().
void SvxHpLinkDlg::PageCreated | ( | IconChoicePage & | rPage | ) |
Definition at line 289 of file cuihyperdlg.cxx.
References SfxBindings::GetActiveFrame(), SfxModelessDialogController::GetBindings(), and SvxHyperlinkTabPageBase::SetDocumentFrame().
Referenced by AddTabPage().
bool SvxHpLinkDlg::QueryClose | ( | ) |
Definition at line 260 of file iconcdlg.cxx.
References maPageList, and pData.
|
private |
Definition at line 217 of file iconcdlg.cxx.
References GetPageData(), msCurrentPageId, pData, and pSet.
|
inline |
Definition at line 120 of file cuihyperdlg.hxx.
References msCurrentPageId, and SwitchPage().
Referenced by ShowPage(), and SvxHpLinkDlg().
void SvxHpLinkDlg::SetInputSet | ( | const SfxItemSet * | pInSet | ) |
Definition at line 247 of file iconcdlg.cxx.
References SfxItemSet::GetPool(), SfxItemSet::GetRanges(), pExampleSet, pOutSet, and pSet.
Referenced by SvxHpLinkDlg().
void SvxHpLinkDlg::SetPage | ( | SvxHyperlinkItem const * | pItem | ) |
Definition at line 227 of file cuihyperdlg.cxx.
References aURL, GetCurPageId(), SvxHyperlinkItem::GetInsertMode(), IconChoicePage::GetItemSet(), GetTabPage(), SvxHyperlinkItem::GetURL(), HLINK_HTMLMODE, mbIsHTMLDoc, SfxItemSet::Put(), SvxHyperlinkTabPageBase::Reset(), and ShowPage().
Referenced by SvxHlinkCtrl::StateChangedAtToolBoxControl().
void SvxHpLinkDlg::SetReadOnlyMode | ( | bool | bReadOnly | ) |
Definition at line 279 of file cuihyperdlg.cxx.
References m_xOKBtn.
Referenced by SvxHlinkCtrl::StateChangedAtToolBoxControl().
void SvxHpLinkDlg::ShowPage | ( | const OUString & | rId | ) |
Definition at line 86 of file iconcdlg.cxx.
References ActivatePageImpl(), DeActivatePageImpl(), GetCurPageId(), GetPageData(), SetCurPageId(), and IconChoicePageData::xPage.
Referenced by SetPage().
void SvxHpLinkDlg::Start | ( | ) |
Definition at line 274 of file iconcdlg.cxx.
References ActivatePageImpl(), msCurrentPageId, and SwitchPage().
Referenced by SvxHpLinkDlg().
|
private |
Definition at line 306 of file iconcdlg.cxx.
References m_xIconCtrl.
Referenced by SetCurPageId(), and Start().
|
friend |
Definition at line 66 of file cuihyperdlg.hxx.
|
private |
Definition at line 87 of file cuihyperdlg.hxx.
Referenced by SvxHpLinkDlg().
|
private |
Definition at line 88 of file cuihyperdlg.hxx.
Referenced by SvxHpLinkDlg().
|
private |
Definition at line 89 of file cuihyperdlg.hxx.
Referenced by SvxHpLinkDlg().
|
private |
Definition at line 85 of file cuihyperdlg.hxx.
Referenced by AddTabPage(), SvxHpLinkDlg(), and SwitchPage().
|
private |
Definition at line 86 of file cuihyperdlg.hxx.
Referenced by SetReadOnlyMode(), and SvxHpLinkDlg().
|
private |
Definition at line 90 of file cuihyperdlg.hxx.
Referenced by ActivatePageImpl(), and SvxHpLinkDlg().
|
private |
|
private |
Definition at line 68 of file cuihyperdlg.hxx.
Referenced by ActivatePageImpl(), AddTabPage(), DeActivatePageImpl(), GetPageData(), QueryClose(), and ~SvxHpLinkDlg().
|
private |
Definition at line 82 of file cuihyperdlg.hxx.
Referenced by Activate(), SvxHpLinkDlg(), and ~SvxHpLinkDlg().
|
private |
Definition at line 83 of file cuihyperdlg.hxx.
Referenced by IsHTMLDoc(), and SetPage().
|
private |
Definition at line 80 of file cuihyperdlg.hxx.
Referenced by SvxHpLinkDlg(), and ~SvxHpLinkDlg().
|
private |
Definition at line 70 of file cuihyperdlg.hxx.
Referenced by ActivatePageImpl(), DeActivatePageImpl(), GetCurPageId(), ResetPageImpl(), SetCurPageId(), and Start().
|
staticprivate |
Definition at line 72 of file cuihyperdlg.hxx.
Referenced by ActivatePageImpl(), and SvxHpLinkDlg().
|
private |
Definition at line 76 of file cuihyperdlg.hxx.
Referenced by ActivatePageImpl(), DeActivatePageImpl(), SetInputSet(), and SvxHpLinkDlg().
|
private |
Definition at line 75 of file cuihyperdlg.hxx.
Referenced by DeActivatePageImpl(), SetInputSet(), SvxHpLinkDlg(), and ~SvxHpLinkDlg().
|
private |
Definition at line 77 of file cuihyperdlg.hxx.
Referenced by GetInputRanges(), and ~SvxHpLinkDlg().
|
private |
Definition at line 74 of file cuihyperdlg.hxx.
Referenced by ActivatePageImpl(), AddTabPage(), DeActivatePageImpl(), GetInputRanges(), ResetPageImpl(), SetInputSet(), and SvxHpLinkDlg().