summaryrefslogtreecommitdiff
path: root/chart2/source/view/main/VLegend.hxx
diff options
context:
space:
mode:
authorBjörn Milcke <bm@openoffice.org>2003-10-20 08:59:32 +0000
committerBjörn Milcke <bm@openoffice.org>2003-10-20 08:59:32 +0000
commitb79a58b62012b6ec8554bdf2cd75eac45e121f10 (patch)
tree9112f0ac9a7b79d6c5da0290c0599092512c668f /chart2/source/view/main/VLegend.hxx
parentea6936eed903097b988e41873ddafb8ab5a49ebf (diff)
positioning concept applied to legend
Diffstat (limited to 'chart2/source/view/main/VLegend.hxx')
-rw-r--r--chart2/source/view/main/VLegend.hxx17
1 files changed, 12 insertions, 5 deletions
diff --git a/chart2/source/view/main/VLegend.hxx b/chart2/source/view/main/VLegend.hxx
index a74709c14..2ee8b15e0 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.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: bm $ $Date: 2003-10-16 11:29:10 $
+ * last change: $Author: bm $ $Date: 2003-10-20 09:59:32 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -102,10 +102,17 @@ public:
void createShapes( const ::com::sun::star::awt::Size & rAvailableSpace );
- void changePosition( const ::com::sun::star::awt::Point & rPos,
- const ::drafts::com::sun::star::layout::Alignment& rAlignment );
+ /** Sets the position according to its internal anchor.
- ::com::sun::star::awt::Size getSize() const;
+ @param rOutAvailableSpace
+ is modified by the method, if the legend is in a standard position,
+ such that the space allocated by the legend is removed from it.
+ */
+ void changePosition( ::com::sun::star::awt::Rectangle & rOutAvailableSpace );
+
+ static bool isVisible(
+ const ::com::sun::star::uno::Reference<
+ ::drafts::com::sun::star::chart2::XLegend > & xLegend );
private:
::com::sun::star::uno::Reference<