1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org. If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
26 ************************************************************************/
27 #ifndef __com_sun_star_drawing_EnhancedCustomShapePath_idl__
28 #define __com_sun_star_drawing_EnhancedCustomShapePath_idl__
30 #ifndef __com_sun_star_awt_Size_idl__
31 #include
<com
/sun
/star
/awt
/Size.idl
>
33 #ifndef __com_sun_star_awt_Point_idl__
34 #include
<com
/sun
/star
/awt
/Point.idl
>
36 #ifndef __com_sun_star_beans_PropertyValue_idl__
37 #include
<com
/sun
/star
/beans
/PropertyValue.idl
>
39 #ifndef __com_sun_star_drawing_EnhancedCustomShapeParameterPair_idl__
40 #include
<com
/sun
/star
/drawing
/EnhancedCustomShapeParameterPair.idl
>
42 #ifndef __sun_star_drawing_EnhancedCustomShapeSegment_idl__
43 #include
<com
/sun
/star
/drawing
/EnhancedCustomShapeSegment.idl
>
45 #ifndef __sun_star_drawing_EnhancedCustomShapeTextFrame_idl__
46 #include
<com
/sun
/star
/drawing
/EnhancedCustomShapeTextFrame.idl
>
50 //=============================================================================
52 module com
{ module sun
{ module star
{ module drawing
{
54 //=============================================================================
56 This service may be represented by a ::com::sun::star::beans::PropertyValue [].
59 service EnhancedCustomShapePath
61 /** This property is specifying the points that makes the geometry of the shape
63 [optional, property
] sequence
<::com
::sun
::star
::drawing
::EnhancedCustomShapeParameterPair
> Coordinates
;
65 /** This property specifies the commands and the way the Coordinates have to be interpreted.
67 [optional, property
] sequence
<::com
::sun
::star
::drawing
::EnhancedCustomShapeSegment
> Segments
;
69 /** This property specifies the horizontal StretchPoint that has to be used. No stretching is used if
70 this property is omitted.
72 [optional, property
] long StretchX
;
74 /** This property specifies the vertical StretchPoint that has to be used. No stretching is used if
75 this property is omitted.
77 [optional, property
] long StretchY
;
79 /** This property specifies the text frames that can be used with the shape. In general
80 the first text frame is used, except the shape is containing vertical text, then the object
81 tries to use the second text frame. The default text frame will be as big as the shape.
83 [optional, property
] sequence
<::com
::sun
::star
::drawing
::EnhancedCustomShapeTextFrame
> TextFrames
;
85 /** This property specifies custom glue points
87 [optional, property
] sequence
<::com
::sun
::star
::drawing
::EnhancedCustomShapeParameterPair
> GluePoints
;
89 /** This property specifies GluePoint leaving directions.
91 [optional, property
] sequence
< double > GluePointLeavingDirections
;
93 /** This property defines the GluePoint type. The values that can be used are
94 specified in com::sun::star::drawing::EnhancedCustomShapeGluePointType
96 [optional, property
] short GluePointType
;
98 /** This property specifies if this shape supports the EnhancedCustomShapeExtrusion
99 properties. The default is true.
101 [optional, property
] boolean ExtrusionAllowed
;
103 /** This property specifies if this shape supports concentric gradient fill. The default
106 [optional, property
] boolean ConcentricGradientFillAllowed
;
108 /** This property specifies if this shape supports concentric gradient fill. The
111 [optional, property
] boolean TextPathAllowed
;
114 //=============================================================================