LibreOffice Module sc (master) 1
Public Member Functions | Private Attributes | List of all members
sc::NumberTransformation Class Reference

#include <datatransformation.hxx>

Inheritance diagram for sc::NumberTransformation:
[legend]
Collaboration diagram for sc::NumberTransformation:
[legend]

Public Member Functions

 NumberTransformation (std::set< SCCOL > &&nCol, const NUMBER_TRANSFORM_TYPE rType)
 
 NumberTransformation (std::set< SCCOL > &&nCol, const NUMBER_TRANSFORM_TYPE rType, int nPrecision)
 
virtual void Transform (ScDocument &rDoc) const override
 
virtual TransformationType getTransformationType () const override
 
NUMBER_TRANSFORM_TYPE getNumberTransformationType () const
 
int getPrecision () const
 
const std::set< SCCOL > & getColumn () const
 
- Public Member Functions inherited from sc::DataTransformation
virtual ~DataTransformation ()
 
virtual void Transform (ScDocument &rDoc) const =0
 
virtual TransformationType getTransformationType () const =0
 

Private Attributes

std::set< SCCOLmnCol
 
NUMBER_TRANSFORM_TYPE maType
 
int maPrecision
 

Additional Inherited Members

- Static Protected Member Functions inherited from sc::DataTransformation
static SCROW getLastRow (const ScDocument &rDoc, SCCOL nCol)
 

Detailed Description

Definition at line 143 of file datatransformation.hxx.

Constructor & Destructor Documentation

◆ NumberTransformation() [1/2]

sc::NumberTransformation::NumberTransformation ( std::set< SCCOL > &&  nCol,
const NUMBER_TRANSFORM_TYPE  rType 
)

Definition at line 406 of file datatransformation.cxx.

References maType.

◆ NumberTransformation() [2/2]

sc::NumberTransformation::NumberTransformation ( std::set< SCCOL > &&  nCol,
const NUMBER_TRANSFORM_TYPE  rType,
int  nPrecision 
)

Definition at line 414 of file datatransformation.cxx.

References maType.

Member Function Documentation

◆ getColumn()

const std::set< SCCOL > & sc::NumberTransformation::getColumn ( ) const

Definition at line 648 of file datatransformation.cxx.

References mnCol.

◆ getNumberTransformationType()

NUMBER_TRANSFORM_TYPE sc::NumberTransformation::getNumberTransformationType ( ) const

Definition at line 638 of file datatransformation.cxx.

References maType.

◆ getPrecision()

int sc::NumberTransformation::getPrecision ( ) const

Definition at line 643 of file datatransformation.cxx.

References maPrecision.

◆ getTransformationType()

TransformationType sc::NumberTransformation::getTransformationType ( ) const
overridevirtual

Implements sc::DataTransformation.

Definition at line 633 of file datatransformation.cxx.

References sc::NUMBER_TRANSFORMATION.

◆ Transform()

void sc::NumberTransformation::Transform ( ScDocument rDoc) const
overridevirtual

Member Data Documentation

◆ maPrecision

int sc::NumberTransformation::maPrecision
private

Definition at line 147 of file datatransformation.hxx.

Referenced by getPrecision(), and Transform().

◆ maType

NUMBER_TRANSFORM_TYPE sc::NumberTransformation::maType
private

Definition at line 146 of file datatransformation.hxx.

Referenced by getNumberTransformationType(), and Transform().

◆ mnCol

std::set<SCCOL> sc::NumberTransformation::mnCol
private

Definition at line 145 of file datatransformation.hxx.

Referenced by getColumn(), and Transform().


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