summaryrefslogtreecommitdiffstats
path: root/sc/inc/dpitemdata.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-03-07 22:07:09 -0500
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-03-09 11:13:34 -0500
commit57c0ff6602dfbd0b7622a643e179923bf632cd87 (patch)
tree2d9f91bd3d2c3054ed3bdb56be7cb022ecd68800 /sc/inc/dpitemdata.hxx
parentThese functions are no longer used. (diff)
downloadcore-57c0ff6602dfbd0b7622a643e179923bf632cd87.tar.gz
core-57c0ff6602dfbd0b7622a643e179923bf632cd87.zip
Properly display grouped range values for range-based grouping.
Diffstat (limited to 'sc/inc/dpitemdata.hxx')
-rw-r--r--sc/inc/dpitemdata.hxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/sc/inc/dpitemdata.hxx b/sc/inc/dpitemdata.hxx
index 00b7cd4d6650..926ce7a986d8 100644
--- a/sc/inc/dpitemdata.hxx
+++ b/sc/inc/dpitemdata.hxx
@@ -49,7 +49,7 @@ class SC_DLLPUBLIC ScDPItemData
friend class ScDPCache;
public:
- enum Type { GroupValue = 0, Value = 1, String = 2, Error = 3, Empty = 4 };
+ enum Type { GroupValue = 0, RangeStart, Value, String, Error, Empty };
static const sal_Int32 DateFirst;
static const sal_Int32 DateLast;
@@ -70,6 +70,8 @@ private:
Type meType;
+ void DisposeString();
+
public:
// case insensitive equality
static sal_Int32 Compare(const ScDPItemData& rA, const ScDPItemData& rB);
@@ -84,6 +86,9 @@ public:
Type GetType() const;
void SetString(const rtl::OUString& rS);
void SetValue(double fVal);
+ void SetRangeStart(double fVal);
+ void SetRangeFirst();
+ void SetRangeLast();
void SetGroupValue(sal_Int32 nGroupType, sal_Int32 nValue);
void SetErrorString(const rtl::OUString& rS);
bool IsCaseInsEqual(const ScDPItemData& r) const;