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, OUString aA, OUString aT, OUString aI, 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
 
virtual void ListenersGone ()
 

Detailed Description

Definition at line 33 of file ddelink.hxx.

Constructor & Destructor Documentation

◆ ScDdeLink() [1/3]

ScDdeLink::ScDdeLink ( ScDocument rD,
OUString  aA,
OUString  aT,
OUString  aI,
sal_uInt8  nM 
)

Definition at line 44 of file ddelink.cxx.

References ALWAYS, and STRING.

◆ ScDdeLink() [2/3]

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

◆ ScDdeLink() [3/3]

ScDdeLink::ScDdeLink ( ScDocument rD,
const ScDdeLink rOther 
)

Definition at line 64 of file ddelink.cxx.

References ALWAYS, pResult, and STRING.

◆ ~ScDdeLink()

ScDdeLink::~ScDdeLink ( )
overridevirtual

Definition at line 57 of file ddelink.cxx.

Member Function Documentation

◆ DataChanged()

sfx2::SvBaseLink::UpdateResult ScDdeLink::DataChanged ( const OUString &  rMimeType,
const css::uno::Any &  rValue 
)
overridevirtual

◆ GetAppl()

const OUString & ScDdeLink::GetAppl ( ) const
inline

◆ GetItem()

const OUString & ScDdeLink::GetItem ( ) const
inline

◆ GetMode()

sal_uInt8 ScDdeLink::GetMode ( ) const
inline

Definition at line 75 of file ddelink.hxx.

References nMode.

◆ GetResult()

const ScMatrix * ScDdeLink::GetResult ( ) const

Definition at line 241 of file ddelink.cxx.

References pResult.

Referenced by ScDocument::GetDdeLinkResultMatrix().

◆ GetTopic()

const OUString & ScDdeLink::GetTopic ( ) const
inline

◆ IsInUpdate()

static bool ScDdeLink::IsInUpdate ( )
inlinestatic

Definition at line 81 of file ddelink.hxx.

References bIsInUpdate.

Referenced by IMPL_LINK_NOARG().

◆ ListenersGone()

void ScDdeLink::ListenersGone ( )
overridevirtual

◆ NeedsUpdate()

bool ScDdeLink::NeedsUpdate ( ) const
inline

Definition at line 79 of file ddelink.hxx.

References bNeedUpdate.

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

◆ SetResult()

void ScDdeLink::SetResult ( const ScMatrixRef pRes)

Definition at line 246 of file ddelink.cxx.

References pResult.

Referenced by ScDocument::CreateDdeLink().

◆ Store()

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

◆ TryUpdate()

void ScDdeLink::TryUpdate ( )

Member Data Documentation

◆ aAppl

OUString ScDdeLink::aAppl
private

Definition at line 40 of file ddelink.hxx.

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

◆ aItem

OUString ScDdeLink::aItem
private

Definition at line 42 of file ddelink.hxx.

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

◆ aTopic

OUString ScDdeLink::aTopic
private

Definition at line 41 of file ddelink.hxx.

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

◆ bIsInUpdate

bool ScDdeLink::bIsInUpdate = false
staticprivate

Definition at line 36 of file ddelink.hxx.

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

◆ bNeedUpdate

bool ScDdeLink::bNeedUpdate
private

Definition at line 45 of file ddelink.hxx.

Referenced by NeedsUpdate(), and TryUpdate().

◆ nMode

sal_uInt8 ScDdeLink::nMode
private

Definition at line 43 of file ddelink.hxx.

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

◆ pResult

ScMatrixRef ScDdeLink::pResult
private

Definition at line 47 of file ddelink.hxx.

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

◆ rDoc

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: