summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-11-02 01:47:49 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-11-02 14:58:11 +0100
commit44990c104508c889e459ea6fea3cc13da2fc34a7 (patch)
treed36d4427c77b1407d03ca5e1dfa5f543a3d7e41b /sc/inc
parentf1fdd5adb63f84fe7c65374b1a7cf9bd96e7d6b6 (diff)
implement above/below average conditional format
Change-Id: I9ea745818552a8e2553b0de17f2e83d8b8da3d3b
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/conditio.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/inc/conditio.hxx b/sc/inc/conditio.hxx
index 51b3dba67c87..cebb8f421fe8 100644
--- a/sc/inc/conditio.hxx
+++ b/sc/inc/conditio.hxx
@@ -74,6 +74,8 @@ enum ScConditionMode
SC_COND_BOTTOM10,
SC_COND_TOP_PERCENT,
SC_COND_BOTTOM_PERCENT,
+ SC_COND_ABOVE_AVERAGE,
+ SC_COND_BELOW_AVERAGE,
SC_COND_NONE
};
@@ -257,6 +259,8 @@ private:
bool IsTopNPercent( double nArg, const ScRangeList& rRanges ) const;
bool IsBottomNElement( double nArg, const ScRangeList& rRanges ) const;
bool IsBottomNPercent( double nArg, const ScRangeList& rRanges ) const;
+ bool IsAboveAverage( double nArg, const ScRangeList& rRanges ) const;
+ bool IsBelowAverage( double nArg, const ScRangeList& rRanges ) const;
void FillCache(const ScRangeList& rRanges) const;