Lines Matching refs:nC
102 void CreateMatrix( SCSIZE nC, SCSIZE nR);
171 ScMatrix( SCSIZE nC, SCSIZE nR) : nRefCnt(0), mbCloneIfConst(true) { CreateMatrix( nC, nR); } in ScMatrix() argument
188 void Resize( SCSIZE nC, SCSIZE nR);
226 inline bool ValidColRow( SCSIZE nC, SCSIZE nR) const in ValidColRow() argument
227 { return nC < nColCount && nR < nRowCount; } in ValidColRow()
228 inline SCSIZE CalcOffset( SCSIZE nC, SCSIZE nR) const in CalcOffset() argument
229 { return nC * nRowCount + nR; } in CalcOffset()
270 void PutDouble( double fVal, SCSIZE nC, SCSIZE nR);
273 void PutString( const String& rStr, SCSIZE nC, SCSIZE nR);
275 void PutEmpty( SCSIZE nC, SCSIZE nR);
278 void PutEmptyPath( SCSIZE nC, SCSIZE nR);
280 void PutError( sal_uInt16 nErrorCode, SCSIZE nC, SCSIZE nR ) in PutError() argument
281 { PutDouble( CreateDoubleError( nErrorCode ), nC, nR ); } in PutError()
284 void PutBoolean( bool bVal, SCSIZE nC, SCSIZE nR);
295 sal_uInt16 GetError( SCSIZE nC, SCSIZE nR) const;
301 sal_uInt16 GetErrorIfNotString( SCSIZE nC, SCSIZE nR) const in GetErrorIfNotString() argument
302 { return IsValue( nC, nR) ? GetError( nC, nR) : 0; } in GetErrorIfNotString()
307 double GetDouble( SCSIZE nC, SCSIZE nR) const;
321 const String& GetString( SCSIZE nC, SCSIZE nR) const;
330 String GetString( SvNumberFormatter& rFormatter, SCSIZE nC, SCSIZE nR) const;
335 const ScMatrixValue* Get( SCSIZE nC, SCSIZE nR, ScMatValType& nType) const;
342 sal_Bool IsString( SCSIZE nC, SCSIZE nR ) const in IsString() argument
344 ValidColRowReplicated( nC, nR ); in IsString()
345 return mnValType && IsNonValueType( mnValType[ nC * nRowCount + nR ]); in IsString()
353 sal_Bool IsEmpty( SCSIZE nC, SCSIZE nR ) const in IsEmpty() argument
355 ValidColRowReplicated( nC, nR ); in IsEmpty()
356 … return mnValType && ((mnValType[ nC * nRowCount + nR ] & SC_MATVAL_EMPTY) == SC_MATVAL_EMPTY); in IsEmpty()
360 sal_Bool IsEmptyPath( SCSIZE nC, SCSIZE nR ) const in IsEmptyPath() argument
362 ValidColRowReplicated( nC, nR ); in IsEmptyPath()
363 …return mnValType && ((mnValType[ nC * nRowCount + nR ] & SC_MATVAL_EMPTYPATH) == SC_MATVAL_EMPTYPA… in IsEmptyPath()
375 sal_Bool IsValue( SCSIZE nC, SCSIZE nR ) const in IsValue() argument
377 ValidColRowReplicated( nC, nR ); in IsValue()
378 return !mnValType || IsValueType( mnValType[ nC * nRowCount + nR ]); in IsValue()
387 sal_Bool IsValueOrEmpty( SCSIZE nC, SCSIZE nR ) const in IsValueOrEmpty() argument
389 ValidColRowReplicated( nC, nR ); in IsValueOrEmpty()
390 return !mnValType || IsValueType( mnValType[ nC * nRowCount + nR ]) || in IsValueOrEmpty()
391 ((mnValType[ nC * nRowCount + nR ] & SC_MATVAL_EMPTY) == in IsValueOrEmpty()
400 sal_Bool IsBoolean( SCSIZE nC, SCSIZE nR ) const in IsBoolean() argument
402 ValidColRowReplicated( nC, nR ); in IsBoolean()
403 return mnValType && IsBooleanType( mnValType[ nC * nRowCount + nR ]); in IsBoolean()