LibreOffice Module sc (master) 1
|
#include <doubleref.hxx>
Public Member Functions | |
ScDBExternalRange (ScDocument *pDoc, ScMatrixRef pMat) | |
virtual | ~ScDBExternalRange () override |
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 | |
const ScMatrixRef | mpMatrix |
SCCOL | mnCols |
SCROW | mnRows |
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 134 of file doubleref.hxx.
|
explicit |
Definition at line 388 of file doubleref.cxx.
|
overridevirtual |
Definition at line 397 of file doubleref.cxx.
|
overridevirtual |
Implements ScDBRangeBase.
Definition at line 456 of file doubleref.cxx.
References ScDBRangeBase::fillQueryEntries(), ScDBRangeBase::fillQueryOptions(), and mpMatrix.
|
overridevirtual |
Implements ScDBRangeBase.
Definition at line 439 of file doubleref.cxx.
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 434 of file doubleref.cxx.
References nIndex.
|
overridevirtual |
Implements ScDBRangeBase.
Definition at line 401 of file doubleref.cxx.
References mnCols.
Referenced by getVisibleDataCellCount().
|
overridevirtual |
Implements ScDBRangeBase.
Definition at line 429 of file doubleref.cxx.
|
overridevirtual |
Implements ScDBRangeBase.
Definition at line 406 of file doubleref.cxx.
References mnRows.
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 421 of file doubleref.cxx.
|
overridevirtual |
Implements ScDBRangeBase.
Definition at line 411 of file doubleref.cxx.
References getColSize(), and getRowSize().
|
overridevirtual |
Implements ScDBRangeBase.
Definition at line 469 of file doubleref.cxx.
|
private |
Definition at line 174 of file doubleref.hxx.
Referenced by findFieldColumn(), getColSize(), getString(), and ScDBExternalRange().
|
private |
Definition at line 175 of file doubleref.hxx.
Referenced by getRowSize(), getString(), and ScDBExternalRange().
|
private |
Definition at line 173 of file doubleref.hxx.
Referenced by createQueryParam(), findFieldColumn(), getString(), and ScDBExternalRange().