From 89e02e5c54f36d91a3351f01dc2598c092c15519 Mon Sep 17 00:00:00 2001 From: Sascha Ballach Date: Wed, 11 Sep 2002 11:09:00 +0000 Subject: #103122#; handle connector shapes, if they are connected don't resize --- sc/source/filter/xml/XMLTableShapeResizer.hxx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'sc/source/filter/xml/XMLTableShapeResizer.hxx') diff --git a/sc/source/filter/xml/XMLTableShapeResizer.hxx b/sc/source/filter/xml/XMLTableShapeResizer.hxx index 02d3f8f308d3..be1446667601 100644 --- a/sc/source/filter/xml/XMLTableShapeResizer.hxx +++ b/sc/source/filter/xml/XMLTableShapeResizer.hxx @@ -2,9 +2,9 @@ * * $RCSfile: XMLTableShapeResizer.hxx,v $ * - * $Revision: 1.9 $ + * $Revision: 1.10 $ * - * last change: $Author: sab $ $Date: 2001-11-01 18:55:57 $ + * last change: $Author: sab $ $Date: 2002-09-11 12:09:00 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -78,6 +78,7 @@ class ScXMLImport; class ScChartListenerCollection; class ScDocument; +class Rectangle; struct ScMyToResizeShape { @@ -103,6 +104,10 @@ class ScMyShapeResizer void CreateChartListener(ScDocument* pDoc, const rtl::OUString& rName, const rtl::OUString* pRangeList); + void GetNewShapeSizePos(ScDocument* pDoc, const Rectangle& rStartRect, + const com::sun::star::table::CellAddress& rEndCell, + com::sun::star::awt::Point& rPoint, com::sun::star::awt::Size& rSize, + sal_Int32& rEndX, sal_Int32& rEndY) const; public: ScMyShapeResizer(ScXMLImport& rImport); ~ScMyShapeResizer(); -- cgit