1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
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.
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).
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.
26 ************************************************************************/
27 #ifndef __com_sun_star_text_RelOrientation_idl__
28 #define __com_sun_star_text_RelOrientation_idl__
31 //=============================================================================
33 module com
{ module sun
{ module star
{ module text
{
35 //=============================================================================
37 // DocMerge from idl: constants com::sun::star::text::RelOrientation
38 /** These values define the reference position of relative orientations.
40 published constants RelOrientation
42 //-------------------------------------------------------------------------
44 // DocMerge from idl: value com::sun::star::text::RelOrientation::FRAME
45 /** paragraph, including margins
47 const short FRAME
= 0;
49 //-------------------------------------------------------------------------
51 // DocMerge from idl: value com::sun::star::text::RelOrientation::PRINT_AREA
52 /** paragraph, without margins
54 const short PRINT_AREA
= 1;
56 //-------------------------------------------------------------------------
58 // DocMerge from idl: value com::sun::star::text::RelOrientation::CHAR
63 //-------------------------------------------------------------------------
65 // DocMerge from idl: value com::sun::star::text::RelOrientation::PAGE_LEFT
66 /** inside the left page margin
68 const short PAGE_LEFT
= 3;
70 //-------------------------------------------------------------------------
72 // DocMerge from idl: value com::sun::star::text::RelOrientation::PAGE_RIGHT
73 /** inside the right page margin
75 const short PAGE_RIGHT
= 4;
77 //-------------------------------------------------------------------------
79 // DocMerge from idl: value com::sun::star::text::RelOrientation::FRAME_LEFT
80 /** inside the left paragraph margin
82 const short FRAME_LEFT
= 5;
84 //-------------------------------------------------------------------------
86 // DocMerge from idl: value com::sun::star::text::RelOrientation::FRAME_RIGHT
87 /** inside the right paragraph margin
89 const short FRAME_RIGHT
= 6;
91 //-------------------------------------------------------------------------
93 // DocMerge from idl: value com::sun::star::text::RelOrientation::PAGE_FRAME
94 /** page includes margins for page-anchored frames identical with
95 <const>RelOrientation::FRAME</const>
97 const short PAGE_FRAME
= 7;
99 //-------------------------------------------------------------------------
101 // DocMerge from idl: value com::sun::star::text::RelOrientation::PAGE_PRINT_AREA
102 /** page without borders (for page anchored frames identical with
103 <const>RelOrientation::PRINT_AREA</const>).
105 <!-- JRH: does not make sense -->
107 const short PAGE_PRINT_AREA
= 8;
109 /** at the top of the text line, only sensible for vertical orientation.
113 const short TEXT_LINE
= 9;
117 //=============================================================================