merged tag ooo/OOO330_m14
[LibreOffice.git] / offapi / com / sun / star / text / HoriOrientation.idl
blob6ec443a97613ed20c9f0b3831468262e42e53977
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
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.
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).
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.
26 ************************************************************************/
27 #ifndef __com_sun_star_text_HoriOrientation_idl__
28 #define __com_sun_star_text_HoriOrientation_idl__
31 //=============================================================================
33 module com { module sun { module star { module text {
35 //=============================================================================
37 // DocMerge from idl: constants com::sun::star::text::HoriOrientation
38 /** These enumeration values specify the horizontal orientation.
40 published constants HoriOrientation
42 //-------------------------------------------------------------------------
44 // DocMerge from idl: value com::sun::star::text::HoriOrientation::NONE
45 /** no hard alignment is applied.
47 <p>For text tables this means that the tables position is
48 defined by the left and right margins.
50 <p>For frame objects (text frames, graphics,...) this means
51 that the position is defined by a left offset.
53 const short NONE = 0;
55 //-------------------------------------------------------------------------
57 // DocMerge from idl: value com::sun::star::text::HoriOrientation::RIGHT
58 /** The object is aligned at the right side.
60 const short RIGHT = 1;
62 //-------------------------------------------------------------------------
64 // DocMerge from idl: value com::sun::star::text::HoriOrientation::CENTER
65 /** The object is aligned at the middle.
67 const short CENTER = 2;
69 //-------------------------------------------------------------------------
71 // DocMerge from idl: value com::sun::star::text::HoriOrientation::LEFT
72 /** The object is aligned at the left side.
74 const short LEFT = 3;
76 //-------------------------------------------------------------------------
78 // DocMerge from idl: value com::sun::star::text::HoriOrientation::INSIDE
79 /** TODO
81 const short INSIDE = 4;
83 //-------------------------------------------------------------------------
85 // DocMerge from idl: value com::sun::star::text::HoriOrientation::OUTSIDE
86 /** TODO
88 const short OUTSIDE = 5;
90 //-------------------------------------------------------------------------
92 // DocMerge from idl: value com::sun::star::text::HoriOrientation::FULL
93 /** The object uses the full space (for text tables only).
95 const short FULL = 6;
97 //-------------------------------------------------------------------------
99 // DocMerge from idl: value com::sun::star::text::HoriOrientation::LEFT_AND_WIDTH
100 /** The left offset and the width of the object are defined.
101 <p> For text tables this means that the tables position is
102 defined by the left margin and the width.
104 const short LEFT_AND_WIDTH = 7;
108 //=============================================================================
110 }; }; }; };
112 #endif