diff options
author | Niklas Nebel <nn@openoffice.org> | 2000-11-06 17:29:04 +0000 |
---|---|---|
committer | Niklas Nebel <nn@openoffice.org> | 2000-11-06 17:29:04 +0000 |
commit | 6b0202ad47e85b30a71e3a54a9bd2a273a9a1892 (patch) | |
tree | 0e077d0841aa252f082af38c863fb31382d584c1 /sc/inc/detfunc.hxx | |
parent | f7cfd389b89914c6c348374605a9939bebde0852 (diff) |
GetDetectiveObjectType
Diffstat (limited to 'sc/inc/detfunc.hxx')
-rw-r--r-- | sc/inc/detfunc.hxx | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/sc/inc/detfunc.hxx b/sc/inc/detfunc.hxx index 042be5f16e3e..883e1fb5574d 100644 --- a/sc/inc/detfunc.hxx +++ b/sc/inc/detfunc.hxx @@ -2,9 +2,9 @@ * * $RCSfile: detfunc.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: nn $ $Date: 2000-09-25 11:42:56 $ + * last change: $Author: nn $ $Date: 2000-11-06 18:27:47 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -74,11 +74,22 @@ class ScCommentData; class ScDetectiveData; class ScDocument; class ScTripel; +class ScAddress; +class ScRange; #define SC_DET_MAXCIRCLE 1000 enum ScDetectiveDelete { SC_DET_ALL, SC_DET_DETECTIVE, SC_DET_CIRCLES, SC_DET_COMMENTS }; +enum ScDetectiveObjType +{ + SC_DETOBJ_NONE, + SC_DETOBJ_ARROW, + SC_DETOBJ_FROMOTHERTAB, + SC_DETOBJ_TOOTHERTAB, + SC_DETOBJ_CIRCLE +}; + class ScDetectiveFunc { ScDocument* pDoc; @@ -120,6 +131,8 @@ class ScDetectiveFunc USHORT FindSuccLevel( USHORT nCol1, USHORT nRow1, USHORT nCol2, USHORT nRow2, USHORT nLevel, USHORT nDeleteLevel ); + BOOL FindFrameForObject( SdrObject* pObject, ScRange& rRange ); + public: ScDetectiveFunc(ScDocument* pDocument, USHORT nTable) : pDoc(pDocument),nTab(nTable) {} @@ -143,6 +156,9 @@ public: void UpdateAllComments(); // on all tables static BOOL IsNonAlienArrow( SdrObject* pObject ); + + ScDetectiveObjType GetDetectiveObjectType( SdrObject* pObject, + ScAddress& rPosition, ScRange& rSource, BOOL& rRedLine ); }; |