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

#include <linkuno.hxx>

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

Public Member Functions

 ScAreaLinksObj (ScDocShell *pDocSh)
 
virtual ~ScAreaLinksObj () override
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
 
virtual void SAL_CALL insertAtPosition (const css::table::CellAddress &aDestPos, const OUString &aFileName, const OUString &aSourceArea, const OUString &aFilter, const OUString &aFilterOptions) override
 
virtual void SAL_CALL removeByIndex (sal_Int32 nIndex) 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 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)
 

Private Member Functions

rtl::Reference< ScAreaLinkObjGetObjectByIndex_Impl (sal_Int32 nIndex)
 

Private Attributes

ScDocShellpDocShell
 

Detailed Description

Definition at line 223 of file linkuno.hxx.

Constructor & Destructor Documentation

◆ ScAreaLinksObj()

ScAreaLinksObj::ScAreaLinksObj ( ScDocShell pDocSh)

Definition at line 874 of file linkuno.cxx.

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

◆ ~ScAreaLinksObj()

ScAreaLinksObj::~ScAreaLinksObj ( )
overridevirtual

Definition at line 880 of file linkuno.cxx.

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

Member Function Documentation

◆ createEnumeration()

uno::Reference< container::XEnumeration > SAL_CALL ScAreaLinksObj::createEnumeration ( )
overridevirtual

Definition at line 942 of file linkuno.cxx.

◆ getByIndex()

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

Definition at line 968 of file linkuno.cxx.

References GetObjectByIndex_Impl(), and nIndex.

◆ getCount()

sal_Int32 SAL_CALL ScAreaLinksObj::getCount ( )
overridevirtual

◆ getElementType()

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

Definition at line 979 of file linkuno.cxx.

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

◆ getImplementationName()

virtual OUString SAL_CALL ScAreaLinksObj::getImplementationName ( )
overridevirtual

◆ GetObjectByIndex_Impl()

rtl::Reference< ScAreaLinkObj > ScAreaLinksObj::GetObjectByIndex_Impl ( sal_Int32  nIndex)
private

Definition at line 900 of file linkuno.cxx.

References getCount(), nIndex, and pDocShell.

Referenced by getByIndex().

◆ getSupportedServiceNames()

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

◆ hasElements()

sal_Bool SAL_CALL ScAreaLinksObj::hasElements ( )
overridevirtual

Definition at line 984 of file linkuno.cxx.

References getCount().

◆ insertAtPosition()

void SAL_CALL ScAreaLinksObj::insertAtPosition ( const css::table::CellAddress &  aDestPos,
const OUString &  aFileName,
const OUString &  aSourceArea,
const OUString &  aFilter,
const OUString &  aFilterOptions 
)
overridevirtual

in InsertAreaLink ???

Definition at line 908 of file linkuno.cxx.

References ScGlobal::GetAbsDocName(), ScDocShell::GetDocFunc(), ScDocFunc::InsertAreaLink(), and pDocShell.

◆ Notify()

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

Reimplemented from SfxListener.

Definition at line 888 of file linkuno.cxx.

References SfxHint::GetId(), and pDocShell.

◆ removeByIndex()

void SAL_CALL ScAreaLinksObj::removeByIndex ( sal_Int32  nIndex)
overridevirtual

◆ supportsService()

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

Member Data Documentation

◆ pDocShell

ScDocShell* ScAreaLinksObj::pDocShell
private

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