1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: HoriOrientation.idl,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef __com_sun_star_text_HoriOrientation_idl__
31 #define __com_sun_star_text_HoriOrientation_idl__
34 //=============================================================================
36 module com
{ module sun
{ module star
{ module text
{
38 //=============================================================================
40 // DocMerge from idl: constants com::sun::star::text::HoriOrientation
41 /** These enumeration values specify the horizontal orientation.
43 published constants HoriOrientation
45 //-------------------------------------------------------------------------
47 // DocMerge from idl: value com::sun::star::text::HoriOrientation::NONE
48 /** no hard alignment is applied.
50 <p>For text tables this means that the tables position is
51 defined by the left and right margins.
53 <p>For frame objects (text frames, graphics,...) this means
54 that the position is defined by a left offset.
58 //-------------------------------------------------------------------------
60 // DocMerge from idl: value com::sun::star::text::HoriOrientation::RIGHT
61 /** The object is aligned at the right side.
63 const short RIGHT
= 1;
65 //-------------------------------------------------------------------------
67 // DocMerge from idl: value com::sun::star::text::HoriOrientation::CENTER
68 /** The object is aligned at the middle.
70 const short CENTER
= 2;
72 //-------------------------------------------------------------------------
74 // DocMerge from idl: value com::sun::star::text::HoriOrientation::LEFT
75 /** The object is aligned at the left side.
79 //-------------------------------------------------------------------------
81 // DocMerge from idl: value com::sun::star::text::HoriOrientation::INSIDE
84 const short INSIDE
= 4;
86 //-------------------------------------------------------------------------
88 // DocMerge from idl: value com::sun::star::text::HoriOrientation::OUTSIDE
91 const short OUTSIDE
= 5;
93 //-------------------------------------------------------------------------
95 // DocMerge from idl: value com::sun::star::text::HoriOrientation::FULL
96 /** The object uses the full space (for text tables only).
100 //-------------------------------------------------------------------------
102 // DocMerge from idl: value com::sun::star::text::HoriOrientation::LEFT_AND_WIDTH
103 /** The left offset and the width of the object are defined.
104 <p> For text tables this means that the tables position is
105 defined by the left margin and the width.
107 const short LEFT_AND_WIDTH
= 7;
111 //=============================================================================