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, OUString aA, OUString aT, OUString aI)
 
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
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint)
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 
virtual bool IsSdrView () const
 

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 268 of file linkuno.hxx.

Constructor & Destructor Documentation

◆ ScDDELinkObj()

ScDDELinkObj::ScDDELinkObj ( ScDocShell pDocSh,
OUString  aA,
OUString  aT,
OUString  aI 
)

Definition at line 990 of file linkuno.cxx.

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

◆ ~ScDDELinkObj()

ScDDELinkObj::~ScDDELinkObj ( )
overridevirtual

Definition at line 1000 of file linkuno.cxx.

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

Member Function Documentation

◆ addRefreshListener()

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

Definition at line 1087 of file linkuno.cxx.

References aRefreshListeners.

◆ getApplication()

OUString SAL_CALL ScDDELinkObj::getApplication ( )
overridevirtual

Test if the link is still in the document?

Definition at line 1051 of file linkuno.cxx.

References aAppl.

◆ getImplementationName()

virtual OUString SAL_CALL ScDDELinkObj::getImplementationName ( )
overridevirtual

◆ getItem()

OUString SAL_CALL ScDDELinkObj::getItem ( )
overridevirtual

Test if the link is still in the document?

Definition at line 1067 of file linkuno.cxx.

References aItem.

◆ getName()

OUString SAL_CALL ScDDELinkObj::getName ( )
overridevirtual

Definition at line 1037 of file linkuno.cxx.

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

◆ getResults()

uno::Sequence< uno::Sequence< uno::Any > > ScDDELinkObj::getResults ( )
overridevirtual

◆ getSupportedServiceNames()

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

◆ getTopic()

OUString SAL_CALL ScDDELinkObj::getTopic ( )
overridevirtual

Test if the link is still in the document?

Definition at line 1059 of file linkuno.cxx.

References aTopic.

◆ Notify()

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

notify if links in document are changed

mode is ignored

Reimplemented from SfxListener.

Definition at line 1008 of file linkuno.cxx.

References aAppl, aItem, aTopic, DDE, SfxHint::GetId(), pDocShell, and Refreshed_Impl().

◆ refresh()

void SAL_CALL ScDDELinkObj::refresh ( )
overridevirtual

◆ Refreshed_Impl()

void ScDDELinkObj::Refreshed_Impl ( )
private

Definition at line 1175 of file linkuno.cxx.

References aEvent, and aRefreshListeners.

Referenced by Notify().

◆ removeRefreshListener()

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

Definition at line 1098 of file linkuno.cxx.

References aRefreshListeners, n, and nCount.

◆ setName()

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

Definition at line 1043 of file linkuno.cxx.

◆ setResults()

void ScDDELinkObj::setResults ( const css::uno::Sequence< css::uno::Sequence< css::uno::Any > > &  aResults)
overridevirtual

◆ supportsService()

virtual sal_Bool SAL_CALL ScDDELinkObj::supportsService ( const OUString &  ServiceName)
overridevirtual

Member Data Documentation

◆ aAppl

OUString ScDDELinkObj::aAppl
private

Definition at line 278 of file linkuno.hxx.

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

◆ aItem

OUString ScDDELinkObj::aItem
private

Definition at line 280 of file linkuno.hxx.

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

◆ aRefreshListeners

XRefreshListenerArr_Impl ScDDELinkObj::aRefreshListeners
private

Definition at line 281 of file linkuno.hxx.

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

◆ aTopic

OUString ScDDELinkObj::aTopic
private

Definition at line 279 of file linkuno.hxx.

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

◆ pDocShell

ScDocShell* ScDDELinkObj::pDocShell
private

Definition at line 277 of file linkuno.hxx.

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


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