/aoo41x/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 377 nCols = nC; in SetMatColsRows() 379 void GetMatColsRows( SCCOL & nC, SCROW & nR ) const in GetMatColsRows() argument 382 nC = nCols; in GetMatColsRows()
|
/aoo41x/main/sc/source/filter/excel/ |
H A D | exctools.cxx | 165 for( SCSIZE nC = 0 ; nC <= nLast ; nC++ ) in MakeScOutline() local 179 pOuted[ nC ] = sal_False; in MakeScOutline() 196 for( SCSIZE nC = 0; nC <= nLast; nC++ ) in MakeScOutline() local 200 nPrevC = static_cast< sal_uInt16 >( nC ? nC - 1 : 0 ); in MakeScOutline() 202 bCurrHidden = pHidden[ nC ]; in MakeScOutline() 226 bPrevOuted = pOuted[ nC ]; in MakeScOutline() 266 for( SCSIZE nC = 0 ; nC < nSize ; nC++ ) in Reset() local 268 pLevel[ nC ] = 0; in Reset() 269 pOuted[ nC ] = pHidden[ nC ] = sal_False; in Reset() 324 sal_uInt16 nC, nR; in ExcScenario() local [all …]
|
H A D | excdoc.cxx | 192 SCTAB nC; in FillAsHeader() local 250 for( nC = 0 ; nC < nScTabCount ; nC++ ) in FillAsHeader() 251 if( rTabInfo.IsExportTab( nC ) ) in FillAsHeader() 253 rDoc.GetName( nC, aTmpString ); in FillAsHeader() 346 for( nC = 0 ; nC < nScTabCount ; nC++ ) in FillAsHeader() 347 if( rTabInfo.IsExportTab( nC ) ) in FillAsHeader() 349 ExcBoundsheetList::RecordRefType xBoundsheet( new ExcBundlesheet( rR, nC ) ); in FillAsHeader() 378 for( nC = 0 ; nC < nScTabCount ; nC++ ) in FillAsHeader() 379 if( rTabInfo.IsExportTab( nC ) ) in FillAsHeader() 381 ExcBoundsheetList::RecordRefType xBoundsheet( new ExcBundlesheet8( rR, nC ) ); in FillAsHeader() [all …]
|
H A D | excform.cxx | 1898 SCSIZE nC, nCols; in ReadExtensionArray() local 1916 pMatrix->GetDimensions( nC, nR); in ReadExtensionArray() 1917 if( nC != nCols || nR != nRows ) in ReadExtensionArray() 1930 for( nC = 0 ; nC < nCols; nC++ ) 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/sc/source/core/tool/ |
H A D | scmatrix.cxx | 45 nColCount = nC; in CreateMatrix() 88 CreateMatrix(nC, nR); in Resize() 116 sal_uInt16 nC; in ScMatrix() local 119 rStream >> nC; 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 | 126 for ( SCSIZE nC=0; nC < nCols; ++nC ) in ScIfJump() local 259 for ( SCSIZE nC=0; nC < nCols; ++nC ) in ScChoseJump() local 363 SCSIZE nC, nR; in JumpMatrix() local 958 SCSIZE nC, nR; in CompareMat() local 1858 nRes = pMat->IsString( nC, nR) && !pMat->IsEmpty( nC, nR); in IsString() 4337 SCSIZE nMatCount = (nC == 1) ? nR : nC; in ScMatch() 4435 SCCOL nC; in ScMatch() local 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 | interpr5.cxx | 831 SCSIZE nC, nR; in ScMatDet() local 833 if ( nC != nR || nC == 0 || (sal_uLong) nC * nC > ScMatrix::GetElementsMax() ) in ScMatDet() 878 SCSIZE nC, nR; in ScMatInv() local 880 if ( nC != nR || nC == 0 || (sal_uLong) nC * nC > ScMatrix::GetElementsMax() ) in ScMatInv() 1244 SCSIZE nC, nR; in CalculateAddSub() local 1329 SCSIZE nC, nR; in ScAmpersand() local 1443 SCSIZE nC, nR; in ScMul() local 1523 SCSIZE nC, nR; in ScDiv() local 1605 SCSIZE nC, nR; in ScPow() local 1650 SCSIZE nC, nC1; in ScSumProduct() local [all …]
|
H A D | ddelink.cxx | 193 for (SCSIZE nC=0; nC<nCols; nC++) in DataChanged() local 195 aEntry = aLine.GetToken( (xub_StrLen) nC, '\t' ); in DataChanged() 199 pResult->PutDouble( fVal, nC, nR ); in DataChanged() 201 pResult->PutString( aEntry, nC, nR ); in DataChanged()
|
H A D | chartpos.cxx | 164 SCCOL nC = nEndCol - nStartCol + 1; in GlueState() local 165 if ( nC == 1 ) in GlueState() 176 sal_uLong nCR = (sal_uLong)nC * nR; in GlueState() 212 for ( nCol = 0; bGlue && nCol < nC; nCol++ ) in GlueState() 240 for ( nCol = 0; bGlue && nCol < nC; nCol++, p+=nR ) in GlueState() 247 nCol = nC; in GlueState() 252 if ( bGlue && *(p = (pA + ((((sal_uLong)nC-1) * nR) + nRow))) == nFree ) in GlueState()
|
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() 2078 SCSIZE nCols, nRows, nC, nR; in GetDoubleOrStringFromMatrix() local 2813 SCSIZE nC, nR; in ScMacro() local [all …]
|
H A D | compiler.cxx | 3156 long nC = nMyCol - nCol; in IsColRowName() local 3160 long nD = nC * nC + nR * nR; in IsColRowName() 3185 nDistance = nC * nC + nR * nR; in IsColRowName() 3235 long nC = nMyCol - nCol; 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 5085 for( nC = 0 ; nC < nMaxC ; nC++) in CreateStringFromMatrix() 5087 if( nC > 0) in CreateStringFromMatrix() 5092 if( pMatrix->IsValue( nC, nR ) ) in CreateStringFromMatrix() [all …]
|
/aoo41x/main/chart2/source/view/main/ |
H A D | ChartView.cxx | 415 for( size_t nC=0; nC < rVCooSysList.size(); nC++) in findInCooSysList() local 449 for( size_t nC=0; nC < rVCooSysList.size(); nC++) in lcl_getCooSysForPlotter() local 604 for( size_t nC=0; nC < m_rVCooSysList.size(); nC++) in ~SeriesPlotterContainer() local 833 for( nC=0; nC < m_rVCooSysList.size(); nC++) in initAxisUsageList() 957 for( size_t nC=0; nC < m_rVCooSysList.size(); nC++) in updateScalesAndIncrementsOnAxes() local 982 for( nC=0; nC < aVCooSysList_X.size(); nC++) in doAutoScaling() 1136 for( nC=0; nC < aVCooSysList.size(); nC++) in AdaptScaleOfYAxisWithoutAttachedSeries() 1410 for( nC=0; nC < rVCooSysList.size(); nC++) in impl_createDiagramAndContent() 1459 for( nC=0; nC < rVCooSysList.size(); nC++) in impl_createDiagramAndContent() 1519 for( nC=0; nC < rVCooSysList.size(); nC++) in impl_createDiagramAndContent() [all …]
|
H A D | VLegend.cxx | 393 for( sal_Int32 nC=0; nC<nCurrentColumnCount; nC++ ) in lcl_placeLegendEntries() local 394 nSumWidth += aColumnWidths[nC]; in lcl_placeLegendEntries() 437 for( sal_Int32 nC=nNumberOfColumns; nC--; ) in lcl_placeLegendEntries() local 439 sal_Int32 nEntry = (nC + nR * nNumberOfColumns); in lcl_placeLegendEntries() 479 for( sal_Int32 nC=0; nC<nNumberOfColumns; nC++ ) in lcl_placeLegendEntries() local 480 nSumWidth += aColumnWidths[nC]; in lcl_placeLegendEntries()
|
/aoo41x/main/vcl/aqua/source/app/ |
H A D | salsys.cxx | 170 unsigned int nC; in ShowNativeMessageBox() local 171 for( nC = 0; nC < sizeof(aButtonIds)/sizeof(aButtonIds[0]); nC++ ) in ShowNativeMessageBox() 173 if( aButtonIds[nC].nCombination == nButtonCombination ) in ShowNativeMessageBox() 175 if( aButtonIds[nC].nDefaultButton == nDefaultButton ) in ShowNativeMessageBox() 177 if( aButtonIds[nC].nTextIds[0] != -1 ) in ShowNativeMessageBox() 178 pDefText = getStandardString( aButtonIds[nC].nTextIds[0] ); in ShowNativeMessageBox() 179 if( aButtonIds[nC].nTextIds[1] != -1 ) in ShowNativeMessageBox() 180 pAltText = getStandardString( aButtonIds[nC].nTextIds[1] ); in ShowNativeMessageBox() 181 if( aButtonIds[nC].nTextIds[2] != -1 ) in ShowNativeMessageBox() 182 pOthText = getStandardString( aButtonIds[nC].nTextIds[2] ); in ShowNativeMessageBox() [all …]
|
/aoo41x/main/filter/source/graphicfilter/idxf/ |
H A D | dxfreprd.cxx | 61 short i,j,nHue,nNSat,nVal,nC[3],nmax,nmed,nmin; in DXFPalette() local 97 nC[nmin]=0; in DXFPalette() 98 nC[nmed]=255*j/4; in DXFPalette() 99 nC[nmax]=255; in DXFPalette() 101 for (j=0; j<3; j++) nC[j]=(nC[j]>>1)+128; in DXFPalette() 103 for (j=0; j<3; j++) nC[j]=nC[j]*nVal/5; in DXFPalette() 104 SetColor((sal_uInt8)(i++),(sal_uInt8)nC[0],(sal_uInt8)nC[1],(sal_uInt8)nC[2]); in DXFPalette()
|
/aoo41x/main/basegfx/source/tools/ |
H A D | tools.cxx | 42 const double& nC ) in distance() argument 44 return nX*rNormal.getX() + nY*rNormal.getY() - nC; in distance() 53 const double nC( rMoveDirection.scalar( io_rStart ) ); in moveLineOutsideRect() local 63 nC), in moveLineOutsideRect() 68 nC), in moveLineOutsideRect() 73 nC), in moveLineOutsideRect() 77 nC) ) ) ) ) ); in moveLineOutsideRect()
|
/aoo41x/main/sd/source/ui/slidesorter/view/ |
H A D | SlsFramePainter.cxx | 136 const sal_Int32 nC (::std::max<sal_Int32>(0,(rBitmap.GetSizePixel().Width()-nS)/2)); in OffsetBitmap() local 137 const sal_Int32 nO (nC/2); in OffsetBitmap() 140 nHorizontalPosition<0 ? 0 : (nHorizontalPosition == 0 ? nC : nC+nS), in OffsetBitmap() 141 nVerticalPosition<0 ? 0 : (nVerticalPosition == 0 ? nC : nC+nS)); in OffsetBitmap() 143 nHorizontalPosition==0 ? nS : nC, in OffsetBitmap() 144 nVerticalPosition==0 ? nS : nC); in OffsetBitmap()
|
/aoo41x/main/xmlsecurity/source/dialogs/ |
H A D | certificatechooser.cxx | 178 for ( sal_Int32 nC = 0; nC < nCertificates; ++nC ) in ImplInitialize() local 180 String sEntry( XmlSec::GetContentPart( maCerts[ nC ]->getSubjectName() ) ); in ImplInitialize() 182 sEntry += XmlSec::GetContentPart( maCerts[ nC ]->getIssuerName() ); in ImplInitialize() 184 sEntry += XmlSec::GetDateString( maCerts[ nC ]->getNotValidAfter() ); in ImplInitialize() 186 pEntry->SetUserData( ( void* )nC ); // missuse user data as index in ImplInitialize()
|
/aoo41x/main/sc/source/filter/lotus/ |
H A D | tool.cxx | 189 for( sal_uInt16 nC = 0 ; nC < __nSize ; nC++ ) in FormCache() local 190 bValid[ nC ] = sal_False; in FormCache() 197 for( sal_uInt16 nC = 0 ; nC < __nSize ; nC++ ) in ~FormCache() local 198 delete aIdents[ nC ].GetAttr(); in ~FormCache()
|
/aoo41x/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…
|
/aoo41x/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 …]
|
/aoo41x/main/writerfilter/qa/cppunittests/doctok/ |
H A D | testdoctok.cxx | 138 sal_uChar nC = sInputFileURL[n]; in testOpenFile() local 140 if (nC < 0xff && isprint(nC)) in testOpenFile() 141 clog << static_cast<char>(nC); in testOpenFile()
|
/aoo41x/main/chart2/source/tools/ |
H A D | AxisHelper.cxx | 783 for( sal_Int32 nC=0; nC<aCooSysList.getLength(); ++nC ) in getIndicesForAxis() local 785 … if( AxisHelper::getIndicesForAxis( xAxis, aCooSysList[nC], rOutDimensionIndex, rOutAxisIndex ) ) in getIndicesForAxis() 787 rOutCooSysIndex = nC; in getIndicesForAxis() 852 sal_Int32 nC = 0; in getAllAxesOfDiagram() local 853 for( nC=0; nC<aCooSysList.getLength(); ++nC ) in getAllAxesOfDiagram() 855 …is > > aAxesPerCooSys( AxisHelper::getAllAxesOfCoordinateSystem( aCooSysList[nC], bOnlyVisible ) ); in getAllAxesOfDiagram()
|
/aoo41x/main/sc/source/filter/html/ |
H A D | htmlexp.cxx | 877 SCCOL nC, jC; in WriteCell() local 881 nC = Max( SCCOL(pGraphEntry->aRange.aEnd.Col() - nCol + 1), in WriteCell() 884 nC = rMergeAttr.GetColMerge(); in WriteCell() 885 if ( nC > 1 ) in WriteCell() 887 …(aStrTD += ' ') += OOO_STRING_SVTOOLS_HTML_O_colspan) += '=') += ByteString::CreateFromInt32( nC ); in WriteCell() 888 nC = nC + nCol; in WriteCell() 889 for ( jC=nCol, v=0; jC<nC; jC++ ) in WriteCell()
|