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

#include <linkdlg.hxx>

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

Public Member Functions

 SvBaseLinksDlg (weld::Window *pParent, sfx2::LinkManager *, bool bHtml)
 
virtual ~SvBaseLinksDlg () override
 
void SetActLink (sfx2::SvBaseLink const *pLink)
 
- Public Member Functions inherited from weld::GenericDialogController
 GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId, bool bMobile=false)
 
virtual DialoggetDialog () override
 
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
 
- Public Member Functions inherited from weld::DialogController
virtual DialoggetDialog ()=0
 
const DialoggetConstDialog () const
 
virtual short run ()
 
void set_title (const OUString &rTitle)
 
OUString get_title () const
 
void set_help_id (const OUString &rHelpId)
 
OUString get_help_id () const
 
void response (int nResponse)
 
virtual ~DialogController () COVERITY_NOEXCEPT_FALSE
 

Private Member Functions

 DECL_LINK (LinksSelectHdl, weld::TreeView &, void)
 
 DECL_LINK (LinksDoubleClickHdl, weld::TreeView &, bool)
 
 DECL_LINK (ToggleHdl, weld::Toggleable &, void)
 
 DECL_LINK (UpdateNowClickHdl, weld::Button &, void)
 
 DECL_LINK (ChangeSourceClickHdl, weld::Button &, void)
 
 DECL_LINK (BreakLinkClickHdl, weld::Button &, void)
 
 DECL_LINK (UpdateWaitingHdl, Timer *, void)
 
 DECL_LINK (EndEditHdl, sfx2::SvBaseLink &, void)
 
void LinksSelectHdl (weld::TreeView *pTreeView)
 
sfx2::SvBaseLinkGetSelEntry (int *pPos)
 
OUString ImplGetStateStr (const sfx2::SvBaseLink &)
 
void SetType (sfx2::SvBaseLink &rLink, int nPos, SfxLinkUpdateMode nType)
 
void InsertEntry (const sfx2::SvBaseLink &rLink, int nPos=-1, bool bSelect=false)
 
void SetManager (sfx2::LinkManager *)
 

Private Attributes

OUString aStrAutolink
 
OUString aStrManuallink
 
OUString aStrBrokenlink
 
OUString aStrCloselinkmsg
 
OUString aStrCloselinkmsgMulti
 
OUString aStrWaitinglink
 
sfx2::LinkManagerpLinkMgr
 
Idle aUpdateIdle
 
std::unique_ptr< weld::TreeViewm_xTbLinks
 
std::unique_ptr< weld::LinkButtonm_xFtFullFileName
 
std::unique_ptr< weld::Labelm_xFtFullSourceName
 
std::unique_ptr< weld::Labelm_xFtFullTypeName
 
std::unique_ptr< weld::RadioButtonm_xRbAutomatic
 
std::unique_ptr< weld::RadioButtonm_xRbManual
 
std::unique_ptr< weld::Buttonm_xPbUpdateNow
 
std::unique_ptr< weld::Buttonm_xPbChangeSource
 
std::unique_ptr< weld::Buttonm_xPbBreakLink
 
ScopedVclPtr< VirtualDevicem_xVirDev
 

Additional Inherited Members

- Static Public Member Functions inherited from weld::DialogController
static bool runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &)
 
- Protected Attributes inherited from weld::GenericDialogController
std::unique_ptr< weld::Builderm_xBuilder
 
std::shared_ptr< weld::Dialogm_xDialog
 

Detailed Description

Definition at line 36 of file linkdlg.hxx.

Constructor & Destructor Documentation

◆ SvBaseLinksDlg()

SvBaseLinksDlg::SvBaseLinksDlg ( weld::Window pParent,
sfx2::LinkManager pMgr,
bool  bHtml 
)

◆ ~SvBaseLinksDlg()

SvBaseLinksDlg::~SvBaseLinksDlg ( )
overridevirtual

Definition at line 132 of file linkdlg.cxx.

Member Function Documentation

◆ DECL_LINK() [1/8]

SvBaseLinksDlg::DECL_LINK ( BreakLinkClickHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [2/8]

SvBaseLinksDlg::DECL_LINK ( ChangeSourceClickHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [3/8]

SvBaseLinksDlg::DECL_LINK ( EndEditHdl  ,
sfx2::SvBaseLink ,
void   
)
private

◆ DECL_LINK() [4/8]

SvBaseLinksDlg::DECL_LINK ( LinksDoubleClickHdl  ,
weld::TreeView ,
bool   
)
private

◆ DECL_LINK() [5/8]

SvBaseLinksDlg::DECL_LINK ( LinksSelectHdl  ,
weld::TreeView ,
void   
)
private

◆ DECL_LINK() [6/8]

SvBaseLinksDlg::DECL_LINK ( ToggleHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [7/8]

SvBaseLinksDlg::DECL_LINK ( UpdateNowClickHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [8/8]

SvBaseLinksDlg::DECL_LINK ( UpdateWaitingHdl  ,
Timer ,
void   
)
private

◆ GetSelEntry()

SvBaseLink * SvBaseLinksDlg::GetSelEntry ( int pPos)
private

Definition at line 597 of file linkdlg.cxx.

References m_xTbLinks, and nPos.

Referenced by LinksSelectHdl().

◆ ImplGetStateStr()

OUString SvBaseLinksDlg::ImplGetStateStr ( const sfx2::SvBaseLink rLnk)
private

◆ InsertEntry()

void SvBaseLinksDlg::InsertEntry ( const sfx2::SvBaseLink rLink,
int  nPos = -1,
bool  bSelect = false 
)
private

◆ LinksSelectHdl()

void SvBaseLinksDlg::LinksSelectHdl ( weld::TreeView pTreeView)
private

◆ SetActLink()

void SvBaseLinksDlg::SetActLink ( sfx2::SvBaseLink const *  pLink)

Definition at line 620 of file linkdlg.cxx.

References sfx2::LinkManager::GetLinks(), LinksSelectHdl(), m_xTbLinks, pLink, and pLinkMgr.

◆ SetManager()

void SvBaseLinksDlg::SetManager ( sfx2::LinkManager pNewMgr)
private

◆ SetType()

void SvBaseLinksDlg::SetType ( sfx2::SvBaseLink rLink,
int  nPos,
SfxLinkUpdateMode  nType 
)
private

Member Data Documentation

◆ aStrAutolink

OUString SvBaseLinksDlg::aStrAutolink
private

Definition at line 38 of file linkdlg.hxx.

Referenced by ImplGetStateStr().

◆ aStrBrokenlink

OUString SvBaseLinksDlg::aStrBrokenlink
private

Definition at line 40 of file linkdlg.hxx.

Referenced by ImplGetStateStr().

◆ aStrCloselinkmsg

OUString SvBaseLinksDlg::aStrCloselinkmsg
private

Definition at line 41 of file linkdlg.hxx.

◆ aStrCloselinkmsgMulti

OUString SvBaseLinksDlg::aStrCloselinkmsgMulti
private

Definition at line 42 of file linkdlg.hxx.

◆ aStrManuallink

OUString SvBaseLinksDlg::aStrManuallink
private

Definition at line 39 of file linkdlg.hxx.

Referenced by ImplGetStateStr().

◆ aStrWaitinglink

OUString SvBaseLinksDlg::aStrWaitinglink
private

Definition at line 43 of file linkdlg.hxx.

Referenced by ImplGetStateStr().

◆ aUpdateIdle

Idle SvBaseLinksDlg::aUpdateIdle
private

Definition at line 45 of file linkdlg.hxx.

Referenced by ImplGetStateStr(), and SvBaseLinksDlg().

◆ m_xFtFullFileName

std::unique_ptr<weld::LinkButton> SvBaseLinksDlg::m_xFtFullFileName
private

Definition at line 48 of file linkdlg.hxx.

Referenced by LinksSelectHdl().

◆ m_xFtFullSourceName

std::unique_ptr<weld::Label> SvBaseLinksDlg::m_xFtFullSourceName
private

Definition at line 49 of file linkdlg.hxx.

Referenced by LinksSelectHdl().

◆ m_xFtFullTypeName

std::unique_ptr<weld::Label> SvBaseLinksDlg::m_xFtFullTypeName
private

Definition at line 50 of file linkdlg.hxx.

Referenced by LinksSelectHdl().

◆ m_xPbBreakLink

std::unique_ptr<weld::Button> SvBaseLinksDlg::m_xPbBreakLink
private

Definition at line 55 of file linkdlg.hxx.

Referenced by SvBaseLinksDlg().

◆ m_xPbChangeSource

std::unique_ptr<weld::Button> SvBaseLinksDlg::m_xPbChangeSource
private

Definition at line 54 of file linkdlg.hxx.

Referenced by SvBaseLinksDlg().

◆ m_xPbUpdateNow

std::unique_ptr<weld::Button> SvBaseLinksDlg::m_xPbUpdateNow
private

Definition at line 53 of file linkdlg.hxx.

Referenced by LinksSelectHdl(), and SvBaseLinksDlg().

◆ m_xRbAutomatic

std::unique_ptr<weld::RadioButton> SvBaseLinksDlg::m_xRbAutomatic
private

Definition at line 51 of file linkdlg.hxx.

Referenced by LinksSelectHdl(), and SvBaseLinksDlg().

◆ m_xRbManual

std::unique_ptr<weld::RadioButton> SvBaseLinksDlg::m_xRbManual
private

Definition at line 52 of file linkdlg.hxx.

Referenced by LinksSelectHdl(), and SvBaseLinksDlg().

◆ m_xTbLinks

std::unique_ptr<weld::TreeView> SvBaseLinksDlg::m_xTbLinks
private

Definition at line 47 of file linkdlg.hxx.

Referenced by GetSelEntry(), InsertEntry(), SetActLink(), SetManager(), SetType(), and SvBaseLinksDlg().

◆ m_xVirDev

ScopedVclPtr<VirtualDevice> SvBaseLinksDlg::m_xVirDev
private

Definition at line 57 of file linkdlg.hxx.

Referenced by InsertEntry(), and SvBaseLinksDlg().

◆ pLinkMgr

sfx2::LinkManager* SvBaseLinksDlg::pLinkMgr
private

Definition at line 44 of file linkdlg.hxx.

Referenced by SetActLink(), SetManager(), and SetType().


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