Lines Matching refs:nStartCol
120 sal_Bool ScTable::TestInsertRow( SCCOL nStartCol, SCCOL nEndCol, SCSIZE nSize ) in TestInsertRow() argument
124 if ( nStartCol==0 && nEndCol==MAXCOL && pOutlineTable ) in TestInsertRow()
127 for (SCCOL i=nStartCol; (i<=nEndCol) && bTest; i++) in TestInsertRow()
134 void ScTable::InsertRow( SCCOL nStartCol, SCCOL nEndCol, SCROW nStartRow, SCSIZE nSize ) in InsertRow() argument
138 if (nStartCol==0 && nEndCol==MAXCOL) in InsertRow()
179 for (SCCOL j=nStartCol; j<=nEndCol; j++) in InsertRow()
187 void ScTable::DeleteRow( SCCOL nStartCol, SCCOL nEndCol, SCROW nStartRow, SCSIZE nSize, in DeleteRow() argument
192 if (nStartCol==0 && nEndCol==MAXCOL) in DeleteRow()
223 for (SCCOL j=nStartCol; j<=nEndCol; j++) in DeleteRow()
249 void ScTable::InsertCol( SCCOL nStartCol, SCROW nStartRow, SCROW nEndRow, SCSIZE nSize ) in InsertCol() argument
257 memmove( &pColWidth[nStartCol+nSize], &pColWidth[nStartCol], in InsertCol()
258 (MAXCOL - nStartCol + 1 - nSize) * sizeof(pColWidth[0]) ); in InsertCol()
259 memmove( &pColFlags[nStartCol+nSize], &pColFlags[nStartCol], in InsertCol()
260 (MAXCOL - nStartCol + 1 - nSize) * sizeof(pColFlags[0]) ); in InsertCol()
263 pOutlineTable->InsertCol( nStartCol, nSize ); in InsertCol()
265 mpHiddenCols->insertSegment(nStartCol, static_cast<SCCOL>(nSize), true); in InsertCol()
266 mpFilteredCols->insertSegment(nStartCol, static_cast<SCCOL>(nSize), true); in InsertCol()
295 for (SCCOL nCol = MAXCOL; nCol > nStartCol; nCol--) in InsertCol()
300 for (SCSIZE i=0; static_cast<SCCOL>(i+nSize)+nStartCol <= MAXCOL; i++) in InsertCol()
304 if (nStartCol>0) // copy old attributes in InsertCol()
312 aCol[nStartCol-1].CopyToColumn( nStartRow, nEndRow, IDF_ATTRIB, in InsertCol()
313 sal_False, aCol[nStartCol+i] ); in InsertCol()
314 aCol[nStartCol+i].RemoveFlags( nStartRow, nEndRow, in InsertCol()
316 aCol[nStartCol+i].ClearItems( nStartRow, nEndRow, nWhichArray ); in InsertCol()
325 void ScTable::DeleteCol( SCCOL nStartCol, SCROW nStartRow, SCROW nEndRow, SCSIZE nSize, in DeleteCol() argument
334 memmove( &pColWidth[nStartCol], &pColWidth[nStartCol+nSize], in DeleteCol()
335 (MAXCOL - nStartCol + 1 - nSize) * sizeof(pColWidth[0]) ); in DeleteCol()
336 memmove( &pColFlags[nStartCol], &pColFlags[nStartCol+nSize], in DeleteCol()
337 (MAXCOL - nStartCol + 1 - nSize) * sizeof(pColFlags[0]) ); in DeleteCol()
340 if (pOutlineTable->DeleteCol( nStartCol, nSize )) in DeleteCol()
344 SCCOL nRmSize = nStartCol + static_cast<SCCOL>(nSize); in DeleteCol()
345 mpHiddenCols->removeSegment(nStartCol, nRmSize); in DeleteCol()
346 mpFilteredCols->removeSegment(nStartCol, nRmSize); in DeleteCol()
350 …t<SCCOL>::iterator it = maColManualBreaks.upper_bound( static_cast<SCCOL>( nStartCol + nSize - 1)); in DeleteCol()
351 maColManualBreaks.erase( maColManualBreaks.lower_bound( nStartCol), it); in DeleteCol()
365 aCol[nStartCol + i].DeleteArea(nStartRow, nEndRow, IDF_ALL); in DeleteCol()
371 for (SCCOL nCol = nStartCol; nCol < MAXCOL; nCol++) in DeleteCol()
376 for (SCSIZE i=0; static_cast<SCCOL>(i+nSize)+nStartCol <= MAXCOL; i++) in DeleteCol()
377 aCol[nStartCol + nSize + i].MoveTo(nStartRow, nEndRow, aCol[nStartCol + i]); in DeleteCol()
1069 void ScTable::FillDPCache( ScDPTableDataCache * pCache, SCCOL nStartCol, SCCOL nEndCol, SCROW nSta… in FillDPCache() argument
1071 for ( sal_uInt16 nCol = nStartCol; nCol <= nEndCol; nCol++ ) in FillDPCache()
1073 aCol[nCol].FillDPCache( pCache, nCol - nStartCol, nStartRow, nEndRow ); in FillDPCache()
1222 sal_Bool ScTable::HasStringCells( SCCOL nStartCol, SCROW nStartRow, in HasStringCells() argument
1226 for ( SCCOL nCol=nStartCol; nCol<=nEndCol; nCol++ ) in HasStringCells()
1340 SCCOL nStartCol = rRange.aStart.Col(); in ResetChanged() local
1345 for (SCCOL nCol=nStartCol; nCol<=nEndCol; nCol++) in ResetChanged()
1426 sal_Bool ScTable::ExtendMerge( SCCOL nStartCol, SCROW nStartRow, in ExtendMerge() argument
1430 if (!(ValidCol(nStartCol) && ValidCol(rEndCol))) in ExtendMerge()
1438 for (SCCOL i=nStartCol; i<=nOldEndX; i++) in ExtendMerge()
1875 SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow ) const in MergeBlockFrame() argument
1877 if (ValidColRow(nStartCol, nStartRow) && ValidColRow(nEndCol, nEndRow)) in MergeBlockFrame()
1879 PutInOrder(nStartCol, nEndCol); in MergeBlockFrame()
1881 for (SCCOL i=nStartCol; i<=nEndCol; i++) in MergeBlockFrame()
1883 nStartRow, nEndRow, (i==nStartCol), nEndCol-i ); in MergeBlockFrame()
1889 SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow ) in ApplyBlockFrame() argument
1891 if (ValidColRow(nStartCol, nStartRow) && ValidColRow(nEndCol, nEndRow)) in ApplyBlockFrame()
1893 PutInOrder(nStartCol, nEndCol); in ApplyBlockFrame()
1895 for (SCCOL i=nStartCol; i<=nEndCol; i++) in ApplyBlockFrame()
1897 nStartRow, nEndRow, (i==nStartCol), nEndCol-i ); in ApplyBlockFrame()
1909 void ScTable::ApplyPatternArea( SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, in ApplyPatternArea() argument
1912 if (ValidColRow(nStartCol, nStartRow) && ValidColRow(nEndCol, nEndRow)) in ApplyPatternArea()
1914 PutInOrder(nStartCol, nEndCol); in ApplyPatternArea()
1916 for (SCCOL i = nStartCol; i <= nEndCol; i++) in ApplyPatternArea()
1921 void ScTable::ApplyPooledPatternArea( SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRo… in ApplyPooledPatternArea() argument
1924 if (ValidColRow(nStartCol, nStartRow) && ValidColRow(nEndCol, nEndRow)) in ApplyPooledPatternArea()
1926 PutInOrder(nStartCol, nEndCol); in ApplyPooledPatternArea()
1928 for (SCCOL i = nStartCol; i <= nEndCol; i++) in ApplyPooledPatternArea()
1963 void ScTable::ApplyStyleArea( SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, const… in ApplyStyleArea() argument
1965 if (ValidColRow(nStartCol, nStartRow) && ValidColRow(nEndCol, nEndRow)) in ApplyStyleArea()
1967 PutInOrder(nStartCol, nEndCol); in ApplyStyleArea()
1969 for (SCCOL i = nStartCol; i <= nEndCol; i++) in ApplyStyleArea()
2100 sal_Bool ScTable::ApplyFlags( SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, in ApplyFlags() argument
2104 if (ValidColRow(nStartCol, nStartRow) && ValidColRow(nEndCol, nEndRow)) in ApplyFlags()
2105 for (SCCOL i = nStartCol; i <= nEndCol; i++) in ApplyFlags()
2111 sal_Bool ScTable::RemoveFlags( SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, in RemoveFlags() argument
2115 if (ValidColRow(nStartCol, nStartRow) && ValidColRow(nEndCol, nEndRow)) in RemoveFlags()
2116 for (SCCOL i = nStartCol; i <= nEndCol; i++) in RemoveFlags()
2966 sal_Bool ScTable::UpdateOutlineCol( SCCOL nStartCol, SCCOL nEndCol, sal_Bool bShow ) in UpdateOutlineCol() argument
2971 return pOutlineTable->GetColArray()->ManualAction( nStartCol, nEndCol, bShow, *this, true ); in UpdateOutlineCol()
3055 void ScTable::DoAutoOutline( SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow ) in DoAutoOutline() argument
3079 for (nCol=nStartCol; nCol<=nEndCol; nCol++) in DoAutoOutline()
3088 for (nCol=nStartCol; nCol<=nEndCol && !bFound; nCol++) in DoAutoOutline()
3116 for (nCol=nStartCol; nCol<=nEndCol; nCol++) in DoAutoOutline()
3146 void ScTable::CopyData( SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, in CopyData() argument
3151 ScAddress aSrc( nStartCol, nStartRow, nTab ); in CopyData()
3161 for (SCCOL nCol=nStartCol; nCol<=nEndCol; nCol++) in CopyData()
3172 ((SCsCOL) nDestCol) - ((SCsCOL) nStartCol), in CopyData()