Home
last modified time | relevance | path

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

1234

/AOO41X/main/sc/inc/
H A Dscmatrix.hxx102 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()
227 { return nC < nColCount && nR < nRowCount; } in ValidColRow()
228 inline SCSIZE CalcOffset( SCSIZE nC, SCSIZE nR) const in CalcOffset()
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);
[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()
/AOO41X/main/sc/source/core/tool/
H A Dinterpr5.cxx176 SCSIZE nC, nR; in ScGCD() local
177 pMat->GetDimensions(nC, nR); in ScGCD()
178 if (nC == 0 || nR == 0) in ScGCD()
182 SCSIZE nCount = nC * nR; in ScGCD()
268 SCSIZE nC, nR; in ScLCM() local
269 pMat->GetDimensions(nC, nR); in ScLCM()
270 if (nC == 0 || nR == 0) in ScLCM()
274 SCSIZE nCount = nC * nR; in ScLCM()
304 ScMatrixRef ScInterpreter::GetNewMat(SCSIZE nC, SCSIZE nR) in GetNewMat() argument
307 ScMatrix* pMat = new ScMatrix( nC, nR); in GetNewMat()
[all …]
H A Dscmatrix.cxx42 void ScMatrix::CreateMatrix(SCSIZE nC, SCSIZE nR) // nur fuer ctor in CreateMatrix() argument
46 nRowCount = nR; in CreateMatrix()
85 void ScMatrix::Resize( SCSIZE nC, SCSIZE nR) in Resize() argument
88 CreateMatrix(nC, nR); in Resize()
117 sal_uInt16 nR; in ScMatrix() local
120 rStream >> nR; in ScMatrix()
122 CreateMatrix(nC, nR); in ScMatrix()
129 SCSIZE nReadCount = (SCSIZE) nC * nR; in ScMatrix()
254 void ScMatrix::PutDouble(double fVal, SCSIZE nC, SCSIZE nR) in PutDouble() argument
256 if (ValidColRow( nC, nR)) in PutDouble()
[all …]
H A Dinterpr1.cxx128 for ( SCSIZE nR=0; nR < nRows; ++nR ) in ScIfJump() local
133 const ScMatrixValue* pMatVal = pMat->Get( nC, nR, in ScIfJump()
156 pJumpMat->SetJump( nC, nR, fVal, in ScIfJump()
162 pJumpMat->SetJump( nC, nR, fVal, in ScIfJump()
171 pJumpMat->SetJump( nC, nR, fVal, in ScIfJump()
178 pJumpMat->SetJump( nC, nR, fVal, in ScIfJump()
261 for ( SCSIZE nR=0; nR < nRows; ++nR ) in ScChoseJump() local
265 const ScMatrixValue* pMatVal = pMat->Get( nC, nR, in ScChoseJump()
289 pJumpMat->SetJump( nC, nR, fVal, in ScChoseJump()
295 pJumpMat->SetJump( nC, nR, fVal, in ScChoseJump()
[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.cxx192 for (SCSIZE nR=0; nR<nRows; nR++) in DataChanged() local
194 aLine = aLinkStr.GetToken( (xub_StrLen) nR, '\n' ); in DataChanged()
201 pResult->PutDouble( fVal, nC, nR ); in DataChanged()
203 pResult->PutString( aEntry, nC, nR ); in DataChanged()
H A Dinterpr4.cxx1814 SCSIZE nC, nR; in DoubleRefToPosSingleRef() local
1815 pJumpMatrix->GetPos( nC, nR); in DoubleRefToPosSingleRef()
1817 rAdr.SetRow( sal::static_int_cast<SCROW>( rRange.aStart.Row() + 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()
1931 nVal = pMat->GetDouble( nC, nR); 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()
[all …]
H A Dcompiler.cxx3157 long nR = nMyRow - nRow; in IsColRowName() local
3160 long nD = nC * nC + nR * nR; in IsColRowName()
3163 if ( nC < 0 || nR < 0 ) in IsColRowName()
3167 nMax = Max( nMyCol + Abs( nC ), nMyRow + Abs( nR ) ); in IsColRowName()
3177 nMax = Max( nMyCol + nC, nMyRow + nR ); in IsColRowName()
3185 nDistance = nC * nC + nR * nR; in IsColRowName()
3186 nMax = Max( nMyCol + Abs( nC ), nMyRow + Abs( nR ) ); in IsColRowName()
3236 long nR = nMyRow - nRow; in IsColRowName() local
3239 long nD = nC * nC + nR * nR; in IsColRowName()
3242 if ( nC < 0 || nR < 0 ) in IsColRowName()
[all …]
/AOO41X/main/vcl/source/gdi/
H A Dbitmap3.cxx567 const sal_uLong nR = *pReadScan++; in ImplMakeGreyscales() local
569 … *pWriteScan++ = (sal_uInt8) ( ( nB * 28UL + nG * 151UL + nR * 77UL ) >> nShift ); in ImplMakeGreyscales()
585 const sal_uLong nR = *pReadScan++; in ImplMakeGreyscales() local
589 … *pWriteScan++ = (sal_uInt8) ( ( nB * 28UL + nG * 151UL + nR * 77UL ) >> nShift ); in ImplMakeGreyscales()
2580 const sal_uLong nR = ( nVCLLut[ aCol.GetRed() ] + nD ) >> 16UL; in ImplDitherMatrix() local
2584 … aIndex.SetIndex( (sal_uInt8) ( nVCLRLut[ nR ] + nVCLGLut[ nG ] + nVCLBLut[ nB ] ) ); in ImplDitherMatrix()
2597 const sal_uLong nR = ( nVCLLut[ aCol.GetRed() ] + nD ) >> 16UL; in ImplDitherMatrix() local
2601 … aIndex.SetIndex( (sal_uInt8) ( nVCLRLut[ nR ] + nVCLGLut[ nG ] + nVCLBLut[ nB ] ) ); in ImplDitherMatrix()
2998 long nX, nY, nR, nG, nB, nIndex; in ImplReducePopular() local
3002 for( nR = 0, nIndex = 0; nR < 256; nR += nColorOffset ) in ImplReducePopular()
[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()
/AOO41X/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()
/AOO41X/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 ScPatt…
74 …void Label( const sal_uInt16 nC, const sal_uInt16 nR, const String&, const ScPatter…
75 …void Formula( const sal_uInt16 nC, const sal_uInt16 nR, const ScFormulaCell*, const…
83 …void WKString( const sal_uInt16 nC, const sal_uInt16 nR, const ScFormulaCell*, cons…
/AOO41X/main/sc/source/ui/docshell/
H A Dexternalrefmgr.cxx606 SCSIZE nC = nCol - nDataCol1, nR = nRow - nDataRow1; in getCellRangeData()
610 xMat->PutDouble(pToken->GetDouble(), nC, nR); in getCellRangeData()
613 xMat->PutString(pToken->GetString(), nC, nR); in getCellRangeData()
636 SCSIZE nC = nCol - nCol1, nR = nRow - nRow1; in getCellRangeData() local
643 xMat->PutDouble(pToken->GetDouble(), nC, nR); in getCellRangeData()
646 xMat->PutString(pToken->GetString(), nC, nR); in getCellRangeData()
649 xMat->PutEmpty(nC, nR); in getCellRangeData()
772 SCSIZE nC = nCol - nCol1, nR = nRow - nRow1; in setCellRangeData() local
775 if (pMat->IsEmpty(nC, nR)) in setCellRangeData()
779 if (pMat->IsValue(nC, nR)) in setCellRangeData()
[all …]
/AOO41X/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()
/AOO41X/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
/AOO41X/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()
/AOO41X/main/sw/source/ui/frmdlg/
H A Dcolex.cxx217 long nR = GetRight(); in DrawPage() local
223 nR = GetLeft(); in DrawPage()
228 aRect.Right() = rOrg.X() + GetSize().Width() - nR; in DrawPage()
504 long nR = GetRight(); in DrawPage() local
510 nR = GetLeft(); in DrawPage()
514 aRect.Right() = rOrg.X() + GetSize().Width() - nR; in DrawPage()
/AOO41X/main/sc/source/filter/html/
H A Dhtmlpars.cxx417 SCROW nR; in Adjust() local
418 if ( pTab && ((nR = (SCROW)(sal_uLong)pTab->Get( nCurRow )) != 0) ) in Adjust()
419 nNextRow += nR; in Adjust()
433 SCROW nR; in Adjust() local
434 if ( pTab && ((nR = (SCROW)(sal_uLong)pTab->Get( nCurRow )) != 0) ) in Adjust()
435 nNextRow = nCurRow + nR; in Adjust()
1210 SCROW nR = (SCROW)(sal_uLong)pTab1->Get( nRowKey ); in TableOff() local
1211 if ( !nR ) in TableOff()
1213 else if ( nRowsPerRow1 > nR ) in TableOff()
1216 else if ( nRowsPerRow1 < nR && nRowSpan == 1 in TableOff()
[all …]
/AOO41X/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()
/AOO41X/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()
/AOO41X/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()
/AOO41X/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()
635 for (SCROW nRow = 0; bGlue && nRow < nR; ++nRow) in glueState()
637 i = nCol*nR + nRow; in glueState()
643 nRow = nR; in glueState()
648 i = (nCol+1)*nR - 1; // index for the last cell in the column. in glueState()
657 for (SCROW nRow = 0; bGlue && nRow < nR; ++nRow) in glueState()
[all …]
/AOO41X/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()

1234