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 m_nMul
 
tools::Long m_nDiv
 
short m_nComma
 
bool m_bDirty
 
MapUnit m_eSrcMU
 
MapUnit m_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 div(), o3tl::invalid, m_bDirty, m_eDstMU, m_eSrcMU, m_nComma, m_nDiv, m_nMul, and MapToO3tlLength().

Referenced by GetStr().

Member Data Documentation

◆ m_bDirty

bool SdrFormatter::m_bDirty
private

Definition at line 270 of file svdtrans.hxx.

Referenced by GetStr(), and Undirty().

◆ m_eDstMU

MapUnit SdrFormatter::m_eDstMU
private

Definition at line 272 of file svdtrans.hxx.

Referenced by Undirty().

◆ m_eSrcMU

MapUnit SdrFormatter::m_eSrcMU
private

Definition at line 271 of file svdtrans.hxx.

Referenced by Undirty().

◆ m_nComma

short SdrFormatter::m_nComma
private

Definition at line 269 of file svdtrans.hxx.

Referenced by GetStr(), and Undirty().

◆ m_nDiv

tools::Long SdrFormatter::m_nDiv
private

Definition at line 268 of file svdtrans.hxx.

Referenced by GetStr(), and Undirty().

◆ m_nMul

tools::Long SdrFormatter::m_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: