Home
last modified time | relevance | path

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

/AOO41X/main/vcl/source/control/
H A Dfield.cxx444 if ( !ImplNumericGetValue( rStr, rValue, GetDecimalDigits(), ImplGetLocaleDataWrapper() ) ) in ImplNumericReformat()
594 sal_uInt16 NumericFormatter::GetDecimalDigits() const in GetDecimalDigits() function in NumericFormatter
612 …return ImplGetLocaleDataWrapper().getNum( nValue, GetDecimalDigits(), IsUseThousandSep(), IsShowTr… in CreateFieldText()
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()
1072 …ImplNumericGetValue( ComboBox::GetEntry( nPos ), nValue, GetDecimalDigits(), ImplGetLocaleDataWrap… in GetValue()
1480 …if ( !ImplMetricGetValue( rStr, rValue, mnBaseValue, GetDecimalDigits(), ImplGetLocaleDataWrapper(… in ImplMetricReformat()
[all …]
H A Dlongcurr.cxx419 …XubString aStr = ImplGetCurr( GetLocaleDataWrapper(), nNewValue, GetDecimalDigits(), GetCurrencySy… in SetUserValue()
439 …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()
[all …]
/AOO41X/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()
/AOO41X/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()
/AOO41X/main/toolkit/source/awt/
H A Dvclxwindows.cxx5199 (long)ImplCalcLongValue( Value, pNumericFormatter->GetDecimalDigits() ) );
5219 …ImplCalcDoubleValue( (double)pNumericFormatter->GetValue(), pNumericFormatter->GetDecimalDigits() ) in getValue()
5230 (long)ImplCalcLongValue( Value, pNumericFormatter->GetDecimalDigits() ) ); in setMin()
5239 …? ImplCalcDoubleValue( (double)pNumericFormatter->GetMin(), pNumericFormatter->GetDecimalDigits() ) in getMin()
5250 (long)ImplCalcLongValue( Value, pNumericFormatter->GetDecimalDigits() ) ); in setMax()
5259 …? ImplCalcDoubleValue( (double)pNumericFormatter->GetMax(), pNumericFormatter->GetDecimalDigits() ) in getMax()
5270 (long)ImplCalcLongValue( Value, pNumericField->GetDecimalDigits() ) ); in setFirst()
5279 … ? ImplCalcDoubleValue( (double)pNumericField->GetFirst(), pNumericField->GetDecimalDigits() ) in getFirst()
5290 (long)ImplCalcLongValue( Value, pNumericField->GetDecimalDigits() ) ); in setLast()
5299 ? ImplCalcDoubleValue( (double)pNumericField->GetLast(), pNumericField->GetDecimalDigits() ) in getLast()
[all …]
/AOO41X/main/sw/source/ui/sidebar/
H A DPageSizeControl.cxx108 maWidthHeightField.GetDecimalDigits(), in PageSizeControl()
115 maWidthHeightField.GetDecimalDigits(), in PageSizeControl()
/AOO41X/main/sw/source/ui/utlui/
H A Dprcntfld.cxx51 nOldDigits = GetDecimalDigits(); in PercentField()
88 nOldDigits = GetDecimalDigits(); in ShowPercent()
/AOO41X/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()
/AOO41X/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()
/AOO41X/main/svtools/source/misc/
H A Dunitconv.cxx73 if( rField.GetDecimalDigits() > 1 ) in SetFieldUnit()
113 if ( FUNIT_POINT == eUnit && rBox.GetDecimalDigits() > 1 ) in SetFieldUnit()
/AOO41X/main/vcl/inc/vcl/
H A Dlongcurr.hxx77 sal_uInt16 GetDecimalDigits() const;
H A Dfield.hxx203 sal_uInt16 GetDecimalDigits() const;
/AOO41X/main/svtools/inc/svtools/
H A Dfmtfield.hxx158 sal_uInt16 GetDecimalDigits() const;
/AOO41X/main/svx/source/sidebar/line/
H A DLineWidthControl.cxx130 if( maMFWidth.GetDecimalDigits() > 1 ) in Initialize()
/AOO41X/main/svx/source/sidebar/possize/
H A DPosSizePropertyPanel.cxx1102 …ConvertDoubleValue( nWidth, mpMtrWidth->GetBaseValue(), mpMtrWidth->GetDecimalDigits(), meDlgUnit,… in executeSize()
1109 …vertDoubleValue( nHeight, mpMtrHeight->GetBaseValue(), mpMtrHeight->GetDecimalDigits(), meDlgUnit,… in executeSize()
/AOO41X/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()