LibreOffice Module sc (master) 1
|
Collection of user-defined sort lists. More...
#include <userlist.hxx>
Public Types | |
typedef DataType::iterator | iterator |
typedef DataType::const_iterator | const_iterator |
Public Member Functions | |
ScUserList () | |
ScUserList (const ScUserList &r) | |
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) |
bool | operator== (const ScUserList &r) const |
bool | operator!= (const ScUserList &r) const |
iterator | begin () |
const_iterator | begin () const |
void | clear () |
size_t | size () const |
void | push_back (ScUserListData *p) |
void | erase (const iterator &itr) |
Private Types | |
typedef std::vector< std::unique_ptr< ScUserListData > > | DataType |
Private Attributes | |
DataType | maData |
Collection of user-defined sort lists.
Definition at line 66 of file userlist.hxx.
typedef DataType::const_iterator ScUserList::const_iterator |
Definition at line 73 of file userlist.hxx.
|
private |
Definition at line 68 of file userlist.hxx.
typedef DataType::iterator ScUserList::iterator |
Definition at line 72 of file userlist.hxx.
ScUserList::ScUserList | ( | ) |
Definition at line 201 of file userlist.cxx.
References cDelimiter, ScGlobal::cListDelimiter, FullName, ScGlobal::getLocaleData(), HasEntry(), i, ID, and maData.
ScUserList::ScUserList | ( | const ScUserList & | r | ) |
Definition at line 272 of file userlist.cxx.
References maData.
ScUserList::iterator ScUserList::begin | ( | ) |
Definition at line 336 of file userlist.cxx.
References maData.
const_iterator ScUserList::begin | ( | ) | const |
References size.
void ScUserList::clear | ( | ) |
Definition at line 341 of file userlist.cxx.
References maData.
Referenced by ScSpreadsheetSettings::setPropertyValue().
void ScUserList::erase | ( | const iterator & | itr | ) |
Definition at line 356 of file userlist.cxx.
References maData.
const ScUserListData * ScUserList::GetData | ( | const OUString & | rSubStr | ) | const |
Definition at line 278 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 329 of file userlist.cxx.
Referenced by ScUserList().
bool ScUserList::operator!= | ( | const ScUserList & | r | ) | const |
Definition at line 324 of file userlist.cxx.
References operator==().
ScUserList & ScUserList::operator= | ( | const ScUserList & | r | ) |
Definition at line 308 of file userlist.cxx.
References maData.
bool ScUserList::operator== | ( | const ScUserList & | r | ) | const |
ScUserListData & ScUserList::operator[] | ( | size_t | nIndex | ) |
Definition at line 303 of file userlist.cxx.
const ScUserListData & ScUserList::operator[] | ( | size_t | nIndex | ) | const |
Definition at line 298 of file userlist.cxx.
void ScUserList::push_back | ( | ScUserListData * | p | ) |
Definition at line 351 of file userlist.cxx.
Referenced by oox::xls::AutoFilter::finalizeImport(), ScAppCfg::ReadSortListCfg(), and ScSpreadsheetSettings::setPropertyValue().
size_t ScUserList::size | ( | ) | const |
Definition at line 346 of file userlist.cxx.
References maData.
Referenced by ScTable::CompareCell(), ScDBFunc::DataPilotSort(), ScGridWindow::DPLaunchFieldPopupMenu(), ExcAutoFilterRecs::ExcAutoFilterRecs(), ScTabPageSortOptions::FillUserSortListBox(), ScTpSubTotalOptions::FillUserSortListBox(), oox::xls::AutoFilter::finalizeImport(), ScSpreadsheetSettings::getPropertyValue(), and lcl_GetSortList().
|
private |
Definition at line 69 of file userlist.hxx.
Referenced by begin(), clear(), erase(), GetData(), HasEntry(), operator=(), operator==(), operator[](), push_back(), ScUserList(), and size().