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
 

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)
 

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

and then?

really?

error/exception or so, if too big/small

really?

Definition at line 183 of file cursuno.cxx.

References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), ScRange::PutInOrder(), ScAddress::Row(), ScAddress::SetCol(), ScAddress::SetRow(), and ScRangeList::size().

◆ expandToEntireColumns()

void SAL_CALL ScCellCursorObj::expandToEntireColumns ( )
overridevirtual

Definition at line 157 of file cursuno.cxx.

References ScRange::aEnd, ScRange::aStart, ScAddress::SetRow(), and ScRangeList::size().

◆ expandToEntireRows()

void SAL_CALL ScCellCursorObj::expandToEntireRows ( )
overridevirtual

Definition at line 170 of file cursuno.cxx.

References ScRange::aEnd, ScRange::aStart, ScAddress::SetCol(), and ScRangeList::size().

◆ 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 610 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 613 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

something like gotoEdge with 4 possible directions is needed

Definition at line 303 of file cursuno.cxx.

References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), ScDocument::GetDataArea(), ScDocShell::GetDocument(), ScRange::PutInOrder(), ScAddress::Row(), ScRangeList::size(), and ScAddress::Tab().

◆ 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

something like gotoEdge with 4 possible directions is needed

Definition at line 275 of file cursuno.cxx.

References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), ScDocument::GetDataArea(), ScDocShell::GetDocument(), ScRange::PutInOrder(), ScAddress::Row(), ScRangeList::size(), and ScAddress::Tab().

◆ 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: