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

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 481 of file datauno.hxx.

Constructor & Destructor Documentation

ScDatabaseRangesObj::ScDatabaseRangesObj ( ScDocShell pDocSh)

Definition at line 2130 of file datauno.cxx.

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

ScDatabaseRangesObj::~ScDatabaseRangesObj ( )
overridevirtual

Definition at line 2136 of file datauno.cxx.

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

Member Function Documentation

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

Definition at line 2183 of file datauno.cxx.

References ScDBDocFunc::AddDBRange(), and pDocShell.

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

Definition at line 2215 of file datauno.cxx.

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

Definition at line 2238 of file datauno.cxx.

References GetObjectByIndex_Impl().

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

Definition at line 2265 of file datauno.cxx.

References GetObjectByName_Impl().

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

Definition at line 2251 of file datauno.cxx.

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

virtual OUString SAL_CALL ScDatabaseRangesObj::getImplementationName ( )
overridevirtual
rtl::Reference< ScDatabaseRangeObj > ScDatabaseRangesObj::GetObjectByIndex_Impl ( size_t  nIndex)
private
rtl::Reference< ScDatabaseRangeObj > ScDatabaseRangesObj::GetObjectByName_Impl ( const OUString &  aName)
private

Definition at line 2174 of file datauno.cxx.

References hasByName(), and pDocShell.

Referenced by getByName().

virtual css::uno::Sequence< OUString > SAL_CALL ScDatabaseRangesObj::getSupportedServiceNames ( )
overridevirtual
sal_Bool SAL_CALL ScDatabaseRangesObj::hasByName ( const OUString &  aName)
overridevirtual
sal_Bool SAL_CALL ScDatabaseRangesObj::hasElements ( )
overridevirtual

Definition at line 2257 of file datauno.cxx.

References getCount().

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

Reimplemented from SfxListener.

Definition at line 2144 of file datauno.cxx.

References SfxHint::GetId(), and pDocShell.

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

Definition at line 2200 of file datauno.cxx.

References ScDBDocFunc::DeleteDBRange(), and pDocShell.

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

Member Data Documentation

ScDocShell* ScDatabaseRangesObj::pDocShell
private

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