summaryrefslogtreecommitdiff
path: root/sc/inc/types.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2013-03-18 22:55:26 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2013-03-19 13:40:25 -0400
commitd6dbf417850e75cc3d4ac9e45ed9db3ffac507ed (patch)
tree25ee450a9dbe1f9ba3c30b8f4b4209bf568cb367 /sc/inc/types.hxx
parent292ffa80bc2665107d7011b2180c2659835d6c26 (diff)
Add accessor to ScDocument for formula cell's vectorization state.
Change-Id: I3c781764c6375dadb173bc5ab3cfb79857e2aeca
Diffstat (limited to 'sc/inc/types.hxx')
-rw-r--r--sc/inc/types.hxx13
1 files changed, 13 insertions, 0 deletions
diff --git a/sc/inc/types.hxx b/sc/inc/types.hxx
index bb454a9e0854..99d78f48d53a 100644
--- a/sc/inc/types.hxx
+++ b/sc/inc/types.hxx
@@ -36,6 +36,19 @@ class ScMatrix;
typedef ::boost::intrusive_ptr<ScMatrix> ScMatrixRef;
typedef ::boost::intrusive_ptr<const ScMatrix> ScConstMatrixRef;
+/**
+ * When vectorization is enabled, we could potentially mass-calculate a
+ * series of formula token arrays in adjacent formula cells in one step,
+ * provided that they all contain identical set of tokens.
+ */
+enum ScFormulaVectorState
+{
+ FormulaVectorDisabled = 0,
+ FormulaVectorEnabled,
+ FormulaVectorCheckReference,
+ FormulaVectorUnknown
+};
+
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */