Lines Matching refs:pCell
1506 void ScChangeActionContent::SetOldValue( const ScBaseCell* pCell, in SetOldValue() argument
1510 nFormat, pCell, pFromDoc, pToDoc ); in SetOldValue()
1514 void ScChangeActionContent::SetOldValue( const ScBaseCell* pCell, in SetOldValue() argument
1518 aBigRange.aStart.MakeAddress(), pCell, pFromDoc, pToDoc ); in SetOldValue()
1522 void ScChangeActionContent::SetNewValue( const ScBaseCell* pCell, in SetNewValue() argument
1526 aBigRange.aStart.MakeAddress(), pCell, pDoc, pDoc ); in SetNewValue()
1540 void ScChangeActionContent::SetNewCell( ScBaseCell* pCell, ScDocument* pDoc, const String& rFormatt… in SetNewCell() argument
1543 pNewCell = pCell; in SetNewCell()
1551 void ScChangeActionContent::SetValueString( String& rValue, ScBaseCell*& pCell, in SetValueString() argument
1554 if ( pCell ) in SetValueString()
1556 pCell->Delete(); in SetValueString()
1557 pCell = NULL; in SetValueString()
1562 pCell = new ScFormulaCell( in SetValueString()
1564 ((ScFormulaCell*)pCell)->SetInChangeTrack( sal_True ); in SetValueString()
1636 const ScBaseCell* pCell = GetNewCell(); in GetRefString() local
1637 if ( ScChangeActionContent::GetContentCellType( pCell ) == SC_CACCT_MATORG ) in GetRefString()
1642 ((const ScFormulaCell*)pCell)->GetMatColsRows( nC, nR ); in GetRefString()
1744 const ScBaseCell* pCell, const ScDocument* pDoc, const ScAddress& rPos ) in GetStringOfCell() argument
1746 if ( pCell ) in GetStringOfCell()
1748 if ( ScChangeActionContent::NeedsNumberFormat( pCell ) ) in GetStringOfCell()
1749 GetStringOfCell( rStr, pCell, pDoc, pDoc->GetNumberFormat( rPos ) ); in GetStringOfCell()
1751 GetStringOfCell( rStr, pCell, pDoc, 0 ); in GetStringOfCell()
1760 const ScBaseCell* pCell, const ScDocument* pDoc, sal_uLong nFormat ) in GetStringOfCell() argument
1762 if ( ScChangeActionContent::GetContentCellType( pCell ) ) in GetStringOfCell()
1764 switch ( pCell->GetCellType() ) in GetStringOfCell()
1768 double nValue = ((ScValueCell*)pCell)->GetValue(); in GetStringOfCell()
1774 ((ScStringCell*)pCell)->GetString( rStr ); in GetStringOfCell()
1777 ((ScEditCell*)pCell)->GetString( rStr ); in GetStringOfCell()
1780 ((ScFormulaCell*)pCell)->GetFormula( rStr ); in GetStringOfCell()
1792 ScChangeActionContentCellType ScChangeActionContent::GetContentCellType( const ScBaseCell* pCell ) in GetContentCellType() argument
1794 if ( pCell ) in GetContentCellType()
1796 switch ( pCell->GetCellType() ) in GetContentCellType()
1804 switch ( ((const ScFormulaCell*)pCell)->GetMatrixFlag() ) in GetContentCellType()
1828 sal_Bool ScChangeActionContent::NeedsNumberFormat( const ScBaseCell* pCell ) in NeedsNumberFormat() argument
1830 return pCell && pCell->GetCellType() == CELLTYPE_VALUE; in NeedsNumberFormat()
1835 void ScChangeActionContent::SetValue( String& rStr, ScBaseCell*& pCell, in SetValue() argument
1840 SetValue( rStr, pCell, nFormat, pOrgCell, pFromDoc, pToDoc ); in SetValue()
1845 void ScChangeActionContent::SetValue( String& rStr, ScBaseCell*& pCell, in SetValue() argument
1850 if ( pCell ) in SetValue()
1851 pCell->Delete(); in SetValue()
1854 pCell = pOrgCell->CloneWithoutNote( *pToDoc ); in SetValue()
1865 ((ScFormulaCell*)pCell)->SetInChangeTrack( sal_True ); in SetValue()
1874 pCell = NULL; in SetValue()
1879 void ScChangeActionContent::SetCell( String& rStr, ScBaseCell* pCell, in SetCell() argument
1883 if ( pCell ) in SetCell()
1885 switch ( pCell->GetCellType() ) in SetCell()
1889 double nValue = ((ScValueCell*)pCell)->GetValue(); in SetCell()
1895 ((ScFormulaCell*)pCell)->SetInChangeTrack( sal_True ); in SetCell()
1907 const String& rValue, const ScBaseCell* pCell ) const in GetValueString()
1911 if ( pCell ) in GetValueString()
1913 switch ( pCell->GetCellType() ) in GetValueString()
1916 ((ScStringCell*)pCell)->GetString( rStr ); in GetValueString()
1919 ((ScEditCell*)pCell)->GetString( rStr ); in GetValueString()
1925 GetFormulaString( rStr, (ScFormulaCell*) pCell ); in GetValueString()
1942 const ScFormulaCell* pCell ) const in GetFormulaString()
1945 if ( aPos == pCell->aPos || IsDeletedIn() ) in GetFormulaString()
1946 pCell->GetFormula( rStr ); in GetFormulaString()
1950 ScFormulaCell* pNew = new ScFormulaCell( *pCell, *pCell->GetDocument(), aPos ); in GetFormulaString()
1971 void ScChangeActionContent::PutValueToDoc( ScBaseCell* pCell, in PutValueToDoc() argument
1981 if ( pCell ) in PutValueToDoc()
1983 switch ( pCell->GetCellType() ) in PutValueToDoc()
1989 switch ( ScChangeActionContent::GetContentCellType( pCell ) ) in PutValueToDoc()
1995 ((const ScFormulaCell*)pCell)->GetMatColsRows( nC, nR ); in PutValueToDoc()
2008 ((const ScFormulaCell*)pCell)->GetCode() ); in PutValueToDoc()
2015 pDoc->PutCell( aPos, pCell->CloneWithoutNote( *pDoc ) ); in PutValueToDoc()
2691 ScBaseCell* pCell = aIter.GetFirst(); in LookUpContents() local
2692 while ( pCell ) in LookUpContents()
2694 if ( ScChangeActionContent::GetContentCellType( pCell ) ) in LookUpContents()
2703 GenerateDelContent( aPos, pCell, pRefDoc ); in LookUpContents()
2709 pCell = aIter.GetNext(); in LookUpContents()
2991 const ScAddress& rPos, const ScBaseCell* pCell, in GenerateDelContent() argument
2999 rPos, pCell, pFromDoc, pDoc ); in GenerateDelContent()
3085 const ScBaseCell* pCell = ((ScChangeActionContent*)pAct)->GetNewCell(); in Dependencies() local
3086 if ( ScChangeActionContent::GetContentCellType( pCell ) == SC_CACCT_MATREF ) in Dependencies()
3089 ((const ScFormulaCell*)pCell)->GetMatrixOrigin( aOrg ); in Dependencies()
4232 const ScBaseCell* pCell = (bOldest ? pContent->GetOldCell() : in SelectContent() local
4234 if ( ScChangeActionContent::GetContentCellType( pCell ) == SC_CACCT_MATORG ) in SelectContent()
4238 ((const ScFormulaCell*)pCell)->GetMatColsRows( nC, nR ); in SelectContent()