1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
22 module com
{ module sun
{ module star
{ module text
{
24 /** These values define the reference position of relative orientations.
26 published constants RelOrientation
28 /** paragraph, including margins
30 const short FRAME
= 0;
32 /** paragraph, without margins
34 const short PRINT_AREA
= 1;
40 /** inside the left page margin
42 const short PAGE_LEFT
= 3;
44 /** inside the right page margin
46 const short PAGE_RIGHT
= 4;
48 /** inside the left paragraph margin
50 const short FRAME_LEFT
= 5;
52 /** inside the right paragraph margin
54 const short FRAME_RIGHT
= 6;
56 /** page includes margins for page-anchored frames identical with
59 const short PAGE_FRAME
= 7;
61 /** page without borders (for page anchored frames identical with
62 RelOrientation::PRINT_AREA).
64 <!-- JRH: does not make sense -->
66 const short PAGE_PRINT_AREA
= 8;
68 /** at the top of the text line, only sensible for vertical orientation.
72 const short TEXT_LINE
= 9;
74 /** Bottom page border (page area below PAGE_PRINT_AREA).
76 @since LibreOffice 7.0
78 const short PAGE_PRINT_AREA_BOTTOM
= 10;
80 /** Top page border (page area above PAGE_PRINT_AREA).
82 @since LibreOffice 7.1
84 const short PAGE_PRINT_AREA_TOP
= 11;
91 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */