summaryrefslogtreecommitdiffstats
path: root/chart2/source/controller/main/SelectionHelper.hxx
diff options
context:
space:
mode:
authorThomas Benisch <tbe@openoffice.org>2009-07-28 18:08:14 +0000
committerThomas Benisch <tbe@openoffice.org>2009-07-28 18:08:14 +0000
commit19df9b7556eb80da61d815f526451e81a1b13ce9 (patch)
tree1ea955d22e2d03b9fac12fcf27c75a782e1b3891 /chart2/source/controller/main/SelectionHelper.hxx
parent#i12587# Inserting/editing arbitrary text objects in chart (diff)
downloadcore-19df9b7556eb80da61d815f526451e81a1b13ce9.tar.gz
core-19df9b7556eb80da61d815f526451e81a1b13ce9.zip
#i12587# Inserting/editing arbitrary text objects in chart
Diffstat (limited to 'chart2/source/controller/main/SelectionHelper.hxx')
-rw-r--r--chart2/source/controller/main/SelectionHelper.hxx13
1 files changed, 7 insertions, 6 deletions
diff --git a/chart2/source/controller/main/SelectionHelper.hxx b/chart2/source/controller/main/SelectionHelper.hxx
index 2e9016261e29..c4613443cb77 100644
--- a/chart2/source/controller/main/SelectionHelper.hxx
+++ b/chart2/source/controller/main/SelectionHelper.hxx
@@ -31,6 +31,7 @@
#define _CHART2_SELECTIONHELPER_HXX
#include "DrawViewWrapper.hxx"
+#include "ObjectIdentifier.hxx"
class SdrObject;
// header for enum SdrDragMode
@@ -89,12 +90,9 @@ private: //member
//the content of m_xSelectedShape is ignored in that case
//the strings are used for autogenerated chart specific objects
//the shape reference is used for additional shapes
- ::rtl::OUString m_aSelectedObjectCID;//only single object selection so far
- ::rtl::OUString m_aSelectedObjectCID_beforeMouseDown;
- ::rtl::OUString m_aSelectedObjectCID_selectOnlyIfNoDoubleClickIsFollowing;
-
- ::com::sun::star::uno::Reference<
- ::com::sun::star::drawing::XShape > m_xSelectAdditionalShape;
+ ObjectIdentifier m_aSelectedOID; //only single object selection so far
+ ObjectIdentifier m_aSelectedOID_beforeMouseDown;
+ ObjectIdentifier m_aSelectedOID_selectOnlyIfNoDoubleClickIsFollowing;
};
class SelectionHelper : public MarkHandleProvider
@@ -103,6 +101,9 @@ public:
static bool findNamedParent( SdrObject*& pInOutObject
, rtl::OUString& rOutName
, bool bGivenObjectMayBeResult );
+ static bool findNamedParent( SdrObject*& pInOutObject
+ , ObjectIdentifier& rOutObject
+ , bool bGivenObjectMayBeResult );
static SdrObject* getMarkHandlesObject( SdrObject* pObj );
static E3dScene* getSceneToRotate( SdrObject* pObj );
static bool isDragableObjectHitTwice( const Point& rMPos