update dev300-m58
[ooovba.git] / offapi / com / sun / star / drawing / CustomShape.idl
blobb8f8666e6588b262c6230e6cf51488b54889bc4e
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: CustomShape.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_CustomShape_idl__
31 #define __com_sun_star_drawing_CustomShape_idl__
33 #ifndef __com_sun_star_drawing_Shape_idl__
34 #include <com/sun/star/drawing/Shape.idl>
35 #endif
37 #ifndef __com_sun_star_drawing_FillProperties_idl__
38 #include <com/sun/star/drawing/FillProperties.idl>
39 #endif
41 #ifndef __com_sun_star_drawing_LineProperties_idl__
42 #include <com/sun/star/drawing/LineProperties.idl>
43 #endif
45 #ifndef __com_sun_star_drawing_ShadowProperties_idl__
46 #include <com/sun/star/drawing/ShadowProperties.idl>
47 #endif
49 #ifndef __com_sun_star_drawing_Text_idl__
50 #include <com/sun/star/drawing/Text.idl>
51 #endif
53 #ifndef __com_sun_star_drawing_RotationDescriptor_idl__
54 #include <com/sun/star/drawing/RotationDescriptor.idl>
55 #endif
57 #ifndef __com_sun_star_beans_PropertyValue_idl__
58 #include <com/sun/star/beans/PropertyValue.idl>
59 #endif
61 //=============================================================================
63 module com { module sun { module star { module drawing {
65 //=============================================================================
67 /** This service is for a CustomShape
69 service CustomShape
71 service com::sun::star::drawing::Shape;
73 service com::sun::star::drawing::FillProperties;
75 service com::sun::star::drawing::LineProperties;
77 service com::sun::star::drawing::ShadowProperties;
79 service com::sun::star::drawing::Text;
81 service com::sun::star::drawing::RotationDescriptor;
83 //-------------------------------------------------------------------------
84 /** This property contains the CustomShapeEngine service name that has to
85 be used for rendering.
87 [property] string CustomShapeEngine;
89 //-------------------------------------------------------------------------
90 /** This property can be used to store data that the CustomShapeEngine may
91 use for rendering
93 [optional, property] string CustomShapeData;
95 //-------------------------------------------------------------------------
96 /** This property describes the geometry of the CustomShape. The CustomShapeEngine
97 that is used should be able to get on with the content of this property.
99 If the CustomShapeEngine property is "com.sun.star.drawing.EnhancedCustomShapeEngine",
100 then this property is containing properties as they are specified in the service
101 com.sun.star.drawing.EnhancedCustomShapeGeometry
103 [optional, property] sequence<::com::sun::star::beans::PropertyValue> CustomShapeGeometry;
105 //-------------------------------------------------------------------------
106 /** This property describes the URL to a replacement graphic that could
107 be displayed if the CustomShape engine is not available.
109 [optional, property] string CustomShapeReplacementURL;
111 //-------------------------------------------------------------------------
114 //=============================================================================
116 }; }; }; };
118 #endif