Lines Matching refs:nCol
84 for (long nCol = 0; nCol < nColCount; nCol++) in FillLongArray() local
85 pColAry[nCol] = lcl_DoubleToLong( pDoc->GetValue( in FillLongArray()
86 ScAddress( (SCCOL)(nStartCol+nCol), (SCROW)(nStartRow+nRow), nTab ) ) ); in FillLongArray()
111 for (SCSIZE nCol = 0; nCol < nColCount; nCol++) in FillLongArray() local
112 if ( pMatrix->IsString( nCol, nRow ) ) in FillLongArray()
113 pColAry[nCol] = 0; in FillLongArray()
115 pColAry[nCol] = lcl_DoubleToLong( pMatrix->GetDouble( nCol, nRow ) ); in FillLongArray()
140 for (long nCol = 0; nCol < nColCount; nCol++) in FillDoubleArray() local
141 pColAry[nCol] = pDoc->GetValue( in FillDoubleArray()
142 ScAddress( (SCCOL)(nStartCol+nCol), (SCROW)(nStartRow+nRow), nTab ) ); in FillDoubleArray()
167 for (SCSIZE nCol = 0; nCol < nColCount; nCol++) in FillDoubleArray() local
168 if ( pMatrix->IsString( nCol, nRow ) ) in FillDoubleArray()
169 pColAry[nCol] = 0.0; in FillDoubleArray()
171 pColAry[nCol] = pMatrix->GetDouble( nCol, nRow ); in FillDoubleArray()
198 for (long nCol = 0; nCol < nColCount; nCol++) in FillStringArray() local
201 ScAddress((SCCOL)(nStartCol+nCol), (SCROW)(nStartRow+nRow), nTab), in FillStringArray()
202 pColAry[nCol] ); in FillStringArray()
230 for (SCSIZE nCol = 0; nCol < nColCount; nCol++) in FillStringArray() local
233 if ( pMatrix->IsString( nCol, nRow ) ) in FillStringArray()
235 if ( !pMatrix->IsEmpty( nCol, nRow ) ) in FillStringArray()
236 aStr = pMatrix->GetString( nCol, nRow ); in FillStringArray()
240 double fVal = pMatrix->GetDouble( nCol, nRow ); in FillStringArray()
244 pColAry[nCol] = rtl::OUString( aStr ); in FillStringArray()
288 for (long nCol = 0; nCol < nColCount; nCol++) in FillMixedArray() local
290 uno::Any& rElement = pColAry[nCol]; in FillMixedArray()
292 ScAddress aPos( (SCCOL)(nStartCol+nCol), (SCROW)(nStartRow+nRow), nTab ); in FillMixedArray()
333 for (SCSIZE nCol = 0; nCol < nColCount; nCol++) in FillMixedArray() local
335 if ( pMatrix->IsString( nCol, nRow ) ) in FillMixedArray()
338 if ( !pMatrix->IsEmpty( nCol, nRow ) ) in FillMixedArray()
339 aStr = pMatrix->GetString( nCol, nRow ); in FillMixedArray()
340 pColAry[nCol] <<= rtl::OUString( aStr ); in FillMixedArray()
344 double fVal = pMatrix->GetDouble( nCol, nRow ); in FillMixedArray()
345 if (bDataTypes && pMatrix->IsBoolean( nCol, nRow )) in FillMixedArray()
346 pColAry[nCol] <<= (fVal ? true : false); in FillMixedArray()
348 pColAry[nCol] <<= fVal; in FillMixedArray()
404 sal_Int32 nCol, nRow; in CreateMixedMatrix() local
429 for (nCol=0; nCol<nColCount; nCol++) in CreateMixedMatrix()
433 if (ScApiTypeConversion::ConvertAnyToDouble( fVal, eClass, pColArr[nCol])) in CreateMixedMatrix()
437 static_cast<SCSIZE>(nCol), in CreateMixedMatrix()
441 static_cast<SCSIZE>(nCol), in CreateMixedMatrix()
450 if ( pColArr[nCol] >>= aUStr ) in CreateMixedMatrix()
452 static_cast<SCSIZE>(nCol), in CreateMixedMatrix()
456 static_cast<SCSIZE>(nCol), in CreateMixedMatrix()
460 for (nCol=nColCount; nCol<nMaxColCount; nCol++) in CreateMixedMatrix()
463 static_cast<SCSIZE>(nCol), in CreateMixedMatrix()