summaryrefslogtreecommitdiff
path: root/sc/inc/detfunc.hxx
diff options
context:
space:
mode:
authorNiklas Nebel <nn@openoffice.org>2000-11-09 14:09:26 +0000
committerNiklas Nebel <nn@openoffice.org>2000-11-09 14:09:26 +0000
commit9807d51b6588d363bd34fb8d6260b82435e1a491 (patch)
tree079630fb85fbe4cb55aed94080310df4e7dffeeb /sc/inc/detfunc.hxx
parentb60e43f44c0042296812d3a0e27ca9473c0e12e5 (diff)
InsertObject
Diffstat (limited to 'sc/inc/detfunc.hxx')
-rw-r--r--sc/inc/detfunc.hxx18
1 files changed, 16 insertions, 2 deletions
diff --git a/sc/inc/detfunc.hxx b/sc/inc/detfunc.hxx
index 883e1fb5574d..c50366018ae4 100644
--- a/sc/inc/detfunc.hxx
+++ b/sc/inc/detfunc.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: detfunc.hxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: nn $ $Date: 2000-11-06 18:27:47 $
+ * last change: $Author: nn $ $Date: 2000-11-09 15:06:26 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -106,10 +106,22 @@ class ScDetectiveFunc
void FillAttributes( ScDetectiveData& rData );
+ // called from DrawEntry/DrawAlienEntry and InsertObject
+ BOOL InsertArrow( USHORT nCol, USHORT nRow,
+ USHORT nRefStartCol, USHORT nRefStartRow,
+ USHORT nRefEndCol, USHORT nRefEndRow,
+ BOOL bFromOtherTab, BOOL bRed,
+ ScDetectiveData& rData );
+ BOOL InsertToOtherTab( USHORT nStartCol, USHORT nStartRow,
+ USHORT nEndCol, USHORT nEndRow, BOOL bRed,
+ ScDetectiveData& rData );
+
+ // DrawEntry / DrawAlienEntry check for existing arrows and errors
BOOL DrawEntry( USHORT nCol, USHORT nRow, const ScTripel& rRefStart, const ScTripel& rRefEnd,
ScDetectiveData& rData );
BOOL DrawAlienEntry( const ScTripel& rRefStart, const ScTripel& rRefEnd,
ScDetectiveData& rData );
+
void DrawCircle( USHORT nCol, USHORT nRow, ScDetectiveData& rData );
SdrObject* DrawCaption( USHORT nCol, USHORT nRow, const String& rText,
@@ -159,6 +171,8 @@ public:
ScDetectiveObjType GetDetectiveObjectType( SdrObject* pObject,
ScAddress& rPosition, ScRange& rSource, BOOL& rRedLine );
+ void InsertObject( ScDetectiveObjType eType, const ScAddress& rPosition,
+ const ScRange& rSource, BOOL bRedLine );
};