Update ooo320-m1
[ooovba.git] / offapi / com / sun / star / drawing / EnhancedCustomShapePath.idl
blob18056ad75d088edfc26d05eadac841b7036be873
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: EnhancedCustomShapePath.idl,v $
10 * $Revision: 1.4 $
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_EnhancedCustomShapePath_idl__
31 #define __com_sun_star_drawing_EnhancedCustomShapePath_idl__
33 #ifndef __com_sun_star_awt_Size_idl__
34 #include <com/sun/star/awt/Size.idl>
35 #endif
36 #ifndef __com_sun_star_awt_Point_idl__
37 #include <com/sun/star/awt/Point.idl>
38 #endif
39 #ifndef __com_sun_star_beans_PropertyValue_idl__
40 #include <com/sun/star/beans/PropertyValue.idl>
41 #endif
42 #ifndef __com_sun_star_drawing_EnhancedCustomShapeParameterPair_idl__
43 #include <com/sun/star/drawing/EnhancedCustomShapeParameterPair.idl>
44 #endif
45 #ifndef __sun_star_drawing_EnhancedCustomShapeSegment_idl__
46 #include <com/sun/star/drawing/EnhancedCustomShapeSegment.idl>
47 #endif
48 #ifndef __sun_star_drawing_EnhancedCustomShapeTextFrame_idl__
49 #include <com/sun/star/drawing/EnhancedCustomShapeTextFrame.idl>
50 #endif
53 //=============================================================================
55 module com { module sun { module star { module drawing {
57 //=============================================================================
58 /**
59 This service may be represented by a ::com::sun::star::beans::PropertyValue [].
62 service EnhancedCustomShapePath
64 /** This property is specifying the points that makes the geometry of the shape
66 [optional, property] sequence<::com::sun::star::drawing::EnhancedCustomShapeParameterPair> Coordinates;
68 /** This property specifies the commands and the way the Coordinates have to be interpreted.
70 [optional, property] sequence<::com::sun::star::drawing::EnhancedCustomShapeSegment> Segments;
72 /** This property specifies the horizontal StretchPoint that has to be used. No stretching is used if
73 this property is omitted.
75 [optional, property] long StretchX;
77 /** This property specifies the vertical StretchPoint that has to be used. No stretching is used if
78 this property is omitted.
80 [optional, property] long StretchY;
82 /** This property specifies the text frames that can be used with the shape. In general
83 the first text frame is used, except the shape is containing vertical text, then the object
84 tries to use the second text frame. The default text frame will be as big as the shape.
86 [optional, property] sequence<::com::sun::star::drawing::EnhancedCustomShapeTextFrame> TextFrames;
88 /** This property specifies custom glue points
90 [optional, property] sequence<::com::sun::star::drawing::EnhancedCustomShapeParameterPair> GluePoints;
92 /** This property specifies GluePoint leaving directions.
94 [optional, property] sequence< double > GluePointLeavingDirections;
96 /** This property defines the GluePoint type. The values that can be used are
97 specified in com::sun::star::drawing::EnhancedCustomShapeGluePointType
99 [optional, property] short GluePointType;
101 /** This property specifies if this shape supports the EnhancedCustomShapeExtrusion
102 properties. The default is true.
104 [optional, property] boolean ExtrusionAllowed;
106 /** This property specifies if this shape supports concentric gradient fill. The default
107 is false.
109 [optional, property] boolean ConcentricGradientFillAllowed;
111 /** This property specifies if this shape supports concentric gradient fill. The
112 default is false;
114 [optional, property] boolean TextPathAllowed;
117 //=============================================================================
119 }; }; }; };
121 #endif