Lines Matching refs:pCell

139     void operator() (ScFormulaCell* pCell) const  in operator ()()
144 const ScTokenArray* pCode = pCell->GetCode(); in operator ()()
148 ScTokenArray* pArray = pCell->GetCode(); in operator ()()
153 pCell->SetCompile(true); in operator ()()
154 pCell->CompileTokenArray(); in operator ()()
155 pCell->SetDirty(); in operator ()()
175 void operator() (ScFormulaCell* pCell) const in operator ()()
177 ScAddress aPos = pCell->aPos; in operator ()()
182 if (pCell->IsValue()) in operator ()()
185 double fVal = pCell->GetValue(); in operator ()()
192 pCell->GetString(aVal); in operator ()()
1286 static FormulaToken* lcl_convertToToken(ScBaseCell* pCell) in lcl_convertToToken() argument
1288 if (!pCell || pCell->HasEmptyData()) in lcl_convertToToken()
1290 bool bInherited = (pCell && pCell->GetCellType() == CELLTYPE_FORMULA); in lcl_convertToToken()
1294 switch (pCell->GetCellType()) in lcl_convertToToken()
1299 static_cast<ScEditCell*>(pCell)->GetString(aStr); in lcl_convertToToken()
1306 static_cast<ScStringCell*>(pCell)->GetString(aStr); in lcl_convertToToken()
1312 double fVal = static_cast<ScValueCell*>(pCell)->GetValue(); in lcl_convertToToken()
1318 ScFormulaCell* pFCell = static_cast<ScFormulaCell*>(pCell); in lcl_convertToToken()
1393 ScBaseCell* pCell; in lcl_convertToTokenArray() local
1394 pSrcDoc->GetCell(nCol, nRow, nTab, pCell); in lcl_convertToTokenArray()
1395 if (!pCell || pCell->HasEmptyData()) in lcl_convertToTokenArray()
1399 switch (pCell->GetCellType()) in lcl_convertToTokenArray()
1404 static_cast<ScEditCell*>(pCell)->GetString(aStr); in lcl_convertToTokenArray()
1411 static_cast<ScStringCell*>(pCell)->GetString(aStr); in lcl_convertToTokenArray()
1417 double fVal = static_cast<ScValueCell*>(pCell)->GetValue(); in lcl_convertToTokenArray()
1423 ScFormulaCell* pFCell = static_cast<ScFormulaCell*>(pCell); in lcl_convertToTokenArray()
1585 ScFormulaCell* pCell = *itrCell; in markUsedExternalRefCells() local
1586 bool bUsed = pCell->MarkUsedExternalReferences(); in markUsedExternalRefCells()
1666 ScBaseCell* pCell = NULL; in getSingleRefToken() local
1695 pSrcDoc->GetCell(rCell.Col(), rCell.Row(), nTab, pCell); in getSingleRefToken()
1696 ScExternalRefCache::TokenRef pTok(lcl_convertToToken(pCell)); in getSingleRefToken()
1911 ScBaseCell* pCell = mpDoc->GetCell(rCell); in insertRefCell() local
1912 if (pCell && pCell->GetCellType() == CELLTYPE_FORMULA) in insertRefCell()
1913 itr->second.insert(static_cast<ScFormulaCell*>(pCell)); in insertRefCell()
2351 void ScExternalRefManager::removeRefCell(ScFormulaCell* pCell) in removeRefCell() argument
2353 for_each(maRefCells.begin(), maRefCells.end(), RemoveFormulaCell(pCell)); in removeRefCell()