summaryrefslogtreecommitdiff
path: root/chart2/source/view/main/VLegend.hxx
diff options
context:
space:
mode:
authorBjörn Milcke <bm@openoffice.org>2003-10-14 13:45:06 +0000
committerBjörn Milcke <bm@openoffice.org>2003-10-14 13:45:06 +0000
commitfbc6802add912e318b3b76f914cca077b259c0e0 (patch)
treebac46e806efeec7db1d664636f13e65c3388fecd /chart2/source/view/main/VLegend.hxx
parentef9ff62d630d64087abc307082fd14fcd6f1744b (diff)
Legend Positioning
Diffstat (limited to 'chart2/source/view/main/VLegend.hxx')
-rw-r--r--chart2/source/view/main/VLegend.hxx13
1 files changed, 8 insertions, 5 deletions
diff --git a/chart2/source/view/main/VLegend.hxx b/chart2/source/view/main/VLegend.hxx
index a3f316dc5..5eec15ffc 100644
--- a/chart2/source/view/main/VLegend.hxx
+++ b/chart2/source/view/main/VLegend.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: VLegend.hxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: bm $ $Date: 2003-10-10 11:41:27 $
+ * last change: $Author: bm $ $Date: 2003-10-14 14:45:06 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -76,6 +76,9 @@
#ifndef _DRAFTS_COM_SUN_STAR_CHART2_XDATASERIESTREEPARENT_HPP_
#include <drafts/com/sun/star/chart2/XDataSeriesTreeParent.hpp>
#endif
+#ifndef _DRAFTS_COM_SUN_STAR_LAYOUT_ALIGNMENT_HPP_
+#include <drafts/com/sun/star/layout/Alignment.hpp>
+#endif
//.............................................................................
namespace chart
@@ -97,11 +100,12 @@ public:
const ::com::sun::star::uno::Reference<
::com::sun::star::lang::XMultiServiceFactory >& xFactory );
- void createShapes();
+ void createShapes( const ::com::sun::star::awt::Size & rAvailableSpace );
// void setMaxSize( const ::com::sun::star::awt::Size & rSize );
- void changePosition( const ::com::sun::star::awt::Point & rPos );
+ void changePosition( const ::com::sun::star::awt::Point & rPos,
+ const ::drafts::com::sun::star::layout::Alignment& rAlignment );
::com::sun::star::awt::Size getSize() const;
@@ -127,7 +131,6 @@ private:
::com::sun::star::uno::Reference<
::com::sun::star::drawing::XShape > m_xShape;
-// ::com::sun::star::awt::Size m_aMaxSize;
::com::sun::star::awt::Rectangle m_aBoundRect;
};