/trunk/main/sc/source/core/data/ |
H A D | documen4.cxx | 505 double ScDocument::RoundValueAsShown( double fVal, sal_uLong nFormat ) in RoundValueAsShown() argument 522 if ( fVal > 0.0 ) in RoundValueAsShown() 523 … nPrecision = sal::static_int_cast<short>( nPrecision - (short)floor( log10( fVal ) ) ); in RoundValueAsShown() 524 else if ( fVal < 0.0 ) in RoundValueAsShown() 525 … nPrecision = sal::static_int_cast<short>( nPrecision - (short)floor( log10( -fVal ) ) ); in RoundValueAsShown() 535 return fVal; in RoundValueAsShown() 537 double fRound = ::rtl::math::round( fVal, nPrecision ); in RoundValueAsShown() 538 if ( ::rtl::math::approxEqual( fVal, fRound ) ) in RoundValueAsShown() 539 return fVal; // durch Rundung hoechstens Fehler in RoundValueAsShown() 544 return fVal; in RoundValueAsShown()
|
H A D | dptabres.cxx | 454 fVal = rNext.fValue; in Update() 463 if ( nCount == 1 || rNext.fValue > fVal ) in Update() 464 fVal = rNext.fValue; in Update() 468 fVal = rNext.fValue; in Update() 548 fResult = fVal; in Calculate() 558 fResult = fVal / (double) nCount; in Calculate() 565 fResult = sqrt((fAux - fVal*fVal/(double)(nCount)) / (double)(nCount-1)); in Calculate() 569 fResult = (fAux - fVal*fVal/(double)(nCount)) / (double)(nCount-1); in Calculate() 573 fResult = sqrt((fAux - fVal*fVal/(double)(nCount)) / (double)nCount); in Calculate() 577 fResult = (fAux - fVal*fVal/(double)(nCount)) / (double)nCount; in Calculate() [all …]
|
/trunk/main/sc/source/ui/docshell/ |
H A D | docsh8.cxx | 873 double fVal; in DBaseExport() local 918 aDocument.GetValue( nDocCol, nDocRow, nTab, fVal ); in DBaseExport() 920 sal_Bool bIsNull = (fVal == 0.0); in DBaseExport() 933 aDate += (long)fVal; //! approxfloor? in DBaseExport() 942 aDocument.GetValue( nDocCol, nDocRow, nTab, fVal ); in DBaseExport() 943 if ( fVal == 0.0 && nErr == eERR_OK && in DBaseExport() 947 xRowUpdate->updateBoolean( nCol+1, ( fVal != 0.0 ) ); in DBaseExport() 949 xRowUpdate->updateDouble( nCol+1, fVal ); in DBaseExport() 956 aDocument.GetValue( nDocCol, nDocRow, nTab, fVal ); in DBaseExport() 957 xRowUpdate->updateDouble( nCol+1, fVal ); in DBaseExport()
|
/trunk/main/sc/source/filter/dif/ |
H A D | difexp.cxx | 113 double fVal; in ScExportDif() local 180 fVal = ( ( ScValueCell * ) pAkt )->GetValue(); in ScExportDif() 182 fVal, rtl_math_StringFormat_G, 14, '.', in ScExportDif() 208 fVal = ( ( ScFormulaCell * ) pAkt )->GetValue(); in ScExportDif() 210 fVal, rtl_math_StringFormat_G, 14, in ScExportDif()
|
/trunk/main/sw/source/filter/ww8/ |
H A D | wrtww8gr.cxx | 644 const double fVal = nWidth * 1000.0 / (aGrTwipSz.Width() + nXSizeAdd ); in WritePICFHeader() local 645 Set_UInt16( pArr, (sal_uInt16)::rtl::math::round(fVal) ); in WritePICFHeader() 661 const double fVal = nHeight * 1000.0 / (aGrTwipSz.Height() + nYSizeAdd); in WritePICFHeader() local 662 Set_UInt16( pArr, (sal_uInt16)::rtl::math::round(fVal) ); in WritePICFHeader() 838 double fVal = nWidth * 1000.0 / (aGrTwipSz.Width() + nXSizeAdd); in WritePICBulletFHeader() local 839 Set_UInt16( pArr, (sal_uInt16)::rtl::math::round(fVal) ); in WritePICBulletFHeader() 846 double fVal = nHeight * 1000.0 / (aGrTwipSz.Height() + nYSizeAdd); in WritePICBulletFHeader() local 847 Set_UInt16( pArr, (sal_uInt16)::rtl::math::round(fVal) ); in WritePICBulletFHeader()
|
/trunk/main/sd/source/filter/eppt/ |
H A D | pptexanimations.cxx | 1168 double fVal = 0.0; in exportAnimProperty() local 1169 if ( rAny >>= fVal ) in exportAnimProperty() 1178 float fVal = 0.0; in exportAnimProperty() local 1179 if ( rAny >>= fVal ) in exportAnimProperty() 2040 double fVal = 0.0; in exportAnimateTransform() local 2041 if ( xTransform->getBy() >>= fVal ) in exportAnimateTransform() 2044 fBy = (float)fVal; in exportAnimateTransform() 2046 if ( xTransform->getFrom() >>= fVal ) in exportAnimateTransform() 2049 fFrom = (float)fVal; in exportAnimateTransform() 2051 if ( xTransform->getTo() >>= fVal ) in exportAnimateTransform() [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/sc/source/filter/lotus/ |
H A D | tool.cxx | 152 double fVal; in SnumToDouble() local 156 fVal = pFacts[ ( nVal >> 1 ) & 0x0007 ]; in SnumToDouble() 157 fVal *= ( sal_Int16 ) ( nVal >> 4 ); in SnumToDouble() 160 fVal = ( sal_Int16 ) ( nVal >> 1 ); in SnumToDouble() 162 return fVal; in SnumToDouble()
|
H A D | expop.cxx | 375 double fVal; in Write() local 376 fVal = ( ( ScValueCell * ) pCell)->GetValue(); in Write() 377 Number( nCol, nRow, fVal, *pPatAttr ); in Write()
|
/trunk/main/sc/source/ui/unoobj/ |
H A D | funcuno.cxx | 453 double fVal(0.0); in visitElem() local 454 rElement >>= fVal; in visitElem() 455 visitElem( nCol, nRow, fVal ); in visitElem() 605 double fVal = 0; in callFunction() local 606 rArg >>= fVal; in callFunction() 607 aTokenArr.AddDouble( fVal ); in callFunction()
|
/trunk/main/sc/source/ui/vba/ |
H A D | vbawsfunction.cxx | 177 double fVal = 0.0; in invoke() 178 if( aRet >>= fVal ) in invoke() 182 ( aSequence[0].getLength() > 0 ) && ( aSequence[0][0] >>= fVal ) ) ) in invoke() 184 aRet <<= fVal; in invoke()
|
/trunk/main/chart2/source/controller/chartapiwrapper/ |
H A D | WrappedTextRotationProperty.cxx | 61 double fVal = 0; in convertInnerToOuterValue() local 62 if( rInnerValue >>= fVal ) in convertInnerToOuterValue() 64 sal_Int32 n100thDegrees = static_cast< sal_Int32 >( fVal * 100.0 ); in convertInnerToOuterValue()
|
/trunk/main/sc/source/ui/view/ |
H A D | tabvwsh8.cxx | 69 double fVal = 0.0; in HasSelection() local 70 if ( pDoc->GetSelectionFunction( SUBTOTAL_FUNC_CNT2, aCursor, rMark, fVal ) ) in HasSelection() 71 bHas = ( fVal > 0.5 ); in HasSelection()
|
/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/scaddins/source/analysis/ |
H A D | analysishelper.hxx | 559 virtual double Convert( double fVal, const ConvertData& rTo, 564 virtual double ConvertToBase( double fVal, sal_Int16 nMatchLevel ) const; 565 virtual double ConvertFromBase( double fVal, sal_Int16 nMatchLevel ) const; 588 virtual double Convert( double fVal, const ConvertData& rTo, 592 virtual double ConvertToBase( double fVal, sal_Int16 nMatchLevel ) const; 593 virtual double ConvertFromBase( double fVal, sal_Int16 nMatchLevel ) const; 609 double Convert( double fVal, const STRING& rFrom, const STRING& rTo ) THROWDEF_RTE_IAE;
|
/trunk/main/svx/source/customshapes/ |
H A D | EnhancedCustomShape2d.cxx | 938 double fVal; in GetPoint() local 942 GetParameter( fVal, rParameter, sal_False, bReplaceGeoSize ); in GetPoint() 943 fVal -= nCoordTop; in GetPoint() 946 fVal *= fYScale; in GetPoint() 949 fVal = aLogicRect.GetHeight() - fVal; in GetPoint() 951 aRetValue.Y() = (sal_Int32)fVal; in GetPoint() 955 GetParameter( fVal, rParameter, bReplaceGeoSize, sal_False ); in GetPoint() 956 fVal -= nCoordLeft; in GetPoint() 959 fVal *= fXScale; in GetPoint() 962 fVal = aLogicRect.GetWidth() - fVal; in GetPoint() [all …]
|
/trunk/main/basegfx/inc/basegfx/tuple/ |
H A D | b3dtuple.hxx | 241 const double fVal(1.0 / t); in operator /=() local 242 mfX *= fVal; in operator /=() 243 mfY *= fVal; in operator /=() 244 mfZ *= fVal; in operator /=()
|
H A D | b2dtuple.hxx | 210 const double fVal(1.0 / t); in operator /=() local 211 mfX *= fVal; in operator /=() 212 mfY *= fVal; in operator /=()
|
/trunk/main/tools/inc/tools/ |
H A D | gen.hxx | 39 inline long FRound( double fVal ); 59 inline long FRound( double fVal ) in FRound() argument 61 return( fVal > 0.0 ? (long) ( fVal + 0.5 ) : -(long) ( -fVal + 0.5 ) ); in FRound()
|
/trunk/main/sc/source/filter/excel/ |
H A D | excimp8.cxx | 401 void XclImpAutoFilterData::CreateFromDouble( String& rStr, double fVal ) in CreateFromDouble() argument 403 rStr += String( ::rtl::math::doubleToUString( fVal, in CreateFromDouble() 505 double fVal; in ReadAutoFilter() local 552 rStrm >> fVal; in ReadAutoFilter() 553 CreateFromDouble( *aEntry.pStr, fVal ); in ReadAutoFilter()
|
/trunk/main/chart2/source/controller/itemsetwrapper/ |
H A D | AxisItemConverter.cxx | 404 double fVal = 0; in FillSpecialItem() local 406 if( GetPropertySet()->getPropertyValue( C2U( "TextRotation" )) >>= fVal ) in FillSpecialItem() 409 ::rtl::math::round( fVal * 100.0 ) ) )); in FillSpecialItem() 894 double fVal = static_cast< double >( in ApplySpecialItem() local 902 ( bPropExisted && fOldVal != fVal )) in ApplySpecialItem() 904 GetPropertySet()->setPropertyValue( C2U( "TextRotation" ), uno::makeAny( fVal )); in ApplySpecialItem()
|
/trunk/main/basegfx/source/vector/ |
H A D | b2dvector.cxx | 153 double fVal(rVecA.getX() * rVecB.getY() - rVecA.getY() * rVecB.getX()); in getOrientation() local 155 if(fTools::equalZero(fVal)) in getOrientation() 160 if(fVal > 0.0) in getOrientation()
|
/trunk/main/tools/source/generic/ |
H A D | color.cxx | 43 static inline long _FRound( double fVal ) in _FRound() argument 45 return( fVal > 0.0 ? (long) ( fVal + 0.5 ) : -(long) ( -fVal + 0.5 ) ); in _FRound()
|
/trunk/main/sdext/source/minimizer/ |
H A D | informationdialog.cxx | 224 double fVal( static_cast<double>( rVal ) ); in ImpValueOfInMB() 225 fVal /= ( 1 << 20 ); in ImpValueOfInMB() 226 fVal += 0.05; in ImpValueOfInMB() 227 rtl::OUStringBuffer aVal( OUString::valueOf( fVal ) ); in ImpValueOfInMB()
|
/trunk/main/sc/source/core/tool/ |
H A D | ddelink.cxx | 197 double fVal; in DataChanged() local 198 if ( nMode != SC_DDE_TEXT && pFormatter->IsNumberFormat( aEntry, nIndex, fVal ) ) in DataChanged() 199 pResult->PutDouble( fVal, nC, nR ); in DataChanged()
|