xref: /trunk/main/offapi/com/sun/star/drawing/EnhancedCustomShapeParameterType.idl (revision ffd38472365e95f6a578737bc9a5eb0fac624a86)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23#ifndef __com_sun_star_drawing_EnhancedCustomShapeParameterType_idl__
24#define __com_sun_star_drawing_EnhancedCustomShapeParameterType_idl__
25
26
27//=============================================================================
28
29 module com {  module sun {  module star {  module drawing {
30
31//=============================================================================
32
33/** defines how a EnhancedCustomShapeParameter has to be interpreted
34 */
35constants EnhancedCustomShapeParameterType
36{
37    /** the value of the point component is normal, the Coordinate is taken as it is
38     */
39    const short NORMAL = 0;
40
41    /** the value of the point component has to be interpreted as index to a Equation
42     */
43    const short EQUATION = 1;
44
45    /** the value of the point component has to be interpreted as index into the list of AdjustmentValues
46     */
47    const short ADJUSTMENT = 2;
48
49    /** the logical left border of the CustomShape is used
50     */
51    const short LEFT = 3;
52
53    /** the logical top border of the CustomShape is used
54     */
55    const short TOP = 4;
56
57    /** the logical right border of the CustomShape is used
58     */
59    const short RIGHT = 5;
60
61    /** the logical bottom border of the CustomShape is used
62     */
63    const short BOTTOM = 6;
64
65    /** the x value of the stretch point is used
66     */
67    const short XSTRETCH = 7;
68
69    /** the y value of the stretch point is used
70     */
71    const short YSTRETCH = 8;
72
73    /** If the shape has a line style, a value of 1 is used.
74     */
75    const short HASSTROKE = 9;
76
77    /** If the shape has a fill style, a value of 1 is used.
78     */
79    const short HASFILL = 10;
80
81    /** The width of the svg:viewBox is used.
82     */
83    const short WIDTH = 11;
84
85    /** The height of the svg:viewBox is used.
86     */
87    const short HEIGHT = 12;
88
89    /** The logical width of the shape is used.
90     */
91    const short LOGWIDTH = 13;
92
93    /** The logical height of the shape is used.
94     */
95    const short LOGHEIGHT = 14;
96};
97
98//=============================================================================
99
100 }; }; }; };
101
102#endif
103