summaryrefslogtreecommitdiff
path: root/svx/inc
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2008-03-12 08:28:16 +0000
committerRüdiger Timm <rt@openoffice.org>2008-03-12 08:28:16 +0000
commitc4e3303a4fe9e59d34f1f6e51d62765375444aae (patch)
tree702940d90e83ad4ae4c34f821c711426f987e9dc /svx/inc
parente0f7cb9460a24a23c2039ab499ae90a7f8c1784b (diff)
INTEGRATION: CWS impresstables2 (1.2.58); FILE MERGED
2007/05/31 11:11:35 cl 1.2.58.1: #i68103# merging changes to moved header files for tables
Diffstat (limited to 'svx/inc')
-rw-r--r--svx/inc/svx/svdedxv.hxx29
1 files changed, 21 insertions, 8 deletions
diff --git a/svx/inc/svx/svdedxv.hxx b/svx/inc/svx/svdedxv.hxx
index 22ed70304aba..60e2f33ac363 100644
--- a/svx/inc/svx/svdedxv.hxx
+++ b/svx/inc/svx/svdedxv.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: svdedxv.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: vg $ $Date: 2007-04-11 16:19:47 $
+ * last change: $Author: rt $ $Date: 2008-03-12 09:28:16 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -36,6 +36,8 @@
#ifndef _SVDEDXV_HXX
#define _SVDEDXV_HXX
+#include <rtl/ref.hxx>
+
#ifndef INCLUDED_SVXDLLAPI_H
#include "svx/svxdllapi.h"
#endif
@@ -44,6 +46,8 @@
#include <svx/svdglev.hxx>
#endif
+#include <svx/selectioncontroller.hxx>
+
//************************************************************
// Vorausdeklarationen
//************************************************************
@@ -58,6 +62,10 @@ namespace com { namespace sun { namespace star { namespace uno {
class Any;
} } } }
+namespace sdr {
+ class SelectionController;
+}
+
//************************************************************
// Defines
//************************************************************
@@ -117,6 +125,9 @@ protected:
unsigned bMacroMode : 1; // persistent(->CrtV). Default=TRUE
unsigned bMacroDown : 1;
+ rtl::Reference< sdr::SelectionController > mxSelectionController;
+ rtl::Reference< sdr::SelectionController > mxLastSelectionController;
+
private:
SVX_DLLPRIVATE void ImpClearVars();
@@ -182,10 +193,8 @@ public:
// SdrObjEditView setzt dann das Modusflag (EditEngine/Outliner) an
// dieser Instanz und ausserdem auch den StatusEventHdl.
// Ebenso kann eine spezifische OutlinerView vorgegeben werden.
- sal_Bool SdrBeginTextEdit(SdrObject* pObj, SdrPageView* pPV = 0L, Window* pWin = 0L,
- SdrOutliner* pGivenOutliner = 0L, OutlinerView* pGivenOutlinerView = 0L,
- sal_Bool bDontDeleteOutliner = sal_False, sal_Bool bOnlyOneView = sal_False);
- sal_Bool SdrBeginTextEdit(SdrObject* pObj, SdrPageView* pPV = 0L, Window* pWin = 0L, sal_Bool bIsNewObj = sal_False,
+
+ virtual sal_Bool SdrBeginTextEdit(SdrObject* pObj, SdrPageView* pPV = 0L, ::Window* pWin = 0L, sal_Bool bIsNewObj = sal_False,
SdrOutliner* pGivenOutliner = 0L, OutlinerView* pGivenOutlinerView = 0L,
sal_Bool bDontDeleteOutliner = sal_False, sal_Bool bOnlyOneView = sal_False, sal_Bool bGrabFocus = sal_True);
// bDontDeleteReally ist ein Spezialparameter fuer den Writer.
@@ -193,7 +202,7 @@ public:
// nicht geloescht. Stattdessen gibt es dann einen Returncode
// SDRENDTEXTEDIT_SHOULDBEDELETED (anstelle von SDRENDTEXTEDIT_BEDELETED)
// der besagt, dass das Objekt geloescht werden sollte.
- SdrEndTextEditKind SdrEndTextEdit(sal_Bool bDontDeleteReally = sal_False);
+ virtual SdrEndTextEditKind SdrEndTextEdit(sal_Bool bDontDeleteReally = sal_False);
virtual bool IsTextEdit() const;
// TRUE=Es wird ein Textrahmen (OBJ_TEXT,OBJ_OUTLINETEXT,...) editiert
@@ -236,7 +245,7 @@ public:
const OutlinerView* GetTextEditOutlinerView() const { return pTextEditOutlinerView; }
OutlinerView* GetTextEditOutlinerView() { return pTextEditOutlinerView; }
- BOOL KeyInput(const KeyEvent& rKEvt, Window* pWin);
+ virtual BOOL KeyInput(const KeyEvent& rKEvt, Window* pWin);
virtual BOOL MouseButtonDown(const MouseEvent& rMEvt, Window* pWin);
virtual BOOL MouseButtonUp(const MouseEvent& rMEvt, Window* pWin);
virtual BOOL MouseMove(const MouseEvent& rMEvt, Window* pWin);
@@ -278,6 +287,10 @@ public:
/** fills the given any with a XTextCursor for the current text selection.
Leaves the any untouched if there currently is no text selected */
void getTextSelection( ::com::sun::star::uno::Any& rSelection );
+
+ virtual void MarkListHasChanged();
+
+ rtl::Reference< sdr::SelectionController > getSelectionController() const { return mxSelectionController; }
};
#endif //_SVDEDXV_HXX