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

#include <servobj.hxx>

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

Public Member Functions

 ScServerObject (ScDocShell *pShell, const OUString &rItem)
 
virtual ~ScServerObject () override
 
virtual bool GetData (css::uno::Any &rData, const OUString &rMimeType, bool bSynchron=false) override
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
 
void EndListeningAll ()
 
- Public Member Functions inherited from sfx2::SvLinkSource
 SvLinkSource ()
 
virtual ~SvLinkSource () override
 
bool HasDataLinks () const
 
void Closed ()
 
sal_uInt64 GetUpdateTimeout () const
 
void SetUpdateTimeout (sal_uInt64 nTimeMs)
 
void DataChanged (const OUString &rMimeType, const css::uno::Any &rVal)
 
void SendDataChanged ()
 
void NotifyDataChanged ()
 
virtual bool Connect (SvBaseLink *)
 
virtual bool GetData (css::uno::Any &rData, const OUString &rMimeType, bool bSynchron=false)
 
virtual bool IsPending () const
 
virtual bool IsDataComplete () const
 
virtual void Edit (weld::Window *, SvBaseLink *, const Link< const OUString &, void > &rEndEditHdl)
 
void AddDataAdvise (SvBaseLink *, const OUString &rMimeType, sal_uInt16 nAdviceMode)
 
void RemoveAllDataAdvise (SvBaseLink const *)
 
void AddConnectAdvise (SvBaseLink *)
 
void RemoveConnectAdvise (SvBaseLink const *)
 
StreamToLoadFrom getStreamToLoadFrom ()
 
void setStreamToLoadFrom (const css::uno::Reference< css::io::XInputStream > &xInputStream, bool bIsReadOnly)
 
void clearStreamToLoadFrom ()
 
- Public Member Functions inherited from SfxListener
 SfxListener ()
 
 SfxListener (const SfxListener &rCopy)
 
virtual ~SfxListener () COVERITY_NOEXCEPT_FALSE
 
void StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected)
 
void EndListening (SfxBroadcaster &rBroadcaster, bool bRemoveAllDuplicates=false)
 
void EndListeningAll ()
 
bool IsListening (SfxBroadcaster &rBroadcaster) const
 
sal_uInt16 GetBroadcasterCount () const
 
SfxBroadcasterGetBroadcasterJOE (sal_uInt16 nNo) const
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint)
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 
virtual bool IsSdrView () const
 

Private Member Functions

void Clear ()
 

Private Attributes

ScServerObjectSvtListenerForwarder aForwarder
 
ScDocShellpDocSh
 
ScRange aRange
 
OUString aItemStr
 
bool bRefreshListener
 

Detailed Description

Definition at line 41 of file servobj.hxx.

Constructor & Destructor Documentation

◆ ScServerObject()

ScServerObject::ScServerObject ( ScDocShell pShell,
const OUString &  rItem 
)

◆ ~ScServerObject()

ScServerObject::~ScServerObject ( )
overridevirtual

Definition at line 112 of file servobj.cxx.

References Clear().

Member Function Documentation

◆ Clear()

void ScServerObject::Clear ( )
private

◆ EndListeningAll()

void ScServerObject::EndListeningAll ( )

Definition at line 131 of file servobj.cxx.

References aForwarder, SfxListener::EndListeningAll(), and SvtListener::EndListeningAll().

Referenced by GetData().

◆ GetData()

bool ScServerObject::GetData ( css::uno::Any &  rData,
const OUString &  rMimeType,
bool  bSynchron = false 
)
overridevirtual

◆ Notify()

void ScServerObject::Notify ( SfxBroadcaster rBC,
const SfxHint rHint 
)
overridevirtual

Member Data Documentation

◆ aForwarder

ScServerObjectSvtListenerForwarder ScServerObject::aForwarder
private

Definition at line 44 of file servobj.hxx.

Referenced by Clear(), EndListeningAll(), GetData(), and ScServerObject().

◆ aItemStr

OUString ScServerObject::aItemStr
private

Definition at line 47 of file servobj.hxx.

Referenced by GetData(), Notify(), and ScServerObject().

◆ aRange

ScRange ScServerObject::aRange
private

Definition at line 46 of file servobj.hxx.

Referenced by Clear(), GetData(), Notify(), and ScServerObject().

◆ bRefreshListener

bool ScServerObject::bRefreshListener
private

Definition at line 48 of file servobj.hxx.

Referenced by GetData(), and Notify().

◆ pDocSh

ScDocShell* ScServerObject::pDocSh
private

Definition at line 45 of file servobj.hxx.

Referenced by Clear(), GetData(), Notify(), and ScServerObject().


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