Lines Matching refs:pNewCell
71 void ScColumn::Insert( SCROW nRow, ScBaseCell* pNewCell ) in Insert() argument
78 Append(nRow, pNewCell ); in Insert()
90 if (pOldCell->HasBroadcaster() && !pNewCell->HasBroadcaster()) in Insert()
91 pNewCell->TakeBroadcaster( pOldCell->ReleaseBroadcaster() ); in Insert()
92 if (pOldCell->HasNote() && !pNewCell->HasNote()) in Insert()
93 pNewCell->TakeNote( pOldCell->ReleaseNote() ); in Insert()
103 pItems[nIndex].pCell = pNewCell; in Insert()
132 pItems[nIndex].pCell = pNewCell; in Insert()
144 pNewCell->StartListeningTo( pDocument ); in Insert()
145 CellType eCellType = pNewCell->GetCellType(); in Insert()
151 ((ScFormulaCell*)pNewCell)->SetDirty(); in Insert()
154 ScAddress( nCol, nRow, nTab ), pNewCell ) ); in Insert()
797 ScBaseCell* pNewCell = bAsLink ? in CopyFromClip() local
800 if (pNewCell) in CopyFromClip()
801 Insert( aDestPos.Row(), pNewCell ); in CopyFromClip()
1258 ScBaseCell* pNewCell = NULL; in SetString() local
1291 pNewCell = new ScStringCell( rString ); in SetString()
1293 pNewCell = new ScFormulaCell( pDocument, in SetString()
1299 pNewCell = new ScStringCell( rString.Copy(1) ); in SetString()
1361 pNewCell = new ScValueCell( nVal ); in SetString()
1416 pNewCell = new ScValueCell(nVal); in SetString()
1421 if (!pNewCell) in SetString()
1422 pNewCell = new ScStringCell(rString); in SetString()
1429 if ( pNewCell ) in SetString()
1430 Append( nRow, pNewCell ); in SetString()
1440 if (pNewCell || pNote || pBC) in SetString()
1442 if (pNewCell) in SetString()
1443 pNewCell->TakeNote( pNote ); in SetString()
1445 pNewCell = new ScNoteCell( pNote ); in SetString()
1448 pNewCell->TakeBroadcaster(pBC); in SetString()
1460 pItems[i].pCell = pNewCell; // ersetzen in SetString()
1461 if ( pNewCell->GetCellType() == CELLTYPE_FORMULA ) in SetString()
1463 pNewCell->StartListeningTo( pDocument ); in SetString()
1464 ((ScFormulaCell*)pNewCell)->SetDirty(); in SetString()
1468 ScAddress( nCol, nRow, nTabP ), pNewCell ) ); in SetString()
1475 else if (pNewCell) in SetString()
1477 Insert(nRow, pNewCell); // neu eintragen und Broadcast in SetString()