1*d1766043SAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3*d1766043SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*d1766043SAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*d1766043SAndrew Rist * distributed with this work for additional information
6*d1766043SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*d1766043SAndrew Rist * to you under the Apache License, Version 2.0 (the
8*d1766043SAndrew Rist * "License"); you may not use this file except in compliance
9*d1766043SAndrew Rist * with the License.  You may obtain a copy of the License at
10*d1766043SAndrew Rist *
11*d1766043SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*d1766043SAndrew Rist *
13*d1766043SAndrew Rist * Unless required by applicable law or agreed to in writing,
14*d1766043SAndrew Rist * software distributed under the License is distributed on an
15*d1766043SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*d1766043SAndrew Rist * KIND, either express or implied.  See the License for the
17*d1766043SAndrew Rist * specific language governing permissions and limitations
18*d1766043SAndrew Rist * under the License.
19*d1766043SAndrew Rist *
20*d1766043SAndrew Rist *************************************************************/
21*d1766043SAndrew Rist
22*d1766043SAndrew Rist
23cdf0e10cSrcweir#ifndef __com_sun_star_drawing_EnhancedCustomShapeExtrusion_idl__
24cdf0e10cSrcweir#define __com_sun_star_drawing_EnhancedCustomShapeExtrusion_idl__
25cdf0e10cSrcweir
26cdf0e10cSrcweir#ifndef __com_sun_star_awt_Size_idl__
27cdf0e10cSrcweir#include <com/sun/star/awt/Size.idl>
28cdf0e10cSrcweir#endif
29cdf0e10cSrcweir#ifndef __com_sun_star_awt_Point_idl__
30cdf0e10cSrcweir#include <com/sun/star/awt/Point.idl>
31cdf0e10cSrcweir#endif
32cdf0e10cSrcweir#ifndef __com_sun_star_beans_PropertyValue_idl__
33cdf0e10cSrcweir#include <com/sun/star/beans/PropertyValue.idl>
34cdf0e10cSrcweir#endif
35cdf0e10cSrcweir#ifndef __com_sun_star_drawing_Position3D_idl__
36cdf0e10cSrcweir#include <com/sun/star/drawing/Position3D.idl>
37cdf0e10cSrcweir#endif
38cdf0e10cSrcweir#ifndef __com_sun_star_drawing_Direction3D_idl__
39cdf0e10cSrcweir#include <com/sun/star/drawing/Direction3D.idl>
40cdf0e10cSrcweir#endif
41cdf0e10cSrcweir#ifndef __com_sun_star_drawing_ProjectionMode_idl__
42cdf0e10cSrcweir#include <com/sun/star/drawing/ProjectionMode.idl>
43cdf0e10cSrcweir#endif
44cdf0e10cSrcweir#ifndef __com_sun_star_drawing_ShadeMode_idl__
45cdf0e10cSrcweir#include <com/sun/star/drawing/ShadeMode.idl>
46cdf0e10cSrcweir#endif
47cdf0e10cSrcweir#ifndef __com_sun_star_drawing_EnhancedCustomShapeParameterPair_idl__
48cdf0e10cSrcweir#include <com/sun/star/drawing/EnhancedCustomShapeParameterPair.idl>
49cdf0e10cSrcweir#endif
50cdf0e10cSrcweir
51cdf0e10cSrcweir//=============================================================================
52cdf0e10cSrcweir
53cdf0e10cSrcweirmodule com { module sun { module star { module drawing {
54cdf0e10cSrcweir
55cdf0e10cSrcweir//=============================================================================
56cdf0e10cSrcweir/**
57cdf0e10cSrcweir  This service may be represented by a ::com::sun::star::beans::PropertyValue [].
58cdf0e10cSrcweir*/
59cdf0e10cSrcweir
60cdf0e10cSrcweirservice EnhancedCustomShapeExtrusion
61cdf0e10cSrcweir{
62cdf0e10cSrcweir	/** This property specifies if extrusion is displayed. The default for this property
63cdf0e10cSrcweir		is "false"
64cdf0e10cSrcweir	*/
65cdf0e10cSrcweir	[optional, property] boolean Extrusion;
66cdf0e10cSrcweir
67cdf0e10cSrcweir	/** This attribute specifies the brightness of a scene in percent.
68cdf0e10cSrcweir	*/
69cdf0e10cSrcweir	[optional, property] double Brightness;
70cdf0e10cSrcweir
71cdf0e10cSrcweir	/** The first value of EnhancedCustomShapeParameterPair specifies the depth of the
72cdf0e10cSrcweir		extrusion in 1/100 mm. The second value (0.0 to 1.0) specifies the fraction of
73cdf0e10cSrcweir		the extrusion that lies before the shape, a value of 0 is default.
74cdf0e10cSrcweir	*/
75cdf0e10cSrcweir	[optional, property] ::com::sun::star::drawing::EnhancedCustomShapeParameterPair Depth;
76cdf0e10cSrcweir
77cdf0e10cSrcweir	/** This attribute specifies the amount of diffusion reflected by the shape
78cdf0e10cSrcweir        in percent
79cdf0e10cSrcweir	*/
80cdf0e10cSrcweir	[optional, property] double Diffusion;
81cdf0e10cSrcweir
82cdf0e10cSrcweir	/** Specifies the number of line segments that should be used to display curved surfaces.
83cdf0e10cSrcweir		The higher the number the more line segments are used.
84cdf0e10cSrcweir	*/
85cdf0e10cSrcweir	[optional, property] long NumberOfLineSegments;
86cdf0e10cSrcweir
87cdf0e10cSrcweir	/** Specifies if the front face of the extrusion responds to lightning changes.
88cdf0e10cSrcweir	*/
89cdf0e10cSrcweir	[optional, property] boolean LightFace;
90cdf0e10cSrcweir
91cdf0e10cSrcweir	/** Specifies if the primary light is harsh.
92cdf0e10cSrcweir	*/
93cdf0e10cSrcweir	[optional, property] boolean FirstLightHarsh;
94cdf0e10cSrcweir
95cdf0e10cSrcweir	/** Specifies if the secondary light is harsh.
96cdf0e10cSrcweir	*/
97cdf0e10cSrcweir	[optional, property] boolean SecondLightHarsh;
98cdf0e10cSrcweir
99cdf0e10cSrcweir	/** Specifies the intensity for the first light in percent.
100cdf0e10cSrcweir	*/
101cdf0e10cSrcweir	[optional, property] double FirstLightLevel;
102cdf0e10cSrcweir
103cdf0e10cSrcweir	/** Specifies the intensity for the second light in percent.
104cdf0e10cSrcweir	*/
105cdf0e10cSrcweir	[optional, property] double SecondLightLevel;
106cdf0e10cSrcweir
107cdf0e10cSrcweir	/** Specifies the direction of the first light.
108cdf0e10cSrcweir	*/
109cdf0e10cSrcweir	[optional, property] ::com::sun::star::drawing::Direction3D FirstLightDirection;
110cdf0e10cSrcweir
111cdf0e10cSrcweir	/** Specifies the direction of the second light.
112cdf0e10cSrcweir	*/
113cdf0e10cSrcweir	[optional, property] ::com::sun::star::drawing::Direction3D SecondLightDirection;
114cdf0e10cSrcweir
115cdf0e10cSrcweir	/** Specifies if the surface of the extrusion object looks like metal.
116cdf0e10cSrcweir	*/
117cdf0e10cSrcweir	[optional, property] boolean Metal;
118cdf0e10cSrcweir
119cdf0e10cSrcweir	/** This property defines the shade mode.
120cdf0e10cSrcweir	*/
121cdf0e10cSrcweir	[optional, property] ::com::sun::star::drawing::ShadeMode ShadeMode;
122cdf0e10cSrcweir
123cdf0e10cSrcweir	/**	This attributes specifies the rotation angle about the x-axis in grad.
124cdf0e10cSrcweir	    The order of rotation is: z-axis, y-axis and then x-axis. The z-axis is
125cdf0e10cSrcweir		specified by the draw:rotate-angle.
126cdf0e10cSrcweir	*/
127cdf0e10cSrcweir	[optional, property] ::com::sun::star::drawing::EnhancedCustomShapeParameterPair RotateAngle;
128cdf0e10cSrcweir
129cdf0e10cSrcweir	/** This attribute specifies the position of the rotate center
130cdf0e10cSrcweir	    in terms of shape size fractions, if the property is omitted, then
131cdf0e10cSrcweir		the geometrical center of the shape is used (this is the default).
132cdf0e10cSrcweir	*/
133cdf0e10cSrcweir	[optional, property] ::com::sun::star::drawing::Direction3D RotationCenter;
134cdf0e10cSrcweir
135cdf0e10cSrcweir	/** The draw:extrusion-shininess specifies the shininess of a mirror in percent.
136cdf0e10cSrcweir	*/
137cdf0e10cSrcweir	[optional, property] double Shininess;
138cdf0e10cSrcweir
139cdf0e10cSrcweir	/** The first value of the draw:extrusion-skew attribute specifies the skew amount of
140cdf0e10cSrcweir		an extrusion in	percent. The second parameter specifies the skew-angle. Skew settings
141cdf0e10cSrcweir		are only applied if the attribute ProjectionMode is ProjectionMode_PARALLEL.
142cdf0e10cSrcweir	*/
143cdf0e10cSrcweir	[optional, property] ::com::sun::star::drawing::EnhancedCustomShapeParameterPair Skew;
144cdf0e10cSrcweir
145cdf0e10cSrcweir	/** This attribute specifies the specularity of an extrusion object in percent.
146cdf0e10cSrcweir	*/
147cdf0e10cSrcweir	[optional, property] double Specularity;
148cdf0e10cSrcweir
149cdf0e10cSrcweir	/** This property defines the projection mode.
150cdf0e10cSrcweir	*/
151cdf0e10cSrcweir	[optional, property] com::sun::star::drawing::ProjectionMode ProjectionMode;
152cdf0e10cSrcweir
153cdf0e10cSrcweir	/** This attribute specifies the viewpoint of the observer.
154cdf0e10cSrcweir	*/
155cdf0e10cSrcweir	[optional, property] ::com::sun::star::drawing::Position3D ViewPoint;
156cdf0e10cSrcweir
157cdf0e10cSrcweir	/** This attribute specifies the origin within the bounding box of the
158cdf0e10cSrcweir	    shape in terms of the shape size fractions.
159cdf0e10cSrcweir	*/
160cdf0e10cSrcweir	[optional, property] ::com::sun::star::drawing::EnhancedCustomShapeParameterPair Origin;
161cdf0e10cSrcweir
162cdf0e10cSrcweir	/** This attribute specifies if the "SecondFillColor" is used as extrusion color
163cdf0e10cSrcweir	*/
164cdf0e10cSrcweir	[optional, property] boolean ExtrusionColor;
165cdf0e10cSrcweir};
166cdf0e10cSrcweir
167cdf0e10cSrcweir//=============================================================================
168cdf0e10cSrcweir
169cdf0e10cSrcweir}; }; }; };
170cdf0e10cSrcweir
171cdf0e10cSrcweir#endif
172cdf0e10cSrcweir
173