summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2015-03-11 19:19:18 +0100
committerEike Rathke <erack@redhat.com>2015-03-11 21:09:32 +0100
commit53488caa1ea0c67c8da2bc8f887cf9c8acfbd9cf (patch)
treeec6d4e308d62f2bde75b42bae1f8fb3b9260f45f /sc
parentd7b48d03b6b08c3a324a44513b622146263c725a (diff)
TableRef: possible item combinations
Change-Id: Id02fb58bbb9419d7c70d8265cb990ffc8ebc68ec
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/token.hxx16
1 files changed, 10 insertions, 6 deletions
diff --git a/sc/inc/token.hxx b/sc/inc/token.hxx
index 0d1aca1cca82..662c17c37a7b 100644
--- a/sc/inc/token.hxx
+++ b/sc/inc/token.hxx
@@ -215,12 +215,16 @@ public:
enum Item
{
- TABLE = 0,
- ALL = 1,
- HEADERS = 2,
- DATA = 4,
- TOTALS = 8,
- THIS_ROW = 16
+ TABLE = 0,
+ ALL = 1,
+ HEADERS = 2,
+ DATA = 4,
+ TOTALS = 8,
+ THIS_ROW = 16,
+ HEADERS_DATA = HEADERS | DATA,
+ DATA_TOTALS = DATA | TOTALS,
+ HEADERS_DATA_TOTALS = HEADERS | DATA | TOTALS,
+ ALL_COLUMN = HEADERS_DATA_TOTALS | 32 // semantically the same, but just a [#All] item
};
ScTableRefToken( sal_uInt16 nIndex, Item eItem );