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

#include <typedstrdata.hxx>

Classes

struct  EqualCaseInsensitive
 
struct  EqualCaseSensitive
 
struct  LessCaseInsensitive
 
struct  LessCaseSensitive
 
struct  LessHiddenRows
 

Public Types

enum  StringType {
  Value ,
  MRU ,
  Standard ,
  Name ,
  DbName ,
  Header
}
 

Public Member Functions

 ScTypedStrData (OUString &&rStr, double fVal=0.0, double fRVal=0.0, StringType nType=Standard, bool bDate=false, bool bIsHiddenByFilter=false)
 
 ScTypedStrData (const OUString &rStr, double fVal=0.0, double fRVal=0.0, StringType eType=Standard, bool bDate=false, bool bIsHiddenByFilter=false)
 
bool IsDate () const
 
bool IsHiddenByFilter () const
 
const OUString & GetString () const
 
StringType GetStringType () const
 
double GetValue () const
 
double GetRoundedValue () const
 
bool operator< (const ScTypedStrData &r) const
 

Private Attributes

OUString maStrValue
 
double mfValue
 
double mfRoundedValue
 
StringType meStrType
 
bool mbIsDate
 
bool mbIsHiddenByFilter
 

Detailed Description

Definition at line 16 of file typedstrdata.hxx.

Member Enumeration Documentation

◆ StringType

Enumerator
Value 
MRU 
Standard 
Name 
DbName 
Header 

Definition at line 19 of file typedstrdata.hxx.

Constructor & Destructor Documentation

◆ ScTypedStrData() [1/2]

ScTypedStrData::ScTypedStrData ( OUString &&  rStr,
double  fVal = 0.0,
double  fRVal = 0.0,
StringType  nType = Standard,
bool  bDate = false,
bool  bIsHiddenByFilter = false 
)
inline

Definition at line 28 of file typedstrdata.hxx.

◆ ScTypedStrData() [2/2]

ScTypedStrData::ScTypedStrData ( const OUString &  rStr,
double  fVal = 0.0,
double  fRVal = 0.0,
StringType  eType = Standard,
bool  bDate = false,
bool  bIsHiddenByFilter = false 
)

Definition at line 104 of file typedstrdata.cxx.

Member Function Documentation

◆ GetRoundedValue()

double ScTypedStrData::GetRoundedValue ( ) const
inline

Definition at line 45 of file typedstrdata.hxx.

References mfRoundedValue.

◆ GetString()

const OUString & ScTypedStrData::GetString ( ) const
inline

Definition at line 42 of file typedstrdata.hxx.

References maStrValue.

Referenced by ScInputHandler::PasteFunctionData(), and ScFilterDlg::UpdateHdrInValueList().

◆ GetStringType()

StringType ScTypedStrData::GetStringType ( ) const
inline

Definition at line 43 of file typedstrdata.hxx.

References meStrType.

◆ GetValue()

double ScTypedStrData::GetValue ( ) const
inline

Definition at line 44 of file typedstrdata.hxx.

References mfValue.

◆ IsDate()

bool ScTypedStrData::IsDate ( ) const
inline

Definition at line 40 of file typedstrdata.hxx.

References mbIsDate.

◆ IsHiddenByFilter()

bool ScTypedStrData::IsHiddenByFilter ( ) const
inline

Definition at line 41 of file typedstrdata.hxx.

References mbIsHiddenByFilter.

◆ operator<()

bool ScTypedStrData::operator< ( const ScTypedStrData r) const

Definition at line 98 of file typedstrdata.cxx.

Member Data Documentation

◆ maStrValue

OUString ScTypedStrData::maStrValue
private

Definition at line 75 of file typedstrdata.hxx.

Referenced by GetString().

◆ mbIsDate

bool ScTypedStrData::mbIsDate
private

Definition at line 79 of file typedstrdata.hxx.

Referenced by IsDate().

◆ mbIsHiddenByFilter

bool ScTypedStrData::mbIsHiddenByFilter
private

Definition at line 80 of file typedstrdata.hxx.

Referenced by IsHiddenByFilter().

◆ meStrType

StringType ScTypedStrData::meStrType
private

Definition at line 78 of file typedstrdata.hxx.

Referenced by GetStringType().

◆ mfRoundedValue

double ScTypedStrData::mfRoundedValue
private

Definition at line 77 of file typedstrdata.hxx.

Referenced by GetRoundedValue().

◆ mfValue

double ScTypedStrData::mfValue
private

Definition at line 76 of file typedstrdata.hxx.

Referenced by GetValue().


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