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

#include <cursuno.hxx>

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

Public Member Functions

 ScCellCursorObj (ScDocShell *pDocSh, const ScRange &rR)
 
virtual ~ScCellCursorObj () override
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) override
 
virtual void SAL_CALL acquire () noexcept override
 
virtual void SAL_CALL release () noexcept override
 
virtual void SAL_CALL collapseToCurrentRegion () override
 
virtual void SAL_CALL collapseToCurrentArray () override
 
virtual void SAL_CALL collapseToMergedArea () override
 
virtual void SAL_CALL expandToEntireColumns () override
 
virtual void SAL_CALL expandToEntireRows () override
 
virtual void SAL_CALL collapseToSize (sal_Int32 nColumns, sal_Int32 nRows) override
 
virtual void SAL_CALL gotoStartOfUsedArea (sal_Bool bExpand) override
 
virtual void SAL_CALL gotoEndOfUsedArea (sal_Bool bExpand) override
 
virtual void SAL_CALL gotoStart () override
 
virtual void SAL_CALL gotoEnd () override
 
virtual void SAL_CALL gotoNext () override
 
virtual void SAL_CALL gotoPrevious () override
 
virtual void SAL_CALL gotoOffset (sal_Int32 nColumnOffset, sal_Int32 nRowOffset) override
 
virtual css::uno::Reference< css::sheet::XSpreadsheet > SAL_CALL getSpreadsheet () override
 
virtual css::uno::Reference< css::table::XCell > SAL_CALL getCellByPosition (sal_Int32 nColumn, sal_Int32 nRow) override
 
virtual css::uno::Reference< css::table::XCellRange > SAL_CALL getCellRangeByPosition (sal_Int32 nLeft, sal_Int32 nTop, sal_Int32 nRight, sal_Int32 nBottom) override
 
virtual css::uno::Reference< css::table::XCellRange > SAL_CALL getCellRangeByName (const OUString &aRange) 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
 
virtual css::uno::Reference< css::table::XCellRange > SAL_CALL getCellRangeByName (const OUString &aRange) override
 
css::uno::Reference< css::table::XCellRange > getCellRangeByName (const OUString &aRange, const ScAddress::Details &rDetails)
 
- Public Member Functions inherited from ScCellRangeObj
 ScCellRangeObj (ScDocShell *pDocSh, const ScRange &rR)
 
virtual ~ScCellRangeObj () override
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) override
 
virtual void SAL_CALL acquire () noexcept override
 
virtual void SAL_CALL release () noexcept override
 
virtual void RefChanged () override
 
virtual css::table::CellRangeAddress SAL_CALL getRangeAddress () override
 
virtual css::uno::Reference< css::sheet::XSpreadsheet > SAL_CALL getSpreadsheet () override
 
virtual OUString SAL_CALL getArrayFormula () override
 
virtual void SAL_CALL setArrayFormula (const OUString &aFormula) override
 
virtual css::uno::Sequence< css::sheet::FormulaToken > SAL_CALL getArrayTokens () override
 
virtual void SAL_CALL setArrayTokens (const css::uno::Sequence< css::sheet::FormulaToken > &aTokens) override
 
virtual css::uno::Sequence< css::uno::Sequence< css::uno::Any > > SAL_CALL getDataArray () override
 
virtual void SAL_CALL setDataArray (const css::uno::Sequence< css::uno::Sequence< css::uno::Any > > &aArray) override
 
virtual css::uno::Sequence< css::uno::Sequence< OUString > > SAL_CALL getFormulaArray () override
 
virtual void SAL_CALL setFormulaArray (const css::uno::Sequence< css::uno::Sequence< OUString > > &aArray) override
 
virtual void SAL_CALL setTableOperation (const css::table::CellRangeAddress &aFormulaRange, css::sheet::TableOperationMode nMode, const css::table::CellAddress &aColumnCell, const css::table::CellAddress &aRowCell) override
 
virtual void SAL_CALL merge (sal_Bool bMerge) override
 
virtual sal_Bool SAL_CALL getIsMerged () override
 
virtual void SAL_CALL fillSeries (css::sheet::FillDirection nFillDirection, css::sheet::FillMode nFillMode, css::sheet::FillDateMode nFillDateMode, double fStep, double fEndValue) override
 
virtual void SAL_CALL fillAuto (css::sheet::FillDirection nFillDirection, sal_Int32 nSourceCount) override
 
virtual void SAL_CALL autoFormat (const OUString &aName) override
 
virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL createSortDescriptor () override
 
virtual void SAL_CALL sort (const css::uno::Sequence< css::beans::PropertyValue > &xDescriptor) override
 
virtual css::uno::Reference< css::sheet::XSheetFilterDescriptor > SAL_CALL createFilterDescriptorByObject (const css::uno::Reference< css::sheet::XSheetFilterable > &xObject) override
 get/setAutoFilter as properties!!! More...
 
virtual css::uno::Reference< css::sheet::XSheetFilterDescriptor > SAL_CALL createFilterDescriptor (sal_Bool bEmpty) override
 
virtual void SAL_CALL filter (const css::uno::Reference< css::sheet::XSheetFilterDescriptor > &xDescriptor) override
 
virtual css::uno::Reference< css::sheet::XSubTotalDescriptor > SAL_CALL createSubTotalDescriptor (sal_Bool bEmpty) override
 
virtual void SAL_CALL applySubTotals (const css::uno::Reference< css::sheet::XSubTotalDescriptor > &xDescriptor, sal_Bool bReplace) override
 
virtual void SAL_CALL removeSubTotals () override
 
virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL createImportDescriptor (sal_Bool bEmpty) override
 
virtual void SAL_CALL doImport (const css::uno::Sequence< css::beans::PropertyValue > &aDescriptor) override
 
virtual css::uno::Reference< css::container::XIndexAccess > SAL_CALL getCellFormatRanges () override
 
virtual css::uno::Reference< css::container::XIndexAccess > SAL_CALL getUniqueCellFormatRanges () override
 
virtual css::uno::Reference< css::table::XTableColumns > SAL_CALL getColumns () override
 
virtual css::uno::Reference< css::table::XTableRows > SAL_CALL getRows () override
 
virtual css::uno::Reference< css::table::XCell > SAL_CALL getCellByPosition (sal_Int32 nColumn, sal_Int32 nRow) override
 
virtual css::uno::Reference< css::table::XCellRange > SAL_CALL getCellRangeByPosition (sal_Int32 nLeft, sal_Int32 nTop, sal_Int32 nRight, sal_Int32 nBottom) override
 
virtual css::uno::Reference< css::table::XCellRange > SAL_CALL getCellRangeByName (const OUString &aRange) override
 
css::uno::Reference< css::table::XCellRange > getCellRangeByName (const OUString &aRange, const ScAddress::Details &rDetails)
 
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () 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, ScRangeList aR)
 
virtual ~ScCellRangesBase () override
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
 
virtual void RefChanged ()
 
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
 
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
 

Additional Inherited Members

- Static Public Member Functions inherited from ScCellRangeObj
static css::uno::Reference< css::table::XCellRange > CreateRangeFromDoc (const ScDocument &rDoc, const ScRange &rR)
 
- Protected Member Functions inherited from ScCellRangeObj
const ScRangeGetRange () const
 
virtual const SfxItemPropertyMapGetItemPropertyMap () override
 
virtual void GetOnePropertyValue (const SfxItemPropertyMapEntry *pEntry, css::uno::Any &) override
 
virtual void SetOnePropertyValue (const SfxItemPropertyMapEntry *pEntry, const css::uno::Any &aValue) override
 
css::uno::Reference< css::table::XCell > GetCellByPosition_Impl (sal_Int32 nColumn, sal_Int32 nRow)
 are used in Writer for tables ??? More...
 
void SetArrayFormula_Impl (const OUString &rFormula, const formula::FormulaGrammar::Grammar eGrammar)
 
- Protected Member Functions inherited from ScCellRangesBase
const ScMarkDataGetMarkData ()
 
virtual const SfxItemPropertyMapGetItemPropertyMap ()
 
css::beans::PropertyState GetOnePropertyState (sal_uInt16 nItemWhich, const SfxItemPropertyMapEntry *pEntry)
 
virtual void GetOnePropertyValue (const SfxItemPropertyMapEntry *pEntry, css::uno::Any &)
 
virtual void SetOnePropertyValue (const SfxItemPropertyMapEntry *pEntry, const css::uno::Any &aValue)
 

Detailed Description

Definition at line 27 of file cursuno.hxx.

Constructor & Destructor Documentation

◆ ScCellCursorObj()

ScCellCursorObj::ScCellCursorObj ( ScDocShell pDocSh,
const ScRange rR 
)

Definition at line 35 of file cursuno.cxx.

◆ ~ScCellCursorObj()

ScCellCursorObj::~ScCellCursorObj ( )
overridevirtual

Definition at line 40 of file cursuno.cxx.

Member Function Documentation

◆ acquire()

void SAL_CALL ScCellCursorObj::acquire ( )
overridevirtualnoexcept

Reimplemented from ScCellRangeObj.

Definition at line 53 of file cursuno.cxx.

References ScCellRangeObj::acquire().

◆ collapseToCurrentArray()

void SAL_CALL ScCellCursorObj::collapseToCurrentArray ( )
overridevirtual

◆ collapseToCurrentRegion()

void SAL_CALL ScCellCursorObj::collapseToCurrentRegion ( )
overridevirtual

◆ collapseToMergedArea()

void SAL_CALL ScCellCursorObj::collapseToMergedArea ( )
overridevirtual

◆ collapseToSize()

void SAL_CALL ScCellCursorObj::collapseToSize ( sal_Int32  nColumns,
sal_Int32  nRows 
)
overridevirtual

◆ expandToEntireColumns()

void SAL_CALL ScCellCursorObj::expandToEntireColumns ( )
overridevirtual

◆ expandToEntireRows()

void SAL_CALL ScCellCursorObj::expandToEntireRows ( )
overridevirtual

◆ getCellByPosition()

uno::Reference< table::XCell > SAL_CALL ScCellCursorObj::getCellByPosition ( sal_Int32  nColumn,
sal_Int32  nRow 
)
overridevirtual

Reimplemented from ScCellRangeObj.

Definition at line 409 of file cursuno.cxx.

References ScCellRangeObj::getCellByPosition().

◆ getCellRangeByName() [1/3]

uno::Reference< table::XCellRange > SAL_CALL ScCellRangeObj::getCellRangeByName ( const OUString &  aRange)
overridevirtual

Reimplemented from ScCellRangeObj.

Definition at line 615 of file cellsuno.cxx.

◆ getCellRangeByName() [2/3]

uno::Reference< table::XCellRange > SAL_CALL ScCellCursorObj::getCellRangeByName ( const OUString &  aRange)
overridevirtual

Reimplemented from ScCellRangeObj.

Definition at line 423 of file cursuno.cxx.

References ScCellRangeObj::getCellRangeByName().

◆ getCellRangeByName() [3/3]

uno::Reference< table::XCellRange > ScCellRangeObj::getCellRangeByName ( const OUString &  aRange,
const ScAddress::Details rDetails 
)
Exceptions
css::uno::RuntimeException

Definition at line 618 of file cellsuno.cxx.

◆ getCellRangeByPosition()

uno::Reference< table::XCellRange > SAL_CALL ScCellCursorObj::getCellRangeByPosition ( sal_Int32  nLeft,
sal_Int32  nTop,
sal_Int32  nRight,
sal_Int32  nBottom 
)
overridevirtual

Reimplemented from ScCellRangeObj.

Definition at line 416 of file cursuno.cxx.

References ScCellRangeObj::getCellRangeByPosition().

◆ getImplementationId()

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

Reimplemented from ScCellRangeObj.

Definition at line 75 of file cursuno.cxx.

◆ getImplementationName()

OUString SAL_CALL ScCellCursorObj::getImplementationName ( )
overridevirtual

Reimplemented from ScCellRangeObj.

Definition at line 432 of file cursuno.cxx.

◆ getSpreadsheet()

uno::Reference< sheet::XSpreadsheet > SAL_CALL ScCellCursorObj::getSpreadsheet ( )
overridevirtual

Reimplemented from ScCellRangeObj.

Definition at line 401 of file cursuno.cxx.

References ScCellRangeObj::getSpreadsheet().

◆ getSupportedServiceNames()

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

◆ getTypes()

uno::Sequence< uno::Type > SAL_CALL ScCellCursorObj::getTypes ( )
overridevirtual

◆ gotoEnd()

void SAL_CALL ScCellCursorObj::gotoEnd ( )
overridevirtual

◆ gotoEndOfUsedArea()

void SAL_CALL ScCellCursorObj::gotoEndOfUsedArea ( sal_Bool  bExpand)
overridevirtual

◆ gotoNext()

void SAL_CALL ScCellCursorObj::gotoNext ( )
overridevirtual

◆ gotoOffset()

void SAL_CALL ScCellCursorObj::gotoOffset ( sal_Int32  nColumnOffset,
sal_Int32  nRowOffset 
)
overridevirtual

◆ gotoPrevious()

void SAL_CALL ScCellCursorObj::gotoPrevious ( )
overridevirtual

◆ gotoStart()

void SAL_CALL ScCellCursorObj::gotoStart ( )
overridevirtual

◆ gotoStartOfUsedArea()

void SAL_CALL ScCellCursorObj::gotoStartOfUsedArea ( sal_Bool  bExpand)
overridevirtual

◆ queryInterface()

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

Reimplemented from ScCellRangeObj.

Definition at line 44 of file cursuno.cxx.

References ScCellRangeObj::queryInterface(), and SC_QUERYINTERFACE.

◆ release()

void SAL_CALL ScCellCursorObj::release ( )
overridevirtualnoexcept

Reimplemented from ScCellRangeObj.

Definition at line 58 of file cursuno.cxx.

References ScCellRangeObj::release().

◆ supportsService()

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

Reimplemented from ScCellRangeObj.

Definition at line 437 of file cursuno.cxx.

References cppu::supportsService().


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