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: EnhancedCustomShapeHandle.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_EnhancedCustomShapeHandle_idl__
31 #define __com_sun_star_drawing_EnhancedCustomShapeHandle_idl__
33 #ifndef __com_sun_star_drawing_EnhancedCustomShapeParameterPair_idl__
34 #include
<com
/sun
/star
/drawing
/EnhancedCustomShapeParameterPair.idl
>
37 //=============================================================================
39 module com
{ module sun
{ module star
{ module drawing
{
41 //=============================================================================
44 This service may be represented by a ::com::sun::star::beans::PropertyValue [].
47 service EnhancedCustomShapeHandle
49 /** Specifies if the x position of the handle is mirrored.
51 [optional, property
] boolean MirroredX
;
53 /** Specifies if the y position of the handle is mirrored.
55 [optional, property
] boolean MirroredY
;
57 /** Specifies if the handle directions are swapped if the shape is taller than wide.
59 [optional, property
] boolean Switched
;
61 /** If the property Polar is set, then the first value specifies the radius and the second
62 parameter the angle of the handle. Otherwise, if the handle is not polar, the first parameter
63 specifies the horizontal handle position, the vertical handle position is described by the
66 [optional, property
] com
::sun
::star
::drawing
::EnhancedCustomShapeParameterPair Position
;
68 /** If this attribute is set, the handle is a polar handle. The property specifies the center
69 position of the handle. If this attribute is set, the attributes RangeX and RangeY are ignored,
70 instead the attribute RadiusRange is used.
72 [optional, property
] ::com
::sun
::star
::drawing
::EnhancedCustomShapeParameterPair Polar
;
74 /** If the attribute RangeXMinimum is set, it specifies the horizontal minimum range of the handle.
76 [optional, property
] ::com
::sun
::star
::drawing
::EnhancedCustomShapeParameter RangeXMinimum
;
78 /** If the attribute RangeXMaximum is set, it specifies the horizontal maximum range of the handle.
80 [optional, property
] ::com
::sun
::star
::drawing
::EnhancedCustomShapeParameter RangeXMaximum
;
82 /** If the attribute RangeYMinimum is set, it specifies the vertical minimum range of the handle.
84 [optional, property
] ::com
::sun
::star
::drawing
::EnhancedCustomShapeParameter RangeYMinimum
;
86 /** If the attribute RangeYMaximum is set, it specifies the vertical maximum range of the handle.
88 [optional, property
] ::com
::sun
::star
::drawing
::EnhancedCustomShapeParameter RangeYMaximum
;
90 /** If this attribute is set, it specifies the minimum radius range that can be used for a polar handle.
92 [optional, property
] ::com
::sun
::star
::drawing
::EnhancedCustomShapeParameter RadiusRangeMinimum
;
94 /** If this attribute is set, it specifies the maximum radius range that can be used for a polar handle.
96 [optional, property
] ::com
::sun
::star
::drawing
::EnhancedCustomShapeParameter RadiusRangeMaximum
;
99 //=============================================================================