|
LibreOffice Module sc (master) 1
|
Stores individual user-defined sort list. More...
#include <userlist.hxx>
Classes | |
| struct | SubStr |
Public Member Functions | |
| ScUserListData (OUString aStr) | |
| const OUString & | GetString () const |
| void | SetString (const OUString &rStr) |
| size_t | GetSubCount () const |
| bool | GetSubIndex (const OUString &rSubStr, sal_uInt16 &rIndex, bool &bMatchCase) const |
| OUString | GetSubStr (sal_uInt16 nIndex) const |
| sal_Int32 | Compare (const OUString &rSubStr1, const OUString &rSubStr2) const |
| sal_Int32 | ICompare (const OUString &rSubStr1, const OUString &rSubStr2) const |
Private Member Functions | |
| SAL_DLLPRIVATE void | InitTokens () |
Private Attributes | |
| std::vector< SubStr > | maSubStrings |
| OUString | aStr |
Stores individual user-defined sort list.
Definition at line 31 of file userlist.hxx.
| ScUserListData::ScUserListData | ( | OUString | aStr | ) |
Definition at line 48 of file userlist.cxx.
References InitTokens().
| sal_Int32 ScUserListData::Compare | ( | const OUString & | rSubStr1, |
| const OUString & | rSubStr2 | ||
| ) | const |
Definition at line 93 of file userlist.cxx.
References utl::TransliterationWrapper::compareString(), ScGlobal::GetCaseTransliteration(), and GetSubIndex().
Referenced by ScTable::CompareCell().
|
inline |
Definition at line 49 of file userlist.hxx.
References aStr.
Referenced by ScGridWindow::DPSetupFieldPopup(), and ExcAutoFilterRecs::ExcAutoFilterRecs().
|
inline |
Definition at line 51 of file userlist.hxx.
Referenced by ScDBFunc::DataPilotSort(), ScTable::FillAnalyse(), ScTable::FillAuto(), ScTable::GetAutoFillPreview(), and ScTpUserLists::UpdateEntries().
| bool ScUserListData::GetSubIndex | ( | const OUString & | rSubStr, |
| sal_uInt16 & | rIndex, | ||
| bool & | bMatchCase | ||
| ) | const |
Definition at line 60 of file userlist.cxx.
References ScGlobal::getCharClass(), maSubStrings, and CharClass::uppercase().
Referenced by Compare(), ScTable::FillAnalyse(), ScTable::FillAuto(), and ICompare().
| OUString ScUserListData::GetSubStr | ( | sal_uInt16 | nIndex | ) | const |
Definition at line 85 of file userlist.cxx.
References maSubStrings, and nIndex.
Referenced by ScDBFunc::DataPilotSort(), ScTable::FillAuto(), ScTable::GetAutoFillPreview(), and ScTpUserLists::UpdateEntries().
| sal_Int32 ScUserListData::ICompare | ( | const OUString & | rSubStr1, |
| const OUString & | rSubStr2 | ||
| ) | const |
Definition at line 119 of file userlist.cxx.
References utl::TransliterationWrapper::compareString(), GetSubIndex(), and ScGlobal::GetTransliteration().
Referenced by ScTable::CompareCell().
|
private |
Definition at line 36 of file userlist.cxx.
References aStr, ScGlobal::cListDelimiter, maSubStrings, and nIndex.
Referenced by ScUserListData(), and SetString().
| void ScUserListData::SetString | ( | const OUString & | rStr | ) |
Definition at line 54 of file userlist.cxx.
References aStr, and InitTokens().
|
private |
Definition at line 42 of file userlist.hxx.
Referenced by InitTokens(), and SetString().
|
private |
Definition at line 41 of file userlist.hxx.
Referenced by GetSubIndex(), GetSubStr(), and InitTokens().