LibreOffice Module sc (master) 1
|
#include <sortparam.hxx>
Public Member Functions | |
void | reverse () |
Reorder the position indices such that it can be used to undo the original reordering. More... | |
ReorderParam () | |
Public Attributes | |
ScRange | maSortRange |
This sort range already takes into account the presence or absence of header row / column i.e. More... | |
ScDataAreaExtras | maDataAreaExtras |
std::vector< SCCOLROW > | maOrderIndices |
List of original column / row positions after reordering. More... | |
bool | mbByRow |
bool | mbHiddenFiltered |
bool | mbUpdateRefs |
bool | mbHasHeaders |
Definition at line 153 of file sortparam.hxx.
|
inline |
Definition at line 178 of file sortparam.hxx.
void sc::ReorderParam::reverse | ( | ) |
Reorder the position indices such that it can be used to undo the original reordering.
Definition at line 281 of file sortparam.cxx.
References ScRange::aStart, ScAddress::Col(), i, maOrderIndices, maSortRange, mbByRow, n, and ScAddress::Row().
Referenced by sc::UndoSort::Execute().
ScDataAreaExtras sc::ReorderParam::maDataAreaExtras |
Definition at line 161 of file sortparam.hxx.
Referenced by ScTable::CreateSortInfoArray(), sc::UndoSort::Execute(), ScTable::Reorder(), and ScTable::Sort().
std::vector<SCCOLROW> sc::ReorderParam::maOrderIndices |
List of original column / row positions after reordering.
Definition at line 166 of file sortparam.hxx.
Referenced by ScTable::Reorder(), reverse(), and ScTable::Sort().
ScRange sc::ReorderParam::maSortRange |
This sort range already takes into account the presence or absence of header row / column i.e.
if a header row / column is present, it excludes that row / column.
Definition at line 160 of file sortparam.hxx.
Referenced by ScTable::CreateSortInfoArray(), sc::UndoSort::Execute(), ScDocument::Reorder(), ScTable::Reorder(), reverse(), and ScTable::Sort().
bool sc::ReorderParam::mbByRow |
Definition at line 167 of file sortparam.hxx.
Referenced by ScTable::CreateSortInfoArray(), sc::UndoSort::Execute(), ScTable::Reorder(), reverse(), and ScTable::Sort().
bool sc::ReorderParam::mbHasHeaders |
Definition at line 170 of file sortparam.hxx.
Referenced by sc::UndoSort::Execute(), and ScTable::Sort().
bool sc::ReorderParam::mbHiddenFiltered |
Definition at line 168 of file sortparam.hxx.
Referenced by ScTable::CreateSortInfoArray(), and ScTable::Sort().
bool sc::ReorderParam::mbUpdateRefs |
Definition at line 169 of file sortparam.hxx.
Referenced by ScTable::CreateSortInfoArray(), sc::UndoSort::Execute(), and ScTable::Sort().