LibreOffice Module svx (master) 1
|
#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 |
Definition at line 266 of file svdtrans.hxx.
Definition at line 276 of file svdtrans.hxx.
OUString SdrFormatter::GetStr | ( | tools::Long | nVal | ) | const |
Definition at line 687 of file svdtrans.cxx.
References aStr, BigMulDiv(), SvtSysLocale::GetLocaleData(), LocaleDataWrapper::getNumDecimalSep(), LocaleDataWrapper::getNumDigits(), LocaleDataWrapper::getNumThousandSep(), i, LocaleDataWrapper::isNumLeadingZero(), m_bDirty, m_nComma, m_nDiv, m_nMul, nCount, u, and Undirty().
Referenced by SdrMetricItem::GetPresentation(), and SdrTextAniAmountItem::GetPresentation().
|
static |
Definition at line 840 of file svdtrans.cxx.
|
static |
Definition at line 798 of file svdtrans.cxx.
Referenced by SdrMetricItem::GetPresentation(), SdrTextAniAmountItem::GetPresentation(), GetUnitString(), and SdrMeasureUnitItem::GetValueTextByPos().
|
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().
|
private |
Definition at line 270 of file svdtrans.hxx.
|
private |
Definition at line 272 of file svdtrans.hxx.
Referenced by Undirty().
|
private |
Definition at line 271 of file svdtrans.hxx.
Referenced by Undirty().
|
private |
Definition at line 269 of file svdtrans.hxx.
|
private |
Definition at line 268 of file svdtrans.hxx.
|
private |
Definition at line 267 of file svdtrans.hxx.