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: EnhancedCustomShapeGeometry.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_EnhancedCustomShapeGeometry_idl__
31 #define __com_sun_star_drawing_EnhancedCustomShapeGeometry_idl__
33 #ifndef __com_sun_star_awt_Rectangle_idl__
34 #include
<com
/sun
/star
/awt
/Rectangle.idl
>
36 #ifndef __com_sun_star_beans_PropertyValue_idl__
37 #include
<com
/sun
/star
/beans
/PropertyValue.idl
>
39 #ifndef __com_sun_star_beans_PropertyValues_idl__
40 #include
<com
/sun
/star
/beans
/PropertyValues.idl
>
42 #ifndef __com_sun_star_drawing_EnhancedCustomShapeHandle_idl__
43 #include
<com
/sun
/star
/drawing
/EnhancedCustomShapeHandle.idl
>
45 #ifndef __com_sun_star_drawing_EnhancedCustomShapeAdjustmentValue_idl__
46 #include
<com
/sun
/star
/drawing
/EnhancedCustomShapeAdjustmentValue.idl
>
49 //=============================================================================
51 module com
{ module sun
{ module star
{ module drawing
{
53 //=============================================================================
55 This service may be represented by a ::com::sun::star::beans::PropertyValue [].
58 service EnhancedCustomShapeGeometry
61 The Type attribute contains the name of a shape type. This name can be
62 used to offer specialized user interfaces for certain classes of shapes, like
63 for arrows, smileys, etc. The shape type is rendering engine dependent and does
64 not influence the geometry of the shape. If the value of the draw:type
65 attribute is non-primitive, then no shape type is available.
67 [property
] string Type
;
69 /** This property describes the user space of the shape in its canonical form
71 [optional, property
] ::com
::sun
::star
::awt
::Rectangle ViewBox
;
73 /** This property specifies if the orientation of the shape is horizontal mirrored.
75 [optional, property
] boolean MirroredX
;
77 /** This property specifies if the orientation of the shape is vertical mirrored.
79 [optional, property
] boolean MirroredY
;
81 /** This property specifies the text rotation angle in degrees. The text rotation is added
82 to the shape geometry rotation.
84 [optional, property
] double TextRotateAngle
;
86 /** This property specifies a sequence of Adjustment values.
88 [optional, property
] sequence
<::com
::sun
::star
::drawing
::EnhancedCustomShapeAdjustmentValue
> AdjustmentValues
;
90 /** This property sequence is including the extrusion description, the properties
91 are as same as specified in the service com::sun::star:drawing::EnhancedCustomShapeExtrusion
93 [optional, property
] sequence
<::com
::sun
::star
::beans
::PropertyValue
> Extrusion
;
95 /** This property sequence is including the path description, the properties
96 are as same as specified in the service com::sun::star:drawing::EnhancedCustomShapePath
98 [optional, property
] sequence
<::com
::sun
::star
::beans
::PropertyValue
> Path
;
100 /** This property sequence is including the textpath description, the properties
101 are as same as specified in the service com::sun::star:drawing::EnhancedCustomShapeTextPath
103 [optional, property
] sequence
<::com
::sun
::star
::beans
::PropertyValue
> TextPath
;
105 /** This property is describing the equations that are used, each equation can be referenced
106 by com::sun::star::drawing::EnhancedCustomShapeParameter which are often used in Path, Extrusion
107 and or Handle descriptions.
109 [optional, property
] sequence
<string> Equations
;
111 /** This property is describing the interaction handles that are used, each inner property sequence
112 is having the same properties as they are specified in the service com::sun::star:drawing::EnhancedCustomShapeHandle
114 [optional, property
] sequence
<::com
::sun
::star
::beans
::PropertyValues
> Handles
;
117 //=============================================================================