23struct ColumnBlockPosition;
35 std::variant<std::monostate, double, svl::SharedString, EditTextObject*, ScFormulaCell*>
maData;
37 void reset_to_empty();
49 void clear() noexcept;
51 void set(
double fValue );
52 void set( const
svl::SharedString& rStr );
58 double getDouble()
const {
return std::get<double>(
maData); }
92 bool equalsWithoutFormat(
const ScCellValue& r )
const;
150 bool hasString()
const;
152 bool hasNumeric()
const;
154 bool hasError()
const;
162 double getRawValue()
const;
184 OUString getRawString(
const ScDocument& rDoc )
const;
186 bool isEmpty()
const;
188 bool hasEmptyValue();
std::shared_ptr< ExpressionNode > mpFormula
@ Default
Default cell clone flags: do not start listening, do not adjust 3D refs to old position,...
std::vector< sal_Int8, boost::noinit_adaptor< std::allocator< sal_Int8 > > > maData
OUString getString(const Any &_rAny)
def assign(rData, bBool, cChar, nByte, nShort, nUShort, nLong, nULong, nHyper, nUHyper, fFloat, fDouble, eEnum, rStr, xTest, rAny)
css::beans::Optional< css::uno::Any > getValue(std::u16string_view id)
void swap(cow_wrapper< T, P > &a, cow_wrapper< T, P > &b)
CAUTION! The following defines must be in the same namespace as the respective type.
These need to be in global namespace just like their respective types are.
Store arbitrary cell value of any kind.
ScFormulaCell * releaseFormula()
const svl::SharedString * getSharedString() const
std::variant< std::monostate, double, svl::SharedString, EditTextObject *, ScFormulaCell * > maData
std::monostate is there to indicate CellType::NONE
EditTextObject * releaseEditText()
ScFormulaCell * getFormula() const
EditTextObject * getEditText() const
This is very similar to ScCellValue, except that it references the original value instead of copying ...
ScFormulaCell * getFormula() const
const EditTextObject * getEditText() const
const EditTextObject * mpEditText
const svl::SharedString * mpString
ScFormulaCell * mpFormula
const svl::SharedString * getSharedString() const
Store position data for column array storage.