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

Protected Member Functions

void InitStdControls ()
 
void FillStandardDlgFields (const SvxHyperlinkItem *pHyperlinkItem)
 
virtual void FillDlgFields (const OUString &rStrURL)=0
 
virtual void GetCurentItemData (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 ()
 
SvxMacroTableDtorGetMacroTable ()
 
- Protected Member Functions inherited from IconChoicePage
 IconChoicePage (weld::Container *pParent, const OUString &rUIXMLDescription, const OString &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 52 of file hltpbase.hxx.

Constructor & Destructor Documentation

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

Definition at line 105 of file hltpbase.cxx.

SvxHyperlinkTabPageBase::~SvxHyperlinkTabPageBase ( )
overridevirtual

Definition at line 125 of file hltpbase.cxx.

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

Member Function Documentation

void SvxHyperlinkTabPageBase::ActivatePage ( const SfxItemSet rItemSet)
overridevirtual

Reimplemented from IconChoicePage.

Definition at line 486 of file hltpbase.cxx.

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

bool SvxHyperlinkTabPageBase::AskApply ( )
virtual

Reimplemented in SvxHyperlinkNewDocTp.

Definition at line 288 of file hltpbase.cxx.

DeactivateRC SvxHyperlinkTabPageBase::DeactivatePage ( SfxItemSet pSet)
overridevirtual
SvxHyperlinkTabPageBase::DECL_LINK ( ClickScriptHdl_Impl  ,
weld::Button ,
void   
)
protected

Button : Script.

void SvxHyperlinkTabPageBase::DisableClose ( bool  _bDisable)
protected
void SvxHyperlinkTabPageBase::DoApply ( )
virtual

Reimplemented in SvxHyperlinkNewDocTp.

Definition at line 282 of file hltpbase.cxx.

virtual void SvxHyperlinkTabPageBase::FillDlgFields ( const OUString &  rStrURL)
protectedpure virtual
bool SvxHyperlinkTabPageBase::FillItemSet ( SfxItemSet rOut)
overridevirtual

Implements IconChoicePage.

Definition at line 466 of file hltpbase.cxx.

References GetCurentItemData(), GetMacroEvents(), GetMacroTable(), and SfxItemSet::Put().

Referenced by SvxHpLinkDlg::Apply().

void SvxHyperlinkTabPageBase::FillStandardDlgFields ( const SvxHyperlinkItem pHyperlinkItem)
protected
virtual void SvxHyperlinkTabPageBase::GetCurentItemData ( OUString &  rStrURL,
OUString &  aStrName,
OUString &  aStrIntName,
OUString &  aStrFrame,
SvxLinkInsertMode eMode 
)
protectedpure virtual
void SvxHyperlinkTabPageBase::GetDataFromCommonFields ( OUString &  aStrName,
OUString &  aStrIntName,
OUString &  aStrFrame,
SvxLinkInsertMode eMode 
)
protected
SfxDispatcher * SvxHyperlinkTabPageBase::GetDispatcher ( ) const
protected

Definition at line 307 of file hltpbase.cxx.

References SvxHpLinkDlg::GetDispatcher(), and mpDialog.

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

HyperDialogEvent SvxHyperlinkTabPageBase::GetMacroEvents ( )
protected
SvxMacroTableDtor * SvxHyperlinkTabPageBase::GetMacroTable ( )
protected
OUString SvxHyperlinkTabPageBase::GetSchemeFromURL ( const OUString &  rStrURL)
staticprotected
Size SvxHyperlinkTabPageBase::GetSizeExtraWnd ( )
inline

Definition at line 124 of file hltpbase.hxx.

void SvxHyperlinkTabPageBase::HideMarkWnd ( )
protected

Definition at line 222 of file hltpbase.cxx.

References mxMarkWnd, and RET_CANCEL.

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

void SvxHyperlinkTabPageBase::InitStdControls ( )
protected
bool SvxHyperlinkTabPageBase::IsMarkWndVisible ( ) const
inline

Definition at line 123 of file hltpbase.hxx.

References mxMarkWnd.

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

void SvxHyperlinkTabPageBase::MoveToExtraWnd ( Point  aNewPos)

Definition at line 168 of file hltpbase.cxx.

References mxMarkWnd.

Referenced by ShowMarkWnd().

bool SvxHyperlinkTabPageBase::QueryClose ( )
overridevirtual

Reimplemented from IconChoicePage.

Definition at line 132 of file hltpbase.cxx.

References mbIsCloseDisabled.

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

Definition at line 108 of file hltpbase.hxx.

References mxDocumentFrame.

Referenced by SvxHpLinkDlg::PageCreated().

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

Reimplemented in SvxHyperlinkInternetTp, and SvxHyperlinkDocTp.

Definition at line 295 of file hltpbase.cxx.

void SvxHyperlinkTabPageBase::SetMarkWndShouldOpen ( bool  bOpen)
protectedvirtual

Reimplemented in SvxHyperlinkInternetTp, and SvxHyperlinkDocTp.

Definition at line 534 of file hltpbase.cxx.

Referenced by DeactivatePage().

bool SvxHyperlinkTabPageBase::ShouldOpenMarkWnd ( )
protectedvirtual

Reimplemented in SvxHyperlinkInternetTp, and SvxHyperlinkDocTp.

Definition at line 529 of file hltpbase.cxx.

Referenced by ActivatePage().

void SvxHyperlinkTabPageBase::ShowMarkWnd ( )
protected

Member Data Documentation

TopLevelWindowLocker SvxHyperlinkTabPageBase::maBusy
protected

Definition at line 77 of file hltpbase.hxx.

Referenced by DisableClose().

OUString SvxHyperlinkTabPageBase::maStrInitURL
protected

Definition at line 73 of file hltpbase.hxx.

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

Timer SvxHyperlinkTabPageBase::maTimer
protected
bool SvxHyperlinkTabPageBase::mbIsCloseDisabled
private

Definition at line 63 of file hltpbase.hxx.

Referenced by DisableClose(), and QueryClose().

bool SvxHyperlinkTabPageBase::mbStdControlsInit
protected

Definition at line 71 of file hltpbase.hxx.

Referenced by InitStdControls().

SvxHpLinkDlg* SvxHyperlinkTabPageBase::mpDialog
protected
std::unique_ptr<weld::Button> SvxHyperlinkTabPageBase::mxBtScript
private

Definition at line 59 of file hltpbase.hxx.

Referenced by FillStandardDlgFields(), and InitStdControls().

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

Definition at line 55 of file hltpbase.hxx.

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

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

Definition at line 66 of file hltpbase.hxx.

Referenced by SetDocumentFrame().

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

Definition at line 57 of file hltpbase.hxx.

Referenced by FillStandardDlgFields(), and GetDataFromCommonFields().

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

Definition at line 58 of file hltpbase.hxx.

Referenced by FillStandardDlgFields(), and GetDataFromCommonFields().

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

Definition at line 60 of file hltpbase.hxx.

Referenced by FillStandardDlgFields().

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

Definition at line 61 of file hltpbase.hxx.

Referenced by FillStandardDlgFields().

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

Definition at line 56 of file hltpbase.hxx.

Referenced by FillStandardDlgFields(), and GetDataFromCommonFields().

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

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