Update ooo320-m1
[ooovba.git] / offapi / com / sun / star / awt / ImagePosition.idl
bloba11c725cb7a3cac224ef4df84529fafa74f16f2e
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: ImagePosition.idl,v $
10 * $Revision: 1.4 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 #ifndef __com_sun_star_awt_ImagePosition_idl__
32 #define __com_sun_star_awt_ImagePosition_idl__
34 //=============================================================================
36 module com { module sun { module star { module awt {
38 //=============================================================================
40 /** specifies the position of a image, relative to another object
42 @see ImageAlign
44 constants ImagePosition
46 /** specifies that the image should be positioned at the left of, and top-aligned to, the other object
48 const short LeftTop = 0;
50 /** specifies that the image should be positioned at the left of, and vertically centered to, the other object
52 const short LeftCenter = 1;
54 /** specifies that the image should be positioned at the left of, and bottom-aligned to, the other object
56 const short LeftBottom = 2;
58 /** specifies that the image should be positioned at the right of, and top-aligned to, the other object
60 const short RightTop = 3;
62 /** specifies that the image should be positioned at the right of, and vertically centered to, the other object
64 const short RightCenter = 4;
66 /** specifies that the image should be positioned at the right of, and bottom-aligned to, the other object
68 const short RightBottom = 5;
70 /** specifies that the image should be positioned above and left-aligned to the other object
72 const short AboveLeft = 6;
74 /** specifies that the image should be positioned above and horizontally centered to the other object
76 const short AboveCenter = 7;
78 /** specifies that the image should be positioned above and right-aligned to the other object
80 const short AboveRight = 8;
82 /** specifies that the image should be positioned below and left-aligned to the other object
84 const short BelowLeft = 9;
86 /** specifies that the image should be positioned below and horizontally centered to the other object
88 const short BelowCenter = 10;
90 /** specifies that the image should be positioned below and right-aligned centered to the other object
92 const short BelowRight = 11;
94 /** specifies that the image should be horizontally and vertically centered to the other object.
96 const short Centered = 12;
99 //=============================================================================
101 }; }; }; };
103 #endif