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
24#ifndef __com_sun_star_awt_ImagePosition_idl__
25#define __com_sun_star_awt_ImagePosition_idl__
26
27//=============================================================================
28
29module com {  module sun {  module star {  module awt {
30
31//=============================================================================
32
33/** specifies the position of a image, relative to another object
34
35    @see ImageAlign
36*/
37constants ImagePosition
38{
39    /** specifies that the image should be positioned at the left of, and top-aligned to, the other object
40    */
41	const short LeftTop = 0;
42
43    /** specifies that the image should be positioned at the left of, and vertically centered to, the other object
44    */
45	const short LeftCenter = 1;
46
47    /** specifies that the image should be positioned at the left of, and bottom-aligned to, the other object
48    */
49	const short LeftBottom = 2;
50
51    /** specifies that the image should be positioned at the right of, and top-aligned to, the other object
52    */
53	const short RightTop = 3;
54
55    /** specifies that the image should be positioned at the right of, and vertically centered to, the other object
56    */
57	const short RightCenter = 4;
58
59    /** specifies that the image should be positioned at the right of, and bottom-aligned to, the other object
60    */
61	const short RightBottom = 5;
62
63    /** specifies that the image should be positioned above and left-aligned to the other object
64    */
65	const short AboveLeft = 6;
66
67    /** specifies that the image should be positioned above and horizontally centered to the other object
68    */
69	const short AboveCenter = 7;
70
71    /** specifies that the image should be positioned above and right-aligned to the other object
72    */
73	const short AboveRight = 8;
74
75    /** specifies that the image should be positioned below and left-aligned to the other object
76    */
77	const short BelowLeft = 9;
78
79    /** specifies that the image should be positioned below and horizontally centered to the other object
80    */
81	const short BelowCenter = 10;
82
83    /** specifies that the image should be positioned below and right-aligned centered to the other object
84    */
85	const short BelowRight = 11;
86
87    /** specifies that the image should be horizontally and vertically centered to the other object.
88    */
89    const short Centered = 12;
90};
91
92//=============================================================================
93
94}; }; }; };
95
96#endif
97