Lines Matching refs:nRow1
385 void ScTable::DeleteArea(SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, sal_uInt16 nDelFlag) in DeleteArea() argument
389 if (ValidColRow(nCol1, nRow1) && ValidColRow(nCol2, nRow2)) in DeleteArea()
396 aCol[i].DeleteArea(nRow1, nRow2, nDelFlag); in DeleteArea()
407 ApplyPatternArea( nCol1, nRow1, nCol2, nRow2, aPattern ); in DeleteArea()
439 void ScTable::CopyToClip(SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, in CopyToClip() argument
442 if (ValidColRow(nCol1, nRow1) && ValidColRow(nCol2, nRow2)) in CopyToClip()
448 … aCol[i].CopyToClip(nRow1, nRow2, pTable->aCol[i], bKeepScenarioFlags, bCloneNoteCaptions); in CopyToClip()
473 pTable->aCol[i].RemoveProtected(nRow1, nRow2); in CopyToClip()
488 void ScTable::CopyFromClip(SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, in CopyFromClip() argument
496 if (ValidColRow(nCol1, nRow1) && ValidColRow(nCol2, nRow2)) in CopyFromClip()
500 …aCol[i].CopyFromClip(nRow1, nRow2, nDy, nInsFlag, bAsLink, bSkipAttrForEmpty, pTable->aCol[i - nDx… in CopyFromClip()
504 if (nRow1==0 && nRow2==MAXROW && pColWidth && pTable->pColWidth) in CopyFromClip()
511 CopyRowHeight(*pTable, nRow1, nRow2, -nDy); in CopyFromClip()
513 for (SCROW j=nRow1; j<=nRow2; j++) in CopyFromClip()
530 ApplyPatternArea( nCol1, nRow1, nCol2, nRow2, aPattern ); in CopyFromClip()
538 void ScTable::MixData( SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, in MixData() argument
542 aCol[i].MixData( nRow1, nRow2, nFunction, bSkipEmpty, pSrcTab->aCol[i] ); in MixData()
555 void ScTable::TransposeClip( SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, in TransposeClip() argument
571 for ( nRow=nRow1; nRow<=nRow2; nRow++ ) 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()
592 ScColumnIterator aIter( &aCol[nCol], nRow1, nRow2 ); 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()
628 ScAttrIterator* pAttrIter = aCol[nCol].CreateAttrIterator( nRow1, nRow2 ); in TransposeClip()
640 …pTransClip->SetPattern( static_cast<SCCOL>(nRow-nRow1), static_cast<SCROW>(nCol-nCol1), *pPattern,… in TransposeClip()
667 static_cast<SCsCOL>(MAXCOL+1 - (nAttrRow2-nRow1))), in TransposeClip()
682 pTransClip->SetPattern( static_cast<SCCOL>(nRow-nRow1), in TransposeClip()
707 void ScTable::BroadcastInArea( SCCOL nCol1, SCROW nRow1, in BroadcastInArea() argument
712 if (ValidColRow(nCol1, nRow1) && ValidColRow(nCol2, nRow2)) in BroadcastInArea()
714 aCol[i].BroadcastInArea( nRow1, nRow2 ); in BroadcastInArea()
718 void ScTable::StartListeningInArea( SCCOL nCol1, SCROW nRow1, in StartListeningInArea() argument
723 if (ValidColRow(nCol1, nRow1) && ValidColRow(nCol2, nRow2)) in StartListeningInArea()
725 aCol[i].StartListeningInArea( nRow1, nRow2 ); in StartListeningInArea()
729 void ScTable::CopyToTable(SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, in CopyToTable() argument
734 if (ValidColRow(nCol1, nRow1) && ValidColRow(nCol2, nRow2)) in CopyToTable()
738 aCol[i].CopyToColumn(nRow1, nRow2, nFlags, bMarked, in CopyToTable()
748 sal_Bool bWidth = (nRow1==0 && nRow2==MAXROW && pColWidth && pDestTab->pColWidth); in CopyToTable()
777 … bool bChange = pDestTab->GetRowHeight(nRow1, nRow2) != GetRowHeight(nRow1, nRow2); in CopyToTable()
782 pDestTab->CopyRowHeight(*this, nRow1, nRow2, 0); in CopyToTable()
783 pDestTab->pRowFlags->CopyFrom(*pRowFlags, nRow1, nRow2); in CopyToTable()
789 for (SCROW i = nRow1; i <= nRow2; ++i) in CopyToTable()
832 for (SCROW i = nRow1; i <= nRow2; ++i) in CopyToTable()
856 void ScTable::UndoToTable(SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, in UndoToTable() argument
860 if (ValidColRow(nCol1, nRow1) && ValidColRow(nCol2, nRow2)) in UndoToTable()
862 sal_Bool bWidth = (nRow1==0 && nRow2==MAXROW && pColWidth && pDestTab->pColWidth); in UndoToTable()
871 aCol[i].UndoToColumn(nRow1, nRow2, nFlags, bMarked, pDestTab->aCol[i], in UndoToTable()
887 pDestTab->CopyRowHeight(*this, nRow1, nRow2, 0); in UndoToTable()
1390 bool ScTable::HasAttrib( SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, sal_uInt16 nMask ) con… in HasAttrib() argument
1394 bFound |= aCol[i].HasAttrib( nRow1, nRow2, nMask ); in HasAttrib()
1444 sal_Bool ScTable::IsBlockEmpty( SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, bool bIgnoreNot… in IsBlockEmpty() argument
1453 bEmpty = aCol[i].IsEmptyBlock( nRow1, nRow2, bIgnoreNotes ); in IsBlockEmpty()
1596 sal_Bool ScTable::HasBlockMatrixFragment( SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2 ) const in HasBlockMatrixFragment() argument
1604 nEdges = aCol[nCol1].GetBlockMatrixEdges( nRow1, nRow2, n ); in HasBlockMatrixFragment()
1611 nEdges = aCol[nCol1].GetBlockMatrixEdges( nRow1, nRow2, 4 ); in HasBlockMatrixFragment()
1616 nEdges = aCol[nCol2].GetBlockMatrixEdges( nRow1, nRow2, 16 ); in HasBlockMatrixFragment()
1622 if ( nRow1 == nRow2 ) in HasBlockMatrixFragment()
1628 nEdges = aCol[i].GetBlockMatrixEdges( nRow1, nRow1, n ); in HasBlockMatrixFragment()
1649 for ( j=0, nR=nRow1, n=8; j<2; j++, nR=nRow2, n=2 ) in HasBlockMatrixFragment()
1686 sal_Bool ScTable::IsBlockEditable( SCCOL nCol1, SCROW nRow1, SCCOL nCol2, in IsBlockEditable() argument
1702 if((bIsEditable = !HasAttrib( nCol1, nRow1, nCol2, nRow2, HASATTR_PROTECTED )) != sal_False) in IsBlockEditable()
1711 ScRange aEditRange(nCol1, nRow1, nScenTab, nCol2, nRow2, nScenTab); in IsBlockEditable()
1735 ScRange aEditRange(nCol1, nRow1, nTab, nCol2, nRow2, nTab); in IsBlockEditable()
1746 if ( HasBlockMatrixFragment( nCol1, nRow1, nCol2, nRow2 ) ) in IsBlockEditable()
1866 void ScTable::MergePatternArea( ScMergePatternState& rState, SCCOL nCol1, SCROW nRow1, in MergePatternArea() argument
1870 aCol[i].MergePatternArea( rState, nRow1, nRow2, bDeep ); in MergePatternArea()
2029 const ScStyleSheet* ScTable::GetAreaStyle( sal_Bool& rFound, SCCOL nCol1, SCROW nRow1, in GetAreaStyle() argument
2042 pNewStyle = aCol[i].GetAreaStyle(bColFound, nRow1, nRow2); in GetAreaStyle()
2711 void ScTable::DBShowRows(SCROW nRow1, SCROW nRow2, bool bShow, bool bSetFlags) in DBShowRows() argument
2714 SCROW nStartRow = nRow1; in DBShowRows()
2759 UpdateOutlineRow( nRow1, nRow2, bShow ); in DBShowRows()
2763 void ScTable::ShowRows(SCROW nRow1, SCROW nRow2, bool bShow) in ShowRows() argument
2765 SCROW nStartRow = nRow1; in ShowRows()
2771 bool bHasObjects = pDrawLayer && pDrawLayer->HasObjectsInRows( nTab, nRow1, nRow2, false ); in ShowRows()
2774 nOldHeight = static_cast<long>(GetRowHeight(nRow1, nRow2)); in ShowRows()
2820 SetRowHidden(nRow1, nRow2, !bShow); in ShowRows()
2822 SetRowFiltered(nRow1, nRow2, false); in ShowRows()
2829 nNewHeight = static_cast<long>(GetRowHeight(nRow1, nRow2)); in ShowRows()
2831 pDrawLayer->HeightChanged( nTab, nRow1, nNewHeight - nOldHeight ); in ShowRows()