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

#include <datauno.hxx>

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

Public Member Functions

 ScDatabaseRangesObj (ScDocShell *pDocSh)
 
virtual ~ScDatabaseRangesObj () override
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
 
virtual void SAL_CALL addNewByName (const OUString &aName, const css::table::CellRangeAddress &aRange) override
 
virtual void SAL_CALL removeByName (const OUString &aName) override
 
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration () override
 
virtual sal_Int32 SAL_CALL getCount () override
 
virtual css::uno::Any SAL_CALL getByIndex (sal_Int32 Index) override
 
virtual css::uno::Type SAL_CALL getElementType () override
 
virtual sal_Bool SAL_CALL hasElements () 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 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< ScDatabaseRangeObjGetObjectByIndex_Impl (size_t nIndex)
 
rtl::Reference< ScDatabaseRangeObjGetObjectByName_Impl (const OUString &aName)
 

Private Attributes

ScDocShellpDocShell
 

Detailed Description

Definition at line 476 of file datauno.hxx.

Constructor & Destructor Documentation

◆ ScDatabaseRangesObj()

ScDatabaseRangesObj::ScDatabaseRangesObj ( ScDocShell pDocSh)

Definition at line 2123 of file datauno.cxx.

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

◆ ~ScDatabaseRangesObj()

ScDatabaseRangesObj::~ScDatabaseRangesObj ( )
overridevirtual

Definition at line 2129 of file datauno.cxx.

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

Member Function Documentation

◆ addNewByName()

void SAL_CALL ScDatabaseRangesObj::addNewByName ( const OUString &  aName,
const css::table::CellRangeAddress &  aRange 
)
overridevirtual

Definition at line 2176 of file datauno.cxx.

References ScDBDocFunc::AddDBRange(), aName, and pDocShell.

◆ createEnumeration()

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

Definition at line 2208 of file datauno.cxx.

◆ getByIndex()

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

Definition at line 2231 of file datauno.cxx.

References GetObjectByIndex_Impl(), and nIndex.

◆ getByName()

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

Definition at line 2257 of file datauno.cxx.

References aName, and GetObjectByName_Impl().

◆ getCount()

sal_Int32 SAL_CALL ScDatabaseRangesObj::getCount ( )
overridevirtual

◆ getElementNames()

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

◆ getElementType()

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

Definition at line 2244 of file datauno.cxx.

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

◆ getImplementationName()

virtual OUString SAL_CALL ScDatabaseRangesObj::getImplementationName ( )
overridevirtual

◆ GetObjectByIndex_Impl()

rtl::Reference< ScDatabaseRangeObj > ScDatabaseRangesObj::GetObjectByIndex_Impl ( size_t  nIndex)
private

◆ GetObjectByName_Impl()

rtl::Reference< ScDatabaseRangeObj > ScDatabaseRangesObj::GetObjectByName_Impl ( const OUString &  aName)
private

Definition at line 2167 of file datauno.cxx.

References aName, hasByName(), and pDocShell.

Referenced by getByName().

◆ getSupportedServiceNames()

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

◆ hasByName()

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

◆ hasElements()

sal_Bool SAL_CALL ScDatabaseRangesObj::hasElements ( )
overridevirtual

Definition at line 2249 of file datauno.cxx.

References getCount().

◆ Notify()

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

Reimplemented from SfxListener.

Definition at line 2137 of file datauno.cxx.

References SfxHint::GetId(), and pDocShell.

◆ removeByName()

void SAL_CALL ScDatabaseRangesObj::removeByName ( const OUString &  aName)
overridevirtual

Definition at line 2193 of file datauno.cxx.

References aName, ScDBDocFunc::DeleteDBRange(), and pDocShell.

◆ supportsService()

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

Member Data Documentation

◆ pDocShell

ScDocShell* ScDatabaseRangesObj::pDocShell
private

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