| /AOO42X/main/sc/inc/ |
| H A D | scmatrix.hxx | 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); [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()
|
| /AOO42X/main/sc/source/filter/excel/ |
| H A D | exctools.cxx | 165 for( SCSIZE nC = 0 ; nC <= nLast ; nC++ ) in MakeScOutline() local 168 nCurrLevel2 = pLevel[ nC ]; in MakeScOutline() 170 nStartPos = static_cast< sal_uInt16 >( nC ); in MakeScOutline() 173 if( pOuted[ nC ] && pHidden[ nStartPos ] ) in MakeScOutline() 179 pOuted[ nC ] = sal_False; in MakeScOutline() 196 for( SCSIZE nC = 0; nC <= nLast; nC++ ) in MakeScOutline() local 198 sal_uInt8 nWorkLevel = pLevel[ nC ]; in MakeScOutline() 200 nPrevC = static_cast< sal_uInt16 >( nC ? nC - 1 : 0 ); in MakeScOutline() 202 bCurrHidden = pHidden[ nC ]; in MakeScOutline() 211 nStart[ nCurrLevel ] = static_cast< sal_uInt16 >( nC ); in MakeScOutline() [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()
|
| /AOO42X/main/sc/source/core/tool/ |
| H A D | interpr1.cxx | 124 for ( SCSIZE nC=0; nC < nCols; ++nC ) in ScIfJump() local 131 const ScMatrixValue* pMatVal = pMat->Get( nC, nR, in ScIfJump() 154 pJumpMat->SetJump( nC, nR, fVal, in ScIfJump() 160 pJumpMat->SetJump( nC, nR, fVal, in ScIfJump() 169 pJumpMat->SetJump( nC, nR, fVal, in ScIfJump() 176 pJumpMat->SetJump( nC, nR, fVal, in ScIfJump() 257 for ( SCSIZE nC=0; nC < nCols; ++nC ) in ScChoseJump() local 263 const ScMatrixValue* pMatVal = pMat->Get( nC, nR, in ScChoseJump() 287 pJumpMat->SetJump( nC, nR, fVal, in ScChoseJump() 293 pJumpMat->SetJump( nC, nR, fVal, in ScChoseJump() [all …]
|
| H A D | scmatrix.cxx | 42 void ScMatrix::CreateMatrix(SCSIZE nC, SCSIZE nR) // nur fuer ctor in CreateMatrix() argument 45 nColCount = nC; in CreateMatrix() 85 void ScMatrix::Resize( SCSIZE nC, SCSIZE nR) in Resize() argument 88 CreateMatrix(nC, nR); in Resize() 116 sal_uInt16 nC; in ScMatrix() local 119 rStream >> nC; 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 D | interpr5.cxx | 175 SCSIZE nC, nR; in ScGCD() local 176 pMat->GetDimensions(nC, nR); in ScGCD() 177 if (nC == 0 || nR == 0) in ScGCD() 181 SCSIZE nCount = nC * nR; in ScGCD() 267 SCSIZE nC, nR; in ScLCM() local 268 pMat->GetDimensions(nC, nR); in ScLCM() 269 if (nC == 0 || nR == 0) in ScLCM() 273 SCSIZE nCount = nC * nR; in ScLCM() 303 ScMatrixRef ScInterpreter::GetNewMat(SCSIZE nC, SCSIZE nR) in GetNewMat() argument 306 ScMatrix* pMat = new ScMatrix( nC, nR); in GetNewMat() [all …]
|
| H A D | ddelink.cxx | 195 for (SCSIZE nC=0; nC<nCols; nC++) in DataChanged() local 197 aEntry = aLine.GetToken( (xub_StrLen) nC, '\t' ); in DataChanged() 201 pResult->PutDouble( fVal, nC, nR ); in DataChanged() 203 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() 1816 rAdr.SetCol( sal::static_int_cast<SCCOL>( rRange.aStart.Col() + nC ) ); 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 D | compiler.cxx | 3156 long nC = nMyCol - nCol; 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() 3235 long nC = nMyCol - nCol; in IsColRowName() local 3239 long nD = nC * nC + nR * nR; in IsColRowName() 3242 if ( nC < 0 || nR < 0 ) in IsColRowName() [all …]
|
| /AOO42X/main/chart2/source/view/main/ |
| H A D | ChartView.cxx | 415 for( size_t nC=0; nC < rVCooSysList.size(); nC++) in findInCooSysList() local 417 VCoordinateSystem* pVCooSys = rVCooSysList[nC]; in findInCooSysList() 449 for( size_t nC=0; nC < rVCooSysList.size(); nC++) in lcl_getCooSysForPlotter() local 451 VCoordinateSystem* pVCooSys = rVCooSysList[nC]; in lcl_getCooSysForPlotter() 604 for( size_t nC=0; nC < m_rVCooSysList.size(); nC++) in ~SeriesPlotterContainer() local 605 m_rVCooSysList[nC]->clearMinimumAndMaximumSupplierList(); in ~SeriesPlotterContainer() 809 for( size_t nC=0; nC < m_rVCooSysList.size(); nC++) in initializeCooSysAndSeriesPlotter() local 811 VCoordinateSystem* pVCooSys = m_rVCooSysList[nC]; in initializeCooSysAndSeriesPlotter() 832 size_t nC; in initAxisUsageList() local 833 for( nC=0; nC < m_rVCooSysList.size(); nC++) in initAxisUsageList() [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()
|
| /AOO42X/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 …]
|
| /AOO42X/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()
|
| /AOO42X/main/ooxml/source/framework/OOXMLViewer/src/org/apache/openoffice/ooxml/viewer/xml/ |
| H A D | XMLScanner.java | 87 final int nC = PeekCharacter(); in ProvideToken() local 88 if (nC == -1) in ProvideToken() 94 switch (Character.getType(nC)) in ProvideToken() 102 switch(nC) in ProvideToken() 142 if (nC == '<') in ProvideToken() 374 final int nC; in GetNextCharacter() local 377 nC = mnNextCharacter; in GetNextCharacter() 384 nC = maIn.read(); in GetNextCharacter() 393 return nC; in GetNextCharacter()
|
| /AOO42X/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()
|
| /AOO42X/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()
|
| /AOO42X/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()
|
| /AOO42X/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()
|
| /AOO42X/main/sc/source/ui/docshell/ |
| H A D | externalrefmgr.cxx | 606 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 …]
|
| /AOO42X/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 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…
|
| /AOO42X/main/writerfilter/qa/cppunittests/doctok/ |
| H A D | testdoctok.cxx | 134 sal_uChar nC = sInputFileURL[n]; in TEST_F() local 136 if (nC < 0xff && isprint(nC)) in TEST_F() 137 clog << static_cast<char>(nC); in TEST_F()
|
| /AOO42X/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()
|