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 493 of file validat.cxx.

Constructor & Destructor Documentation

◆ ScValidationDataIsNumeric()

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

Definition at line 499 of file validat.cxx.

Member Function Documentation

◆ init()

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

Member Data Documentation

◆ mfVal

double ScValidationDataIsNumeric::mfVal

Definition at line 496 of file validat.cxx.

Referenced by ScValidationData::IsDataValidTextLen().

◆ mnFormat

sal_uInt32 ScValidationDataIsNumeric::mnFormat

Definition at line 497 of file validat.cxx.

Referenced by init(), and ScValidationData::IsDataValidTextLen().

◆ mpFormatter

SvNumberFormatter* ScValidationDataIsNumeric::mpFormatter

Definition at line 495 of file validat.cxx.

Referenced by init(), and ScValidationData::IsDataValidTextLen().


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