/trunk/main/svx/source/svdraw/ |
H A D | svdomeas.cxx | 1386 inline double ImplTwipsToMM(double fVal) { return (fVal * (127.0 / 72.0)); } in ImplTwipsToMM() argument 1387 inline double ImplMMToTwips(double fVal) { return (fVal * (72.0 / 127.0)); } in ImplMMToTwips() argument
|
H A D | svdopath.cxx | 64 inline double ImplTwipsToMM(double fVal) { return (fVal * (127.0 / 72.0)); } in ImplTwipsToMM() argument 65 inline double ImplMMToTwips(double fVal) { return (fVal * (72.0 / 127.0)); } in ImplMMToTwips() argument
|
H A D | svdotext.cxx | 73 inline double ImplTwipsToMM(double fVal) { return (fVal * (127.0 / 72.0)); } in ImplTwipsToMM() argument 74 inline double ImplMMToTwips(double fVal) { return (fVal * (72.0 / 127.0)); } in ImplMMToTwips() argument
|
H A D | svdoashp.cxx | 93 inline double ImplTwipsToMM(double fVal) { return (fVal * (127.0 / 72.0)); } in ImplTwipsToMM() argument 94 inline double ImplMMToTwips(double fVal) { return (fVal * (72.0 / 127.0)); } in ImplMMToTwips() argument
|
H A D | svdobj.cxx | 124 inline double ImplTwipsToMM(double fVal) { return (fVal * (127.0 / 72.0)); } in ImplTwipsToMM() argument 125 inline double ImplMMToTwips(double fVal) { return (fVal * (72.0 / 127.0)); } in ImplMMToTwips() argument
|
/trunk/main/sc/source/core/tool/ |
H A D | interpr5.cxx | 1229 double fVal; in CalculateAddSub() local 1234 fVal = fVal1; in CalculateAddSub() 1240 fVal = fVal2; in CalculateAddSub() 1433 double fVal; in ScMul() local 1437 fVal = fVal1; in ScMul() 1508 double fVal; in ScDiv() local 1590 double fVal; in ScPow() local 1723 fSum += fVal * fVal; in CalculateSumX2MY2SumX2DY2() 1726 fSum += fVal * fVal; in CalculateSumX2MY2SumX2DY2() 1728 fSum -= fVal * fVal; in CalculateSumX2MY2SumX2DY2() [all …]
|
H A D | interpr2.cxx | 187 double fVal; in ScGetDateValue() local 418 double fVal; in ScGetTimeValue() local 549 if (fVal < 0.0) in ScEven() 559 if (fVal >= 0.0) in ScOdd() 561 fVal = ::rtl::math::approxCeil(fVal); in ScOdd() 563 fVal += 1.0; in ScOdd() 567 fVal = ::rtl::math::approxFloor(fVal); in ScOdd() 571 PushDouble(fVal); in ScOdd() 608 if (fVal > 0.0) in ScLn() 618 if (fVal > 0.0) in ScLog10() [all …]
|
/trunk/main/vcl/source/fontsubset/ |
H A D | cff.cxx | 2084 inline int dbl2str( char* pOut, double fVal, int nPrecision=6) in dbl2str() argument 2086 const int nLen = psp::getValueOfDouble( pOut, fVal, nPrecision); in dbl2str()
|
/trunk/main/vcl/source/gdi/ |
H A D | bitmap3.cxx | 246 double fVal = 3.125; in ImplCreateDitherMatrix() local 247 const double fVal16 = fVal / 16.; in ImplCreateDitherMatrix() 262 (sal_uInt16) ( 0.5 + pMagic[i][j]*fVal + pMagic[k][l]*fVal16 ), nMax ); in ImplCreateDitherMatrix() 265 for ( i = 0, fVal = 254. / nMax; i < 16; i++ ) in ImplCreateDitherMatrix() 267 (*pDitherMatrix)[i][j] = (sal_uInt8) ( fVal * pMtx[i][j] ); in ImplCreateDitherMatrix()
|
/trunk/main/sc/source/core/data/ |
H A D | document.cxx | 2771 double fVal = pFCell->GetValue(); in GetStringForFormula() local 2775 pFormatter->GetInputLineString(fVal, nIndex, aStr); in GetStringForFormula() 2783 double fVal = static_cast<ScValueCell*>(pCell)->GetValue(); in GetStringForFormula() local 2787 pFormatter->GetInputLineString(fVal, nIndex, aStr); in GetStringForFormula()
|
H A D | cell.cxx | 1962 pFormatter->GetOutputString( pMatVal->fVal, nURLFormat, rURL, &pColor ); in GetURLResult()
|
/trunk/main/sw/source/filter/ww8/ |
H A D | ww8graf.cxx | 2184 double fVal = WW8ITEMVALUE(rOldSet, SDRATTR_GRAFGAMMA, in SetAttributesAtGrfNode() local 2186 pGrfNd->SetAttr(SwGammaGrf(fVal/100.)); in SetAttributesAtGrfNode()
|
/trunk/main/sc/source/ui/view/ |
H A D | output2.cxx | 549 double fVal = (eType == CELLTYPE_VALUE) ? in SetTextToWidthOrHash() local 559 if (!pNumFormat->GetOutputString(fVal, nNumDigits, aString)) in SetTextToWidthOrHash() 579 if (aString.EqualsAscii("0") && fVal != 0.0) in SetTextToWidthOrHash() 593 if (!pNumFormat->GetOutputString(fVal, nNumDigits, aString)) in SetTextToWidthOrHash()
|
H A D | gridwin.cxx | 1117 double fVal = pDoc->GetValue(ScAddress(nCol, nRow, nTab)); in DoAutoFilterMenue() local 1118 pNew = new TypedStrData( aDocStr, fVal, SC_STRTYPE_VALUE ); in DoAutoFilterMenue()
|
/trunk/main/sc/source/filter/html/ |
H A D | htmlexp.cxx | 1016 double fVal = 0.0; in WriteCell() local 1024 fVal = ((ScValueCell*)pCell)->GetValue(); in WriteCell() 1025 if ( bCalcAsShown && fVal != 0.0 ) in WriteCell() 1026 fVal = pDoc->RoundValueAsShown( fVal, nFormat ); in WriteCell() 1029 fVal = ((ScFormulaCell*)pCell)->GetValue(); in WriteCell() 1031 nFormat = ScGlobal::GetStandardFormat( fVal, *pFormatter, in WriteCell() 1039 HTMLOutFuncs::CreateTableDataOptionsValNum( aStrTD, bValueData, fVal, in WriteCell()
|
/trunk/main/sc/source/ui/app/ |
H A D | transobj.cxx | 820 double fVal = pFCell->GetValue(); in StripRefs() local 821 pNew = new ScValueCell( fVal ); in StripRefs()
|
/trunk/main/sc/source/ui/docshell/ |
H A D | docfunc.cxx | 1017 double fVal; in InterpretEnglishString() local 1018 if ( pFormatter->IsNumberFormat( rText, nEnglish, fVal ) ) in InterpretEnglishString() 1020 pNewCell = new ScValueCell( fVal ); in InterpretEnglishString()
|
H A D | impex.cxx | 919 double fVal; in lcl_PutString() local 920 if ( pDocFormatter->IsNumberFormat( rStr, nEnglish, fVal ) ) in lcl_PutString() 923 pDoc->SetValue( nCol, nRow, nTab, fVal ); in lcl_PutString() 1622 double fVal = rtl_math_uStringToDouble( p, in Sylk2Doc() local 1625 pDoc->SetValue( nCol, nRow, aRange.aStart.Tab(), fVal ); in Sylk2Doc()
|
/trunk/main/sc/source/filter/excel/ |
H A D | xehelper.cxx | 1133 rStrm << EXC_CACHEDVAL_DOUBLE << pMatVal->fVal; in Save()
|
/trunk/main/basegfx/inc/basegfx/numeric/ |
H A D | ftools.hxx | 64 inline sal_Int32 fround( double fVal ) in fround() argument 66 return fVal > 0.0 ? static_cast<sal_Int32>( fVal + .5 ) : -static_cast<sal_Int32>( -fVal + .5 ); in fround() 73 inline sal_Int64 fround64( double fVal ) in fround64() argument 75 return fVal > 0.0 ? static_cast<sal_Int64>( fVal + .5 ) : -static_cast<sal_Int64>( -fVal + .5 ); in fround64() 90 inline double pruneScaleValue( double fVal ) in pruneScaleValue() argument 101 if(fVal < 0.0) in pruneScaleValue() 102 return (fVal < -0.00001 ? fVal : -0.00001); in pruneScaleValue() 104 return (fVal > 0.00001 ? fVal : 0.00001); in pruneScaleValue()
|
/trunk/main/scaddins/source/analysis/ |
H A D | analysishelper.cxx | 574 double fVal = 0.0; in ConvertToDec() local 602 fVal = fVal * fBase + double( n ); in ConvertToDec() 614 fVal = ( pow( double( nBase ), double( nCharLim ) ) - fVal ); // complement in ConvertToDec() 615 fVal *= -1.0; in ConvertToDec() 618 return fVal; in ConvertToDec() 2743 double ConvertDataList::Convert( double fVal, const STRING& rFrom, const STRING& rTo ) THROWDEF_RTE… in Convert() argument 2801 return pFrom->Convert( fVal, *pTo, nLevelFrom, nLevelTo ); in Convert()
|
/trunk/main/xmloff/source/draw/ |
H A D | xexptran.cxx | 288 ImpSdXMLExpTransObj2DRotate(double fVal) in ImpSdXMLExpTransObj2DRotate() 289 : ImpSdXMLExpTransObj2DBase(IMP_SDXMLEXP_TRANSOBJ2D_ROTATE), mfRotate(fVal) {} in ImpSdXMLExpTransObj2DRotate() 306 ImpSdXMLExpTransObj2DSkewX(double fVal) in ImpSdXMLExpTransObj2DSkewX() 307 : ImpSdXMLExpTransObj2DBase(IMP_SDXMLEXP_TRANSOBJ2D_SKEWX), mfSkewX(fVal) {} in ImpSdXMLExpTransObj2DSkewX() 312 ImpSdXMLExpTransObj2DSkewY(double fVal) in ImpSdXMLExpTransObj2DSkewY() 313 : ImpSdXMLExpTransObj2DBase(IMP_SDXMLEXP_TRANSOBJ2D_SKEWY), mfSkewY(fVal) {} in ImpSdXMLExpTransObj2DSkewY() 744 ImpSdXMLExpTransObj3DRotateX(double fVal) in ImpSdXMLExpTransObj3DRotateX() 745 : ImpSdXMLExpTransObj3DBase(IMP_SDXMLEXP_TRANSOBJ3D_ROTATE_X), mfRotateX(fVal) {} in ImpSdXMLExpTransObj3DRotateX() 750 ImpSdXMLExpTransObj3DRotateY(double fVal) in ImpSdXMLExpTransObj3DRotateY() 751 : ImpSdXMLExpTransObj3DBase(IMP_SDXMLEXP_TRANSOBJ3D_ROTATE_Y), mfRotateY(fVal) {} in ImpSdXMLExpTransObj3DRotateY() [all …]
|
/trunk/main/xmloff/source/chart/ |
H A D | PropertyMaps.cxx | 392 double fVal = (double)(nValue) / 100.0; in handleSpecialItem() local 393 SvXMLUnitConverter::convertDouble( sValueBuffer, fVal ); in handleSpecialItem() 538 double fVal; in handleSpecialItem() local 539 SvXMLUnitConverter::convertDouble( fVal, rValue ); in handleSpecialItem() 540 nValue = (sal_Int32)( fVal * 100.0 ); in handleSpecialItem()
|
/trunk/main/writerfilter/source/dmapper/ |
H A D | DomainMapper.cxx | 2997 double fVal = double(nIntValue) / 2.; in sprmWithProps() local 2998 uno::Any aVal = uno::makeAny( fVal ); in sprmWithProps()
|
/trunk/main/vcl/source/window/ |
H A D | window2.cxx | 914 inline long WinFloatRound( double fVal ) in WinFloatRound() argument 916 return( fVal > 0.0 ? (long) ( fVal + 0.5 ) : -(long) ( -fVal + 0.5 ) ); in WinFloatRound() 1268 const double fVal = (double)nNewPos - ((double)nX * pHScrl->GetLineSize()); in ImplHandleScroll() local 1270 if ( fVal < LONG_MIN ) in ImplHandleScroll() 1272 else if ( fVal > LONG_MAX ) in ImplHandleScroll() 1275 nNewPos = (long)fVal; in ImplHandleScroll() 1291 const double fVal = (double)nNewPos - ((double)nY * pVScrl->GetLineSize()); in ImplHandleScroll() local 1293 if ( fVal < LONG_MIN ) in ImplHandleScroll() 1295 else if ( fVal > LONG_MAX ) in ImplHandleScroll() 1298 nNewPos = (long)fVal; in ImplHandleScroll()
|