summaryrefslogtreecommitdiff
path: root/sd/source/ui/inc/sdxfer.hxx
diff options
context:
space:
mode:
authorKai Ahrens <ka@openoffice.org>2001-09-24 12:20:01 +0000
committerKai Ahrens <ka@openoffice.org>2001-09-24 12:20:01 +0000
commit3df221c85a5c53f88dc359b7839c4ba6493c8482 (patch)
tree56e36e40ace1790b523f66e0e0db71da6915af6c /sd/source/ui/inc/sdxfer.hxx
parent1d2cb239e575c73c530df2bf5c5e400e14d987d5 (diff)
#80266#: added D&D functionality for slide view
Diffstat (limited to 'sd/source/ui/inc/sdxfer.hxx')
-rw-r--r--sd/source/ui/inc/sdxfer.hxx26
1 files changed, 17 insertions, 9 deletions
diff --git a/sd/source/ui/inc/sdxfer.hxx b/sd/source/ui/inc/sdxfer.hxx
index 73cc0d95d9b2..13f032536b61 100644
--- a/sd/source/ui/inc/sdxfer.hxx
+++ b/sd/source/ui/inc/sdxfer.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: sdxfer.hxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: ka $ $Date: 2001-08-29 12:22:35 $
+ * last change: $Author: ka $ $Date: 2001-09-24 13:15:58 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -81,12 +81,15 @@ class SdDrawDocument;
class INetBookmark;
class ImageMap;
class VirtualDevice;
+class SdDrawDocShell;
class SdTransferable : public TransferableHelper
{
private:
SvEmbeddedObjectRef aDocShellRef;
+ SdDrawDocShell* pPageDocShell;
+ List aPageBookmarks;
TransferableDataHelper* pOLEDataHelper;
TransferableObjectDescriptor* pObjDesc;
const SdView* pSdView;
@@ -100,10 +103,12 @@ private:
ImageMap* pImageMap;
Rectangle aVisArea;
Point aStartPos;
- BOOL bInternalMove : 1;
- BOOL bOwnDocument : 1;
- BOOL bOwnView : 1;
- BOOL bLateInit : 1;
+ BOOL bInternalMove : 1;
+ BOOL bOwnDocument : 1;
+ BOOL bOwnView : 1;
+ BOOL bLateInit : 1;
+ BOOL bPageTransferable : 1;
+ BOOL bPageTransferablePersistent : 1;
// not available
SdTransferable();
@@ -137,9 +142,6 @@ public:
void SetObjectDescriptor( const TransferableObjectDescriptor& rObjDesc );
- void ResetPageView();
- void UpdatePageView();
-
void SetStartPos( const Point& rStartPos ) { aStartPos = rStartPos; }
const Point& GetStartPos() const { return aStartPos; }
@@ -148,6 +150,12 @@ public:
BOOL HasSourceDoc( const SdDrawDocument* pDoc ) const { return( pSourceDoc == pDoc ); }
+ void SetPageBookmarks( const List& rPageBookmarks, BOOL bPersistent );
+ BOOL IsPageTransferable() const { return bPageTransferable; }
+ BOOL HasPageBookmarks() const { return( pPageDocShell && ( aPageBookmarks.Count() > 0 ) ); }
+ const List& GetPageBookmarks() const { return aPageBookmarks; }
+ SdDrawDocShell* GetPageDocShell() const { return pPageDocShell; }
+
public:
static SdTransferable* getImplementation( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& rxData ) throw();