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

#include <datauno.hxx>

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

Public Member Functions

 ScDatabaseRangeObj (ScDocShell *pDocSh, const OUString &rNm)
 
SC_DLLPUBLIC ScDatabaseRangeObj (ScDocShell *pDocSh, const SCTAB nTab)
 
virtual ~ScDatabaseRangeObj () override
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
 
void GetQueryParam (ScQueryParam &rQueryParam) const
 
void SetQueryParam (const ScQueryParam &rQueryParam)
 
void GetSubTotalParam (ScSubTotalParam &rSubTotalParam) const
 
void SetSubTotalParam (const ScSubTotalParam &rSubTotalParam)
 
virtual OUString SAL_CALL getName () override
 
virtual void SAL_CALL setName (const OUString &aName) override
 
virtual css::table::CellRangeAddress SAL_CALL getDataArea () override
 
virtual void SAL_CALL setDataArea (const css::table::CellRangeAddress &aDataArea) override
 
virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getSortDescriptor () override
 
virtual css::uno::Reference< css::sheet::XSheetFilterDescriptor > SAL_CALL getFilterDescriptor () override
 
virtual css::uno::Reference< css::sheet::XSubTotalDescriptor > SAL_CALL getSubTotalDescriptor () override
 
virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getImportDescriptor () override
 
virtual void SAL_CALL refresh () override
 
virtual void SAL_CALL addRefreshListener (const css::uno::Reference< css::util::XRefreshListener > &l) override
 
virtual void SAL_CALL removeRefreshListener (const css::uno::Reference< css::util::XRefreshListener > &l) override
 
virtual css::uno::Reference< css::table::XCellRange > SAL_CALL getReferredCells () override
 
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () override
 
virtual void SAL_CALL setPropertyValue (const OUString &aPropertyName, const css::uno::Any &aValue) override
 
virtual css::uno::Any SAL_CALL getPropertyValue (const OUString &PropertyName) override
 
virtual void SAL_CALL addPropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
 
virtual void SAL_CALL removePropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
 
virtual void SAL_CALL addVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
 
virtual void SAL_CALL removeVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) 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

ScDBDataGetDBData_Impl () const
 
void Refreshed_Impl ()
 

Private Attributes

ScDocShellpDocShell
 
OUString aName
 
SfxItemPropertySet aPropSet
 
std::vector< css::uno::Reference< css::util::XRefreshListener > > aRefreshListeners
 
bool bIsUnnamed
 
SCTAB aTab
 

Detailed Description

Definition at line 394 of file datauno.hxx.

Constructor & Destructor Documentation

ScDatabaseRangeObj::ScDatabaseRangeObj ( ScDocShell pDocSh,
const OUString &  rNm 
)

Definition at line 1524 of file datauno.cxx.

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

ScDatabaseRangeObj::ScDatabaseRangeObj ( ScDocShell pDocSh,
const SCTAB  nTab 
)

Definition at line 1534 of file datauno.cxx.

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

ScDatabaseRangeObj::~ScDatabaseRangeObj ( )
overridevirtual

Definition at line 1544 of file datauno.cxx.

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

Member Function Documentation

virtual void SAL_CALL ScDatabaseRangeObj::addPropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  xListener 
)
overridevirtual
void SAL_CALL ScDatabaseRangeObj::addRefreshListener ( const css::uno::Reference< css::util::XRefreshListener > &  l)
overridevirtual

Definition at line 1826 of file datauno.cxx.

References aRefreshListeners.

virtual void SAL_CALL ScDatabaseRangeObj::addVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual
table::CellRangeAddress SAL_CALL ScDatabaseRangeObj::getDataArea ( )
overridevirtual
ScDBData * ScDatabaseRangeObj::GetDBData_Impl ( ) const
private
uno::Reference< sheet::XSheetFilterDescriptor > SAL_CALL ScDatabaseRangeObj::getFilterDescriptor ( )
overridevirtual

Definition at line 1719 of file datauno.cxx.

References pDocShell.

OUString SAL_CALL ScDatabaseRangeObj::getImplementationName ( )
overridevirtual

Definition at line 2070 of file datauno.cxx.

uno::Sequence< beans::PropertyValue > SAL_CALL ScDatabaseRangeObj::getImportDescriptor ( )
overridevirtual
OUString SAL_CALL ScDatabaseRangeObj::getName ( )
overridevirtual

Definition at line 1595 of file datauno.cxx.

References aName.

uno::Reference< beans::XPropertySetInfo > SAL_CALL ScDatabaseRangeObj::getPropertySetInfo ( )
overridevirtual

Definition at line 1885 of file datauno.cxx.

References aPropSet, and SfxItemPropertySet::getPropertyMap().

uno::Any SAL_CALL ScDatabaseRangeObj::getPropertyValue ( const OUString &  PropertyName)
overridevirtual
void ScDatabaseRangeObj::GetQueryParam ( ScQueryParam rQueryParam) const
uno::Reference< table::XCellRange > SAL_CALL ScDatabaseRangeObj::getReferredCells ( )
overridevirtual

static function to create ScCellObj/ScCellRange on ScCellRangeObj ???

Definition at line 1865 of file datauno.cxx.

References ScRange::aEnd, ScRange::aStart, ScDBData::GetArea(), GetDBData_Impl(), pData, and pDocShell.

uno::Sequence< beans::PropertyValue > SAL_CALL ScDatabaseRangeObj::getSortDescriptor ( )
overridevirtual
uno::Reference< sheet::XSubTotalDescriptor > SAL_CALL ScDatabaseRangeObj::getSubTotalDescriptor ( )
overridevirtual

Definition at line 1778 of file datauno.cxx.

void ScDatabaseRangeObj::GetSubTotalParam ( ScSubTotalParam rSubTotalParam) const
uno::Sequence< OUString > SAL_CALL ScDatabaseRangeObj::getSupportedServiceNames ( )
overridevirtual

Definition at line 2080 of file datauno.cxx.

References SCLINKTARGET_SERVICE.

void ScDatabaseRangeObj::Notify ( SfxBroadcaster rBC,
const SfxHint rHint 
)
overridevirtual
void SAL_CALL ScDatabaseRangeObj::refresh ( )
overridevirtual
void ScDatabaseRangeObj::Refreshed_Impl ( )
private

Definition at line 1855 of file datauno.cxx.

References aEvent, and aRefreshListeners.

Referenced by Notify().

virtual void SAL_CALL ScDatabaseRangeObj::removePropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  aListener 
)
overridevirtual
void SAL_CALL ScDatabaseRangeObj::removeRefreshListener ( const css::uno::Reference< css::util::XRefreshListener > &  l)
overridevirtual

Definition at line 1837 of file datauno.cxx.

References aRefreshListeners, and n.

virtual void SAL_CALL ScDatabaseRangeObj::removeVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual
void SAL_CALL ScDatabaseRangeObj::setDataArea ( const css::table::CellRangeAddress &  aDataArea)
overridevirtual

MoveTo ???

Definition at line 1633 of file datauno.cxx.

References GetDBData_Impl(), ScDBDocFunc::ModifyDBData(), pData, pDocShell, and ScDBData::SetArea().

void SAL_CALL ScDatabaseRangeObj::setName ( const OUString &  aName)
overridevirtual

Definition at line 1601 of file datauno.cxx.

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

void SAL_CALL ScDatabaseRangeObj::setPropertyValue ( const OUString &  aPropertyName,
const css::uno::Any &  aValue 
)
overridevirtual
void ScDatabaseRangeObj::SetQueryParam ( const ScQueryParam rQueryParam)
void ScDatabaseRangeObj::SetSubTotalParam ( const ScSubTotalParam rSubTotalParam)
sal_Bool SAL_CALL ScDatabaseRangeObj::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 2075 of file datauno.cxx.

References cppu::supportsService().

Member Data Documentation

OUString ScDatabaseRangeObj::aName
private

Definition at line 405 of file datauno.hxx.

Referenced by GetDBData_Impl(), getName(), getPropertyValue(), and setName().

SfxItemPropertySet ScDatabaseRangeObj::aPropSet
private

Definition at line 406 of file datauno.hxx.

Referenced by getPropertySetInfo().

std::vector< css::uno::Reference< css::util::XRefreshListener > > ScDatabaseRangeObj::aRefreshListeners
private

Definition at line 408 of file datauno.hxx.

Referenced by addRefreshListener(), Refreshed_Impl(), and removeRefreshListener().

SCTAB ScDatabaseRangeObj::aTab
private

Definition at line 410 of file datauno.hxx.

Referenced by GetDBData_Impl(), and refresh().

bool ScDatabaseRangeObj::bIsUnnamed
private

Definition at line 409 of file datauno.hxx.

Referenced by GetDBData_Impl(), and refresh().

ScDocShell* ScDatabaseRangeObj::pDocShell
private

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