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:
Collaboration diagram for ScDatabaseRangesObj:

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


Detailed Description

Definition at line 481 of file datauno.hxx.

Constructor & Destructor Documentation

ScDatabaseRangesObj::ScDatabaseRangesObj ( ScDocShell pDocSh)

Definition at line 2129 of file datauno.cxx.

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

ScDatabaseRangesObj::~ScDatabaseRangesObj ( )

Definition at line 2135 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 

Definition at line 2182 of file datauno.cxx.

References ScDBDocFunc::AddDBRange(), and pDocShell.

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

Definition at line 2214 of file datauno.cxx.

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

Definition at line 2237 of file datauno.cxx.

References GetObjectByIndex_Impl().

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

Definition at line 2263 of file datauno.cxx.

References GetObjectByName_Impl().

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

Definition at line 2250 of file datauno.cxx.

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

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

Definition at line 2173 of file datauno.cxx.

References hasByName(), and pDocShell.

Referenced by getByName().

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

Definition at line 2255 of file datauno.cxx.

References getCount().

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

Reimplemented from SfxListener.

Definition at line 2143 of file datauno.cxx.

References SfxHint::GetId(), and pDocShell.

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

Definition at line 2199 of file datauno.cxx.

References ScDBDocFunc::DeleteDBRange(), and pDocShell.

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

Member Data Documentation

ScDocShell* ScDatabaseRangesObj::pDocShell

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