merge the formfield patch from ooo-build
[ooovba.git] / offapi / com / sun / star / text / VertOrientationFormat.idl
blob56c7ce78dca4425428acbc1be6619e06686ab183
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: VertOrientationFormat.idl,v $
10 * $Revision: 1.9 $
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_VertOrientationFormat_idl__
31 #define __com_sun_star_text_VertOrientationFormat_idl__
34 //=============================================================================
36 module com { module sun { module star { module text {
38 //=============================================================================
40 // DocMerge from xml: struct com::sun::star::text::VertOrientationFormat
41 /** describes the vertical orientation of an object.
45 <p>If <code>VerticalOrientation == VERT_NONE</code>, then the value "YPos"
46 describes the distance from the top of the context. Otherwise "YPos"
47 is ignored.
48 </p>
50 published struct VertOrientationFormat
52 // DocMerge from xml: field com::sun::star::text::VertOrientationFormat::YPos
53 /** contains the distance from top. Only valid if the property
54 VerticalOrientation contains the value VERT_NONE.
56 long YPos;
58 //-------------------------------------------------------------------------
60 // DocMerge from xml: field com::sun::star::text::VertOrientationFormat::VerticalOrientation
61 /** determines the vertical alignment of an object.
62 The values refer to com::sun::star::VertOrientation.
64 short VerticalOrientation;
66 //-------------------------------------------------------------------------
68 // DocMerge from xml: field com::sun::star::text::VertOrientationFormat::VerticalRelation
69 /** determines the reference position of the vertical alignment.@see com::sun::star::text::RelOrientation
71 short VerticalRelation;
73 };
75 //=============================================================================
77 }; }; }; };
80 #endif