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

#include <cellsuno.hxx>

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

Classes

struct  Impl
 

Public Member Functions

 ScCellRangesObj (ScDocShell *pDocSh, const ScRangeList &rR)
 
virtual ~ScCellRangesObj () override
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) override
 
virtual void SAL_CALL acquire () override throw ()
 
virtual void SAL_CALL release () override throw ()
 
virtual void RefChanged () override
 
virtual css::uno::Reference< css::container::XEnumerationAccess > SAL_CALL getCells () override
 
virtual OUString SAL_CALL getRangeAddressesAsString () override
 
virtual css::uno::Sequence< css::table::CellRangeAddress > SAL_CALL getRangeAddresses () override
 
virtual void SAL_CALL addRangeAddress (const css::table::CellRangeAddress &rRange, sal_Bool bMergeRanges) override
 
virtual void SAL_CALL removeRangeAddress (const css::table::CellRangeAddress &rRange) override
 
virtual void SAL_CALL addRangeAddresses (const css::uno::Sequence< css::table::CellRangeAddress > &rRanges, sal_Bool bMergeRanges) override
 
virtual void SAL_CALL removeRangeAddresses (const css::uno::Sequence< css::table::CellRangeAddress > &rRanges) override
 
virtual void SAL_CALL insertByName (const OUString &aName, const css::uno::Any &aElement) override
 
virtual void SAL_CALL removeByName (const OUString &Name) override
 
virtual void SAL_CALL replaceByName (const OUString &aName, const css::uno::Any &aElement) 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 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::Reference< css::container::XEnumeration > SAL_CALL createEnumeration () 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
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () override
 
- Public Member Functions inherited from ScCellRangesBase
 ScCellRangesBase (ScDocShell *pDocSh, const ScRange &rR)
 
 ScCellRangesBase (ScDocShell *pDocSh, const ScRangeList &rR)
 
virtual ~ScCellRangesBase () override
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
 
ScDocShellGetDocShell () const
 
ScDocumentGetDocument () const
 
const ScRangeListGetRangeList () const
 
void AddRange (const ScRange &rRange, const bool bMergeRanges)
 
void InitInsertRange (ScDocShell *pDocSh, const ScRange &rR)
 
void SetNewRange (const ScRange &rNew)
 
void SetNewRanges (const ScRangeList &rNew)
 
void SetCursorOnly (bool bSet)
 
bool IsCursorOnly () const
 
virtual double SAL_CALL computeFunction (css::sheet::GeneralFunction nFunction) override
 
virtual void SAL_CALL clearContents (sal_Int32 nContentFlags) 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 void SAL_CALL setPropertyValues (const css::uno::Sequence< OUString > &aPropertyNames, const css::uno::Sequence< css::uno::Any > &aValues) override
 
virtual css::uno::Sequence< css::uno::Any > SAL_CALL getPropertyValues (const css::uno::Sequence< OUString > &aPropertyNames) override
 
virtual void SAL_CALL addPropertiesChangeListener (const css::uno::Sequence< OUString > &aPropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &xListener) override
 
virtual void SAL_CALL removePropertiesChangeListener (const css::uno::Reference< css::beans::XPropertiesChangeListener > &xListener) override
 
virtual void SAL_CALL firePropertiesChangeEvent (const css::uno::Sequence< OUString > &aPropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &xListener) override
 
virtual css::uno::Sequence< css::beans::SetPropertyTolerantFailed > SAL_CALL setPropertyValuesTolerant (const css::uno::Sequence< OUString > &aPropertyNames, const css::uno::Sequence< css::uno::Any > &aValues) override
 
virtual css::uno::Sequence< css::beans::GetPropertyTolerantResult > SAL_CALL getPropertyValuesTolerant (const css::uno::Sequence< OUString > &aPropertyNames) override
 
virtual css::uno::Sequence< css::beans::GetDirectPropertyTolerantResult > SAL_CALL getDirectPropertyValuesTolerant (const css::uno::Sequence< OUString > &aPropertyNames) override
 
virtual css::beans::PropertyState SAL_CALL getPropertyState (const OUString &PropertyName) override
 
virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL getPropertyStates (const css::uno::Sequence< OUString > &aPropertyName) override
 
virtual void SAL_CALL setPropertyToDefault (const OUString &PropertyName) override
 
virtual css::uno::Any SAL_CALL getPropertyDefault (const OUString &aPropertyName) override
 
virtual void SAL_CALL decrementIndent () override
 
virtual void SAL_CALL incrementIndent () override
 
virtual void SAL_CALL addChartDataChangeEventListener (const css::uno::Reference< css::chart::XChartDataChangeEventListener > &aListener) override
 
virtual void SAL_CALL removeChartDataChangeEventListener (const css::uno::Reference< css::chart::XChartDataChangeEventListener > &aListener) override
 
virtual double SAL_CALL getNotANumber () override
 
virtual sal_Bool SAL_CALL isNotANumber (double nNumber) override
 
virtual css::uno::Sequence< css::uno::Sequence< double > > SAL_CALL getData () override
 
virtual void SAL_CALL setData (const css::uno::Sequence< css::uno::Sequence< double > > &aData) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getRowDescriptions () override
 
virtual void SAL_CALL setRowDescriptions (const css::uno::Sequence< OUString > &aRowDescriptions) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getColumnDescriptions () override
 
virtual void SAL_CALL setColumnDescriptions (const css::uno::Sequence< OUString > &aColumnDescriptions) override
 
virtual css::uno::Reference< css::sheet::XSheetCellRanges > SAL_CALL queryVisibleCells () override
 
virtual css::uno::Reference< css::sheet::XSheetCellRanges > SAL_CALL queryEmptyCells () override
 
virtual css::uno::Reference< css::sheet::XSheetCellRanges > SAL_CALL queryContentCells (sal_Int16 nContentFlags) override
 
virtual css::uno::Reference< css::sheet::XSheetCellRanges > SAL_CALL queryFormulaCells (sal_Int32 nResultFlags) override
 
virtual css::uno::Reference< css::sheet::XSheetCellRanges > SAL_CALL queryColumnDifferences (const css::table::CellAddress &aCompare) override
 
virtual css::uno::Reference< css::sheet::XSheetCellRanges > SAL_CALL queryRowDifferences (const css::table::CellAddress &aCompare) override
 
virtual css::uno::Reference< css::sheet::XSheetCellRanges > SAL_CALL queryIntersection (const css::table::CellRangeAddress &aRange) override
 
virtual css::uno::Reference< css::sheet::XSheetCellRanges > SAL_CALL queryDependents (sal_Bool bRecursive) override
 
virtual css::uno::Reference< css::sheet::XSheetCellRanges > SAL_CALL queryPrecedents (sal_Bool bRecursive) override
 
virtual css::uno::Reference< css::util::XSearchDescriptor > SAL_CALL createSearchDescriptor () override
 
virtual css::uno::Reference< css::container::XIndexAccess > SAL_CALL findAll (const css::uno::Reference< css::util::XSearchDescriptor > &xDesc) override
 
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL findFirst (const css::uno::Reference< css::util::XSearchDescriptor > &xDesc) override
 
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL findNext (const css::uno::Reference< css::uno::XInterface > &xStartAt, const css::uno::Reference< css::util::XSearchDescriptor > &xDesc) override
 
virtual css::uno::Reference< css::util::XReplaceDescriptor > SAL_CALL createReplaceDescriptor () override
 
virtual sal_Int32 SAL_CALL replaceAll (const css::uno::Reference< css::util::XSearchDescriptor > &xDesc) override
 
virtual void SAL_CALL addModifyListener (const css::uno::Reference< css::util::XModifyListener > &aListener) override
 
virtual void SAL_CALL removeModifyListener (const css::uno::Reference< css::util::XModifyListener > &aListener) 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

ScCellRangeObjGetObjectByIndex_Impl (sal_Int32 nIndex) const
 

Private Attributes

std::unique_ptr< Implm_pImpl
 

Additional Inherited Members

- Protected Member Functions inherited from ScCellRangesBase
const ScMarkDataGetMarkData ()
 
virtual const SfxItemPropertyMapGetItemPropertyMap ()
 
css::beans::PropertyState GetOnePropertyState (sal_uInt16 nItemWhich, const SfxItemPropertySimpleEntry *pEntry)
 
virtual void GetOnePropertyValue (const SfxItemPropertySimpleEntry *pEntry, css::uno::Any &)
 
virtual void SetOnePropertyValue (const SfxItemPropertySimpleEntry *pEntry, const css::uno::Any &aValue)
 

Detailed Description

Definition at line 381 of file cellsuno.hxx.

Constructor & Destructor Documentation

ScCellRangesObj::ScCellRangesObj ( ScDocShell pDocSh,
const ScRangeList rR 
)

Definition at line 4005 of file cellsuno.cxx.

References m_pImpl.

ScCellRangesObj::~ScCellRangesObj ( )
overridevirtual

Definition at line 4011 of file cellsuno.cxx.

Member Function Documentation

void SAL_CALL ScCellRangesObj::acquire ( )
throw (
)
overridevirtual

Definition at line 4034 of file cellsuno.cxx.

void SAL_CALL ScCellRangesObj::addRangeAddress ( const css::table::CellRangeAddress &  rRange,
sal_Bool  bMergeRanges 
)
overridevirtual

Definition at line 4131 of file cellsuno.cxx.

References ScCellRangesBase::AddRange().

void SAL_CALL ScCellRangesObj::addRangeAddresses ( const css::uno::Sequence< css::table::CellRangeAddress > &  rRanges,
sal_Bool  bMergeRanges 
)
overridevirtual

Definition at line 4197 of file cellsuno.cxx.

References ScCellRangesBase::AddRange().

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

Definition at line 4504 of file cellsuno.cxx.

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

Definition at line 4519 of file cellsuno.cxx.

References GetObjectByIndex_Impl().

uno::Any SAL_CALL ScCellRangesObj::getByName ( const OUString &  aName)
overridevirtual
uno::Reference< container::XEnumerationAccess > SAL_CALL ScCellRangesObj::getCells ( )
overridevirtual
sal_Int32 SAL_CALL ScCellRangesObj::getCount ( )
overridevirtual

Definition at line 4512 of file cellsuno.cxx.

References ScCellRangesBase::GetRangeList(), and ScRangeList::size().

uno::Sequence< OUString > SAL_CALL ScCellRangesObj::getElementNames ( )
overridevirtual
uno::Type SAL_CALL ScCellRangesObj::getElementType ( )
overridevirtual

Definition at line 4530 of file cellsuno.cxx.

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

uno::Sequence< sal_Int8 > SAL_CALL ScCellRangesObj::getImplementationId ( )
overridevirtual

Definition at line 4057 of file cellsuno.cxx.

OUString SAL_CALL ScCellRangesObj::getImplementationName ( )
overridevirtual

Reimplemented from ScCellRangesBase.

Definition at line 4544 of file cellsuno.cxx.

ScCellRangeObj * ScCellRangesObj::GetObjectByIndex_Impl ( sal_Int32  nIndex) const
private
uno::Sequence< table::CellRangeAddress > SAL_CALL ScCellRangesObj::getRangeAddresses ( )
overridevirtual
OUString SAL_CALL ScCellRangesObj::getRangeAddressesAsString ( )
overridevirtual
uno::Sequence< OUString > SAL_CALL ScCellRangesObj::getSupportedServiceNames ( )
overridevirtual
uno::Sequence< uno::Type > SAL_CALL ScCellRangesObj::getTypes ( )
overridevirtual
sal_Bool SAL_CALL ScCellRangesObj::hasByName ( const OUString &  aName)
overridevirtual
sal_Bool SAL_CALL ScCellRangesObj::hasElements ( )
overridevirtual

Definition at line 4536 of file cellsuno.cxx.

References ScRangeList::empty(), and ScCellRangesBase::GetRangeList().

void SAL_CALL ScCellRangesObj::insertByName ( const OUString &  aName,
const css::uno::Any &  aElement 
)
overridevirtual

Type of aElement can be some specific interface instead of XInterface

Definition at line 4232 of file cellsuno.cxx.

References ScCellRangesBase::GetDocShell(), ScCellRangesBase::GetRangeList(), i, ScRangeList::Join(), m_pImpl, n, ScCellRangesBase::SetNewRanges(), and ScRangeList::size().

Referenced by replaceByName().

uno::Any SAL_CALL ScCellRangesObj::queryInterface ( const css::uno::Type &  rType)
overridevirtual

Definition at line 4020 of file cellsuno.cxx.

References SC_QUERY_MULTIPLE, and SC_QUERYINTERFACE.

void ScCellRangesObj::RefChanged ( )
overridevirtual

Reimplemented from ScCellRangesBase.

Definition at line 4015 of file cellsuno.cxx.

References ScCellRangesBase::RefChanged().

void SAL_CALL ScCellRangesObj::release ( )
throw (
)
overridevirtual

Definition at line 4039 of file cellsuno.cxx.

void SAL_CALL ScCellRangesObj::removeByName ( const OUString &  Name)
overridevirtual
void SAL_CALL ScCellRangesObj::removeRangeAddress ( const css::table::CellRangeAddress &  rRange)
overridevirtual
void SAL_CALL ScCellRangesObj::removeRangeAddresses ( const css::uno::Sequence< css::table::CellRangeAddress > &  rRanges)
overridevirtual

Definition at line 4213 of file cellsuno.cxx.

References removeRangeAddress().

void SAL_CALL ScCellRangesObj::replaceByName ( const OUString &  aName,
const css::uno::Any &  aElement 
)
overridevirtual

combine?

Definition at line 4417 of file cellsuno.cxx.

References insertByName(), and removeByName().

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

Reimplemented from ScCellRangesBase.

Definition at line 4549 of file cellsuno.cxx.

References cppu::supportsService().

Member Data Documentation

std::unique_ptr<Impl> ScCellRangesObj::m_pImpl
private

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