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 (const std::set< SCCOL > &nCol, const NUMBER_TRANSFORM_TYPE rType)
 
 NumberTransformation (const 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 ()
 

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 141 of file datatransformation.hxx.

Constructor & Destructor Documentation

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

Definition at line 408 of file datatransformation.cxx.

References maType.

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

Definition at line 416 of file datatransformation.cxx.

References maType.

Member Function Documentation

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

Definition at line 662 of file datatransformation.cxx.

References mnCol.

NUMBER_TRANSFORM_TYPE sc::NumberTransformation::getNumberTransformationType ( ) const

Definition at line 652 of file datatransformation.cxx.

References maType.

Referenced by ScXMLExport::WriteExternalDataTransformations().

int sc::NumberTransformation::getPrecision ( ) const

Definition at line 657 of file datatransformation.cxx.

References maPrecision.

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

Implements sc::DataTransformation.

Definition at line 647 of file datatransformation.cxx.

References sc::NUMBER_TRANSFORMATION.

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

Member Data Documentation

int sc::NumberTransformation::maPrecision
private

Definition at line 145 of file datatransformation.hxx.

Referenced by getPrecision(), and Transform().

NUMBER_TRANSFORM_TYPE sc::NumberTransformation::maType
private

Definition at line 144 of file datatransformation.hxx.

Referenced by getNumberTransformationType(), and Transform().

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

Definition at line 143 of file datatransformation.hxx.

Referenced by getColumn(), and Transform().


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