LibreOffice Module sc (master)  1
Public Member Functions | Static Public Member Functions | Private Attributes | Static Private Attributes | List of all members
ScDdeLink Class Reference

#include <ddelink.hxx>

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

Public Member Functions

 ScDdeLink (ScDocument *pD, const OUString &rA, const OUString &rT, const OUString &rI, sal_uInt8 nM)
 
 ScDdeLink (ScDocument *pD, SvStream &rStream, ScMultipleReadHeader &rHdr)
 
 ScDdeLink (ScDocument *pD, const ScDdeLink &rOther)
 
virtual ~ScDdeLink () override
 
void Store (SvStream &rStream, ScMultipleWriteHeader &rHdr) const
 
virtual ::sfx2::SvBaseLink::UpdateResult DataChanged (const OUString &rMimeType, const css::uno::Any &rValue) override
 
virtual void ListenersGone () override
 
const ScMatrixGetResult () const
 
void SetResult (const ScMatrixRef &pRes)
 
const OUString & GetAppl () const
 
const OUString & GetTopic () const
 
const OUString & GetItem () const
 
sal_uInt8 GetMode () const
 
void TryUpdate ()
 
bool NeedsUpdate () const
 
- Public Member Functions inherited from SvtBroadcaster
 SvtBroadcaster ()
 
 SvtBroadcaster (const SvtBroadcaster &rBC)
 
virtual ~SvtBroadcaster ()
 
void Broadcast (const SfxHint &rHint)
 
ListenersTypeGetAllListeners ()
 
const ListenersTypeGetAllListeners () const
 
bool HasListeners () const
 
void PrepareForDestruction ()
 

Static Public Member Functions

static bool IsInUpdate ()
 

Private Attributes

ScDocumentpDoc
 
OUString aAppl
 
OUString aTopic
 
OUString aItem
 
sal_uInt8 nMode
 
bool bNeedUpdate
 
ScMatrixRef pResult
 

Static Private Attributes

static bool bIsInUpdate = false
 

Additional Inherited Members

- Public Types inherited from SvtBroadcaster
typedef std::vector< SvtListener * > ListenersType
 

Detailed Description

Definition at line 34 of file ddelink.hxx.

Constructor & Destructor Documentation

ScDdeLink::ScDdeLink ( ScDocument pD,
const OUString &  rA,
const OUString &  rT,
const OUString &  rI,
sal_uInt8  nM 
)

Definition at line 44 of file ddelink.cxx.

References ALWAYS, and STRING.

ScDdeLink::ScDdeLink ( ScDocument pD,
SvStream rStream,
ScMultipleReadHeader rHdr 
)
ScDdeLink::ScDdeLink ( ScDocument pD,
const ScDdeLink rOther 
)

Definition at line 64 of file ddelink.cxx.

References ALWAYS, pResult, and STRING.

ScDdeLink::~ScDdeLink ( )
overridevirtual

Definition at line 57 of file ddelink.cxx.

Member Function Documentation

sfx2::SvBaseLink::UpdateResult ScDdeLink::DataChanged ( const OUString &  rMimeType,
const css::uno::Any &  rValue 
)
overridevirtual
const OUString& ScDdeLink::GetAppl ( ) const
inline
const OUString& ScDdeLink::GetItem ( ) const
inline
sal_uInt8 ScDdeLink::GetMode ( ) const
inline

Definition at line 76 of file ddelink.hxx.

References nMode.

const ScMatrix * ScDdeLink::GetResult ( ) const

Definition at line 243 of file ddelink.cxx.

References pResult.

Referenced by ScDocument::GetDdeLinkResultMatrix(), and ScInterpreter::ScDde().

const OUString& ScDdeLink::GetTopic ( ) const
inline
static bool ScDdeLink::IsInUpdate ( )
inlinestatic

Definition at line 82 of file ddelink.hxx.

References bIsInUpdate.

Referenced by IMPL_LINK_NOARG().

void ScDdeLink::ListenersGone ( )
overridevirtual
bool ScDdeLink::NeedsUpdate ( ) const
inline

Definition at line 80 of file ddelink.hxx.

References bNeedUpdate.

Referenced by sc::DocumentLinkManager::idleCheckLinks().

void ScDdeLink::SetResult ( const ScMatrixRef pRes)

Definition at line 248 of file ddelink.cxx.

References pResult.

Referenced by ScDocument::CreateDdeLink().

void ScDdeLink::Store ( SvStream rStream,
ScMultipleWriteHeader rHdr 
) const
void ScDdeLink::TryUpdate ( )

Member Data Documentation

OUString ScDdeLink::aAppl
private

Definition at line 41 of file ddelink.hxx.

Referenced by DataChanged(), GetAppl(), ScDdeLink(), and Store().

OUString ScDdeLink::aItem
private

Definition at line 43 of file ddelink.hxx.

Referenced by DataChanged(), GetItem(), ScDdeLink(), and Store().

OUString ScDdeLink::aTopic
private

Definition at line 42 of file ddelink.hxx.

Referenced by DataChanged(), GetTopic(), ScDdeLink(), and Store().

bool ScDdeLink::bIsInUpdate = false
staticprivate

Definition at line 37 of file ddelink.hxx.

Referenced by IsInUpdate(), ListenersGone(), and TryUpdate().

bool ScDdeLink::bNeedUpdate
private

Definition at line 46 of file ddelink.hxx.

Referenced by NeedsUpdate(), and TryUpdate().

sal_uInt8 ScDdeLink::nMode
private

Definition at line 44 of file ddelink.hxx.

Referenced by DataChanged(), GetMode(), ScDdeLink(), and Store().

ScDocument* ScDdeLink::pDoc
private

Definition at line 39 of file ddelink.hxx.

Referenced by DataChanged(), ListenersGone(), and TryUpdate().

ScMatrixRef ScDdeLink::pResult
private

Definition at line 48 of file ddelink.hxx.

Referenced by DataChanged(), GetResult(), ScDdeLink(), SetResult(), and Store().


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