LibreOffice Module toolkit (master) 1
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
svt::StandardFormatNormalizer Class Referenceabstract

#include <cellvalueconversion.hxx>

Public Member Functions

virtual double convertToDouble (css::uno::Any const &i_value) const =0
 converts the given Any into a double value to be fed into a number formatter More...
 
sal_Int32 getFormatKey () const
 returns the format key to be used for formatting values More...
 

Protected Member Functions

 StandardFormatNormalizer (css::uno::Reference< css::util::XNumberFormatter > const &i_formatter, ::sal_Int32 const i_numberFormatType)
 
virtual ~StandardFormatNormalizer ()
 

Private Attributes

::sal_Int32 m_nFormatKey
 

Detailed Description

Definition at line 29 of file cellvalueconversion.hxx.

Constructor & Destructor Documentation

◆ StandardFormatNormalizer()

svt::StandardFormatNormalizer::StandardFormatNormalizer ( css::uno::Reference< css::util::XNumberFormatter > const &  i_formatter,
::sal_Int32 const  i_numberFormatType 
)
protected

◆ ~StandardFormatNormalizer()

virtual svt::StandardFormatNormalizer::~StandardFormatNormalizer ( )
inlineprotectedvirtual

Definition at line 44 of file cellvalueconversion.hxx.

Member Function Documentation

◆ convertToDouble()

virtual double svt::StandardFormatNormalizer::convertToDouble ( css::uno::Any const &  i_value) const
pure virtual

converts the given Any into a double value to be fed into a number formatter

◆ getFormatKey()

sal_Int32 svt::StandardFormatNormalizer::getFormatKey ( ) const
inline

returns the format key to be used for formatting values

Definition at line 38 of file cellvalueconversion.hxx.

References m_nFormatKey.

Member Data Documentation

◆ m_nFormatKey

::sal_Int32 svt::StandardFormatNormalizer::m_nFormatKey
private

Definition at line 47 of file cellvalueconversion.hxx.

Referenced by getFormatKey(), and StandardFormatNormalizer().


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