LibreOffice Module cui (master)  1
Public Member Functions | Static Public Member Functions | Private Types | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
SvxHyperlinkDocTp Class Referencefinal

#include <hldoctp.hxx>

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

Public Member Functions

 SvxHyperlinkDocTp (weld::Container *pParent, SvxHpLinkDlg *pDlg, const SfxItemSet *pItemSet)
 
virtual ~SvxHyperlinkDocTp () 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
 
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 ()
 

Static Public Member Functions

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

Private Types

enum  EPathType {
  EPathType::Invalid,
  EPathType::ExistsFile
}
 

Private Member Functions

 DECL_LINK (ClickFileopenHdl_Impl, weld::Button &, void)
 
 DECL_LINK (ClickTargetHdl_Impl, weld::Button &, void)
 
 DECL_LINK (ModifiedPathHdl_Impl, weld::ComboBox &, void)
 Contents of combobox "Path" modified. More...
 
 DECL_LINK (ModifiedTargetHdl_Impl, weld::Entry &, void)
 Contents of editfield "Target" modified. More...
 
 DECL_LINK (LostFocusPathHdl_Impl, weld::Widget &, void)
 Combobox "path" lost its focus. More...
 
 DECL_LINK (TimeoutHdl_Impl, Timer *, void)
 Handler for timer -timeout. More...
 
void FillDlgFields (const OUString &rStrURL) override
 
void GetCurentItemData (OUString &rStrURL, OUString &aStrName, OUString &aStrIntName, OUString &aStrFrame, SvxLinkInsertMode &eMode) override
 
virtual bool ShouldOpenMarkWnd () override
 
virtual void SetMarkWndShouldOpen (bool bOpen) override
 
OUString GetCurrentURL ()
 

Static Private Member Functions

static EPathType GetPathType (const OUString &rStrPath)
 

Private Attributes

std::unique_ptr< SvxHyperURLBoxm_xCbbPath
 
std::unique_ptr< weld::Buttonm_xBtFileopen
 
std::unique_ptr< weld::Entrym_xEdTarget
 
std::unique_ptr< weld::Labelm_xFtFullURL
 
std::unique_ptr< weld::Buttonm_xBtBrowse
 
OUString maStrURL
 
bool m_bMarkWndOpen
 

Additional Inherited Members

- 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)
 
- 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 hldoctp.hxx.

Member Enumeration Documentation

enum SvxHyperlinkDocTp::EPathType
strongprivate
Enumerator
Invalid 
ExistsFile 

Definition at line 52 of file hldoctp.hxx.

Constructor & Destructor Documentation

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

Definition at line 67 of file hldoctp.cxx.

Member Function Documentation

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

Definition at line 148 of file hldoctp.cxx.

Referenced by SvxHpLinkDlg::SvxHpLinkDlg().

SvxHyperlinkDocTp::DECL_LINK ( ClickFileopenHdl_Impl  ,
weld::Button ,
void   
)
private
SvxHyperlinkDocTp::DECL_LINK ( ClickTargetHdl_Impl  ,
weld::Button ,
void   
)
private
SvxHyperlinkDocTp::DECL_LINK ( ModifiedPathHdl_Impl  ,
weld::ComboBox ,
void   
)
private

Contents of combobox "Path" modified.

SvxHyperlinkDocTp::DECL_LINK ( ModifiedTargetHdl_Impl  ,
weld::Entry ,
void   
)
private

Contents of editfield "Target" modified.

SvxHyperlinkDocTp::DECL_LINK ( LostFocusPathHdl_Impl  ,
weld::Widget ,
void   
)
private

Combobox "path" lost its focus.

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

Handler for timer -timeout.

void SvxHyperlinkDocTp::FillDlgFields ( const OUString &  rStrURL)
overrideprivatevirtual

Implements SvxHyperlinkTabPageBase.

Definition at line 76 of file hldoctp.cxx.

References m_xCbbPath, m_xEdTarget, nPos, and sHash.

void SvxHyperlinkDocTp::GetCurentItemData ( OUString &  rStrURL,
OUString &  aStrName,
OUString &  aStrIntName,
OUString &  aStrFrame,
SvxLinkInsertMode eMode 
)
overrideprivatevirtual
OUString SvxHyperlinkDocTp::GetCurrentURL ( )
private

Definition at line 96 of file hldoctp.cxx.

References INetURLObject::GetProtocol(), m_xCbbPath, m_xEdTarget, and sHash.

Referenced by GetCurentItemData().

SvxHyperlinkDocTp::EPathType SvxHyperlinkDocTp::GetPathType ( const OUString &  rStrPath)
staticprivate

Definition at line 307 of file hldoctp.cxx.

References ExistsFile, INetURLObject::HasError(), and Invalid.

void SvxHyperlinkDocTp::SetInitFocus ( )
overridevirtual

Reimplemented from SvxHyperlinkTabPageBase.

Definition at line 158 of file hldoctp.cxx.

References m_xCbbPath.

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

Reimplemented from SvxHyperlinkTabPageBase.

Definition at line 295 of file hldoctp.cxx.

References m_xEdTarget.

virtual void SvxHyperlinkDocTp::SetMarkWndShouldOpen ( bool  bOpen)
inlineoverrideprivatevirtual

Reimplemented from SvxHyperlinkTabPageBase.

Definition at line 60 of file hldoctp.hxx.

virtual bool SvxHyperlinkDocTp::ShouldOpenMarkWnd ( )
inlineoverrideprivatevirtual

Reimplemented from SvxHyperlinkTabPageBase.

Definition at line 59 of file hldoctp.hxx.

References m_bMarkWndOpen.

Member Data Documentation

bool SvxHyperlinkDocTp::m_bMarkWndOpen
private

Definition at line 40 of file hldoctp.hxx.

Referenced by ShouldOpenMarkWnd().

std::unique_ptr<weld::Button> SvxHyperlinkDocTp::m_xBtBrowse
private

Definition at line 36 of file hldoctp.hxx.

Referenced by SvxHyperlinkDocTp().

std::unique_ptr<weld::Button> SvxHyperlinkDocTp::m_xBtFileopen
private

Definition at line 33 of file hldoctp.hxx.

Referenced by SvxHyperlinkDocTp().

std::unique_ptr<SvxHyperURLBox> SvxHyperlinkDocTp::m_xCbbPath
private

Definition at line 32 of file hldoctp.hxx.

Referenced by FillDlgFields(), GetCurrentURL(), SetInitFocus(), and SvxHyperlinkDocTp().

std::unique_ptr<weld::Entry> SvxHyperlinkDocTp::m_xEdTarget
private

Definition at line 34 of file hldoctp.hxx.

Referenced by FillDlgFields(), GetCurrentURL(), SetMarkStr(), and SvxHyperlinkDocTp().

std::unique_ptr<weld::Label> SvxHyperlinkDocTp::m_xFtFullURL
private

Definition at line 35 of file hldoctp.hxx.

OUString SvxHyperlinkDocTp::maStrURL
private

Definition at line 38 of file hldoctp.hxx.


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