LibreOffice Module cui (master) 1
|
Tabpage : Basisclass. More...
#include <hltpbase.hxx>
Public Member Functions | |
SvxHyperlinkTabPageBase (weld::Container *pParent, SvxHpLinkDlg *pDlg, const OUString &rUIXMLDescription, const OUString &rID, const SfxItemSet *pItemSet) | |
virtual | ~SvxHyperlinkTabPageBase () override |
void | SetDocumentFrame (const css::uno::Reference< css::frame::XFrame > &rxDocumentFrame) |
virtual void | DoApply () |
virtual void | SetInitFocus () |
virtual void | SetMarkStr (const OUString &aStrMark) |
virtual void | Reset (const SfxItemSet &) override |
virtual bool | FillItemSet (SfxItemSet *) override |
virtual void | ActivatePage (const SfxItemSet &rItemSet) override |
virtual DeactivateRC | DeactivatePage (SfxItemSet *pSet) override |
bool | IsMarkWndVisible () const |
void | MoveToExtraWnd (Point aNewPos) |
virtual bool | QueryClose () override |
Public Member Functions inherited from IconChoicePage | |
virtual | ~IconChoicePage () |
OUString | GetHelpId () const |
const SfxItemSet & | GetItemSet () const |
virtual bool | FillItemSet (SfxItemSet *)=0 |
virtual void | Reset (const SfxItemSet &)=0 |
bool | HasExchangeSupport () const |
void | SetExchangeSupport () |
virtual void | ActivatePage (const SfxItemSet &) |
virtual DeactivateRC | DeactivatePage (SfxItemSet *pSet) |
virtual bool | QueryClose () |
Protected Member Functions | |
void | InitStdControls () |
void | FillStandardDlgFields (const SvxHyperlinkItem *pHyperlinkItem) |
virtual void | FillDlgFields (const OUString &rStrURL)=0 |
virtual void | GetCurrentItemData (OUString &rStrURL, OUString &aStrName, OUString &aStrIntName, OUString &aStrFrame, SvxLinkInsertMode &eMode)=0 |
void | GetDataFromCommonFields (OUString &aStrName, OUString &aStrIntName, OUString &aStrFrame, SvxLinkInsertMode &eMode) |
DECL_LINK (ClickScriptHdl_Impl, weld::Button &, void) | |
Button : Script. More... | |
void | DisableClose (bool _bDisable) |
virtual bool | ShouldOpenMarkWnd () |
virtual void | SetMarkWndShouldOpen (bool bOpen) |
void | ShowMarkWnd () |
void | HideMarkWnd () |
SfxDispatcher * | GetDispatcher () const |
HyperDialogEvent | GetMacroEvents () const |
SvxMacroTableDtor * | GetMacroTable () |
Protected Member Functions inherited from IconChoicePage | |
IconChoicePage (weld::Container *pParent, const OUString &rUIXMLDescription, const OUString &rID, const SfxItemSet *pItemSet) | |
Static Protected Member Functions | |
static OUString | GetSchemeFromURL (const OUString &rStrURL) |
Protected Attributes | |
SvxHpLinkDlg * | mpDialog |
bool | mbStdControlsInit |
OUString | maStrInitURL |
Timer | maTimer |
TopLevelWindowLocker | maBusy |
std::shared_ptr< SvxHlinkDlgMarkWnd > | mxMarkWnd |
Protected Attributes inherited from IconChoicePage | |
std::unique_ptr< weld::Builder > | xBuilder |
std::unique_ptr< weld::Container > | xContainer |
Private Attributes | |
std::unique_ptr< weld::ComboBox > | mxCbbFrame |
std::unique_ptr< weld::ComboBox > | mxLbForm |
std::unique_ptr< weld::Entry > | mxEdIndication |
std::unique_ptr< weld::Entry > | mxEdText |
std::unique_ptr< weld::Button > | mxBtScript |
std::unique_ptr< weld::Label > | mxFormLabel |
std::unique_ptr< weld::Label > | mxFrameLabel |
bool | mbIsCloseDisabled |
css::uno::Reference< css::frame::XFrame > | mxDocumentFrame |
Tabpage : Basisclass.
Definition at line 46 of file hltpbase.hxx.
SvxHyperlinkTabPageBase::SvxHyperlinkTabPageBase | ( | weld::Container * | pParent, |
SvxHpLinkDlg * | pDlg, | ||
const OUString & | rUIXMLDescription, | ||
const OUString & | rID, | ||
const SfxItemSet * | pItemSet | ||
) |
Definition at line 105 of file hltpbase.cxx.
|
overridevirtual |
Definition at line 126 of file hltpbase.cxx.
References HideMarkWnd(), maTimer, and Task::Stop().
|
overridevirtual |
Reimplemented from IconChoicePage.
Definition at line 510 of file hltpbase.cxx.
References FillStandardDlgFields(), SfxItemSet::GetItem(), ShouldOpenMarkWnd(), and ShowMarkWnd().
|
overridevirtual |
Reimplemented from IconChoicePage.
Definition at line 528 of file hltpbase.cxx.
References eMode, GetCurrentItemData(), GetMacroEvents(), GetMacroTable(), HideMarkWnd(), IsMarkWndVisible(), SfxItemSet::Put(), and SetMarkWndShouldOpen().
|
protected |
Button : Script.
|
protected |
Definition at line 313 of file hltpbase.cxx.
References TopLevelWindowLocker::decBusy(), TopLevelWindowLocker::incBusy(), maBusy, mbIsCloseDisabled, and mpDialog.
|
virtual |
Reimplemented in SvxHyperlinkNewDocTp.
Definition at line 290 of file hltpbase.cxx.
|
protectedpure virtual |
Implemented in SvxHyperlinkNewDocTp, SvxHyperlinkDocTp, SvxHyperlinkInternetTp, and SvxHyperlinkMailTp.
Referenced by Reset().
|
overridevirtual |
Implements IconChoicePage.
Definition at line 490 of file hltpbase.cxx.
References eMode, GetCurrentItemData(), GetMacroEvents(), GetMacroTable(), and SfxItemSet::Put().
Referenced by SvxHpLinkDlg::Apply().
|
protected |
Definition at line 233 of file hltpbase.cxx.
References CuiResId(), SvxHyperlinkItem::GetInsertMode(), SvxHyperlinkItem::GetIntName(), SvxHyperlinkItem::GetMacroEvents(), SvxHyperlinkItem::GetName(), SvxHyperlinkItem::GetTargetFrame(), HLINK_BUTTON, HLINK_HTMLMODE, comphelper::LibreOfficeKit::isActive(), mxBtScript, mxCbbFrame, mxEdIndication, mxEdText, mxFormLabel, mxFrameLabel, mxLbForm, and nPos.
Referenced by ActivatePage(), and Reset().
|
protectedpure virtual |
Implemented in SvxHyperlinkNewDocTp, SvxHyperlinkDocTp, SvxHyperlinkInternetTp, and SvxHyperlinkMailTp.
Referenced by DeactivatePage(), and FillItemSet().
|
protected |
Definition at line 422 of file hltpbase.cxx.
References eMode, HLINK_HTMLMODE, SvxHpLinkDlg::IsHTMLDoc(), mpDialog, mxCbbFrame, mxEdIndication, mxEdText, mxLbForm, and nPos.
Referenced by SvxHyperlinkNewDocTp::GetCurrentItemData(), SvxHyperlinkDocTp::GetCurrentItemData(), SvxHyperlinkInternetTp::GetCurrentItemData(), and SvxHyperlinkMailTp::GetCurrentItemData().
|
protected |
Definition at line 308 of file hltpbase.cxx.
References SvxHpLinkDlg::GetDispatcher(), and mpDialog.
Referenced by SvxHyperlinkNewDocTp::DoApply(), and InitStdControls().
|
protected |
Definition at line 372 of file hltpbase.cxx.
References SfxItemSet::GetItem(), IconChoicePage::GetItemSet(), and SvxHyperlinkItem::GetMacroEvents().
Referenced by DeactivatePage(), and FillItemSet().
|
protected |
Definition at line 380 of file hltpbase.cxx.
References SfxItemSet::GetItem(), IconChoicePage::GetItemSet(), and SvxHyperlinkItem::GetMacroTable().
Referenced by DeactivatePage(), and FillItemSet().
|
staticprotected |
Definition at line 389 of file hltpbase.cxx.
References aURL, INetURLObject::GetScheme(), INET_FTP_SCHEME, INET_HTTP_SCHEME, INET_HTTPS_SCHEME, and INET_MAILTO_SCHEME.
Referenced by SvxHyperlinkInternetTp::FillDlgFields(), SvxHyperlinkMailTp::FillDlgFields(), SvxHyperlinkMailTp::RemoveImproperProtocol(), and SvxHyperlinkInternetTp::RemoveImproperProtocol().
|
protected |
Definition at line 223 of file hltpbase.cxx.
References mxMarkWnd, and RET_CANCEL.
Referenced by DeactivatePage(), SvxHyperlinkInternetTp::SetScheme(), and ~SvxHyperlinkTabPageBase().
|
protected |
Definition at line 138 of file hltpbase.cxx.
References SfxFrame::GetDefaultTargetList(), GetDispatcher(), SfxDispatcher::GetFrame(), SfxViewFrame::GetFrame(), i, LINK, mbStdControlsInit, mxBtScript, mxCbbFrame, and nCount.
Referenced by SvxHyperlinkDocTp::SvxHyperlinkDocTp(), SvxHyperlinkInternetTp::SvxHyperlinkInternetTp(), SvxHyperlinkMailTp::SvxHyperlinkMailTp(), and SvxHyperlinkNewDocTp::SvxHyperlinkNewDocTp().
|
inline |
Definition at line 116 of file hltpbase.hxx.
References mxMarkWnd.
Referenced by DeactivatePage(), and SvxHyperlinkInternetTp::RefreshMarkWindow().
void SvxHyperlinkTabPageBase::MoveToExtraWnd | ( | Point | aNewPos | ) |
|
overridevirtual |
Reimplemented from IconChoicePage.
Definition at line 133 of file hltpbase.cxx.
References mbIsCloseDisabled.
|
overridevirtual |
Implements IconChoicePage.
Definition at line 442 of file hltpbase.cxx.
References aURL, FillDlgFields(), FillStandardDlgFields(), SotExchange::GetFormatDataFlavor(), SfxItemSet::GetItem(), GetSystemClipboard(), SvxHyperlinkItem::GetURL(), maStrInitURL, and INetURLObject::Unambiguous.
Referenced by SvxHpLinkDlg::SetPage().
|
inline |
Definition at line 102 of file hltpbase.hxx.
References mxDocumentFrame.
Referenced by SvxHpLinkDlg::PageCreated().
|
virtual |
Reimplemented in SvxHyperlinkNewDocTp, SvxHyperlinkDocTp, SvxHyperlinkInternetTp, and SvxHyperlinkMailTp.
Definition at line 302 of file hltpbase.cxx.
References IconChoicePage::xContainer.
|
virtual |
Reimplemented in SvxHyperlinkDocTp, and SvxHyperlinkInternetTp.
Definition at line 296 of file hltpbase.cxx.
|
protectedvirtual |
Reimplemented in SvxHyperlinkDocTp, and SvxHyperlinkInternetTp.
Definition at line 558 of file hltpbase.cxx.
Referenced by DeactivatePage().
|
protectedvirtual |
Reimplemented in SvxHyperlinkDocTp, and SvxHyperlinkInternetTp.
Definition at line 553 of file hltpbase.cxx.
Referenced by ActivatePage().
|
protected |
Definition at line 175 of file hltpbase.cxx.
References weld::Window::get_monitor_workarea(), weld::Window::get_position(), weld::Window::get_size(), Size::getWidth(), Size::Height(), MoveToExtraWnd(), mpDialog, mxMarkWnd, tools::Rectangle::Right(), weld::DialogController::runAsync(), Size::Width(), and Point::X().
Referenced by ActivatePage(), and SvxHyperlinkInternetTp::SetScheme().
|
protected |
Definition at line 71 of file hltpbase.hxx.
Referenced by DisableClose().
|
protected |
Definition at line 67 of file hltpbase.hxx.
Referenced by SvxHyperlinkNewDocTp::DoApply(), and Reset().
|
protected |
Definition at line 69 of file hltpbase.hxx.
Referenced by SvxHyperlinkDocTp::SvxHyperlinkDocTp(), SvxHyperlinkInternetTp::SvxHyperlinkInternetTp(), and ~SvxHyperlinkTabPageBase().
|
private |
Definition at line 57 of file hltpbase.hxx.
Referenced by DisableClose(), and QueryClose().
|
protected |
Definition at line 65 of file hltpbase.hxx.
Referenced by InitStdControls().
|
protected |
Definition at line 63 of file hltpbase.hxx.
Referenced by DisableClose(), SvxHyperlinkNewDocTp::DoApply(), SvxHyperlinkNewDocTp::FillDocumentList(), GetDataFromCommonFields(), GetDispatcher(), SvxHyperlinkInternetTp::RefreshMarkWindow(), and ShowMarkWnd().
|
private |
Definition at line 53 of file hltpbase.hxx.
Referenced by FillStandardDlgFields(), and InitStdControls().
|
private |
Definition at line 49 of file hltpbase.hxx.
Referenced by FillStandardDlgFields(), GetDataFromCommonFields(), and InitStdControls().
|
private |
Definition at line 60 of file hltpbase.hxx.
Referenced by SetDocumentFrame().
|
private |
Definition at line 51 of file hltpbase.hxx.
Referenced by FillStandardDlgFields(), and GetDataFromCommonFields().
|
private |
Definition at line 52 of file hltpbase.hxx.
Referenced by FillStandardDlgFields(), and GetDataFromCommonFields().
|
private |
Definition at line 54 of file hltpbase.hxx.
Referenced by FillStandardDlgFields().
|
private |
Definition at line 55 of file hltpbase.hxx.
Referenced by FillStandardDlgFields().
|
private |
Definition at line 50 of file hltpbase.hxx.
Referenced by FillStandardDlgFields(), and GetDataFromCommonFields().
|
protected |
Definition at line 73 of file hltpbase.hxx.
Referenced by HideMarkWnd(), IsMarkWndVisible(), MoveToExtraWnd(), SvxHyperlinkInternetTp::RefreshMarkWindow(), and ShowMarkWnd().