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:
Collaboration diagram for ScDDELinksObj:

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

Private Member Functions

rtl::Reference< ScDDELinkObjGetObjectByIndex_Impl (sal_Int32 nIndex)
rtl::Reference< ScDDELinkObjGetObjectByName_Impl (std::u16string_view aName)

Private Attributes


Detailed Description

Definition at line 318 of file linkuno.hxx.

Constructor & Destructor Documentation

◆ ScDDELinksObj()

ScDDELinksObj::ScDDELinksObj ( ScDocShell pDocSh)

Definition at line 1183 of file linkuno.cxx.

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

◆ ~ScDDELinksObj()

ScDDELinksObj::~ScDDELinksObj ( )

Definition at line 1189 of file linkuno.cxx.

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

Member Function Documentation

◆ addDDELink()

uno::Reference< sheet::XDDELink > ScDDELinksObj::addDDELink ( const OUString &  aApplication,
const OUString &  aTopic,
const OUString &  aItem,
css::sheet::DDELinkMode  nMode 

◆ createEnumeration()

uno::Reference< container::XEnumeration > SAL_CALL ScDDELinksObj::createEnumeration ( )

Definition at line 1240 of file linkuno.cxx.

◆ getByIndex()

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

Definition at line 1257 of file linkuno.cxx.

References GetObjectByIndex_Impl(), and nIndex.

◆ getByName()

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

Definition at line 1278 of file linkuno.cxx.

References aName, and GetObjectByName_Impl().

◆ getCount()

sal_Int32 SAL_CALL ScDDELinksObj::getCount ( )

◆ getElementNames()

uno::Sequence< OUString > SAL_CALL ScDDELinksObj::getElementNames ( )

◆ getElementType()

uno::Type SAL_CALL ScDDELinksObj::getElementType ( )

Definition at line 1267 of file linkuno.cxx.

References cppu::UnoType< typename T >::get().

◆ getImplementationName()

virtual OUString SAL_CALL ScDDELinksObj::getImplementationName ( )

◆ GetObjectByIndex_Impl()

rtl::Reference< ScDDELinkObj > ScDDELinksObj::GetObjectByIndex_Impl ( sal_Int32  nIndex)

Definition at line 1209 of file linkuno.cxx.

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

Referenced by getByIndex().

◆ GetObjectByName_Impl()

rtl::Reference< ScDDELinkObj > ScDDELinksObj::GetObjectByName_Impl ( std::u16string_view  aName)

◆ getSupportedServiceNames()

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

◆ hasByName()

sal_Bool SAL_CALL ScDDELinksObj::hasByName ( const OUString &  aName)

◆ hasElements()

sal_Bool SAL_CALL ScDDELinksObj::hasElements ( )

Definition at line 1272 of file linkuno.cxx.

References getCount().

◆ Notify()

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

Reimplemented from SfxListener.

Definition at line 1197 of file linkuno.cxx.

References SfxHint::GetId(), and pDocShell.

◆ supportsService()

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

Member Data Documentation

◆ pDocShell

ScDocShell* ScDDELinksObj::pDocShell

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