LibreOffice Module sc (master)
1
|
#include <doubleref.hxx>
Public Member Functions | |
ScDBExternalRange (ScDocument *pDoc, const 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 |
![]() | |
ScDBRangeBase ()=delete | |
virtual | ~ScDBRangeBase ()=0 |
bool | fillQueryEntries (ScQueryParamBase *pParam, const ScDBRangeBase *pDBRef) const |
Private Attributes | |
const ScMatrixRef | mpMatrix |
SCCOL | mnCols |
SCROW | mnRows |
Additional Inherited Members | |
![]() | |
ScDBRangeBase (ScDocument *pDoc) | |
ScDocument * | getDoc () const |
![]() | |
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 389 of file doubleref.cxx.
|
overridevirtual |
Definition at line 398 of file doubleref.cxx.
|
overridevirtual |
Implements ScDBRangeBase.
Definition at line 457 of file doubleref.cxx.
References ScDBRangeBase::fillQueryEntries(), ScDBRangeBase::fillQueryOptions(), and mpMatrix.
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 435 of file doubleref.cxx.
|
overridevirtual |
Implements ScDBRangeBase.
Definition at line 440 of file doubleref.cxx.
|
overridevirtual |
Implements ScDBRangeBase.
Definition at line 402 of file doubleref.cxx.
References mnCols.
Referenced by getVisibleDataCellCount().
|
overridevirtual |
Implements ScDBRangeBase.
Definition at line 430 of file doubleref.cxx.
|
overridevirtual |
Implements ScDBRangeBase.
Definition at line 407 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 422 of file doubleref.cxx.
|
overridevirtual |
Implements ScDBRangeBase.
Definition at line 412 of file doubleref.cxx.
References getColSize(), and getRowSize().
|
overridevirtual |
Implements ScDBRangeBase.
Definition at line 470 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().