LibreOffice Module sc (master)
1
|
Classes | |
struct | Cell |
struct | Row |
Public Types | |
typedef std::vector< Row > | RowsType |
Public Member Functions | |
ScSortInfoArray (const ScSortInfoArray &)=delete | |
const ScSortInfoArray & | operator= (const ScSortInfoArray &)=delete |
ScSortInfoArray (sal_uInt16 nSorts, SCCOLROW nInd1, SCCOLROW nInd2) | |
void | SetKeepQuery (bool b) |
bool | IsKeepQuery () const |
void | SetUpdateRefs (bool b) |
bool | IsUpdateRefs () const |
std::unique_ptr< ScSortInfo[]> const & | GetFirstArray () const |
Call this only during normal sorting, not from reordering. More... | |
ScSortInfo & | Get (sal_uInt16 nSort, SCCOLROW nInd) |
Call this only during normal sorting, not from reordering. More... | |
void | Swap (SCCOLROW nInd1, SCCOLROW nInd2) |
Call this only during normal sorting, not from reordering. More... | |
void | SetOrderIndices (const std::vector< SCCOLROW > &rIndices) |
void | ReorderByRow (const std::vector< SCCOLROW > &rIndices) |
sal_uInt16 | GetUsedSorts () const |
SCCOLROW | GetStart () const |
SCCOLROW | GetLast () const |
const std::vector< SCCOLROW > & | GetOrderIndices () const |
RowsType & | InitDataRows (size_t nRowSize, size_t nColSize) |
RowsType * | GetDataRows () |
Private Attributes | |
std::unique_ptr< RowsType > | mpRows |
std::vector< std::unique_ptr< ScSortInfo[]> > | mvppInfo |
row-wise data table for sort by row operation. More... | |
SCCOLROW | nStart |
SCCOLROW | mnLastIndex |
std::vector< SCCOLROW > | maOrderIndices |
index of last non-empty cell position. More... | |
bool | mbKeepQuery |
bool | mbUpdateRefs |
Definition at line 232 of file table3.cxx.
typedef std::vector<Row> ScSortInfoArray::RowsType |
Definition at line 257 of file table3.cxx.
|
delete |
Definition at line 274 of file table3.cxx.
|
inline |
Call this only during normal sorting, not from reordering.
Definition at line 313 of file table3.cxx.
References nStart.
Referenced by ScTable::Compare().
|
inline |
Definition at line 390 of file table3.cxx.
|
inline |
Call this only during normal sorting, not from reordering.
Definition at line 305 of file table3.cxx.
|
inline |
Definition at line 379 of file table3.cxx.
References mnLastIndex.
Referenced by ScTable::SortReorderByColumn(), ScTable::SortReorderByRow(), and ScTable::SortReorderByRowRefUpdate().
|
inline |
Definition at line 381 of file table3.cxx.
References maOrderIndices.
Referenced by ScTable::SortReorderByColumn(), and ScTable::SortReorderByRowRefUpdate().
|
inline |
Definition at line 378 of file table3.cxx.
References nStart.
Referenced by ScTable::SortReorderByColumn(), ScTable::SortReorderByRow(), and ScTable::SortReorderByRowRefUpdate().
|
inline |
Definition at line 376 of file table3.cxx.
|
inline |
Definition at line 383 of file table3.cxx.
References mpRows.
|
inline |
Definition at line 296 of file table3.cxx.
References mbKeepQuery.
Referenced by ScTable::SortReorderByRow(), and ScTable::SortReorderByRowRefUpdate().
|
inline |
Definition at line 300 of file table3.cxx.
References mbUpdateRefs.
Referenced by ScTable::SortReorderByColumn(), ScTable::SortReorderByRow(), and ScTable::SortReorderByRowRefUpdate().
|
delete |
rIndices | indices are actual row positions on the sheet, not an offset from the top row. |
Definition at line 352 of file table3.cxx.
|
inline |
Definition at line 294 of file table3.cxx.
Definition at line 343 of file table3.cxx.
|
inline |
Definition at line 298 of file table3.cxx.
Call this only during normal sorting, not from reordering.
Definition at line 321 of file table3.cxx.
References mpRows, n1, n2, and nStart.
Referenced by ScTable::DecoladeRow(), and ScTable::QuickSort().
|
private |
index of last non-empty cell position.
Definition at line 266 of file table3.cxx.
Referenced by GetOrderIndices().
|
private |
Definition at line 267 of file table3.cxx.
Referenced by IsKeepQuery().
|
private |
Definition at line 268 of file table3.cxx.
Referenced by IsUpdateRefs().
|
private |
Definition at line 264 of file table3.cxx.
Referenced by GetLast().
|
private |
Definition at line 260 of file table3.cxx.
Referenced by InitDataRows(), ReorderByRow(), and Swap().
|
private |
row-wise data table for sort by row operation.
Definition at line 262 of file table3.cxx.
|
private |
Definition at line 263 of file table3.cxx.
Referenced by Get(), GetStart(), ReorderByRow(), and Swap().