/aoo4110/main/sc/inc/ |
H A D | scmatrix.hxx | 171 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 D | token.hxx | 360 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()
|
/aoo4110/main/sc/source/core/tool/ |
H A D | interpr5.cxx | 367 for (SCSIZE nR = nNextRow - nRow1; nR < in CreateMatrixFromDoubleRef() local 427 for (SCSIZE nR = nNextRow - nRow1; nR < nMatRows; ++nR) in CreateMatrixFromDoubleRef() local 831 SCSIZE nC, nR; in ScMatDet() local 878 SCSIZE nC, nR; in ScMatInv() local 887 ScMatrixRef xY = GetNewMat( nR, nR); in ScMatInv() 929 ScMatrixRef xR = GetNewMat( nR, nR); in ScMatInv() 933 lcl_MFastMult( pMat, pY, pR, nR, nR, nR); in ScMatInv() 1244 SCSIZE nC, nR; in CalculateAddSub() local 1329 SCSIZE nC, nR; in ScAmpersand() local 1651 SCSIZE nR, nR1; in ScSumProduct() local [all …]
|
H A D | scmatrix.cxx | 46 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 D | interpr1.cxx | 128 for ( SCSIZE nR=0; nR < nRows; ++nR ) in ScIfJump() local 261 for ( SCSIZE nR=0; nR < nRows; ++nR ) in ScChoseJump() local 363 SCSIZE nC, nR; in JumpMatrix() local 958 SCSIZE nC, nR; in CompareMat() local 1459 SCSIZE nC, nR; in ScNeg() local 1858 nRes = pMat->IsString( nC, nR) && !pMat->IsEmpty( nC, nR); in IsString() 5320 pResMat->PutDouble(pResMat->GetDouble(nC, nR)+1.0, nC, nR); in IterateParametersIfs() 5453 SCSIZE nC, nR; in IterateParametersIfs() local 5599 SCSIZE nC, nR; in ScLookup() local 5739 SCSIZE nC, nR; in ScLookup() local [all …]
|
H A D | chartpos.cxx | 170 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 D | ddelink.cxx | 190 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 D | interpr4.cxx | 1814 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 D | compiler.cxx | 3157 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 …]
|
/aoo4110/main/vcl/source/gdi/ |
H A D | bitmap3.cxx | 2998 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 D | bitmap.cxx | 131 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()
|
/aoo4110/main/sc/source/filter/inc/ |
H A D | exp_op.hxx | 72 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…
|
/aoo4110/main/chart2/source/view/main/ |
H A D | VLegend.cxx | 288 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()
|
/aoo4110/main/sc/source/ui/docshell/ |
H A D | externalrefmgr.cxx | 636 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() 1395 xMat->PutEmpty(nC, nR); in lcl_convertToTokenArray() 1404 xMat->PutString(aStr, nC, nR); in lcl_convertToTokenArray() 1411 xMat->PutString(aStr, nC, nR); in lcl_convertToTokenArray() 1417 xMat->PutDouble(fVal, nC, nR); in lcl_convertToTokenArray() 1472 ScMatrixRef xMat = new ScMatrix(nC, nR); in lcl_fillEmptyMatrix() [all …]
|
/aoo4110/main/editeng/inc/editeng/ |
H A D | lrspitem.hxx | 103 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()
|
/aoo4110/main/svx/inc/svx/ |
H A D | swframeexample.hxx | 85 inline void SetHoriRel(short nR) { nHRel = nR; } in SetHoriRel() argument 88 inline void SetVertRel(short nR) { nVRel = nR; } in SetVertRel() argument
|
/aoo4110/main/sc/source/filter/excel/ |
H A D | exctools.cxx | 279 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 D | excform.cxx | 1899 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()
|
/aoo4110/main/sw/source/ui/frmdlg/ |
H A D | colex.cxx | 217 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()
|
/aoo4110/main/sc/source/filter/html/ |
H A D | htmlpars.cxx | 417 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 …]
|
/aoo4110/main/starmath/source/ |
H A D | rect.cxx | 419 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()
|
/aoo4110/main/sc/source/filter/rtf/ |
H A D | eeimpars.cxx | 507 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()
|
/aoo4110/main/oox/source/drawingml/ |
H A D | color.cxx | 170 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()
|
/aoo4110/main/sc/source/ui/unoobj/ |
H A D | chart2uno.cxx | 592 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 …]
|
/aoo4110/main/sc/source/core/data/ |
H A D | cell2.cxx | 504 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()
|