xref: /AOO41X/main/offapi/com/sun/star/text/HoriOrientation.idl (revision 54628ca40d27d15cc98fe861da7fff7e60c2f7d6)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23#ifndef __com_sun_star_text_HoriOrientation_idl__
24#define __com_sun_star_text_HoriOrientation_idl__
25
26
27//=============================================================================
28
29 module com {  module sun {  module star {  module text {
30
31//=============================================================================
32
33// DocMerge from idl: constants com::sun::star::text::HoriOrientation
34/** These enumeration values specify the horizontal orientation.
35 */
36published constants HoriOrientation
37{
38    //-------------------------------------------------------------------------
39
40    // DocMerge from idl: value com::sun::star::text::HoriOrientation::NONE
41    /** no hard alignment is applied.
42
43                <p>For text tables this means that the tables position is
44                defined by the left and right margins.
45
46                <p>For frame objects (text frames, graphics,...) this means
47                that the position is defined by a left offset.
48     */
49    const short NONE = 0;
50
51    //-------------------------------------------------------------------------
52
53    // DocMerge from idl: value com::sun::star::text::HoriOrientation::RIGHT
54    /** The object is aligned at the right side.
55     */
56    const short RIGHT = 1;
57
58    //-------------------------------------------------------------------------
59
60    // DocMerge from idl: value com::sun::star::text::HoriOrientation::CENTER
61    /** The object is aligned at the middle.
62     */
63    const short CENTER = 2;
64
65    //-------------------------------------------------------------------------
66
67    // DocMerge from idl: value com::sun::star::text::HoriOrientation::LEFT
68    /** The object is aligned at the left side.
69     */
70    const short LEFT = 3;
71
72    //-------------------------------------------------------------------------
73
74    // DocMerge from idl: value com::sun::star::text::HoriOrientation::INSIDE
75    /** TODO
76     */
77    const short INSIDE = 4;
78
79    //-------------------------------------------------------------------------
80
81    // DocMerge from idl: value com::sun::star::text::HoriOrientation::OUTSIDE
82    /** TODO
83     */
84    const short OUTSIDE = 5;
85
86    //-------------------------------------------------------------------------
87
88    // DocMerge from idl: value com::sun::star::text::HoriOrientation::FULL
89    /** The object uses the full space (for text tables only).
90     */
91    const short FULL = 6;
92
93    //-------------------------------------------------------------------------
94
95    // DocMerge from idl: value com::sun::star::text::HoriOrientation::LEFT_AND_WIDTH
96    /** The left offset and the width of the object are defined.
97                <p> For text tables this means that the tables position is
98                defined by the left margin and the width.
99     */
100    const short LEFT_AND_WIDTH = 7;
101
102};
103
104//=============================================================================
105
106}; }; }; };
107
108#endif
109