1*cdf0e10cSrcweir/*************************************************************************
2*cdf0e10cSrcweir *
3*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4*cdf0e10cSrcweir *
5*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates.
6*cdf0e10cSrcweir *
7*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite
8*cdf0e10cSrcweir *
9*cdf0e10cSrcweir * This file is part of OpenOffice.org.
10*cdf0e10cSrcweir *
11*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify
12*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3
13*cdf0e10cSrcweir * only, as published by the Free Software Foundation.
14*cdf0e10cSrcweir *
15*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful,
16*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of
17*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details
19*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code).
20*cdf0e10cSrcweir *
21*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License
22*cdf0e10cSrcweir * version 3 along with OpenOffice.org.  If not, see
23*cdf0e10cSrcweir * <http://www.openoffice.org/license.html>
24*cdf0e10cSrcweir * for a copy of the LGPLv3 License.
25*cdf0e10cSrcweir *
26*cdf0e10cSrcweir ************************************************************************/
27*cdf0e10cSrcweir#ifndef __com_sun_star_drawing_EnhancedCustomShapeExtrusion_idl__
28*cdf0e10cSrcweir#define __com_sun_star_drawing_EnhancedCustomShapeExtrusion_idl__
29*cdf0e10cSrcweir
30*cdf0e10cSrcweir#ifndef __com_sun_star_awt_Size_idl__
31*cdf0e10cSrcweir#include <com/sun/star/awt/Size.idl>
32*cdf0e10cSrcweir#endif
33*cdf0e10cSrcweir#ifndef __com_sun_star_awt_Point_idl__
34*cdf0e10cSrcweir#include <com/sun/star/awt/Point.idl>
35*cdf0e10cSrcweir#endif
36*cdf0e10cSrcweir#ifndef __com_sun_star_beans_PropertyValue_idl__
37*cdf0e10cSrcweir#include <com/sun/star/beans/PropertyValue.idl>
38*cdf0e10cSrcweir#endif
39*cdf0e10cSrcweir#ifndef __com_sun_star_drawing_Position3D_idl__
40*cdf0e10cSrcweir#include <com/sun/star/drawing/Position3D.idl>
41*cdf0e10cSrcweir#endif
42*cdf0e10cSrcweir#ifndef __com_sun_star_drawing_Direction3D_idl__
43*cdf0e10cSrcweir#include <com/sun/star/drawing/Direction3D.idl>
44*cdf0e10cSrcweir#endif
45*cdf0e10cSrcweir#ifndef __com_sun_star_drawing_ProjectionMode_idl__
46*cdf0e10cSrcweir#include <com/sun/star/drawing/ProjectionMode.idl>
47*cdf0e10cSrcweir#endif
48*cdf0e10cSrcweir#ifndef __com_sun_star_drawing_ShadeMode_idl__
49*cdf0e10cSrcweir#include <com/sun/star/drawing/ShadeMode.idl>
50*cdf0e10cSrcweir#endif
51*cdf0e10cSrcweir#ifndef __com_sun_star_drawing_EnhancedCustomShapeParameterPair_idl__
52*cdf0e10cSrcweir#include <com/sun/star/drawing/EnhancedCustomShapeParameterPair.idl>
53*cdf0e10cSrcweir#endif
54*cdf0e10cSrcweir
55*cdf0e10cSrcweir//=============================================================================
56*cdf0e10cSrcweir
57*cdf0e10cSrcweirmodule com { module sun { module star { module drawing {
58*cdf0e10cSrcweir
59*cdf0e10cSrcweir//=============================================================================
60*cdf0e10cSrcweir/**
61*cdf0e10cSrcweir  This service may be represented by a ::com::sun::star::beans::PropertyValue [].
62*cdf0e10cSrcweir*/
63*cdf0e10cSrcweir
64*cdf0e10cSrcweirservice EnhancedCustomShapeExtrusion
65*cdf0e10cSrcweir{
66*cdf0e10cSrcweir	/** This property specifies if extrusion is displayed. The default for this property
67*cdf0e10cSrcweir		is "false"
68*cdf0e10cSrcweir	*/
69*cdf0e10cSrcweir	[optional, property] boolean Extrusion;
70*cdf0e10cSrcweir
71*cdf0e10cSrcweir	/** This attribute specifies the brightness of a scene in percent.
72*cdf0e10cSrcweir	*/
73*cdf0e10cSrcweir	[optional, property] double Brightness;
74*cdf0e10cSrcweir
75*cdf0e10cSrcweir	/** The first value of EnhancedCustomShapeParameterPair specifies the depth of the
76*cdf0e10cSrcweir		extrusion in 1/100 mm. The second value (0.0 to 1.0) specifies the fraction of
77*cdf0e10cSrcweir		the extrusion that lies before the shape, a value of 0 is default.
78*cdf0e10cSrcweir	*/
79*cdf0e10cSrcweir	[optional, property] ::com::sun::star::drawing::EnhancedCustomShapeParameterPair Depth;
80*cdf0e10cSrcweir
81*cdf0e10cSrcweir	/** This attribute specifies the amount of diffusion reflected by the shape
82*cdf0e10cSrcweir        in percent
83*cdf0e10cSrcweir	*/
84*cdf0e10cSrcweir	[optional, property] double Diffusion;
85*cdf0e10cSrcweir
86*cdf0e10cSrcweir	/** Specifies the number of line segments that should be used to display curved surfaces.
87*cdf0e10cSrcweir		The higher the number the more line segments are used.
88*cdf0e10cSrcweir	*/
89*cdf0e10cSrcweir	[optional, property] long NumberOfLineSegments;
90*cdf0e10cSrcweir
91*cdf0e10cSrcweir	/** Specifies if the front face of the extrusion responds to lightning changes.
92*cdf0e10cSrcweir	*/
93*cdf0e10cSrcweir	[optional, property] boolean LightFace;
94*cdf0e10cSrcweir
95*cdf0e10cSrcweir	/** Specifies if the primary light is harsh.
96*cdf0e10cSrcweir	*/
97*cdf0e10cSrcweir	[optional, property] boolean FirstLightHarsh;
98*cdf0e10cSrcweir
99*cdf0e10cSrcweir	/** Specifies if the secondary light is harsh.
100*cdf0e10cSrcweir	*/
101*cdf0e10cSrcweir	[optional, property] boolean SecondLightHarsh;
102*cdf0e10cSrcweir
103*cdf0e10cSrcweir	/** Specifies the intensity for the first light in percent.
104*cdf0e10cSrcweir	*/
105*cdf0e10cSrcweir	[optional, property] double FirstLightLevel;
106*cdf0e10cSrcweir
107*cdf0e10cSrcweir	/** Specifies the intensity for the second light in percent.
108*cdf0e10cSrcweir	*/
109*cdf0e10cSrcweir	[optional, property] double SecondLightLevel;
110*cdf0e10cSrcweir
111*cdf0e10cSrcweir	/** Specifies the direction of the first light.
112*cdf0e10cSrcweir	*/
113*cdf0e10cSrcweir	[optional, property] ::com::sun::star::drawing::Direction3D FirstLightDirection;
114*cdf0e10cSrcweir
115*cdf0e10cSrcweir	/** Specifies the direction of the second light.
116*cdf0e10cSrcweir	*/
117*cdf0e10cSrcweir	[optional, property] ::com::sun::star::drawing::Direction3D SecondLightDirection;
118*cdf0e10cSrcweir
119*cdf0e10cSrcweir	/** Specifies if the surface of the extrusion object looks like metal.
120*cdf0e10cSrcweir	*/
121*cdf0e10cSrcweir	[optional, property] boolean Metal;
122*cdf0e10cSrcweir
123*cdf0e10cSrcweir	/** This property defines the shade mode.
124*cdf0e10cSrcweir	*/
125*cdf0e10cSrcweir	[optional, property] ::com::sun::star::drawing::ShadeMode ShadeMode;
126*cdf0e10cSrcweir
127*cdf0e10cSrcweir	/**	This attributes specifies the rotation angle about the x-axis in grad.
128*cdf0e10cSrcweir	    The order of rotation is: z-axis, y-axis and then x-axis. The z-axis is
129*cdf0e10cSrcweir		specified by the draw:rotate-angle.
130*cdf0e10cSrcweir	*/
131*cdf0e10cSrcweir	[optional, property] ::com::sun::star::drawing::EnhancedCustomShapeParameterPair RotateAngle;
132*cdf0e10cSrcweir
133*cdf0e10cSrcweir	/** This attribute specifies the position of the rotate center
134*cdf0e10cSrcweir	    in terms of shape size fractions, if the property is omitted, then
135*cdf0e10cSrcweir		the geometrical center of the shape is used (this is the default).
136*cdf0e10cSrcweir	*/
137*cdf0e10cSrcweir	[optional, property] ::com::sun::star::drawing::Direction3D RotationCenter;
138*cdf0e10cSrcweir
139*cdf0e10cSrcweir	/** The draw:extrusion-shininess specifies the shininess of a mirror in percent.
140*cdf0e10cSrcweir	*/
141*cdf0e10cSrcweir	[optional, property] double Shininess;
142*cdf0e10cSrcweir
143*cdf0e10cSrcweir	/** The first value of the draw:extrusion-skew attribute specifies the skew amount of
144*cdf0e10cSrcweir		an extrusion in	percent. The second parameter specifies the skew-angle. Skew settings
145*cdf0e10cSrcweir		are only applied if the attribute ProjectionMode is ProjectionMode_PARALLEL.
146*cdf0e10cSrcweir	*/
147*cdf0e10cSrcweir	[optional, property] ::com::sun::star::drawing::EnhancedCustomShapeParameterPair Skew;
148*cdf0e10cSrcweir
149*cdf0e10cSrcweir	/** This attribute specifies the specularity of an extrusion object in percent.
150*cdf0e10cSrcweir	*/
151*cdf0e10cSrcweir	[optional, property] double Specularity;
152*cdf0e10cSrcweir
153*cdf0e10cSrcweir	/** This property defines the projection mode.
154*cdf0e10cSrcweir	*/
155*cdf0e10cSrcweir	[optional, property] com::sun::star::drawing::ProjectionMode ProjectionMode;
156*cdf0e10cSrcweir
157*cdf0e10cSrcweir	/** This attribute specifies the viewpoint of the observer.
158*cdf0e10cSrcweir	*/
159*cdf0e10cSrcweir	[optional, property] ::com::sun::star::drawing::Position3D ViewPoint;
160*cdf0e10cSrcweir
161*cdf0e10cSrcweir	/** This attribute specifies the origin within the bounding box of the
162*cdf0e10cSrcweir	    shape in terms of the shape size fractions.
163*cdf0e10cSrcweir	*/
164*cdf0e10cSrcweir	[optional, property] ::com::sun::star::drawing::EnhancedCustomShapeParameterPair Origin;
165*cdf0e10cSrcweir
166*cdf0e10cSrcweir	/** This attribute specifies if the "SecondFillColor" is used as extrusion color
167*cdf0e10cSrcweir	*/
168*cdf0e10cSrcweir	[optional, property] boolean ExtrusionColor;
169*cdf0e10cSrcweir};
170*cdf0e10cSrcweir
171*cdf0e10cSrcweir//=============================================================================
172*cdf0e10cSrcweir
173*cdf0e10cSrcweir}; }; }; };
174*cdf0e10cSrcweir
175*cdf0e10cSrcweir#endif
176*cdf0e10cSrcweir
177