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 enumeration values specify the horizontal orientation.
26 published constants HoriOrientation
28 /** no hard alignment is applied.
30 <p>For text tables this means that the tables position is
31 defined by the left and right margins.
33 <p>For frame objects (text frames, graphics,...) this means
34 that the position is defined by a left offset.
38 /** The object is aligned at the right side.
40 const short RIGHT
= 1;
42 /** The object is aligned at the middle.
44 const short CENTER
= 2;
46 /** The object is aligned at the left side.
52 const short INSIDE
= 4;
56 const short OUTSIDE
= 5;
58 /** The object uses the full space (for text tables only).
62 /** The left offset and the width of the object are defined.
63 <p> For text tables this means that the tables position is
64 defined by the left margin and the width.
66 const short LEFT_AND_WIDTH
= 7;
73 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */