1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23#ifndef __com_sun_star_drawing_EnhancedCustomShapeGeometry_idl__
24#define __com_sun_star_drawing_EnhancedCustomShapeGeometry_idl__
25
26#ifndef __com_sun_star_awt_Rectangle_idl__
27#include <com/sun/star/awt/Rectangle.idl>
28#endif
29#ifndef __com_sun_star_beans_PropertyValue_idl__
30#include <com/sun/star/beans/PropertyValue.idl>
31#endif
32#ifndef __com_sun_star_beans_PropertyValues_idl__
33#include <com/sun/star/beans/PropertyValues.idl>
34#endif
35#ifndef __com_sun_star_drawing_EnhancedCustomShapeHandle_idl__
36#include <com/sun/star/drawing/EnhancedCustomShapeHandle.idl>
37#endif
38#ifndef __com_sun_star_drawing_EnhancedCustomShapeAdjustmentValue_idl__
39#include <com/sun/star/drawing/EnhancedCustomShapeAdjustmentValue.idl>
40#endif
41
42//=============================================================================
43
44module com { module sun { module star { module drawing {
45
46//=============================================================================
47/**
48  This service may be represented by a ::com::sun::star::beans::PropertyValue [].
49*/
50
51service EnhancedCustomShapeGeometry
52{
53	/**
54		The Type attribute contains the name of a shape type. This name can be
55		used to offer specialized user interfaces for certain classes of shapes, like
56		for arrows, smileys, etc. The shape type is rendering engine dependent and does
57		not influence the geometry of the shape. If the value of the draw:type
58		attribute is non-primitive, then no shape type is available.
59	*/
60	[property] string Type;
61
62	/** This property describes the user space of the shape in its canonical form
63	*/
64	[optional, property] ::com::sun::star::awt::Rectangle ViewBox;
65
66	/** This property specifies if the orientation of the shape is horizontal mirrored.
67	*/
68	[optional, property] boolean MirroredX;
69
70	/** This property specifies if the orientation of the shape is vertical mirrored.
71	*/
72	[optional, property] boolean MirroredY;
73
74	/** This property specifies the text rotation angle in degrees. The text rotation is added
75	    to the shape geometry rotation.
76	*/
77	[optional, property] double TextRotateAngle;
78
79	/** This property specifies a sequence of Adjustment values.
80	*/
81	[optional, property] sequence<::com::sun::star::drawing::EnhancedCustomShapeAdjustmentValue> AdjustmentValues;
82
83	/** This property sequence is including the extrusion description, the properties
84	    are as same as specified in the service com::sun::star:drawing::EnhancedCustomShapeExtrusion
85	*/
86	[optional, property] sequence<::com::sun::star::beans::PropertyValue> Extrusion;
87
88	/** This property sequence is including the path description, the properties
89	    are as same as specified in the service com::sun::star:drawing::EnhancedCustomShapePath
90	*/
91	[optional, property] sequence<::com::sun::star::beans::PropertyValue> Path;
92
93	/** This property sequence is including the textpath description, the properties
94	    are as same as specified in the service com::sun::star:drawing::EnhancedCustomShapeTextPath
95	*/
96	[optional, property] sequence<::com::sun::star::beans::PropertyValue> TextPath;
97
98	/** This property is describing the equations that are used, each equation can be referenced
99		by com::sun::star::drawing::EnhancedCustomShapeParameter which are often used in Path, Extrusion
100		and or Handle descriptions.
101	*/
102	[optional, property] sequence<string> Equations;
103
104	/** This property is describing the interaction handles that are used, each inner property sequence
105	    is having the same properties as they are specified in the service com::sun::star:drawing::EnhancedCustomShapeHandle
106	*/
107	[optional, property] sequence<::com::sun::star::beans::PropertyValues> Handles;
108};
109
110//=============================================================================
111
112}; }; }; };
113
114#endif
115
116