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 (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 231 of file table3.cxx.
typedef std::vector<Row> ScSortInfoArray::RowsType |
Definition at line 256 of file table3.cxx.
|
delete |
Definition at line 273 of file table3.cxx.
References i, maOrderIndices, mvppInfo, nCount, and nStart.
|
inline |
Call this only during normal sorting, not from reordering.
Definition at line 312 of file table3.cxx.
References mvppInfo, and nStart.
Referenced by ScTable::Compare().
|
inline |
Definition at line 389 of file table3.cxx.
References mpRows.
|
inline |
Call this only during normal sorting, not from reordering.
Definition at line 304 of file table3.cxx.
References mvppInfo.
|
inline |
Definition at line 378 of file table3.cxx.
References mnLastIndex.
Referenced by ScTable::SortReorderAreaExtrasByColumn(), ScTable::SortReorderAreaExtrasByRow(), ScTable::SortReorderByColumn(), ScTable::SortReorderByRow(), and ScTable::SortReorderByRowRefUpdate().
|
inline |
Definition at line 380 of file table3.cxx.
References maOrderIndices.
Referenced by ScTable::SortReorderByColumn(), and ScTable::SortReorderByRowRefUpdate().
|
inline |
Definition at line 377 of file table3.cxx.
References nStart.
Referenced by ScTable::SortReorderAreaExtrasByColumn(), ScTable::SortReorderAreaExtrasByRow(), ScTable::SortReorderByColumn(), ScTable::SortReorderByRow(), and ScTable::SortReorderByRowRefUpdate().
|
inline |
Definition at line 375 of file table3.cxx.
References mvppInfo.
|
inline |
Definition at line 382 of file table3.cxx.
References mpRows.
|
inline |
Definition at line 295 of file table3.cxx.
References mbKeepQuery.
Referenced by ScTable::SortReorderByRow(), and ScTable::SortReorderByRowRefUpdate().
|
inline |
Definition at line 299 of file table3.cxx.
References mbUpdateRefs.
Referenced by ScTable::SortReorderByColumn(), ScTable::SortReorderByRow(), and ScTable::SortReorderByRowRefUpdate().
|
delete |
|
inline |
rIndices | indices are actual row positions on the sheet, not an offset from the top row. |
Definition at line 351 of file table3.cxx.
References maOrderIndices, mpRows, nPos, and nStart.
|
inline |
Definition at line 293 of file table3.cxx.
References mbKeepQuery.
|
inline |
Definition at line 342 of file table3.cxx.
References maOrderIndices.
|
inline |
Definition at line 297 of file table3.cxx.
References mbUpdateRefs.
Call this only during normal sorting, not from reordering.
Definition at line 320 of file table3.cxx.
References maOrderIndices, mpRows, mvppInfo, n1, n2, and nStart.
Referenced by ScTable::DecoladeRow(), and ScTable::QuickSort().
|
private |
index of last non-empty cell position.
Definition at line 265 of file table3.cxx.
Referenced by GetOrderIndices(), ReorderByRow(), ScSortInfoArray(), SetOrderIndices(), and Swap().
|
private |
Definition at line 266 of file table3.cxx.
Referenced by IsKeepQuery(), and SetKeepQuery().
|
private |
Definition at line 267 of file table3.cxx.
Referenced by IsUpdateRefs(), and SetUpdateRefs().
|
private |
Definition at line 263 of file table3.cxx.
Referenced by GetLast().
|
private |
Definition at line 259 of file table3.cxx.
Referenced by GetDataRows(), InitDataRows(), ReorderByRow(), and Swap().
|
private |
row-wise data table for sort by row operation.
Definition at line 261 of file table3.cxx.
Referenced by Get(), GetFirstArray(), GetUsedSorts(), ScSortInfoArray(), and Swap().
|
private |
Definition at line 262 of file table3.cxx.
Referenced by Get(), GetStart(), ReorderByRow(), ScSortInfoArray(), and Swap().