1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: ConnectorShape.idl,v $
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_ConnectorShape_idl__
31 #define __com_sun_star_drawing_ConnectorShape_idl__
33 #ifndef __com_sun_star_drawing_XConnectorShape_idl__
34 #include
<com
/sun
/star
/drawing
/XConnectorShape.idl
>
37 #ifndef __com_sun_star_drawing_ConnectorProperties_idl__
38 #include
<com
/sun
/star
/drawing
/ConnectorProperties.idl
>
41 #ifndef __com_sun_star_drawing_Shape_idl__
42 #include
<com
/sun
/star
/drawing
/Shape.idl
>
45 #ifndef __com_sun_star_drawing_LineProperties_idl__
46 #include
<com
/sun
/star
/drawing
/LineProperties.idl
>
49 #ifndef __com_sun_star_drawing_Text_idl__
50 #include
<com
/sun
/star
/drawing
/Text.idl
>
53 #ifndef __com_sun_star_drawing_ShadowProperties_idl__
54 #include
<com
/sun
/star
/drawing
/ShadowProperties.idl
>
57 #ifndef __com_sun_star_drawing_RotationDescriptor_idl__
58 #include
<com
/sun
/star
/drawing
/RotationDescriptor.idl
>
62 //=============================================================================
64 module com
{ module sun
{ module star
{ module drawing
{
66 //=============================================================================
68 /** This service is for a <type>ConnectorShape</type>, a specialized <type>Shape</type>,
69 which can be connected to other <type>Shape</type>s or <type>GluePoint</type>s.
71 published service ConnectorShape
73 service com
::sun
::star
::drawing
::Shape
;
75 service com
::sun
::star
::drawing
::LineProperties
;
77 service com
::sun
::star
::drawing
::ConnectorProperties
;
79 service com
::sun
::star
::drawing
::ShadowProperties
;
81 service com
::sun
::star
::drawing
::Text
;
83 service com
::sun
::star
::drawing
::RotationDescriptor
;
85 //-------------------------------------------------------------------------
87 /** this property either holds the shape that the start point of this
88 connector is connected to, or is empty when the start point of the
89 connector is not connected to a shape.
91 [property
] com
::sun
::star
::drawing
::XShape StartShape
;
93 //-------------------------------------------------------------------------
95 /** this property holds the index of the glue point the start point of
96 this connector is glued on.
98 [property
] long StartGluePointIndex
;
100 //-------------------------------------------------------------------------
102 /** this is the position of the connectors start point in 100th/mm. For
103 unconnected start points you can get and set the position. For
104 connected start points you can only get the position.
106 [property
] com
::sun
::star
::awt
::Point StartPosition
;
108 //-------------------------------------------------------------------------
110 /** this property either holds the shape that the end point of this
111 connector is connected to, or is empty when the end point of the
112 connector is not connected to a shape.
114 [property
] com
::sun
::star
::drawing
::XShape EndShape
;
116 //-------------------------------------------------------------------------
118 /** this property holds the index of the glue point the end point of
119 this connector is glued on.
121 [property
] com
::sun
::star
::awt
::Point EndPosition
;
123 //-------------------------------------------------------------------------
125 /** this is the position of the connectors end point in 100th/mm. For
126 unconnected end points you can get and set the position. For
127 connected end points you can only get the position.
129 [property
] long EndGluePointIndex
;
131 //-------------------------------------------------------------------------
133 /** This property contains the distance of line 1.
135 [property
] long EdgeLine1Delta
;
137 //-------------------------------------------------------------------------
139 /** This property contains the distance of line 2.
141 [property
] long EdgeLine2Delta
;
143 //-------------------------------------------------------------------------
145 /** This property contains the distance of line 3.
147 [property
] long EdgeLine3Delta
;
150 //=============================================================================