Home
last modified time | relevance | path

Searched refs:GetDecimalDigits (Results 1 – 20 of 20) sorted by relevance

/trunk/main/vcl/source/control/
H A Dfield.cxx594 sal_uInt16 NumericFormatter::GetDecimalDigits() const in GetDecimalDigits() function in NumericFormatter
646 GetDecimalDigits(), ImplGetLocaleDataWrapper() ) ) in GetValue()
676 return Fraction( (double)nValue/(double)ImplPower10( GetDecimalDigits() ) ); in ConvertToFraction()
684 aFract *= Fraction( (long)ImplPower10( GetDecimalDigits() ), 1 ); in ConvertToLong()
692 return (nValue * ImplPower10( GetDecimalDigits() ) ); in Normalize()
699 sal_Int64 nFactor = ImplPower10( GetDecimalDigits() ); in Denormalize()
1555 SetDecimalDigits( GetDecimalDigits() + 2 ); in SetUnit()
1658 GetDecimalDigits(), meUnit, eOutUnit ); in GetMin()
1676 GetDecimalDigits(), meUnit, eOutUnit ); in GetMax()
1802 return MetricField::ConvertValue( mnFirst, mnBaseValue, GetDecimalDigits(), in GetFirst()
[all …]
H A Dlongcurr.cxx439 …if ( ImplLongCurrencyGetValue( GetField()->GetText(), nTempValue, GetDecimalDigits(), GetLocaleDat… in GetValue()
463 GetDecimalDigits(), GetLocaleDataWrapper(), aStr, *this ); in Reformat()
471 ImplLongCurrencyGetValue( aStr, mnLastValue, GetDecimalDigits(), GetLocaleDataWrapper() ); in Reformat()
524 sal_uInt16 LongCurrencyFormatter::GetDecimalDigits() const in GetDecimalDigits() function in LongCurrencyFormatter
553 return (nValue * ImplPower10( GetDecimalDigits() ) ); in Normalize()
560 BigInt nFactor = ImplPower10( GetDecimalDigits() ); in Denormalize()
810 GetDecimalDigits(), GetLocaleDataWrapper(), in ReformatAll()
823 …XubString aStr = ImplGetCurr( GetLocaleDataWrapper(), nValue, GetDecimalDigits(), GetCurrencySymbo… in InsertValue()
831 …XubString aStr = ImplGetCurr( GetLocaleDataWrapper(), nValue, GetDecimalDigits(), GetCurrencySymbo… in RemoveValue()
841 GetDecimalDigits(), GetLocaleDataWrapper() ); in GetValue()
[all …]
/trunk/main/chart2/source/controller/dialogs/
H A Dtp_3D_SceneGeometry.cxx103 m_nXRotation = ::basegfx::fround(fXAngle*pow(10.0,m_aMFXRotation.GetDecimalDigits())); in ThreeD_SceneGeometry_TabPage()
104 m_nYRotation = ::basegfx::fround(-1.0*fYAngle*pow(10.0,m_aMFYRotation.GetDecimalDigits())); in ThreeD_SceneGeometry_TabPage()
105 m_nZRotation = ::basegfx::fround(-1.0*fZAngle*pow(10.0,m_aMFZRotation.GetDecimalDigits())); in ThreeD_SceneGeometry_TabPage()
188 fXAngle = double(m_nXRotation)/double(pow(10.0,m_aMFXRotation.GetDecimalDigits())); in applyAnglesToModel()
189 fYAngle = double(-1.0*m_nYRotation)/double(pow(10.0,m_aMFYRotation.GetDecimalDigits())); in applyAnglesToModel()
190 fZAngle = double(-1.0*m_nZRotation)/double(pow(10.0,m_aMFZRotation.GetDecimalDigits())); in applyAnglesToModel()
H A Dres_ErrorBar.cxx566 …2 nPlusValue = static_cast< sal_Int32 >( fPlusValue * pow(10.0,m_aMfPositive.GetDecimalDigits()) ); in Reset()
576 …nMinusValue = static_cast< sal_Int32 >( fMinusValue * pow(10.0,m_aMfNegative.GetDecimalDigits()) ); in Reset()
676 pow( 10.0, m_aMfPositive.GetDecimalDigits()); in FillItemSet()
683 pow( 10.0, m_aMfNegative.GetDecimalDigits()); in FillItemSet()
/trunk/main/cui/source/tabpages/
H A Dtransfrm.cxx295 sal_uInt16 nDigits(aMtrPosX.GetDecimalDigits()); in Construct()
866 const sal_uInt16 nDigits(maMtrPosX.GetDecimalDigits()); in Construct()
935 …::ConvertDoubleValue( nWidth, maMtrWidth.GetBaseValue(), maMtrWidth.GetDecimalDigits(), meDlgUnit,… in FillItemSet()
942 …onvertDoubleValue( nHeight, maMtrHeight.GetBaseValue(), maMtrHeight.GetDecimalDigits(), meDlgUnit,… in FillItemSet()
1046 if(maMtrWidth.GetDecimalDigits()) in Reset()
1047 fTmpWidth *= pow(10.0, maMtrWidth.GetDecimalDigits()); in Reset()
1049 …ConvertDoubleValue(fTmpWidth, maMtrWidth.GetBaseValue(), maMtrWidth.GetDecimalDigits(), FUNIT_100T… in Reset()
1058 if(maMtrHeight.GetDecimalDigits()) in Reset()
1059 fTmpHeight *= pow(10.0, maMtrHeight.GetDecimalDigits()); in Reset()
1061 …vertDoubleValue(fTmpHeight, maMtrHeight.GetBaseValue(), maMtrHeight.GetDecimalDigits(), FUNIT_100T… in Reset()
H A Dgrfpage.cxx700 aFld.SetDecimalDigits( aWidthMF.GetDecimalDigits() ); in GraphicHasChanged()
/trunk/main/toolkit/source/awt/
H A Dvclxwindows.cxx5276 (long)ImplCalcLongValue( Value, pNumericField->GetDecimalDigits() ) ); in setFirst()
5296 (long)ImplCalcLongValue( Value, pNumericField->GetDecimalDigits() ) ); in setLast()
5327 (long)ImplCalcLongValue( Value, pNumericField->GetDecimalDigits() ) ); in setSpinSize()
5358 return pNumericFormatter ? pNumericFormatter->GetDecimalDigits() : 0; in getDecimalDigits()
5800 ImplCalcLongValue( Value, pCurrencyFormatter->GetDecimalDigits() ) );
5831 ImplCalcLongValue( Value, pCurrencyFormatter->GetDecimalDigits() ) ); in setMin()
5851 ImplCalcLongValue( Value, pCurrencyFormatter->GetDecimalDigits() ) ); in setMax()
5871 ImplCalcLongValue( Value, pCurrencyField->GetDecimalDigits() ) ); in setFirst()
5891 ImplCalcLongValue( Value, pCurrencyField->GetDecimalDigits() ) ); in setLast()
5911 ImplCalcLongValue( Value, pCurrencyField->GetDecimalDigits() ) ); in setSpinSize()
[all …]
/trunk/main/sw/source/ui/sidebar/
H A DPageSizeControl.cxx110 maWidthHeightField.GetDecimalDigits(), in PageSizeControl()
117 maWidthHeightField.GetDecimalDigits(), in PageSizeControl()
/trunk/main/sw/source/ui/utlui/
H A Dprcntfld.cxx51 nOldDigits = GetDecimalDigits(); in PercentField()
88 nOldDigits = GetDecimalDigits(); in ShowPercent()
/trunk/main/extensions/source/propctrlr/
H A Dusercontrol.cxx190 m_nLastDecimalDigits = getTypedControlWindow()->GetDecimalDigits(); in OFormattedNumericControl()
249 m_nLastDecimalDigits = getTypedControlWindow()->GetDecimalDigits(); in SetFormatDescription()
H A Dstandardcontrol.cxx511 return getTypedControlWindow()->GetDecimalDigits(); in getDecimalDigits()
629 … long nControlValue = ImplCalcLongValue( _nApiValue, getTypedControlWindow()->GetDecimalDigits() ); in impl_apiValueToFieldValue_nothrow()
637 …nApiValue = ImplCalcDoubleValue( (long)_nFieldValue, getTypedControlWindow()->GetDecimalDigits() ); in impl_fieldValueToApiValue_nothrow()
/trunk/main/svtools/source/control/
H A Dctrlbox.cxx1433 … nTempValue = MetricField::ConvertValue( nNewValue, GetBaseValue(), GetDecimalDigits(), eInUnit, G… in SetValue()
1467 return MetricField::ConvertValue( -nComboVal, mnBaseValue, GetDecimalDigits(), in GetValue()
1486 …return MetricField::ConvertValue( nValue, GetBaseValue(), GetDecimalDigits(), GetUnit(), eOutUnit … in GetValue()
1506 … nTempValue = MetricField::ConvertValue( nNewValue, GetBaseValue(), GetDecimalDigits(), eInUnit, G… in SetUserValue()
H A Dfmtfield.cxx760 sal_uInt16 FormattedField::GetDecimalDigits() const in GetDecimalDigits() function in FormattedField
1330 sal_uInt16 nDigits = GetDecimalDigits(); in UpdateCurrencyFormat()
/trunk/main/svtools/source/misc/
H A Dunitconv.cxx73 if( rField.GetDecimalDigits() > 1 ) in SetFieldUnit()
113 if ( FUNIT_POINT == eUnit && rBox.GetDecimalDigits() > 1 ) in SetFieldUnit()
/trunk/main/vcl/inc/vcl/
H A Dlongcurr.hxx77 sal_uInt16 GetDecimalDigits() const;
H A Dfield.hxx203 sal_uInt16 GetDecimalDigits() const;
/trunk/main/svtools/inc/svtools/
H A Dfmtfield.hxx158 sal_uInt16 GetDecimalDigits() const;
/trunk/main/svx/source/sidebar/possize/
H A DPosSizePropertyPanel.cxx1115 …ConvertDoubleValue( nWidth, mpMtrWidth->GetBaseValue(), mpMtrWidth->GetDecimalDigits(), meDlgUnit,… in executeSize()
1122 …vertDoubleValue( nHeight, mpMtrHeight->GetBaseValue(), mpMtrHeight->GetDecimalDigits(), meDlgUnit,… in executeSize()
/trunk/main/svx/source/sidebar/line/
H A DLineWidthControl.cxx130 if( maMFWidth.GetDecimalDigits() > 1 ) in Initialize()
/trunk/main/svtools/source/uno/
H A Dunoiface.cxx1007 aReturn <<= pField->GetDecimalDigits(); in getProperty()
1807 return pField ? pField->GetDecimalDigits() : 0; in getDecimalDigits()
1973 return pField ? pField->GetDecimalDigits() : 0; in getDecimalDigits()

Completed in 147 milliseconds