25#include <rtl/math.hxx>
75 mfValue(0.0),
meType(
Empty), mbStringInterned(false) {}
120 meType(GroupValue), mbStringInterned(false)
170 mfValue = -std::numeric_limits<double>::infinity();
177 mfValue = std::numeric_limits<double>::infinity();
234 return Compare(*
this, r) == -1;
284void ScDPItemData::Dump(
const char* msg)
const
286 printf(
"--- (%s)\n", msg);
293 printf(
"error: %s\n",
297 printf(
"group value: group type = %d value = %d\n",
301 printf(
"string: %s\n",
305 printf(
"value: %g\n",
mfValue);
308 printf(
"range start: %g\n",
mfValue);
311 printf(
"unknown type\n");
336 return OUString::number(
mfValue);
sal_Int32 compareString(const OUString &s1, const OUString &s2) const
When assigning a string value, you can also assign an interned string whose life-cycle is managed by ...
void SetStringInterned(rtl_uString *pS)
ScDPValue::Type GetCellType() const
void SetErrorStringInterned(rtl_uString *pS)
void SetValue(double fVal)
ScDPItemData & operator=(const ScDPItemData &r)
void SetRangeStart(double fVal)
OUString GetString() const
GroupValueAttr maGroupValue
bool HasStringData() const
void SetString(const OUString &rS)
static const sal_Int32 DateFirst
static sal_Int32 Compare(const ScDPItemData &rA, const ScDPItemData &rB)
bool operator==(const ScDPItemData &r) const
bool operator<(const ScDPItemData &r) const
bool IsCaseInsEqual(const ScDPItemData &r) const
static const sal_Int32 DateLast
GroupValueAttr GetGroupValue() const
static SC_DLLPUBLIC CollatorWrapper & GetCollator()
case-insensitive collator
static SC_DLLPUBLIC ::utl::TransliterationWrapper & GetTransliteration()
bool isEqual(const OUString &rStr1, const OUString &rStr2) const
std::unique_ptr< sal_Int32[]> pData
OString OUStringToOString(std::u16string_view str, ConnectionSettings const *settings)