summaryrefslogtreecommitdiff
path: root/sc/inc/compiler.hxx
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2008-07-08 06:19:00 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2008-07-08 06:19:00 +0000
commit5561da577230af4c90d8b6dcbb00b633360738ef (patch)
tree42e0d7deb2455c47471579b1123cc1a8e52cbc6c /sc/inc/compiler.hxx
parentfff2f1e0656e9d4b10055daf66067caf819481e0 (diff)
INTEGRATION: CWS odff04 (1.37.36); FILE MERGED
2008/06/17 20:54:06 er 1.37.36.1: #i6087# allow all characters in sheet names; patch by <cmc> and <kohei>
Diffstat (limited to 'sc/inc/compiler.hxx')
-rw-r--r--sc/inc/compiler.hxx18
1 files changed, 17 insertions, 1 deletions
diff --git a/sc/inc/compiler.hxx b/sc/inc/compiler.hxx
index 4617936c0b52..a7b540a4c6aa 100644
--- a/sc/inc/compiler.hxx
+++ b/sc/inc/compiler.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: compiler.hxx,v $
- * $Revision: 1.38 $
+ * $Revision: 1.39 $
*
* This file is part of OpenOffice.org.
*
@@ -227,6 +227,22 @@ public:
parseAnyToken( const String& rFormula,
xub_StrLen nSrcPos,
const CharClass* pCharClass) const = 0;
+
+ enum SpecialSymbolType
+ {
+ /**
+ * Character between sheet name and address. In OOO A1 this is
+ * '.', while XL A1 and XL R1C1 this is '!'.
+ */
+ SHEET_SEPARATOR,
+
+ /**
+ * In OOO A1, a sheet name may be prefixed with '$' to indicate an
+ * absolute sheet position.
+ */
+ ABS_SHEET_PREFIX
+ };
+ virtual sal_Unicode getSpecialSymbol( SpecialSymbolType eSymType ) const = 0;
};
friend struct Convention;