LibreOffice Module sc (master)  1
Public Member Functions | Public Attributes | List of all members
ScValidationDataIsNumeric Struct Reference

To test numeric data text length in IsDataValidTextLen(). More...

Collaboration diagram for ScValidationDataIsNumeric:
[legend]

Public Member Functions

 ScValidationDataIsNumeric (double fVal, SvNumberFormatter *pFormatter=nullptr, sal_uInt32 nFormat=0)
 
void init (const ScDocument &rDoc, const ScAddress &rPos)
 

Public Attributes

SvNumberFormattermpFormatter
 
double mfVal
 
sal_uInt32 mnFormat
 

Detailed Description

To test numeric data text length in IsDataValidTextLen().

If mpFormatter is not set, it is obtained from the document and the format key is determined from the cell position's attribute pattern.

Definition at line 484 of file validat.cxx.

Constructor & Destructor Documentation

ScValidationDataIsNumeric::ScValidationDataIsNumeric ( double  fVal,
SvNumberFormatter pFormatter = nullptr,
sal_uInt32  nFormat = 0 
)
inline

Definition at line 490 of file validat.cxx.

Member Function Documentation

void ScValidationDataIsNumeric::init ( const ScDocument rDoc,
const ScAddress rPos 
)
inline

Member Data Documentation

double ScValidationDataIsNumeric::mfVal

Definition at line 487 of file validat.cxx.

Referenced by ScValidationData::IsDataValidTextLen().

sal_uInt32 ScValidationDataIsNumeric::mnFormat

Definition at line 488 of file validat.cxx.

Referenced by ScValidationData::IsDataValidTextLen().

SvNumberFormatter* ScValidationDataIsNumeric::mpFormatter

Definition at line 486 of file validat.cxx.

Referenced by ScValidationData::IsDataValidTextLen().


The documentation for this struct was generated from the following file: