LibreOffice Module sc (master) 1
|
#include <sortparam.hxx>
Public Member Functions | |
ScSortParam () | |
ScSortParam (const ScSortParam &r) | |
ScSortParam (const ScSubTotalParam &rSub, const ScSortParam &rOld) | |
SubTotals sort. More... | |
ScSortParam (const ScQueryParam &, SCCOL nCol) | |
TopTen sort. More... | |
~ScSortParam () | |
ScSortParam & | operator= (const ScSortParam &r) |
bool | operator== (const ScSortParam &rOther) const |
void | Clear () |
void | MoveToDest () |
sal_uInt16 | GetSortKeyCount () const |
Public Attributes | |
SCCOL | nCol1 |
SCROW | nRow1 |
SCCOL | nCol2 |
SCROW | nRow2 |
ScDataAreaExtras | aDataAreaExtras |
sal_uInt16 | nUserIndex |
bool | bHasHeader |
bool | bByRow |
bool | bCaseSens |
bool | bNaturalSort |
bool | bUserDef |
bool | bInplace |
SCTAB | nDestTab |
SCCOL | nDestCol |
SCROW | nDestRow |
::std::vector< ScSortKeyState > | maKeyState |
css::lang::Locale | aCollatorLocale |
OUString | aCollatorAlgorithm |
sal_uInt16 | nCompatHeader |
Definition at line 112 of file sortparam.hxx.
ScSortParam::ScSortParam | ( | ) |
Definition at line 30 of file sortparam.cxx.
References Clear().
ScSortParam::ScSortParam | ( | const ScSortParam & | r | ) |
Definition at line 35 of file sortparam.cxx.
ScSortParam::ScSortParam | ( | const ScSubTotalParam & | rSub, |
const ScSortParam & | rOld | ||
) |
SubTotals sort.
Definition at line 157 of file sortparam.cxx.
References ScSortKeyState::aColorSortMode, aDataAreaExtras, ScSortKeyState::bAscending, ScSubTotalParam::bAscending, ScSortKeyState::bDoSort, ScSubTotalParam::bDoSort, ScSubTotalParam::bGroupActive, ScSubTotalParam::bIncludePattern, GetSortKeyCount(), i, maKeyState, MAXSUBTOTAL, ScDataAreaExtras::mbCellFormats, ScSortKeyState::nField, ScSubTotalParam::nField, None, and ScDataAreaExtras::resetArea().
ScSortParam::ScSortParam | ( | const ScQueryParam & | rParam, |
SCCOL | nCol | ||
) |
TopTen sort.
Definition at line 207 of file sortparam.cxx.
References ScSortKeyState::aColorSortMode, aDataAreaExtras, ScSortKeyState::bAscending, ScSortKeyState::bDoSort, GetSortKeyCount(), i, maKeyState, ScDataAreaExtras::mbCellDrawObjects, ScSortKeyState::nField, and None.
ScSortParam::~ScSortParam | ( | ) |
Definition at line 50 of file sortparam.cxx.
void ScSortParam::Clear | ( | ) |
Definition at line 52 of file sortparam.cxx.
References aCollatorAlgorithm, aCollatorLocale, ScSortKeyState::aColorSortMode, aDataAreaExtras, ScSortKeyState::bAscending, bByRow, bCaseSens, ScSortKeyState::bDoSort, bHasHeader, bInplace, bNaturalSort, bUserDef, DEFSORT, maKeyState, ScDataAreaExtras::mbCellDrawObjects, ScDataAreaExtras::mbCellFormats, nCol1, nCol2, nCompatHeader, nDestCol, nDestRow, nDestTab, ScSortKeyState::nField, None, nRow1, nRow2, and nUserIndex.
Referenced by ScSortParam().
|
inline |
Definition at line 148 of file sortparam.hxx.
Referenced by ScTable::Compare(), ScXMLDatabaseRangeContext::ConvertToDBData(), ScCellRangeObj::createSortDescriptor(), ScTable::CreateSortInfoArray(), ScCellShell::ExecuteDB(), ScTabPageSortFields::FillItemSet(), ScSortDescriptor::FillProperties(), ScSortDescriptor::FillSortParam(), oox::xls::AutoFilter::finalizeImport(), ScDatabaseRangeObj::getSortDescriptor(), MoveToDest(), operator==(), ScTabPageSortFields::Reset(), ScSortParam(), ScCellRangeObj::sort(), ScDBDocFunc::Sort(), ScGridWindow::UpdateAutoFilterFromMenu(), and writeSort().
void ScSortParam::MoveToDest | ( | ) |
Definition at line 234 of file sortparam.cxx.
References bByRow, bInplace, GetSortKeyCount(), i, maKeyState, nCol1, nCol2, nDestCol, nDestRow, nRow1, and nRow2.
Referenced by ScDBDocFunc::Sort().
ScSortParam & ScSortParam::operator= | ( | const ScSortParam & | r | ) |
Definition at line 78 of file sortparam.cxx.
References aCollatorAlgorithm, aCollatorLocale, aDataAreaExtras, bByRow, bCaseSens, bHasHeader, bInplace, bNaturalSort, bUserDef, maKeyState, nCol1, nCol2, nCompatHeader, nDestCol, nDestRow, nDestTab, nRow1, nRow2, and nUserIndex.
bool ScSortParam::operator== | ( | const ScSortParam & | rOther | ) | const |
Definition at line 103 of file sortparam.cxx.
References aCollatorAlgorithm, aCollatorLocale, aDataAreaExtras, bByRow, bCaseSens, bHasHeader, bInplace, bNaturalSort, bUserDef, GetSortKeyCount(), i, maKeyState, nCol1, nCol2, nDestCol, nDestRow, nDestTab, nRow1, nRow2, and nUserIndex.
OUString ScSortParam::aCollatorAlgorithm |
Definition at line 132 of file sortparam.hxx.
Referenced by Clear(), ScTabPageSortOptions::FillItemSet(), ScSortDescriptor::FillProperties(), ScSortDescriptor::FillSortParam(), ScTable::InitSortCollator(), operator=(), operator==(), ScTabPageSortOptions::Reset(), and writeSort().
css::lang::Locale ScSortParam::aCollatorLocale |
Definition at line 131 of file sortparam.hxx.
Referenced by Clear(), ScTabPageSortOptions::FillItemSet(), ScSortDescriptor::FillProperties(), ScSortDescriptor::FillSortParam(), ScTable::InitSortCollator(), operator=(), operator==(), ScTabPageSortOptions::Reset(), and writeSort().
ScDataAreaExtras ScSortParam::aDataAreaExtras |
Definition at line 118 of file sortparam.hxx.
Referenced by Clear(), ScTable::CreateSortInfoArray(), ScCellShell::ExecuteDB(), ScTabPageSortOptions::FillItemSet(), ScSortDescriptor::FillProperties(), ScSortDescriptor::FillSortParam(), operator=(), operator==(), ScTabPageSortOptions::Reset(), ScSortParam(), ScTable::Sort(), ScDBDocFunc::Sort(), ScGridWindow::UpdateAutoFilterFromMenu(), and writeSort().
bool ScSortParam::bByRow |
Definition at line 121 of file sortparam.hxx.
Referenced by ScTabPageSortFields::ActivatePage(), ScTabPageSortOptions::ActivatePage(), Clear(), ScTable::Compare(), ScXMLDatabaseRangeContext::ConvertToDBData(), ScCellRangeObj::createSortDescriptor(), ScTable::CreateSortInfoArray(), ScCellShell::ExecuteDB(), ScTabPageSortFields::FillFieldLists(), ScTabPageSortFields::FillItemSet(), ScSortDescriptor::FillProperties(), ScSortDescriptor::FillSortParam(), oox::xls::AutoFilter::finalizeImport(), ScDatabaseRangeObj::getSortDescriptor(), ScDBData::GetSortParam(), MoveToDest(), operator=(), operator==(), ScTabPageSortFields::Reset(), ScDBData::SetSortParam(), ScVbaRange::Sort(), ScCellRangeObj::sort(), ScTable::Sort(), ScDBDocFunc::Sort(), ScGridWindow::UpdateAutoFilterFromMenu(), and writeSort().
bool ScSortParam::bCaseSens |
Definition at line 122 of file sortparam.hxx.
Referenced by Clear(), ScTable::CompareCell(), ScCellShell::ExecuteDB(), ScTabPageSortOptions::FillItemSet(), ScSortDescriptor::FillProperties(), ScSortDescriptor::FillSortParam(), ScTable::InitSortCollator(), operator=(), operator==(), ScTabPageSortOptions::Reset(), ScVbaRange::Sort(), ScGridWindow::UpdateAutoFilterFromMenu(), and writeSort().
bool ScSortParam::bHasHeader |
Definition at line 120 of file sortparam.hxx.
Referenced by ScTabPageSortFields::ActivatePage(), Clear(), ExcAutoFilterRecs::ExcAutoFilterRecs(), ScCellShell::ExecuteDB(), ScTabPageSortFields::FillFieldLists(), ScTabPageSortFields::FillItemSet(), ScSortDescriptor::FillProperties(), ScSortDescriptor::FillSortParam(), ScDBData::GetSortParam(), operator=(), operator==(), ScTabPageSortFields::Reset(), ScTable::Sort(), ScDBDocFunc::Sort(), ScGridWindow::UpdateAutoFilterFromMenu(), and ScDBData::UpdateFromSortParam().
bool ScSortParam::bInplace |
Definition at line 125 of file sortparam.hxx.
Referenced by Clear(), ScCellShell::ExecuteDB(), ScTabPageSortOptions::FillItemSet(), ScSortDescriptor::FillProperties(), ScSortDescriptor::FillSortParam(), MoveToDest(), operator=(), operator==(), ScTabPageSortOptions::Reset(), ScDBFunc::Sort(), ScDBDocFunc::Sort(), ScGridWindow::UpdateAutoFilterFromMenu(), and writeSort().
bool ScSortParam::bNaturalSort |
Definition at line 123 of file sortparam.hxx.
Referenced by Clear(), ScTable::CompareCell(), ScCellShell::ExecuteDB(), ScTabPageSortOptions::FillItemSet(), operator=(), operator==(), ScTabPageSortOptions::Reset(), and ScGridWindow::UpdateAutoFilterFromMenu().
bool ScSortParam::bUserDef |
Definition at line 124 of file sortparam.hxx.
Referenced by Clear(), ScTable::CompareCell(), ExcAutoFilterRecs::ExcAutoFilterRecs(), ScCellShell::ExecuteDB(), ScTabPageSortOptions::FillItemSet(), ScSortDescriptor::FillProperties(), ScSortDescriptor::FillSortParam(), oox::xls::AutoFilter::finalizeImport(), operator=(), operator==(), ScTabPageSortOptions::Reset(), and writeSort().
::std::vector<ScSortKeyState> ScSortParam::maKeyState |
Definition at line 130 of file sortparam.hxx.
Referenced by Clear(), ScTable::Compare(), ScTable::CompareCell(), ScXMLDatabaseRangeContext::ConvertToDBData(), ScCellRangeObj::createSortDescriptor(), ScTable::CreateSortInfoArray(), ExcAutoFilterRecs::ExcAutoFilterRecs(), ScCellShell::ExecuteDB(), ScTabPageSortFields::FillItemSet(), ScSortDescriptor::FillProperties(), ScSortDescriptor::FillSortParam(), oox::xls::AutoFilter::finalizeImport(), ScDatabaseRangeObj::getSortDescriptor(), MoveToDest(), operator=(), operator==(), ScDBFunc::RepeatDB(), ScDBDocFunc::RepeatDB(), ScTabPageSortFields::Reset(), ScSortParam(), ScTabPageSortFields::SetLastSortKey(), ScVbaRange::Sort(), ScCellRangeObj::sort(), ScDBDocFunc::Sort(), ScGridWindow::UpdateAutoFilterFromMenu(), and writeSort().
SCCOL ScSortParam::nCol1 |
Definition at line 114 of file sortparam.hxx.
Referenced by Clear(), ScTable::CreateSortInfoArray(), ScCellShell::ExecuteDB(), ScTabPageSortFields::FillFieldLists(), ScDBData::GetSortParam(), ScTabPageSortFields::Init(), lcl_GetSortParam(), MoveToDest(), operator=(), operator==(), ScTabPageSortFields::Reset(), ScCellRangeObj::sort(), ScTable::Sort(), ScDBFunc::Sort(), ScDBDocFunc::Sort(), and ScDBFunc::UISort().
SCCOL ScSortParam::nCol2 |
Definition at line 116 of file sortparam.hxx.
Referenced by Clear(), ScTable::CreateSortInfoArray(), ScCellShell::ExecuteDB(), ScTabPageSortFields::FillFieldLists(), ScDBData::GetSortParam(), ScTabPageSortFields::Init(), lcl_GetSortParam(), MoveToDest(), operator=(), operator==(), ScTabPageSortFields::Reset(), ScCellRangeObj::sort(), ScTable::Sort(), ScDBFunc::Sort(), ScDBDocFunc::Sort(), ScDBFunc::UISort(), and ScGridWindow::UpdateAutoFilterFromMenu().
sal_uInt16 ScSortParam::nCompatHeader |
Definition at line 133 of file sortparam.hxx.
Referenced by Clear(), operator=(), and ScVbaRange::Sort().
SCCOL ScSortParam::nDestCol |
Definition at line 127 of file sortparam.hxx.
Referenced by Clear(), ScTabPageSortOptions::FillItemSet(), ScSortDescriptor::FillProperties(), ScSortDescriptor::FillSortParam(), MoveToDest(), operator=(), operator==(), ScTabPageSortOptions::Reset(), ScDBFunc::Sort(), ScDBDocFunc::Sort(), and writeSort().
SCROW ScSortParam::nDestRow |
Definition at line 128 of file sortparam.hxx.
Referenced by Clear(), ScTabPageSortOptions::FillItemSet(), ScSortDescriptor::FillProperties(), ScSortDescriptor::FillSortParam(), MoveToDest(), operator=(), operator==(), ScTabPageSortOptions::Reset(), ScDBFunc::Sort(), ScDBDocFunc::Sort(), and writeSort().
SCTAB ScSortParam::nDestTab |
Definition at line 126 of file sortparam.hxx.
Referenced by Clear(), ScTabPageSortOptions::FillItemSet(), ScSortDescriptor::FillProperties(), ScSortDescriptor::FillSortParam(), operator=(), operator==(), ScTabPageSortOptions::Reset(), ScDBFunc::Sort(), ScDBDocFunc::Sort(), and writeSort().
SCROW ScSortParam::nRow1 |
Definition at line 115 of file sortparam.hxx.
Referenced by Clear(), ScCellShell::ExecuteDB(), ScTabPageSortFields::FillFieldLists(), ScDBData::GetSortParam(), ScTabPageSortFields::Init(), lcl_GetSortParam(), MoveToDest(), operator=(), operator==(), ScCellRangeObj::sort(), ScTable::Sort(), ScDBFunc::Sort(), ScDBDocFunc::Sort(), and ScDBFunc::UISort().
SCROW ScSortParam::nRow2 |
Definition at line 117 of file sortparam.hxx.
Referenced by Clear(), ScCellShell::ExecuteDB(), ScTabPageSortFields::FillFieldLists(), ScDBData::GetSortParam(), ScTabPageSortFields::Init(), lcl_GetSortParam(), MoveToDest(), operator=(), operator==(), ScCellRangeObj::sort(), ScTable::Sort(), ScDBFunc::Sort(), ScDBDocFunc::Sort(), and ScDBFunc::UISort().
sal_uInt16 ScSortParam::nUserIndex |
Definition at line 119 of file sortparam.hxx.
Referenced by Clear(), ScTable::CompareCell(), ExcAutoFilterRecs::ExcAutoFilterRecs(), ScCellShell::ExecuteDB(), ScTabPageSortOptions::FillItemSet(), ScSortDescriptor::FillProperties(), ScSortDescriptor::FillSortParam(), oox::xls::AutoFilter::finalizeImport(), operator=(), operator==(), ScTabPageSortOptions::Reset(), ScVbaRange::Sort(), and writeSort().