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

Graphic / OleObject (need separate collections!) More...

#include <targuno.hxx>

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

Public Member Functions

 ScLinkTargetTypesObj (ScDocShell *pDocSh)
 
virtual ~ScLinkTargetTypesObj () 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 css::uno::Type SAL_CALL getElementType () override
 
virtual sal_Bool SAL_CALL hasElements () 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 Attributes

ScDocShellpDocShell
 
OUString aNames [SC_LINKTARGETTYPE_COUNT]
 

Detailed Description

Graphic / OleObject (need separate collections!)

Definition at line 45 of file targuno.hxx.

Constructor & Destructor Documentation

◆ ScLinkTargetTypesObj()

ScLinkTargetTypesObj::ScLinkTargetTypesObj ( ScDocShell pDocSh)

Definition at line 69 of file targuno.cxx.

References aTypeResIds, i, SC_LINKTARGETTYPE_COUNT, and ScResId().

◆ ~ScLinkTargetTypesObj()

ScLinkTargetTypesObj::~ScLinkTargetTypesObj ( )
overridevirtual

Definition at line 78 of file targuno.cxx.

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

Member Function Documentation

◆ getByName()

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

Definition at line 94 of file targuno.cxx.

References aName, aNames, i, pDocShell, and SC_LINKTARGETTYPE_COUNT.

◆ getElementNames()

uno::Sequence< OUString > SAL_CALL ScLinkTargetTypesObj::getElementNames ( )
overridevirtual

Definition at line 106 of file targuno.cxx.

References aNames, i, and SC_LINKTARGETTYPE_COUNT.

◆ getElementType()

uno::Type SAL_CALL ScLinkTargetTypesObj::getElementType ( )
overridevirtual

Definition at line 125 of file targuno.cxx.

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

◆ getImplementationName()

virtual OUString SAL_CALL ScLinkTargetTypesObj::getImplementationName ( )
overridevirtual

◆ getSupportedServiceNames()

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

◆ hasByName()

sal_Bool SAL_CALL ScLinkTargetTypesObj::hasByName ( const OUString &  aName)
overridevirtual

Definition at line 115 of file targuno.cxx.

References aName, aNames, and i.

◆ hasElements()

sal_Bool SAL_CALL ScLinkTargetTypesObj::hasElements ( )
overridevirtual

Definition at line 130 of file targuno.cxx.

◆ Notify()

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

Reimplemented from SfxListener.

Definition at line 86 of file targuno.cxx.

References SfxHint::GetId(), and pDocShell.

◆ supportsService()

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

Member Data Documentation

◆ aNames

OUString ScLinkTargetTypesObj::aNames[SC_LINKTARGETTYPE_COUNT]
private

Definition at line 52 of file targuno.hxx.

Referenced by getByName(), getElementNames(), and hasByName().

◆ pDocShell

ScDocShell* ScLinkTargetTypesObj::pDocShell
private

Definition at line 51 of file targuno.hxx.

Referenced by getByName(), Notify(), and ~ScLinkTargetTypesObj().


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