LibreOffice Module sc (master) 1
|
#include <cursuno.hxx>
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 ScRange & | GetRange () const |
virtual const SfxItemPropertyMap & | GetItemPropertyMap () 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) |
Definition at line 27 of file cursuno.hxx.
ScCellCursorObj::ScCellCursorObj | ( | ScDocShell * | pDocSh, |
const ScRange & | rR | ||
) |
Definition at line 35 of file cursuno.cxx.
|
overridevirtual |
Definition at line 40 of file cursuno.cxx.
|
overridevirtualnoexcept |
Reimplemented from ScCellRangeObj.
Definition at line 53 of file cursuno.cxx.
References ScCellRangeObj::acquire().
|
overridevirtual |
Definition at line 107 of file cursuno.cxx.
References ScRange::aStart, ScDocShell::GetDocument(), ScDocument::GetMatrixFormulaRange(), ScRange::PutInOrder(), and ScRangeList::size().
|
overridevirtual |
Definition at line 82 of file cursuno.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), ScDocument::GetDataArea(), ScDocShell::GetDocument(), ScRange::PutInOrder(), ScAddress::Row(), ScRangeList::size(), and ScAddress::Tab().
|
overridevirtual |
Definition at line 139 of file cursuno.cxx.
References ScDocument::ExtendMerge(), ScDocument::ExtendOverlapped(), ScDocShell::GetDocument(), and ScRangeList::size().
|
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().
|
overridevirtual |
Definition at line 157 of file cursuno.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::SetRow(), and ScRangeList::size().
|
overridevirtual |
Definition at line 170 of file cursuno.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::SetCol(), and ScRangeList::size().
|
overridevirtual |
Reimplemented from ScCellRangeObj.
Definition at line 409 of file cursuno.cxx.
References ScCellRangeObj::getCellByPosition().
|
overridevirtual |
Reimplemented from ScCellRangeObj.
Definition at line 610 of file cellsuno.cxx.
|
overridevirtual |
Reimplemented from ScCellRangeObj.
Definition at line 423 of file cursuno.cxx.
References ScCellRangeObj::getCellRangeByName().
uno::Reference< table::XCellRange > ScCellRangeObj::getCellRangeByName | ( | const OUString & | aRange, |
const ScAddress::Details & | rDetails | ||
) |
css::uno::RuntimeException |
Definition at line 613 of file cellsuno.cxx.
|
overridevirtual |
Reimplemented from ScCellRangeObj.
Definition at line 416 of file cursuno.cxx.
References ScCellRangeObj::getCellRangeByPosition().
|
overridevirtual |
Reimplemented from ScCellRangeObj.
Definition at line 75 of file cursuno.cxx.
|
overridevirtual |
Reimplemented from ScCellRangeObj.
Definition at line 432 of file cursuno.cxx.
|
overridevirtual |
Reimplemented from ScCellRangeObj.
Definition at line 401 of file cursuno.cxx.
References ScCellRangeObj::getSpreadsheet().
|
overridevirtual |
Reimplemented from ScCellRangeObj.
Definition at line 442 of file cursuno.cxx.
References ScCellRangeObj::getSupportedServiceNames(), SCCELLCURSOR_SERVICE, and SCSHEETCELLCURSOR_SERVICE.
|
overridevirtual |
Reimplemented from ScCellRangeObj.
Definition at line 63 of file cursuno.cxx.
References comphelper::concatSequences(), cppu::UnoType< typename T >::get(), and ScCellRangeObj::getTypes().
|
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().
|
overridevirtual |
Definition at line 246 of file cursuno.cxx.
References ScRange::aEnd, ScRange::aStart, ScDocShell::GetDocument(), ScDocument::GetTableArea(), ScAddress::SetCol(), ScAddress::SetRow(), ScRangeList::size(), and ScAddress::Tab().
|
overridevirtual |
otherwise exception or so
Definition at line 331 of file cursuno.cxx.
References ScRange::aStart, ScAddress::Col(), ScDocShell::GetDocument(), ScDocument::GetNextPos(), ScRange::PutInOrder(), ScAddress::Row(), ScRangeList::size(), and ScAddress::Tab().
|
overridevirtual |
Definition at line 375 of file cursuno.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), ScRange::PutInOrder(), ScAddress::Row(), ScRangeList::size(), and ScAddress::Tab().
|
overridevirtual |
otherwise exception or so
Definition at line 353 of file cursuno.cxx.
References ScRange::aStart, ScAddress::Col(), ScDocShell::GetDocument(), ScDocument::GetNextPos(), ScRange::PutInOrder(), ScAddress::Row(), ScRangeList::size(), and ScAddress::Tab().
|
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().
|
overridevirtual |
Definition at line 219 of file cursuno.cxx.
References ScRange::aEnd, ScRange::aStart, ScDocument::GetDataStart(), ScDocShell::GetDocument(), ScAddress::SetCol(), ScAddress::SetRow(), ScRangeList::size(), and ScAddress::Tab().
|
overridevirtual |
Reimplemented from ScCellRangeObj.
Definition at line 44 of file cursuno.cxx.
References ScCellRangeObj::queryInterface(), and SC_QUERYINTERFACE.
|
overridevirtualnoexcept |
Reimplemented from ScCellRangeObj.
Definition at line 58 of file cursuno.cxx.
References ScCellRangeObj::release().
|
overridevirtual |
Reimplemented from ScCellRangeObj.
Definition at line 437 of file cursuno.cxx.
References cppu::supportsService().