Home
last modified time | relevance | path

Searched refs:nDigits (Results 1 – 25 of 33) sorted by relevance

12

/trunk/main/ucb/source/ucp/ftp/
H A Dftpdirp.cxx105 int nDigits = 0; in parseDOS() local
117 nDigits = 1; in parseDOS()
145 nDigits = 0; in parseDOS()
163 nDigits = 0; in parseDOS()
194 nDigits = 1; in parseDOS()
212 nDigits = 0; in parseDOS()
350 nDigits = 1; in parseDOS()
997 int nDigits = 0; in parseUNIX_isSizeField() local
1002 ++nDigits; in parseUNIX_isSizeField()
1007 ++nDigits; in parseUNIX_isSizeField()
[all …]
/trunk/main/sal/rtl/source/
H A Dmath.cxx406 sal_Int32 nDigits = nDecPlaces + 1; in doubleToString() local
409 nDigits += nExp; in doubleToString()
412 if( nDigits >= 0 ) in doubleToString()
414 if( ( fValue += nRoundVal[ nDigits > 15 ? 15 : nDigits ] ) >= 10 ) in doubleToString()
419 nDigits++; in doubleToString()
427 ( nDigits <= 0 ? std::max< sal_Int32 >( nDecPlaces, abs(nExp) ) in doubleToString()
428 : nDigits + nDecPlaces ) + 10 + (pGroups ? abs(nDigits) * 2 : 0); in doubleToString()
455 sal_Int32 i = ( nDigits <= 0 ? nDecPlaces : -nExp - 1 ); in doubleToString()
484 if( nDigits > 0 ) in doubleToString()
491 if (nDigits-1 == 0 && i > 0 && i < 14) in doubleToString()
[all …]
/trunk/main/vcl/source/control/
H A Dlongcurr.cxx63 …LocaleDataWrapper& rLocaleDataWrapper, const BigInt &rNumber, sal_uInt16 nDigits, const String& rC… in ImplGetCurr() argument
65 DBG_ASSERT( nDigits < 10, "LongCurrency duerfen nur maximal 9 Nachkommastellen haben" ); in ImplGetCurr()
68 return rLocaleDataWrapper.getCurr( (long)rNumber, nDigits, rCurrSymbol, bShowThousandSep ); in ImplGetCurr()
70 BigInt aTmp( ImplPower10( nDigits ) ); in ImplGetCurr()
85 …XubString aTemplate = rLocaleDataWrapper.getCurr( (long)aFraction, nDigits, rCurrSymbol, bShowThou… in ImplGetCurr()
511 void LongCurrencyFormatter::SetDecimalDigits( sal_uInt16 nDigits ) in SetDecimalDigits() argument
515 if ( nDigits > 9 ) in SetDecimalDigits()
516 nDigits = 9; in SetDecimalDigits()
518 mnDecimalDigits = nDigits; in SetDecimalDigits()
H A Dfield.cxx575 void NumericFormatter::SetDecimalDigits( sal_uInt16 nDigits ) in SetDecimalDigits() argument
577 mnDecimalDigits = nDigits; in SetDecimalDigits()
1273 sal_Int64 MetricField::ConvertValue( sal_Int64 nValue, sal_uInt16 nDigits, in ConvertValue() argument
1278 ConvertDoubleValue( nValue, nDigits, eInUnit, eOutUnit ) ) ); in ConvertValue()
1283 sal_Int64 MetricField::ConvertValue( sal_Int64 nValue, sal_uInt16 nDigits, in ConvertValue() argument
1290 ConvertDoubleValue( nValue, nDigits, eInUnit, eOutUnit ) ) ); in ConvertValue()
1346 double MetricField::ConvertDoubleValue( double nValue, sal_uInt16 nDigits, in ConvertDoubleValue() argument
1361 long nDecDigits = nDigits; in ConvertDoubleValue()
1403 double MetricField::ConvertDoubleValue( double nValue, sal_uInt16 nDigits, in ConvertDoubleValue() argument
1418 long nDecDigits = nDigits; in ConvertDoubleValue()
/trunk/main/editeng/source/items/
H A Ditemtype.cxx113 for( int nDigits = 4; nDigits; --nDigits, nDiff /= 10 ) in GetMetricText() local
120 if( 4 == nDigits ) in GetMetricText()
/trunk/main/tools/source/fsys/
H A Durlobj.cxx2382 int nDigits = 0; in parseHost() local
2400 nDigits = 1; in parseHost()
2478 ++nDigits; in parseHost()
2492 nDigits = 1; in parseHost()
2575 ++nDigits; in parseHost()
2630 ++nDigits; in parseHost()
2635 ++nDigits; in parseHost()
2659 ++nDigits; in parseHost()
2709 ++nDigits; in parseHost()
2714 ++nDigits; in parseHost()
[all …]
/trunk/main/svtools/source/filter/ixbm/
H A Dxbmread.cxx206 sal_uInt16 nDigits; in ParseData() local
234 nBit = nDigits = nValue = 0; in ParseData()
244 nDigits++; in ParseData()
247 else if( ( nTable < 0 ) && nDigits ) in ParseData()
/trunk/main/cui/source/tabpages/
H A Dtransfrm.cxx95 void lcl_ConvertRect(basegfx::B2DRange& rRange, const sal_uInt16 nDigits, const MapUnit ePoolUnit, … in lcl_ConvertRect() argument
98 …(double)MetricField::ConvertValue(basegfx::fround(rRange.getMinX()), nDigits, ePoolUnit, eDlgUnit), in lcl_ConvertRect()
99 …(double)MetricField::ConvertValue(basegfx::fround(rRange.getMinY()), nDigits, ePoolUnit, eDlgUnit)… in lcl_ConvertRect()
101 …(double)MetricField::ConvertValue(basegfx::fround(rRange.getMaxX()), nDigits, ePoolUnit, eDlgUnit), in lcl_ConvertRect()
102 …(double)MetricField::ConvertValue(basegfx::fround(rRange.getMaxY()), nDigits, ePoolUnit, eDlgUnit)… in lcl_ConvertRect()
295 sal_uInt16 nDigits(aMtrPosX.GetDecimalDigits()); in Construct() local
296 lcl_ConvertRect(maRange, nDigits, (MapUnit)ePoolUnit, eDlgUnit); in Construct()
866 const sal_uInt16 nDigits(maMtrPosX.GetDecimalDigits()); in Construct() local
867 lcl_ConvertRect( maWorkRange, nDigits, (MapUnit) mePoolUnit, meDlgUnit ); in Construct()
868 lcl_ConvertRect( maRange, nDigits, (MapUnit) mePoolUnit, meDlgUnit ); in Construct()
/trunk/main/sax/source/tools/
H A Dconverter.cxx1141 const sal_Int32 nDigits = nPos - nStart; in convertDuration() local
1142 OSL_ENSURE(nDigits > 0, "bad code monkey"); in convertDuration()
1145 if (nDigits >= 2) in convertDuration()
1149 if (nDigits >= 3) in convertDuration()
1473 const sal_Int32 nDigits(nPos - nStart); in convertDateOrDateTime() local
1474 OSL_ENSURE(nDigits > 0, "bad code monkey"); in convertDateOrDateTime()
1477 if (nDigits >= 2) in convertDateOrDateTime()
1480 if (nDigits >= 3) in convertDateOrDateTime()
/trunk/main/toolkit/source/layout/vcl/
H A Dwfield.cxx213 sal_Int16 nDigits = mxField->getDecimalDigits(); in valueToDouble() local
215 for ( sal_uInt16 d = 0; d < nDigits; d++ ) in valueToDouble()
221 sal_Int16 nDigits = mxField->getDecimalDigits(); in doubleToValue() local
223 for ( sal_uInt16 d = 0; d < nDigits; d++ ) in doubleToValue()
/trunk/main/sc/source/ui/dbgui/
H A Dcsvgrid.cxx118 sal_Int32 nDigits = 2; in UpdateOffsetX() local
119 while( nLastLine /= 10 ) ++nDigits; in UpdateOffsetX()
120 nDigits = Max( nDigits, sal_Int32( 3 ) ); in UpdateOffsetX()
121 Execute( CSVCMD_SETHDRWIDTH, GetTextWidth( String( '0' ) ) * nDigits ); in UpdateOffsetX()
/trunk/main/odk/examples/DevelopersGuide/Spreadsheet/
H A DExampleDataPilotSource.java805 int[] nDigits = new int[ExampleSettings.nDimensionCount]; in getResults() local
809 nDigits[i] = nValue; in getResults()
832 nRowResult += ( nRowVal % nMemberCount ) * nDigits[nDim]; in getResults()
844 nResult += ( nColVal % nMemberCount ) * nDigits[nDim]; in getResults()
/trunk/main/vcl/source/window/
H A Dprintdlg.cxx361 int nDigits = 0; in setPreview() local
365 nDigits = 2; in setPreview()
368 String aNumText( rLocWrap.getNum( aLogicPaperSize.Width(), nDigits ) ); in setPreview()
380 aNumText = rLocWrap.getNum( aLogicPaperSize.Height(), nDigits ); in setPreview()
495 sal_uInt16 nDigits = 0; in NUpTabPage() local
499 nDigits = 2; in NUpTabPage()
506 maPageMarginEdt.SetDecimalDigits( nDigits ); in NUpTabPage()
507 maSheetMarginEdt.SetDecimalDigits( nDigits ); in NUpTabPage()
/trunk/main/extensions/source/propctrlr/
H A Dstandardcontrol.cxx245 static long ImplCalcLongValue( double nValue, sal_uInt16 nDigits ) in ImplCalcLongValue() argument
248 for ( sal_uInt16 d = 0; d < nDigits; ++d ) in ImplCalcLongValue()
257 static double ImplCalcDoubleValue( long nValue, sal_uInt16 nDigits ) in ImplCalcDoubleValue() argument
260 for ( sal_uInt16 d = 0; d < nDigits; ++d ) in ImplCalcDoubleValue()
/trunk/main/svtools/source/control/
H A Dfmtfield.cxx1330 sal_uInt16 nDigits = GetDecimalDigits(); in UpdateCurrencyFormat() local
1347 if (nDigits) in UpdateCurrencyFormat()
1352 sTemp.Fill(nDigits, '0'); in UpdateCurrencyFormat()
/trunk/main/svl/inc/svl/
H A Dzforlist.hxx234 sal_uInt16 nDigits; /// count of decimal digits member in NfCurrencyEntry
278 sal_uInt16 GetDigits() const { return nDigits; } in GetDigits()
/trunk/main/svx/source/svdraw/
H A Dsvdtrans.cxx713 void Kuerzen(Fraction& rF, unsigned nDigits) in Kuerzen() argument
732 int nMulWeg=nMulDigits-nDigits; if (nMulWeg<0) nMulWeg=0; in Kuerzen()
733 int nDivWeg=nDivDigits-nDigits; if (nDivWeg<0) nDivWeg=0; in Kuerzen()
/trunk/main/svl/source/numbers/
H A Dzforlist.cxx3818 nDigits(2), in NfCurrencyEntry()
3831 nDigits = rLocaleData.getCurrDigits(); in NfCurrencyEntry()
3844 nDigits = rCurr.DecimalPlaces; in NfCurrencyEntry()
3865 nDigits = 2; in SetEuro()
3919 if ( nDecimalFormat && nDigits ) in Impl_BuildFormatStringNumChars()
3922 rStr.Expand( rStr.Len() + nDigits, (nDecimalFormat == 2 ? '-' : cZeroChar) ); in Impl_BuildFormatStringNumChars()
/trunk/main/vcl/inc/vcl/
H A Dlongcurr.hxx76 void SetDecimalDigits( sal_uInt16 nDigits );
/trunk/main/starmath/source/
H A Ddialog.cxx865 sal_uInt16 nDigits; in SetCategory() local
869 nDigits = 0; in SetCategory()
874 nDigits = 2; in SetCategory()
877 pMF->SetDecimalDigits(nDigits); in SetCategory()
/trunk/main/svtools/source/inc/
H A Dunoiface.hxx326 …void SAL_CALL setDecimalDigits( sal_Int16 nDigits ) throw(::com::sun::star::uno::RuntimeException);
370 …void SAL_CALL setDecimalDigits( sal_Int16 nDigits ) throw(::com::sun::star::uno::RuntimeException);
/trunk/main/offapi/com/sun/star/awt/
H A DXCurrencyField.idl119 [oneway] void setDecimalDigits( [in] short nDigits );
H A DXNumericField.idl119 [oneway] void setDecimalDigits( [in] short nDigits );
H A DXMetricField.idl133 void setDecimalDigits( [in] short nDigits );
/trunk/main/toolkit/inc/toolkit/awt/
H A Dvclxwindows.hxx998 …void SAL_CALL setDecimalDigits( sal_Int16 nDigits ) throw(::com::sun::star::uno::RuntimeException);
1050 …virtual void SAL_CALL setDecimalDigits( ::sal_Int16 nDigits ) throw (::com::sun::star::uno::Runtim…
1096 …void SAL_CALL setDecimalDigits( sal_Int16 nDigits ) throw(::com::sun::star::uno::RuntimeException);

Completed in 283 milliseconds

12