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

#include <ddelink.hxx>

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

Public Member Functions

 ScDdeLink (ScDocument &rD, const OUString &rA, const OUString &rT, const OUString &rI, sal_uInt8 nM)
 
 ScDdeLink (ScDocument &rD, SvStream &rStream, ScMultipleReadHeader &rHdr)
 
 ScDdeLink (ScDocument &rD, 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

ScDocumentrDoc
 
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 33 of file ddelink.hxx.

Constructor & Destructor Documentation

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

Definition at line 43 of file ddelink.cxx.

References ALWAYS, and STRING.

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

Definition at line 63 of file ddelink.cxx.

References ALWAYS, pResult, and STRING.

ScDdeLink::~ScDdeLink ( )
overridevirtual

Definition at line 56 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 75 of file ddelink.hxx.

References nMode.

const ScMatrix * ScDdeLink::GetResult ( ) const

Definition at line 242 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 81 of file ddelink.hxx.

References bIsInUpdate.

Referenced by IMPL_LINK_NOARG().

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

Definition at line 79 of file ddelink.hxx.

References bNeedUpdate.

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

void ScDdeLink::SetResult ( const ScMatrixRef pRes)

Definition at line 247 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 40 of file ddelink.hxx.

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

OUString ScDdeLink::aItem
private

Definition at line 42 of file ddelink.hxx.

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

OUString ScDdeLink::aTopic
private

Definition at line 41 of file ddelink.hxx.

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

bool ScDdeLink::bIsInUpdate = false
staticprivate

Definition at line 36 of file ddelink.hxx.

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

bool ScDdeLink::bNeedUpdate
private

Definition at line 45 of file ddelink.hxx.

Referenced by NeedsUpdate(), and TryUpdate().

sal_uInt8 ScDdeLink::nMode
private

Definition at line 43 of file ddelink.hxx.

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

ScMatrixRef ScDdeLink::pResult
private

Definition at line 47 of file ddelink.hxx.

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

ScDocument& ScDdeLink::rDoc
private

Definition at line 38 of file ddelink.hxx.

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


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