LibreOffice Module sc (master) 1
Classes | Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
ScUserListData Class Reference

Stores individual user-defined sort list. More...

#include <userlist.hxx>


struct  SubStr

Public Member Functions

 ScUserListData (OUString aStr)
 ScUserListData (const ScUserListData &rData)
 ~ScUserListData ()
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 Types

typedef std::vector< SubStrSubStringsType

Private Member Functions

SAL_DLLPRIVATE void InitTokens ()

Private Attributes

SubStringsType maSubStrings
OUString aStr

Detailed Description

Stores individual user-defined sort list.

Definition at line 32 of file userlist.hxx.

Member Typedef Documentation

◆ SubStringsType

typedef std::vector<SubStr> ScUserListData::SubStringsType

Definition at line 43 of file userlist.hxx.

Constructor & Destructor Documentation

◆ ScUserListData() [1/2]

ScUserListData::ScUserListData ( OUString  aStr)

Definition at line 88 of file userlist.cxx.

References InitTokens().

◆ ScUserListData() [2/2]

ScUserListData::ScUserListData ( const ScUserListData rData)

Definition at line 94 of file userlist.cxx.

References aStr, and InitTokens().

◆ ~ScUserListData()

ScUserListData::~ScUserListData ( )

Definition at line 100 of file userlist.cxx.

Member Function Documentation

◆ Compare()

sal_Int32 ScUserListData::Compare ( const OUString &  rSubStr1,
const OUString &  rSubStr2 
) const

◆ GetString()

const OUString & ScUserListData::GetString ( ) const

Definition at line 54 of file userlist.hxx.

References aStr.

Referenced by ScGridWindow::DPLaunchFieldPopupMenu(), and ExcAutoFilterRecs::ExcAutoFilterRecs().

◆ GetSubCount()

size_t ScUserListData::GetSubCount ( ) const

◆ GetSubIndex()

bool ScUserListData::GetSubIndex ( const OUString &  rSubStr,
sal_uInt16 &  rIndex,
bool &  bMatchCase 
) const

◆ GetSubStr()

OUString ScUserListData::GetSubStr ( sal_uInt16  nIndex) const

◆ ICompare()

sal_Int32 ScUserListData::ICompare ( const OUString &  rSubStr1,
const OUString &  rSubStr2 
) const

◆ InitTokens()

void ScUserListData::InitTokens ( )

◆ SetString()

void ScUserListData::SetString ( const OUString &  rStr)

Definition at line 104 of file userlist.cxx.

References aStr, and InitTokens().

Member Data Documentation

◆ aStr

OUString ScUserListData::aStr

Definition at line 45 of file userlist.hxx.

Referenced by InitTokens(), and SetString().

◆ maSubStrings

SubStringsType ScUserListData::maSubStrings

Definition at line 44 of file userlist.hxx.

Referenced by GetSubCount(), GetSubIndex(), GetSubStr(), and InitTokens().

The documentation for this class was generated from the following files: