| /AOO42X/main/sc/inc/ |
| H A D | scmatrix.hxx | 96 SCSIZE nColCount; 97 SCSIZE nRowCount; 102 void CreateMatrix( SCSIZE nC, SCSIZE nR); 106 void PutStringEntry( const String* pStr, sal_uInt8 bFlag, SCSIZE nIndex ); 171 ScMatrix( SCSIZE nC, SCSIZE nR) : nRefCnt(0), mbCloneIfConst(true) { CreateMatrix( nC, nR); } in ScMatrix() 188 void Resize( SCSIZE nC, SCSIZE nR); 192 ScMatrix* CloneAndExtend( SCSIZE nNewCols, SCSIZE nNewRows ) const; 222 void GetDimensions( SCSIZE& rC, SCSIZE& rR) const in GetDimensions() 224 SCSIZE GetElementCount() const in GetElementCount() 226 inline bool ValidColRow( SCSIZE nC, SCSIZE nR) const in ValidColRow() [all …]
|
| H A D | column.hxx | 100 SCSIZE nCount; 101 SCSIZE nLimit; 128 sal_Bool Search( SCROW nRow, SCSIZE& nIndex ) const; 134 void DeleteAtIndex( SCSIZE nIndex ); 136 void Resize( SCSIZE nSize ); 155 SCSIZE GetEmptyLinesInBlock( SCROW nStartRow, SCROW nEndRow, ScDirection eDir ) const; 167 SCSIZE VisibleCount( SCROW nStartRow, SCROW nEndRow ) const; 184 sal_Bool TestInsertRow( SCSIZE nSize ) const; 185 void InsertRow( SCROW nStartRow, SCSIZE nSize ); 186 void DeleteRow( SCROW nStartRow, SCSIZE nSize ); [all …]
|
| H A D | olinetab.hxx | 40 SCSIZE nSize; 52 SCSIZE GetSize() const { return nSize; } in GetSize() 58 void SetSize( SCSIZE nNewSize ); 59 void SetPosSize( SCCOLROW nNewPos, SCSIZE nNewSize ); 118 sal_Bool TestInsertSpace( SCSIZE nSize, SCCOLROW nMaxVal ) const; 119 void InsertSpace( SCCOLROW nStartPos, SCSIZE nSize ); 120 sal_Bool DeleteSpace( SCCOLROW nStartPos, SCSIZE nSize ); 143 sal_Bool TestInsertCol( SCSIZE nSize ); 144 void InsertCol( SCCOL nStartCol, SCSIZE nSize ); 145 …sal_Bool DeleteCol( SCCOL nStartCol, SCSIZE nSize ); // TRUE: Undo nur ueber Or… [all …]
|
| H A D | consoli.hxx | 47 SCSIZE nCount; 48 SCSIZE nFullSize; // inkl. Fuell-Eintraege 55 SCSIZE GetCount() { return nCount; } in GetCount() 56 const ScReferenceEntry& GetEntry( SCSIZE nPos ) { return pData[nPos]; } in GetEntry() 57 void SetFullSize( SCSIZE nNew ) { nFullSize = nNew; } in SetFullSize() 87 SCSIZE nColCount; 88 SCSIZE nRowCount; 96 SCSIZE nDataCount; 97 SCSIZE nTitleCount; 99 SCSIZE** ppTitlePos;
|
| H A D | attarray.hxx | 85 SCSIZE nCount; 86 SCSIZE nLimit; 111 sal_Bool Concat(SCSIZE nPos); 144 sal_Bool Search( SCROW nRow, SCSIZE& nIndex ) const; 179 sal_Bool TestInsertRow( SCSIZE nSize ) const; 180 void InsertRow( SCROW nStartRow, SCSIZE nSize ); 181 void DeleteRow( SCROW nStartRow, SCSIZE nSize ); 182 void DeleteRange( SCSIZE nStartIndex, SCSIZE nEndIndex ); 193 bool Reserve( SCSIZE nCount ); 194 SCSIZE Count() const{ return nCount; } in Count() [all …]
|
| /AOO42X/main/sc/source/core/tool/ |
| H A D | interpr5.cxx | 175 SCSIZE nC, nR; in ScGCD() 181 SCSIZE nCount = nC * nR; in ScGCD() 182 for ( SCSIZE j = 0; j < nCount; j++ ) in ScGCD() 267 SCSIZE nC, nR; in ScLCM() 273 SCSIZE nCount = nC * nR; in ScLCM() 274 for ( SCSIZE j = 0; j < nCount; j++ ) in ScLCM() 303 ScMatrixRef ScInterpreter::GetNewMat(SCSIZE nC, SCSIZE nR) in GetNewMat() 311 SCSIZE nCols, nRows; in GetNewMat() 331 if ( static_cast<SCSIZE>(nRow2 - nRow1 + 1) * in CreateMatrixFromDoubleRef() 332 static_cast<SCSIZE>(nCol2 - nCol1 + 1) > in CreateMatrixFromDoubleRef() [all …]
|
| H A D | scmatrix.cxx | 42 void ScMatrix::CreateMatrix(SCSIZE nC, SCSIZE nR) // nur fuer ctor in CreateMatrix() 47 SCSIZE nCount = nColCount * nRowCount; in CreateMatrix() 85 void ScMatrix::Resize( SCSIZE nC, SCSIZE nR) in Resize() 91 ScMatrix* ScMatrix::CloneAndExtend( SCSIZE nNewCols, SCSIZE nNewRows ) const in CloneAndExtend() 128 SCSIZE nCount = nColCount * nRowCount; in ScMatrix() 129 SCSIZE nReadCount = (SCSIZE) nC * nR; in ScMatrix() 130 for (SCSIZE i=0; i<nReadCount; i++) in ScMatrix() 171 SCSIZE nCount = nColCount * nRowCount; in Store() 197 for (SCSIZE i=0; i<nCount; i++) in Store() 223 SCSIZE nCount = nColCount * nRowCount; in ResetIsString() [all …]
|
| H A D | rangeseq.cxx | 101 SCSIZE nColCount; in FillLongArray() 102 SCSIZE nRowCount; in FillLongArray() 107 for (SCSIZE nRow = 0; nRow < nRowCount; nRow++) in FillLongArray() 111 for (SCSIZE nCol = 0; nCol < nColCount; nCol++) in FillLongArray() 157 SCSIZE nColCount; in FillDoubleArray() 158 SCSIZE nRowCount; in FillDoubleArray() 163 for (SCSIZE nRow = 0; nRow < nRowCount; nRow++) in FillDoubleArray() 167 for (SCSIZE nCol = 0; nCol < nColCount; nCol++) in FillDoubleArray() 220 SCSIZE nColCount; in FillStringArray() 221 SCSIZE nRowCount; in FillStringArray() [all …]
|
| H A D | consoli.cxx | 172 for (SCSIZE i=0; i<nColCount; i++) in DeleteData() 174 for (SCSIZE j=0; j<nRowCount; j++) in DeleteData() 214 for (SCSIZE i=0; i<nColCount; i++) in InitData() 222 for (SCSIZE i=0; i<nColCount; i++) in InitData() 233 for (SCSIZE i=0; i<nColCount; i++) in InitData() 242 ppTitlePos = new SCSIZE*[nRowCount]; in InitData() 243 for (SCSIZE i=0; i<nRowCount; i++) in InitData() 245 ppTitlePos[i] = new SCSIZE[nDataCount]; in InitData() 246 memset( ppTitlePos[i], 0, nDataCount * sizeof(SCSIZE) ); //! unnoetig ? in InitData() 261 nColCount = static_cast<SCSIZE>(nCols); in SetSize() [all …]
|
| H A D | interpr1.cxx | 114 SCSIZE nCols, nRows; in ScIfJump() 124 for ( SCSIZE nC=0; nC < nCols; ++nC ) in ScIfJump() 126 for ( SCSIZE nR=0; nR < nRows; ++nR ) in ScIfJump() 247 SCSIZE nCols, nRows; in ScChoseJump() 257 for ( SCSIZE nC=0; nC < nCols; ++nC ) in ScChoseJump() 259 for ( SCSIZE nR=0; nR < nRows; ++nR ) in ScChoseJump() 326 void lcl_AdjustJumpMatrix( ScJumpMatrix* pJumpM, ScMatrixRef& pResMat, SCSIZE nParmCols, SCSIZE nPa… in lcl_AdjustJumpMatrix() 328 SCSIZE nJumpCols, nJumpRows; in lcl_AdjustJumpMatrix() 329 SCSIZE nResCols, nResRows; in lcl_AdjustJumpMatrix() 330 SCSIZE nAdjustCols, nAdjustRows; in lcl_AdjustJumpMatrix() [all …]
|
| H A D | interpr3.cxx | 2339 SCSIZE nCount = pMat->GetElementCount(); in ScZTest() 2342 for ( SCSIZE i = 0; i < nCount; i++ ) in ScZTest() 2352 for (SCSIZE i = 0; i < nCount; i++) in ScZTest() 2381 … ,const SCSIZE nC1, const SCSIZE nC2,const SCSIZE nR1,const SCSIZE nR2 in CalculateTest() 2393 SCSIZE i,j; in CalculateTest() 2472 SCSIZE nC1, nC2; in ScTTest() 2473 SCSIZE nR1, nR2; in ScTTest() 2474 SCSIZE i, j; in ScTTest() 2543 SCSIZE nC1, nC2; in ScFTest() 2544 SCSIZE nR1, nR2; in ScFTest() [all …]
|
| H A D | queryparam.cxx | 53 SCSIZE ScQueryParamBase::GetEntryCount() const in GetEntryCount() 58 ScQueryEntry& ScQueryParamBase::GetEntry(SCSIZE n) const in GetEntry() 63 void ScQueryParamBase::Resize(SCSIZE nNew) in Resize() 69 SCSIZE nCopy = ::std::min(maEntries.size(), nNew); in Resize() 70 for (SCSIZE i=0; i<nCopy; i++) in Resize() 76 void ScQueryParamBase::DeleteQuery( SCSIZE nPos ) in DeleteQuery() 95 void ScQueryParamBase::FillInExcelSyntax(String& aCellStr, SCSIZE nIndex) in FillInExcelSyntax() 260 SCSIZE nUsed = 0; in operator ==() 261 SCSIZE nOtherUsed = 0; in operator ==() 262 SCSIZE nEntryCount = GetEntryCount(); in operator ==() [all …]
|
| H A D | doubleref.cxx | 67 SCSIZE nIndex = 0; in lcl_createStarQuery() 70 SCSIZE nNewEntries = static_cast<SCSIZE>(nRows); in lcl_createStarQuery() 179 SCSIZE nVisible = pQueryRef->getVisibleDataCellCount(); in lcl_createExcelQuery() 186 SCSIZE nNewEntries = nVisible; in lcl_createExcelQuery() 189 SCSIZE nIndex = 0; in lcl_createExcelQuery() 225 SCSIZE nCount = pParam->GetEntryCount(); in lcl_fillQueryEntries() 226 for (SCSIZE i = 0; i < nCount; ++i) in lcl_fillQueryEntries() 239 for (SCSIZE i = 0; i < nCount; ++i) in lcl_fillQueryEntries() 245 for (SCSIZE i = 0; i < nCount; ++i) in lcl_fillQueryEntries() 314 SCSIZE ScDBInternalRange::getVisibleDataCellCount() const in getVisibleDataCellCount() [all …]
|
| H A D | chartarr.cxx | 144 SCSIZE nCol; in CreateMemChartSingle() 145 SCSIZE nRow; in CreateMemChartSingle() 188 SCSIZE nTotalCols = ( nCol1 <= nCol2 ? nCol2 - nCol1 + 1 : 0 ); in CreateMemChartSingle() 191 for (SCSIZE i=0; i<nTotalCols; i++) in CreateMemChartSingle() 197 SCSIZE nColCount = aCols.size(); in CreateMemChartSingle() 199 SCSIZE nTotalRows = ( nRow1 <= nRow2 ? nRow2 - nRow1 + 1 : 0 ); in CreateMemChartSingle() 215 SCSIZE nRowCount = aRows.size(); in CreateMemChartSingle() 375 SCSIZE nColCount = GetPositionMap()->GetColCount(); in CreateMemChartMulti() 376 SCSIZE nRowCount = GetPositionMap()->GetRowCount(); in CreateMemChartMulti() 378 SCSIZE nCol = 0; in CreateMemChartMulti() [all …]
|
| /AOO42X/main/sc/source/core/data/ |
| H A D | bcaslot.cxx | 78 SCSIZE nSlice; // slice size in this segment 79 SCSIZE nCumulated; // cumulated slots of previous segments 81 …ScSlotData( SCROW r1, SCROW r2, SCSIZE s, SCSIZE c ) : nStartRow(r1), nStopRow(r2), nSlice(s), nCu… in ScSlotData() 87 static SCSIZE nBcaSlotsRow = BCA_SLOTS_ROW; 88 static SCSIZE nBcaSlots = BCA_SLOTS_DEFINE; 95 static SCSIZE initSlotDistribution( ScSlotDistribution & rSD, SCSIZE & rBSR ) in initSlotDistribution() 97 SCSIZE nSlots = 0; in initSlotDistribution() 100 SCSIZE nSlice = 128; in initSlotDistribution() 117 static SCSIZE nBcaSlotsRow; 118 static SCSIZE nBcaSlots = initSlotDistribution( aSlotDistribution, nBcaSlotsRow) * BCA_SLOTS_COL; [all …]
|
| H A D | attarray.cxx | 91 for (SCSIZE i=0; i<nCount; i++) in ~ScAttrArray() 106 SCSIZE nPos; in TestData() 139 for (SCSIZE i=0; i<nCount; i++) in Reset() 189 sal_Bool ScAttrArray::Concat(SCSIZE nPos) in Concat() 227 sal_Bool ScAttrArray::Search( SCROW nRow, SCSIZE& nIndex ) const in Search() 258 nIndex=(SCSIZE)i; in Search() 267 SCSIZE i; in GetPattern() 278 SCSIZE nIndex; in GetPatternRange() 298 bool ScAttrArray::Reserve( SCSIZE nReserve ) in Reserve() 328 SCSIZE nNeeded = nCount + 2; in SetPatternArea() [all …]
|
| H A D | column.cxx | 109 SCSIZE nIndex; in GetBlockMatrixEdges() 127 SCSIZE nIndex; in GetBlockMatrixEdges() 176 SCSIZE nIndex; in HasSelectionMatrixFragment() 686 sal_Bool ScColumn::Search( SCROW nRow, SCSIZE& nIndex ) const in Search() 720 sal_Bool bInterpol = (static_cast<SCSIZE>(nMaxRow - nMinRow) < nCount * 2); in Search() 732 if ( i < 0 || static_cast<SCSIZE>(i) >= nCount ) in Search() 768 nIndex = static_cast<SCSIZE>(i); in Search() 770 nIndex = static_cast<SCSIZE>(nLo); // rear index in Search() 781 SCSIZE nIndex; in GetCell() 788 void ScColumn::Resize( SCSIZE nSize ) in Resize() [all …]
|
| H A D | column3.cxx | 84 SCSIZE nIndex; in Insert() 116 if ( nLimit > sal::static_int_cast<SCSIZE>(MAXROWCOUNT) ) in Insert() 184 if ( nLimit > sal::static_int_cast<SCSIZE>(MAXROWCOUNT) ) in Append() 207 SCSIZE nIndex; in Delete() 235 void ScColumn::DeleteAtIndex( SCSIZE nIndex ) in DeleteAtIndex() 256 for (SCSIZE i = 0; i < nCount; i++) in FreeAll() 266 void ScColumn::DeleteRow( SCROW nStartRow, SCSIZE nSize ) in DeleteRow() 273 SCSIZE nFirstIndex; in DeleteRow() 283 SCSIZE nStartIndex = 0; in DeleteRow() 284 SCSIZE nEndIndex = 0; in DeleteRow() [all …]
|
| H A D | column2.cxx | 189 SCSIZE nIndex; in GetNeededSize() 628 long ScColumn::GetSimpleTextNeededSize( SCSIZE nIndex, OutputDevice* pDev, in GetSimpleTextNeededSize() 666 SCSIZE nIndex; in GetOptimalColWidth() 867 SCSIZE nIndex; in GetOptimalHeight() 905 SCSIZE nIndex; in GetOptimalHeight() 940 SCSIZE nIndex; in GetNextSpellingCell() 995 for (SCSIZE i=0; i<nCount; i++) in RemoveAutoSpellObj() 1038 SCSIZE i; in RemoveEditAttribs() 1110 for (SCSIZE i = 0; i < nCount; i++) in TestTabRefAbs() 1149 SCSIZE ScColumnIterator::GetIndex() const // Index zur letzen abgefragten Zelle in GetIndex() [all …]
|
| H A D | dociter.cxx | 223 SCSIZE nPos; in lcl_IterGetNumberFormat() 444 SCSIZE nIdx = nColRow - 1; in GetCurNumFmtInfo() 504 SCROW ScDBQueryDataIterator::GetRowByColEntryIndex(ScDocument& rDoc, SCTAB nTab, SCCOL nCol, SCSIZE… in GetRowByColEntryIndex() 510 …QueryDataIterator::GetCellByColEntryIndex(ScDocument& rDoc, SCTAB nTab, SCCOL nCol, SCSIZE nColRow) in GetCellByColEntryIndex() 527 SCSIZE ScDBQueryDataIterator::SearchColEntryIndex(ScDocument& rDoc, SCTAB nTab, SCROW nRow, SCCOL n… in SearchColEntryIndex() 530 SCSIZE nColRow; in SearchColEntryIndex() 548 SCSIZE i; in DataAccessInternal() 549 SCSIZE nCount = mpParam->GetEntryCount(); in DataAccessInternal() 578 SCSIZE nCellCount = mpDoc->GetCellCount(nTab, nCol); in getCurrent() 691 SCSIZE nC, nR; in DataAccessMatrix() [all …]
|
| H A D | markarr.cxx | 73 sal_Bool ScMarkArray::Search( SCROW nRow, SCSIZE& nIndex ) const in Search() 104 nIndex=(SCSIZE)i; in Search() 112 SCSIZE i; in GetMark() 135 SCSIZE nNeeded = nCount + 2; in SetMarkArea() 147 SCSIZE ni; // number of entries in beginning in SetMarkArea() 148 SCSIZE nInsert; // insert position (MAXROW+1 := no insert) in SetMarkArea() 154 SCSIZE nIndex; in SetMarkArea() 185 SCSIZE nj = ni; // stop position of range to replace in SetMarkArea() 224 if ( nInsert < sal::static_int_cast<SCSIZE>(MAXROWCOUNT) ) in SetMarkArea() 257 SCSIZE nStartIndex; in IsAllMarked() [all …]
|
| H A D | table3.cxx | 83 SCSIZE nCount; 95 for ( SCSIZE j = 0; j < nCount; j++ ) in ScSortInfoArray() 105 for ( SCSIZE j = 0; j < nCount; j++ ) in ~ScSortInfoArray() 114 SCSIZE n1 = static_cast<SCSIZE>(nInd1 - nStart); in Swap() 115 SCSIZE n2 = static_cast<SCSIZE>(nInd2 - nStart); in Swap() 127 SCSIZE GetCount() { return nCount; } in GetCount() 208 SCSIZE nCount = pArray->GetCount(); in SortReorder() 212 SCSIZE nPos; in SortReorder() 676 SCSIZE nEmpty = GetEmptyLinesInBlock( nStartCol, nStartRow, nEndCol, nEndRow, DIR_BOTTOM ); in DoSubTotals() 932 const SCSIZE nFixedBools = 32; in ValidQuery() [all …]
|
| H A D | olinetab.cxx | 77 void ScOutlineEntry::SetSize( SCSIZE nNewSize ) in SetSize() 87 void ScOutlineEntry::SetPosSize( SCCOLROW nNewPos, SCSIZE nNewSize ) in SetPosSize() 560 sal_Bool ScOutlineArray::TestInsertSpace( SCSIZE nSize, SCCOLROW nMaxVal ) const in TestInsertSpace() 572 void ScOutlineArray::InsertSpace( SCCOLROW nStartPos, SCSIZE nSize ) in InsertSpace() 587 SCSIZE nEntrySize = pEntry->GetSize(); in InsertSpace() 595 sal_Bool ScOutlineArray::DeleteSpace( SCCOLROW nStartPos, SCSIZE nSize ) in DeleteSpace() 607 SCSIZE nEntrySize = pEntry->GetSize(); in DeleteSpace() 624 pEntry->SetPosSize( nStartPos, static_cast<SCSIZE>(nEntryEnd-nEndPos) ); in DeleteSpace() 626 pEntry->SetSize( static_cast<SCSIZE>(nStartPos-nEntryStart) ); in DeleteSpace() 690 sal_Bool ScOutlineTable::TestInsertCol( SCSIZE nSize ) in TestInsertCol() [all …]
|
| /AOO42X/main/sc/source/core/inc/ |
| H A D | jumpmatrix.hxx | 65 SCSIZE nCols; 66 SCSIZE nRows; 67 SCSIZE nCurCol; 68 SCSIZE nCurRow; 69 SCSIZE nResMatCols; 70 SCSIZE nResMatRows; 78 ScJumpMatrix( SCSIZE nColsP, SCSIZE nRowsP ) in ScJumpMatrix() 112 void GetDimensions( SCSIZE& rCols, SCSIZE& rRows ) const in GetDimensions() 117 void SetJump( SCSIZE nCol, SCSIZE nRow, double fBool, in SetJump() 124 void GetJump( SCSIZE nCol, SCSIZE nRow, double& rBool, in GetJump() [all …]
|
| H A D | interpre.hxx | 174 ScMatrixRef GetNewMat(SCSIZE nC, SCSIZE nR); 699 void MEMat(ScMatrix* mM, SCSIZE n); 717 ,const SCSIZE nC1, const SCSIZE nC2,const SCSIZE nR1,const SCSIZE nR2 726 void CalculateMatrixValue(const ScMatrix* pMat,SCSIZE nC,SCSIZE nR); 727 …ool CheckMatrix(bool _bLOG,sal_uInt8& nCase,SCSIZE& nCX,SCSIZE& nCY,SCSIZE& nRX,SCSIZE& nRY,SCSIZE…
|