diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-07-01 16:04:35 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-07-01 18:55:53 -0400 |
commit | ed76237e41ecdb58f524e14ea6b8866f8dacf6a9 (patch) | |
tree | a33661b0686eb87e203b5c9f329867eb91c6ce0e /sc/inc/types.hxx | |
parent | 83f77ab0661df992f241e5f9ecb1aa8f8eaeafec (diff) |
Reduce dependency on the matrix header.
Change-Id: Iade09d108aec78f8cbe92f9103f206d0c99fab8e
Diffstat (limited to 'sc/inc/types.hxx')
-rw-r--r-- | sc/inc/types.hxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sc/inc/types.hxx b/sc/inc/types.hxx index 629ab720f728..487afcd09676 100644 --- a/sc/inc/types.hxx +++ b/sc/inc/types.hxx @@ -20,6 +20,14 @@ typedef ::boost::intrusive_ptr<const ScMatrix> ScConstMatrixRef; class ScToken; typedef ::boost::intrusive_ptr<ScToken> ScTokenRef; +typedef sal_uInt8 ScMatValType; +const ScMatValType SC_MATVAL_VALUE = 0x00; +const ScMatValType SC_MATVAL_BOOLEAN = 0x01; +const ScMatValType SC_MATVAL_STRING = 0x02; +const ScMatValType SC_MATVAL_EMPTY = SC_MATVAL_STRING | 0x04; // STRING plus flag +const ScMatValType SC_MATVAL_EMPTYPATH = SC_MATVAL_EMPTY | 0x08; // EMPTY plus flag +const ScMatValType SC_MATVAL_NONVALUE = SC_MATVAL_EMPTYPATH; // mask of all non-value bits + struct ScFormulaCellGroup; typedef ::boost::intrusive_ptr<ScFormulaCellGroup> ScFormulaCellGroupRef; |