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 .
21 module com
{ module sun
{ module star
{ module awt
{
24 /** specifies the position of an image, relative to another object
28 constants ImagePosition
30 /** specifies that the image should be positioned at the left of, and top-aligned to, the other object
32 const short LeftTop
= 0;
34 /** specifies that the image should be positioned at the left of, and vertically centered to, the other object
36 const short LeftCenter
= 1;
38 /** specifies that the image should be positioned at the left of, and bottom-aligned to, the other object
40 const short LeftBottom
= 2;
42 /** specifies that the image should be positioned at the right of, and top-aligned to, the other object
44 const short RightTop
= 3;
46 /** specifies that the image should be positioned at the right of, and vertically centered to, the other object
48 const short RightCenter
= 4;
50 /** specifies that the image should be positioned at the right of, and bottom-aligned to, the other object
52 const short RightBottom
= 5;
54 /** specifies that the image should be positioned above and left-aligned to the other object
56 const short AboveLeft
= 6;
58 /** specifies that the image should be positioned above and horizontally centered to the other object
60 const short AboveCenter
= 7;
62 /** specifies that the image should be positioned above and right-aligned to the other object
64 const short AboveRight
= 8;
66 /** specifies that the image should be positioned below and left-aligned to the other object
68 const short BelowLeft
= 9;
70 /** specifies that the image should be positioned below and horizontally centered to the other object
72 const short BelowCenter
= 10;
74 /** specifies that the image should be positioned below and right-aligned centered to the other object
76 const short BelowRight
= 11;
78 /** specifies that the image should be horizontally and vertically centered to the other object.
80 const short Centered
= 12;
86 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */