LibreOffice Module cui (master) 1
|
#include <hlinettp.hxx>
Public Member Functions | |
SvxHyperlinkInternetTp (weld::Container *pParent, SvxHpLinkDlg *pDlg, const SfxItemSet *pItemSet) | |
virtual | ~SvxHyperlinkInternetTp () override |
virtual void | SetMarkStr (const OUString &aStrMark) override |
virtual void | SetInitFocus () override |
Public Member Functions inherited from SvxHyperlinkTabPageBase | |
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 () |
Static Public Member Functions | |
static std::unique_ptr< IconChoicePage > | Create (weld::Container *pWindow, SvxHpLinkDlg *pDlg, const SfxItemSet *pItemSet) |
Protected Member Functions | |
virtual void | FillDlgFields (const OUString &rStrURL) override |
virtual void | GetCurrentItemData (OUString &rStrURL, OUString &aStrName, OUString &aStrIntName, OUString &aStrFrame, SvxLinkInsertMode &eMode) override |
virtual bool | ShouldOpenMarkWnd () override |
virtual void | SetMarkWndShouldOpen (bool bOpen) override |
Protected Member Functions inherited from SvxHyperlinkTabPageBase | |
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) | |
Private Member Functions | |
DECL_LINK (Click_SmartProtocol_Impl, weld::Toggleable &, void) | |
Radiobutton toggled: Type HTTP or FTP. More... | |
DECL_LINK (ClickAnonymousHdl_Impl, weld::Toggleable &, void) | |
Checkbox : Anonymous User. More... | |
DECL_LINK (ModifiedLoginHdl_Impl, weld::Entry &, void) | |
Contents of editfield "Login" modified. More... | |
DECL_LINK (LostFocusTargetHdl_Impl, weld::Widget &, void) | |
Combobox "Target" lost its focus. More... | |
DECL_LINK (ModifiedTargetHdl_Impl, weld::ComboBox &, void) | |
Contents of editfield "Target" modified. More... | |
DECL_LINK (TimeoutHdl_Impl, Timer *, void) | |
Handler for timer -timeout. More... | |
void | SetScheme (std::u16string_view rScheme) |
void | RemoveImproperProtocol (std::u16string_view rProperScheme) |
OUString | GetSchemeFromButtons () const |
INetProtocol | GetSmartProtocolFromButtons () const |
OUString | CreateAbsoluteURL () const |
void | setAnonymousFTPUser () |
void | setFTPUser (const OUString &rUser, const OUString &rPassword) |
void | RefreshMarkWindow () |
Private Attributes | |
OUString | maStrOldUser |
OUString | maStrOldPassword |
bool | m_bMarkWndOpen |
std::unique_ptr< weld::RadioButton > | m_xRbtLinktypInternet |
std::unique_ptr< weld::RadioButton > | m_xRbtLinktypFTP |
std::unique_ptr< SvxHyperURLBox > | m_xCbbTarget |
std::unique_ptr< weld::Label > | m_xFtTarget |
std::unique_ptr< weld::Label > | m_xFtLogin |
std::unique_ptr< weld::Entry > | m_xEdLogin |
std::unique_ptr< weld::Label > | m_xFtPassword |
std::unique_ptr< weld::Entry > | m_xEdPassword |
std::unique_ptr< weld::CheckButton > | m_xCbAnonymous |
Additional Inherited Members | |
Static Protected Member Functions inherited from SvxHyperlinkTabPageBase | |
static OUString | GetSchemeFromURL (const OUString &rStrURL) |
Protected Attributes inherited from SvxHyperlinkTabPageBase | |
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 |
Definition at line 34 of file hlinettp.hxx.
SvxHyperlinkInternetTp::SvxHyperlinkInternetTp | ( | weld::Container * | pParent, |
SvxHpLinkDlg * | pDlg, | ||
const SfxItemSet * | pItemSet | ||
) |
Definition at line 34 of file hlinettp.cxx.
References SvxHyperlinkTabPageBase::InitStdControls(), LINK, m_xCbAnonymous, m_xCbbTarget, m_xEdLogin, m_xFtTarget, m_xRbtLinktypFTP, m_xRbtLinktypInternet, SvxHyperlinkTabPageBase::maTimer, IconChoicePage::SetExchangeSupport(), and Timer::SetInvokeHandler().
|
overridevirtual |
Definition at line 80 of file hlinettp.cxx.
|
static |
Definition at line 179 of file hlinettp.cxx.
Referenced by SvxHpLinkDlg::SvxHpLinkDlg().
|
private |
Definition at line 156 of file hlinettp.cxx.
References aURL, GetSmartProtocolFromButtons(), m_xCbbTarget, m_xEdLogin, m_xEdPassword, and INetURLObject::ToIUri.
Referenced by GetCurrentItemData(), and RefreshMarkWindow().
|
private |
Radiobutton toggled: Type HTTP or FTP.
|
private |
Checkbox : Anonymous User.
|
private |
Combobox "Target" lost its focus.
|
private |
Contents of editfield "Login" modified.
|
private |
Contents of editfield "Target" modified.
|
private |
Handler for timer -timeout.
|
overrideprotectedvirtual |
Implements SvxHyperlinkTabPageBase.
Definition at line 89 of file hlinettp.cxx.
References aURL, SvxHyperlinkTabPageBase::GetSchemeFromURL(), INET_FTP_SCHEME, m_xCbbTarget, sAnonymous, setAnonymousFTPUser(), setFTPUser(), SetScheme(), u, and INetURLObject::Unambiguous.
|
overrideprotectedvirtual |
Implements SvxHyperlinkTabPageBase.
Definition at line 148 of file hlinettp.cxx.
References CreateAbsoluteURL(), eMode, and SvxHyperlinkTabPageBase::GetDataFromCommonFields().
|
private |
Definition at line 290 of file hlinettp.cxx.
References INET_FTP_SCHEME, INET_HTTP_SCHEME, and m_xRbtLinktypFTP.
|
private |
Definition at line 297 of file hlinettp.cxx.
References m_xRbtLinktypFTP.
Referenced by CreateAbsoluteURL(), and SetScheme().
|
private |
Definition at line 356 of file hlinettp.cxx.
References CreateAbsoluteURL(), SvxHyperlinkTabPageBase::IsMarkWndVisible(), LERR_DOCNOTOPEN, m_xRbtLinktypInternet, SvxHyperlinkTabPageBase::mpDialog, and SvxHyperlinkTabPageBase::mxMarkWnd.
|
private |
Definition at line 276 of file hlinettp.cxx.
References SvxHyperlinkTabPageBase::GetSchemeFromURL(), and m_xCbbTarget.
Referenced by SetScheme().
|
private |
Definition at line 117 of file hlinettp.cxx.
References SvAddressParser::Count(), SvAddressParser::GetEmailAddress(), m_xCbAnonymous, m_xEdLogin, m_xEdPassword, m_xFtLogin, m_xFtPassword, and sAnonymous.
Referenced by FillDlgFields().
|
private |
Definition at line 130 of file hlinettp.cxx.
References m_xCbAnonymous, m_xEdLogin, m_xEdPassword, m_xFtLogin, and m_xFtPassword.
Referenced by FillDlgFields().
|
overridevirtual |
Reimplemented from SvxHyperlinkTabPageBase.
Definition at line 189 of file hlinettp.cxx.
References m_xCbbTarget.
|
overridevirtual |
Reimplemented from SvxHyperlinkTabPageBase.
Definition at line 374 of file hlinettp.cxx.
References m_xCbbTarget, and nPos.
|
inlineoverrideprotectedvirtual |
Reimplemented from SvxHyperlinkTabPageBase.
Definition at line 78 of file hlinettp.hxx.
References m_bMarkWndOpen.
|
private |
Definition at line 235 of file hlinettp.cxx.
References GetSmartProtocolFromButtons(), SvxHyperlinkTabPageBase::HideMarkWnd(), INET_FTP_SCHEME, INET_HTTP_SCHEME, m_bMarkWndOpen, m_xCbAnonymous, m_xCbbTarget, m_xEdLogin, m_xEdPassword, m_xFtLogin, m_xFtPassword, m_xRbtLinktypFTP, m_xRbtLinktypInternet, RemoveImproperProtocol(), SvxHyperlinkTabPageBase::ShowMarkWnd(), and o3tl::starts_with().
Referenced by FillDlgFields().
|
inlineoverrideprotectedvirtual |
Reimplemented from SvxHyperlinkTabPageBase.
Definition at line 77 of file hlinettp.hxx.
References m_bMarkWndOpen, and m_xRbtLinktypInternet.
|
private |
Definition at line 40 of file hlinettp.hxx.
Referenced by SetMarkWndShouldOpen(), SetScheme(), and ShouldOpenMarkWnd().
|
private |
Definition at line 50 of file hlinettp.hxx.
Referenced by setAnonymousFTPUser(), setFTPUser(), SetScheme(), and SvxHyperlinkInternetTp().
|
private |
Definition at line 44 of file hlinettp.hxx.
Referenced by CreateAbsoluteURL(), FillDlgFields(), RemoveImproperProtocol(), SetInitFocus(), SetMarkStr(), SetScheme(), and SvxHyperlinkInternetTp().
|
private |
Definition at line 47 of file hlinettp.hxx.
Referenced by CreateAbsoluteURL(), setAnonymousFTPUser(), setFTPUser(), SetScheme(), and SvxHyperlinkInternetTp().
|
private |
Definition at line 49 of file hlinettp.hxx.
Referenced by CreateAbsoluteURL(), setAnonymousFTPUser(), setFTPUser(), and SetScheme().
|
private |
Definition at line 46 of file hlinettp.hxx.
Referenced by setAnonymousFTPUser(), setFTPUser(), and SetScheme().
|
private |
Definition at line 48 of file hlinettp.hxx.
Referenced by setAnonymousFTPUser(), setFTPUser(), and SetScheme().
|
private |
Definition at line 45 of file hlinettp.hxx.
Referenced by SvxHyperlinkInternetTp().
|
private |
Definition at line 43 of file hlinettp.hxx.
Referenced by GetSchemeFromButtons(), GetSmartProtocolFromButtons(), SetScheme(), and SvxHyperlinkInternetTp().
|
private |
Definition at line 42 of file hlinettp.hxx.
Referenced by RefreshMarkWindow(), SetScheme(), ShouldOpenMarkWnd(), and SvxHyperlinkInternetTp().
|
private |
Definition at line 38 of file hlinettp.hxx.
|
private |
Definition at line 37 of file hlinettp.hxx.