1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #ifndef __com_sun_star_awt_ImagePosition_idl__
21 #define __com_sun_star_awt_ImagePosition_idl__
24 module com
{ module sun
{ module star
{ module awt
{
27 /** specifies the position of a image, relative to another object
31 constants ImagePosition
33 /** specifies that the image should be positioned at the left of, and top-aligned to, the other object
35 const short LeftTop
= 0;
37 /** specifies that the image should be positioned at the left of, and vertically centered to, the other object
39 const short LeftCenter
= 1;
41 /** specifies that the image should be positioned at the left of, and bottom-aligned to, the other object
43 const short LeftBottom
= 2;
45 /** specifies that the image should be positioned at the right of, and top-aligned to, the other object
47 const short RightTop
= 3;
49 /** specifies that the image should be positioned at the right of, and vertically centered to, the other object
51 const short RightCenter
= 4;
53 /** specifies that the image should be positioned at the right of, and bottom-aligned to, the other object
55 const short RightBottom
= 5;
57 /** specifies that the image should be positioned above and left-aligned to the other object
59 const short AboveLeft
= 6;
61 /** specifies that the image should be positioned above and horizontally centered to the other object
63 const short AboveCenter
= 7;
65 /** specifies that the image should be positioned above and right-aligned to the other object
67 const short AboveRight
= 8;
69 /** specifies that the image should be positioned below and left-aligned to the other object
71 const short BelowLeft
= 9;
73 /** specifies that the image should be positioned below and horizontally centered to the other object
75 const short BelowCenter
= 10;
77 /** specifies that the image should be positioned below and right-aligned centered to the other object
79 const short BelowRight
= 11;
81 /** specifies that the image should be horizontally and vertically centered to the other object.
83 const short Centered
= 12;
91 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */