1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: EnhancedCustomShapeExtrusion.idl,v $
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_EnhancedCustomShapeExtrusion_idl__
31 #define __com_sun_star_drawing_EnhancedCustomShapeExtrusion_idl__
33 #ifndef __com_sun_star_awt_Size_idl__
34 #include
<com
/sun
/star
/awt
/Size.idl
>
36 #ifndef __com_sun_star_awt_Point_idl__
37 #include
<com
/sun
/star
/awt
/Point.idl
>
39 #ifndef __com_sun_star_beans_PropertyValue_idl__
40 #include
<com
/sun
/star
/beans
/PropertyValue.idl
>
42 #ifndef __com_sun_star_drawing_Position3D_idl__
43 #include
<com
/sun
/star
/drawing
/Position3D.idl
>
45 #ifndef __com_sun_star_drawing_Direction3D_idl__
46 #include
<com
/sun
/star
/drawing
/Direction3D.idl
>
48 #ifndef __com_sun_star_drawing_ProjectionMode_idl__
49 #include
<com
/sun
/star
/drawing
/ProjectionMode.idl
>
51 #ifndef __com_sun_star_drawing_ShadeMode_idl__
52 #include
<com
/sun
/star
/drawing
/ShadeMode.idl
>
54 #ifndef __com_sun_star_drawing_EnhancedCustomShapeParameterPair_idl__
55 #include
<com
/sun
/star
/drawing
/EnhancedCustomShapeParameterPair.idl
>
58 //=============================================================================
60 module com
{ module sun
{ module star
{ module drawing
{
62 //=============================================================================
64 This service may be represented by a ::com::sun::star::beans::PropertyValue [].
67 service EnhancedCustomShapeExtrusion
69 /** This property specifies if extrusion is displayed. The default for this property
72 [optional, property
] boolean Extrusion
;
74 /** This attribute specifies the brightness of a scene in percent.
76 [optional, property
] double Brightness
;
78 /** The first value of EnhancedCustomShapeParameterPair specifies the depth of the
79 extrusion in 1/100 mm. The second value (0.0 to 1.0) specifies the fraction of
80 the extrusion that lies before the shape, a value of 0 is default.
82 [optional, property
] ::com
::sun
::star
::drawing
::EnhancedCustomShapeParameterPair Depth
;
84 /** This attribute specifies the amount of diffusion reflected by the shape
87 [optional, property
] double Diffusion
;
89 /** Specifies the number of line segments that should be used to display curved surfaces.
90 The higher the number the more line segments are used.
92 [optional, property
] long NumberOfLineSegments
;
94 /** Specifies if the front face of the extrusion responds to lightning changes.
96 [optional, property
] boolean LightFace
;
98 /** Specifies if the primary light is harsh.
100 [optional, property
] boolean FirstLightHarsh
;
102 /** Specifies if the secondary light is harsh.
104 [optional, property
] boolean SecondLightHarsh
;
106 /** Specifies the intensity for the first light in percent.
108 [optional, property
] double FirstLightLevel
;
110 /** Specifies the intensity for the second light in percent.
112 [optional, property
] double SecondLightLevel
;
114 /** Specifies the direction of the first light.
116 [optional, property
] ::com
::sun
::star
::drawing
::Direction3D FirstLightDirection
;
118 /** Specifies the direction of the second light.
120 [optional, property
] ::com
::sun
::star
::drawing
::Direction3D SecondLightDirection
;
122 /** Specifies if the surface of the extrusion object looks like metal.
124 [optional, property
] boolean Metal
;
126 /** This property defines the shade mode.
128 [optional, property
] ::com
::sun
::star
::drawing
::ShadeMode ShadeMode
;
130 /** This attributes specifies the rotation angle about the x-axis in grad.
131 The order of rotation is: z-axis, y-axis and then x-axis. The z-axis is
132 specified by the draw:rotate-angle.
134 [optional, property
] ::com
::sun
::star
::drawing
::EnhancedCustomShapeParameterPair RotateAngle
;
136 /** This attribute specifies the position of the rotate center
137 in terms of shape size fractions, if the property is omitted, then
138 the geometrical center of the shape is used (this is the default).
140 [optional, property
] ::com
::sun
::star
::drawing
::Direction3D RotationCenter
;
142 /** The draw:extrusion-shininess specifies the shininess of a mirror in percent.
144 [optional, property
] double Shininess
;
146 /** The first value of the draw:extrusion-skew attribute specifies the skew amount of
147 an extrusion in percent. The second parameter specifies the skew-angle. Skew settings
148 are only applied if the attribute ProjectionMode is ProjectionMode_PARALLEL.
150 [optional, property
] ::com
::sun
::star
::drawing
::EnhancedCustomShapeParameterPair Skew
;
152 /** This attribute specifies the specularity of an extrusion object in percent.
154 [optional, property
] double Specularity
;
156 /** This property defines the projection mode.
158 [optional, property
] com
::sun
::star
::drawing
::ProjectionMode ProjectionMode
;
160 /** This attribute specifies the viewpoint of the observer.
162 [optional, property
] ::com
::sun
::star
::drawing
::Position3D ViewPoint
;
164 /** This attribute specifies the origin within the bounding box of the
165 shape in terms of the shape size fractions.
167 [optional, property
] ::com
::sun
::star
::drawing
::EnhancedCustomShapeParameterPair Origin
;
169 /** This attribute specifies if the "SecondFillColor" is used as extrusion color
171 [optional, property
] boolean ExtrusionColor
;
174 //=============================================================================