summaryrefslogtreecommitdiff
path: root/sc/inc/cell.hxx
diff options
context:
space:
mode:
authorEike Rathke <er@openoffice.org>2001-10-18 08:03:25 +0000
committerEike Rathke <er@openoffice.org>2001-10-18 08:03:25 +0000
commitd3e7441e45aad3e29f77bf0dedd766cf9a6ab7b4 (patch)
tree7279c58e6c37c39051feb335df62bc3d0d2cbf87 /sc/inc/cell.hxx
parentf4dfcbf094854c868e052c7baf05c7df9c744f3f (diff)
#i1843# DeleteCol/DeleteRow: correctly reestablish listeners on absolute name references
Diffstat (limited to 'sc/inc/cell.hxx')
-rw-r--r--sc/inc/cell.hxx14
1 files changed, 10 insertions, 4 deletions
diff --git a/sc/inc/cell.hxx b/sc/inc/cell.hxx
index 2e51d8085ecc..3124ec797e83 100644
--- a/sc/inc/cell.hxx
+++ b/sc/inc/cell.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: cell.hxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: er $ $Date: 2001-10-12 12:31:07 $
+ * last change: $Author: er $ $Date: 2001-10-18 08:56:15 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -92,6 +92,11 @@
// set (in nScriptType) if type has not been determined yet
#define SC_SCRIPTTYPE_UNKNOWN 0x08
+// For StartListeningTo()/EndListeningTo() restricted to absolute/relative names
+#define SC_LISTENING_NAMES_REL 0x01
+#define SC_LISTENING_NAMES_ABS 0x02
+#define SC_LISTENING_EXCEPT 0x04
+
class ScDocument;
class EditTextObject;
class ScMatrix;
@@ -146,10 +151,11 @@ public:
// String- oder EditCell
static ScBaseCell* CreateTextCell( const String& rString, ScDocument* );
+ // nOnlyNames may be one or more of SC_LISTENING_NAMES_*
void StartListeningTo( ScDocument* pDoc,
- BOOL bOnlyRelNames = FALSE );
+ USHORT nOnlyNames = 0 );
void EndListeningTo( ScDocument* pDoc,
- BOOL bOnlyRelNames = FALSE,
+ USHORT nOnlyNames = 0,
ScTokenArray* pArr = NULL,
ScAddress aPos = ScAddress() );