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

#include <hlmailtp.hxx>

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

Public Member Functions

 SvxHyperlinkMailTp (weld::Container *pParent, SvxHpLinkDlg *pDlg, const SfxItemSet *pItemSet)
 
virtual ~SvxHyperlinkMailTp () 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 SfxItemSetGetItemSet () 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< IconChoicePageCreate (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
 
- 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 ()
 
SfxDispatcherGetDispatcher () const
 
HyperDialogEvent GetMacroEvents () const
 
SvxMacroTableDtorGetMacroTable ()
 
- Protected Member Functions inherited from IconChoicePage
 IconChoicePage (weld::Container *pParent, const OUString &rUIXMLDescription, const OUString &rID, const SfxItemSet *pItemSet)
 

Private Member Functions

 DECL_STATIC_LINK (SvxHyperlinkMailTp, ClickAdrBookHdl_Impl, weld::Button &, void)
 Button : Address book. More...
 
 DECL_LINK (ModifiedReceiverHdl_Impl, weld::ComboBox &, void)
 Combobox "receiver" modified. More...
 
void SetScheme (std::u16string_view rScheme)
 
void RemoveImproperProtocol (std::u16string_view aProperScheme)
 
OUString CreateAbsoluteURL () const
 

Private Attributes

std::unique_ptr< SvxHyperURLBoxm_xCbbReceiver
 
std::unique_ptr< weld::Buttonm_xBtAdrBook
 
std::unique_ptr< weld::Entrym_xEdSubject
 

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 29 of file hlmailtp.hxx.

Constructor & Destructor Documentation

◆ SvxHyperlinkMailTp()

SvxHyperlinkMailTp::SvxHyperlinkMailTp ( weld::Container pParent,
SvxHpLinkDlg pDlg,
const SfxItemSet pItemSet 
)

◆ ~SvxHyperlinkMailTp()

SvxHyperlinkMailTp::~SvxHyperlinkMailTp ( )
overridevirtual

Definition at line 59 of file hlmailtp.cxx.

Member Function Documentation

◆ Create()

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

Definition at line 146 of file hlmailtp.cxx.

Referenced by SvxHpLinkDlg::SvxHpLinkDlg().

◆ CreateAbsoluteURL()

OUString SvxHyperlinkMailTp::CreateAbsoluteURL ( ) const
private

Definition at line 119 of file hlmailtp.cxx.

References aURL, m_xCbbReceiver, m_xEdSubject, and INetURLObject::WithCharset.

Referenced by GetCurrentItemData().

◆ DECL_LINK()

SvxHyperlinkMailTp::DECL_LINK ( ModifiedReceiverHdl_Impl  ,
weld::ComboBox ,
void   
)
private

Combobox "receiver" modified.

◆ DECL_STATIC_LINK()

SvxHyperlinkMailTp::DECL_STATIC_LINK ( SvxHyperlinkMailTp  ,
ClickAdrBookHdl_Impl  ,
weld::Button ,
void   
)
private

Button : Address book.

◆ FillDlgFields()

void SvxHyperlinkMailTp::FillDlgFields ( const OUString &  rStrURL)
overrideprotectedvirtual

◆ GetCurrentItemData()

void SvxHyperlinkMailTp::GetCurrentItemData ( OUString &  rStrURL,
OUString &  aStrName,
OUString &  aStrIntName,
OUString &  aStrFrame,
SvxLinkInsertMode eMode 
)
overrideprotectedvirtual

◆ RemoveImproperProtocol()

void SvxHyperlinkMailTp::RemoveImproperProtocol ( std::u16string_view  aProperScheme)
private

Definition at line 179 of file hlmailtp.cxx.

References SvxHyperlinkTabPageBase::GetSchemeFromURL(), and m_xCbbReceiver.

Referenced by SetScheme().

◆ SetInitFocus()

void SvxHyperlinkMailTp::SetInitFocus ( )
overridevirtual

Reimplemented from SvxHyperlinkTabPageBase.

Definition at line 156 of file hlmailtp.cxx.

References m_xCbbReceiver.

◆ SetScheme()

void SvxHyperlinkMailTp::SetScheme ( std::u16string_view  rScheme)
private

Definition at line 163 of file hlmailtp.cxx.

References m_xBtAdrBook, m_xCbbReceiver, m_xEdSubject, and RemoveImproperProtocol().

Referenced by FillDlgFields().

Member Data Documentation

◆ m_xBtAdrBook

std::unique_ptr<weld::Button> SvxHyperlinkMailTp::m_xBtAdrBook
private

Definition at line 33 of file hlmailtp.hxx.

Referenced by SetScheme(), and SvxHyperlinkMailTp().

◆ m_xCbbReceiver

std::unique_ptr<SvxHyperURLBox> SvxHyperlinkMailTp::m_xCbbReceiver
private

◆ m_xEdSubject

std::unique_ptr<weld::Entry> SvxHyperlinkMailTp::m_xEdSubject
private

Definition at line 34 of file hlmailtp.hxx.

Referenced by CreateAbsoluteURL(), FillDlgFields(), and SetScheme().


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