summaryrefslogtreecommitdiff
path: root/sc/inc/dpfilteredcache.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2013-07-13 16:59:16 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2013-07-13 17:01:15 -0400
commit76488b00ed75bf7915d6d57af9875c6434e740d6 (patch)
treee05058dde4a99c0fbd3a22228da45b2f075d9525 /sc/inc/dpfilteredcache.hxx
parentd9bfa462ba8dd0a966fe913fad49f300ea48f638 (diff)
fdo#63998: Filtering by page fields to work again.
Change-Id: I267ccb30cfa6347313fa1de96e18731f0e22d57d
Diffstat (limited to 'sc/inc/dpfilteredcache.hxx')
-rw-r--r--sc/inc/dpfilteredcache.hxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/sc/inc/dpfilteredcache.hxx b/sc/inc/dpfilteredcache.hxx
index bff1e181e7a7..e6c9bd0dc7c5 100644
--- a/sc/inc/dpfilteredcache.hxx
+++ b/sc/inc/dpfilteredcache.hxx
@@ -56,6 +56,8 @@ public:
/** returns true if the matching condition is met for a single cell
value, or false otherwise. */
virtual bool match( const ScDPItemData& rCellData ) const = 0;
+
+ virtual std::vector<ScDPItemData> getMatchValues() const = 0;
};
/** ordinary single-item filter. */
@@ -66,7 +68,7 @@ public:
virtual ~SingleFilter() {}
virtual bool match(const ScDPItemData& rCellData) const;
-
+ virtual std::vector<ScDPItemData> getMatchValues() const;
const ScDPItemData& getMatchValue() const;
private:
@@ -82,6 +84,7 @@ public:
GroupFilter();
virtual ~GroupFilter() {}
virtual bool match(const ScDPItemData& rCellData) const;
+ virtual std::vector<ScDPItemData> getMatchValues() const;
void addMatchItem(const ScDPItemData& rItem);
size_t getMatchItemCount() const;