LibreOffice Module sc (master)
1
|
#include <formulacell.hxx>
Public Types | |
enum | ScInterpretTailParameter { SCITP_NORMAL, SCITP_FROM_ITERATION, SCITP_CLOSE_ITERATION_CIRCLE } |
enum | CompareState { NotEqual = 0, EqualInvariant, EqualRelativeRef } |
enum | RelNameRef { RelNameRef::NONE, RelNameRef::SINGLE, RelNameRef::DOUBLE } |
Public Attributes | |
ScAddress | aPos |
Private Member Functions | |
bool | UpdateReferenceOnCopy (const sc::RefUpdateContext &rCxt, ScDocument *pUndoDoc, const ScAddress *pUndoCellPos) |
Update reference in response to cell copy-n-paste. More... | |
ScFormulaCell (const ScFormulaCell &)=delete | |
bool | CheckComputeDependencies (sc::FormulaLogger::GroupScope &rScope, bool fromFirstRow, SCROW nStartOffset, SCROW nEndOffset, bool bCalcDependencyOnly=false) |
bool | InterpretFormulaGroupThreading (sc::FormulaLogger::GroupScope &aScope, bool &bDependencyComputed, bool &bDependencyCheckFailed, SCROW nStartOffset, SCROW nEndOffset) |
bool | InterpretFormulaGroupOpenCL (sc::FormulaLogger::GroupScope &aScope, bool &bDependencyComputed, bool &bDependencyCheckFailed) |
bool | InterpretInvariantFormulaGroup () |
Private Attributes | |
ScFormulaCellGroupRef | mxGroup |
bool | bDirty: 1 |
bool | bTableOpDirty: 1 |
bool | bChanged: 1 |
bool | bRunning: 1 |
bool | bCompile: 1 |
bool | bSubTotal: 1 |
bool | bIsIterCell: 1 |
bool | bInChangeTrack: 1 |
bool | bNeedListening: 1 |
bool | mbNeedsNumberFormat: 1 |
bool | mbAllowNumberFormatChange: 1 |
bool | mbPostponedDirty: 1 |
bool | mbIsExtRef: 1 |
bool | mbSeenInPath: 1 |
ScMatrixMode | cMatrixFlag: 8 |
sal_uInt16 | nSeenInIteration: 16 |
SvNumFormatType | nFormatType: 16 |
ScFormulaResult | aResult |
formula::FormulaGrammar::Grammar | eTempGrammar |
ScTokenArray * | pCode |
ScDocument & | rDocument |
ScFormulaCell * | pPrevious |
ScFormulaCell * | pNext |
ScFormulaCell * | pPreviousTrack |
ScFormulaCell * | pNextTrack |
Definition at line 107 of file formulacell.hxx.
Enumerator | |
---|---|
NotEqual | |
EqualInvariant | |
EqualRelativeRef |
Definition at line 172 of file formulacell.hxx.
|
strong |
Enumerator | |
---|---|
NONE |
no relative reference from named expression |
SINGLE |
only single cell relative reference |
DOUBLE |
at least one range relative reference from named expression |
Definition at line 270 of file formulacell.hxx.
Enumerator | |
---|---|
SCITP_NORMAL | |
SCITP_FROM_ITERATION | |
SCITP_CLOSE_ITERATION_CIRCLE |
Definition at line 162 of file formulacell.hxx.
|
privatedelete |
Referenced by Clone(), and UpdateTranspose().
|
overridevirtual |
Definition at line 936 of file formulacell.cxx.
References ScDocument::GetExternalRefManager(), ScDocument::GetMacroManager(), ScDocument::HasExternalRefManager(), formula::FormulaTokenArray::HasOpCode(), mxGroup, ocMacro, pCode, rDocument, ScMacroManager::RemoveDependentCell(), ScDocument::RemoveFromFormulaTrack(), ScDocument::RemoveFromFormulaTree(), ScExternalRefManager::removeRefCell(), and ScDocument::RemoveSubTotalCell().
ScFormulaCell::ScFormulaCell | ( | ScDocument & | rDoc, |
const ScAddress & | rPos | ||
) |
Definition at line 605 of file formulacell.cxx.
References NUMBER.
ScFormulaCell::ScFormulaCell | ( | ScDocument & | rDoc, |
const ScAddress & | rPos, | ||
std::unique_ptr< ScTokenArray > | pArray, | ||
const formula::FormulaGrammar::Grammar | eGrammar = formula::FormulaGrammar::GRAM_DEFAULT , |
||
ScMatrixMode | cMatInd = ScMatrixMode::NONE |
||
) |
Transfer the ownership of the passed token array instance to the formula cell being constructed.
The caller must not pass a NULL token array pointer.
Definition at line 670 of file formulacell.cxx.
References ScDocument::AddSubTotalCell(), assert(), bSubTotal, cMatrixFlag, formula::FormulaCompiler::CompileTokenArray(), eTempGrammar, formula::FormulaTokenArray::Finalize(), ScTokenArray::GenHash(), formula::FormulaTokenArray::GetCodeError(), formula::FormulaTokenArray::GetCodeLen(), formula::FormulaTokenArray::GetLen(), formula::FormulaCompiler::GetNumFormatType(), formula::FormulaTokenArray::HasOpCodeRPN(), nFormatType, NONE, NUMBER, ocAggregate, ocSubTotal, pCode, and rDocument.
ScFormulaCell::ScFormulaCell | ( | ScDocument & | rDoc, |
const ScAddress & | rPos, | ||
const ScTokenArray & | rArray, | ||
const formula::FormulaGrammar::Grammar | eGrammar = formula::FormulaGrammar::GRAM_DEFAULT , |
||
ScMatrixMode | cMatInd = ScMatrixMode::NONE |
||
) |
Definition at line 722 of file formulacell.cxx.
References ScDocument::AddSubTotalCell(), bSubTotal, cMatrixFlag, formula::FormulaCompiler::CompileTokenArray(), eTempGrammar, ScTokenArray::GenHash(), formula::FormulaTokenArray::GetCodeError(), formula::FormulaTokenArray::GetCodeLen(), formula::FormulaTokenArray::GetLen(), formula::FormulaCompiler::GetNumFormatType(), formula::FormulaTokenArray::HasOpCodeRPN(), nFormatType, NONE, NUMBER, ocAggregate, ocSubTotal, pCode, and rDocument.
ScFormulaCell::ScFormulaCell | ( | ScDocument & | rDoc, |
const ScAddress & | rPos, | ||
const ScFormulaCellGroupRef & | xGroup, | ||
const formula::FormulaGrammar::Grammar | eGrammar = formula::FormulaGrammar::GRAM_DEFAULT , |
||
ScMatrixMode | cInd = ScMatrixMode::NONE |
||
) |
Definition at line 770 of file formulacell.cxx.
References ScDocument::AddSubTotalCell(), bSubTotal, get(), and rDocument.
ScFormulaCell::ScFormulaCell | ( | ScDocument & | rDoc, |
const ScAddress & | rPos, | ||
const OUString & | rFormula, | ||
const formula::FormulaGrammar::Grammar | eGrammar = formula::FormulaGrammar::GRAM_DEFAULT , |
||
ScMatrixMode | cMatInd = ScMatrixMode::NONE |
||
) |
With formula string and grammar to compile with.
formula::FormulaGrammar::GRAM_DEFAULT effectively isformula::FormulaGrammar::GRAM_NATIVE_UI that also includes formula::FormulaGrammar::CONV_UNSPECIFIED, therefore uses the address convention associated with rPos::nTab by default.
Definition at line 634 of file formulacell.cxx.
ScFormulaCell::ScFormulaCell | ( | const ScFormulaCell & | rCell, |
ScDocument & | rDoc, | ||
const ScAddress & | rPos, | ||
ScCloneFlags | nCloneFlags = ScCloneFlags::Default |
||
) |
Definition at line 804 of file formulacell.cxx.
References ScDocument::AddSubTotalCell(), ScTokenArray::AdjustAbsoluteRefs(), ScTokenArray::AdjustReferenceOnCopy(), aPos, bCompile, bSubTotal, ScTokenArray::Clone(), CompileTokenArray(), Default, ScDocument::FindRangeNameBySheetAndIndex(), formula::FormulaTokenArray::GetCodeError(), formula::FormulaToken::GetIndex(), formula::FormulaTokenArray::GetLen(), formula::FormulaTokenArrayPlainIterator::GetNextName(), formula::FormulaTokenArrayPlainIterator::GetNextReferenceOrName(), formula::FormulaToken::GetOpCode(), ScDocument::GetPool(), ScDocument::GetSharedStringPool(), formula::FormulaToken::GetSheet(), formula::FormulaToken::GetType(), formula::FormulaTokenArray::HasOpCode(), ScRangeData::HasReferences(), ScDocument::IsClipboard(), ScDocument::IsClipboardSource(), ScDocument::IsClipOrUndo(), formula::FormulaToken::IsExternalRef(), ScDocument::IsUndo(), NamesToLocal, NoMakeAbsExternal, ocColRowName, ocDBArea, ocName, ocRange, ocTableRef, pCode, rDocument, ScTokenArray::ReadjustAbsolute3DReferences(), formula::FormulaTokenArray::ReinternStrings(), formula::FormulaTokenArray::SetCodeError(), StartListening, StartListeningTo(), svIndex, t, and ScAddress::Tab().
void ScFormulaCell::AddRecalcMode | ( | ScRecalcMode | nBits | ) |
Definition at line 2651 of file formulacell.cxx.
References formula::FormulaTokenArray::AddRecalcMode(), pCode, and SetDirtyVar().
Referenced by ImportExcel::Formula(), ImportLotus::Formulacell(), OP_Formula(), OP_Formula123(), and ScQProReader::readSheet().
void ScFormulaCell::CalcAfterLoad | ( | sc::CompileFormulaContext & | rCxt, |
bool | bStartListening | ||
) |
Definition at line 1395 of file formulacell.cxx.
References ScDocument::AddSubTotalCell(), aResult, bCompile, bDirty, bSubTotal, cMatrixFlag, Compile(), formula::FormulaCompiler::CompileTokenArray(), eTempGrammar, Formula, formula::FormulaTokenArray::GetCodeError(), formula::FormulaTokenArray::GetCodeLen(), ScFormulaResult::GetDouble(), ScFormulaResult::GetHybridFormula(), formula::FormulaTokenArray::GetLen(), GetMatrixFlag(), formula::FormulaCompiler::GetNumFormatType(), ScDocument::GetSrcVersion(), formula::FormulaTokenArray::HasMatrixDoubleRefOps(), formula::FormulaTokenArray::IsRecalcModeAlways(), formula::FormulaTokenArray::IsRecalcModeNormal(), ScFormulaResult::IsValue(), nFormatType, NONE, pCode, rDocument, SC_MATRIX_DOUBLEREF, sc::CompileFormulaContext::setGrammar(), SetMatColsRows(), ScFormulaResult::SetResultError(), ScFormulaResult::SetToken(), and StartListeningTo().
|
private |
Definition at line 4676 of file formulacell.cxx.
References sc::FormulaLogger::GroupScope::addMessage(), ScRecursionHelper::AreGroupsIndependent(), ScDocument::GetRecursionHelper(), sc::GroupCalcDisabled, ScRecursionHelper::IsInRecursionReturn(), pCode, and rDocument.
Referenced by InterpretFormulaGroupOpenCL(), and InterpretFormulaGroupThreading().
ScFormulaCell * ScFormulaCell::Clone | ( | ) | const |
Definition at line 952 of file formulacell.cxx.
References rDocument, and ScFormulaCell().
Referenced by ScCellValue::assign(), ScCellValue::commit(), sc::CellValues::copyCellsTo(), ScCellIterator::getCellValue(), ScCellValue::ScCellValue(), ScUndoSetCell::SetValue(), sc::SharedFormulaUtil::splitFormulaCellGroup(), and sc::SharedFormulaUtil::unshareFormulaCell().
ScFormulaCell * ScFormulaCell::Clone | ( | const ScAddress & | rPos | ) | const |
Definition at line 957 of file formulacell.cxx.
References Default, rDocument, and ScFormulaCell().
ScFormulaCell::CompareState ScFormulaCell::CompareByTokenArray | ( | const ScFormulaCell & | rOther | ) | const |
Definition at line 4028 of file formulacell.cxx.
References EqualInvariant, EqualRelativeRef, formula::FormulaTokenArray::GetArray(), formula::FormulaToken::GetByte(), formula::FormulaTokenArray::GetCode(), formula::FormulaTokenArray::GetCodeError(), formula::FormulaTokenArray::GetCodeLen(), formula::FormulaToken::GetDouble(), formula::FormulaToken::GetError(), formula::FormulaToken::GetExternal(), GetHash(), formula::FormulaToken::GetIndex(), formula::FormulaTokenArray::GetLen(), GetMatrixFlag(), formula::FormulaToken::GetOpCode(), formula::FormulaToken::GetParamCount(), formula::FormulaToken::GetSheet(), formula::FormulaToken::GetSingleRef(), formula::FormulaToken::GetSingleRef2(), formula::FormulaToken::GetString(), formula::FormulaToken::GetType(), i, ScSingleRefData::IsRowRel(), formula::FormulaTokenArray::IsShareable(), NONE, NotEqual, ocTableRef, pCode, formula::svByte, formula::svDouble, formula::svDoubleRef, formula::svError, formula::svExternal, formula::svExternalDoubleRef, formula::svExternalSingleRef, formula::svIndex, formula::svMatrix, formula::svSingleRef, and formula::svString.
Referenced by sc::SharedFormulaUtil::groupFormulaCells(), and sc::SharedFormulaUtil::joinFormulaCells().
void ScFormulaCell::Compile | ( | const OUString & | rFormula, |
bool | bNoListening, | ||
const formula::FormulaGrammar::Grammar | eGrammar | ||
) |
Definition at line 1124 of file formulacell.cxx.
References formula::FormulaTokenArray::AddBad(), aResult, assert(), bChanged, bCompile, ScTokenArray::Clear(), ScCompiler::CompileString(), CompileTokenArray(), formula::FormulaTokenArray::GetCodeError(), ScFormulaResult::GetHybridFormula(), formula::FormulaTokenArray::GetLen(), ScDocument::IsClipOrUndo(), ScDocument::IsInFormulaTree(), mxGroup, pCode, ScDocument::PutInFormulaTree(), rDocument, and ScDocument::RemoveFromFormulaTree().
Referenced by CalcAfterLoad(), CompileTokenArray(), and ScFormulaCell().
void ScFormulaCell::Compile | ( | sc::CompileFormulaContext & | rCxt, |
const OUString & | rFormula, | ||
bool | bNoListening = false |
||
) |
Definition at line 1159 of file formulacell.cxx.
References formula::FormulaTokenArray::AddBad(), aResult, assert(), bChanged, bCompile, ScTokenArray::Clear(), ScCompiler::CompileString(), CompileTokenArray(), formula::FormulaTokenArray::GetCodeError(), ScFormulaResult::GetHybridFormula(), formula::FormulaTokenArray::GetLen(), ScDocument::IsClipOrUndo(), ScDocument::IsInFormulaTree(), mxGroup, pCode, ScDocument::PutInFormulaTree(), rDocument, and ScDocument::RemoveFromFormulaTree().
void ScFormulaCell::CompileColRowNameFormula | ( | sc::CompileFormulaContext & | rCxt | ) |
Definition at line 3968 of file formulacell.cxx.
References bCompile, CompileTokenArray(), formula::FormulaTokenArrayPlainIterator::First(), formula::FormulaTokenArrayPlainIterator::Next(), ocColRowName, pCode, and SetDirty().
void ScFormulaCell::CompileDBFormula | ( | sc::CompileFormulaContext & | rCxt | ) |
Definition at line 3952 of file formulacell.cxx.
References bCompile, CompileTokenArray(), formula::FormulaTokenArrayPlainIterator::First(), formula::FormulaTokenArrayPlainIterator::Next(), ocDBArea, ocTableRef, pCode, and SetDirty().
void ScFormulaCell::CompileTokenArray | ( | bool | bNoListening = false | ) |
Definition at line 1194 of file formulacell.cxx.
References ScDocument::AddSubTotalCell(), aResult, bChanged, bCompile, bSubTotal, cMatrixFlag, Compile(), EndListeningTo(), eTempGrammar, formula::FormulaTokenArray::GetCodeError(), formula::FormulaTokenArray::GetCodeLen(), ScDocument::GetGrammar(), ScFormulaResult::GetHybridFormula(), formula::FormulaTokenArray::GetLen(), ScDocument::IsClipOrUndo(), ScDocument::IsInFormulaTree(), ScDocument::IsInsertingFromOtherDoc(), nFormatType, NONE, pCode, ScDocument::PutInFormulaTree(), rDocument, ScDocument::RemoveFromFormulaTree(), ScFormulaResult::SetToken(), and StartListeningTo().
Referenced by Compile(), CompileColRowNameFormula(), CompileDBFormula(), InterpretTail(), ScFormulaCell(), UpdateCompile(), UpdateGrow(), UpdateReferenceOnCopy(), UpdateReferenceOnMove(), UpdateReferenceOnShift(), and UpdateTranspose().
void ScFormulaCell::CompileTokenArray | ( | sc::CompileFormulaContext & | rCxt, |
bool | bNoListening = false |
||
) |
Definition at line 1233 of file formulacell.cxx.
References ScDocument::AddSubTotalCell(), aResult, bChanged, bCompile, bSubTotal, cMatrixFlag, Compile(), formula::FormulaCompiler::CompileTokenArray(), EndListeningTo(), eTempGrammar, formula::FormulaTokenArray::GetCodeError(), formula::FormulaTokenArray::GetCodeLen(), ScFormulaResult::GetHybridFormula(), formula::FormulaTokenArray::GetLen(), formula::FormulaCompiler::GetNumFormatType(), ScDocument::IsClipOrUndo(), ScDocument::IsInFormulaTree(), ScDocument::IsInsertingFromOtherDoc(), nFormatType, NONE, pCode, ScDocument::PutInFormulaTree(), rDocument, ScDocument::RemoveFromFormulaTree(), sc::CompileFormulaContext::setGrammar(), ScFormulaResult::SetToken(), and StartListeningTo().
void ScFormulaCell::CompileXML | ( | sc::CompileFormulaContext & | rCxt, |
ScProgress & | rProgress | ||
) |
Definition at line 1273 of file formulacell.cxx.
References formula::FormulaTokenArray::AddBad(), ScDocument::AddSubTotalCell(), ScDocument::AppendToFormulaTrack(), assert(), bChanged, bCompile, bSubTotal, ScDocument::CheckLinkFormulaNeedingCheck(), ScTokenArray::Clear(), cMatrixFlag, ScCompiler::CompileString(), formula::FormulaCompiler::CompileTokenArray(), CreateCellGroup(), formula::FormulaCompiler::CreateStringFromTokenArray(), ScCompiler::CreateStringFromXMLTokenArray(), ScDocument::DecXMLImportedFormulaCount(), eTempGrammar, GetCellGroup(), GetCode(), formula::FormulaTokenArray::GetCodeError(), ScDocument::GetExternalRefManager(), ScDocument::GetFormulaCell(), formula::FormulaTokenArray::GetLen(), formula::FormulaCompiler::GetNumFormatType(), ScDocument::GetXMLImportedFormulaCount(), ScAddress::IncRow(), ScExternalRefManager::insertRefCellFromTemplate(), ScDocument::IsInFormulaTree(), formula::FormulaTokenArray::IsRecalcModeForced(), formula::FormulaTokenArray::IsRecalcModeNormal(), formula::FormulaTokenArray::IsShareable(), mbIsExtRef, mxGroup, nFormatType, NONE, pCode, ScDocument::PutInFormulaTree(), rDocument, Reference, ScDocument::RemoveFromFormulaTree(), SetCellGroup(), SetDirtyVar(), sc::CompileFormulaContext::setGrammar(), ScProgress::SetStateCountDownOnPercent(), and StartListeningTo().
ScFormulaCellGroupRef ScFormulaCell::CreateCellGroup | ( | SCROW | nLen, |
bool | bInvariant | ||
) |
Turn a non-grouped cell into the top of a grouped cell.
Definition at line 3988 of file formulacell.cxx.
References mxGroup, pCode, and SAL_INFO.
Referenced by CompileXML(), and sc::SharedFormulaUtil::joinFormulaCells().
std::unique_ptr< EditTextObject > ScFormulaCell::CreateURLObject | ( | ) |
Definition at line 2744 of file formulacell.cxx.
References aURL, ScEditUtil::CreateURLObjectFromURL(), GetURLResult(), and rDocument.
Referenced by ScGridWindow::GetEditUrl().
void ScFormulaCell::Dump | ( | ) | const |
void ScFormulaCell::EndListeningTo | ( | ScDocument & | rDoc, |
ScTokenArray * | pArr = nullptr , |
||
ScAddress | aPos = ScAddress() |
||
) |
Definition at line 5355 of file formulacell.cxx.
References aPos, BCA_LISTEN_ALWAYS, ScDocument::EndListeningArea(), ScDocument::EndListeningCell(), GetCode(), formula::FormulaTokenArrayPlainIterator::GetNextReferenceRPN(), formula::FormulaToken::GetSingleRef(), formula::FormulaToken::GetType(), SvtListener::HasBroadcaster(), ScDocument::IsClipOrUndo(), IsInChangeTrack(), ScAddress::IsValid(), rDocument, ScDocument::SetDetectiveDirty(), svDoubleRef, svSingleRef, and ScSingleRefData::toAbs().
Referenced by CompileTokenArray(), ScColumn::DeleteContent(), ScColumn::DetachFormulaCell(), ScColumn::EndListeningGroup(), ScColumn::EndListeningIntersectedGroup(), ScColumn::EndListeningIntersectedGroups(), HandleStuffAfterParallelCalculation(), InterpretTail(), Notify(), sc::SharedFormulaUtil::splitFormulaCellGroup(), UpdateDeleteTab(), UpdateGrow(), UpdateInsertTab(), UpdateMoveTab(), UpdateReferenceOnMove(), UpdateReferenceOnShift(), and UpdateTranspose().
void ScFormulaCell::EndListeningTo | ( | sc::EndListeningContext & | rCxt | ) |
Definition at line 5402 of file formulacell.cxx.
References BCA_LISTEN_ALWAYS, ScDocument::EndListeningArea(), ScDocument::EndListeningCell(), sc::EndListeningContext::getDoc(), formula::FormulaTokenArrayPlainIterator::GetNextReferenceRPN(), sc::EndListeningContext::getOldCode(), sc::EndListeningContext::getOldPosition(), formula::FormulaToken::GetSingleRef(), formula::FormulaToken::GetType(), SvtListener::HasBroadcaster(), ScDocument::IsClipOrUndo(), IsInChangeTrack(), formula::FormulaTokenArray::IsRecalcModeAlways(), ScAddress::IsValid(), pCode, rDocument, ScDocument::SetDetectiveDirty(), svDoubleRef, svSingleRef, and ScSingleRefData::toAbs().
void ScFormulaCell::FindRangeNamesInUse | ( | sc::UpdatedRangeNames & | rIndexes | ) | const |
Definition at line 3930 of file formulacell.cxx.
References lcl_FindRangeNamesInUse(), pCode, and rDocument.
|
inline |
Definition at line 455 of file formulacell.hxx.
Referenced by CompileXML(), ScGroupTokenConverter::convert(), ScColumn::EndListeningIntersectedGroup(), ScColumn::EndListeningIntersectedGroups(), sc::SharedFormulaUtil::getSharedTopFormulaCell(), sc::SharedFormulaUtil::joinFormulaCells(), lcl_GetTopCell(), lcl_probeLeftOrRightFGs(), sc::SharedFormulaUtil::splitFormulaCellGroup(), sc::SharedFormulaUtil::startListeningAsGroup(), and sc::SharedFormulaUtil::unshareFormulaCell().
|
inline |
Definition at line 344 of file formulacell.hxx.
Referenced by ScDocument::CalcFormulaTree(), ScDocument::ClearFormulaTree(), ScColumn::CloneFormulaCell(), CompileXML(), EndListeningTo(), ScViewFunc::EnterData(), ScCellShell::ExecuteFillSingleEdit(), ImportExcel::Formula(), ScCellRangeObj::getArrayTokens(), XclExpChTrCellContent::GetCellData(), ScCellObj::getTokens(), sc::FormulaLogger::GroupScope::Impl::Impl(), ScCompiler::IsColRowName(), ScCompiler::IsTableRefColumn(), lcl_IsAutoSumData(), lcl_probeLeftOrRightFGs(), lcl_WriteCell(), ScColumn::ParseString(), ScDocument::PutInFormulaTree(), ScChangeActionContent::PutValueToDoc(), ScDocument::RemoveFromFormulaTree(), XclExpFormulaCell::SaveXml(), ScFormulaListener::ScFormulaListener(), ScDocumentImport::setAutoInput(), ScDocumentImport::setFormulaCell(), ScDocumentImport::setMatrixCells(), sc::CopyFromClipContext::setSingleCell(), ImportExcel::Shrfmla(), sc::SharedFormulaUtil::startListeningAsGroup(), StartListeningTo(), ScDocument::TrackFormulas(), ScChangeActionContent::UpdateReference(), and XclExpFormulaCell::XclExpFormulaCell().
|
inline |
Definition at line 345 of file formulacell.hxx.
|
inline |
Definition at line 236 of file formulacell.hxx.
Referenced by ScDocument::CalcFormulaTree(), ScColumn::CopyCellToDocument(), ScColumn::CopyStaticToDocument(), ScOutputData::FindChanged(), ScDetectiveFunc::FindPredLevel(), ScDetectiveFunc::FindSuccLevel(), ScDetectiveFunc::InsertErrorLevel(), ScDetectiveFunc::InsertPredLevel(), ScDetectiveFunc::InsertSuccLevel(), ScConditionEntry::Interpret(), ScColumn::IsFormulaDirty(), and lcl_CreateInterpretProgress().
|
inline |
Definition at line 366 of file formulacell.hxx.
Referenced by ScChangeActionContent::GetFormulaString(), ScCellFormat::GetString(), sc::SharedFormulaUtil::joinFormulaCells(), and sc::SharedFormulaUtil::splitFormulaCellGroup().
FormulaError ScFormulaCell::GetErrCode | ( | ) |
Definition at line 2972 of file formulacell.cxx.
References aResult, formula::FormulaTokenArray::GetCodeError(), ScFormulaResult::GetResultError(), MaybeInterpret(), and pCode.
Referenced by ScDocShell::AsciiSave(), ScChart2DataSequence::BuildDataCache(), ScFunctionAccess::callFunction(), ScTable::CompareCell(), convertToToken(), ScColumn::CopyStaticToDocument(), ScInterpreter::GetCellErrCode(), ScInterpreter::GetCellNumberFormat(), ScInterpreter::GetCellString(), ScInterpreter::GetCellValueOrZero(), ScDBQueryDataIterator::DataAccessInternal::getCurrent(), ScCellIterator::getCurrent(), ScCellObj::getError(), ScCellFormat::GetInputString(), ScHorizontalValueIterator::GetNext(), ScCellObj::GetResultType_Impl(), ScValidationData::GetSelectionFromFormula(), ScCellShell::GetState(), ScCellFormat::GetString(), ScDocument::GetStringForFormula(), ScDetectiveFunc::HasError(), ScRefCellValue::hasError(), ScConditionEntry::IsError(), lcl_HasErrors(), ScCellRangesBase::queryFormulaCells(), XclExpFormulaCell::SaveXml(), ScFormatFilterPluginImpl::ScExportDif(), ScInterpreter::ScMatRef(), ScInterpreter::ScMatValue(), sc::CopyFromClipContext::setSingleCell(), ScDrawStringsVars::SetTextToWidthOrHash(), ScDocument::Solver(), ScTransferObj::StripRefs(), ScXMLExport::WriteCell(), and XclExpFormulaCell::WriteContents().
bool ScFormulaCell::GetErrorOrValue | ( | FormulaError & | rErr, |
double & | rVal | ||
) |
Definition at line 2993 of file formulacell.cxx.
References aResult, formula::FormulaTokenArray::GetCodeError(), ScFormulaResult::GetErrorOrDouble(), MaybeInterpret(), and pCode.
Referenced by ScValueIterator::GetThis().
|
inline |
Definition at line 243 of file formulacell.hxx.
Referenced by XclExpFormulaCell::WriteContents(), and XclExpFormulaCell::XclExpFormulaCell().
void ScFormulaCell::GetFormula | ( | OUString & | rFormula, |
const formula::FormulaGrammar::Grammar | eGrammar = formula::FormulaGrammar::GRAM_DEFAULT , |
||
const ScInterpreterContext * | pContext = nullptr |
||
) | const |
Definition at line 1027 of file formulacell.cxx.
Referenced by ScDocShell::AsciiSave(), ScImportExport::Doc2Sylk(), ScImportExport::Doc2Text(), ScViewFunc::DoRefConversion(), ScCellRangeObj::getArrayFormula(), GetFormula(), ScTabViewShell::GetFormula(), ScColumn::GetFormula(), ScChangeActionContent::GetFormulaString(), ScCellFormat::GetString(), ScChangeActionContent::GetStringOfCell(), lcl_GetInputString(), ScInterpreter::ScFormula(), ScTable::SearchCell(), ScXMLChangeTrackingImportHelper::SetNewCell(), ScTabViewShell::UpdateInputHandler(), ScXMLExport::WriteCell(), and ScChangeTrackingExportHelper::WriteFormulaCell().
void ScFormulaCell::GetFormula | ( | OUStringBuffer & | rBuffer, |
const formula::FormulaGrammar::Grammar | eGrammar = formula::FormulaGrammar::GRAM_DEFAULT , |
||
const ScInterpreterContext * | pContext = nullptr |
||
) | const |
Definition at line 972 of file formulacell.cxx.
References cMatrixFlag, formula::FormulaCompiler::CreateStringFromTokenArray(), formula::FormulaTokenArray::GetCodeError(), ScGlobal::GetErrorString(), GetFormula(), ScDocument::GetFormulaCell(), formula::FormulaTokenArray::GetLen(), formula::FormulaTokenArrayPlainIterator::GetNextReferenceRPN(), formula::FormulaToken::GetSingleRef(), NONE, p, pCode, rDocument, Reference, ScSingleRefData::toAbs(), and ScDocument::ValidAddress().
OUString ScFormulaCell::GetFormula | ( | sc::CompileFormulaContext & | rCxt, |
const ScInterpreterContext * | pContext = nullptr |
||
) | const |
Definition at line 1035 of file formulacell.cxx.
References aBuf, formula::FormulaTokenArray::AddToken(), cMatrixFlag, formula::FormulaCompiler::CreateStringFromTokenArray(), formula::FormulaTokenArray::GetCodeError(), sc::CompileFormulaContext::getDoc(), GetFormula(), ScDocument::GetFormulaCell(), formula::FormulaTokenArray::GetLen(), formula::FormulaTokenArrayPlainIterator::GetNextReferenceRPN(), formula::FormulaToken::GetSingleRef(), NONE, p, pCode, rDocument, Reference, ScSingleRefData::toAbs(), and ScDocument::ValidAddress().
size_t ScFormulaCell::GetHash | ( | ) | const |
Definition at line 962 of file formulacell.cxx.
References ScTokenArray::GetHash(), and pCode.
Referenced by CompareByTokenArray(), and ScColumn::GetFormulaHash().
const OUString & ScFormulaCell::GetHybridFormula | ( | ) | const |
Definition at line 2683 of file formulacell.cxx.
References aResult, and ScFormulaResult::GetHybridFormula().
Definition at line 2405 of file formulacell.cxx.
References aResult, ScMatrixFormulaCellToken::GetMatColsRows(), and ScFormulaResult::GetMatrixFormulaCellToken().
Referenced by ScColumn::CloneFormulaCell(), ScImportExport::Doc2Sylk(), GetMatrixEdge(), ScDocument::GetMatrixFormulaRange(), ScChangeActionContent::GetRefString(), ScColumn::HasSelectionMatrixFragment(), ScChangeTrack::IsMatrixFormulaRangeDifferent(), ScDocShell::MergeDocument(), ScChangeActionContent::PutValueToDoc(), XclExpFormulaCell::SaveXml(), ScTable::SearchCell(), ScChangeTrack::SelectContent(), ScXMLChangeTrackingImportHelper::SetNewCell(), ScChangeTrackingExportHelper::WriteFormulaCell(), and XclExpFormulaCell::XclExpFormulaCell().
const ScMatrix * ScFormulaCell::GetMatrix | ( | ) |
Definition at line 2821 of file formulacell.cxx.
References aResult, bDirty, cMatrixFlag, Formula, ScDocument::GetAutoCalc(), ScFormulaResult::GetMatrix(), Interpret(), IsDirtyOrInTableOpDirty(), and rDocument.
Referenced by ScFunctionAccess::callFunction(), ScValidationData::GetSelectionFromFormula(), ScInterpreter::ScMatRef(), and ScInterpreter::ScMatValue().
sc::MatrixEdge ScFormulaCell::GetMatrixEdge | ( | const ScDocument & | rDoc, |
ScAddress & | rOrgPos | ||
) | const |
Definition at line 2861 of file formulacell.cxx.
References sc::Bottom, cMatrixFlag, ScAddress::Col(), COL_VALID, ScAddress::Format(), Formula, ScDocument::GetFormulaCell(), GetMatColsRows(), GetMatrixOrigin(), ScAddress::IncCol(), ScAddress::IncRow(), sc::Inside, sc::Left, sc::Nothing, rDocument, Reference, sc::Right, ScAddress::Row(), ROW_VALID, SAL_WARN, SetMatColsRows(), and sc::Top.
Referenced by ScColumn::GetBlockMatrixEdges(), ScDocument::GetMatrixFormulaRange(), and ScColumn::HasSelectionMatrixFragment().
|
inline |
Definition at line 343 of file formulacell.hxx.
Referenced by CalcAfterLoad(), ScColumn::CloneFormulaCell(), CompareByTokenArray(), ScFormulaCellGroup::compileCode(), ScImportExport::Doc2Sylk(), ScViewFunc::DoRefConversion(), ScTable::FillFormula(), ScColumn::GetBlockMatrixEdges(), ScChangeActionContent::GetContentCellType(), ScColumn::HasSelectionMatrixFragment(), ScChangeTrack::IsMatrixFormulaRangeDifferent(), ScDocShell::MergeDocument(), XclExpFormulaCell::SaveXml(), ScTable::SearchCell(), ScXMLChangeTrackingImportHelper::SetNewCell(), ScChangeTrackingExportHelper::WriteFormulaCell(), and XclExpFormulaCell::XclExpFormulaCell().
bool ScFormulaCell::GetMatrixOrigin | ( | const ScDocument & | rDoc, |
ScAddress & | rPos | ||
) | const |
Definition at line 2833 of file formulacell.cxx.
References aPos, cMatrixFlag, Formula, formula::FormulaTokenArrayPlainIterator::GetNextReferenceRPN(), formula::FormulaToken::GetSingleRef(), pCode, Reference, t, ScSingleRefData::toAbs(), and ScDocument::ValidAddress().
Referenced by ScChangeTrack::Dependencies(), ScImportExport::Doc2Sylk(), ScTable::FillFormula(), ScCellRangeObj::getArrayFormula(), ScCellRangeObj::getArrayTokens(), GetMatrixEdge(), ScDocument::GetMatrixFormulaRange(), lcl_IsEditableMatrix(), and ScXMLTableRowCellContext::PutTextCell().
|
inline |
Definition at line 354 of file formulacell.hxx.
Referenced by ScDocument::CalcFormulaTree(), ScDocument::ClearFormulaTree(), and ScDocument::RemoveFromFormulaTree().
|
inline |
Definition at line 358 of file formulacell.hxx.
Referenced by ScDocument::RemoveFromFormulaTrack(), and ScDocument::TrackFormulas().
|
inline |
Definition at line 353 of file formulacell.hxx.
Referenced by ScDocument::CalcFormulaTree(), ScDocument::IsInFormulaTree(), and ScDocument::RemoveFromFormulaTree().
|
inline |
Definition at line 357 of file formulacell.hxx.
Referenced by ScDocument::IsInFormulaTrack(), and ScDocument::RemoveFromFormulaTrack().
FormulaError ScFormulaCell::GetRawError | ( | ) | const |
Definition at line 2985 of file formulacell.cxx.
References aResult, formula::FormulaTokenArray::GetCodeError(), ScFormulaResult::GetResultError(), and pCode.
svl::SharedString ScFormulaCell::GetRawString | ( | ) | const |
Get a string value without potentially triggering re-calculation.
Definition at line 2812 of file formulacell.cxx.
References aResult, formula::FormulaTokenArray::GetCodeError(), svl::SharedString::getEmptyString(), ScFormulaResult::GetResultError(), ScFormulaResult::GetString(), and pCode.
Referenced by GetString().
double ScFormulaCell::GetRawValue | ( | ) | const |
Get a numeric value without potentially triggering re-calculation.
Definition at line 2804 of file formulacell.cxx.
References aResult, formula::FormulaTokenArray::GetCodeError(), ScFormulaResult::GetDouble(), ScFormulaResult::GetResultError(), and pCode.
Referenced by ScRefCellValue::getRawValue(), and GetValue().
sc::FormulaResultValue ScFormulaCell::GetResult | ( | ) |
Definition at line 3004 of file formulacell.cxx.
References aResult, formula::FormulaTokenArray::GetCodeError(), ScFormulaResult::GetResult(), MaybeInterpret(), and pCode.
Referenced by XclXmlUtils::GetFormulaTypeAndValue().
sc::FormulaResultValue ScFormulaCell::GetResult | ( | ) | const |
Definition at line 3015 of file formulacell.cxx.
References aResult, formula::FormulaTokenArray::GetCodeError(), ScFormulaResult::GetResult(), and pCode.
Definition at line 1094 of file formulacell.cxx.
References aResult, formula::FormulaTokenArray::GetCodeError(), ScMatrix::GetDimensions(), ScFormulaResult::GetToken(), ScFormulaResult::GetType(), MaybeInterpret(), pCode, and svMatrixCell.
Referenced by ScViewFunc::EnterMatrix().
svl::SharedString ScFormulaCell::GetResultString | ( | ) | const |
Definition at line 2619 of file formulacell.cxx.
References aResult, and ScFormulaResult::GetString().
Referenced by ScXMLExport::WriteMultiLineFormulaResult().
|
inline |
Definition at line 257 of file formulacell.hxx.
Referenced by Interpret().
|
inline |
Definition at line 485 of file formulacell.hxx.
Referenced by ScRecursionHelper::AnyCycleMemberInDependencyEvalMode(), lcl_EvalDirty(), and ScRecursionHelper::PushFormulaGroup().
ScTokenArray * ScFormulaCell::GetSharedCode | ( | ) |
Definition at line 5490 of file formulacell.cxx.
Referenced by XclExpShrfmlaBuffer::CreateOrExtendShrfmla(), and GetWeight().
const ScTokenArray * ScFormulaCell::GetSharedCode | ( | ) | const |
Definition at line 5495 of file formulacell.cxx.
SCROW ScFormulaCell::GetSharedLength | ( | ) | const |
Definition at line 5467 of file formulacell.cxx.
Referenced by ScColumn::AttachNewFormulaCells(), ScColumn::DetachFormulaCell(), ScColumn::DetachFormulaCells(), ScColumn::EndListeningIntersectedGroup(), GetWeight(), sc::FormulaLogger::GroupScope::Impl::Impl(), InterpretFormulaGroupOpenCL(), lcl_AddFormulaGroupBoundaries(), sc::SharedFormulaUtil::startListeningAsGroup(), and sc::SharedFormulaUtil::unshareFormulaCell().
SCROW ScFormulaCell::GetSharedTopRow | ( | ) | const |
Definition at line 5462 of file formulacell.cxx.
Referenced by ScColumn::AttachNewFormulaCells(), ScColumn::DetachFormulaCell(), ScColumn::DetachFormulaCells(), ScColumn::EndListeningIntersectedGroup(), lcl_AddFormulaGroupBoundaries(), sc::SharedFormulaUtil::splitFormulaCellGroup(), and sc::SharedFormulaUtil::unshareFormulaCell().
svl::SharedString ScFormulaCell::GetString | ( | ) |
Definition at line 2798 of file formulacell.cxx.
References GetRawString(), and MaybeInterpret().
Referenced by ScDocShell::AsciiSave(), ScFunctionAccess::callFunction(), convertToToken(), ScColumn::CopyStaticToDocument(), ScValidationData::DoMacro(), ScValidationData::DoScript(), ScInterpreter::GetCellString(), ScInterpreter::GetCellValueOrZero(), ScDBQueryDataIterator::DataAccessInternal::getCurrent(), ScGridWindow::GetEditUrl(), XclXmlUtils::GetFormulaTypeAndValue(), ScCellFormat::GetInputString(), ScValidationData::GetSelectionFromFormula(), ScCellFormat::GetString(), ScDocument::GetStringForFormula(), GetURLResult(), ScConditionEntry::Interpret(), ScValidationData::IsDataValid(), lcl_GetCellContent(), ScColumn::ResolveStaticReference(), ScFormatFilterPluginImpl::ScExportDif(), ScInterpreter::ScMatRef(), sc::CopyFromClipContext::setSingleCell(), ScTransferObj::StripRefs(), XclExpFormulaCell::WriteContents(), ScChangeTrackingExportHelper::WriteFormulaCell(), and XclExpFormulaCell::XclExpFormulaCell().
void ScFormulaCell::GetURLResult | ( | OUString & | rURL, |
OUString & | rCellText | ||
) |
Definition at line 2689 of file formulacell.cxx.
References aResult, ScDocument::GetFormatTable(), ScFormulaResult::GetMatrix(), ScDocument::GetNumberFormat(), SvNumberFormatter::GetOutputString(), ScGlobal::GetStandardFormat(), svl::SharedString::getString(), GetString(), GetValue(), IsValue(), and rDocument.
Referenced by CreateURLObject(), lcl_DoHyperlinkResult(), and ScHTMLExport::WriteCell().
double ScFormulaCell::GetValue | ( | ) |
Definition at line 2792 of file formulacell.cxx.
References GetRawValue(), and MaybeInterpret().
Referenced by ScQueryCellIterator::BinarySearch(), ScChart2DataSequence::BuildDataCache(), ScFunctionAccess::callFunction(), convertToToken(), ScColumn::CopyStaticToDocument(), ScValidationData::DoMacro(), ScValidationData::DoScript(), ScTable::FillSeries(), ScTable::GetAutoFillPreview(), ScInterpreter::GetCellString(), ScInterpreter::GetCellValueOrZero(), ScDBQueryDataIterator::DataAccessInternal::getCurrent(), ScCellFormat::GetInputString(), ScHorizontalValueIterator::GetNext(), ScValidationData::GetSelectionFromFormula(), ScCellFormat::GetString(), ScDocument::GetStringForFormula(), GetURLResult(), ScRefCellValue::getValue(), ScColumn::GetValue(), ScConditionEntry::Interpret(), InterpretTail(), ScValidationData::IsDataValid(), lcl_GetCellContent(), ScColumn::ResolveStaticReference(), ScInterpreter::ScMatRef(), sc::CopyFromClipContext::setSingleCell(), ScDocument::Solver(), ScTransferObj::StripRefs(), ScHTMLExport::WriteCell(), XclExpFormulaCell::WriteContents(), and ScChangeTrackingExportHelper::WriteFormulaCell().
ScFormulaVectorState ScFormulaCell::GetVectorState | ( | ) | const |
Definition at line 967 of file formulacell.cxx.
References ScTokenArray::GetVectorState(), and pCode.
Referenced by ScColumn::GetFormulaVectorState().
sal_Int32 ScFormulaCell::GetWeight | ( | ) | const |
Definition at line 5472 of file formulacell.cxx.
References GetSharedCode(), GetSharedLength(), ScTokenArray::GetWeight(), and SAL_MAX_INT32.
Referenced by InterpretFormulaGroup(), and lcl_probeLeftOrRightFGs().
void ScFormulaCell::HandleStuffAfterParallelCalculation | ( | ScInterpreter * | pInterpreter | ) |
Definition at line 2341 of file formulacell.cxx.
References aPos, BCA_LISTEN_ALWAYS, ScDocument::EndListeningArea(), EndListeningTo(), formula::FormulaTokenArray::GetCodeLen(), ScDocument::GetNonThreadedContext(), ScInterpreter::GetVolatileType(), ScInterpreter::Init(), formula::FormulaTokenArray::IsRecalcModeAlways(), ScInterpreter::NOT_VOLATILE, pCode, ScDocument::PutInFormulaTree(), rDocument, ScDocument::RemoveFromFormulaTree(), formula::FormulaTokenArray::SetExclusiveRecalcModeAlways(), formula::FormulaTokenArray::SetExclusiveRecalcModeNormal(), StartListeningTo(), and ScInterpreter::VOLATILE_MACRO.
Referenced by ScColumn::HandleStuffAfterParallelCalculation().
bool ScFormulaCell::HasHybridStringResult | ( | ) | const |
Definition at line 2624 of file formulacell.cxx.
References aResult, ScFormulaResult::GetString(), ScFormulaResult::GetType(), svl::SharedString::isEmpty(), and formula::svHybridCell.
bool ScFormulaCell::HasOneReference | ( | ScRange & | r | ) | const |
Definition at line 3024 of file formulacell.cxx.
References ScRange::aEnd, ScRange::aStart, formula::FormulaTokenArrayPlainIterator::GetNextReferenceRPN(), pCode, rDocument, SingleDoubleRefProvider::Ref1, SingleDoubleRefProvider::Ref2, and ScSingleRefData::toAbs().
Referenced by HasRefListExpressibleAsOneReference(), and ScTable::RefVisible().
bool ScFormulaCell::HasRefListExpressibleAsOneReference | ( | ScRange & | rRange | ) | const |
Definition at line 3040 of file formulacell.cxx.
References formula::FormulaTokenArrayPlainIterator::GetNextReferenceRPN(), HasOneReference(), formula::FormulaToken::IsFunction(), formula::FormulaTokenArrayPlainIterator::NextRPN(), pCode, and rDocument.
Referenced by ScTable::DoAutoOutline().
ScFormulaCell::RelNameRef ScFormulaCell::HasRelNameReference | ( | ) | const |
Definition at line 3092 of file formulacell.cxx.
References DOUBLE, formula::FormulaToken::GetDoubleRef(), formula::FormulaTokenArrayPlainIterator::GetNextReferenceRPN(), formula::FormulaToken::GetSingleRef(), formula::FormulaToken::GetType(), ScSingleRefData::IsRelName(), NONE, pCode, ScComplexRefData::Ref1, ScComplexRefData::Ref2, SINGLE, formula::svDoubleRef, formula::svSingleRef, and t.
Referenced by UpdateReferenceOnMove(), and UpdateReferenceOnShift().
Definition at line 1525 of file formulacell.cxx.
References ScRecursionHelper::AbortDependencyComputation(), ScRecursionHelper::AnyCycleMemberInDependencyEvalMode(), ScRecursionHelper::AnyParentFGInCycle(), ScRecursionHelper::AreGroupsIndependent(), aResult, bChanged, bDirty, bIsIterCell, bRunning, ScRecursionHelper::CheckFGIndependence(), ScRecursionHelper::Clear(), ScDocument::DecInterpretLevel(), ScRecursionHelper::EndIteration(), ForceCalculationCore, ForceCalculationNone, ScRecursionHelper::GetConvergingReference(), ScRecursionHelper::GetDepComputeLevel(), ScDocument::GetDocOptions(), ScFormulaResult::GetDouble(), ScCalcConfig::getForceCalculationType(), ScDocument::GetFormatTable(), ScRecursionHelper::GetIteration(), ScRecursionHelper::GetIterationEnd(), ScRecursionHelper::GetIterationStart(), ScDocOptions::GetIterCount(), ScRecursionHelper::GetLastIterationStart(), ScRecursionHelper::GetList(), ScRecursionHelper::GetRecursionCount(), ScDocument::GetRecursionHelper(), ScRecursionHelper::GetRecursionInIterationStack(), ScFormulaResult::GetResultError(), GetSeenInIteration(), ScFormulaResult::GetString(), ScDocument::IncInterpretLevel(), ScRecursionHelper::IncIteration(), ScRecursionHelper::Insert(), InterpretFormulaGroup(), InterpretTail(), ScRecursionHelper::IsAbortingDependencyComputation(), IsDirtyOrInTableOpDirty(), ScRecursionHelper::IsDoingIteration(), ScRecursionHelper::IsDoingRecursion(), ScDocument::IsInDdeLinkUpdate(), ScRecursionHelper::IsInIterationReturn(), ScRecursionHelper::IsInRecursionReturn(), ScRecursionHelper::IsInReturn(), ScDocOptions::IsIter(), IsIterCell(), ScFormulaResult::IsValue(), mbSeenInPath, mxGroup, nSeenInIteration, rDocument, ResetDirty(), ScRecursionHelper::ResumeIteration(), SCITP_CLOSE_ITERATION_CIRCLE, SCITP_FROM_ITERATION, SCITP_NORMAL, ScRecursionHelper::SetDoingRecursion(), ScRecursionHelper::SetInIterationReturn(), ScRecursionHelper::SetInRecursionReturn(), ScFormulaResult::SetResultError(), and ScRecursionHelper::StartIteration().
Referenced by ScDocument::CalcFormulaTree(), ScColumn::CopyCellToDocument(), ScColumn::CopyStaticToDocument(), ScDetectiveFunc::FindPredLevel(), ScDetectiveFunc::FindSuccLevel(), GetMatrix(), ScValidationData::GetSelectionFromFormula(), ScDetectiveFunc::InsertErrorLevel(), ScDetectiveFunc::InsertPredLevel(), ScDetectiveFunc::InsertSuccLevel(), lcl_InterpretSpan(), ScDocFunc::SetFormulaCell(), and ScDocument::Solver().
Definition at line 4591 of file formulacell.cxx.
References sc::FormulaLogger::enterGroup(), ForceCalculationCore, ForceCalculationNone, ForceCalculationOpenCL, ForceCalculationThreads, sc::FormulaLogger::get(), ScCalcConfig::getForceCalculationType(), ScDocument::GetFormulaCell(), ScInterpreter::GetGlobalConfig(), ScDocument::GetRecursionHelper(), GetWeight(), sc::GroupCalcDisabled, InterpretFormulaGroupOpenCL(), InterpretFormulaGroupThreading(), NONE, pCode, and rDocument.
Referenced by Interpret().
|
private |
Definition at line 4966 of file formulacell.cxx.
References sc::FormulaLogger::GroupScope::addMessage(), CheckComputeDependencies(), formula::FormulaCompiler::CompileTokenArray(), ScGroupTokenConverter::convert(), FormulaVectorCheckReference, FormulaVectorDisabled, FormulaVectorDisabledByOpCode, FormulaVectorDisabledByStackVariable, FormulaVectorDisabledNotInSubSet, FormulaVectorEnabled, FormulaVectorUnknown, GetSharedLength(), sc::FormulaGroupInterpreter::getStatic(), ScTokenArray::GetVectorState(), openclwrapper::gpuEnv, formula::FormulaGrammar::GRAM_UNSPECIFIED, sc::GroupCalcDisabled, sc::GroupCalcEnabled, sc::GroupCalcRunning, ScCompiler::HasUnhandledPossibleImplicitIntersections(), i, ScAddress::IncRow(), sc::FormulaGroupInterpreter::interpret(), InterpretInvariantFormulaGroup(), ScTokenArray::IsEnabledForOpenCL(), ScDocument::IsInInterpreterTableOp(), ScCalcConfig::isOpenCLEnabled(), mxGroup, NONE, pCode, rDocument, SAL_INFO, sc::FormulaLogger::GroupScope::setCalcComplete(), and ScCompiler::UnhandledPossibleImplicitIntersectionsOpCodes().
Referenced by InterpretFormulaGroup().
|
private |
Definition at line 4801 of file formulacell.cxx.
References ScCheckIndependentFGGuard::AreGroupsIndependent(), assert(), bHyperThreadingActive, ScDocument::CalculateInColumnInThread(), CheckComputeDependencies(), ScAddress::Col(), CORE, comphelper::ThreadPool::createThreadTaskTag(), ScInterpreterContext::GetFormatTable(), ScThreadedInterpreterContextGetterGuard::GetInterpreterContextForThreadIdx(), ScDocument::GetNonThreadedContext(), ScDocument::GetRecursionHelper(), comphelper::ThreadPool::getSharedOptimalPool(), comphelper::ThreadPool::getWorkerCount(), ScDocument::HandleStuffAfterParallelCalculation(), ScRecursionHelper::HasFormulaGroupSet(), cpuid::hasHyperThreading(), i, o3tl::sorted_vector< Value, Compare, Find, class >::insert(), ScTokenArray::IsEnabledForThreading(), ScDocument::IsInDocShellRecalc(), ScDocument::IsThreadedGroupCalcInProgress(), ScCalcConfig::isThreadingEnabled(), lcl_probeLeftOrRightFGs(), ScDocument::MergeContextBackIntoNonThreadedContext(), mpContext, pCode, ScInterpreterContext::pInterpreter, comphelper::ThreadPool::pushTask(), rDocument, ScAddress::Row(), SAL_INFO, ScAddress::SetRow(), ScDocument::SetThreadedGroupCalcInProgress(), ScDocument::SetupContextFromNonThreadedContext(), ScAddress::Tab(), and comphelper::ThreadPool::waitUntilDone().
Referenced by InterpretFormulaGroup().
|
private |
Definition at line 5138 of file formulacell.cxx.
References formula::FormulaTokenArray::AddToken(), aPos, aResult, formula::FormulaCompiler::CompileTokenArray(), formula::FormulaTokenArrayPlainIterator::First(), FormulaVectorCheckReference, ScDocument::GetFormulaCell(), ScDocument::GetGrammar(), ScDocument::GetNonThreadedContext(), ScTokenArray::GetVectorState(), i, ScInterpreter::Interpret(), formula::FormulaTokenArrayPlainIterator::Next(), NONE, pCode, rDocument, ResetDirty(), ScDocument::ResolveStaticReference(), SAL_WARN, SetChanged(), ScAddress::SetRow(), ScFormulaResult::SetToken(), svDoubleRef, svSingleRef, ScSingleRefData::toAbs(), and ScComplexRefData::toAbs().
Referenced by InterpretFormulaGroupOpenCL().
void ScFormulaCell::InterpretTail | ( | ScInterpreterContext & | rContext, |
ScInterpretTailParameter | eTailParam | ||
) |
Definition at line 1891 of file formulacell.cxx.
References aResult, ScFormulaResult::Assign(), ATTR_VALIDDATA(), BCA_LISTEN_ALWAYS, bChanged, bIsIterCell, bRunning, cMatrixFlag, ScAddress::Col(), CompileTokenArray(), data, ScValidationData::DoCalcError(), ScProgress::Enabled(), ScDocument::EndListeningArea(), EndListeningTo(), Formula, ScDocument::GetAttr(), ScFormulaResult::GetCellResultToken(), ScFormulaResult::GetCellResultType(), formula::FormulaTokenArray::GetCodeError(), formula::FormulaTokenArray::GetCodeLen(), ScDocument::GetDocOptions(), ScFormulaResult::GetDouble(), GetDoubleErrorValue(), ScInterpreter::GetError(), ScInterpreterContext::GetFormatTable(), ScDocument::GetFormulaCodeInTree(), ScFormulaResult::GetHybridFormula(), ScProgress::GetInterpretProgress(), ScRecursionHelper::GetIteration(), ScDocOptions::GetIterCount(), ScDocOptions::GetIterEps(), formula::FormulaTokenArray::GetLen(), ScFormulaResult::GetMatrix(), ScDocument::GetNumberFormat(), ScInterpreter::GetNumResult(), ScDocument::GetRecursionHelper(), ScFormulaResult::GetResultError(), ScInterpreter::GetResultToken(), ScInterpreter::GetResultType(), ScInterpreter::GetRetFormatIndex(), ScInterpreter::GetRetFormatType(), ScGlobal::GetStandardFormat(), ScFormulaResult::GetString(), ScInterpreter::GetStringResult(), SvNumberFormatter::GetType(), ScFormulaResult::GetType(), ScDocument::GetValidationEntry(), GetValue(), ScInterpreter::GetVolatileType(), ScInterpreter::Init(), ScInterpreter::Interpret(), ScRecursionHelper::IsAbortingDependencyComputation(), ScDocOptions::IsCalcAsShown(), SvNumberFormatter::IsCompatible(), ScValidationData::IsDataValid(), IsDirtyOrInTableOpDirty(), formula::FormulaTokenArray::IsHyperLink(), ScRecursionHelper::IsInReturn(), formula::FormulaTokenArray::IsRecalcModeAlways(), formula::FormulaTokenArray::IsRecalcModeForced(), ScDocument::IsStreamValid(), ScDocument::IsThreadedGroupCalcInProgress(), ScFormulaResult::IsValue(), ScInterpreterContext::maDelayedSetNumberFormat, mbAllowNumberFormatChange, mbNeedsNumberFormat, MIN_NO_CODES_PER_PROGRESS_UPDATE, nFormatType, NONE, ScInterpreter::NOT_VOLATILE, nSeenInIteration, NUMBERFORMAT_ENTRY_NOT_FOUND, pCode, pData, ScInterpreterContext::pInterpreter, ScDocument::PutInFormulaTree(), rDocument, Reference, ScDocument::RemoveFromFormulaTree(), ResetDirty(), ScDocument::RoundValueAsShown(), ScAddress::Row(), SCITP_CLOSE_ITERATION_CIRCLE, SCITP_FROM_ITERATION, SCITP_NORMAL, formula::FormulaTokenArray::SetCodeError(), ScFormulaResult::SetDouble(), formula::FormulaTokenArray::SetExclusiveRecalcModeAlways(), formula::FormulaTokenArray::SetExclusiveRecalcModeNormal(), formula::FormulaTokenArray::SetHyperLink(), ScDocument::SetNumberFormat(), ScFormulaResult::SetResultError(), ScProgress::SetStateCountDownOnPercent(), ScDocument::SetStreamValid(), ScFormulaResult::SetToken(), StartListeningTo(), SV_COUNTRY_LANGUAGE_OFFSET, svDouble, svError, svHybridCell, svString, svUnknown, formula::svUnknown, ScAddress::Tab(), ScInterpreter::VOLATILE, and ScInterpreter::VOLATILE_MACRO.
Referenced by ScColumn::CalculateInThread(), and Interpret().
|
inline |
Definition at line 314 of file formulacell.hxx.
Referenced by ScOutputData::FindChanged().
|
inline |
Definition at line 231 of file formulacell.hxx.
References ScDocument::IsInInterpreterTableOp().
Referenced by GetMatrix(), Interpret(), and InterpretTail().
bool ScFormulaCell::IsEmpty | ( | ) |
Definition at line 2753 of file formulacell.cxx.
References aResult, ScFormulaResult::GetCellResultType(), MaybeInterpret(), and formula::svEmptyCell.
Referenced by ScRefCellValue::hasEmptyValue(), ScInterpreter::IsString(), and ScInterpreter::ScIsValue().
bool ScFormulaCell::IsEmptyDisplayedAsString | ( | ) |
Definition at line 2759 of file formulacell.cxx.
References aResult, ScFormulaResult::IsEmptyDisplayedAsString(), and MaybeInterpret().
Referenced by ScCellFormat::GetInputString(), ScCellFormat::GetString(), and sc::CopyFromClipContext::setSingleCell().
bool ScFormulaCell::IsHyperLinkCell | ( | ) | const |
Definition at line 2739 of file formulacell.cxx.
References formula::FormulaTokenArray::IsHyperLink(), and pCode.
Referenced by ScOutputData::LayoutStrings(), lcl_DoHyperlinkResult(), lcl_GetHyperlinkCell(), and ScHTMLExport::WriteCell().
|
inline |
Definition at line 372 of file formulacell.hxx.
Referenced by EndListeningTo(), SetDirty(), SetTableOpDirty(), and StartListeningTo().
|
inline |
Definition at line 256 of file formulacell.hxx.
Referenced by Interpret().
bool ScFormulaCell::IsMultilineResult | ( | ) |
Determines whether or not the result string contains more than one paragraph.
Definition at line 2732 of file formulacell.cxx.
References aResult, ScFormulaResult::IsMultiline(), and IsValue().
Referenced by ScColumn::GetNeededSize(), ScOutputData::LayoutStrings(), sc::CopyFromClipContext::setSingleCell(), ScTransferObj::StripRefs(), ScXMLExport::WriteCell(), and XclExpFormulaCell::XclExpFormulaCell().
|
inline |
Definition at line 482 of file formulacell.hxx.
|
inline |
Definition at line 349 of file formulacell.hxx.
Referenced by ScOutputData::FindChanged(), ScDetectiveFunc::FindPredLevel(), ScDetectiveFunc::FindSuccLevel(), ScColumn::GetNeededSize(), ScCellShell::GetState(), ScCellFormat::GetString(), ScDetectiveFunc::InsertErrorLevel(), ScDetectiveFunc::InsertPredLevel(), ScDetectiveFunc::InsertSuccLevel(), ScConditionEntry::Interpret(), ScOutputData::LayoutStrings(), lcl_SafeIsValue(), and ScInterpreter::ScMatRef().
bool ScFormulaCell::IsShared | ( | ) | const |
Definition at line 5449 of file formulacell.cxx.
Referenced by ScColumn::AttachNewFormulaCells(), ScColumn::DetachFormulaCell(), sc::SharedFormulaUtil::getSharedTopFormulaCell(), lcl_AddFormulaGroupBoundaries(), Notify(), Query(), ScDocument::SetString(), ScDocument::SetValue(), sc::SharedFormulaUtil::splitFormulaCellGroup(), and sc::SharedFormulaUtil::unshareFormulaCell().
bool ScFormulaCell::IsSharedTop | ( | ) | const |
Definition at line 5454 of file formulacell.cxx.
Referenced by ScColumn::EndListeningIntersectedGroup(), ScColumn::EndListeningIntersectedGroups(), Notify(), and sc::SharedFormulaUtil::startListeningAsGroup().
|
inline |
Definition at line 313 of file formulacell.hxx.
Referenced by ScCellIterator::getCurrent(), ScValueIterator::GetThis(), ScDocument::HasSubTotalCells(), ScTable::Query(), and ScDocument::SetSubTotalCellsDirty().
bool ScFormulaCell::IsValue | ( | ) |
Definition at line 2765 of file formulacell.cxx.
References aResult, ScFormulaResult::IsValue(), and MaybeInterpret().
Referenced by ScDocShell::AsciiSave(), ScChart2DataSequence::BuildDataCache(), ScFunctionAccess::callFunction(), ScTable::CompareCell(), convertToToken(), ScColumn::CopyStaticToDocument(), ScValidationData::DoMacro(), ScValidationData::DoScript(), ScInterpreter::GetCellString(), ScInterpreter::GetCellValueOrZero(), ScCellObj::GetContentType_Impl(), ScDBQueryDataIterator::DataAccessInternal::getCurrent(), ScCellFormat::GetInputString(), ScColumn::GetNeededSize(), ScHorizontalValueIterator::GetNext(), ScCellObj::GetResultType_Impl(), ScValidationData::GetSelectionFromFormula(), ScCellFormat::GetString(), ScDocument::GetStringForFormula(), GetURLResult(), ScColumn::GetValue(), ScConditionEntry::Interpret(), ScValidationData::IsDataValid(), ScInterpreter::IsEven(), IsMultilineResult(), ScInterpreter::IsString(), ScInterpreter::IterateParametersIf(), ScInterpreter::IterateParametersIfs(), ScOutputData::LayoutStrings(), lcl_GetCellContent(), lcl_SafeIsValue(), ScCellRangesBase::queryFormulaCells(), ScColumn::ResolveStaticReference(), ScInterpreter::ScCountIf(), ScFormatFilterPluginImpl::ScExportDif(), ScInterpreter::ScIsValue(), ScInterpreter::ScMatRef(), ScInterpreter::ScT(), sc::CopyFromClipContext::setSingleCell(), ScDrawStringsVars::SetTextToWidthOrHash(), ScTransferObj::StripRefs(), ScXMLExport::WriteCell(), and ScChangeTrackingExportHelper::WriteFormulaCell().
bool ScFormulaCell::IsValueNoError | ( | ) |
Definition at line 2771 of file formulacell.cxx.
References aResult, formula::FormulaTokenArray::GetCodeError(), ScFormulaResult::IsValueNoError(), MaybeInterpret(), and pCode.
bool ScFormulaCell::IsValueNoError | ( | ) | const |
Definition at line 2780 of file formulacell.cxx.
References aResult, formula::FormulaTokenArray::GetCodeError(), ScFormulaResult::IsValueNoError(), NeedsInterpret(), and pCode.
bool ScFormulaCell::MarkUsedExternalReferences | ( | ) |
Definition at line 1458 of file formulacell.cxx.
References ScDocument::MarkUsedExternalReferences(), pCode, and rDocument.
Referenced by ScExternalRefManager::markUsedExternalRefCells().
|
inline |
Definition at line 440 of file formulacell.hxx.
References assert(), and ScDocument::IsThreadedGroupCalcInProgress().
Referenced by GetErrCode(), GetErrorOrValue(), GetResult(), GetResultDimensions(), GetString(), ScColumn::GetString(), GetValue(), IsEmpty(), IsEmptyDisplayedAsString(), IsValue(), and IsValueNoError().
|
inline |
Definition at line 427 of file formulacell.hxx.
References ScDocument::GetAutoCalc(), and NONE.
Referenced by assertNoInterpretNeededHelper(), ScColumn::CalculateInThread(), IsValueNoError(), lcl_InterpretSpan(), and lcl_probeLeftOrRightFGs().
|
inline |
Definition at line 238 of file formulacell.hxx.
|
inline |
Definition at line 242 of file formulacell.hxx.
Reimplemented from SvtListener.
Definition at line 2422 of file formulacell.cxx.
References ScDocument::AddTableOpFormulaCell(), ScDocument::AppendToFormulaTrack(), bDirty, bSubTotal, bTableOpDirty, sc::RefHint::ColumnReordered, EndListeningTo(), sc::RefColReorderHint::getColMap(), sc::RefRowReorderHint::getEndColumn(), sc::RefColReorderHint::getEndRow(), ScDocument::GetHardRecalcState(), SfxHint::GetId(), sc::RefRowReorderHint::getRowMap(), sc::RefRowReorderHint::getStartColumn(), sc::RefColReorderHint::getStartRow(), sc::RefColReorderHint::getTab(), sc::RefRowReorderHint::getTab(), sc::RefHint::getType(), ScDocument::IsInDtorClear(), ScDocument::IsInFormulaTrack(), ScDocument::IsInFormulaTree(), formula::FormulaTokenArray::IsRecalcModeAlways(), IsShared(), IsSharedTop(), ScTokenArray::MoveReferenceColReorder(), ScTokenArray::MoveReferenceRowReorder(), ScDocument::OFF, pCode, rDocument, sc::RefHint::RowReordered, SetDirtyVar(), sc::RefHint::StartListening, StartListeningTo(), and sc::RefHint::StopListening.
|
overridevirtual |
Definition at line 2510 of file formulacell.cxx.
References sc::RefQueryFormulaGroup::add(), SvtListener::QueryBase::getId(), IsShared(), and SC_LISTENER_QUERY_FORMULA_GROUP_POS.
void ScFormulaCell::ResetDirty | ( | ) |
Definition at line 1111 of file formulacell.cxx.
References bDirty, bTableOpDirty, and mbPostponedDirty.
Referenced by ScXMLTableRowCellContext::AddFormulaCell(), Interpret(), InterpretInvariantFormulaGroup(), InterpretTail(), ScXMLTableRowCellContext::PutTextCell(), ScXMLTableRowCellContext::SetFormulaCell(), ScCellObj::setFormulaResult(), and ScColumn::SetFormulaResults().
void ScFormulaCell::ResetTableOpDirtyVar | ( | ) |
Definition at line 2582 of file formulacell.cxx.
References bTableOpDirty.
void ScFormulaCell::SetCellGroup | ( | const ScFormulaCellGroupRef & | xRef | ) |
Definition at line 4006 of file formulacell.cxx.
References mxGroup, and pCode.
Referenced by CompileXML(), sc::SharedFormulaUtil::groupFormulaCells(), sc::SharedFormulaUtil::joinFormulaCells(), sc::SharedFormulaUtil::splitFormulaCellGroup(), and sc::SharedFormulaUtil::unshareFormulaCell().
void ScFormulaCell::SetChanged | ( | bool | b | ) |
Definition at line 3935 of file formulacell.cxx.
References bChanged.
Referenced by InterpretInvariantFormulaGroup(), ScCellObj::setFormulaResult(), and ScColumn::SetFormulaResults().
void ScFormulaCell::SetCode | ( | std::unique_ptr< ScTokenArray > | pNew | ) |
Definition at line 3940 of file formulacell.cxx.
void ScFormulaCell::SetCompile | ( | bool | bVal | ) |
Definition at line 2386 of file formulacell.cxx.
References bCompile.
void ScFormulaCell::SetDirty | ( | bool | bDirtyFlag = true | ) |
Definition at line 2527 of file formulacell.cxx.
References ScDocument::AppendToFormulaTrack(), bDirty, ScDocument::GetHardRecalcState(), ScDocument::IsImportingXML(), IsInChangeTrack(), ScDocument::IsInFormulaTree(), mbPostponedDirty, ScDocument::OFF, rDocument, SetDirtyVar(), ScDocument::SetStreamValid(), ScAddress::Tab(), and ScDocument::TrackFormulas().
Referenced by ScColumn::AttachNewFormulaCell(), ScDocument::CalcFormulaTree(), CompileColRowNameFormula(), CompileDBFormula(), ScDocument::DeleteSelection(), ScDocShell::DoRecalc(), ScTable::InvalidateTextWidth(), ScXMLTableRowCellContext::PutTextCell(), SetMatColsRows(), ScDocument::SetSubTotalCellsDirty(), UpdateGrow(), UpdateReferenceOnCopy(), UpdateReferenceOnMove(), and UpdateTranspose().
void ScFormulaCell::SetDirtyAfterLoad | ( | ) |
Definition at line 2575 of file formulacell.cxx.
References bDirty, ScDocument::GetHardRecalcState(), ScDocument::OFF, ScDocument::PutInFormulaTree(), and rDocument.
void ScFormulaCell::SetDirtyVar | ( | ) |
Definition at line 2561 of file formulacell.cxx.
References bDirty, sc::GroupCalcEnabled, sc::GroupCalcRunning, mbPostponedDirty, and mxGroup.
Referenced by AddRecalcMode(), ScDocument::CalcFormulaTree(), CompileXML(), lcl_InterpretSpan(), Notify(), SetDirty(), and ScDocFunc::SetFormulaCell().
void ScFormulaCell::SetErrCode | ( | FormulaError | n | ) |
Definition at line 2634 of file formulacell.cxx.
References aResult, pCode, formula::FormulaTokenArray::SetCodeError(), and ScFormulaResult::SetResultError().
Referenced by ScViewFunc::EnterData(), ExcelToSc::SetError(), ScColumn::SetError(), and sc::CopyFromClipContext::setSingleCell().
void ScFormulaCell::SetHybridDouble | ( | double | n | ) |
For import only: set a double result.
Definition at line 2662 of file formulacell.cxx.
References aResult, and ScFormulaResult::SetHybridDouble().
Referenced by ImportExcel::ReadBoolErr(), ScXMLTableRowCellContext::SetFormulaCell(), ScCellObj::setFormulaResult(), and XclImpPCItem::WriteToSource().
void ScFormulaCell::SetHybridEmptyDisplayedAsString | ( | ) |
For import only: set an empty cell result to be displayed as empty string.
If for whatever reason you have to use both, SetHybridDouble() and SetHybridEmptyDisplayedAsString() or SetHybridFormula(), use SetHybridDouble() first for performance reasons and use SetHybridEmptyDisplayedAsString() last because SetHybridDouble() and SetHybridString() will override it.
Definition at line 2672 of file formulacell.cxx.
References aResult, and ScFormulaResult::SetHybridEmptyDisplayedAsString().
Referenced by ScXMLTableRowCellContext::SetFormulaCell().
void ScFormulaCell::SetHybridFormula | ( | const OUString & | r, |
const formula::FormulaGrammar::Grammar | eGrammar | ||
) |
For import only: set a temporary formula string to be compiled later.
If for whatever reason you have to use both, SetHybridDouble() and SetHybridString() or SetHybridFormula(), use SetHybridDouble() first for performance reasons.
Definition at line 2677 of file formulacell.cxx.
References aResult, eTempGrammar, and ScFormulaResult::SetHybridFormula().
Referenced by ScCellObj::setFormulaString().
void ScFormulaCell::SetHybridString | ( | const svl::SharedString & | r | ) |
For import only: set a string result.
If for whatever reason you have to use both, SetHybridDouble() and SetHybridString() or SetHybridFormula(), use SetHybridDouble() first for performance reasons.
Definition at line 2667 of file formulacell.cxx.
References aResult, and ScFormulaResult::SetHybridString().
Referenced by ScXMLTableRowCellContext::PutTextCell(), and ScXMLTableRowCellContext::SetFormulaCell().
void ScFormulaCell::SetInChangeTrack | ( | bool | bVal | ) |
Definition at line 2417 of file formulacell.cxx.
References bInChangeTrack.
Referenced by ScChangeActionContent::SetCell(), ScXMLChangeTrackingImportHelper::SetNewCell(), ScChangeActionContent::SetValue(), and ScChangeActionContent::SetValueString().
|
inline |
Definition at line 484 of file formulacell.hxx.
Definition at line 2391 of file formulacell.cxx.
References aResult, ScFormulaResult::GetMatrixFormulaCellTokenNonConst(), SetDirty(), ScMatrixFormulaCellToken::SetMatColsRows(), and ScFormulaResult::SetToken().
Referenced by CalcAfterLoad(), ScFunctionAccess::callFunction(), ScColumn::CloneFormulaCell(), ScMyCellInfo::CreateCell(), ScTable::FillFormula(), GetMatrixEdge(), ScDocument::InsertMatrixFormula(), ScTable::SearchCell(), ScDocumentImport::setMatrixCells(), and ScXMLChangeTrackingImportHelper::SetNewCell().
void ScFormulaCell::SetNeedNumberFormat | ( | bool | bVal | ) |
Definition at line 1119 of file formulacell.cxx.
References mbAllowNumberFormatChange, and mbNeedsNumberFormat.
Referenced by ScTable::DoSubTotals(), ImportExcel::Formula(), ScXMLTableRowCellContext::PutValueCell(), ScColumn::SetFormula(), ScXMLTableRowCellContext::SetFormulaCell(), ScColumn::SetFormulaCell(), and ImportExcel::Shrfmla().
void ScFormulaCell::SetNeedsDirty | ( | bool | bVar | ) |
Definition at line 1114 of file formulacell.cxx.
References mbPostponedDirty.
void ScFormulaCell::SetNeedsListening | ( | bool | bVar | ) |
Definition at line 1112 of file formulacell.cxx.
References bNeedListening.
Referenced by ScColumn::SetNeedsListeningGroup(), sc::SharedFormulaUtil::splitFormulaCellGroup(), sc::SharedFormulaUtil::startListeningAsGroup(), StartListeningTo(), and UpdateReferenceOnShift().
void ScFormulaCell::SetNext | ( | ScFormulaCell * | pF | ) |
Definition at line 3984 of file formulacell.cxx.
References pNext.
Referenced by ScDocument::PutInFormulaTree(), and ScDocument::RemoveFromFormulaTree().
void ScFormulaCell::SetNextTrack | ( | ScFormulaCell * | pF | ) |
Definition at line 3986 of file formulacell.cxx.
References pNextTrack.
Referenced by ScDocument::AppendToFormulaTrack(), and ScDocument::RemoveFromFormulaTrack().
void ScFormulaCell::SetPrevious | ( | ScFormulaCell * | pF | ) |
Definition at line 3983 of file formulacell.cxx.
References pPrevious.
Referenced by ScDocument::PutInFormulaTree(), and ScDocument::RemoveFromFormulaTree().
void ScFormulaCell::SetPreviousTrack | ( | ScFormulaCell * | pF | ) |
Definition at line 3985 of file formulacell.cxx.
References pPreviousTrack.
Referenced by ScDocument::AppendToFormulaTrack(), and ScDocument::RemoveFromFormulaTrack().
void ScFormulaCell::SetResultDouble | ( | double | n | ) |
For import only: set a double result.
Use this instead of SetHybridDouble() if there is no (temporary) formula string because the formula is present as a token array, as it is the case for binary Excel import.
Definition at line 2609 of file formulacell.cxx.
References aResult, and ScFormulaResult::SetDouble().
Referenced by ImportExcel::Formula(), ScColumn::SetFormulaResults(), and ImportExcel::Shrfmla().
void ScFormulaCell::SetResultError | ( | FormulaError | n | ) |
Definition at line 2646 of file formulacell.cxx.
References aResult, and ScFormulaResult::SetResultError().
Referenced by ScColumn::SetFormulaResults().
void ScFormulaCell::SetResultMatrix | ( | SCCOL | nCols, |
SCROW | nRows, | ||
const ScConstMatrixRef & | pMat, | ||
const formula::FormulaToken * | pUL | ||
) |
Definition at line 2629 of file formulacell.cxx.
References aResult, and ScFormulaResult::SetMatrix().
Referenced by ScXMLTableRowCellContext::AddFormulaCell().
void ScFormulaCell::SetResultToken | ( | const formula::FormulaToken * | pToken | ) |
Definition at line 2614 of file formulacell.cxx.
References aResult, and ScFormulaResult::SetToken().
void ScFormulaCell::SetRunning | ( | bool | bVal | ) |
Definition at line 3947 of file formulacell.cxx.
References bRunning.
Referenced by ScDetectiveFunc::FindPredLevel(), ScDetectiveFunc::FindSuccLevel(), ScDetectiveFunc::InsertErrorLevel(), ScDetectiveFunc::InsertPredLevel(), and ScDetectiveFunc::InsertSuccLevel().
|
inline |
Definition at line 486 of file formulacell.hxx.
Referenced by ScRecursionHelper::PopFormulaGroup(), and ScRecursionHelper::PushFormulaGroup().
void ScFormulaCell::SetTableOpDirty | ( | ) |
Definition at line 2587 of file formulacell.cxx.
References ScDocument::AddTableOpFormulaCell(), ScDocument::AppendToFormulaTrack(), bTableOpDirty, ScDocument::GetHardRecalcState(), IsInChangeTrack(), ScDocument::IsInFormulaTree(), ScDocument::OFF, rDocument, and ScDocument::TrackFormulas().
void ScFormulaCell::StartListeningTo | ( | ScDocument & | rDoc | ) |
Definition at line 5242 of file formulacell.cxx.
References BCA_LISTEN_ALWAYS, GetCode(), formula::FormulaTokenArrayPlainIterator::GetNextReferenceRPN(), ScDocument::GetNoListening(), formula::FormulaToken::GetSingleRef(), formula::FormulaToken::GetType(), ScDocument::IsClipOrUndo(), IsInChangeTrack(), formula::FormulaTokenArray::IsRecalcModeAlways(), ScAddress::IsValid(), rDocument, ScDocument::SetDetectiveDirty(), SetNeedsListening(), ScDocument::StartListeningArea(), ScDocument::StartListeningCell(), svDoubleRef, svSingleRef, and ScSingleRefData::toAbs().
Referenced by ScColumn::AttachNewFormulaCell(), ScColumn::AttachNewFormulaCells(), CalcAfterLoad(), CompileTokenArray(), CompileXML(), ScTable::FillFormula(), HandleStuffAfterParallelCalculation(), InterpretTail(), Notify(), ScFormulaCell(), sc::SharedFormulaUtil::startListeningAsGroup(), UpdateGrow(), UpdateReferenceOnMove(), and UpdateTranspose().
void ScFormulaCell::StartListeningTo | ( | sc::StartListeningContext & | rCxt | ) |
Definition at line 5283 of file formulacell.cxx.
References BCA_LISTEN_ALWAYS, GetCode(), sc::StartListeningContext::getDoc(), formula::FormulaTokenArrayPlainIterator::GetNextReferenceRPN(), ScDocument::GetNoListening(), formula::FormulaToken::GetSingleRef(), formula::FormulaToken::GetType(), ScDocument::IsClipOrUndo(), IsInChangeTrack(), formula::FormulaTokenArray::IsRecalcModeAlways(), ScAddress::IsValid(), rDocument, ScDocument::SetDetectiveDirty(), SetNeedsListening(), ScDocument::StartListeningArea(), ScDocument::StartListeningCell(), svDoubleRef, svSingleRef, and ScSingleRefData::toAbs().
void ScFormulaCell::SyncSharedCode | ( | ) |
Definition at line 5500 of file formulacell.cxx.
References pCode.
bool ScFormulaCell::TestTabRefAbs | ( | SCTAB | nTable | ) |
Definition at line 3711 of file formulacell.cxx.
References formula::FormulaToken::GetDoubleRef(), formula::FormulaTokenArrayPlainIterator::GetNextReferenceRPN(), formula::FormulaToken::GetSingleRef(), formula::FormulaToken::GetType(), ScDocument::IsClipOrUndo(), ScSingleRefData::IsTabRel(), mxGroup, pCode, rDocument, ScComplexRefData::Ref2, ScSingleRefData::SetAbsTab(), formula::svDoubleRef, ScSingleRefData::Tab(), and ScAddress::Tab().
void ScFormulaCell::TransposeReference | ( | ) |
Definition at line 3759 of file formulacell.cxx.
References bCompile, ScSingleRefData::Col(), formula::FormulaToken::GetDoubleRef(), formula::FormulaTokenArrayPlainIterator::GetNextReference(), formula::FormulaToken::GetSingleRef(), formula::FormulaToken::GetType(), ScSingleRefData::IsColRel(), ScSingleRefData::IsRowRel(), pCode, ScComplexRefData::Ref2, ScSingleRefData::Row(), ScSingleRefData::SetRelCol(), ScSingleRefData::SetRelRow(), and formula::svDoubleRef.
void ScFormulaCell::UpdateCompile | ( | bool | bForceIfNameInUse | ) |
Definition at line 3749 of file formulacell.cxx.
References bCompile, CompileTokenArray(), formula::FormulaTokenArray::HasNameOrColRowName(), pCode, and formula::FormulaTokenArray::SetCodeError().
void ScFormulaCell::UpdateDeleteTab | ( | const sc::RefUpdateDeleteTabContext & | rCxt | ) |
Definition at line 3631 of file formulacell.cxx.
References ScTokenArray::AdjustReferenceOnDeletedTab(), aPos, bCompile, EndListeningTo(), formula::FormulaTokenArray::HasReferences(), ScAddress::IncTab(), ScDocument::IsClipOrUndo(), sc::RefUpdateResult::mbNameModified, sc::RefUpdateDeleteTabContext::mnDeletePos, sc::RefUpdateDeleteTabContext::mnSheets, mxGroup, pCode, rDocument, and ScAddress::Tab().
Definition at line 3866 of file formulacell.cxx.
References aPos, bCompile, CompileTokenArray(), EndListeningTo(), ScDocument::FindRangeNameBySheetAndIndex(), formula::FormulaToken::GetIndex(), formula::FormulaTokenArrayPlainIterator::GetNextReferenceOrName(), formula::FormulaToken::GetOpCode(), formula::FormulaToken::GetSheet(), ScDocument::GetSheetLimits(), formula::FormulaToken::GetType(), ScRangeData::IsModified(), ocName, pCode, rDocument, SingleDoubleRefModifier::Ref(), SetDirty(), ScComplexRefData::SetRange(), StartListeningTo(), svIndex, ScComplexRefData::toAbs(), ScRefUpdate::UpdateGrow(), and UR_NOTHING.
void ScFormulaCell::UpdateInsertTab | ( | const sc::RefUpdateInsertTabContext & | rCxt | ) |
Definition at line 3601 of file formulacell.cxx.
References ScTokenArray::AdjustReferenceOnInsertedTab(), aPos, bCompile, EndListeningTo(), formula::FormulaTokenArray::HasReferences(), ScAddress::IncTab(), ScDocument::IsClipOrUndo(), sc::RefUpdateResult::mbNameModified, sc::RefUpdateInsertTabContext::mnInsertPos, sc::RefUpdateInsertTabContext::mnSheets, mxGroup, pCode, rDocument, and ScAddress::Tab().
Definition at line 3685 of file formulacell.cxx.
References formula::FormulaToken::GetDoubleRef(), formula::FormulaTokenArrayPlainIterator::GetNextReferenceRPN(), formula::FormulaToken::GetSingleRef(), formula::FormulaToken::GetType(), ScSingleRefData::IncTab(), ScDocument::IsClipOrUndo(), ScSingleRefData::IsTabRel(), mxGroup, pCode, rDocument, ScComplexRefData::Ref2, formula::svDoubleRef, and ScSingleRefData::Tab().
void ScFormulaCell::UpdateMoveTab | ( | const sc::RefUpdateMoveTabContext & | rCxt, |
SCTAB | nTabNo | ||
) |
Definition at line 3658 of file formulacell.cxx.
References ScTokenArray::AdjustReferenceOnMovedTab(), aPos, bCompile, EndListeningTo(), formula::FormulaTokenArray::HasReferences(), ScDocument::IsClipOrUndo(), sc::RefUpdateResult::mbNameModified, mxGroup, pCode, rDocument, and ScAddress::SetTab().
bool ScFormulaCell::UpdatePosOnShift | ( | const sc::RefUpdateContext & | rCxt | ) |
Shift the position of formula cell as part of reference update.
Definition at line 3122 of file formulacell.cxx.
References assert(), ScRange::In(), sc::RefUpdateContext::maRange, sc::RefUpdateContext::meMode, sc::RefUpdateContext::mnColDelta, sc::RefUpdateContext::mnRowDelta, sc::RefUpdateContext::mnTabDelta, ScAddress::Move(), ScAddress::UNINITIALIZED, and URM_INSDEL.
Referenced by UpdateReference(), and UpdateReferenceOnShift().
bool ScFormulaCell::UpdateReference | ( | const sc::RefUpdateContext & | rCxt, |
ScDocument * | pUndoDoc = nullptr , |
||
const ScAddress * | pUndoCellPos = nullptr |
||
) |
Definition at line 3565 of file formulacell.cxx.
References ScDocument::IsClipOrUndo(), sc::RefUpdateContext::meMode, mxGroup, rDocument, UpdatePosOnShift(), UpdateReferenceOnCopy(), UpdateReferenceOnMove(), UpdateReferenceOnShift(), URM_COPY, URM_INSDEL, and URM_MOVE.
Referenced by ScTable::CopyData(), and ScChangeActionContent::UpdateReference().
|
private |
Update reference in response to cell copy-n-paste.
Definition at line 3506 of file formulacell.cxx.
References bCompile, ScTokenArray::Clone(), cMatrixFlag, ScAddress::Col(), CompileTokenArray(), eTempGrammar, formula::FormulaTokenArrayPlainIterator::GetNextColRowName(), formula::FormulaTokenArray::HasReferences(), ScRange::In(), formula::FormulaTokenArray::IsRecalcModeOnRefMove(), sc::RefUpdateContext::maRange, sc::RefUpdateContext::meMode, sc::RefUpdateContext::mnColDelta, sc::RefUpdateContext::mnRowDelta, sc::RefUpdateContext::mnTabDelta, pCode, rDocument, ScAddress::Row(), ScAddress::Set(), SetDirty(), ScAddress::Tab(), and URM_COPY.
Referenced by UpdateReference().
bool ScFormulaCell::UpdateReferenceOnMove | ( | const sc::RefUpdateContext & | rCxt, |
ScDocument * | pUndoDoc, | ||
const ScAddress * | pUndoCellPos | ||
) |
Update reference in response to cell move.
Definition at line 3375 of file formulacell.cxx.
References ScTokenArray::AdjustReferenceOnMove(), bCompile, ScTokenArray::Clone(), cMatrixFlag, ScAddress::Col(), CompileTokenArray(), DOUBLE, EndListeningTo(), eTempGrammar, ScDocument::GetChangeTrack(), formula::FormulaTokenArrayPlainIterator::GetNextColRowName(), formula::FormulaTokenArray::HasReferences(), HasRelNameReference(), ScRange::In(), ScChangeTrack::IsInDeleteUndo(), ScDocument::IsInsertingFromOtherDoc(), formula::FormulaTokenArray::IsRecalcModeOnRefMove(), sc::RefUpdateContext::maRange, sc::RefUpdateResult::mbNameModified, sc::RefUpdateResult::mbReferenceModified, sc::RefUpdateResult::mbValueChanged, sc::RefUpdateContext::meMode, sc::RefUpdateContext::mnColDelta, sc::RefUpdateContext::mnRowDelta, sc::RefUpdateContext::mnTabDelta, NONE, pCode, rDocument, ScAddress::Row(), ScAddress::Set(), SetDirty(), StartListeningTo(), ScAddress::Tab(), and URM_MOVE.
Referenced by UpdateReference().
bool ScFormulaCell::UpdateReferenceOnShift | ( | const sc::RefUpdateContext & | rCxt, |
ScDocument * | pUndoDoc, | ||
const ScAddress * | pUndoCellPos | ||
) |
Update reference in response to cell insertion or deletion.
Definition at line 3255 of file formulacell.cxx.
References ScTokenArray::AdjustReferenceOnShift(), bCompile, ScTokenArray::Clone(), cMatrixFlag, CompileTokenArray(), DOUBLE, EndListeningTo(), eTempGrammar, ScDocument::GetChangeTrack(), formula::FormulaTokenArrayPlainIterator::GetNextColRowName(), formula::FormulaTokenArray::HasReferences(), HasRelNameReference(), ScChangeTrack::IsInDeleteUndo(), formula::FormulaTokenArray::IsRecalcModeOnRefMove(), sc::RefUpdateResult::mbNameModified, mbPostponedDirty, sc::RefUpdateResult::mbReferenceModified, sc::RefUpdateResult::mbValueChanged, sc::RefUpdateContext::meMode, NONE, pCode, rDocument, SetNeedsListening(), UpdatePosOnShift(), and URM_INSDEL.
Referenced by UpdateReference().
void ScFormulaCell::UpdateTranspose | ( | const ScRange & | rSource, |
const ScAddress & | rDest, | ||
ScDocument * | pUndoDoc | ||
) |
Definition at line 3795 of file formulacell.cxx.
References ScRange::aEnd, aPos, aResult, ScRange::aStart, bCompile, ScTokenArray::Clone(), ScAddress::Col(), CompileTokenArray(), ScRefUpdate::DoTranspose(), EndListeningTo(), ScDocument::FindRangeNameBySheetAndIndex(), formula::FormulaToken::GetIndex(), formula::FormulaTokenArrayPlainIterator::GetNextReferenceOrName(), formula::FormulaToken::GetOpCode(), formula::FormulaToken::GetSheet(), ScDocument::GetSheetLimits(), formula::FormulaToken::GetType(), ScRange::In(), ScRangeData::IsModified(), ocName, pCode, rDocument, SingleDoubleRefModifier::Ref(), ScAddress::Row(), ScFormulaCell(), ScAddress::Set(), SetDirty(), ScDocument::SetFormulaCell(), ScComplexRefData::SetRange(), ScFormulaResult::SetToken(), StartListeningTo(), svIndex, ScAddress::Tab(), ScComplexRefData::toAbs(), ScRefUpdate::UpdateTranspose(), and UR_NOTHING.
ScAddress ScFormulaCell::aPos |
Definition at line 174 of file formulacell.hxx.
Referenced by ScDocument::AddDelayedFormulaGroupingCell(), ScDocument::AddTableOpFormulaCell(), ScCellValue::assign(), ScColumn::AttachNewFormulaCells(), ScColumn::CopyCellToDocument(), ScTable::CopyData(), ScColumn::DetachFormulaCell(), ScValidationData::DoCalcError(), ScViewFunc::DoRefConversion(), EndListeningTo(), ScOutputData::FindChanged(), XclExpChTrCellContent::GetCellData(), ScChangeActionContent::GetFormulaString(), GetMatrixOrigin(), HandleStuffAfterParallelCalculation(), sc::FormulaLogger::GroupScope::Impl::Impl(), InterpretInvariantFormulaGroup(), ScCompiler::IsColRowName(), ScCompiler::IsTableRefColumn(), sc::SharedFormulaUtil::joinFormulaCells(), lcl_AddFormulaGroupBoundaries(), lcl_EvalDirty(), lcl_WriteCell(), sc::FormulaGroupAreaListener::Query(), XclExpFormulaCell::SaveXml(), ScFormulaCell(), ScFormulaListener::ScFormulaListener(), sc::SharedFormulaUtil::splitFormulaCellGroup(), sc::SharedFormulaUtil::startListeningAsGroup(), ScDocument::TrackFormulas(), sc::SharedFormulaUtil::unshareFormulaCell(), UpdateDeleteTab(), UpdateGrow(), UpdateInsertTab(), UpdateMoveTab(), ScChangeActionContent::UpdateReference(), UpdateTranspose(), and ScChangeTrackingExportHelper::WriteFormulaCell().
|
private |
Definition at line 129 of file formulacell.hxx.
Referenced by CalcAfterLoad(), Compile(), CompileTokenArray(), GetErrCode(), GetErrorOrValue(), GetHybridFormula(), GetMatColsRows(), GetMatrix(), GetRawError(), GetRawString(), GetRawValue(), GetResult(), GetResultDimensions(), GetResultString(), GetURLResult(), HasHybridStringResult(), Interpret(), InterpretInvariantFormulaGroup(), InterpretTail(), IsEmpty(), IsEmptyDisplayedAsString(), IsMultilineResult(), IsValue(), IsValueNoError(), SetErrCode(), SetHybridDouble(), SetHybridEmptyDisplayedAsString(), SetHybridFormula(), SetHybridString(), SetMatColsRows(), SetResultDouble(), SetResultError(), SetResultMatrix(), SetResultToken(), and UpdateTranspose().
|
private |
Definition at line 113 of file formulacell.hxx.
Referenced by Compile(), CompileTokenArray(), CompileXML(), Interpret(), InterpretTail(), and SetChanged().
|
private |
Definition at line 115 of file formulacell.hxx.
Referenced by CalcAfterLoad(), Compile(), CompileColRowNameFormula(), CompileDBFormula(), CompileTokenArray(), CompileXML(), ScFormulaCell(), SetCompile(), TransposeReference(), UpdateCompile(), UpdateDeleteTab(), UpdateGrow(), UpdateInsertTab(), UpdateMoveTab(), UpdateReferenceOnCopy(), UpdateReferenceOnMove(), UpdateReferenceOnShift(), and UpdateTranspose().
|
private |
Definition at line 111 of file formulacell.hxx.
Referenced by CalcAfterLoad(), GetMatrix(), Interpret(), Notify(), ResetDirty(), SetDirty(), SetDirtyAfterLoad(), and SetDirtyVar().
|
private |
Definition at line 118 of file formulacell.hxx.
Referenced by SetInChangeTrack().
|
private |
Definition at line 117 of file formulacell.hxx.
Referenced by Interpret(), and InterpretTail().
|
private |
Definition at line 119 of file formulacell.hxx.
Referenced by SetNeedsListening().
|
private |
Definition at line 114 of file formulacell.hxx.
Referenced by Interpret(), InterpretTail(), and SetRunning().
|
private |
Definition at line 116 of file formulacell.hxx.
Referenced by CalcAfterLoad(), CompileTokenArray(), CompileXML(), Notify(), and ScFormulaCell().
|
private |
Definition at line 112 of file formulacell.hxx.
Referenced by Notify(), ResetDirty(), ResetTableOpDirtyVar(), and SetTableOpDirty().
|
private |
Definition at line 126 of file formulacell.hxx.
Referenced by CalcAfterLoad(), CompileTokenArray(), CompileXML(), GetFormula(), GetMatrix(), GetMatrixEdge(), GetMatrixOrigin(), InterpretTail(), ScFormulaCell(), UpdateReferenceOnCopy(), UpdateReferenceOnMove(), and UpdateReferenceOnShift().
|
private |
Definition at line 130 of file formulacell.hxx.
Referenced by CalcAfterLoad(), CompileTokenArray(), CompileXML(), ScFormulaCell(), SetHybridFormula(), UpdateReferenceOnCopy(), UpdateReferenceOnMove(), and UpdateReferenceOnShift().
|
private |
Definition at line 121 of file formulacell.hxx.
Referenced by InterpretTail(), and SetNeedNumberFormat().
|
private |
Definition at line 124 of file formulacell.hxx.
Referenced by CompileXML().
|
private |
Definition at line 120 of file formulacell.hxx.
Referenced by InterpretTail(), and SetNeedNumberFormat().
|
private |
Definition at line 123 of file formulacell.hxx.
Referenced by ResetDirty(), SetDirty(), SetDirtyVar(), SetNeedsDirty(), and UpdateReferenceOnShift().
|
private |
Definition at line 125 of file formulacell.hxx.
Referenced by Interpret().
|
private |
Definition at line 110 of file formulacell.hxx.
Referenced by Compile(), CompileXML(), CreateCellGroup(), Interpret(), InterpretFormulaGroupOpenCL(), SetCellGroup(), SetCode(), SetDirtyVar(), TestTabRefAbs(), UpdateDeleteTab(), UpdateInsertTab(), UpdateInsertTabAbs(), UpdateMoveTab(), UpdateReference(), and ~ScFormulaCell().
|
private |
Definition at line 128 of file formulacell.hxx.
Referenced by CalcAfterLoad(), CompileTokenArray(), CompileXML(), InterpretTail(), and ScFormulaCell().
|
private |
Definition at line 127 of file formulacell.hxx.
Referenced by Interpret(), and InterpretTail().
|
private |
Definition at line 133 of file formulacell.hxx.
Referenced by AddRecalcMode(), CalcAfterLoad(), CheckComputeDependencies(), CompareByTokenArray(), Compile(), CompileColRowNameFormula(), CompileDBFormula(), CompileTokenArray(), CompileXML(), CreateCellGroup(), EndListeningTo(), FindRangeNamesInUse(), GetErrCode(), GetErrorOrValue(), GetFormula(), GetHash(), GetMatrixOrigin(), GetRawError(), GetRawString(), GetRawValue(), GetResult(), GetResultDimensions(), GetVectorState(), HandleStuffAfterParallelCalculation(), HasOneReference(), HasRefListExpressibleAsOneReference(), HasRelNameReference(), InterpretFormulaGroup(), InterpretFormulaGroupOpenCL(), InterpretFormulaGroupThreading(), InterpretInvariantFormulaGroup(), InterpretTail(), IsHyperLinkCell(), IsValueNoError(), MarkUsedExternalReferences(), Notify(), ScFormulaCell(), SetCellGroup(), SetCode(), SetErrCode(), SyncSharedCode(), TestTabRefAbs(), TransposeReference(), UpdateCompile(), UpdateDeleteTab(), UpdateGrow(), UpdateInsertTab(), UpdateInsertTabAbs(), UpdateMoveTab(), UpdateReferenceOnCopy(), UpdateReferenceOnMove(), UpdateReferenceOnShift(), UpdateTranspose(), and ~ScFormulaCell().
|
private |
Definition at line 136 of file formulacell.hxx.
Referenced by SetNext().
|
private |
Definition at line 138 of file formulacell.hxx.
Referenced by SetNextTrack().
|
private |
Definition at line 135 of file formulacell.hxx.
Referenced by SetPrevious().
|
private |
Definition at line 137 of file formulacell.hxx.
Referenced by SetPreviousTrack().
|
private |
Definition at line 134 of file formulacell.hxx.
Referenced by CalcAfterLoad(), CheckComputeDependencies(), Clone(), Compile(), CompileTokenArray(), CompileXML(), CreateURLObject(), EndListeningTo(), FindRangeNamesInUse(), GetFormula(), GetMatrix(), GetMatrixEdge(), GetURLResult(), HandleStuffAfterParallelCalculation(), HasOneReference(), HasRefListExpressibleAsOneReference(), Interpret(), InterpretFormulaGroup(), InterpretFormulaGroupOpenCL(), InterpretFormulaGroupThreading(), InterpretInvariantFormulaGroup(), InterpretTail(), MarkUsedExternalReferences(), Notify(), ScFormulaCell(), SetDirty(), SetDirtyAfterLoad(), SetTableOpDirty(), StartListeningTo(), TestTabRefAbs(), UpdateDeleteTab(), UpdateGrow(), UpdateInsertTab(), UpdateInsertTabAbs(), UpdateMoveTab(), UpdateReference(), UpdateReferenceOnCopy(), UpdateReferenceOnMove(), UpdateReferenceOnShift(), UpdateTranspose(), and ~ScFormulaCell().