1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
21 module com
{ module sun
{ module star
{ module drawing
{
24 This service may be represented by a ::com::sun::star::beans::PropertyValue [].
27 service EnhancedCustomShapeExtrusion
29 /** This property specifies if extrusion is displayed. The default for this property
32 [optional, property
] boolean Extrusion
;
34 /** This attribute specifies the brightness of a scene in percent.
36 [optional, property
] double Brightness
;
38 /** The first value of EnhancedCustomShapeParameterPair specifies the depth of the
39 extrusion in 1/100 mm. The second value (0.0 to 1.0) specifies the fraction of
40 the extrusion that lies before the shape, a value of 0 is default.
42 [optional, property
] ::com
::sun
::star
::drawing
::EnhancedCustomShapeParameterPair Depth
;
44 /** This attribute specifies the amount of diffusion reflected by the shape
47 [optional, property
] double Diffusion
;
49 /** Specifies the number of line segments that should be used to display curved surfaces.
50 The higher the number the more line segments are used.
52 [optional, property
] long NumberOfLineSegments
;
54 /** Specifies if the front face of the extrusion responds to lightning changes.
56 [optional, property
] boolean LightFace
;
58 /** Specifies if the primary light is harsh.
60 [optional, property
] boolean FirstLightHarsh
;
62 /** Specifies if the secondary light is harsh.
64 [optional, property
] boolean SecondLightHarsh
;
66 /** Specifies the intensity for the first light in percent.
68 [optional, property
] double FirstLightLevel
;
70 /** Specifies the intensity for the second light in percent.
72 [optional, property
] double SecondLightLevel
;
74 /** Specifies the direction of the first light.
76 [optional, property
] ::com
::sun
::star
::drawing
::Direction3D FirstLightDirection
;
78 /** Specifies the direction of the second light.
80 [optional, property
] ::com
::sun
::star
::drawing
::Direction3D SecondLightDirection
;
82 /** Specifies if the surface of the extrusion object looks like metal.
84 [optional, property
] boolean Metal
;
86 /** Specifies in case of Metal=true the way the rendering of the shape is modified.
87 <p>Note: Currently not usable in ODF strict.</p>
89 @see EnhancedCustomShapeMetalType
91 @since LibreOffice 7.4
93 [optional, property
] short MetalType
;
95 /** This property defines the shade mode.
97 [optional, property
] ::com
::sun
::star
::drawing
::ShadeMode ShadeMode
;
99 /** This attributes specifies the rotation angle about the x-axis in degrees.
100 The order of rotation is: z-axis, y-axis and then x-axis. The z-axis is
101 specified by the draw:rotate-angle.
103 [optional, property
] ::com
::sun
::star
::drawing
::EnhancedCustomShapeParameterPair RotateAngle
;
105 /** This attribute specifies the position of the rotate center
106 in terms of shape size fractions, if the property is omitted, then
107 the geometrical center of the shape is used (this is the default).
109 [optional, property
] ::com
::sun
::star
::drawing
::Direction3D RotationCenter
;
111 /** The draw:extrusion-shininess specifies the shininess of a mirror in percent.
113 [optional, property
] double Shininess
;
115 /** The first value of the draw:extrusion-skew attribute specifies the skew amount of
116 an extrusion in percent. The second parameter specifies the skew-angle. Skew settings
117 are only applied if the attribute ProjectionMode is ProjectionMode_PARALLEL.
119 [optional, property
] ::com
::sun
::star
::drawing
::EnhancedCustomShapeParameterPair Skew
;
121 /** This attribute specifies the specularity of an extrusion object in percent.
123 [optional, property
] double Specularity
;
125 /** This property defines the projection mode.
127 [optional, property
] com
::sun
::star
::drawing
::ProjectionMode ProjectionMode
;
129 /** This attribute specifies the viewpoint of the observer.
131 [optional, property
] ::com
::sun
::star
::drawing
::Position3D ViewPoint
;
133 /** This attribute specifies the origin within the bounding box of the
134 shape in terms of the shape size fractions.
136 [optional, property
] ::com
::sun
::star
::drawing
::EnhancedCustomShapeParameterPair Origin
;
138 /** This attribute specifies if the "SecondFillColor" is used as extrusion color
140 [optional, property
] boolean ExtrusionColor
;
146 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */