/trunk/main/sc/source/core/data/ |
H A D | cell.cxx | 854 ScBaseCell* pCell; in GetFormula() local 861 pCell = NULL; in GetFormula() 862 if (pCell && pCell->GetCellType() == CELLTYPE_FORMULA) in GetFormula() 1156 aDebugThisPos = pCell->aPos; in Interpret() 1164 pCell->aPos.Format( aStr, SCA_VALID | SCA_TAB_3D, pCell->GetDocument(), in Interpret() 1324 pIterCell = (*aIter).pCell; in Interpret() 1336 pIterCell = (*aIter).pCell; in Interpret() 1452 ScFormulaCell* pCell = (*aIter).pCell; in Interpret() local 1456 if (!pCell->IsDirtyOrInTableOpDirty() && !pCell->IsIterCell()) in Interpret() 2000 pCode = pCell->GetCode(); in ScDetectiveRefIter() [all …]
|
H A D | dbdocutl.cxx | 161 ScBaseCell* pCell; in PutData() local 164 pCell = NULL; in PutData() 165 pDoc->PutCell( nCol, nRow, nTab, pCell ); in PutData() 173 pCell = new ScValueCell( nVal ); in PutData() 175 pDoc->PutCell( nCol, nRow, nTab, pCell ); in PutData() 177 pDoc->PutCell( nCol, nRow, nTab, pCell, nFormatIndex ); in PutData() 183 pCell = ScBaseCell::CreateTextCell( aString, pDoc ); in PutData() 184 if ( pSimpleFlag && pCell->GetCellType() == CELLTYPE_EDIT ) in PutData() 188 pCell = NULL; in PutData() 189 pDoc->PutCell( nCol, nRow, nTab, pCell ); in PutData()
|
H A D | documen8.cxx | 462 ScBaseCell* pCell = NULL; in IdleCalcTextWidth() local 506 if ( pColIter->Next( nRow, pCell ) ) in IdleCalcTextWidth() 537 pCell->SetTextWidth( nNewWidth ); in IdleCalcTextWidth() 699 pCell = aIter.GetNext( nCol, nRow ); in OnlineSpellInRange() 701 for (; pCell; pCell = aIter.GetNext(nCol, nRow)) in OnlineSpellInRange() 707 CellType eType = pCell->GetCellType(); in OnlineSpellInRange() 741 ((ScStringCell*)pCell)->GetString(aText); in OnlineSpellInRange() 762 ((ScEditCell*)pCell)->SetData( pNewData, in OnlineSpellInRange() 793 if ( pCell ) in OnlineSpellInRange() 801 pCell = NULL; in OnlineSpellInRange() [all …]
|
H A D | autonamecache.cxx | 66 for ( ScBaseCell* pCell = aIter.GetFirst(); pCell; pCell = aIter.GetNext() ) in GetNameOccurences() local 71 if ( pCell->HasStringData() ) in GetNameOccurences() 74 CellType eType = pCell->GetCellType(); in GetNameOccurences() 78 ((ScStringCell*)pCell)->GetString( aStr ); in GetNameOccurences() 81 ((ScFormulaCell*)pCell)->GetString( aStr ); in GetNameOccurences() 84 ((ScEditCell*)pCell)->GetString( aStr ); in GetNameOccurences()
|
H A D | table4.cxx | 262 ScBaseCell* pCell = GetCell(nCol,nRow); in FillAnalyse() local 263 if (pCell && pCell->GetCellType() == CELLTYPE_VALUE) in FillAnalyse() 265 nVal = ((ScValueCell*)pCell)->GetValue(); in FillAnalyse() 319 ScBaseCell* pCell = GetCell(nCol,nRow); in FillAnalyse() local 320 if (pCell && pCell->GetCellType() == CELLTYPE_VALUE) in FillAnalyse() 377 ScBaseCell* pCell = GetCell(nCol,nRow); in FillAnalyse() local 378 CellType eType = pCell ? pCell->GetCellType() : CELLTYPE_NONE; in FillAnalyse() 1034 if ( pCell ) in GetAutoFillPreview() 1042 CellType eType = pCell->GetCellType(); in GetAutoFillPreview() 1097 if ( pCell ) in GetAutoFillPreview() [all …]
|
H A D | documen4.cxx | 102 ScFormulaCell* pCell = new ScFormulaCell( this, ScAddress(), &aArr ); in Solver() local 104 if (pCell) in Solver() 108 pCell->Interpret(); in Solver() 109 sal_uInt16 nErrCode = pCell->GetErrCode(); in Solver() 110 nX = pCell->GetValueAlways(); in Solver() 113 delete pCell; in Solver() 149 ScFormulaCell* pCell; in InsertMatrixFormula() local 152 pCell = new ScFormulaCell( this, aPos, pArr, eGram, MM_FORMULA ); in InsertMatrixFormula() 155 pCell->SetMatColsRows( nCol2 - nCol1 + 1, nRow2 - nRow1 + 1 ); in InsertMatrixFormula() 161 pTab[i]->PutCell(nCol1, nRow1, pCell); in InsertMatrixFormula() [all …]
|
H A D | table6.cxx | 68 ScBaseCell* pCell; in SearchCell() local 71 if ( bDoSearch && ((pCell = aCol[nCol].GetCell( nRow )) != NULL) ) in SearchCell() 74 CellType eCellType = pCell->GetCellType(); in SearchCell() 80 ((ScFormulaCell*)pCell)->GetFormula( aString, in SearchCell() 84 *(const ScEditCell*)pCell, pDocument, aString ); in SearchCell() 92 *(const ScEditCell*)pCell, pDocument, aString ); in SearchCell() 98 if(const ScPostIt* pNote = pCell->GetNote()) in SearchCell() 142 ((cMatrixFlag = ((ScFormulaCell*)pCell)->GetMatrixFlag()) == MM_REFERENCE)) in SearchCell() 152 ScBaseCell* pUndoCell = pCell->CloneWithoutNote( *pUndoDoc ); in SearchCell() 214 if( ScPostIt* pNote = pCell->GetNote() ) in SearchCell() [all …]
|
H A D | table5.cxx | 1127 if ( pCell ) in InvalidateTextWidth() 1129 pCell->SetTextWidth( TEXTWIDTH_DIRTY ); in InvalidateTextWidth() 1134 switch ( pCell->GetCellType() ) in InvalidateTextWidth() 1139 pCell ); in InvalidateTextWidth() 1142 ((ScFormulaCell*)pCell)->SetDirty(); in InvalidateTextWidth() 1162 ScBaseCell* pCell = NULL; in InvalidateTextWidth() local 1165 while ( aIter.Next( nRow, pCell ) ) in InvalidateTextWidth() 1167 pCell->SetTextWidth( TEXTWIDTH_DIRTY ); in InvalidateTextWidth() 1172 switch ( pCell->GetCellType() ) in InvalidateTextWidth() 1176 ScAddress( nCol, nRow, nTab ), pCell ); in InvalidateTextWidth() [all …]
|
H A D | table2.cxx | 565 ScBaseCell* pCell; in TransposeClip() local 593 while (aIter.Next( nRow, pCell )) in TransposeClip() 1005 if (pCell) in PutCell() 1006 aCol[nCol].Insert( nRow, pCell ); in PutCell() 1017 if (pCell) in PutCell() 1027 if (pCell) in PutCell() 3065 ScBaseCell* pCell; in DoAutoOutline() local 3092 if (pCell) in DoAutoOutline() 3166 if (pCell) in CopyData() 3168 pCell = pCell->CloneWithoutNote( *pDocument ); in CopyData() [all …]
|
/trunk/main/sc/source/core/inc/ |
H A D | interpre.hxx | 234 void GetCellString( String& rStr, const ScBaseCell* pCell ); 235 inline sal_uInt16 GetCellErrCode( const ScBaseCell* pCell ) in GetCellErrCode() argument 236 { return pCell ? pCell->GetErrorCode() : 0; } in GetCellErrCode() 237 inline CellType GetCellType( const ScBaseCell* pCell ) in GetCellType() argument 238 { return pCell ? pCell->GetCellType() : CELLTYPE_NONE; } in GetCellType() 240 inline sal_Bool HasCellEmptyData( const ScBaseCell* pCell ) in HasCellEmptyData() argument 241 { return pCell ? pCell->HasEmptyData() : sal_True; } in HasCellEmptyData() 243 inline sal_Bool HasCellValueData( const ScBaseCell* pCell ) in HasCellValueData() argument 244 { return pCell ? pCell->HasValueData() : sal_False; } in HasCellValueData() 246 inline sal_Bool HasCellStringData( const ScBaseCell* pCell ) in HasCellStringData() argument [all …]
|
/trunk/main/sc/source/filter/xcl97/ |
H A D | xcl97rec.cxx | 935 for( ExcEScenarioCell* pCell = _First(); pCell; pCell = _Next() ) in ~ExcEScenario() local 936 delete pCell; in ~ExcEScenario() 944 ExcEScenarioCell* pCell = new ExcEScenarioCell( nCol, nRow, rTxt ); in Append() local 945 List::Insert( pCell, LIST_APPEND ); in Append() 966 ExcEScenarioCell* pCell; in SaveCont() local 967 for( pCell = _First(); pCell; pCell = _Next() ) in SaveCont() 968 pCell->WriteAddress( rStrm ); // pos of cell in SaveCont() 969 for( pCell = _First(); pCell; pCell = _Next() ) in SaveCont() 970 pCell->WriteText( rStrm ); // string content in SaveCont() 997 for( ExcEScenarioCell* pCell = _First(); pCell; pCell = _Next() ) in SaveXml() local [all …]
|
/trunk/main/sc/source/filter/xml/ |
H A D | XMLChangeTrackingExportHelper.cxx | 327 const ScValueCell* pValueCell = static_cast<const ScValueCell*>(pCell); in WriteValueCell() 341 void ScChangeTrackingExportHelper::WriteStringCell(const ScBaseCell* pCell) in WriteStringCell() argument 360 void ScChangeTrackingExportHelper::WriteEditCell(const ScBaseCell* pCell) in WriteEditCell() argument 362 const ScEditCell* pEditCell = static_cast<const ScEditCell*>(pCell); in WriteEditCell() 385 ScBaseCell* pBaseCell = const_cast<ScBaseCell*>(pCell); in WriteFormulaCell() 450 if (pCell) in WriteCell() 452 switch (pCell->GetCellType()) in WriteCell() 458 WriteValueCell(pCell, sValue); in WriteCell() 461 WriteStringCell(pCell); in WriteCell() 464 WriteEditCell(pCell); in WriteCell() [all …]
|
H A D | XMLChangeTrackingExportHelper.hxx | 67 void WriteValueCell(const ScBaseCell* pCell, const String& sValue); 68 void WriteStringCell(const ScBaseCell* pCell); 69 void WriteEditCell(const ScBaseCell* pCell); 70 void WriteFormulaCell(const ScBaseCell* pCell, const String& sValue); 71 void WriteCell(const ScBaseCell* pCell, const String& sValue);
|
/trunk/main/sc/source/core/tool/ |
H A D | rangeseq.cxx | 50 ScBaseCell* pCell = aIter.GetFirst(); in lcl_HasErrors() local 51 while (pCell) in lcl_HasErrors() 53 …if ( pCell->GetCellType() == CELLTYPE_FORMULA && static_cast<ScFormulaCell*>(pCell)->GetErrCode() … in lcl_HasErrors() 55 pCell = aIter.GetNext(); in lcl_HasErrors() 293 ScBaseCell* pCell = pDoc->GetCell( aPos ); in FillMixedArray() local 294 if ( pCell ) in FillMixedArray() 296 if ( pCell->GetCellType() == CELLTYPE_FORMULA && in FillMixedArray() 297 ((ScFormulaCell*)pCell)->GetErrCode() != 0 ) in FillMixedArray() 302 else if ( pCell->HasValueData() ) in FillMixedArray() 303 rElement <<= (double) lcl_GetValueFromCell( *pCell ); in FillMixedArray() [all …]
|
H A D | interpr5.cxx | 353 for (ScBaseCell* pCell = aCellIter.GetFirst(); pCell; pCell = in CreateMatrixFromDoubleRef() local 384 if (HasCellEmptyData(pCell)) in CreateMatrixFromDoubleRef() 459 if (HasCellEmptyData(pCell)) in GetMatrix() 461 else if (HasCellValueData(pCell)) in GetMatrix() 466 GetCellString(aStr, pCell); in GetMatrix() 543 if (pCell && pCell->GetCellType() == CELLTYPE_FORMULA) in ScMatValue() 574 if (HasCellValueData(pCell)) in ScMatValue() 3182 if( pCell && pCell->GetCellType() == CELLTYPE_FORMULA ) in ScMatRef() 3227 else if( pCell->IsValue() ) in ScMatRef() 3228 PushDouble( pCell->GetValue() ); in ScMatRef() [all …]
|
/trunk/main/sc/source/ui/view/ |
H A D | tabvwsh5.cxx | 317 ScBaseCell* pCell = NULL; in MakeNumberInfoItem() local 325 pCell ); in MakeNumberInfoItem() 327 if ( pCell ) in MakeNumberInfoItem() 329 switch ( pCell->GetCellType() ) in MakeNumberInfoItem() 333 nCellValue = ((ScValueCell*)pCell)->GetValue(); in MakeNumberInfoItem() 341 ((ScStringCell*)pCell)->GetString( aCellString ); in MakeNumberInfoItem() 348 if ( ((ScFormulaCell*)pCell)->IsValue() ) in MakeNumberInfoItem() 350 nCellValue = ((ScFormulaCell*)pCell)->GetValue(); in MakeNumberInfoItem()
|
/trunk/main/sc/inc/ |
H A D | validat.hxx | 78 ScFormulaCell* pCell, Window* pParent ) const; 81 ScFormulaCell* pCell, Window* pParent ) const; 134 sal_Bool IsDataValid( ScBaseCell* pCell, const ScAddress& rPos ) const; 138 void DoCalcError( ScFormulaCell* pCell ) const; 164 ScBaseCell* pCell, const ScAddress& rPos, 168 …bool IsEqualToTokenArray( ScBaseCell* pCell, const ScAddress& rPos, const ScTokenArray&… 171 bool IsListValid( ScBaseCell* pCell, const ScAddress& rPos ) const;
|
H A D | cell.hxx | 497 ScDetectiveRefIter( ScFormulaCell* pCell ); 502 inline double GetValueFromCell( const ScBaseCell * pCell ) in GetValueFromCell() argument 504 switch (pCell->GetCellType()) in GetValueFromCell() 507 return ((ScValueCell*)pCell)->GetValue(); in GetValueFromCell() 510 if (((ScFormulaCell*)pCell)->IsValue()) in GetValueFromCell() 511 return ((ScFormulaCell*)pCell)->GetValue(); in GetValueFromCell() 522 inline String GetStringFromCell( const ScBaseCell * pCell, sal_uLong nFormat, SvNumberFormatter* pF… in GetStringFromCell() argument 524 if (pCell->GetCellType() != CELLTYPE_NOTE) in GetStringFromCell() 528 …ScCellFormat::GetString( const_cast<ScBaseCell*>(pCell), nFormat, strResult, &pColor, *(pFormatter… in GetStringFromCell()
|
/trunk/main/sc/source/filter/html/ |
H A D | htmlexp.cxx | 835 ScBaseCell* pCell = pDoc->GetCell( aPos ); in WriteCell() local 839 if ( pCell ) in WriteCell() 841 bValueData = pCell->HasValueData(); in WriteCell() 1019 if ( pCell ) in WriteCell() 1021 switch ( pCell->GetCellType() ) in WriteCell() 1024 fVal = ((ScValueCell*)pCell)->GetValue(); in WriteCell() 1029 fVal = ((ScFormulaCell*)pCell)->GetValue(); in WriteCell() 1032 nFormat, ((ScFormulaCell*)pCell)->GetFormatType() ); in WriteCell() 1100 if ( pCell ) in WriteCell() 1103 switch ( pCell->GetCellType() ) in WriteCell() [all …]
|
/trunk/main/sc/source/filter/lotus/ |
H A D | expop.cxx | 352 ScBaseCell* pCell; in Write() local 361 pCell = aIter.GetCell(); in Write() 371 switch( pCell->GetCellType() ) in Write() 376 fVal = ( ( ScValueCell * ) pCell)->GetValue(); in Write() 383 ( ( ScStringCell * ) pCell)->GetString( aStr ); in Write() 389 Formula( nCol, nRow, ( ScFormulaCell * ) pCell, *pPatAttr ); in Write() 390 WKString( nCol, nRow, ( ScFormulaCell * ) pCell, *pPatAttr ); in Write()
|
/trunk/main/sc/source/filter/rtf/ |
H A D | rtfexp.cxx | 215 ScBaseCell* pCell; in WriteCell() local 216 pDoc->GetCell( nCol, nRow, nTab, pCell ); in WriteCell() 219 if ( pCell ) in WriteCell() 221 switch ( pCell->GetCellType() ) in WriteCell() 231 ((const ScEditCell*)pCell)->GetData( pObj ); in WriteCell() 241 bValueData = pCell->HasValueData(); in WriteCell() 244 ScCellFormat::GetString( pCell, nFormat, aContent, &pColor, *pFormatter ); in WriteCell()
|
/trunk/main/sw/source/filter/html/ |
H A D | htmltab.cxx | 907 if( !pCell->GetContents() ) in Shrink() 911 pCell->SetColSpan( nCells-i); in Shrink() 1223 HTMLTableCell *pCell; in FixRowSpan() local 1224 while( ( pCell=GetCell(nRow,nCol), pCell->GetContents()==pCnts ) ) in FixRowSpan() 1226 pCell->SetRowSpan( nRowSpan ); in FixRowSpan() 1450 eVOri = pCell->GetVertOri(); in FixFrameFmt() 2064 if( pCell->GetContents() ) in SetBorders() 2190 if( pCell->GetContents() ) in InsertCell() 2320 if( !pCell->GetContents() ) in CloseRow() 2402 HTMLTableCell *pCell; in CloseTable() local [all …]
|
H A D | htmltabw.cxx | 271 const SwWriteTableCell *pCell, in OutTableCell() argument 274 const SwTableBox *pBox = pCell->GetBox(); in OutTableCell() 275 sal_uInt16 nRow = pCell->GetRow(); in OutTableCell() 276 sal_uInt16 nCol = pCell->GetCol(); in OutTableCell() 277 sal_uInt16 nRowSpan = pCell->GetRowSpan(); in OutTableCell() 278 sal_uInt16 nColSpan = pCell->GetColSpan(); in OutTableCell() 342 if( pCell->HasPrcWidthOpt() ) in OutTableCell() 344 nPrcWidth = pCell->GetWidthOpt(); in OutTableCell() 348 nWidth = pCell->GetWidthOpt(); in OutTableCell() 362 long nHeight = pCell->GetHeight() > 0 in OutTableCell() [all …]
|
/trunk/main/sw/source/core/layout/ |
H A D | softpagebreak.cxx | 83 const SwFrm* pCell = pRow->Lower(); in fillSoftPageBreakList() local 84 while( pCell ) in fillSoftPageBreakList() 86 pFirst2 = static_cast<const SwLayoutFrm*>(pCell)->ContainsCntnt(); in fillSoftPageBreakList() 93 pCell = pCell->GetNext(); in fillSoftPageBreakList()
|
/trunk/main/sc/source/ui/app/ |
H A D | transobj.cxx | 279 ScBaseCell* pCell = NULL; in GetData() local 280 pDoc->GetCell( nCol, nRow, nTab, pCell ); in GetData() 281 if (pCell) in GetData() 283 if (pCell->GetCellType() == CELLTYPE_EDIT) in GetData() 286 ((ScEditCell*)pCell)->GetData(pObj); in GetData() 787 ScBaseCell* pCell = aIter.GetFirst(); in StripRefs() local 788 while (pCell) in StripRefs() 790 if (pCell->GetCellType() == CELLTYPE_FORMULA) in StripRefs() 792 ScFormulaCell* pFCell = (ScFormulaCell*) pCell; in StripRefs() 847 pCell = aIter.GetNext(); in StripRefs()
|