Lines Matching refs:SCCOL

120 sal_Bool ScTable::TestInsertRow( SCCOL nStartCol, SCCOL nEndCol, SCSIZE nSize )  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()
179 for (SCCOL j=nStartCol; j<=nEndCol; j++) in InsertRow()
187 void ScTable::DeleteRow( SCCOL nStartCol, SCCOL nEndCol, SCROW nStartRow, SCSIZE nSize, in DeleteRow()
223 for (SCCOL j=nStartCol; j<=nEndCol; j++) in DeleteRow()
242 for (SCCOL i=MAXCOL; (i+static_cast<SCCOL>(nSize)>MAXCOL) && bTest; i--) in TestInsertCol()
249 void ScTable::InsertCol( SCCOL nStartCol, SCROW nStartRow, SCROW nEndRow, SCSIZE 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()
270 std::vector<SCCOL> aUpdatedBreaks; in InsertCol()
274 std::set<SCCOL>::iterator aLast (--maColManualBreaks.end()); in InsertCol()
281 aUpdatedBreaks.push_back(static_cast<SCCOL>(*aLast + nSize)); 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()
325 void ScTable::DeleteCol( SCCOL nStartCol, SCROW nStartRow, SCROW nEndRow, SCSIZE nSize, in DeleteCol()
344 SCCOL nRmSize = nStartCol + static_cast<SCCOL>(nSize); in DeleteCol()
350 …std::set<SCCOL>::iterator it = maColManualBreaks.upper_bound( static_cast<SCCOL>( nStartCol + nSiz… in DeleteCol()
354 SCCOL nCol = *it; in DeleteCol()
356 maColManualBreaks.insert( static_cast<SCCOL>( nCol - nSize)); 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()
385 void ScTable::DeleteArea(SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, sal_uInt16 nDelFlag) in DeleteArea()
395 for (SCCOL i = nCol1; i <= nCol2; i++) in DeleteArea()
419 for (SCCOL i=0; i<=MAXCOL; i++) in DeleteSelection()
439 void ScTable::CopyToClip(SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, in CopyToClip()
445 SCCOL i; in CopyToClip()
488 void ScTable::CopyFromClip(SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, in CopyFromClip()
492 SCCOL i; in CopyFromClip()
538 void ScTable::MixData( SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, in MixData()
541 for (SCCOL i=nCol1; i<=nCol2; i++) in MixData()
550 for (SCCOL i=0; i<=MAXCOL; i++) in MixMarked()
555 void ScTable::TransposeClip( SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, in TransposeClip()
562 for (SCCOL nCol=nCol1; nCol<=nCol2; nCol++) in TransposeClip()
575 …ScAddress aDestPos( static_cast<SCCOL>(nRow-nRow1), static_cast<SCROW>(nCol-nCol1), pTransClip->nT… in TransposeClip()
587 pTransClip->PutCell( static_cast<SCCOL>(nRow-nRow1), static_cast<SCROW>(nCol-nCol1), pNew ); in TransposeClip()
595 …ScAddress aDestPos( static_cast<SCCOL>(nRow-nRow1), static_cast<SCROW>(nCol-nCol1), pTransClip->nT… in TransposeClip()
619 pTransClip->PutCell( static_cast<SCCOL>(nRow-nRow1), static_cast<SCROW>(nCol-nCol1), pNew ); in TransposeClip()
640 …pTransClip->SetPattern( static_cast<SCCOL>(nRow-nRow1), static_cast<SCROW>(nCol-nCol1), *pPattern,… in TransposeClip()
682 pTransClip->SetPattern( static_cast<SCCOL>(nRow-nRow1), in TransposeClip()
695 for (SCCOL i=0; i<=MAXCOL; i++) in StartAllListeners()
702 for (SCCOL i=0; i<=MAXCOL; i++) in StartNeededListeners()
707 void ScTable::BroadcastInArea( SCCOL nCol1, SCROW nRow1, in BroadcastInArea()
708 SCCOL nCol2, SCROW nRow2 ) in BroadcastInArea()
713 for (SCCOL i = nCol1; i <= nCol2; i++) in BroadcastInArea()
718 void ScTable::StartListeningInArea( SCCOL nCol1, SCROW nRow1, in StartListeningInArea()
719 SCCOL nCol2, SCROW nRow2 ) in StartListeningInArea()
724 for (SCCOL i = nCol1; i <= nCol2; i++) in StartListeningInArea()
729 void ScTable::CopyToTable(SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, in CopyToTable()
737 for (SCCOL i = nCol1; i <= nCol2; i++) in CopyToTable()
757 for (SCCOL i=nCol1; i<=nCol2; i++) in CopyToTable()
856 void ScTable::UndoToTable(SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, in UndoToTable()
868 for ( SCCOL i = 0; i <= MAXCOL; i++) in UndoToTable()
881 for (SCCOL i=nCol1; i<=nCol2; i++) in UndoToTable()
898 for (SCCOL i=0; i<=MAXCOL; i++) in CopyUpdated()
916 for (SCCOL i=0; i<=MAXCOL; i++) in CopyScenarioTo()
924 for (SCCOL i=0; i<=MAXCOL; i++) in CopyScenarioFrom()
935 for (SCCOL i=0; i<=MAXCOL; i++) in MarkScenarioIn()
996 for (SCCOL i=0; i<=MAXCOL && bOk; i++) in TestCopyScenarioTo()
1001 void ScTable::PutCell( SCCOL nCol, SCROW nRow, ScBaseCell* pCell ) in PutCell()
1013 void ScTable::PutCell( SCCOL nCol, SCROW nRow, sal_uLong nFormatIndex, ScBaseCell* pCell ) in PutCell()
1043 sal_Bool ScTable::SetString( SCCOL nCol, SCROW nRow, SCTAB nTabP, const String& rString, in SetString()
1054 void ScTable::SetValue( SCCOL nCol, SCROW nRow, const double& rVal ) in SetValue()
1061 void ScTable::GetString( SCCOL nCol, SCROW nRow, String& rString ) in GetString()
1069 void ScTable::FillDPCache( ScDPTableDataCache * pCache, SCCOL nStartCol, SCCOL nEndCol, SCROW nSta… in FillDPCache()
1077 void ScTable::GetInputString( SCCOL nCol, SCROW nRow, String& rString ) in GetInputString()
1086 double ScTable::GetValue( SCCOL nCol, SCROW nRow ) in GetValue()
1094 void ScTable::GetFormula( SCCOL nCol, SCROW nRow, String& rFormula, in GetFormula()
1104 ScPostIt* ScTable::GetNote( SCCOL nCol, SCROW nRow ) in GetNote()
1110 void ScTable::TakeNote( SCCOL nCol, SCROW nRow, ScPostIt*& rpNote ) in TakeNote()
1127 ScPostIt* ScTable::ReleaseNote( SCCOL nCol, SCROW nRow ) in ReleaseNote()
1133 void ScTable::DeleteNote( SCCOL nCol, SCROW nRow ) in DeleteNote()
1151 CellType ScTable::GetCellType( SCCOL nCol, SCROW nRow ) const in GetCellType()
1159 ScBaseCell* ScTable::GetCell( SCCOL nCol, SCROW nRow ) const in GetCell()
1168 void ScTable::GetFirstDataPos(SCCOL& rCol, SCROW& rRow) const in GetFirstDataPos()
1174 SCCOL nCol = rCol; in GetFirstDataPos()
1183 void ScTable::GetLastDataPos(SCCOL& rCol, SCROW& rRow) const in GetLastDataPos()
1189 SCCOL nCol = rCol; in GetLastDataPos()
1195 sal_Bool ScTable::HasData( SCCOL nCol, SCROW nRow ) in HasData()
1204 sal_Bool ScTable::HasStringData( SCCOL nCol, SCROW nRow ) in HasStringData()
1213 sal_Bool ScTable::HasValueData( SCCOL nCol, SCROW nRow ) in HasValueData()
1222 sal_Bool ScTable::HasStringCells( SCCOL nStartCol, SCROW nStartRow, in HasStringCells()
1223 SCCOL nEndCol, SCROW nEndRow ) const in HasStringCells()
1226 for ( SCCOL nCol=nStartCol; nCol<=nEndCol; nCol++ ) in HasStringCells()
1244 for (SCCOL i=0; i<=MAXCOL; i++) in SetDirtyVar()
1253 for (SCCOL i=0; i<=MAXCOL; i++) in SetDirty()
1263 SCCOL nCol2 = rRange.aEnd.Col(); in SetDirty()
1264 for (SCCOL i=rRange.aStart.Col(); i<=nCol2; i++) in SetDirty()
1274 SCCOL nCol2 = rRange.aEnd.Col(); in SetTableOpDirty()
1275 for (SCCOL i=rRange.aStart.Col(); i<=nCol2; i++) in SetTableOpDirty()
1285 for (SCCOL i=0; i<=MAXCOL; i++) in SetDirtyAfterLoad()
1295 for (SCCOL i=0; i<=MAXCOL; i++) in SetRelNameDirty()
1314 for (SCCOL i=0; i<=MAXCOL; i++) aCol[i].CalcAll(); in CalcAll()
1320 for (SCCOL i=0; i <= MAXCOL; i++) aCol[i].CompileAll(); in CompileAll()
1326 for (SCCOL i=0; i <= MAXCOL; i++) in CompileXML()
1334 for (SCCOL i=0; i <= MAXCOL; i++) aCol[i].CalcAfterLoad(); in CalcAfterLoad()
1340 SCCOL nStartCol = rRange.aStart.Col(); in ResetChanged()
1342 SCCOL nEndCol = rRange.aEnd.Col(); in ResetChanged()
1345 for (SCCOL nCol=nStartCol; nCol<=nEndCol; nCol++) in ResetChanged()
1351 const SfxPoolItem* ScTable::GetAttr( SCCOL nCol, SCROW nRow, sal_uInt16 nWhich ) const in GetAttr()
1360 sal_uLong ScTable::GetNumberFormat( SCCOL nCol, SCROW nRow ) const in GetNumberFormat()
1369 const ScPatternAttr* ScTable::GetPattern( SCCOL nCol, SCROW nRow ) const in GetPattern()
1381 const ScPatternAttr* ScTable::GetMostUsedPattern( SCCOL nCol, SCROW nStartRow, SCROW nEndRow ) const in GetMostUsedPattern()
1390 bool ScTable::HasAttrib( SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, sal_uInt16 nMask ) con… in HasAttrib()
1393 for (SCCOL i=nCol1; i<=nCol2 && !bFound; i++) in HasAttrib()
1420 for (SCCOL i=0; i<=MAXCOL && !bFound; i++) in HasAttribSelection()
1426 sal_Bool ScTable::ExtendMerge( SCCOL nStartCol, SCROW nStartRow, in ExtendMerge()
1427 SCCOL& rEndCol, SCROW& rEndRow, in ExtendMerge()
1436 SCCOL nOldEndX = rEndCol; in ExtendMerge()
1438 for (SCCOL i=nStartCol; i<=nOldEndX; i++) in ExtendMerge()
1444 sal_Bool ScTable::IsBlockEmpty( SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, bool bIgnoreNot… in IsBlockEmpty()
1452 for (SCCOL i=nCol1; i<=nCol2 && bEmpty; i++) in IsBlockEmpty()
1457 SCSIZE ScTable::FillMaxRot( RowInfo* pRowInfo, SCSIZE nArrCount, SCCOL nX1, SCCOL nX2, in FillMaxRot()
1458 SCCOL nCol, SCROW nAttrRow1, SCROW nAttrRow2, SCSIZE nArrY, in FillMaxRot()
1499 SCCOL nTouchedCol = nCol; in FillMaxRot()
1526 void ScTable::FindMaxRotCol( RowInfo* pRowInfo, SCSIZE nArrCount, SCCOL nX1, SCCOL nX2 ) in FindMaxRotCol()
1539 for (SCCOL nCol=0; nCol<=MAXCOL; nCol++) in FindMaxRotCol()
1545 SCCOL nAttrCol; in FindMaxRotCol()
1596 sal_Bool ScTable::HasBlockMatrixFragment( SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2 ) const in HasBlockMatrixFragment()
1626 for ( SCCOL i=nCol1; i<=nCol2; i++) in HasBlockMatrixFragment()
1652 for ( SCCOL i=nCol1; i<=nCol2; i++) in HasBlockMatrixFragment()
1680 for (SCCOL i=0; i<=MAXCOL && !bFound; i++) in HasSelectionMatrixFragment()
1686 sal_Bool ScTable::IsBlockEditable( SCCOL nCol1, SCROW nRow1, SCCOL nCol2, in IsBlockEditable()
1861 for (SCCOL i=0; i<=MAXCOL; i++) in MergeSelectionPattern()
1866 void ScTable::MergePatternArea( ScMergePatternState& rState, SCCOL nCol1, SCROW nRow1, in MergePatternArea()
1867 SCCOL nCol2, SCROW nRow2, sal_Bool bDeep ) const in MergePatternArea()
1869 for (SCCOL i=nCol1; i<=nCol2; i++) in MergePatternArea()
1875 SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow ) const in MergeBlockFrame()
1881 for (SCCOL i=nStartCol; i<=nEndCol; i++) in MergeBlockFrame()
1889 SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow ) in ApplyBlockFrame()
1895 for (SCCOL i=nStartCol; i<=nEndCol; i++) in ApplyBlockFrame()
1902 void ScTable::ApplyPattern( SCCOL nCol, SCROW nRow, const ScPatternAttr& rAttr ) in ApplyPattern()
1909 void ScTable::ApplyPatternArea( SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, 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()
1928 for (SCCOL i = nStartCol; i <= nEndCol; i++) in ApplyPooledPatternArea()
1947 SCCOL nEndCol = rRange.aEnd.Col(); in ApplyPatternIfNumberformatIncompatible()
1948 for ( SCCOL nCol = rRange.aStart.Col(); nCol <= nEndCol; nCol++ ) in ApplyPatternIfNumberformatIncompatible()
1956 void ScTable::ApplyStyle( SCCOL nCol, SCROW nRow, const ScStyleSheet& rStyle ) in ApplyStyle()
1963 void ScTable::ApplyStyleArea( SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, const… in ApplyStyleArea()
1969 for (SCCOL i = nStartCol; i <= nEndCol; i++) in ApplyStyleArea()
1977 for (SCCOL i=0; i<=MAXCOL; i++) in ApplySelectionStyle()
1988 for (SCCOL i=0; i<=MAXCOL; i++) in ApplySelectionLineStyle()
1993 const ScStyleSheet* ScTable::GetStyle( SCCOL nCol, SCROW nRow ) const in GetStyle()
2012 for (SCCOL i=0; i<=MAXCOL && bEqual; i++) in GetSelectionStyle()
2029 const ScStyleSheet* ScTable::GetAreaStyle( sal_Bool& rFound, SCCOL nCol1, SCROW nRow1, in GetAreaStyle()
2030 SCCOL nCol2, SCROW nRow2 ) const in GetAreaStyle()
2040 for (SCCOL i=nCol1; i<=nCol2 && bEqual; i++) in GetAreaStyle()
2060 for ( SCCOL i=0; i<=MAXCOL; i++ ) in IsStyleSheetUsed()
2080 for (SCCOL i = 0; i <= MAXCOL; ++i) in StyleSheetChanged()
2100 sal_Bool ScTable::ApplyFlags( SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW 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()
2116 for (SCCOL i = nStartCol; i <= nEndCol; i++) in RemoveFlags()
2122 void ScTable::SetPattern( SCCOL nCol, SCROW nRow, const ScPatternAttr& rAttr, sal_Bool bPutToPool ) in SetPattern()
2129 void ScTable::ApplyAttr( SCCOL nCol, SCROW nRow, const SfxPoolItem& rAttr ) in ApplyAttr()
2138 for (SCCOL i=0; i<=MAXCOL; i++) in ApplySelectionCache()
2145 for (SCCOL i=0; i<=MAXCOL; i++) in ChangeSelectionIndent()
2152 for (SCCOL i=0; i<=MAXCOL; i++) in ClearSelectionItems()
2159 void ScTable::SetColWidth( SCCOL nCol, sal_uInt16 nNewWidth ) in SetColWidth()
2355 void ScTable::SetColWidthOnly( SCCOL nCol, sal_uInt16 nNewWidth ) in SetColWidthOnly()
2381 sal_uInt16 ScTable::GetColWidth( SCCOL nCol ) const in GetColWidth()
2397 sal_uInt16 ScTable::GetOriginalWidth( SCCOL nCol ) const // immer die eingestellte in GetOriginalWidth()
2408 sal_uInt16 ScTable::GetCommonWidth( SCCOL nEndCol ) in GetCommonWidth()
2420 SCCOL nRangeStart = 0; in GetCommonWidth()
2430 SCCOL nRangeEnd = nRangeStart; in GetCommonWidth()
2594 void ScTable::ShowCol(SCCOL nCol, bool bShow) in ShowCol()
2852 void ScTable::SetColFlags( SCCOL nCol, sal_uInt8 nNewFlags ) in SetColFlags()
2885 sal_uInt8 ScTable::GetColFlags( SCCOL nCol ) const in GetColFlags()
2934 SCCOL ScTable::GetLastChangedCol() const in GetLastChangedCol()
2939 SCCOL nLastFound = 0; in GetLastChangedCol()
2940 for (SCCOL nCol = 1; nCol <= MAXCOL; nCol++) in GetLastChangedCol()
2966 sal_Bool ScTable::UpdateOutlineCol( SCCOL nStartCol, SCCOL nEndCol, sal_Bool bShow ) in UpdateOutlineCol()
2987 void ScTable::ExtendHidden( SCCOL& rX1, SCROW& rY1, SCCOL& rX2, SCROW& rY2 ) in ExtendHidden()
3018 void ScTable::StripHidden( SCCOL& rX1, SCROW& rY1, SCCOL& rX2, SCROW& rY2 ) in StripHidden()
3055 void ScTable::DoAutoOutline( SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow ) in DoAutoOutline()
3060 SCCOL nCol; in DoAutoOutline()
3146 void ScTable::CopyData( SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, in CopyData()
3147 SCCOL nDestCol, SCROW nDestRow, SCTAB nDestTab ) in CopyData()
3160 SCCOL nDestX = nDestCol; in CopyData()
3161 for (SCCOL nCol=nStartCol; nCol<=nEndCol; nCol++) in CopyData()
3219 void ScTable::GetUpperCellString(SCCOL nCol, SCROW nRow, String& rStr) in GetUpperCellString()
3306 sal_uLong ScTable::GetColOffset( SCCOL nCol ) const in GetColOffset()
3311 SCCOL i; in GetColOffset()