summaryrefslogtreecommitdiffstats
path: root/chart2/source/controller/main/ShapeController.hxx
diff options
context:
space:
mode:
authorThomas Benisch <tbe@openoffice.org>2009-08-21 16:29:03 +0000
committerThomas Benisch <tbe@openoffice.org>2009-08-21 16:29:03 +0000
commit23d63d58c951ea4c172c5c759e764c8a783951d9 (patch)
tree8679965e410f2fba98458d36e27c49268380581b /chart2/source/controller/main/ShapeController.hxx
parent#i12587# Inserting/editing arbitrary text objects in chart (diff)
downloadcore-23d63d58c951ea4c172c5c759e764c8a783951d9.tar.gz
core-23d63d58c951ea4c172c5c759e764c8a783951d9.zip
#i12587# Inserting/editing arbitrary text objects in chart
Diffstat (limited to 'chart2/source/controller/main/ShapeController.hxx')
-rw-r--r--chart2/source/controller/main/ShapeController.hxx11
1 files changed, 10 insertions, 1 deletions
diff --git a/chart2/source/controller/main/ShapeController.hxx b/chart2/source/controller/main/ShapeController.hxx
index 134ca9d4dba3..d39876790a67 100644
--- a/chart2/source/controller/main/ShapeController.hxx
+++ b/chart2/source/controller/main/ShapeController.hxx
@@ -34,6 +34,7 @@
#include <tools/link.hxx>
class AbstractSvxNameDialog;
+class SdrObject;
//.............................................................................
namespace chart
@@ -46,6 +47,8 @@ class ChartController;
*/
class ShapeController: public FeatureCommandDispatchBase
{
+ friend class ControllerCommandDispatch;
+
public:
ShapeController( const ::com::sun::star::uno::Reference<
::com::sun::star::uno::XComponentContext >& rxContext, ChartController* pController );
@@ -63,7 +66,7 @@ protected:
throw (::com::sun::star::uno::RuntimeException);
// state of a feature
- virtual FeatureState getState( const ::rtl::OUString& rCommand ) const;
+ virtual FeatureState getState( const ::rtl::OUString& rCommand );
// execute a feature
virtual void execute( const ::rtl::OUString& rCommand, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue>& rArgs );
@@ -80,8 +83,14 @@ private:
void executeDispatch_TransformDialog();
void executeDispatch_ObjectTitleDescription();
void executeDispatch_RenameObject();
+ void executeDispatch_ChangeZOrder( sal_uInt16 nId );
void executeDispatch_FontDialog();
+ SdrObject* getFirstAdditionalShape();
+ SdrObject* getLastAdditionalShape();
+ bool isBackwardPossible();
+ bool isForwardPossible();
+
ChartController* m_pChartController;
};