Lines Matching refs:pCell

132 …void		SetPattern( const ScPatternAttr* pNew, const SfxItemSet* pSet, ScBaseCell* pCell, sal_uInt8 …
135 sal_Bool SetText( ScBaseCell* pCell ); // sal_True -> pOldPattern vergessen
136 void SetTextToWidthOrHash( ScBaseCell* pCell, long nWidth );
151 sal_uLong GetResultValueFormat( const ScBaseCell* pCell ) const;
258 ScBaseCell* pCell, sal_uInt8 nScript ) in SetPattern() argument
355 pOutput->SetSyntaxColor( &aFont, pCell ); in SetPattern()
456 inline sal_Bool SameValue( ScBaseCell* pCell, ScBaseCell* pOldCell ) // pCell ist != 0 in SameValue() argument
459 pCell->GetCellType() == CELLTYPE_VALUE && in SameValue()
460 ((ScValueCell*)pCell)->GetValue() == ((ScValueCell*)pOldCell)->GetValue(); in SameValue()
463 sal_Bool ScDrawStringsVars::SetText( ScBaseCell* pCell ) in SetText() argument
467 if (pCell) in SetText()
469 if ( !SameValue( pCell, pLastCell ) ) in SetText()
471 pLastCell = pCell; // Zelle merken in SetText()
475 ScCellFormat::GetString( pCell, in SetText()
514 void ScDrawStringsVars::SetTextToWidthOrHash( ScBaseCell* pCell, long nWidth ) in SetTextToWidthOrHash() argument
520 if (!pCell) in SetTextToWidthOrHash()
523 CellType eType = pCell->GetCellType(); in SetTextToWidthOrHash()
530 ScFormulaCell* pFCell = static_cast<ScFormulaCell*>(pCell); in SetTextToWidthOrHash()
541 sal_uLong nFormat = GetResultValueFormat(pCell); in SetTextToWidthOrHash()
550 … static_cast<ScValueCell*>(pCell)->GetValue() : static_cast<ScFormulaCell*>(pCell)->GetValue(); in SetTextToWidthOrHash()
718 sal_uLong ScDrawStringsVars::GetResultValueFormat( const ScBaseCell* pCell ) const in GetResultValueFormat()
723 …if ( (nValueFormat % SV_COUNTRY_LANGUAGE_OFFSET) == 0 && pCell && pCell->GetCellType() == CELLTYPE… in GetResultValueFormat()
724 …return static_cast<const ScFormulaCell*>(pCell)->GetStandardFormat(*pOutput->pDoc->GetFormatTable(… in GetResultValueFormat()
763 void lcl_DoHyperlinkResult( OutputDevice* pDev, const Rectangle& rRect, ScBaseCell* pCell ) in lcl_DoHyperlinkResult() argument
769 if ( pCell && pCell->GetCellType() == CELLTYPE_FORMULA ) in lcl_DoHyperlinkResult()
771 ScFormulaCell* pFCell = static_cast<ScFormulaCell*>(pCell); in lcl_DoHyperlinkResult()
786 void ScOutputData::SetSyntaxColor( Font* pFont, ScBaseCell* pCell ) in SetSyntaxColor() argument
788 if (pCell) in SetSyntaxColor()
790 switch (pCell->GetCellType()) in SetSyntaxColor()
818 void ScOutputData::SetEditSyntaxColor( EditEngine& rEngine, ScBaseCell* pCell ) in SetEditSyntaxColor() argument
820 if (pCell) in SetEditSyntaxColor()
823 switch (pCell->GetCellType()) in SetEditSyntaxColor()
1010 inline sal_uInt8 GetScriptType( ScDocument* pDoc, ScBaseCell* pCell, in GetScriptType() argument
1014 …return pDoc->GetCellScriptType( pCell, pPattern->GetNumberFormat( pDoc->GetFormatTable(), pCondSet… in GetScriptType()
1053 ScBaseCell* pCell = pDoc->GetCell( ScAddress( nX, nY, nTab ) ); in IsEmptyCellText() local
1054 if ( pCell && pCell->GetCellType() == CELLTYPE_FORMULA ) in IsEmptyCellText()
1076 const ScBaseCell* pCell = pDoc->GetCell( ScAddress( nX, nY, nTab ) ); in IsAvailable() local
1077 if ( pCell && pCell->GetCellType() != CELLTYPE_NOTE && !IsEmptyCellText( NULL, nX, nY ) ) in IsAvailable()
1473 ScBaseCell* pCell = NULL; in DrawStrings() local
1477 pCell = pThisRowInfo->pCellInfo[nCellX+1].pCell; in DrawStrings()
1479 GetVisibleCell( nCellX, nCellY, nTab, pCell ); // get from document in DrawStrings()
1480 if ( !pCell ) in DrawStrings()
1482 else if ( pCell->GetCellType() == CELLTYPE_EDIT ) in DrawStrings()
1507 sal_uInt8 nScript = GetScriptType( pDoc, pCell, pPattern, pCondSet ); in DrawStrings()
1514 aVars.SetPattern( pPattern, pCondSet, pCell, nScript ); in DrawStrings()
1529 sal_Bool bFormulaCell = (pCell->GetCellType() == CELLTYPE_FORMULA ); in DrawStrings()
1531 lcl_CreateInterpretProgress( bProgress, pDoc, (ScFormulaCell*)pCell ); in DrawStrings()
1532 if ( aVars.SetText(pCell) ) in DrawStrings()
1535 (bFormulaCell && ((ScFormulaCell*)pCell)->IsMultilineResult()); in DrawStrings()
1540 CellType eCellType = pCell->GetCellType(); in DrawStrings()
1544 ScFormulaCell* pFCell = (ScFormulaCell*)pCell; in DrawStrings()
1558 …if ( bBreak && bCellIsValue && ( aVars.GetResultValueFormat(pCell) % SV_COUNTRY_LANGUAGE_OFFSET ) … in DrawStrings()
1668 aVars.SetTextToWidthOrHash(pCell, aAreaParam.mnColWidth - nTotalMargin); in DrawStrings()
1883 … sal_Bool bHasURL = pPDFData && pCell && pCell->GetCellType() == CELLTYPE_FORMULA && in DrawStrings()
1884 static_cast<ScFormulaCell*>(pCell)->IsHyperLinkCell(); in DrawStrings()
1888 lcl_DoHyperlinkResult( pDev, aURLRect, pCell ); in DrawStrings()
1936 sal_Bool lcl_SafeIsValue( ScBaseCell* pCell ) in lcl_SafeIsValue() argument
1938 if (!pCell) in lcl_SafeIsValue()
1942 switch ( pCell->GetCellType() ) in lcl_SafeIsValue()
1949 ScFormulaCell* pFCell = (ScFormulaCell*)pCell; in lcl_SafeIsValue()
2127 ScBaseCell* pCell = NULL; in DrawEdit() local
2186 else if ( nX == nX2 && !pThisRowInfo->pCellInfo[nX+1].pCell ) in DrawEdit()
2220 pCell = rCellInfo.pCell; in DrawEdit()
2226 GetVisibleCell( nCellX, nCellY, nTab, pCell ); in DrawEdit()
2228 if ( !pCell ) in DrawEdit()
2244 sal_Bool bCellIsValue = lcl_SafeIsValue(pCell); in DrawEdit()
2481 if (pCell) in DrawEdit()
2483 if (pCell->GetCellType() == CELLTYPE_EDIT) in DrawEdit()
2486 ((ScEditCell*)pCell)->GetData(pData); in DrawEdit()
2511 ScCellFormat::GetString( pCell, in DrawEdit()
2524 SetEditSyntaxColor( *pEngine, pCell ); in DrawEdit()
2950 … sal_Bool bHasURL = pPDFData && pCell && pCell->GetCellType() == CELLTYPE_FORMULA && in DrawEdit()
2951 … static_cast<ScFormulaCell*>(pCell)->IsHyperLinkCell(); in DrawEdit()
2970 lcl_DoHyperlinkResult( pDev, aURLRect, pCell ); in DrawEdit()
3011 ScBaseCell* pCell = NULL; in DrawRotated() local
3069 pCell = pInfo->pCell; in DrawRotated()
3073 if (!pCell && nX>nX2) in DrawRotated()
3074 GetVisibleCell( nX, nY, nTab, pCell ); in DrawRotated()
3076 if ( !pCell || IsEmptyCellText( pThisRowInfo, nX, nY ) ) in DrawRotated()
3252 if (pCell) in DrawRotated()
3254 if (pCell->GetCellType() == CELLTYPE_EDIT) in DrawRotated()
3257 ((ScEditCell*)pCell)->GetData(pData); in DrawRotated()
3272 ScCellFormat::GetString( pCell, in DrawRotated()
3285 SetEditSyntaxColor( *pEngine, pCell ); in DrawRotated()