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

order of XNamed and DDELink changed to avoid "duplicate comdat" symbols More...

#include <linkuno.hxx>

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

Public Member Functions

 ScDDELinkObj (ScDocShell *pDocSh, const OUString &rA, const OUString &rT, const OUString &rI)
 
virtual ~ScDDELinkObj () override
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
 
virtual OUString SAL_CALL getName () override
 
virtual void SAL_CALL setName (const OUString &aName) override
 
virtual OUString SAL_CALL getApplication () override
 
virtual OUString SAL_CALL getTopic () override
 
virtual OUString SAL_CALL getItem () override
 
virtual void SAL_CALL refresh () override
 
virtual void SAL_CALL addRefreshListener (const css::uno::Reference< css::util::XRefreshListener > &l) override
 
virtual void SAL_CALL removeRefreshListener (const css::uno::Reference< css::util::XRefreshListener > &l) override
 
virtual css::uno::Sequence< css::uno::Sequence< css::uno::Any > > SAL_CALL getResults () override
 
virtual void SAL_CALL setResults (const css::uno::Sequence< css::uno::Sequence< css::uno::Any > > &aResults) override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
- 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
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 

Private Member Functions

void Refreshed_Impl ()
 

Private Attributes

ScDocShellpDocShell
 
OUString aAppl
 
OUString aTopic
 
OUString aItem
 
XRefreshListenerArr_Impl aRefreshListeners
 

Detailed Description

order of XNamed and DDELink changed to avoid "duplicate comdat" symbols

Definition at line 269 of file linkuno.hxx.

Constructor & Destructor Documentation

ScDDELinkObj::ScDDELinkObj ( ScDocShell pDocSh,
const OUString &  rA,
const OUString &  rT,
const OUString &  rI 
)

Definition at line 994 of file linkuno.cxx.

References ScDocument::AddUnoObject(), ScDocShell::GetDocument(), and pDocShell.

ScDDELinkObj::~ScDDELinkObj ( )
overridevirtual

Definition at line 1004 of file linkuno.cxx.

References ScDocShell::GetDocument(), pDocShell, and ScDocument::RemoveUnoObject().

Member Function Documentation

void SAL_CALL ScDDELinkObj::addRefreshListener ( const css::uno::Reference< css::util::XRefreshListener > &  l)
overridevirtual

Definition at line 1092 of file linkuno.cxx.

References aRefreshListeners.

OUString SAL_CALL ScDDELinkObj::getApplication ( )
overridevirtual

Test if the link is still in the document?

Definition at line 1056 of file linkuno.cxx.

References aAppl.

virtual OUString SAL_CALL ScDDELinkObj::getImplementationName ( )
overridevirtual
OUString SAL_CALL ScDDELinkObj::getItem ( )
overridevirtual

Test if the link is still in the document?

Definition at line 1072 of file linkuno.cxx.

References aItem.

OUString SAL_CALL ScDDELinkObj::getName ( )
overridevirtual

Definition at line 1042 of file linkuno.cxx.

References aAppl, aItem, aTopic, and lcl_BuildDDEName().

uno::Sequence< uno::Sequence< uno::Any > > ScDDELinkObj::getResults ( )
overridevirtual
virtual css::uno::Sequence< OUString > SAL_CALL ScDDELinkObj::getSupportedServiceNames ( )
overridevirtual
OUString SAL_CALL ScDDELinkObj::getTopic ( )
overridevirtual

Test if the link is still in the document?

Definition at line 1064 of file linkuno.cxx.

References aTopic.

void ScDDELinkObj::Notify ( SfxBroadcaster rBC,
const SfxHint rHint 
)
overridevirtual
void SAL_CALL ScDDELinkObj::refresh ( )
overridevirtual
void ScDDELinkObj::Refreshed_Impl ( )
private

Definition at line 1180 of file linkuno.cxx.

References aEvent, and aRefreshListeners.

Referenced by Notify().

void SAL_CALL ScDDELinkObj::removeRefreshListener ( const css::uno::Reference< css::util::XRefreshListener > &  l)
overridevirtual

Definition at line 1103 of file linkuno.cxx.

References aRefreshListeners, n, and nCount.

void SAL_CALL ScDDELinkObj::setName ( const OUString &  aName)
overridevirtual

Definition at line 1048 of file linkuno.cxx.

void ScDDELinkObj::setResults ( const css::uno::Sequence< css::uno::Sequence< css::uno::Any > > &  aResults)
overridevirtual
virtual sal_Bool SAL_CALL ScDDELinkObj::supportsService ( const OUString &  ServiceName)
overridevirtual

Member Data Documentation

OUString ScDDELinkObj::aAppl
private

Definition at line 279 of file linkuno.hxx.

Referenced by getApplication(), getName(), getResults(), Notify(), refresh(), and setResults().

OUString ScDDELinkObj::aItem
private

Definition at line 281 of file linkuno.hxx.

Referenced by getItem(), getName(), getResults(), Notify(), refresh(), and setResults().

XRefreshListenerArr_Impl ScDDELinkObj::aRefreshListeners
private

Definition at line 282 of file linkuno.hxx.

Referenced by addRefreshListener(), Refreshed_Impl(), and removeRefreshListener().

OUString ScDDELinkObj::aTopic
private

Definition at line 280 of file linkuno.hxx.

Referenced by getName(), getResults(), getTopic(), Notify(), refresh(), and setResults().

ScDocShell* ScDDELinkObj::pDocShell
private

Definition at line 278 of file linkuno.hxx.

Referenced by getResults(), Notify(), refresh(), ScDDELinkObj(), setResults(), and ~ScDDELinkObj().


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