26#include <document.hxx>
33 bool bNullVals,
bool bFormula,
bool bUseStarFormat )
54 if (!bNullVals &&
nValue == 0.0)
88 if (nErrCode != FormulaError::NONE)
95 if ( !bNullVals && fValue == 0.0 )
100 rFormatter.
GetOutputString( fValue, nFormat, str, ppColor, bUseStarFormat );
108 nFormat, str, ppColor, bUseStarFormat );
126 return GetString(aCell, nFormat, ppColor, rFormatter, rDoc, bNullVals, bFormula);
133 if(pShared !=
nullptr)
149 std::optional<OUString> str;
163 if( pShared !=
nullptr )
170 if (nErrCode != FormulaError::NONE)
173 if( pShared !=
nullptr )
180 if( pShared !=
nullptr )
OUString GetText(LineEnd eEnd=LINEEND_LF) const
SC_DLLPUBLIC sal_uInt32 GetNumberFormat(SCCOL nCol, SCROW nRow, SCTAB nTab) const
SC_DLLPUBLIC ScFieldEditEngine & GetEditEngine()
bool IsInInterpreter() const
SC_DLLPUBLIC SvNumberFormatter * GetFormatTable() const
sal_uInt16 GetMacroInterpretLevel() const
void SetTextCurrentDefaults(const EditTextObject &rTextObject)
SetText and apply defaults already set.
static OUString GetErrorString(FormulaError nErrNumber)
static const OUString EMPTY_STRING
const OUString & getString() const
static const SharedString & getEmptyString()
std::unique_ptr< sal_Int32[]> pData
This is very similar to ScCellValue, except that it references the original value instead of copying ...
ScFormulaCell * getFormula() const
const EditTextObject * getEditText() const
OUString getString(const ScDocument *pDoc) const
Retrieve string value.
const svl::SharedString * getSharedString() const