xref: /trunk/main/offapi/com/sun/star/text/HoriOrientation.idl (revision cdf0e10c4e3984b49a9502b011690b615761d4a3)
1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
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.
14 *
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).
20 *
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.
25 *
26 ************************************************************************/
27#ifndef __com_sun_star_text_HoriOrientation_idl__
28#define __com_sun_star_text_HoriOrientation_idl__
29
30
31//=============================================================================
32
33 module com {  module sun {  module star {  module text {
34
35//=============================================================================
36
37// DocMerge from idl: constants com::sun::star::text::HoriOrientation
38/** These enumeration values specify the horizontal orientation.
39 */
40published constants HoriOrientation
41{
42    //-------------------------------------------------------------------------
43
44    // DocMerge from idl: value com::sun::star::text::HoriOrientation::NONE
45    /** no hard alignment is applied.
46
47                <p>For text tables this means that the tables position is
48                defined by the left and right margins.
49
50                <p>For frame objects (text frames, graphics,...) this means
51                that the position is defined by a left offset.
52     */
53    const short NONE = 0;
54
55    //-------------------------------------------------------------------------
56
57    // DocMerge from idl: value com::sun::star::text::HoriOrientation::RIGHT
58    /** The object is aligned at the right side.
59     */
60    const short RIGHT = 1;
61
62    //-------------------------------------------------------------------------
63
64    // DocMerge from idl: value com::sun::star::text::HoriOrientation::CENTER
65    /** The object is aligned at the middle.
66     */
67    const short CENTER = 2;
68
69    //-------------------------------------------------------------------------
70
71    // DocMerge from idl: value com::sun::star::text::HoriOrientation::LEFT
72    /** The object is aligned at the left side.
73     */
74    const short LEFT = 3;
75
76    //-------------------------------------------------------------------------
77
78    // DocMerge from idl: value com::sun::star::text::HoriOrientation::INSIDE
79    /** TODO
80     */
81    const short INSIDE = 4;
82
83    //-------------------------------------------------------------------------
84
85    // DocMerge from idl: value com::sun::star::text::HoriOrientation::OUTSIDE
86    /** TODO
87     */
88    const short OUTSIDE = 5;
89
90    //-------------------------------------------------------------------------
91
92    // DocMerge from idl: value com::sun::star::text::HoriOrientation::FULL
93    /** The object uses the full space (for text tables only).
94     */
95    const short FULL = 6;
96
97    //-------------------------------------------------------------------------
98
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.
103     */
104    const short LEFT_AND_WIDTH = 7;
105
106};
107
108//=============================================================================
109
110}; }; }; };
111
112#endif
113