LibreOffice Module svx (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
SdrFormatter Class Reference

#include <svdtrans.hxx>

Public Member Functions

 SdrFormatter (MapUnit eSrc, MapUnit eDst)
 
OUString GetStr (tools::Long nVal) const
 

Static Public Member Functions

static OUString GetUnitStr (MapUnit eUnit)
 
static OUString GetUnitStr (FieldUnit eUnit)
 

Private Member Functions

SVX_DLLPRIVATE void Undirty ()
 

Private Attributes

tools::Long nMul_
 
tools::Long nDiv_
 
short nComma_
 
bool bDirty
 
MapUnit eSrcMU
 
MapUnit eDstMU
 

Detailed Description

Definition at line 266 of file svdtrans.hxx.

Constructor & Destructor Documentation

◆ SdrFormatter()

SdrFormatter::SdrFormatter ( MapUnit  eSrc,
MapUnit  eDst 
)
inline

Definition at line 276 of file svdtrans.hxx.

Member Function Documentation

◆ GetStr()

OUString SdrFormatter::GetStr ( tools::Long  nVal) const

◆ GetUnitStr() [1/2]

OUString SdrFormatter::GetUnitStr ( FieldUnit  eUnit)
static

Definition at line 840 of file svdtrans.cxx.

◆ GetUnitStr() [2/2]

OUString SdrFormatter::GetUnitStr ( MapUnit  eUnit)
static

◆ Undirty()

void SdrFormatter::Undirty ( )
private

Definition at line 650 of file svdtrans.cxx.

References bDirty, div(), eDstMU, eSrcMU, o3tl::invalid, MapToO3tlLength(), nComma_, nDiv_, and nMul_.

Referenced by GetStr().

Member Data Documentation

◆ bDirty

bool SdrFormatter::bDirty
private

Definition at line 270 of file svdtrans.hxx.

Referenced by GetStr(), and Undirty().

◆ eDstMU

MapUnit SdrFormatter::eDstMU
private

Definition at line 272 of file svdtrans.hxx.

Referenced by Undirty().

◆ eSrcMU

MapUnit SdrFormatter::eSrcMU
private

Definition at line 271 of file svdtrans.hxx.

Referenced by Undirty().

◆ nComma_

short SdrFormatter::nComma_
private

Definition at line 269 of file svdtrans.hxx.

Referenced by GetStr(), and Undirty().

◆ nDiv_

tools::Long SdrFormatter::nDiv_
private

Definition at line 268 of file svdtrans.hxx.

Referenced by GetStr(), and Undirty().

◆ nMul_

tools::Long SdrFormatter::nMul_
private

Definition at line 267 of file svdtrans.hxx.

Referenced by GetStr(), and Undirty().


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