Home
last modified time | relevance | path

Searched refs:ScFormulaCell (Results 1 – 25 of 95) sorted by relevance

1234

/trunk/main/sc/source/core/data/
H A Dcell.cxx68 const sal_uInt16 nMemPoolFormulaCell = (0x8000 - 64) / sizeof(ScFormulaCell);
72 IMPL_FIXEDMEMPOOL_NEWDEL( ScFormulaCell, nMemPoolFormulaCell, nMemPoolFormulaCell ) in IMPL_FIXEDMEMPOOL_NEWDEL()
117 …return new ScFormulaCell( static_cast< const ScFormulaCell& >( rSrcCell ), rDestDoc, rDestPos, nCl… in lclCloneCell()
133 aDestPos = static_cast< const ScFormulaCell* >( this )->aPos; in CloneWithoutNote()
170 delete (ScFormulaCell*) this; in Delete()
234 && !((ScFormulaCell*)this)->IsInChangeTrack() in StartListeningTo()
239 ScFormulaCell* pFormCell = (ScFormulaCell*)this; in StartListeningTo()
320 && !((ScFormulaCell*)this)->IsInChangeTrack() in EndListeningTo()
325 ScFormulaCell* pFormCell = (ScFormulaCell*)this; in EndListeningTo()
408 return ((ScFormulaCell*)this)->GetErrCode(); in GetErrorCode()
[all …]
H A Dcolumn.cxx114 && ((ScFormulaCell*)pCell)->GetMatrixFlag() ) in GetBlockMatrixEdges()
117 return ((ScFormulaCell*)pCell)->GetMatrixEdge( aOrg ); in GetBlockMatrixEdges()
133 && ((ScFormulaCell*)pCell)->GetMatrixFlag() ) in GetBlockMatrixEdges()
135 nEdges = ((ScFormulaCell*)pCell)->GetMatrixEdge( aOrg ); in GetBlockMatrixEdges()
182 && ((ScFormulaCell*)pCell)->GetMatrixFlag() ) in HasSelectionMatrixFragment()
184 nEdges = ((ScFormulaCell*)pCell)->GetMatrixEdge( aOrg ); in HasSelectionMatrixFragment()
204 ScFormulaCell* pFCell; in HasSelectionMatrixFragment()
205 if ( ((ScFormulaCell*)pCell)->GetMatrixFlag() in HasSelectionMatrixFragment()
207 pFCell = (ScFormulaCell*) pDocument->GetCell( aOrg ); in HasSelectionMatrixFragment()
209 pFCell = (ScFormulaCell*)pCell; in HasSelectionMatrixFragment()
[all …]
H A Dcell2.cxx392 sal_Bool ScFormulaCell::IsEmpty() in IsEmpty()
399 sal_Bool ScFormulaCell::IsEmptyDisplayedAsString() in IsEmptyDisplayedAsString()
406 sal_Bool ScFormulaCell::IsValue() in IsValue()
413 double ScFormulaCell::GetValue() in GetValue()
423 double ScFormulaCell::GetValueAlways() in GetValueAlways()
432 void ScFormulaCell::GetString( String& rString ) in GetString()
443 const ScMatrix* ScFormulaCell::GetMatrix() in GetMatrix()
455 sal_Bool ScFormulaCell::GetMatrixOrigin( ScAddress& rPos ) const in GetMatrixOrigin()
496 sal_uInt16 ScFormulaCell::GetMatrixEdge( ScAddress& rOrgPos ) in GetMatrixEdge()
511 ScFormulaCell* pFCell; in GetMatrixEdge()
[all …]
H A Ddocumen7.cxx57 extern const ScFormulaCell* pLastFormulaTreeTop; // cellform.cxx Err527 WorkAround
217 void ScDocument::PutInFormulaTree( ScFormulaCell* pCell ) in PutInFormulaTree()
233 void ScDocument::RemoveFromFormulaTree( ScFormulaCell* pCell ) in RemoveFromFormulaTree()
236 ScFormulaCell* pPrev = pCell->GetPrevious(); in RemoveFromFormulaTree()
240 ScFormulaCell* pNext = pCell->GetNext(); in RemoveFromFormulaTree()
268 sal_Bool ScDocument::IsInFormulaTree( ScFormulaCell* pCell ) const in IsInFormulaTree()
293 ScFormulaCell* pCell = pFormulaTree; in CalcFormulaTree()
303 ScFormulaCell* pNext = pCell->GetNext(); in CalcFormulaTree()
321 ScFormulaCell* pLastNoGood = 0; in CalcFormulaTree()
382 ScFormulaCell* pCell; in ClearFormulaTree()
[all …]
H A Dcolumn3.cxx64 extern const ScFormulaCell* pLastFormulaTreeTop; // in cellform.cxx
151 ((ScFormulaCell*)pNewCell)->SetDirty(); in Insert()
344 ((ScFormulaCell*)pCell)->aPos.SetRow( nNewRow ); in DeleteRow()
357 ((ScFormulaCell*)pCell)->aPos.SetRow( nNewRow ); in DeleteRow()
389 typedef ::std::vector< ScFormulaCell* > FormulaCellVector; in DeleteRange()
404 aDelCells.push_back( static_cast< ScFormulaCell* >( pOldCell ) ); in DeleteRange()
500 aDelCells.push_back( static_cast< ScFormulaCell* >( pOldCell ) ); in DeleteRange()
600 ScFormulaCell* ScColumn::CreateRefCell( ScDocument* pDestDoc, const ScAddress& rDestPos, in CreateRefCell()
661 return new ScFormulaCell( pDestDoc, rDestPos, &aArr ); in CreateRefCell()
737 Insert( nDestRow, new ScFormulaCell( pDocument, aDestPos, &aArr ) ); in CopyFromClip()
[all …]
H A Ddociter.cxx388 if (!bSubTotal || !((ScFormulaCell*)pCell)->IsSubTotal()) in GetThis()
390 rErr = ((ScFormulaCell*)pCell)->GetErrCode(); in GetThis()
391 if ( rErr || ((ScFormulaCell*)pCell)->IsValue() ) in GetThis()
393 rValue = ((ScFormulaCell*)pCell)->GetValue(); in GetThis()
456 ((const ScFormulaCell*)pCell)->GetFormatInfo( nNumFmtType, nNumFmtIndex ); in GetCurNumFmtInfo()
618 if (((ScFormulaCell*)pCell)->IsValue()) in getCurrent()
620 rValue.mfValue = ((ScFormulaCell*)pCell)->GetValue(); in getCurrent()
625 rValue.mnError = ((ScFormulaCell*)pCell)->GetErrCode(); in getCurrent()
634 rValue.maString = ((ScFormulaCell*)pCell)->GetStringData(); in getCurrent()
636 rValue.mnError = ((ScFormulaCell*)pCell)->GetErrCode(); in getCurrent()
[all …]
H A Dcolumn2.cxx250 …( static_cast<ScFormulaCell*>(pCell)->GetStandardFormat(*pFormatter, nFormat) % SV_COUNTRY_LANGUAG… in GetNeededSize()
332 … ((eCellType == CELLTYPE_FORMULA) && ((ScFormulaCell*)pCell)->IsMultilineResult()) ); in GetNeededSize()
1112 if (((ScFormulaCell*)pItems[i].pCell)->TestTabRefAbs(nTable)) in TestTabRefAbs()
1692 ((ScFormulaCell*) pCell)->CompileDBFormula(); in CompileDBFormula()
1703 ((ScFormulaCell*) pCell)->CompileDBFormula( bCreateFormulaString ); in CompileDBFormula()
1714 ((ScFormulaCell*) pCell)->CompileNameFormula( bCreateFormulaString ); in CompileNameFormula()
1725 ((ScFormulaCell*) pCell)->CompileColRowNameFormula(); in CompileColRowNameFormula()
1744 ScFormulaCell* pFC = (ScFormulaCell*)pCell; in lcl_UpdateSubTotal()
1859 nTotal += 5 + ((ScFormulaCell*)pCell)->GetCode()->GetCodeLen(); in GetWeightedCount()
1882 nCodeCount += ((ScFormulaCell*)pCell)->GetCode()->GetCodeLen(); in GetCodeCount()
H A Dconditio.cxx389 pFCell1 = new ScFormulaCell( pDoc, rPos, pFormula1 ); in MakeCells()
395 pFCell2 = new ScFormulaCell( pDoc, rPos, pFormula2 ); in MakeCells()
624 ScFormulaCell* pTemp1 = NULL; in Interpret()
625 ScFormulaCell* pEff1 = pFCell1; in Interpret()
628 pTemp1 = new ScFormulaCell( pDoc, rPos, pFormula1 ); // ohne Listening in Interpret()
654 ScFormulaCell* pTemp2 = NULL; in Interpret()
655 ScFormulaCell* pEff2 = pFCell2; //@ 1!=2 in Interpret()
658 pTemp2 = new ScFormulaCell( pDoc, rPos, pFormula2 ); // ohne Listening in Interpret()
856 ScFormulaCell* pFCell = (ScFormulaCell*)pCell; in IsCellValid()
H A Dvalidat.cxx190 ScFormulaCell* pCell, Window* pParent ) const in DoScript()
273 ScFormulaCell* pCell, Window* pParent ) const in DoMacro()
390 void ScValidationData::DoCalcError( ScFormulaCell* pCell ) const in DoCalcError()
504 ScFormulaCell* pFCell = (ScFormulaCell*)pCell; in IsDataValid()
646 ScFormulaCell aValidationSrc( pDocument, rPos, &rTokArr, in GetSelectionFromFormula()
H A Dtable3.cxx263 if ( eType1 == CELLTYPE_FORMULA && ((ScFormulaCell*)pCell1)->IsValue() ) in CompareCell()
266 if ( eType2 == CELLTYPE_FORMULA && ((ScFormulaCell*)pCell2)->IsValue() ) in CompareCell()
312 nVal1 = ((ScFormulaCell*)pCell1)->GetValue(); in CompareCell()
318 nVal2 = ((ScFormulaCell*)pCell2)->GetValue(); in CompareCell()
590 if (((ScFormulaCell*)pCell)->IsSubTotal()) in TestRemoveSubTotals()
622 if (((ScFormulaCell*)pCell)->IsSubTotal()) in RemoveSubTotals()
893 ScBaseCell* pCell = new ScFormulaCell( pDocument, ScAddress( in DoSubTotals()
976 nCellVal = ((ScFormulaCell*)pCell)->GetValue(); in ValidQuery()
1374 rEntry.nVal = ((ScFormulaCell*)pCell)->GetValue(); in TopTenQuery()
1517 if (((ScFormulaCell*)pCell)->IsSubTotal()) in Query()
[all …]
H A Ddocumen4.cxx102 ScFormulaCell* pCell = new ScFormulaCell( this, ScAddress(), &aArr ); in Solver()
149 ScFormulaCell* pCell; in InsertMatrixFormula()
152 pCell = new ScFormulaCell( this, aPos, pArr, eGram, MM_FORMULA ); in InsertMatrixFormula()
154 pCell = new ScFormulaCell( this, aPos, rFormula, eGram, MM_FORMULA ); in InsertMatrixFormula()
201 pCell = new ScFormulaCell( this, aPos, aArr.Clone(), eGram, MM_REFERENCE ); in InsertMatrixFormula()
285 ScFormulaCell aRefCell( this, ScAddress( nCol1, nRow1, nTab1 ), aForString, in InsertTableOp()
/trunk/main/sc/inc/
H A Dcell.hxx286 class SC_DLLPUBLIC ScFormulaCell : public ScBaseCell, public SvtListener class
293 ScFormulaCell* pPrevious;
294 ScFormulaCell* pNext;
295 ScFormulaCell* pPreviousTrack;
296 ScFormulaCell* pNextTrack;
320 ScFormulaCell( const ScFormulaCell& );
325 DECL_FIXEDMEMPOOL_NEWDEL( ScFormulaCell )
330 ~ScFormulaCell();
331 ScFormulaCell();
334 ScFormulaCell( ScDocument*, const ScAddress&, const ScTokenArray* = NULL,
[all …]
H A Drecursionhelper.hxx33 class ScFormulaCell;
37 ScFormulaCell* pCell;
40 ScFormulaRecursionEntry( ScFormulaCell* p, sal_Bool bR, in ScFormulaRecursionEntry()
51 typedef ::std::stack< ScFormulaCell* > ScRecursionInIterationStack;
95 void Insert( ScFormulaCell* p, sal_Bool bOldRunning, in Insert()
H A Dtabopparams.hxx32 class ScFormulaCell;
41 ::std::vector< ScFormulaCell* > aNotifiedFormulaCells;
77 ::std::vector< ScFormulaCell* >().swap( aNotifiedFormulaCells ); in operator =()
/trunk/main/sc/source/core/tool/
H A Dcellform.cxx42 const ScFormulaCell* pLastFormulaTreeTop = 0;
101 ScFormulaCell* pFCell = (ScFormulaCell*)pCell; in GetString()
201 if (((ScFormulaCell*)pCell)->IsEmptyDisplayedAsString()) in GetInputString()
205 else if (((ScFormulaCell*)pCell)->IsValue()) in GetInputString()
207 double nValue = ((ScFormulaCell*)pCell)->GetValue(); in GetInputString()
212 ((ScFormulaCell*)pCell)->GetString( rString ); in GetInputString()
215 sal_uInt16 nErrCode = ((ScFormulaCell*)pCell)->GetErrCode(); in GetInputString()
H A Ddetfunc.cxx310 nError = ((ScFormulaCell*)pCell)->GetErrCode(); in HasError()
847 ScFormulaCell* pFCell = (ScFormulaCell*)pCell; in InsertPredLevel()
857 ScDetectiveRefIter aIter( (ScFormulaCell*) pCell ); in InsertPredLevel()
940 ScFormulaCell* pFCell = (ScFormulaCell*)pCell; in FindPredLevel()
956 ScDetectiveRefIter aIter( (ScFormulaCell*) pCell ); in FindPredLevel()
1002 ScFormulaCell* pFCell = (ScFormulaCell*)pCell; in InsertErrorLevel()
1012 ScDetectiveRefIter aIter( (ScFormulaCell*) pCell ); in InsertErrorLevel()
1060 ScFormulaCell* pFCell = (ScFormulaCell*)pCell; in InsertSuccLevel()
1067 ScDetectiveRefIter aIter( (ScFormulaCell*) pCell ); in InsertSuccLevel()
1151 ScFormulaCell* pFCell = (ScFormulaCell*)pCell; in FindSuccLevel()
[all …]
H A Dinterpr4.cxx162 nErr = ((ScFormulaCell*)pCell)->GetErrCode(); in GetCellNumberFormat()
168 nFormat = ((ScFormulaCell*)pCell)->GetStandardFormat( *pFormatter, in GetCellNumberFormat()
422 ScFormulaCell* pFCell = (ScFormulaCell*) pCell; in GetCellValueOrZero()
503 ScFormulaCell* pFCell = (ScFormulaCell*) pCell; in GetCellString()
585 if (((ScFormulaCell*)pCell)->IsValue()) in CreateDoubleArr()
587 nErr = ((ScFormulaCell*)pCell)->GetErrCode(); in CreateDoubleArr()
588 nVal = ((ScFormulaCell*)pCell)->GetValue(); in CreateDoubleArr()
671 if (!((ScFormulaCell*)pCell)->IsValue()) in CreateStringArr()
673 nErr = ((ScFormulaCell*)pCell)->GetErrCode(); in CreateStringArr()
674 ((ScFormulaCell*)pCell)->GetString(aStr); in CreateStringArr()
[all …]
H A Dchartarr.cxx275 ScFormulaCell* pFCell = (ScFormulaCell*)pCell; in CreateMemChartSingle()
436 ScFormulaCell* pFCell = (ScFormulaCell*)pCell; in CreateMemChartMulti()
469 ScFormulaCell* pFCell = (ScFormulaCell*)pCell; in CreateMemChartMulti()
H A Dchgtrack.cxx1562 pCell = new ScFormulaCell( in SetValueString()
1564 ((ScFormulaCell*)pCell)->SetInChangeTrack( sal_True ); in SetValueString()
1642 ((const ScFormulaCell*)pCell)->GetMatColsRows( nC, nR ); in GetRefString()
1780 ((ScFormulaCell*)pCell)->GetFormula( rStr ); in GetStringOfCell()
1804 switch ( ((const ScFormulaCell*)pCell)->GetMatrixFlag() ) in GetContentCellType()
1865 ((ScFormulaCell*)pCell)->SetInChangeTrack( sal_True ); in SetValue()
1895 ((ScFormulaCell*)pCell)->SetInChangeTrack( sal_True ); in SetCell()
1925 GetFormulaString( rStr, (ScFormulaCell*) pCell ); in GetValueString()
1942 const ScFormulaCell* pCell ) const in GetFormulaString()
1950 ScFormulaCell* pNew = new ScFormulaCell( *pCell, *pCell->GetDocument(), aPos ); in GetFormulaString()
[all …]
/trunk/main/sc/source/filter/lotus/
H A Dexpop.cxx185 void ExportWK1::Formula( const sal_uInt16 nCol, const sal_uInt16 nRow, const ScFormulaCell* pFC, co… in Formula()
197 fErgebnis = ( ( ScFormulaCell* ) pFC )->GetValue(); in Formula()
264 void ExportWK1::WKString( const sal_uInt16 /*nCol*/, const sal_uInt16 /*nRow*/, const ScFormulaCell in WKString() argument
389 Formula( nCol, nRow, ( ScFormulaCell * ) pCell, *pPatAttr ); in Write()
390 WKString( nCol, nRow, ( ScFormulaCell * ) pCell, *pPatAttr ); in Write()
/trunk/main/sc/source/filter/xml/
H A DXMLChangeTrackingImportHelper.cxx85 pCell = new ScFormulaCell(pDoc, aPos, sFormula, eGrammar, nMatrixFlag); in CreateCell()
86 …static_cast<ScFormulaCell*>(pCell)->SetMatColsRows(static_cast<SCCOL>(nMatrixCols), static_cast<SC… in CreateCell()
776 … sal_uInt8 nMatrixFlag = static_cast<ScFormulaCell*>(pCell)->GetMatrixFlag(); in SetNewCell()
782 … static_cast<ScFormulaCell*>(pCell)->GetFormula(sFormula,formula::FormulaGrammar::GRAM_ODFF); in SetNewCell()
799 …pNewCell = new ScFormulaCell(pDoc, aAddress, sFormula2,formula::FormulaGrammar::GRAM_ODFF, nMatrix… in SetNewCell()
806 … static_cast<ScFormulaCell*>(pCell)->GetMatColsRows(nCols, nRows); in SetNewCell()
807 … static_cast<ScFormulaCell*>(pNewCell)->SetMatColsRows(nCols, nRows); in SetNewCell()
809 static_cast<ScFormulaCell*>(pNewCell)->SetInChangeTrack(sal_True); in SetNewCell()
/trunk/main/sc/source/filter/inc/
H A Dexp_op.hxx34 class ScFormulaCell;
75 …void Formula( const sal_uInt16 nC, const sal_uInt16 nR, const ScFormulaCell*, const…
83 …void WKString( const sal_uInt16 nC, const sal_uInt16 nR, const ScFormulaCell*, cons…
H A Dlotimpop.hxx35 class ScFormulaCell;
59 ScFormulaCell* Formulacell( sal_uInt16 nRecLen ); // 0x0019 25
60 void Formulastring( ScFormulaCell& ); // 0x001a 26
/trunk/main/sc/source/ui/formdlg/
H A Dformula.cxx204 pCell = new ScFormulaCell( pDoc, aCursorPos, rStrExp ); in ScFormulaDlg()
261 pCell = new ScFormulaCell( pDoc, aCursorPos, rStrExp ); in fill()
337 ::std::auto_ptr<ScFormulaCell> pFCell( new ScFormulaCell( pDoc, aCursorPos, rStrExp ) ); in calculateValue()
353 pFCell.reset( new ScFormulaCell( pDoc, aCursorPos, aBraced ) ); in calculateValue()
/trunk/main/sc/source/ui/docshell/
H A Dexternalrefmgr.cxx137 struct UpdateFormulaCell : public unary_function<ScFormulaCell*, void>
139 void operator() (ScFormulaCell* pCell) const in operator ()()
162 explicit RemoveFormulaCell(ScFormulaCell* p) : mpCell(p) {} in RemoveFormulaCell()
168 ScFormulaCell* mpCell;
171 class ConvertFormulaToStatic : public unary_function<ScFormulaCell*, void>
175 void operator() (ScFormulaCell* pCell) const in operator ()()
1318 ScFormulaCell* pFCell = static_cast<ScFormulaCell*>(pCell); in lcl_convertToToken()
1423 ScFormulaCell* pFCell = static_cast<ScFormulaCell*>(pCell); in lcl_convertToTokenArray()
1585 ScFormulaCell* pCell = *itrCell; in markUsedExternalRefCells()
1913 itr->second.insert(static_cast<ScFormulaCell*>(pCell)); in insertRefCell()
[all …]

1234