From eb4be45278b66acaadd6af1c8a4a9272989f743e Mon Sep 17 00:00:00 2001 From: Oliver Bolte Date: Wed, 17 Nov 2004 09:57:15 +0000 Subject: [PATCH] INTEGRATION: CWS impress17 (1.11.112); FILE MERGED 2004/10/28 12:08:52 od 1.11.112.1: #i36248# - adjustments to correct representation of connector shape position in the OASIS Open Office file format and to export its position correctly to the OpenOffice.org file format. --- sw/inc/unodraw.hxx | 46 ++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 44 insertions(+), 2 deletions(-) diff --git a/sw/inc/unodraw.hxx b/sw/inc/unodraw.hxx index 93b92a142211..b96602d52b75 100644 --- a/sw/inc/unodraw.hxx +++ b/sw/inc/unodraw.hxx @@ -2,9 +2,9 @@ * * $RCSfile: unodraw.hxx,v $ * - * $Revision: 1.11 $ + * $Revision: 1.12 $ * - * last change: $Author: rt $ $Date: 2004-08-23 08:01:18 $ + * last change: $Author: obo $ $Date: 2004-11-17 10:57:15 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -286,6 +286,48 @@ class SwXShape : public SwXShapeBaseClass, */ void _AdjustPositionProperties( const ::com::sun::star::awt::Point _aPosition ); + /** method to convert start and end position of the drawing object to the + Writer specific position, which is the attribute position in layout direction + + OD 2004-10-28 #i36248# + + @author OD + */ + void __ConvertStartEndPosToLayoutDir( + ::com::sun::star::awt::Point& _rioStartPos, + ::com::sun::star::awt::Point& _rioEndPos ); + + /** method to convert start position of the drawing object to the + Writer specific position, which is the attribute position in layout direction + + OD 2004-10-28 #i36248# + + @author OD + */ + ::com::sun::star::awt::Point _ConvertStartPosToLayoutDir( + const ::com::sun::star::awt::Point& _aStartPos ); + + /** method to convert end position of the drawing object to the + Writer specific position, which is the attribute position in layout direction + + OD 2004-10-28 #i36248# + + @author OD + */ + ::com::sun::star::awt::Point _ConvertEndPosToLayoutDir( + const ::com::sun::star::awt::Point& _aEndPos ); + + /** method to get property from aggregation object + + OD 2004-10-28 #i36248# + + @author OD + */ + ::com::sun::star::uno::Any _getPropAtAggrObj( const ::rtl::OUString& _rPropertyName ) + throw( ::com::sun::star::beans::UnknownPropertyException, + ::com::sun::star::lang::WrappedTargetException, + ::com::sun::star::uno::RuntimeException); + protected: virtual ~SwXShape(); public: