LibreOffice Module cui (master)  1
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
SvxHyperlinkInternetTp Class Reference

#include <hlinettp.hxx>

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

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 OString &rID, const SfxItemSet *pItemSet)
 
virtual ~SvxHyperlinkTabPageBase () override
 
void SetDocumentFrame (const css::uno::Reference< css::frame::XFrame > &rxDocumentFrame)
 
virtual bool AskApply ()
 
virtual void DoApply ()
 
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 ()
 
OString GetHelpId () const
 
const SfxItemSetGetItemSet () const
 
bool HasExchangeSupport () const
 
void SetExchangeSupport ()
 

Static Public Member Functions

static std::unique_ptr< IconChoicePageCreate (weld::Container *pWindow, SvxHpLinkDlg *pDlg, const SfxItemSet *pItemSet)
 

Protected Member Functions

virtual void FillDlgFields (const OUString &rStrURL) override
 
virtual void GetCurentItemData (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)
 
void GetDataFromCommonFields (OUString &aStrName, OUString &aStrIntName, OUString &aStrFrame, SvxLinkInsertMode &eMode)
 
 DECL_LINK (ClickScriptHdl_Impl, weld::Button &, void)
 Button : Script. More...
 
void DisableClose (bool _bDisable)
 
void ShowMarkWnd ()
 
void HideMarkWnd ()
 
SfxDispatcherGetDispatcher () const
 
HyperDialogEvent GetMacroEvents ()
 
SvxMacroTableDtorGetMacroTable ()
 
- Protected Member Functions inherited from IconChoicePage
 IconChoicePage (weld::Container *pParent, const OUString &rUIXMLDescription, const OString &rID, const SfxItemSet *pItemSet)
 

Private Member Functions

 DECL_LINK (Click_SmartProtocol_Impl, weld::Button &, void)
 Radiobutton clicked: Type HTTP or FTP. More...
 
 DECL_LINK (ClickAnonymousHdl_Impl, weld::Button &, 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 (const OUString &rScheme)
 
void RemoveImproperProtocol (const OUString &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::RadioButtonm_xRbtLinktypInternet
 
std::unique_ptr< weld::RadioButtonm_xRbtLinktypFTP
 
std::unique_ptr< SvxHyperURLBoxm_xCbbTarget
 
std::unique_ptr< weld::Labelm_xFtLogin
 
std::unique_ptr< weld::Entrym_xEdLogin
 
std::unique_ptr< weld::Labelm_xFtPassword
 
std::unique_ptr< weld::Entrym_xEdPassword
 
std::unique_ptr< weld::CheckButtonm_xCbAnonymous
 

Additional Inherited Members

- Static Protected Member Functions inherited from SvxHyperlinkTabPageBase
static OUString GetSchemeFromURL (const OUString &rStrURL)
 
- Protected Attributes inherited from SvxHyperlinkTabPageBase
SvxHpLinkDlgmpDialog
 
bool mbStdControlsInit
 
OUString maStrInitURL
 
Timer maTimer
 
TopLevelWindowLocker maBusy
 
std::shared_ptr< SvxHlinkDlgMarkWndmxMarkWnd
 
- Protected Attributes inherited from IconChoicePage
std::unique_ptr< weld::BuilderxBuilder
 
std::unique_ptr< weld::ContainerxContainer
 

Detailed Description

Definition at line 32 of file hlinettp.hxx.

Constructor & Destructor Documentation

SvxHyperlinkInternetTp::SvxHyperlinkInternetTp ( weld::Container pParent,
SvxHpLinkDlg pDlg,
const SfxItemSet pItemSet 
)
SvxHyperlinkInternetTp::~SvxHyperlinkInternetTp ( )
overridevirtual

Definition at line 72 of file hlinettp.cxx.

Member Function Documentation

std::unique_ptr< IconChoicePage > SvxHyperlinkInternetTp::Create ( weld::Container pWindow,
SvxHpLinkDlg pDlg,
const SfxItemSet pItemSet 
)
static

Definition at line 177 of file hlinettp.cxx.

Referenced by SvxHpLinkDlg::SvxHpLinkDlg().

OUString SvxHyperlinkInternetTp::CreateAbsoluteURL ( ) const
private
SvxHyperlinkInternetTp::DECL_LINK ( Click_SmartProtocol_Impl  ,
weld::Button ,
void   
)
private

Radiobutton clicked: Type HTTP or FTP.

SvxHyperlinkInternetTp::DECL_LINK ( ClickAnonymousHdl_Impl  ,
weld::Button ,
void   
)
private

Checkbox : Anonymous User.

SvxHyperlinkInternetTp::DECL_LINK ( ModifiedLoginHdl_Impl  ,
weld::Entry ,
void   
)
private

Contents of editfield "Login" modified.

SvxHyperlinkInternetTp::DECL_LINK ( LostFocusTargetHdl_Impl  ,
weld::Widget ,
void   
)
private

Combobox "Target" lost its focus.

SvxHyperlinkInternetTp::DECL_LINK ( ModifiedTargetHdl_Impl  ,
weld::ComboBox ,
void   
)
private

Contents of editfield "Target" modified.

SvxHyperlinkInternetTp::DECL_LINK ( TimeoutHdl_Impl  ,
Timer ,
void   
)
private

Handler for timer -timeout.

void SvxHyperlinkInternetTp::FillDlgFields ( const OUString &  rStrURL)
overrideprotectedvirtual
void SvxHyperlinkInternetTp::GetCurentItemData ( OUString &  rStrURL,
OUString &  aStrName,
OUString &  aStrIntName,
OUString &  aStrFrame,
SvxLinkInsertMode eMode 
)
overrideprotectedvirtual
OUString SvxHyperlinkInternetTp::GetSchemeFromButtons ( ) const
private

Definition at line 288 of file hlinettp.cxx.

References INET_FTP_SCHEME, INET_HTTP_SCHEME, and m_xRbtLinktypFTP.

INetProtocol SvxHyperlinkInternetTp::GetSmartProtocolFromButtons ( ) const
private

Definition at line 295 of file hlinettp.cxx.

References m_xRbtLinktypFTP.

Referenced by CreateAbsoluteURL(), and SetScheme().

void SvxHyperlinkInternetTp::RefreshMarkWindow ( )
private
void SvxHyperlinkInternetTp::RemoveImproperProtocol ( const OUString &  rProperScheme)
private

Definition at line 274 of file hlinettp.cxx.

References SvxHyperlinkTabPageBase::GetSchemeFromURL(), and m_xCbbTarget.

Referenced by SetScheme().

void SvxHyperlinkInternetTp::setAnonymousFTPUser ( )
private
void SvxHyperlinkInternetTp::setFTPUser ( const OUString &  rUser,
const OUString &  rPassword 
)
private

Definition at line 122 of file hlinettp.cxx.

References m_xCbAnonymous, m_xEdLogin, m_xEdPassword, m_xFtLogin, and m_xFtPassword.

Referenced by FillDlgFields().

void SvxHyperlinkInternetTp::SetInitFocus ( )
overridevirtual

Reimplemented from SvxHyperlinkTabPageBase.

Definition at line 187 of file hlinettp.cxx.

References m_xCbbTarget.

void SvxHyperlinkInternetTp::SetMarkStr ( const OUString &  aStrMark)
overridevirtual

Reimplemented from SvxHyperlinkTabPageBase.

Definition at line 370 of file hlinettp.cxx.

References m_xCbbTarget, and nPos.

virtual void SvxHyperlinkInternetTp::SetMarkWndShouldOpen ( bool  bOpen)
inlineoverrideprotectedvirtual

Reimplemented from SvxHyperlinkTabPageBase.

Definition at line 75 of file hlinettp.hxx.

void SvxHyperlinkInternetTp::SetScheme ( const OUString &  rScheme)
private
virtual bool SvxHyperlinkInternetTp::ShouldOpenMarkWnd ( )
inlineoverrideprotectedvirtual

Reimplemented from SvxHyperlinkTabPageBase.

Definition at line 74 of file hlinettp.hxx.

Member Data Documentation

bool SvxHyperlinkInternetTp::m_bMarkWndOpen
private

Definition at line 38 of file hlinettp.hxx.

Referenced by SetScheme().

std::unique_ptr<weld::CheckButton> SvxHyperlinkInternetTp::m_xCbAnonymous
private

Definition at line 47 of file hlinettp.hxx.

Referenced by setAnonymousFTPUser(), setFTPUser(), SetScheme(), and SvxHyperlinkInternetTp().

std::unique_ptr<SvxHyperURLBox> SvxHyperlinkInternetTp::m_xCbbTarget
private
std::unique_ptr<weld::Entry> SvxHyperlinkInternetTp::m_xEdLogin
private
std::unique_ptr<weld::Entry> SvxHyperlinkInternetTp::m_xEdPassword
private

Definition at line 46 of file hlinettp.hxx.

Referenced by CreateAbsoluteURL(), setAnonymousFTPUser(), setFTPUser(), and SetScheme().

std::unique_ptr<weld::Label> SvxHyperlinkInternetTp::m_xFtLogin
private

Definition at line 43 of file hlinettp.hxx.

Referenced by setAnonymousFTPUser(), setFTPUser(), and SetScheme().

std::unique_ptr<weld::Label> SvxHyperlinkInternetTp::m_xFtPassword
private

Definition at line 45 of file hlinettp.hxx.

Referenced by setAnonymousFTPUser(), setFTPUser(), and SetScheme().

std::unique_ptr<weld::RadioButton> SvxHyperlinkInternetTp::m_xRbtLinktypFTP
private
std::unique_ptr<weld::RadioButton> SvxHyperlinkInternetTp::m_xRbtLinktypInternet
private

Definition at line 40 of file hlinettp.hxx.

Referenced by RefreshMarkWindow(), SetScheme(), and SvxHyperlinkInternetTp().

OUString SvxHyperlinkInternetTp::maStrOldPassword
private

Definition at line 36 of file hlinettp.hxx.

OUString SvxHyperlinkInternetTp::maStrOldUser
private

Definition at line 35 of file hlinettp.hxx.


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