1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
14 *
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
20 *
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org.  If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
25 *
26 ************************************************************************/
27
28#ifndef __com_sun_star_awt_ImagePosition_idl__
29#define __com_sun_star_awt_ImagePosition_idl__
30
31//=============================================================================
32
33module com {  module sun {  module star {  module awt {
34
35//=============================================================================
36
37/** specifies the position of a image, relative to another object
38
39    @see ImageAlign
40*/
41constants ImagePosition
42{
43    /** specifies that the image should be positioned at the left of, and top-aligned to, the other object
44    */
45	const short LeftTop = 0;
46
47    /** specifies that the image should be positioned at the left of, and vertically centered to, the other object
48    */
49	const short LeftCenter = 1;
50
51    /** specifies that the image should be positioned at the left of, and bottom-aligned to, the other object
52    */
53	const short LeftBottom = 2;
54
55    /** specifies that the image should be positioned at the right of, and top-aligned to, the other object
56    */
57	const short RightTop = 3;
58
59    /** specifies that the image should be positioned at the right of, and vertically centered to, the other object
60    */
61	const short RightCenter = 4;
62
63    /** specifies that the image should be positioned at the right of, and bottom-aligned to, the other object
64    */
65	const short RightBottom = 5;
66
67    /** specifies that the image should be positioned above and left-aligned to the other object
68    */
69	const short AboveLeft = 6;
70
71    /** specifies that the image should be positioned above and horizontally centered to the other object
72    */
73	const short AboveCenter = 7;
74
75    /** specifies that the image should be positioned above and right-aligned to the other object
76    */
77	const short AboveRight = 8;
78
79    /** specifies that the image should be positioned below and left-aligned to the other object
80    */
81	const short BelowLeft = 9;
82
83    /** specifies that the image should be positioned below and horizontally centered to the other object
84    */
85	const short BelowCenter = 10;
86
87    /** specifies that the image should be positioned below and right-aligned centered to the other object
88    */
89	const short BelowRight = 11;
90
91    /** specifies that the image should be horizontally and vertically centered to the other object.
92    */
93    const short Centered = 12;
94};
95
96//=============================================================================
97
98}; }; }; };
99
100#endif
101