LibreOffice Module sc (master) 1
|
#include <doubleref.hxx>
Public Member Functions | |
ScDBInternalRange (ScDocument *pDoc, const ScRange &rRange) | |
virtual | ~ScDBInternalRange () override |
const ScRange & | getRange () const |
virtual SCCOL | getColSize () const override |
virtual SCROW | getRowSize () const override |
virtual SCSIZE | getVisibleDataCellCount () const override |
virtual OUString | getString (SCCOL nCol, SCROW nRow) const override |
Get a string value of a specified cell position. More... | |
virtual SCCOL | getFirstFieldColumn () const override |
virtual SCCOL | findFieldColumn (SCCOL nIndex) const override |
Get a 0-based column index that corresponds with the passed field index. More... | |
virtual SCCOL | findFieldColumn (const OUString &rStr, FormulaError *pErr=nullptr) const override |
virtual std::unique_ptr< ScDBQueryParamBase > | createQueryParam (const ScDBRangeBase *pQueryRef) const override |
virtual bool | isRangeEqual (const ScRange &rRange) const override |
Public Member Functions inherited from ScDBRangeBase | |
ScDBRangeBase ()=delete | |
virtual | ~ScDBRangeBase ()=0 |
bool | fillQueryEntries (ScQueryParamBase *pParam, const ScDBRangeBase *pDBRef) const |
virtual SCCOL | getColSize () const =0 |
virtual SCROW | getRowSize () const =0 |
virtual SCSIZE | getVisibleDataCellCount () const =0 |
virtual OUString | getString (SCCOL nCol, SCROW nRow) const =0 |
Get a string value of a specified cell position. More... | |
virtual SCCOL | getFirstFieldColumn () const =0 |
virtual SCCOL | findFieldColumn (SCCOL nIndex) const =0 |
Get a 0-based column index that corresponds with the passed field index. More... | |
virtual SCCOL | findFieldColumn (const OUString &rStr, FormulaError *pErr=nullptr) const =0 |
virtual std::unique_ptr< ScDBQueryParamBase > | createQueryParam (const ScDBRangeBase *pQueryRef) const =0 |
virtual bool | isRangeEqual (const ScRange &rRange) const =0 |
Private Attributes | |
ScRange | maRange |
Additional Inherited Members | |
Protected Member Functions inherited from ScDBRangeBase | |
ScDBRangeBase (ScDocument *pDoc) | |
ScDocument * | getDoc () const |
Static Protected Member Functions inherited from ScDBRangeBase | |
static void | fillQueryOptions (ScQueryParamBase *pParam) |
Populate query options that are always the same for all database queries. More... | |
Definition at line 91 of file doubleref.hxx.
|
explicit |
Definition at line 276 of file doubleref.cxx.
References maRange.
|
overridevirtual |
Definition at line 281 of file doubleref.cxx.
|
overridevirtual |
Implements ScDBRangeBase.
Definition at line 361 of file doubleref.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), ScDBRangeBase::fillQueryEntries(), ScDBRangeBase::fillQueryOptions(), maRange, ScAddress::Row(), and ScAddress::Tab().
|
overridevirtual |
Implements ScDBRangeBase.
Definition at line 330 of file doubleref.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), ScDBRangeBase::getDoc(), ScDocument::GetStringForFormula(), ScGlobal::GetTransliteration(), ScAddress::IncCol(), utl::TransliterationWrapper::isEqual(), maRange, ScAddress::Row(), and ScAddress::Tab().
Get a 0-based column index that corresponds with the passed field index.
Note that the field index passed as the 1st parameter is 1-based.
nIndex | 1-based field index. |
Implements ScDBRangeBase.
Definition at line 319 of file doubleref.cxx.
References ScRange::aStart, ScAddress::Col(), getRange(), and nIndex.
|
overridevirtual |
Implements ScDBRangeBase.
Definition at line 285 of file doubleref.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), and maRange.
Referenced by getVisibleDataCellCount().
|
overridevirtual |
Implements ScDBRangeBase.
Definition at line 314 of file doubleref.cxx.
References ScRange::aStart, ScAddress::Col(), and getRange().
|
inline |
Definition at line 97 of file doubleref.hxx.
References maRange.
Referenced by findFieldColumn(), and getFirstFieldColumn().
|
overridevirtual |
Implements ScDBRangeBase.
Definition at line 290 of file doubleref.cxx.
References ScRange::aEnd, ScRange::aStart, maRange, and ScAddress::Row().
Referenced by getVisibleDataCellCount().
Get a string value of a specified cell position.
Note that the position of the upper left cell of the range is always (0, 0) even if the reference type is of internal range.
nCol | column position (0 to column size-1) |
nRow | row position (0 to row size-1) |
Implements ScDBRangeBase.
Definition at line 305 of file doubleref.cxx.
References ScRange::aStart, ScAddress::Col(), ScDBRangeBase::getDoc(), ScDocument::GetInputString(), maRange, ScAddress::Row(), and ScAddress::Tab().
|
overridevirtual |
Implements ScDBRangeBase.
Definition at line 295 of file doubleref.cxx.
References getColSize(), and getRowSize().
|
overridevirtual |
|
private |
Definition at line 131 of file doubleref.hxx.
Referenced by createQueryParam(), findFieldColumn(), getColSize(), getRange(), getRowSize(), getString(), and isRangeEqual().