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

Tabpage : Basisclass. More...

#include <hltpbase.hxx>

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

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 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 ()
 

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 ()
 
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)
 

Static Protected Member Functions

static OUString GetSchemeFromURL (const OUString &rStrURL)
 

Protected Attributes

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
 

Private Attributes

std::unique_ptr< weld::ComboBoxmxCbbFrame
 
std::unique_ptr< weld::ComboBoxmxLbForm
 
std::unique_ptr< weld::EntrymxEdIndication
 
std::unique_ptr< weld::EntrymxEdText
 
std::unique_ptr< weld::ButtonmxBtScript
 
std::unique_ptr< weld::LabelmxFormLabel
 
std::unique_ptr< weld::LabelmxFrameLabel
 
bool mbIsCloseDisabled
 
css::uno::Reference< css::frame::XFrame > mxDocumentFrame
 

Detailed Description

Tabpage : Basisclass.

Definition at line 46 of file hltpbase.hxx.

Constructor & Destructor Documentation

◆ SvxHyperlinkTabPageBase()

SvxHyperlinkTabPageBase::SvxHyperlinkTabPageBase ( weld::Container pParent,
SvxHpLinkDlg pDlg,
const OUString &  rUIXMLDescription,
const OUString &  rID,
const SfxItemSet pItemSet 
)

Definition at line 105 of file hltpbase.cxx.

◆ ~SvxHyperlinkTabPageBase()

SvxHyperlinkTabPageBase::~SvxHyperlinkTabPageBase ( )
overridevirtual

Definition at line 126 of file hltpbase.cxx.

References HideMarkWnd(), maTimer, and Task::Stop().

Member Function Documentation

◆ ActivatePage()

void SvxHyperlinkTabPageBase::ActivatePage ( const SfxItemSet rItemSet)
overridevirtual

Reimplemented from IconChoicePage.

Definition at line 510 of file hltpbase.cxx.

References FillStandardDlgFields(), SfxItemSet::GetItem(), ShouldOpenMarkWnd(), and ShowMarkWnd().

◆ DeactivatePage()

DeactivateRC SvxHyperlinkTabPageBase::DeactivatePage ( SfxItemSet pSet)
overridevirtual

◆ DECL_LINK()

SvxHyperlinkTabPageBase::DECL_LINK ( ClickScriptHdl_Impl  ,
weld::Button ,
void   
)
protected

Button : Script.

◆ DisableClose()

void SvxHyperlinkTabPageBase::DisableClose ( bool  _bDisable)
protected

◆ DoApply()

void SvxHyperlinkTabPageBase::DoApply ( )
virtual

Reimplemented in SvxHyperlinkNewDocTp.

Definition at line 290 of file hltpbase.cxx.

◆ FillDlgFields()

virtual void SvxHyperlinkTabPageBase::FillDlgFields ( const OUString &  rStrURL)
protectedpure virtual

◆ FillItemSet()

bool SvxHyperlinkTabPageBase::FillItemSet ( SfxItemSet rOut)
overridevirtual

Implements IconChoicePage.

Definition at line 490 of file hltpbase.cxx.

References eMode, GetCurrentItemData(), GetMacroEvents(), GetMacroTable(), and SfxItemSet::Put().

Referenced by SvxHpLinkDlg::Apply().

◆ FillStandardDlgFields()

void SvxHyperlinkTabPageBase::FillStandardDlgFields ( const SvxHyperlinkItem pHyperlinkItem)
protected

◆ GetCurrentItemData()

virtual void SvxHyperlinkTabPageBase::GetCurrentItemData ( OUString &  rStrURL,
OUString &  aStrName,
OUString &  aStrIntName,
OUString &  aStrFrame,
SvxLinkInsertMode eMode 
)
protectedpure virtual

◆ GetDataFromCommonFields()

void SvxHyperlinkTabPageBase::GetDataFromCommonFields ( OUString &  aStrName,
OUString &  aStrIntName,
OUString &  aStrFrame,
SvxLinkInsertMode eMode 
)
protected

◆ GetDispatcher()

SfxDispatcher * SvxHyperlinkTabPageBase::GetDispatcher ( ) const
protected

Definition at line 308 of file hltpbase.cxx.

References SvxHpLinkDlg::GetDispatcher(), and mpDialog.

Referenced by SvxHyperlinkNewDocTp::DoApply(), and InitStdControls().

◆ GetMacroEvents()

HyperDialogEvent SvxHyperlinkTabPageBase::GetMacroEvents ( ) const
protected

◆ GetMacroTable()

SvxMacroTableDtor * SvxHyperlinkTabPageBase::GetMacroTable ( )
protected

◆ GetSchemeFromURL()

OUString SvxHyperlinkTabPageBase::GetSchemeFromURL ( const OUString &  rStrURL)
staticprotected

◆ HideMarkWnd()

void SvxHyperlinkTabPageBase::HideMarkWnd ( )
protected

Definition at line 223 of file hltpbase.cxx.

References mxMarkWnd, and RET_CANCEL.

Referenced by DeactivatePage(), SvxHyperlinkInternetTp::SetScheme(), and ~SvxHyperlinkTabPageBase().

◆ InitStdControls()

void SvxHyperlinkTabPageBase::InitStdControls ( )
protected

◆ IsMarkWndVisible()

bool SvxHyperlinkTabPageBase::IsMarkWndVisible ( ) const
inline

Definition at line 116 of file hltpbase.hxx.

References mxMarkWnd.

Referenced by DeactivatePage(), and SvxHyperlinkInternetTp::RefreshMarkWindow().

◆ MoveToExtraWnd()

void SvxHyperlinkTabPageBase::MoveToExtraWnd ( Point  aNewPos)

Definition at line 169 of file hltpbase.cxx.

References mxMarkWnd.

Referenced by ShowMarkWnd().

◆ QueryClose()

bool SvxHyperlinkTabPageBase::QueryClose ( )
overridevirtual

Reimplemented from IconChoicePage.

Definition at line 133 of file hltpbase.cxx.

References mbIsCloseDisabled.

◆ Reset()

void SvxHyperlinkTabPageBase::Reset ( const SfxItemSet rItemSet)
overridevirtual

◆ SetDocumentFrame()

void SvxHyperlinkTabPageBase::SetDocumentFrame ( const css::uno::Reference< css::frame::XFrame > &  rxDocumentFrame)
inline

Definition at line 102 of file hltpbase.hxx.

References mxDocumentFrame.

Referenced by SvxHpLinkDlg::PageCreated().

◆ SetInitFocus()

void SvxHyperlinkTabPageBase::SetInitFocus ( )
virtual

◆ SetMarkStr()

void SvxHyperlinkTabPageBase::SetMarkStr ( const OUString &  aStrMark)
virtual

Reimplemented in SvxHyperlinkDocTp, and SvxHyperlinkInternetTp.

Definition at line 296 of file hltpbase.cxx.

◆ SetMarkWndShouldOpen()

void SvxHyperlinkTabPageBase::SetMarkWndShouldOpen ( bool  bOpen)
protectedvirtual

Reimplemented in SvxHyperlinkDocTp, and SvxHyperlinkInternetTp.

Definition at line 558 of file hltpbase.cxx.

Referenced by DeactivatePage().

◆ ShouldOpenMarkWnd()

bool SvxHyperlinkTabPageBase::ShouldOpenMarkWnd ( )
protectedvirtual

Reimplemented in SvxHyperlinkDocTp, and SvxHyperlinkInternetTp.

Definition at line 553 of file hltpbase.cxx.

Referenced by ActivatePage().

◆ ShowMarkWnd()

void SvxHyperlinkTabPageBase::ShowMarkWnd ( )
protected

Member Data Documentation

◆ maBusy

TopLevelWindowLocker SvxHyperlinkTabPageBase::maBusy
protected

Definition at line 71 of file hltpbase.hxx.

Referenced by DisableClose().

◆ maStrInitURL

OUString SvxHyperlinkTabPageBase::maStrInitURL
protected

Definition at line 67 of file hltpbase.hxx.

Referenced by SvxHyperlinkNewDocTp::DoApply(), and Reset().

◆ maTimer

Timer SvxHyperlinkTabPageBase::maTimer
protected

◆ mbIsCloseDisabled

bool SvxHyperlinkTabPageBase::mbIsCloseDisabled
private

Definition at line 57 of file hltpbase.hxx.

Referenced by DisableClose(), and QueryClose().

◆ mbStdControlsInit

bool SvxHyperlinkTabPageBase::mbStdControlsInit
protected

Definition at line 65 of file hltpbase.hxx.

Referenced by InitStdControls().

◆ mpDialog

SvxHpLinkDlg* SvxHyperlinkTabPageBase::mpDialog
protected

◆ mxBtScript

std::unique_ptr<weld::Button> SvxHyperlinkTabPageBase::mxBtScript
private

Definition at line 53 of file hltpbase.hxx.

Referenced by FillStandardDlgFields(), and InitStdControls().

◆ mxCbbFrame

std::unique_ptr<weld::ComboBox> SvxHyperlinkTabPageBase::mxCbbFrame
private

Definition at line 49 of file hltpbase.hxx.

Referenced by FillStandardDlgFields(), GetDataFromCommonFields(), and InitStdControls().

◆ mxDocumentFrame

css::uno::Reference< css::frame::XFrame > SvxHyperlinkTabPageBase::mxDocumentFrame
private

Definition at line 60 of file hltpbase.hxx.

Referenced by SetDocumentFrame().

◆ mxEdIndication

std::unique_ptr<weld::Entry> SvxHyperlinkTabPageBase::mxEdIndication
private

Definition at line 51 of file hltpbase.hxx.

Referenced by FillStandardDlgFields(), and GetDataFromCommonFields().

◆ mxEdText

std::unique_ptr<weld::Entry> SvxHyperlinkTabPageBase::mxEdText
private

Definition at line 52 of file hltpbase.hxx.

Referenced by FillStandardDlgFields(), and GetDataFromCommonFields().

◆ mxFormLabel

std::unique_ptr<weld::Label> SvxHyperlinkTabPageBase::mxFormLabel
private

Definition at line 54 of file hltpbase.hxx.

Referenced by FillStandardDlgFields().

◆ mxFrameLabel

std::unique_ptr<weld::Label> SvxHyperlinkTabPageBase::mxFrameLabel
private

Definition at line 55 of file hltpbase.hxx.

Referenced by FillStandardDlgFields().

◆ mxLbForm

std::unique_ptr<weld::ComboBox> SvxHyperlinkTabPageBase::mxLbForm
private

Definition at line 50 of file hltpbase.hxx.

Referenced by FillStandardDlgFields(), and GetDataFromCommonFields().

◆ mxMarkWnd

std::shared_ptr<SvxHlinkDlgMarkWnd> SvxHyperlinkTabPageBase::mxMarkWnd
protected

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