Home
last modified time | relevance | path

Searched refs:nR (Results 1 – 25 of 95) sorted by relevance

1234

/trunk/main/sc/inc/
H A Dscmatrix.hxx171 ScMatrix( SCSIZE nC, SCSIZE nR) : nRefCnt(0), mbCloneIfConst(true) { CreateMatrix( nC, nR); } in ScMatrix() argument
188 void Resize( SCSIZE nC, SCSIZE nR);
229 { return nC * nRowCount + nR; } in CalcOffset()
275 void PutEmpty( SCSIZE nC, SCSIZE nR);
302 { return IsValue( nC, nR) ? GetError( nC, nR) : 0; } in GetErrorIfNotString()
344 ValidColRowReplicated( nC, nR ); in IsString()
355 ValidColRowReplicated( nC, nR ); in IsEmpty()
362 ValidColRowReplicated( nC, nR ); in IsEmptyPath()
377 ValidColRowReplicated( nC, nR ); in IsValue()
389 ValidColRowReplicated( nC, nR ); in IsValueOrEmpty()
[all …]
H A Dtoken.hxx360 ScMatrixFormulaCellToken( SCCOL nC, SCROW nR ) : in ScMatrixFormulaCellToken() argument
362 nRows( nR ), nCols( nC ) {} in ScMatrixFormulaCellToken()
374 void SetMatColsRows( SCCOL nC, SCROW nR ) in SetMatColsRows() argument
376 nRows = nR; in SetMatColsRows()
379 void GetMatColsRows( SCCOL & nC, SCROW & nR ) const in GetMatColsRows()
381 nR = nRows; in GetMatColsRows()
/trunk/main/sc/source/core/tool/
H A Dinterpr5.cxx366 for (SCSIZE nR = nNextRow - nRow1; nR < in CreateMatrixFromDoubleRef() local
426 for (SCSIZE nR = nNextRow - nRow1; nR < nMatRows; ++nR) in CreateMatrixFromDoubleRef() local
830 SCSIZE nC, nR; in ScMatDet() local
877 SCSIZE nC, nR; in ScMatInv() local
886 ScMatrixRef xY = GetNewMat( nR, nR); in ScMatInv()
928 ScMatrixRef xR = GetNewMat( nR, nR); in ScMatInv()
932 lcl_MFastMult( pMat, pY, pR, nR, nR, nR); in ScMatInv()
1243 SCSIZE nC, nR; in CalculateAddSub() local
1328 SCSIZE nC, nR; in ScAmpersand() local
1650 SCSIZE nR, nR1; in ScSumProduct() local
[all …]
H A Dinterpr1.cxx126 for ( SCSIZE nR=0; nR < nRows; ++nR ) in ScIfJump() local
259 for ( SCSIZE nR=0; nR < nRows; ++nR ) in ScChoseJump() local
361 SCSIZE nC, nR; in JumpMatrix() local
956 SCSIZE nC, nR; in CompareMat() local
1565 SCSIZE nC, nR; in ScNeg() local
1995 nRes = pMat->IsString( nC, nR) && !pMat->IsEmpty( nC, nR); in IsString()
5457 pResMat->PutDouble(pResMat->GetDouble(nC, nR)+1.0, nC, nR); in IterateParametersIfs()
5590 SCSIZE nC, nR; in IterateParametersIfs() local
5736 SCSIZE nC, nR; in ScLookup() local
5876 SCSIZE nC, nR; in ScLookup() local
[all …]
H A Dscmatrix.cxx46 nRowCount = nR; in CreateMatrix()
88 CreateMatrix(nC, nR); in Resize()
117 sal_uInt16 nR; in ScMatrix() local
120 rStream >> nR; in ScMatrix()
122 CreateMatrix(nC, nR); in ScMatrix()
256 if (ValidColRow( nC, nR)) in PutDouble()
266 if (ValidColRow( nC, nR)) in PutString()
320 if (ValidColRow( nC, nR)) in PutEmpty()
321 PutEmpty( CalcOffset( nC, nR) ); in PutEmpty()
347 if (ValidColRow( nC, nR)) in PutEmptyPath()
[all …]
H A Dchartpos.cxx170 SCROW nR = nEndRow - nStartRow + 1; in GlueState() local
171 if ( nR == 1 ) in GlueState()
176 sal_uLong nCR = (sal_uLong)nC * nR; in GlueState()
204 p = pA + (sal_uLong)nCol * nR + nRow1; in GlueState()
214 p = pA + (sal_uLong)nCol * nR; in GlueState()
215 for ( nRow = 0; bGlue && nRow < nR; nRow++, p++ ) in GlueState()
224 nRow = nR; in GlueState()
229 if ( bGlue && *(p = (pA + ((((sal_uLong)nCol+1) * nR) - 1))) == nFree ) in GlueState()
237 for ( nRow = 0; bGlue && nRow < nR; nRow++ ) in GlueState()
240 for ( nCol = 0; bGlue && nCol < nC; nCol++, p+=nR ) in GlueState()
[all …]
H A Dddelink.cxx190 for (SCSIZE nR=0; nR<nRows; nR++) in DataChanged() local
192 aLine = aLinkStr.GetToken( (xub_StrLen) nR, '\n' ); in DataChanged()
199 pResult->PutDouble( fVal, nC, nR ); in DataChanged()
201 pResult->PutString( aEntry, nC, nR ); in DataChanged()
H A Dinterpr4.cxx1814 SCSIZE nC, nR; in DoubleRefToPosSingleRef() local
1815 pJumpMatrix->GetPos( nC, nR); in DoubleRefToPosSingleRef()
1927 SCSIZE nCols, nRows, nC, nR; in GetDouble() local
1929 pJumpMatrix->GetPos( nC, nR); in GetDouble()
1930 if ( nC < nCols && nR < nRows ) in GetDouble()
2039 SCSIZE nCols, nRows, nC, nR; in GetString() local
2041 pJumpMatrix->GetPos( nC, nR); in GetString()
2042 if ( nC < nCols && nR < nRows ) in GetString()
2813 SCSIZE nC, nR; in ScMacro() local
2869 SCSIZE nC, nR; in ScMacro() local
[all …]
H A Dcompiler.cxx3157 long nR = nMyRow - nRow; in IsColRowName() local
3160 long nD = nC * nC + nR * nR; in IsColRowName()
3185 nDistance = nC * nC + nR * nR; in IsColRowName()
3236 long nR = nMyRow - nRow; in IsColRowName() local
3239 long nD = nC * nC + nR * nR; in IsColRowName()
3264 nDistance = nC * nC + nR * nR; in IsColRowName()
5073 SCSIZE nC, nMaxC, nR, nMaxR; in CreateStringFromMatrix() local
5078 for( nR = 0 ; nR < nMaxR ; nR++) in CreateStringFromMatrix()
5080 if( nR > 0) in CreateStringFromMatrix()
5092 if( pMatrix->IsValue( nC, nR ) ) in CreateStringFromMatrix()
[all …]
/trunk/main/vcl/source/gdi/
H A Dbitmap3.cxx2998 long nX, nY, nR, nG, nB, nIndex; in ImplReducePopular() local
3002 for( nR = 0, nIndex = 0; nR < 256; nR += nColorOffset ) in ImplReducePopular()
3061 for( nR = 0, nIndex = 0; nR < 256; nR += nColorOffset ) in ImplReducePopular()
3221 long nR, nG, nB; in ImplMedianCut() local
3240 for( nR = nR1; nR <= nR2; nR++ ) in ImplMedianCut()
3250 nRSum += nR * nPixSum; in ImplMedianCut()
3276 for( nR = nR1; nR <= nR2; nR++ ) in ImplMedianCut()
3299 for( nR = nR1; nR <= nR2; nR++ ) in ImplMedianCut()
3317 nR = nR1 - 1; in ImplMedianCut()
3321 nR++, nPixOld = nPixNew; in ImplMedianCut()
[all …]
H A Dbitmap.cxx131 for( sal_uInt16 nR = 0; nR < 256; nR += 51 ) in Bitmap() local
132 aPal[ nActCol++ ] = BitmapColor( (sal_uInt8) nR, (sal_uInt8) nG, (sal_uInt8) nB ); in Bitmap()
1305 long nR, nG, nB; in CreateMask() local
1320 nR = aCol.GetRed(); in CreateMask()
1324 if( nMinR <= nR && nMaxR >= nR && in CreateMask()
1342 nR = aCol.GetRed(); in CreateMask()
1346 if( nMinR <= nR && nMaxR >= nR && in CreateMask()
/trunk/main/chart2/source/view/main/
H A DVLegend.cxx288 for( sal_Int32 nR=0; nR<nNumberOfRows; nR++ ) in lcl_getTextLineHeight() local
290 sal_Int32 nFullTextHeight = aRowHeights[ nR ]; in lcl_getTextLineHeight()
428 for( sal_Int32 nR=0; nR<nNumberOfRows; nR++ ) in lcl_placeLegendEntries() local
429 nSumHeight += aRowHeights[nR]; in lcl_placeLegendEntries()
435 for( sal_Int32 nR=nNumberOfRows; nR--; ) in lcl_placeLegendEntries() local
439 sal_Int32 nEntry = (nC + nR * nNumberOfColumns); in lcl_placeLegendEntries()
452 nSumHeight -= aRowHeights[nR]; in lcl_placeLegendEntries()
/trunk/main/sc/source/ui/docshell/
H A Dexternalrefmgr.cxx636 SCSIZE nC = nCol - nCol1, nR = nRow - nRow1; in getCellRangeData() local
649 xMat->PutEmpty(nC, nR); in getCellRangeData()
775 if (pMat->IsEmpty(nC, nR)) in setCellRangeData()
779 if (pMat->IsValue(nC, nR)) in setCellRangeData()
781 else if (pMat->IsString(nC, nR)) in setCellRangeData()
1396 xMat->PutEmpty(nC, nR); in lcl_convertToTokenArray()
1405 xMat->PutString(aStr, nC, nR); in lcl_convertToTokenArray()
1412 xMat->PutString(aStr, nC, nR); in lcl_convertToTokenArray()
1418 xMat->PutDouble(fVal, nC, nR); in lcl_convertToTokenArray()
1473 ScMatrixRef xMat = new ScMatrix(nC, nR); in lcl_fillEmptyMatrix()
[all …]
/trunk/main/sc/source/filter/inc/
H A Dexp_op.hxx72 void Blank( const sal_uInt16 nC, const sal_uInt16 nR, const ScPatternAttr& );
73 void Number( const sal_uInt16 nC, const sal_uInt16 nR, const double f, const ScPatternAttr& );
74 void Label( const sal_uInt16 nC, const sal_uInt16 nR, const String&, const ScPatternAttr& );
75 …void Formula( const sal_uInt16 nC, const sal_uInt16 nR, const ScFormulaCell*, const ScPatternAt…
83 …void WKString( const sal_uInt16 nC, const sal_uInt16 nR, const ScFormulaCell*, const ScPatternA…
/trunk/main/editeng/inc/editeng/
H A Dlrspitem.hxx103 inline void SetRight( const long nR, const sal_uInt16 nProp = 100 );
109 inline void SetRightValue( const long nR ) { nRightMargin = nR; } in SetRightValue() argument
154 inline void SvxLRSpaceItem::SetRight( const long nR, const sal_uInt16 nProp ) in SetRight() argument
156 nRightMargin = (nR * nProp) / 100; in SetRight()
/trunk/main/svx/inc/svx/
H A Dswframeexample.hxx85 inline void SetHoriRel(short nR) { nHRel = nR; } in SetHoriRel() argument
88 inline void SetVertRel(short nR) { nVRel = nR; } in SetVertRel() argument
/trunk/main/sc/source/filter/excel/
H A Dexctools.cxx279 ExcScenarioCell::ExcScenarioCell( const sal_uInt16 nC, const sal_uInt16 nR ) : nCol( nC ), nRow( nR in ExcScenarioCell() argument
324 sal_uInt16 nC, nR; in ExcScenario() local
327 rIn >> nR >> nC; in ExcScenario()
329 EXCSCAPPEND( new ExcScenarioCell( nC, nR ) ); in ExcScenario()
H A Dexcform.cxx1899 SCSIZE nR, nRows; in ReadExtensionArray() local
1916 pMatrix->GetDimensions( nC, nR); in ReadExtensionArray()
1917 if( nC != nCols || nR != nRows ) in ReadExtensionArray()
1928 for( nR = 0 ; nR < nRows; nR++ ) in ReadExtensionArray()
1939 pMatrix->PutEmpty( nC, nR ); in ReadExtensionArray()
1947 pMatrix->PutDouble( fDouble, nC, nR ); in ReadExtensionArray()
1964 pMatrix->PutString( aString, nC, nR ); in ReadExtensionArray()
1973 pMatrix->PutBoolean( nByte != 0, nC, nR ); in ReadExtensionArray()
1982 pMatrix->PutError( XclTools::GetScErrorCode( nByte ), nC, nR ); in ReadExtensionArray()
/trunk/main/sc/source/filter/html/
H A Dhtmlpars.cxx417 SCROW nR; in Adjust() local
419 nNextRow += nR; in Adjust()
433 SCROW nR; in Adjust() local
435 nNextRow = nCurRow + nR; in Adjust()
1211 if ( !nR ) in TableOff()
1213 else if ( nRowsPerRow1 > nR ) in TableOff()
1220 nR += nAdd; in TableOff()
1221 if ( (nR % nRows) == 0 ) in TableOff()
1228 nRowsPerRow2 = nR / nRows; in TableOff()
1245 if ( !nR ) in TableOff()
[all …]
/trunk/main/sw/source/ui/frmdlg/
H A Dcolex.cxx228 long nR = GetRight(); in DrawPage() local
234 nR = GetLeft(); in DrawPage()
239 aRect.Right() = rOrg.X() + GetSize().Width() - nR; in DrawPage()
527 long nR = GetRight(); in DrawPage() local
533 nR = GetLeft(); in DrawPage()
537 aRect.Right() = rOrg.X() + GetSize().Width() - nR; in DrawPage()
/trunk/main/sc/source/ui/unoobj/
H A Dchart2uno.cxx592 SCROW nR = nEndRow - mnStartRow + 1; in glueState() local
593 if (nR == 1) in glueState()
599 if ((nC <= 0) || (nR <= 0)) in glueState()
606 sal_uInt32 nCR = static_cast<sal_uInt32>(nC*nR); in glueState()
625 size_t i = nCol*nR + nRow; in glueState()
637 i = nCol*nR + nRow; in glueState()
643 nRow = nR; in glueState()
657 for (SCROW nRow = 0; bGlue && nRow < nR; ++nRow) in glueState()
2674 for (SCSIZE nR = 0; nR < nRSize; ++nR) in FillCacheFromExternalRef() local
2676 if (pMat->IsValue(nC, nR) || pMat->IsBoolean(nC, nR)) in FillCacheFromExternalRef()
[all …]
/trunk/main/starmath/source/
H A Drect.cxx419 nR = rRect.GetRight(), in Union() local
429 if ((nTmp = GetRight()) > nR) in Union()
430 nR = nTmp; in Union()
442 SetRight(nR); in Union()
462 nR = Max(GetItalicRight(), rRect.GetItalicRight()); in ExtendBy() local
466 SetItalicSpaces(GetLeft() - nL, nR - GetRight()); in ExtendBy()
/trunk/main/oox/source/drawingml/
H A Dcolor.cxx170 inline sal_Int32 lclRgbComponentsToRgb( sal_Int32 nR, sal_Int32 nG, sal_Int32 nB ) in lclRgbComponentsToRgb() argument
172 return static_cast< sal_Int32 >( (nR << 16) | (nG << 8) | nB ); in lclRgbComponentsToRgb()
256 void Color::setScrgbClr( sal_Int32 nR, sal_Int32 nG, sal_Int32 nB ) in setScrgbClr() argument
258 OSL_ENSURE( (0 <= nR) && (nR <= MAX_PERCENT), "Color::setScrgbClr - invalid red value" ); in setScrgbClr()
262 mnC1 = getLimitedValue< sal_Int32, sal_Int32 >( nR, 0, MAX_PERCENT ); in setScrgbClr()
/trunk/main/sc/source/filter/rtf/
H A Deeimpars.cxx507 for ( SCROW nR = nRow; nR < nRow + nRowSpan; nR++ ) in GraphicSize() local
509 long nRowHeight = (long) mpRowHeights->Get( nR ); in GraphicSize()
513 mpRowHeights->Replace( nR, (void*)nHeight ); in GraphicSize()
515 mpRowHeights->Insert( nR, (void*)nHeight ); in GraphicSize()
/trunk/main/sc/source/core/data/
H A Dcell2.cxx504 static SCROW nR; in GetMatrixEdge() local
520 pFCell->GetMatColsRows( nC, nR ); in GetMatrixEdge()
521 if ( nC == 0 || nR == 0 ) in GetMatrixEdge()
524 nR = 1; in GetMatrixEdge()
553 nR++; in GetMatrixEdge()
559 pFCell->SetMatColsRows( nC, nR ); in GetMatrixEdge()
581 if ( dC >= 0 && dR >= 0 && dC < nC && dR < nR ) in GetMatrixEdge()
589 if ( dR+1 == nR ) in GetMatrixEdge()
607 aMsg += ByteString::CreateFromInt32( nR ); in GetMatrixEdge()

Completed in 307 milliseconds

1234