LibreOffice Module sc (master) 1
|
Collection of user-defined sort lists. More...
#include <userlist.hxx>
Public Member Functions | |
ScUserList (bool initDefault=true) | |
ScUserList (const ScUserList &r)=default | |
void | AddDefaults () |
void | EraseData (size_t nIndex) |
const ScUserListData * | GetData (const OUString &rSubStr) const |
bool | HasEntry (std::u16string_view rStr) const |
If the list in rStr is already inserted. More... | |
const ScUserListData & | operator[] (size_t nIndex) const |
ScUserListData & | operator[] (size_t nIndex) |
ScUserList & | operator= (const ScUserList &r)=default |
bool | operator== (const ScUserList &r) const |
bool | operator!= (const ScUserList &r) const |
void | clear () |
size_t | size () const |
template<class... Args> | |
void | emplace_back (Args &&... args) |
Private Types | |
typedef std::vector< ScUserListData > | DataType |
Private Attributes | |
DataType | maData |
Collection of user-defined sort lists.
Definition at line 61 of file userlist.hxx.
|
private |
Definition at line 63 of file userlist.hxx.
|
explicit |
Definition at line 145 of file userlist.cxx.
References AddDefaults().
|
default |
void ScUserList::AddDefaults | ( | ) |
Definition at line 151 of file userlist.cxx.
References cDelimiter, ScGlobal::cListDelimiter, emplace_back(), FullName, ScGlobal::getLocaleData(), HasEntry(), i, and ID.
Referenced by ScAppCfg::ReadSortListCfg(), and ScUserList().
|
inline |
Definition at line 83 of file userlist.hxx.
References maData.
Referenced by ScSpreadsheetSettings::setPropertyValue().
|
inline |
Definition at line 85 of file userlist.hxx.
Referenced by AddDefaults(), oox::xls::AutoFilter::finalizeImport(), ScAppCfg::ReadSortListCfg(), and ScSpreadsheetSettings::setPropertyValue().
|
inline |
Definition at line 71 of file userlist.hxx.
const ScUserListData * ScUserList::GetData | ( | const OUString & | rSubStr | ) | const |
Definition at line 213 of file userlist.cxx.
References maData, and nIndex.
Referenced by ScTable::FillAnalyse().
bool ScUserList::HasEntry | ( | std::u16string_view | rStr | ) | const |
If the list in rStr is already inserted.
Definition at line 241 of file userlist.cxx.
Referenced by AddDefaults().
|
inline |
Definition at line 81 of file userlist.hxx.
References operator==().
|
default |
bool ScUserList::operator== | ( | const ScUserList & | r | ) | const |
Definition at line 233 of file userlist.cxx.
References maData.
|
inline |
Definition at line 78 of file userlist.hxx.
|
inline |
Definition at line 77 of file userlist.hxx.
|
inline |
Definition at line 84 of file userlist.hxx.
References maData.
Referenced by ScTable::CompareCell(), ScDBFunc::DataPilotSort(), ScGridWindow::DPSetupFieldPopup(), ExcAutoFilterRecs::ExcAutoFilterRecs(), ScTabPageSortOptions::FillUserSortListBox(), ScTpSubTotalOptions::FillUserSortListBox(), oox::xls::AutoFilter::finalizeImport(), ScSpreadsheetSettings::getPropertyValue(), and lcl_GetSortList().
|
private |
Definition at line 64 of file userlist.hxx.
Referenced by GetData(), HasEntry(), and operator==().