Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / offapi / com / sun / star / text / HoriOrientation.idl
blob66c8b2211da3ef11a0f800f80feac69de05791e5
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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 .
19 #ifndef __com_sun_star_text_HoriOrientation_idl__
20 #define __com_sun_star_text_HoriOrientation_idl__
24 module com { module sun { module star { module text {
26 /** These enumeration values specify the horizontal orientation.
28 published constants HoriOrientation
30 /** no hard alignment is applied.
32 <p>For text tables this means that the tables position is
33 defined by the left and right margins.
35 <p>For frame objects (text frames, graphics,...) this means
36 that the position is defined by a left offset.
38 const short NONE = 0;
40 /** The object is aligned at the right side.
42 const short RIGHT = 1;
44 /** The object is aligned at the middle.
46 const short CENTER = 2;
48 /** The object is aligned at the left side.
50 const short LEFT = 3;
52 /** TODO
54 const short INSIDE = 4;
56 /** TODO
58 const short OUTSIDE = 5;
60 /** The object uses the full space (for text tables only).
62 const short FULL = 6;
64 /** The left offset and the width of the object are defined.
65 <p> For text tables this means that the tables position is
66 defined by the left margin and the width.
68 const short LEFT_AND_WIDTH = 7;
73 }; }; }; };
75 #endif
77 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */