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

#include <linkuno.hxx>

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

Public Member Functions

 ScDDELinksObj (ScDocShell *pDocSh)
 
virtual ~ScDDELinksObj () override
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
 
virtual css::uno::Any SAL_CALL getByName (const OUString &aName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getElementNames () override
 
virtual sal_Bool SAL_CALL hasByName (const OUString &aName) override
 
virtual sal_Int32 SAL_CALL getCount () override
 
virtual css::uno::Any SAL_CALL getByIndex (sal_Int32 Index) override
 
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration () override
 
virtual css::uno::Type SAL_CALL getElementType () override
 
virtual sal_Bool SAL_CALL hasElements () override
 
virtual css::uno::Reference< css::sheet::XDDELink > SAL_CALL addDDELink (const OUString &aApplication, const OUString &aTopic, const OUString &aItem, css::sheet::DDELinkMode nMode) 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

ScDDELinkObjGetObjectByIndex_Impl (sal_Int32 nIndex)
 
ScDDELinkObjGetObjectByName_Impl (const OUString &aName)
 

Private Attributes

ScDocShellpDocShell
 

Detailed Description

Definition at line 319 of file linkuno.hxx.

Constructor & Destructor Documentation

ScDDELinksObj::ScDDELinksObj ( ScDocShell pDocSh)

Definition at line 1188 of file linkuno.cxx.

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

ScDDELinksObj::~ScDDELinksObj ( )
overridevirtual

Definition at line 1194 of file linkuno.cxx.

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

Member Function Documentation

uno::Reference< sheet::XDDELink > ScDDELinksObj::addDDELink ( const OUString &  aApplication,
const OUString &  aTopic,
const OUString &  aItem,
css::sheet::DDELinkMode  nMode 
)
overridevirtual
uno::Reference< container::XEnumeration > SAL_CALL ScDDELinksObj::createEnumeration ( )
overridevirtual

Definition at line 1245 of file linkuno.cxx.

uno::Any SAL_CALL ScDDELinksObj::getByIndex ( sal_Int32  Index)
overridevirtual

Definition at line 1262 of file linkuno.cxx.

References GetObjectByIndex_Impl().

uno::Any SAL_CALL ScDDELinksObj::getByName ( const OUString &  aName)
overridevirtual

Definition at line 1284 of file linkuno.cxx.

References GetObjectByName_Impl().

sal_Int32 SAL_CALL ScDDELinksObj::getCount ( )
overridevirtual
uno::Sequence< OUString > SAL_CALL ScDDELinksObj::getElementNames ( )
overridevirtual
uno::Type SAL_CALL ScDDELinksObj::getElementType ( )
overridevirtual

Definition at line 1272 of file linkuno.cxx.

References cppu::UnoType< class >::get().

virtual OUString SAL_CALL ScDDELinksObj::getImplementationName ( )
overridevirtual
ScDDELinkObj * ScDDELinksObj::GetObjectByIndex_Impl ( sal_Int32  nIndex)
private

Definition at line 1214 of file linkuno.cxx.

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

Referenced by getByIndex().

ScDDELinkObj * ScDDELinksObj::GetObjectByName_Impl ( const OUString &  aName)
private
virtual css::uno::Sequence< OUString > SAL_CALL ScDDELinksObj::getSupportedServiceNames ( )
overridevirtual
sal_Bool SAL_CALL ScDDELinksObj::hasByName ( const OUString &  aName)
overridevirtual
sal_Bool SAL_CALL ScDDELinksObj::hasElements ( )
overridevirtual

Definition at line 1278 of file linkuno.cxx.

References getCount().

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

Reimplemented from SfxListener.

Definition at line 1202 of file linkuno.cxx.

References SfxHint::GetId(), and pDocShell.

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

Member Data Documentation

ScDocShell* ScDDELinksObj::pDocShell
private

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