update dev300-m58
[ooovba.git] / offapi / com / sun / star / drawing / GluePoint.idl
blob49d3a69e38ba68db8705b95d60e3828e7e965287
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: GluePoint.idl,v $
10 * $Revision: 1.8 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef __com_sun_star_drawing_GluePoint_idl__
31 #define __com_sun_star_drawing_GluePoint_idl__
33 #ifndef __com_sun_star_awt_Point_idl__
34 #include <com/sun/star/awt/Point.idl>
35 #endif
38 //=============================================================================
40 module com { module sun { module star { module drawing {
42 //=============================================================================
44 // DocMerge from xml: struct com::sun::star::drawing::GluePoint
45 /** A <type>GluePoint</type> could be attached to a shape or to a page.
49 <p>If a <type>GluePoint</type> is attached to a shape, it is moved when
50 the shape moves.
51 The ends of connectors can be attached to <type>GluePoint</type>.</p>
53 @deprecated
54 @see GluePoint2
56 published struct GluePoint
58 // DocMerge from xml: field com::sun::star::drawing::GluePoint::Position
59 /** This is the position of this <type>GluePoint</type>.
61 com::sun::star::awt::Point Position;
63 //-------------------------------------------------------------------------
65 // DocMerge from xml: field com::sun::star::drawing::GluePoint::EscapeDirection
66 /** This is the direction in which the connector line leaves the
67 <type>GluePoint</type>.
69 short EscapeDirection;
71 //-------------------------------------------------------------------------
73 // DocMerge from xml: field com::sun::star::drawing::GluePoint::PositionAbsolute
74 /** If this is <TRUE/>, then the position of this <type>GluePoint</type> is
75 absolute on a page and is not relative to a shape.
77 boolean PositionAbsolute;
79 //-------------------------------------------------------------------------
81 // DocMerge from xml: field com::sun::star::drawing::GluePoint::Alignment
82 /** The alignment of a <code>GluePoint</code> defines how the position of
83 the point is affected by resizing the parent <code>Shape</code>.
85 short Alignment;
87 };
89 //=============================================================================
91 }; }; }; };
93 #endif