summaryrefslogtreecommitdiffstats
path: root/offapi/com/sun/star/drawing/EnhancedCustomShapeExtrusion.idl
blob: 4b589c4aa1d8e2ff7eb30e2485a19782b5e7ebed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
 *   with this work for additional information regarding copyright
 *   ownership. The ASF licenses this file to you under the Apache
 *   License, Version 2.0 (the "License"); you may not use this file
 *   except in compliance with the License. You may obtain a copy of
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 */
#ifndef __com_sun_star_drawing_EnhancedCustomShapeExtrusion_idl__
#define __com_sun_star_drawing_EnhancedCustomShapeExtrusion_idl__

#include <com/sun/star/awt/Size.idl>
#include <com/sun/star/awt/Point.idl>
#include <com/sun/star/beans/PropertyValue.idl>
#include <com/sun/star/drawing/Position3D.idl>
#include <com/sun/star/drawing/Direction3D.idl>
#include <com/sun/star/drawing/ProjectionMode.idl>
#include <com/sun/star/drawing/ShadeMode.idl>
#include <com/sun/star/drawing/EnhancedCustomShapeParameterPair.idl>


module com { module sun { module star { module drawing {

/**
  This service may be represented by a ::com::sun::star::beans::PropertyValue [].
*/

service EnhancedCustomShapeExtrusion
{
    /** This property specifies if extrusion is displayed. The default for this property
        is "false"
    */
    [optional, property] boolean Extrusion;

    /** This attribute specifies the brightness of a scene in percent.
    */
    [optional, property] double Brightness;

    /** The first value of EnhancedCustomShapeParameterPair specifies the depth of the
        extrusion in 1/100 mm. The second value (0.0 to 1.0) specifies the fraction of
        the extrusion that lies before the shape, a value of 0 is default.
    */
    [optional, property] ::com::sun::star::drawing::EnhancedCustomShapeParameterPair Depth;

    /** This attribute specifies the amount of diffusion reflected by the shape
        in percent
    */
    [optional, property] double Diffusion;

    /** Specifies the number of line segments that should be used to display curved surfaces.
        The higher the number the more line segments are used.
    */
    [optional, property] long NumberOfLineSegments;

    /** Specifies if the front face of the extrusion responds to lightning changes.
    */
    [optional, property] boolean LightFace;

    /** Specifies if the primary light is harsh.
    */
    [optional, property] boolean FirstLightHarsh;

    /** Specifies if the secondary light is harsh.
    */
    [optional, property] boolean SecondLightHarsh;

    /** Specifies the intensity for the first light in percent.
    */
    [optional, property] double FirstLightLevel;

    /** Specifies the intensity for the second light in percent.
    */
    [optional, property] double SecondLightLevel;

    /** Specifies the direction of the first light.
    */
    [optional, property] ::com::sun::star::drawing::Direction3D FirstLightDirection;

    /** Specifies the direction of the second light.
    */
    [optional, property] ::com::sun::star::drawing::Direction3D SecondLightDirection;

    /** Specifies if the surface of the extrusion object looks like metal.
    */
    [optional, property] boolean Metal;

    /** Specifies in case of Metal=true the way the rendering of the shape is modified.
        <p>Note: Currently not usable in ODF strict.</p>

        @see EnhancedCustomShapeMetalType

        @since LibreOffice 7.4
    */
    [optional, property] short MetalType;

    /** This property defines the shade mode.
    */
    [optional, property] ::com::sun::star::drawing::ShadeMode ShadeMode;

    /** This attributes specifies the rotation angle about the x-axis in degrees.
        The order of rotation is: z-axis, y-axis and then x-axis. The z-axis is
        specified by the draw:rotate-angle.
    */
    [optional, property] ::com::sun::star::drawing::EnhancedCustomShapeParameterPair RotateAngle;

    /** This attribute specifies the position of the rotate center
        in terms of shape size fractions, if the property is omitted, then
        the geometrical center of the shape is used (this is the default).
    */
    [optional, property] ::com::sun::star::drawing::Direction3D RotationCenter;

    /** The draw:extrusion-shininess specifies the shininess of a mirror in percent.
    */
    [optional, property] double Shininess;

    /** The first value of the draw:extrusion-skew attribute specifies the skew amount of
        an extrusion in percent. The second parameter specifies the skew-angle. Skew settings
        are only applied if the attribute ProjectionMode is ProjectionMode_PARALLEL.
    */
    [optional, property] ::com::sun::star::drawing::EnhancedCustomShapeParameterPair Skew;

    /** This attribute specifies the specularity of an extrusion object in percent.
    */
    [optional, property] double Specularity;

    /** This property defines the projection mode.
    */
    [optional, property] com::sun::star::drawing::ProjectionMode ProjectionMode;

    /** This attribute specifies the viewpoint of the observer.
    */
    [optional, property] ::com::sun::star::drawing::Position3D ViewPoint;

    /** This attribute specifies the origin within the bounding box of the
        shape in terms of the shape size fractions.
    */
    [optional, property] ::com::sun::star::drawing::EnhancedCustomShapeParameterPair Origin;

    /** This attribute specifies if the "SecondFillColor" is used as extrusion color
    */
    [optional, property] boolean ExtrusionColor;
};


}; }; }; };

#endif

/* vim:set shiftwidth=4 softtabstop=4 expandtab: */