Lines Matching refs:nVal

89 short lcl_DecompValueString( String& aValue, sal_Int32& nVal, sal_uInt16* pMinDigits = NULL )  in lcl_DecompValueString()  argument
93 nVal = 0; in lcl_DecompValueString()
112 nVal = aValue.Copy( 0, nNum ).ToInt32(); in lcl_DecompValueString()
132 nVal = aValue.Copy( nNum + 1 ).ToInt32(); in lcl_DecompValueString()
140 nVal = 0; in lcl_DecompValueString()
232 double nVal; in FillAnalyse() local
235 nVal = ((ScValueCell*)pFirstCell)->GetValue(); in FillAnalyse()
236 aDate1 += (long)nVal; in FillAnalyse()
238 nVal = GetValue(nCol+nAddX, nRow+nAddY); in FillAnalyse()
239 aDate2 += (long)nVal; in FillAnalyse()
265 nVal = ((ScValueCell*)pCell)->GetValue(); in FillAnalyse()
266 aDate2 = aNullDate + (long) nVal; in FillAnalyse()
749 double nVal = 0.0; in FillAuto() local
778 nVal = ((ScValueCell*)pSrcCell)->GetValue(); in FillAuto()
816 … aCol[nCol].Insert(static_cast<SCROW>(nRow), new ScValueCell(nVal + nDelta)); in FillAuto()
1054 sal_Int32 nVal; in GetAutoFillPreview() local
1056 short nFlag = lcl_DecompValueString( aValue, nVal, &nCellDigits ); in GetAutoFillPreview()
1059 if (aValue.Equals( ScGlobal::GetOrdinalSuffix( nVal))) in GetAutoFillPreview()
1060 aValue = ScGlobal::GetOrdinalSuffix( nVal + nDelta); in GetAutoFillPreview()
1062 aValue.Insert( lcl_ValueString( nVal + nDelta, nCellDigits ), 0 ); in GetAutoFillPreview()
1065 aValue += lcl_ValueString( nVal + nDelta, nCellDigits ); in GetAutoFillPreview()
1072 double nVal = ((ScValueCell*)pCell)->GetValue(); in GetAutoFillPreview() local
1074 nVal += (double) nDelta; in GetAutoFillPreview()
1079 GetOutputString( nVal, nNumFmt, aValue, &pColor ); in GetAutoFillPreview()
1094 sal_Int32 nVal = 0; in GetAutoFillPreview() local
1109 nHeadNoneTail = lcl_DecompValueString( aValue, nVal ); in GetAutoFillPreview()
1111 nStart = (double)nVal; in GetAutoFillPreview()
1153 if (aValue.Equals( ScGlobal::GetOrdinalSuffix( nVal))) in GetAutoFillPreview()
1414 double nVal = nStartVal; in FillSeries() local
1432 nVal = nStartVal; in FillSeries()
1435 !SubTotal::SafePlus( nVal, nAdd ) ) in FillSeries()
1440 if (!SubTotal::SafeMult(nVal, nStepValue)) in FillSeries()
1444 if (fabs(nVal) > _D_MAX_LONG_) in FillSeries()
1447 IncDate(nVal, nDayOfMonth, nStepValue, eFillDateCmd); in FillSeries()
1457 if (nVal > nMaxValue) // Zielwert erreicht? in FillSeries()
1459 nVal = nMaxValue; in FillSeries()
1465 if (nVal < nMaxValue) in FillSeries()
1467 nVal = nMaxValue; in FillSeries()
1476 aCol[nCol].SetValue(static_cast<SCROW>(nRow), nVal); in FillSeries()
1507 double nVal = nStartVal; in FillSeries() local
1526 nVal = nStartVal; in FillSeries()
1529 !SubTotal::SafePlus( nVal, nAdd ) ) in FillSeries()
1534 if (!SubTotal::SafeMult(nVal, nStepValue)) in FillSeries()
1545 if (nVal > nMaxValue) // Zielwert erreicht? in FillSeries()
1547 nVal = nMaxValue; in FillSeries()
1553 if (nVal < nMaxValue) in FillSeries()
1555 nVal = nMaxValue; in FillSeries()
1565 nStringValue = (sal_Int32)nVal; in FillSeries()