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_EnhancedCustomShapePath_idl__
24#define __com_sun_star_drawing_EnhancedCustomShapePath_idl__
25
26#ifndef __com_sun_star_awt_Size_idl__
27#include <com/sun/star/awt/Size.idl>
28#endif
29#ifndef __com_sun_star_awt_Point_idl__
30#include <com/sun/star/awt/Point.idl>
31#endif
32#ifndef __com_sun_star_beans_PropertyValue_idl__
33#include <com/sun/star/beans/PropertyValue.idl>
34#endif
35#ifndef __com_sun_star_drawing_EnhancedCustomShapeParameterPair_idl__
36#include <com/sun/star/drawing/EnhancedCustomShapeParameterPair.idl>
37#endif
38#ifndef __sun_star_drawing_EnhancedCustomShapeSegment_idl__
39#include <com/sun/star/drawing/EnhancedCustomShapeSegment.idl>
40#endif
41#ifndef __sun_star_drawing_EnhancedCustomShapeTextFrame_idl__
42#include <com/sun/star/drawing/EnhancedCustomShapeTextFrame.idl>
43#endif
44
45
46//=============================================================================
47
48module com { module sun { module star { module drawing {
49
50//=============================================================================
51/**
52  This service may be represented by a ::com::sun::star::beans::PropertyValue [].
53*/
54
55service EnhancedCustomShapePath
56{
57	/** This property is specifying the points that makes the geometry of the shape
58	*/
59	[optional, property] sequence<::com::sun::star::drawing::EnhancedCustomShapeParameterPair> Coordinates;
60
61	/** This property specifies the commands and the way the Coordinates have to be interpreted.
62	*/
63	[optional, property] sequence<::com::sun::star::drawing::EnhancedCustomShapeSegment> Segments;
64
65	/** This property specifies the horizontal StretchPoint that has to be used. No stretching is used if
66	    this property is omitted.
67	*/
68	[optional, property] long StretchX;
69
70	/** This property specifies the vertical StretchPoint that has to be used. No stretching is used if
71		this property is omitted.
72	*/
73	[optional, property] long StretchY;
74
75	/** This property specifies the text frames that can be used with the shape. In general
76	   the first text frame is used, except the shape is containing vertical text, then the object
77	   tries to use the second text frame. The default text frame will be as big as the shape.
78	*/
79	[optional, property] sequence<::com::sun::star::drawing::EnhancedCustomShapeTextFrame> TextFrames;
80
81	/** This property specifies custom glue points
82	*/
83	[optional, property] sequence<::com::sun::star::drawing::EnhancedCustomShapeParameterPair> GluePoints;
84
85	/** This property specifies GluePoint leaving directions.
86	*/
87	[optional, property] sequence< double > GluePointLeavingDirections;
88
89	/** This property defines the GluePoint type. The values that can be used are
90		specified in com::sun::star::drawing::EnhancedCustomShapeGluePointType
91	*/
92	[optional, property] short GluePointType;
93
94	/** This property specifies if this shape supports the EnhancedCustomShapeExtrusion
95		properties. The default is true.
96	*/
97	[optional, property] boolean ExtrusionAllowed;
98
99	/** This property specifies if this shape supports concentric gradient fill. The default
100		is false.
101	*/
102	[optional, property] boolean ConcentricGradientFillAllowed;
103
104	/** This property specifies if this shape supports concentric gradient fill. The
105		default is false;
106	*/
107	[optional, property] boolean TextPathAllowed;
108};
109
110//=============================================================================
111
112}; }; }; };
113
114#endif
115
116