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
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)

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 ( ScDocShell pDocSh)

Definition at line 1185 of file linkuno.cxx.

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

ScDDELinksObj::~ScDDELinksObj ( )

Definition at line 1191 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 
uno::Reference< container::XEnumeration > SAL_CALL ScDDELinksObj::createEnumeration ( )

Definition at line 1242 of file linkuno.cxx.

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

Definition at line 1259 of file linkuno.cxx.

References GetObjectByIndex_Impl().

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

Definition at line 1281 of file linkuno.cxx.

References GetObjectByName_Impl().

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

Definition at line 1269 of file linkuno.cxx.

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

virtual OUString SAL_CALL ScDDELinksObj::getImplementationName ( )
rtl::Reference< ScDDELinkObj > ScDDELinksObj::GetObjectByIndex_Impl ( sal_Int32  nIndex)

Definition at line 1211 of file linkuno.cxx.

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

Referenced by getByIndex().

rtl::Reference< ScDDELinkObj > ScDDELinksObj::GetObjectByName_Impl ( std::u16string_view  aName)
virtual css::uno::Sequence< OUString > SAL_CALL ScDDELinksObj::getSupportedServiceNames ( )
sal_Bool SAL_CALL ScDDELinksObj::hasByName ( const OUString &  aName)
sal_Bool SAL_CALL ScDDELinksObj::hasElements ( )

Definition at line 1275 of file linkuno.cxx.

References getCount().

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

Reimplemented from SfxListener.

Definition at line 1199 of file linkuno.cxx.

References SfxHint::GetId(), and pDocShell.

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

Member Data Documentation

ScDocShell* ScDDELinksObj::pDocShell

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