summaryrefslogtreecommitdiff
path: root/sc/inc/mtvcellfunc.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/inc/mtvcellfunc.hxx')
-rw-r--r--sc/inc/mtvcellfunc.hxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/sc/inc/mtvcellfunc.hxx b/sc/inc/mtvcellfunc.hxx
index db72fd4a3278..195e6449007a 100644
--- a/sc/inc/mtvcellfunc.hxx
+++ b/sc/inc/mtvcellfunc.hxx
@@ -13,6 +13,10 @@
#include "mtvelements.hxx"
#include "mtvfunctions.hxx"
+#include <functional>
+
+class ScFormulaCell;
+
namespace sc {
template<typename Func>
@@ -32,6 +36,14 @@ ProcessFormula(
CellStoreType, formula_block, FuncElem, FuncElseNoOp<size_t> >(it, rStore, nRow1, nRow2, rFuncElem, aElse);
}
+/**
+ * Process formula cells found within specified row range. This function
+ * allows modifications of the states of the formula function objects.
+ */
+CellStoreType::iterator ProcessFormula(
+ const CellStoreType::iterator& it, CellStoreType& rStore, SCROW nRow1, SCROW nRow2,
+ std::function<void(size_t,ScFormulaCell*)> aFuncElem );
+
template<typename FuncElem, typename FuncElse>
typename CellStoreType::iterator
ProcessFormula(