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

#include <datauno.hxx>

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

Public Member Functions

 ScDatabaseRangeObj (ScDocShell *pDocSh, OUString aNm)
 
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
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint)
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 
virtual bool IsSdrView () const
 

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

Constructor & Destructor Documentation

◆ ScDatabaseRangeObj() [1/2]

ScDatabaseRangeObj::ScDatabaseRangeObj ( ScDocShell pDocSh,
OUString  aNm 
)

Definition at line 1562 of file datauno.cxx.

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

◆ ScDatabaseRangeObj() [2/2]

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

Definition at line 1572 of file datauno.cxx.

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

◆ ~ScDatabaseRangeObj()

ScDatabaseRangeObj::~ScDatabaseRangeObj ( )
overridevirtual

Definition at line 1582 of file datauno.cxx.

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

Member Function Documentation

◆ addPropertyChangeListener()

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

◆ addRefreshListener()

void SAL_CALL ScDatabaseRangeObj::addRefreshListener ( const css::uno::Reference< css::util::XRefreshListener > &  l)
overridevirtual

Definition at line 1863 of file datauno.cxx.

References aRefreshListeners.

◆ addVetoableChangeListener()

virtual void SAL_CALL ScDatabaseRangeObj::addVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual

◆ getDataArea()

table::CellRangeAddress SAL_CALL ScDatabaseRangeObj::getDataArea ( )
overridevirtual

◆ GetDBData_Impl()

ScDBData * ScDatabaseRangeObj::GetDBData_Impl ( ) const
private

◆ getFilterDescriptor()

uno::Reference< sheet::XSheetFilterDescriptor > SAL_CALL ScDatabaseRangeObj::getFilterDescriptor ( )
overridevirtual

Definition at line 1756 of file datauno.cxx.

References pDocShell.

◆ getImplementationName()

OUString SAL_CALL ScDatabaseRangeObj::getImplementationName ( )
overridevirtual

Definition at line 2107 of file datauno.cxx.

◆ getImportDescriptor()

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

◆ getName()

OUString SAL_CALL ScDatabaseRangeObj::getName ( )
overridevirtual

Definition at line 1632 of file datauno.cxx.

References aName.

◆ getPropertySetInfo()

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

Definition at line 1922 of file datauno.cxx.

References aPropSet, and SfxItemPropertySet::getPropertyMap().

◆ getPropertyValue()

uno::Any SAL_CALL ScDatabaseRangeObj::getPropertyValue ( const OUString &  PropertyName)
overridevirtual

◆ GetQueryParam()

void ScDatabaseRangeObj::GetQueryParam ( ScQueryParam rQueryParam) const

◆ getReferredCells()

uno::Reference< table::XCellRange > SAL_CALL ScDatabaseRangeObj::getReferredCells ( )
overridevirtual

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

Definition at line 1902 of file datauno.cxx.

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

◆ getSortDescriptor()

uno::Sequence< beans::PropertyValue > SAL_CALL ScDatabaseRangeObj::getSortDescriptor ( )
overridevirtual

◆ getSubTotalDescriptor()

uno::Reference< sheet::XSubTotalDescriptor > SAL_CALL ScDatabaseRangeObj::getSubTotalDescriptor ( )
overridevirtual

Definition at line 1815 of file datauno.cxx.

◆ GetSubTotalParam()

void ScDatabaseRangeObj::GetSubTotalParam ( ScSubTotalParam rSubTotalParam) const

◆ getSupportedServiceNames()

uno::Sequence< OUString > SAL_CALL ScDatabaseRangeObj::getSupportedServiceNames ( )
overridevirtual

Definition at line 2117 of file datauno.cxx.

References SCLINKTARGET_SERVICE.

◆ Notify()

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

Reimplemented from SfxListener.

Definition at line 1590 of file datauno.cxx.

References GetDBData_Impl(), SfxHint::GetId(), ScDBData::GetImportParam(), pDocShell, and Refreshed_Impl().

◆ refresh()

void SAL_CALL ScDatabaseRangeObj::refresh ( )
overridevirtual

◆ Refreshed_Impl()

void ScDatabaseRangeObj::Refreshed_Impl ( )
private

Definition at line 1892 of file datauno.cxx.

References aEvent, and aRefreshListeners.

Referenced by Notify().

◆ removePropertyChangeListener()

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

◆ removeRefreshListener()

void SAL_CALL ScDatabaseRangeObj::removeRefreshListener ( const css::uno::Reference< css::util::XRefreshListener > &  l)
overridevirtual

Definition at line 1874 of file datauno.cxx.

References aRefreshListeners, n, and nCount.

◆ removeVetoableChangeListener()

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

◆ setDataArea()

void SAL_CALL ScDatabaseRangeObj::setDataArea ( const css::table::CellRangeAddress &  aDataArea)
overridevirtual

MoveTo ???

Definition at line 1670 of file datauno.cxx.

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

◆ setName()

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

Definition at line 1638 of file datauno.cxx.

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

◆ setPropertyValue()

void SAL_CALL ScDatabaseRangeObj::setPropertyValue ( const OUString &  aPropertyName,
const css::uno::Any &  aValue 
)
overridevirtual

◆ SetQueryParam()

void ScDatabaseRangeObj::SetQueryParam ( const ScQueryParam rQueryParam)

◆ SetSubTotalParam()

void ScDatabaseRangeObj::SetSubTotalParam ( const ScSubTotalParam rSubTotalParam)

◆ supportsService()

sal_Bool SAL_CALL ScDatabaseRangeObj::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 2112 of file datauno.cxx.

References cppu::supportsService().

Member Data Documentation

◆ aName

OUString ScDatabaseRangeObj::aName
private

Definition at line 399 of file datauno.hxx.

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

◆ aPropSet

SfxItemPropertySet ScDatabaseRangeObj::aPropSet
private

Definition at line 400 of file datauno.hxx.

Referenced by getPropertySetInfo().

◆ aRefreshListeners

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

Definition at line 402 of file datauno.hxx.

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

◆ aTab

SCTAB ScDatabaseRangeObj::aTab
private

Definition at line 404 of file datauno.hxx.

Referenced by GetDBData_Impl(), and refresh().

◆ bIsUnnamed

bool ScDatabaseRangeObj::bIsUnnamed
private

Definition at line 403 of file datauno.hxx.

Referenced by GetDBData_Impl(), and refresh().

◆ pDocShell

ScDocShell* ScDatabaseRangeObj::pDocShell
private

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