summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorNiklas Nebel <nn@openoffice.org>2002-07-15 13:34:55 +0000
committerNiklas Nebel <nn@openoffice.org>2002-07-15 13:34:55 +0000
commite5ad8de8c8d4005e4b84e94fbaf59dd4cc8efedc (patch)
tree8c95933986c3f2d58d0a837a58c82c9c6b4678ab /sc/inc
parent28fe441ee7562d91b448f496a8d7a2c8bc5095bf (diff)
#101161# allow drawing objects at copy&paste of cells
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/document.hxx9
-rw-r--r--sc/inc/drwlayer.hxx9
2 files changed, 13 insertions, 5 deletions
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx
index 27c66cd0071f..9f599e587ad0 100644
--- a/sc/inc/document.hxx
+++ b/sc/inc/document.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: document.hxx,v $
*
- * $Revision: 1.55 $
+ * $Revision: 1.56 $
*
- * last change: $Author: er $ $Date: 2002-01-16 15:02:36 $
+ * last change: $Author: nn $ $Date: 2002-07-15 14:21:08 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -920,6 +920,8 @@ public:
BOOL IsCutMode();
void SetClipArea( const ScRange& rArea, BOOL bCut = FALSE );
+ BOOL HasOLEObjectsInArea( const ScRange& rRange, const ScMarkData* pTabMark = NULL );
+
void DeleteObjectsInArea( USHORT nCol1, USHORT nRow1, USHORT nCol2, USHORT nRow2,
const ScMarkData& rMark );
void DeleteObjectsInSelection( const ScMarkData& rMark );
@@ -932,7 +934,8 @@ public:
void DeleteAreaTab(const ScRange& rRange, USHORT nDelFlag);
void CopyToClip(USHORT nCol1, USHORT nRow1, USHORT nCol2, USHORT nRow2,
BOOL bCut, ScDocument* pClipDoc, BOOL bAllTabs,
- const ScMarkData* pMarks = NULL, BOOL bKeepScenarioFlags=FALSE);
+ const ScMarkData* pMarks = NULL,
+ BOOL bKeepScenarioFlags = FALSE, BOOL bIncludeObjects = FALSE);
void CopyTabToClip(USHORT nCol1, USHORT nRow1, USHORT nCol2, USHORT nRow2,
USHORT nTab, ScDocument* pClipDoc = NULL);
void CopyBlockFromClip( USHORT nCol1, USHORT nRow1, USHORT nCol2, USHORT nRow2,
diff --git a/sc/inc/drwlayer.hxx b/sc/inc/drwlayer.hxx
index 3964366b3f69..628379c57eff 100644
--- a/sc/inc/drwlayer.hxx
+++ b/sc/inc/drwlayer.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: drwlayer.hxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: nn $ $Date: 2001-10-05 14:14:51 $
+ * last change: $Author: nn $ $Date: 2002-07-15 14:21:08 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -185,6 +185,11 @@ public:
void DeleteObjectsInSelection( const ScMarkData& rMark );
void DeleteObjects( USHORT nTab );
+ void CopyToClip( ScDocument* pClipDoc, USHORT nTab, const Rectangle& rRange );
+ void CopyFromClip( ScDrawLayer* pClipModel,
+ USHORT nSourceTab, const Rectangle& rSourceRange,
+ const ScAddress& rDestPos, const Rectangle& rDestRange );
+
void SetPageSize( USHORT nPageNo, const Size& rSize );
ULONG GetDefTextHeight() const;