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: RelOrientation.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_RelOrientation_idl__
31 #define __com_sun_star_text_RelOrientation_idl__
34 //=============================================================================
36 module com
{ module sun
{ module star
{ module text
{
38 //=============================================================================
40 // DocMerge from idl: constants com::sun::star::text::RelOrientation
41 /** These values define the reference position of relative orientations.
43 published constants RelOrientation
45 //-------------------------------------------------------------------------
47 // DocMerge from idl: value com::sun::star::text::RelOrientation::FRAME
48 /** paragraph, including margins
50 const short FRAME
= 0;
52 //-------------------------------------------------------------------------
54 // DocMerge from idl: value com::sun::star::text::RelOrientation::PRINT_AREA
55 /** paragraph, without margins
57 const short PRINT_AREA
= 1;
59 //-------------------------------------------------------------------------
61 // DocMerge from idl: value com::sun::star::text::RelOrientation::CHAR
66 //-------------------------------------------------------------------------
68 // DocMerge from idl: value com::sun::star::text::RelOrientation::PAGE_LEFT
69 /** inside the left page margin
71 const short PAGE_LEFT
= 3;
73 //-------------------------------------------------------------------------
75 // DocMerge from idl: value com::sun::star::text::RelOrientation::PAGE_RIGHT
76 /** inside the right page margin
78 const short PAGE_RIGHT
= 4;
80 //-------------------------------------------------------------------------
82 // DocMerge from idl: value com::sun::star::text::RelOrientation::FRAME_LEFT
83 /** inside the left paragraph margin
85 const short FRAME_LEFT
= 5;
87 //-------------------------------------------------------------------------
89 // DocMerge from idl: value com::sun::star::text::RelOrientation::FRAME_RIGHT
90 /** inside the right paragraph margin
92 const short FRAME_RIGHT
= 6;
94 //-------------------------------------------------------------------------
96 // DocMerge from idl: value com::sun::star::text::RelOrientation::PAGE_FRAME
97 /** page includes margins for page-anchored frames identical with
98 <const>RelOrientation::FRAME</const>
100 const short PAGE_FRAME
= 7;
102 //-------------------------------------------------------------------------
104 // DocMerge from idl: value com::sun::star::text::RelOrientation::PAGE_PRINT_AREA
105 /** page without borders (for page anchored frames identical with
106 <const>RelOrientation::PRINT_AREA</const>).
108 <!-- JRH: does not make sense -->
110 const short PAGE_PRINT_AREA
= 8;
112 /** at the top of the text line, only sensible for vertical orientation.
116 const short TEXT_LINE
= 9;
120 //=============================================================================