LibreOffice Module svl (master) 1
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
SvNumberNatNum Class Reference

#include <zformat.hxx>

Collaboration diagram for SvNumberNatNum:
[legend]

Public Member Functions

 SvNumberNatNum ()
 
bool IsComplete () const
 
sal_uInt8 GetNatNum () const
 
sal_uInt8 GetDBNum () const
 
LanguageType GetLang () const
 
void SetLang (LanguageType e)
 
void SetNum (sal_uInt8 nNumber, bool bDBNumber)
 
bool IsSet () const
 
void SetDate (bool bDateP)
 
void SetParams (const OUString &s)
 
OUString const & GetParams () const
 

Static Public Member Functions

static sal_uInt8 MapDBNumToNatNum (sal_uInt8 nDBNum, LanguageType eLang, bool bDate)
 
static sal_uInt8 MapNatNumToDBNum (sal_uInt8 nNatNum, LanguageType eLang, bool bDate)
 

Private Attributes

OUString sParams
 
LanguageType eLang
 
sal_uInt8 nNum
 
bool bDBNum:1
 
bool bDate:1
 
bool bSet:1
 

Detailed Description

Definition at line 66 of file zformat.hxx.

Constructor & Destructor Documentation

◆ SvNumberNatNum()

SvNumberNatNum::SvNumberNatNum ( )
inline

Definition at line 80 of file zformat.hxx.

References LANGUAGE_DONTKNOW.

Member Function Documentation

◆ GetDBNum()

sal_uInt8 SvNumberNatNum::GetDBNum ( ) const
inline

Definition at line 84 of file zformat.hxx.

References bDate, bDBNum, eLang, MapNatNumToDBNum(), and nNum.

Referenced by SvNumberformat::GetMappedFormatstring().

◆ GetLang()

LanguageType SvNumberNatNum::GetLang ( ) const
inline

◆ GetNatNum()

sal_uInt8 SvNumberNatNum::GetNatNum ( ) const
inline

◆ GetParams()

OUString const & SvNumberNatNum::GetParams ( ) const
inline

◆ IsComplete()

bool SvNumberNatNum::IsComplete ( ) const
inline

◆ IsSet()

bool SvNumberNatNum::IsSet ( ) const
inline

◆ MapDBNumToNatNum()

sal_uInt8 SvNumberNatNum::MapDBNumToNatNum ( sal_uInt8  nDBNum,
LanguageType  eLang,
bool  bDate 
)
static

Definition at line 152 of file zformat.cxx.

References bDate, eLang, MsLangId::getRealLanguage(), LANGUAGE_KOREAN, nNatNum, primary(), and tblDBNumToNatNum.

Referenced by GetNatNum().

◆ MapNatNumToDBNum()

sal_uInt8 SvNumberNatNum::MapNatNumToDBNum ( sal_uInt8  nNatNum,
LanguageType  eLang,
bool  bDate 
)
static

Definition at line 187 of file zformat.cxx.

References bDate, eLang, MsLangId::getRealLanguage(), LANGUAGE_KOREAN, nNatNum, primary(), and tblNatNumToDBNum.

Referenced by GetDBNum().

◆ SetDate()

void SvNumberNatNum::SetDate ( bool  bDateP)
inline

Definition at line 94 of file zformat.hxx.

References bDate.

Referenced by ImpSvNumFor::SetNatNumDate().

◆ SetLang()

void SvNumberNatNum::SetLang ( LanguageType  e)
inline

Definition at line 86 of file zformat.hxx.

References eLang.

Referenced by SvNumberformat::GetMappedFormatstring(), and ImpSvNumFor::SetNatNumLang().

◆ SetNum()

void SvNumberNatNum::SetNum ( sal_uInt8  nNumber,
bool  bDBNumber 
)
inline

Definition at line 87 of file zformat.hxx.

References bDBNum, bSet, and nNum.

Referenced by ImpSvNumFor::SetNatNumNum().

◆ SetParams()

void SvNumberNatNum::SetParams ( const OUString &  s)
inline

Definition at line 95 of file zformat.hxx.

References sParams.

Referenced by ImpSvNumFor::SetNatNumParams().

Member Data Documentation

◆ bDate

bool SvNumberNatNum::bDate
private

Definition at line 72 of file zformat.hxx.

Referenced by GetDBNum(), GetNatNum(), MapDBNumToNatNum(), MapNatNumToDBNum(), and SetDate().

◆ bDBNum

bool SvNumberNatNum::bDBNum
private

Definition at line 71 of file zformat.hxx.

Referenced by GetDBNum(), GetNatNum(), and SetNum().

◆ bSet

bool SvNumberNatNum::bSet
private

Definition at line 73 of file zformat.hxx.

Referenced by IsComplete(), IsSet(), and SetNum().

◆ eLang

LanguageType SvNumberNatNum::eLang
private

◆ nNum

sal_uInt8 SvNumberNatNum::nNum
private

Definition at line 70 of file zformat.hxx.

Referenced by GetDBNum(), GetNatNum(), and SetNum().

◆ sParams

OUString SvNumberNatNum::sParams
private

Definition at line 68 of file zformat.hxx.

Referenced by GetParams(), and SetParams().


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