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 class | RelNameRef { NONE , SINGLE , 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 |
bool | mbFreeFlying: 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 120 of file formulacell.hxx.
Enumerator | |
---|---|
NotEqual | |
EqualInvariant | |
EqualRelativeRef |
Definition at line 186 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 281 of file formulacell.hxx.
Enumerator | |
---|---|
SCITP_NORMAL | |
SCITP_FROM_ITERATION | |
SCITP_CLOSE_ITERATION_CIRCLE |
Definition at line 176 of file formulacell.hxx.
|
privatedelete |
Referenced by Clone(), and UpdateTranspose().
|
overridevirtual |
Definition at line 916 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 580 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 647 of file formulacell.cxx.
References ScDocument::AddSubTotalCell(), aPos, 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 700 of file formulacell.cxx.
References ScDocument::AddSubTotalCell(), aPos, 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 749 of file formulacell.cxx.
References ScDocument::AddSubTotalCell(), bSubTotal, 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 610 of file formulacell.cxx.
ScFormulaCell::ScFormulaCell | ( | const ScFormulaCell & | rCell, |
ScDocument & | rDoc, | ||
const ScAddress & | rPos, | ||
ScCloneFlags | nCloneFlags = ScCloneFlags::Default |
||
) |
Definition at line 784 of file formulacell.cxx.
References ScDocument::AddSubTotalCell(), ScTokenArray::AdjustAbsoluteRefs(), ScTokenArray::AdjustReferenceOnCopy(), aPos, bCompile, bSubTotal, ScTokenArray::Clone(), CompileTokenArray(), Default, ScDocument::FindRangeNameBySheetAndIndex(), formula::FormulaTokenArray::GetCodeError(), formula::FormulaTokenArray::GetLen(), formula::FormulaTokenArrayPlainIterator::GetNextName(), formula::FormulaTokenArrayPlainIterator::GetNextReferenceOrName(), formula::FormulaToken::GetOpCode(), ScDocument::GetPool(), ScDocument::GetSharedStringPool(), formula::FormulaTokenArray::HasOpCode(), ScRangeData::HasReferences(), ScDocument::IsClipboard(), ScDocument::IsClipboardSource(), ScDocument::IsClipOrUndo(), 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 2648 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 1370 of file formulacell.cxx.
References ScDocument::AddSubTotalCell(), aPos, 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 4689 of file formulacell.cxx.
References sc::FormulaLogger::GroupScope::addMessage(), ScRecursionHelper::AreGroupsIndependent(), ScDocument::GetRecursionHelper(), sc::GroupCalcDisabled, ScRecursionHelper::IsInRecursionReturn(), mxGroup, pCode, and rDocument.
Referenced by InterpretFormulaGroupOpenCL(), and InterpretFormulaGroupThreading().
ScFormulaCell * ScFormulaCell::Clone | ( | ) | const |
Definition at line 935 of file formulacell.cxx.
References aPos, rDocument, and ScFormulaCell().
Referenced by ScCellValue::assign(), ScCellIterator::getCellValue(), ScCellValue::ScCellValue(), and ScUndoSetCell::SetValue().
ScFormulaCell * ScFormulaCell::Clone | ( | const ScAddress & | rPos | ) | const |
Definition at line 940 of file formulacell.cxx.
References Default, rDocument, and ScFormulaCell().
ScFormulaCell::CompareState ScFormulaCell::CompareByTokenArray | ( | const ScFormulaCell & | rOther | ) | const |
Definition at line 4037 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 1100 of file formulacell.cxx.
References formula::FormulaTokenArray::AddBad(), aPos, aResult, 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 1135 of file formulacell.cxx.
References formula::FormulaTokenArray::AddBad(), aPos, aResult, 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 3975 of file formulacell.cxx.
References bCompile, CompileTokenArray(), formula::FormulaTokenArrayPlainIterator::First(), formula::FormulaTokenArrayPlainIterator::Next(), ocColRowName, p, pCode, and SetDirty().
void ScFormulaCell::CompileDBFormula | ( | sc::CompileFormulaContext & | rCxt | ) |
Definition at line 3959 of file formulacell.cxx.
References bCompile, CompileTokenArray(), formula::FormulaTokenArrayPlainIterator::First(), formula::FormulaTokenArrayPlainIterator::Next(), ocDBArea, ocTableRef, p, pCode, and SetDirty().
void ScFormulaCell::CompileTokenArray | ( | bool | bNoListening = false | ) |
Definition at line 1170 of file formulacell.cxx.
References ScDocument::AddSubTotalCell(), aPos, aResult, bChanged, bCompile, bSubTotal, cMatrixFlag, Compile(), formula::FormulaCompiler::CompileTokenArray(), EndListeningTo(), eTempGrammar, formula::FormulaTokenArray::GetCodeError(), formula::FormulaTokenArray::GetCodeLen(), ScDocument::GetGrammar(), ScFormulaResult::GetHybridFormula(), formula::FormulaTokenArray::GetLen(), formula::FormulaCompiler::GetNumFormatType(), 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 1209 of file formulacell.cxx.
References ScDocument::AddSubTotalCell(), aPos, 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 1249 of file formulacell.cxx.
References formula::FormulaTokenArray::AddBad(), ScDocument::AddSubTotalCell(), aPos, ScDocument::AppendToFormulaTrack(), 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 3995 of file formulacell.cxx.
References mxGroup, pCode, and SAL_INFO.
Referenced by CompileXML(), sc::SharedFormulaUtil::groupFormulaCells(), and sc::SharedFormulaUtil::joinFormulaCells().
std::unique_ptr< EditTextObject > ScFormulaCell::CreateURLObject | ( | ) |
Definition at line 2737 of file formulacell.cxx.
References aURL, ScEditUtil::CreateURLObjectFromURL(), GetURLResult(), and rDocument.
Referenced by ScGridWindow::GetEditUrl().
void ScFormulaCell::Dump | ( | ) | const |
void ScFormulaCell::EndListeningTo | ( | sc::EndListeningContext & | rCxt | ) |
Definition at line 5410 of file formulacell.cxx.
References aPos, BCA_LISTEN_ALWAYS, ScDocument::EndListeningArea(), ScDocument::EndListeningCell(), sc::EndListeningContext::getDoc(), formula::FormulaTokenArrayPlainIterator::GetNextReferenceRPN(), sc::EndListeningContext::getOldCode(), sc::EndListeningContext::getOldPosition(), SvtListener::HasBroadcaster(), ScDocument::IsClipOrUndo(), IsInChangeTrack(), formula::FormulaTokenArray::IsRecalcModeAlways(), ScAddress::IsValid(), mxGroup, pCode, rDocument, ScDocument::SetDetectiveDirty(), svDoubleRef, svSingleRef, and t.
void ScFormulaCell::EndListeningTo | ( | ScDocument & | rDoc, |
ScTokenArray * | pArr = nullptr , |
||
ScAddress | aPos = ScAddress() |
||
) |
Definition at line 5363 of file formulacell.cxx.
References aPos, BCA_LISTEN_ALWAYS, ScDocument::EndListeningArea(), ScDocument::EndListeningCell(), GetCode(), formula::FormulaTokenArrayPlainIterator::GetNextReferenceRPN(), SvtListener::HasBroadcaster(), ScDocument::IsClipOrUndo(), IsInChangeTrack(), ScAddress::IsValid(), mxGroup, rDocument, ScDocument::SetDetectiveDirty(), svDoubleRef, svSingleRef, and t.
Referenced by CompileTokenArray(), ScColumn::DetachFormulaCell(), ScColumn::EndListeningGroup(), ScColumn::EndListeningIntersectedGroup(), ScColumn::EndListeningIntersectedGroups(), HandleStuffAfterParallelCalculation(), InterpretTail(), Notify(), sc::SharedFormulaUtil::splitFormulaCellGroup(), UpdateDeleteTab(), UpdateGrow(), UpdateInsertTab(), UpdateMoveTab(), UpdateReferenceOnMove(), UpdateReferenceOnShift(), and UpdateTranspose().
void ScFormulaCell::FindRangeNamesInUse | ( | sc::UpdatedRangeNames & | rIndexes | ) | const |
Definition at line 3937 of file formulacell.cxx.
References lcl_FindRangeNamesInUse(), pCode, and rDocument.
|
inline |
Definition at line 477 of file formulacell.hxx.
Referenced by CompileXML(), ScGroupTokenConverter::convert(), ScColumn::EndListeningIntersectedGroup(), ScColumn::EndListeningIntersectedGroups(), sc::SharedFormulaUtil::getSharedTopFormulaCell(), sc::SharedFormulaUtil::groupFormulaCells(), ScGroupTokenConverter::isSelfReferenceAbsolute(), ScGroupTokenConverter::isSelfReferenceRelative(), sc::SharedFormulaUtil::joinFormulaCells(), lcl_GetTopCell(), lcl_probeLeftOrRightFGs(), sc::SharedFormulaUtil::splitFormulaCellGroup(), sc::SharedFormulaUtil::startListeningAsGroup(), and sc::SharedFormulaUtil::unshareFormulaCell().
|
inline |
Definition at line 355 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(), lcl_IsAutoSumData(), lcl_probeLeftOrRightFGs(), ScCompiler::ParseColRowName(), ScColumn::ParseString(), ScCompiler::ParseTableRefColumn(), ScDocument::PutInFormulaTree(), ScChangeActionContent::PutValueToDoc(), ScDocument::RemoveFromFormulaTree(), XclExpFormulaCell::SaveXml(), ScFormulaListener::ScFormulaListener(), ScInterpreter::ScMatRef(), ScInterpreter::ScWebservice(), ScDocumentImport::setAutoInput(), ScDocumentImport::setFormulaCell(), ScDocumentImport::setMatrixCells(), sc::CopyFromClipContext::setSingleCell(), ImportExcel::Shrfmla(), sc::SharedFormulaUtil::startListeningAsGroup(), StartListeningTo(), ScChangeActionContent::UpdateReference(), and XclExpFormulaCell::XclExpFormulaCell().
|
inline |
Definition at line 356 of file formulacell.hxx.
|
inline |
Definition at line 245 of file formulacell.hxx.
Referenced by ScDocument::CalcFormulaTree(), ScColumn::CopyStaticToDocument(), ScOutputData::FindChanged(), ScDetectiveFunc::FindPredLevel(), ScDetectiveFunc::FindSuccLevel(), ScDetectiveFunc::InsertErrorLevel(), ScDetectiveFunc::InsertPredLevel(), ScDetectiveFunc::InsertSuccLevel(), ScConditionEntry::Interpret(), and lcl_CreateInterpretProgress().
|
inline |
Definition at line 377 of file formulacell.hxx.
Referenced by ScChangeActionContent::GetFormulaString(), ScCellFormat::GetString(), sc::SharedFormulaUtil::joinFormulaCells(), and sc::SharedFormulaUtil::splitFormulaCellGroup().
FormulaError ScFormulaCell::GetErrCode | ( | ) |
Definition at line 2965 of file formulacell.cxx.
References aResult, formula::FormulaTokenArray::GetCodeError(), ScFormulaResult::GetResultError(), MaybeInterpret(), and pCode.
Referenced by ScDocShell::AsciiSave(), ScChart2DataSequence::BuildDataCache(), ScFunctionAccess::callFunction(), ScQueryEvaluator::compareByRangeLookup(), ScTable::CompareCell(), convertToToken(), ScColumn::CopyStaticToDocument(), ScInterpreter::CreateCellArr(), ScInterpreter::CreateDoubleArr(), ScInterpreter::CreateMatrixFromDoubleRef(), ScInterpreter::CreateStringArr(), ScInterpreter::GetCellErrCode(), ScInterpreter::GetCellNumberFormat(), ScQueryEvaluator::getCellString(), ScInterpreter::GetCellString(), ScInterpreter::GetCellValueOrZero(), ScCellIterator::getCurrent(), ScDBQueryDataIterator::DataAccessInternal::getCurrent(), ScCellObj::getError(), ScCellFormat::GetInputString(), ScHorizontalValueIterator::GetNext(), ScCellObj::GetResultType_Impl(), ScValidationData::GetSelectionFromFormula(), ScCellShell::GetState(), ScCellFormat::GetString(), ScDocument::GetStringForFormula(), ScRefCellValue::hasError(), ScDetectiveFunc::HasError(), ScConditionEntry::IsError(), ScQueryEvaluator::isQueryByValueForCell(), lcl_HasErrors(), ScInterpreter::PopRefListPushMatrixOrRef(), ScQueryEvaluator::processEntry(), ScInterpreter::PushCellResultToken(), XclExpFormulaCell::SaveXml(), ScFormatFilterPluginImpl::ScExportDif(), ScInterpreter::ScMatRef(), ScInterpreter::ScMatValue(), ScInterpreter::ScTableOp(), sc::CopyFromClipContext::setSingleCell(), ScDrawStringsVars::SetTextToWidthOrHash(), ScDocument::Solver(), ScTransferObj::StripRefs(), ScXMLExport::WriteCell(), and XclExpFormulaCell::WriteContents().
bool ScFormulaCell::GetErrorOrValue | ( | FormulaError & | rErr, |
double & | rVal | ||
) |
Definition at line 2986 of file formulacell.cxx.
References aResult, formula::FormulaTokenArray::GetCodeError(), ScFormulaResult::GetErrorOrDouble(), MaybeInterpret(), and pCode.
Referenced by ScValueIterator::GetThis().
|
inline |
Definition at line 252 of file formulacell.hxx.
Referenced by XclXmlUtils::GetFormulaTypeAndValue(), XclExpFormulaCell::WriteContents(), and XclExpFormulaCell::XclExpFormulaCell().
OUString ScFormulaCell::GetFormula | ( | const formula::FormulaGrammar::Grammar | eGrammar = formula::FormulaGrammar::GRAM_DEFAULT , |
const ScInterpreterContext * | pContext = nullptr |
||
) | const |
Definition at line 950 of file formulacell.cxx.
References aPos, cMatrixFlag, formula::FormulaCompiler::CreateStringFromTokenArray(), formula::FormulaTokenArray::GetCodeError(), ScGlobal::GetErrorString(), GetFormula(), ScDocument::GetFormulaCell(), formula::FormulaTokenArray::GetLen(), formula::FormulaTokenArrayPlainIterator::GetNextReferenceRPN(), NONE, p, pCode, rDocument, Reference, ScSingleRefData::toAbs(), and ScDocument::ValidAddress().
Referenced by ScDocShell::AsciiSave(), ScImportExport::Doc2Sylk(), ScImportExport::Doc2Text(), ScViewFunc::DoRefConversion(), ScCellRangeObj::getArrayFormula(), GetFormula(), ScTabViewShell::GetFormula(), ScChangeActionContent::GetFormulaString(), ScCellFormat::GetString(), ScChangeActionContent::GetStringOfCell(), lcl_GetInputString(), ScInterpreter::ScFormula(), ScTable::SearchCell(), ScXMLChangeTrackingImportHelper::SetNewCell(), ScTabViewShell::UpdateInputHandler(), ScXMLExport::WriteCell(), and ScChangeTrackingExportHelper::WriteFormulaCell().
OUString ScFormulaCell::GetFormula | ( | sc::CompileFormulaContext & | rCxt, |
const ScInterpreterContext * | pContext = nullptr |
||
) | const |
Definition at line 1004 of file formulacell.cxx.
References aBuf, formula::FormulaTokenArray::AddToken(), aPos, cMatrixFlag, formula::FormulaCompiler::CreateStringFromTokenArray(), formula::FormulaTokenArray::GetCodeError(), sc::CompileFormulaContext::getDoc(), GetFormula(), ScDocument::GetFormulaCell(), formula::FormulaTokenArray::GetLen(), formula::FormulaTokenArrayPlainIterator::GetNextReferenceRPN(), NONE, p, pCode, rDocument, Reference, ScSingleRefData::toAbs(), and ScDocument::ValidAddress().
size_t ScFormulaCell::GetHash | ( | ) | const |
Definition at line 945 of file formulacell.cxx.
References ScTokenArray::GetHash(), and pCode.
Referenced by CompareByTokenArray().
OUString ScFormulaCell::GetHybridFormula | ( | ) | const |
Definition at line 2676 of file formulacell.cxx.
References aResult, and ScFormulaResult::GetHybridFormula().
Definition at line 2402 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(), ScInterpreter::ScColumn(), ScInterpreter::ScFilterXML(), ScInterpreter::ScRandomImpl(), ScInterpreter::ScRow(), ScTable::SearchCell(), ScChangeTrack::SelectContent(), ScXMLChangeTrackingImportHelper::SetNewCell(), ScChangeTrackingExportHelper::WriteFormulaCell(), and XclExpFormulaCell::XclExpFormulaCell().
const ScMatrix * ScFormulaCell::GetMatrix | ( | ) |
Definition at line 2814 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 2854 of file formulacell.cxx.
References aPos, 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(), ScColumn::GetNumberFormat(), and ScColumn::HasSelectionMatrixFragment().
|
inline |
Definition at line 354 of file formulacell.hxx.
Referenced by CalcAfterLoad(), ScColumn::CloneFormulaCell(), CompareByTokenArray(), ScFormulaCellGroup::compileCode(), ScImportExport::Doc2Sylk(), ScViewFunc::DoRefConversion(), ScTable::FillFormula(), ScColumn::GetBlockMatrixEdges(), ScChangeActionContent::GetContentCellType(), ScColumn::GetNumberFormat(), ScColumn::HasSelectionMatrixFragment(), ScChangeTrack::IsMatrixFormulaRangeDifferent(), ScDocShell::MergeDocument(), XclExpFormulaCell::SaveXml(), ScInterpreter::ScInterpreter(), ScTable::SearchCell(), ScXMLChangeTrackingImportHelper::SetNewCell(), ScChangeTrackingExportHelper::WriteFormulaCell(), and XclExpFormulaCell::XclExpFormulaCell().
bool ScFormulaCell::GetMatrixOrigin | ( | const ScDocument & | rDoc, |
ScAddress & | rPos | ||
) | const |
Definition at line 2826 of file formulacell.cxx.
References aPos, cMatrixFlag, Formula, formula::FormulaTokenArrayPlainIterator::GetNextReferenceRPN(), 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 365 of file formulacell.hxx.
Referenced by ScDocument::CalcFormulaTree(), ScDocument::ClearFormulaTree(), and ScDocument::RemoveFromFormulaTree().
|
inline |
Definition at line 369 of file formulacell.hxx.
Referenced by ScDocument::RemoveFromFormulaTrack(), and ScDocument::TrackFormulas().
|
inline |
Definition at line 364 of file formulacell.hxx.
Referenced by ScDocument::CalcFormulaTree(), ScDocument::IsInFormulaTree(), and ScDocument::RemoveFromFormulaTree().
|
inline |
Definition at line 368 of file formulacell.hxx.
Referenced by ScDocument::IsInFormulaTrack(), and ScDocument::RemoveFromFormulaTrack().
FormulaError ScFormulaCell::GetRawError | ( | ) | const |
Definition at line 2978 of file formulacell.cxx.
References aResult, formula::FormulaTokenArray::GetCodeError(), ScFormulaResult::GetResultError(), and pCode.
Referenced by ScInterpreter::ScDde(), and ScInterpreter::ScWebservice().
const svl::SharedString & ScFormulaCell::GetRawString | ( | ) | const |
Get a string value without potentially triggering re-calculation.
Definition at line 2805 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 2797 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 2997 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 3008 of file formulacell.cxx.
References aResult, formula::FormulaTokenArray::GetCodeError(), ScFormulaResult::GetResult(), and pCode.
Definition at line 1063 of file formulacell.cxx.
References aResult, formula::FormulaTokenArray::GetCodeError(), ScMatrix::GetDimensions(), ScFormulaResult::GetToken(), ScFormulaResult::GetType(), formula::FormulaTokenArray::IsHyperLink(), MaybeInterpret(), pCode, and svMatrixCell.
Referenced by ScViewFunc::EnterMatrix().
const svl::SharedString & ScFormulaCell::GetResultString | ( | ) | const |
Definition at line 2616 of file formulacell.cxx.
References aResult, and ScFormulaResult::GetString().
Referenced by ScInterpreter::ScWebservice(), and ScXMLExport::WriteMultiLineFormulaResult().
|
inline |
Definition at line 268 of file formulacell.hxx.
Referenced by Interpret().
|
inline |
Definition at line 507 of file formulacell.hxx.
Referenced by ScRecursionHelper::AnyCycleMemberInDependencyEvalMode(), lcl_EvalDirty(), and ScRecursionHelper::PushFormulaGroup().
ScTokenArray * ScFormulaCell::GetSharedCode | ( | ) |
Definition at line 5498 of file formulacell.cxx.
References mxGroup.
Referenced by XclExpShrfmlaBuffer::CreateOrExtendShrfmla(), and GetWeight().
const ScTokenArray * ScFormulaCell::GetSharedCode | ( | ) | const |
Definition at line 5503 of file formulacell.cxx.
References mxGroup.
SCROW ScFormulaCell::GetSharedLength | ( | ) | const |
Definition at line 5475 of file formulacell.cxx.
References mxGroup.
Referenced by ScColumn::AttachFormulaCells(), 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 5470 of file formulacell.cxx.
References mxGroup.
Referenced by ScColumn::AttachFormulaCells(), ScColumn::AttachNewFormulaCells(), ScColumn::DetachFormulaCell(), ScColumn::DetachFormulaCells(), ScColumn::EndListeningIntersectedGroup(), lcl_AddFormulaGroupBoundaries(), sc::SharedFormulaUtil::splitFormulaCellGroup(), and sc::SharedFormulaUtil::unshareFormulaCell().
const svl::SharedString & ScFormulaCell::GetString | ( | ) |
Definition at line 2791 of file formulacell.cxx.
References GetRawString(), and MaybeInterpret().
Referenced by ScDocShell::AsciiSave(), ScFunctionAccess::callFunction(), convertToToken(), ScColumn::CopyStaticToDocument(), ScInterpreter::CreateCellArr(), ScInterpreter::CreateStringArr(), ScValidationData::DoMacro(), ScValidationData::DoScript(), ScInterpreter::GetCellString(), ScInterpreter::GetCellValueOrZero(), ScDBQueryDataIterator::DataAccessInternal::getCurrent(), ScGridWindow::GetEditUrl(), XclXmlUtils::GetFormulaTypeAndValue(), ScCellFormat::GetInputString(), ScAutoNameCache::GetNameOccurrences(), ScValidationData::GetSelectionFromFormula(), ScCellFormat::GetString(), ScDocument::GetStringForFormula(), GetURLResult(), ScConditionEntry::Interpret(), ScValidationData::IsDataValid(), lcl_GetCellContent(), 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 2682 of file formulacell.cxx.
References aPos, aResult, ScDocument::GetFormatTable(), ScFormulaResult::GetMatrix(), ScDocument::GetNumberFormat(), SvNumberFormatter::GetOutputString(), ScGlobal::GetStandardFormat(), GetString(), svl::SharedString::getString(), GetValue(), IsValue(), and rDocument.
Referenced by CreateURLObject(), lcl_DoHyperlinkResult(), and ScHTMLExport::WriteCell().
double ScFormulaCell::GetValue | ( | ) |
Definition at line 2785 of file formulacell.cxx.
References GetRawValue(), and MaybeInterpret().
Referenced by ScChart2DataSequence::BuildDataCache(), ScFunctionAccess::callFunction(), ScQueryEvaluator::compareByValue(), convertToToken(), ScColumn::CopyStaticToDocument(), ScInterpreter::CreateCellArr(), ScInterpreter::CreateDoubleArr(), 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(), ScValidationData::IsDataValid(), lcl_GetCellContent(), ScTabViewShell::MakeNumberInfoItem(), ScQueryEvaluator::processEntry(), ScInterpreter::ScMatRef(), sc::CopyFromClipContext::setSingleCell(), ScDocument::Solver(), ScTransferObj::StripRefs(), ScHTMLExport::WriteCell(), XclExpFormulaCell::WriteContents(), and ScChangeTrackingExportHelper::WriteFormulaCell().
sal_Int32 ScFormulaCell::GetWeight | ( | ) | const |
Definition at line 5480 of file formulacell.cxx.
References GetSharedCode(), GetSharedLength(), ScTokenArray::GetWeight(), mxGroup, and SAL_MAX_INT32.
Referenced by InterpretFormulaGroup(), and lcl_probeLeftOrRightFGs().
void ScFormulaCell::HandleStuffAfterParallelCalculation | ( | ScInterpreter * | pInterpreter | ) |
Definition at line 2338 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 2621 of file formulacell.cxx.
References aResult, ScFormulaResult::GetString(), ScFormulaResult::GetType(), svl::SharedString::isEmpty(), and formula::svHybridCell.
Referenced by ScInterpreter::ScWebservice().
bool ScFormulaCell::HasOneReference | ( | ScRange & | r | ) | const |
Definition at line 3017 of file formulacell.cxx.
References ScRange::aEnd, aPos, ScRange::aStart, formula::FormulaTokenArrayPlainIterator::GetNextReferenceRPN(), p, pCode, rDocument, SingleDoubleRefProvider::Ref1, SingleDoubleRefProvider::Ref2, and ScSingleRefData::toAbs().
Referenced by HasRefListExpressibleAsOneReference(), and ScTable::RefVisible().
bool ScFormulaCell::HasRefListExpressibleAsOneReference | ( | ScRange & | rRange | ) | const |
Definition at line 3033 of file formulacell.cxx.
References aPos, formula::FormulaTokenArrayPlainIterator::GetNextReferenceRPN(), formula::FormulaToken::GetParamCount(), HasOneReference(), formula::FormulaToken::IsFunction(), formula::FormulaTokenArrayPlainIterator::NextRPN(), pCode, and rDocument.
Referenced by ScTable::DoAutoOutline().
ScFormulaCell::RelNameRef ScFormulaCell::HasRelNameReference | ( | ) | const |
Definition at line 3084 of file formulacell.cxx.
References DOUBLE, formula::FormulaTokenArrayPlainIterator::GetNextReferenceRPN(), NONE, pCode, SINGLE, formula::svDoubleRef, formula::svSingleRef, and t.
Referenced by UpdateReferenceOnMove(), and UpdateReferenceOnShift().
Definition at line 1500 of file formulacell.cxx.
References ScRecursionHelper::AbortDependencyComputation(), ScRecursionHelper::AnyCycleMemberInDependencyEvalMode(), ScRecursionHelper::AnyParentFGInCycle(), aPos, 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(), ScInterpreterContextGetterGuard::GetInterpreterContext(), 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(), MAXRECURSION, mbFreeFlying, mbSeenInPath, mxGroup, nSeenInIteration, ScFormulaRecursionEntry::pCell, 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::CopyStaticToDocument(), ScDetectiveFunc::FindPredLevel(), ScDetectiveFunc::FindSuccLevel(), GetMatrix(), ScValidationData::GetSelectionFromFormula(), ScDetectiveFunc::InsertErrorLevel(), ScDetectiveFunc::InsertPredLevel(), ScDetectiveFunc::InsertSuccLevel(), lcl_InterpretSpan(), ScDocFunc::SetFormulaCell(), and ScDocument::Solver().
Definition at line 4600 of file formulacell.cxx.
References aPos, cMatrixFlag, sc::FormulaLogger::enterGroup(), ForceCalculationCore, ForceCalculationNone, ForceCalculationOpenCL, ForceCalculationThreads, sc::FormulaLogger::get(), ScCalcConfig::getForceCalculationType(), ScDocument::GetFormulaCell(), ScInterpreter::GetGlobalConfig(), ScDocument::GetRecursionHelper(), GetWeight(), sc::GroupCalcDisabled, InterpretFormulaGroupOpenCL(), InterpretFormulaGroupThreading(), mxGroup, NONE, pCode, rDocument, and u.
Referenced by Interpret().
|
private |
Definition at line 4974 of file formulacell.cxx.
References sc::FormulaLogger::GroupScope::addMessage(), CheckComputeDependencies(), cMatrixFlag, 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 4814 of file formulacell.cxx.
References aPos, ScCheckIndependentFGGuard::AreGroupsIndependent(), 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(), i, o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::insert(), ScTokenArray::IsEnabledForThreading(), ScDocument::IsInDocShellRecalc(), ScDocument::IsThreadedGroupCalcInProgress(), ScCalcConfig::isThreadingEnabled(), lcl_probeLeftOrRightFGs(), ScDocument::MergeContextBackIntoNonThreadedContext(), mpContext, mxGroup, 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 5146 of file formulacell.cxx.
References formula::FormulaTokenArray::AddToken(), aPos, aResult, cMatrixFlag, formula::FormulaCompiler::CompileTokenArray(), formula::FormulaTokenArrayPlainIterator::First(), FormulaVectorCheckReference, ScDocument::GetFormulaCell(), ScDocument::GetGrammar(), ScDocument::GetNonThreadedContext(), ScInterpreter::GetResultToken(), ScTokenArray::GetVectorState(), i, ScInterpreter::Interpret(), mxGroup, formula::FormulaTokenArrayPlainIterator::Next(), NONE, p, 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 1885 of file formulacell.cxx.
References aPos, aResult, ScFormulaResult::Assign(), ATTR_VALIDDATA(), BCA_LISTEN_ALWAYS, bChanged, bIsIterCell, bRunning, formula::FormulaTokenArray::ClearRecalcModeMustAfterImport(), cMatrixFlag, ScAddress::Col(), CompileTokenArray(), 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(), ScFormulaResult::GetType(), SvNumberFormatter::GetType(), ScDocument::GetValidationEntry(), ScInterpreter::GetVolatileType(), ScInterpreter::Init(), ScInterpreter::Interpret(), ScRecursionHelper::IsAbortingDependencyComputation(), ScDocOptions::IsCalcAsShown(), SvNumberFormatter::IsCompatible(), IsDirtyOrInTableOpDirty(), formula::FormulaTokenArray::IsHyperLink(), ScDocument::IsInLayoutStrings(), 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, formula::svUnknown, svUnknown, ScAddress::Tab(), ScInterpreter::VOLATILE, and ScInterpreter::VOLATILE_MACRO.
Referenced by ScColumn::CalculateInThread(), and Interpret().
|
inline |
Definition at line 325 of file formulacell.hxx.
Referenced by ScOutputData::FindChanged().
|
inline |
Definition at line 240 of file formulacell.hxx.
References ScDocument::IsInInterpreterTableOp().
Referenced by GetMatrix(), Interpret(), and InterpretTail().
bool ScFormulaCell::IsEmpty | ( | ) |
Definition at line 2746 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 2752 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 2732 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 383 of file formulacell.hxx.
Referenced by EndListeningTo(), SetDirty(), SetTableOpDirty(), and StartListeningTo().
|
inline |
Definition at line 267 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 2725 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 504 of file formulacell.hxx.
|
inline |
Definition at line 360 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 5457 of file formulacell.cxx.
References mxGroup.
Referenced by ScColumn::AttachFormulaCells(), 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 5462 of file formulacell.cxx.
References mxGroup.
Referenced by ScColumn::EndListeningIntersectedGroup(), ScColumn::EndListeningIntersectedGroups(), Notify(), and sc::SharedFormulaUtil::startListeningAsGroup().
|
inline |
Definition at line 324 of file formulacell.hxx.
Referenced by ScCellIterator::getCurrent(), ScValueIterator::GetThis(), ScDocument::HasSubTotalCells(), ScTable::Query(), and ScDocument::SetSubTotalCellsDirty().
bool ScFormulaCell::IsValue | ( | ) |
Definition at line 2758 of file formulacell.cxx.
References aResult, ScFormulaResult::IsValue(), and MaybeInterpret().
Referenced by ScDocShell::AsciiSave(), ScChart2DataSequence::BuildDataCache(), ScFunctionAccess::callFunction(), ScTable::CompareCell(), convertToToken(), ScColumn::CopyStaticToDocument(), ScInterpreter::CreateCellArr(), ScInterpreter::CreateDoubleArr(), ScInterpreter::CreateStringArr(), 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(), ScTabViewShell::MakeNumberInfoItem(), ScQueryEvaluator::processEntry(), 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 2764 of file formulacell.cxx.
References aResult, formula::FormulaTokenArray::GetCodeError(), ScFormulaResult::IsValueNoError(), MaybeInterpret(), and pCode.
bool ScFormulaCell::IsValueNoError | ( | ) | const |
Definition at line 2773 of file formulacell.cxx.
References aResult, formula::FormulaTokenArray::GetCodeError(), ScFormulaResult::IsValueNoError(), NeedsInterpret(), and pCode.
bool ScFormulaCell::MarkUsedExternalReferences | ( | ) |
Definition at line 1433 of file formulacell.cxx.
References aPos, ScDocument::MarkUsedExternalReferences(), pCode, and rDocument.
Referenced by ScExternalRefManager::markUsedExternalRefCells().
|
inline |
Definition at line 452 of file formulacell.hxx.
References ScDocument::GetDocOptions(), ScDocOptions::IsIter(), ScDocument::IsThreadedGroupCalcInProgress(), and ScFormulaResult::SetResultError().
Referenced by GetErrCode(), GetErrorOrValue(), GetResult(), GetResultDimensions(), GetString(), ScColumn::GetString(), GetValue(), IsEmpty(), IsEmptyDisplayedAsString(), IsValue(), and IsValueNoError().
|
inline |
Definition at line 438 of file formulacell.hxx.
References ScDocument::GetAutoCalc(), formula::FormulaTokenArray::IsRecalcModeAlways(), formula::FormulaTokenArray::IsRecalcModeMustAfterImport(), and NONE.
Referenced by assertNoInterpretNeededHelper(), ScColumn::CalculateInThread(), IsValueNoError(), lcl_InterpretSpan(), and lcl_probeLeftOrRightFGs().
|
inline |
Definition at line 247 of file formulacell.hxx.
Referenced by ScColumn::AttachNewFormulaCell().
|
inline |
Definition at line 251 of file formulacell.hxx.
|
overridevirtual |
Reimplemented from SvtListener.
Definition at line 2419 of file formulacell.cxx.
References ScDocument::AddTableOpFormulaCell(), aPos, 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 2507 of file formulacell.cxx.
References sc::RefQueryFormulaGroup::add(), aPos, SvtListener::QueryBase::getId(), IsShared(), and SC_LISTENER_QUERY_FORMULA_GROUP_POS.
void ScFormulaCell::ResetDirty | ( | ) |
Definition at line 1087 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 2579 of file formulacell.cxx.
References bTableOpDirty.
void ScFormulaCell::SetCellGroup | ( | const ScFormulaCellGroupRef & | xRef | ) |
Definition at line 4015 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 3942 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 3947 of file formulacell.cxx.
void ScFormulaCell::SetCompile | ( | bool | bVal | ) |
Definition at line 2383 of file formulacell.cxx.
References bCompile.
void ScFormulaCell::SetDirty | ( | bool | bDirtyFlag = true | ) |
Definition at line 2524 of file formulacell.cxx.
References aPos, ScDocument::AppendToFormulaTrack(), bDirty, ScDocument::GetHardRecalcState(), ScDocument::IsImportingXML(), IsInChangeTrack(), ScDocument::IsInFormulaTree(), ScDocument::IsInsertingFromOtherDoc(), 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 2572 of file formulacell.cxx.
References bDirty, ScDocument::GetHardRecalcState(), ScDocument::OFF, ScDocument::PutInFormulaTree(), and rDocument.
void ScFormulaCell::SetDirtyVar | ( | ) |
Definition at line 2558 of file formulacell.cxx.
References bDirty, sc::GroupCalcEnabled, sc::GroupCalcRunning, mbPostponedDirty, and mxGroup.
Referenced by AddRecalcMode(), ScDocument::CalcFormulaTree(), CompileXML(), lcl_InterpretSpan(), Notify(), ScInterpreter::ScTableOp(), SetDirty(), and ScDocFunc::SetFormulaCell().
void ScFormulaCell::SetErrCode | ( | FormulaError | n | ) |
Definition at line 2631 of file formulacell.cxx.
References aResult, n, pCode, formula::FormulaTokenArray::SetCodeError(), and ScFormulaResult::SetResultError().
Referenced by ScViewFunc::EnterData(), ScInterpreter::ScDde(), ScInterpreter::ScWebservice(), ExcelToSc::SetError(), ScColumn::SetError(), and sc::CopyFromClipContext::setSingleCell().
|
inline |
Definition at line 225 of file formulacell.hxx.
Referenced by ScConditionEntry::Interpret().
void ScFormulaCell::SetHybridDouble | ( | double | n | ) |
For import only: set a double result.
Definition at line 2655 of file formulacell.cxx.
References aResult, n, 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 2665 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 2670 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 2660 of file formulacell.cxx.
References aResult, and ScFormulaResult::SetHybridString().
Referenced by ScXMLTableRowCellContext::PutTextCell(), and ScXMLTableRowCellContext::SetFormulaCell().
void ScFormulaCell::SetInChangeTrack | ( | bool | bVal | ) |
Definition at line 2414 of file formulacell.cxx.
References bInChangeTrack.
Referenced by ScChangeActionContent::SetCell(), ScXMLChangeTrackingImportHelper::SetNewCell(), ScChangeActionContent::SetValue(), and ScChangeActionContent::SetValueString().
|
inline |
Definition at line 506 of file formulacell.hxx.
Definition at line 2388 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 1095 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 1090 of file formulacell.cxx.
References mbPostponedDirty.
void ScFormulaCell::SetNeedsListening | ( | bool | bVar | ) |
Definition at line 1088 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 3991 of file formulacell.cxx.
References pNext.
Referenced by ScDocument::PutInFormulaTree(), and ScDocument::RemoveFromFormulaTree().
void ScFormulaCell::SetNextTrack | ( | ScFormulaCell * | pF | ) |
Definition at line 3993 of file formulacell.cxx.
References pNextTrack.
Referenced by ScDocument::AppendToFormulaTrack(), and ScDocument::RemoveFromFormulaTrack().
void ScFormulaCell::SetPrevious | ( | ScFormulaCell * | pF | ) |
Definition at line 3990 of file formulacell.cxx.
References pPrevious.
Referenced by ScDocument::PutInFormulaTree(), and ScDocument::RemoveFromFormulaTree().
void ScFormulaCell::SetPreviousTrack | ( | ScFormulaCell * | pF | ) |
Definition at line 3992 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 2606 of file formulacell.cxx.
References aResult, n, and ScFormulaResult::SetDouble().
Referenced by ImportExcel::Formula(), ScColumn::SetFormulaResults(), and ImportExcel::Shrfmla().
void ScFormulaCell::SetResultError | ( | FormulaError | n | ) |
Definition at line 2643 of file formulacell.cxx.
References aResult, n, and ScFormulaResult::SetResultError().
Referenced by ScColumn::SetFormulaResults().
void ScFormulaCell::SetResultMatrix | ( | SCCOL | nCols, |
SCROW | nRows, | ||
const ScConstMatrixRef & | pMat, | ||
const formula::FormulaToken * | pUL | ||
) |
Definition at line 2626 of file formulacell.cxx.
References aResult, and ScFormulaResult::SetMatrix().
Referenced by ScXMLTableRowCellContext::AddFormulaCell().
void ScFormulaCell::SetResultToken | ( | const formula::FormulaToken * | pToken | ) |
Definition at line 2611 of file formulacell.cxx.
References aResult, and ScFormulaResult::SetToken().
void ScFormulaCell::SetRunning | ( | bool | bVal | ) |
Definition at line 3954 of file formulacell.cxx.
References bRunning.
Referenced by ScDetectiveFunc::FindPredLevel(), ScDetectiveFunc::FindSuccLevel(), ScDetectiveFunc::InsertErrorLevel(), ScDetectiveFunc::InsertPredLevel(), and ScDetectiveFunc::InsertSuccLevel().
|
inline |
Definition at line 508 of file formulacell.hxx.
Referenced by ScRecursionHelper::PopFormulaGroup(), and ScRecursionHelper::PushFormulaGroup().
void ScFormulaCell::SetTableOpDirty | ( | ) |
Definition at line 2584 of file formulacell.cxx.
References ScDocument::AddTableOpFormulaCell(), ScDocument::AppendToFormulaTrack(), bTableOpDirty, ScDocument::GetHardRecalcState(), IsInChangeTrack(), ScDocument::IsInFormulaTree(), ScDocument::OFF, rDocument, and ScDocument::TrackFormulas().
Referenced by ScInterpreter::ScTableOp().
void ScFormulaCell::StartListeningTo | ( | sc::StartListeningContext & | rCxt | ) |
Definition at line 5291 of file formulacell.cxx.
References aPos, BCA_LISTEN_ALWAYS, GetCode(), sc::StartListeningContext::getDoc(), formula::FormulaTokenArrayPlainIterator::GetNextReferenceRPN(), ScDocument::GetNoListening(), ScDocument::IsClipOrUndo(), IsInChangeTrack(), formula::FormulaTokenArray::IsRecalcModeAlways(), ScAddress::IsValid(), mxGroup, rDocument, ScDocument::SetDetectiveDirty(), SetNeedsListening(), ScDocument::StartListeningArea(), ScDocument::StartListeningCell(), svDoubleRef, svSingleRef, and t.
void ScFormulaCell::StartListeningTo | ( | ScDocument & | rDoc | ) |
Definition at line 5250 of file formulacell.cxx.
References aPos, BCA_LISTEN_ALWAYS, GetCode(), formula::FormulaTokenArrayPlainIterator::GetNextReferenceRPN(), ScDocument::GetNoListening(), ScDocument::IsClipOrUndo(), IsInChangeTrack(), formula::FormulaTokenArray::IsRecalcModeAlways(), ScAddress::IsValid(), mxGroup, rDocument, ScDocument::SetDetectiveDirty(), SetNeedsListening(), ScDocument::StartListeningArea(), ScDocument::StartListeningCell(), svDoubleRef, svSingleRef, and t.
Referenced by ScColumn::AttachNewFormulaCell(), CalcAfterLoad(), CompileTokenArray(), CompileXML(), ScTable::FillFormula(), HandleStuffAfterParallelCalculation(), InterpretTail(), Notify(), ScFormulaCell(), sc::SharedFormulaUtil::startListeningAsGroup(), UpdateGrow(), UpdateReferenceOnMove(), and UpdateTranspose().
void ScFormulaCell::SyncSharedCode | ( | ) |
Definition at line 5508 of file formulacell.cxx.
bool ScFormulaCell::TestTabRefAbs | ( | SCTAB | nTable | ) |
Definition at line 3702 of file formulacell.cxx.
References aPos, formula::FormulaTokenArrayPlainIterator::GetNextReferenceRPN(), ScDocument::IsClipOrUndo(), ScSingleRefData::IsTabRel(), mxGroup, p, pCode, rDocument, ScSingleRefData::SetAbsTab(), formula::svDoubleRef, ScAddress::Tab(), and ScSingleRefData::Tab().
void ScFormulaCell::TransposeReference | ( | ) |
Definition at line 3759 of file formulacell.cxx.
References bCompile, formula::FormulaTokenArrayPlainIterator::GetNextReference(), ScSingleRefData::IsColRel(), ScSingleRefData::IsRowRel(), lcl_TransposeReference(), pCode, formula::svDoubleRef, and t.
void ScFormulaCell::UpdateCompile | ( | bool | bForceIfNameInUse | ) |
Definition at line 3740 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 3622 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 3873 of file formulacell.cxx.
References aPos, bCompile, CompileTokenArray(), EndListeningTo(), ScDocument::FindRangeNameBySheetAndIndex(), formula::FormulaTokenArrayPlainIterator::GetNextReferenceOrName(), ScDocument::GetSheetLimits(), ocName, pCode, pName, rDocument, SingleDoubleRefModifier::Ref(), SetDirty(), ScComplexRefData::SetRange(), StartListeningTo(), svIndex, t, ScComplexRefData::toAbs(), ScRefUpdate::UpdateGrow(), and UR_NOTHING.
void ScFormulaCell::UpdateInsertTab | ( | const sc::RefUpdateInsertTabContext & | rCxt | ) |
Definition at line 3592 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().
void ScFormulaCell::UpdateInsertTabAbs | ( | SCTAB | nTable | ) |
Definition at line 3676 of file formulacell.cxx.
References formula::FormulaTokenArrayPlainIterator::GetNextReferenceRPN(), ScSingleRefData::IncTab(), ScDocument::IsClipOrUndo(), ScSingleRefData::IsTabRel(), mxGroup, p, pCode, rDocument, formula::svDoubleRef, and ScSingleRefData::Tab().
void ScFormulaCell::UpdateMoveTab | ( | const sc::RefUpdateMoveTabContext & | rCxt, |
SCTAB | nTabNo | ||
) |
Definition at line 3649 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 3114 of file formulacell.cxx.
References aPos, ScRange::Contains(), sc::RefUpdateContext::maRange, sc::RefUpdateContext::meMode, sc::RefUpdateContext::mnColDelta, sc::RefUpdateContext::mnRowDelta, sc::RefUpdateContext::mnTabDelta, ScAddress::Move(), sc::RefUpdateContext::mrDoc, 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 3557 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 3498 of file formulacell.cxx.
References aPos, bCompile, ScTokenArray::Clone(), cMatrixFlag, ScAddress::Col(), CompileTokenArray(), ScRange::Contains(), eTempGrammar, formula::FormulaTokenArrayPlainIterator::GetNextColRowName(), formula::FormulaTokenArray::HasReferences(), 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 3367 of file formulacell.cxx.
References ScTokenArray::AdjustReferenceOnMove(), aPos, bCompile, ScTokenArray::Clone(), cMatrixFlag, ScAddress::Col(), CompileTokenArray(), ScRange::Contains(), DOUBLE, EndListeningTo(), eTempGrammar, ScDocument::GetChangeTrack(), formula::FormulaTokenArrayPlainIterator::GetNextColRowName(), formula::FormulaTokenArray::HasReferences(), HasRelNameReference(), 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 3247 of file formulacell.cxx.
References ScTokenArray::AdjustReferenceOnShift(), aPos, 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 3787 of file formulacell.cxx.
References ScRange::aEnd, aPos, aResult, ScRange::aStart, bCompile, ScTokenArray::Clone(), cMatrixFlag, ScAddress::Col(), CompileTokenArray(), ScRange::Contains(), ScRefUpdate::DoTranspose(), EndListeningTo(), eTempGrammar, ScDocument::FindRangeNameBySheetAndIndex(), formula::FormulaTokenArrayPlainIterator::GetNextReferenceOrName(), ScDocument::GetSheetLimits(), ScSingleRefData::IsFlag3D(), ScSingleRefData::IsTabRel(), ocName, pCode, pName, rDocument, SingleDoubleRefModifier::Ref(), ScComplexRefData::Ref1, ScComplexRefData::Ref2, ScAddress::Row(), ScFormulaCell(), ScAddress::Set(), SetDirty(), ScSingleRefData::SetFlag3D(), ScDocument::SetFormulaCell(), ScComplexRefData::SetRange(), ScFormulaResult::SetToken(), StartListeningTo(), svIndex, t, ScAddress::Tab(), ScComplexRefData::toAbs(), ScRefUpdate::UpdateTranspose(), and UR_NOTHING.
ScAddress ScFormulaCell::aPos |
Definition at line 188 of file formulacell.hxx.
Referenced by ScDocument::AddDelayedFormulaGroupingCell(), ScDocument::AddTableOpFormulaCell(), ScCellValue::assign(), ScColumn::AttachNewFormulaCells(), CalcAfterLoad(), Clone(), Compile(), CompileTokenArray(), CompileXML(), ScTable::CopyData(), ScColumn::DetachFormulaCell(), ScValidationData::DoCalcError(), ScViewFunc::DoRefConversion(), EndListeningTo(), ScOutputData::FindChanged(), XclExpChTrCellContent::GetCellData(), GetFormula(), ScChangeActionContent::GetFormulaString(), GetMatrixEdge(), GetMatrixOrigin(), GetURLResult(), HandleStuffAfterParallelCalculation(), HasOneReference(), HasRefListExpressibleAsOneReference(), sc::FormulaLogger::GroupScope::Impl::Impl(), Interpret(), InterpretFormulaGroup(), InterpretFormulaGroupThreading(), InterpretInvariantFormulaGroup(), InterpretTail(), sc::SharedFormulaUtil::joinFormulaCells(), lcl_AddFormulaGroupBoundaries(), lcl_EvalDirty(), MarkUsedExternalReferences(), Notify(), ScCompiler::ParseColRowName(), ScCompiler::ParseTableRefColumn(), sc::FormulaGroupAreaListener::Query(), Query(), XclExpFormulaCell::SaveXml(), ScFormulaCell(), ScFormulaListener::ScFormulaListener(), SetDirty(), sc::SharedFormulaUtil::splitFormulaCellGroup(), sc::SharedFormulaUtil::startListeningAsGroup(), StartListeningTo(), TestTabRefAbs(), sc::SharedFormulaUtil::unshareFormulaCell(), UpdateDeleteTab(), UpdateGrow(), UpdateInsertTab(), UpdateMoveTab(), UpdatePosOnShift(), ScChangeActionContent::UpdateReference(), UpdateReferenceOnCopy(), UpdateReferenceOnMove(), UpdateReferenceOnShift(), UpdateTranspose(), and ScChangeTrackingExportHelper::WriteFormulaCell().
|
private |
Definition at line 143 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 126 of file formulacell.hxx.
Referenced by Compile(), CompileTokenArray(), CompileXML(), Interpret(), InterpretTail(), and SetChanged().
|
private |
Definition at line 128 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 124 of file formulacell.hxx.
Referenced by CalcAfterLoad(), GetMatrix(), Interpret(), Notify(), ResetDirty(), SetDirty(), SetDirtyAfterLoad(), and SetDirtyVar().
|
private |
Definition at line 131 of file formulacell.hxx.
Referenced by SetInChangeTrack().
|
private |
Definition at line 130 of file formulacell.hxx.
Referenced by Interpret(), and InterpretTail().
|
private |
Definition at line 132 of file formulacell.hxx.
Referenced by SetNeedsListening().
|
private |
Definition at line 127 of file formulacell.hxx.
Referenced by Interpret(), InterpretTail(), and SetRunning().
|
private |
Definition at line 129 of file formulacell.hxx.
Referenced by CalcAfterLoad(), CompileTokenArray(), CompileXML(), Notify(), and ScFormulaCell().
|
private |
Definition at line 125 of file formulacell.hxx.
Referenced by Notify(), ResetDirty(), ResetTableOpDirtyVar(), and SetTableOpDirty().
|
private |
Definition at line 140 of file formulacell.hxx.
Referenced by CalcAfterLoad(), CompileTokenArray(), CompileXML(), GetFormula(), GetMatrix(), GetMatrixEdge(), GetMatrixOrigin(), InterpretFormulaGroup(), InterpretFormulaGroupOpenCL(), InterpretInvariantFormulaGroup(), InterpretTail(), ScFormulaCell(), UpdateReferenceOnCopy(), UpdateReferenceOnMove(), UpdateReferenceOnShift(), and UpdateTranspose().
|
private |
Definition at line 144 of file formulacell.hxx.
Referenced by CalcAfterLoad(), CompileTokenArray(), CompileXML(), ScFormulaCell(), SetHybridFormula(), UpdateReferenceOnCopy(), UpdateReferenceOnMove(), UpdateReferenceOnShift(), and UpdateTranspose().
|
private |
Definition at line 134 of file formulacell.hxx.
Referenced by InterpretTail(), and SetNeedNumberFormat().
|
private |
Definition at line 139 of file formulacell.hxx.
Referenced by Interpret().
|
private |
Definition at line 137 of file formulacell.hxx.
Referenced by CompileXML().
|
private |
Definition at line 133 of file formulacell.hxx.
Referenced by InterpretTail(), and SetNeedNumberFormat().
|
private |
Definition at line 136 of file formulacell.hxx.
Referenced by ResetDirty(), SetDirty(), SetDirtyVar(), SetNeedsDirty(), and UpdateReferenceOnShift().
|
private |
Definition at line 138 of file formulacell.hxx.
Referenced by Interpret().
|
private |
Definition at line 123 of file formulacell.hxx.
Referenced by CheckComputeDependencies(), Compile(), CompileXML(), CreateCellGroup(), EndListeningTo(), GetSharedCode(), GetSharedLength(), GetSharedTopRow(), GetWeight(), Interpret(), InterpretFormulaGroup(), InterpretFormulaGroupOpenCL(), InterpretFormulaGroupThreading(), InterpretInvariantFormulaGroup(), IsShared(), IsSharedTop(), SetCellGroup(), SetCode(), SetDirtyVar(), StartListeningTo(), SyncSharedCode(), TestTabRefAbs(), UpdateDeleteTab(), UpdateInsertTab(), UpdateInsertTabAbs(), UpdateMoveTab(), UpdateReference(), and ~ScFormulaCell().
|
private |
Definition at line 142 of file formulacell.hxx.
Referenced by CalcAfterLoad(), CompileTokenArray(), CompileXML(), InterpretTail(), and ScFormulaCell().
|
private |
Definition at line 141 of file formulacell.hxx.
Referenced by Interpret(), and InterpretTail().
|
private |
Definition at line 147 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(), 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 150 of file formulacell.hxx.
Referenced by SetNext().
|
private |
Definition at line 152 of file formulacell.hxx.
Referenced by SetNextTrack().
|
private |
Definition at line 149 of file formulacell.hxx.
Referenced by SetPrevious().
|
private |
Definition at line 151 of file formulacell.hxx.
Referenced by SetPreviousTrack().
|
private |
Definition at line 148 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().