From d3e7441e45aad3e29f77bf0dedd766cf9a6ab7b4 Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Thu, 18 Oct 2001 08:03:25 +0000 Subject: #i1843# DeleteCol/DeleteRow: correctly reestablish listeners on absolute name references --- sc/inc/cell.hxx | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'sc/inc/cell.hxx') 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() ); -- cgit