Version 5.4.3.2, tag libreoffice-5.4.3.2
[LibreOffice.git] / include / editeng / frmdir.hxx
blob85f60b30da2a4d259d1b0ae61f98763b3d862a55
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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 .
20 #ifndef INCLUDED_EDITENG_FRMDIR_HXX
21 #define INCLUDED_EDITENG_FRMDIR_HXX
23 #include <com/sun/star/text/WritingMode2.hpp>
25 /**
26 * Defines possible text directions in frames.
27 * A scoped enum over the constants in css::text:WritingMode2.
29 enum class SvxFrameDirection
31 /** used as an error return value in SW */
32 Unknown = -1,
34 /** Horizontal, from left to right, from top to bottom
35 (typical for western languages). */
36 Horizontal_LR_TB = css::text::WritingMode2::LR_TB,
38 /** Horizontal, from right to left, from top to bottom
39 (typical for arabic/hebrew languages). */
40 Horizontal_RL_TB = css::text::WritingMode2::RL_TB,
42 /** Vertical, from top to bottom, from right to left
43 (typical for asian languages). */
44 Vertical_RL_TB = css::text::WritingMode2::TB_RL,
46 /** Vertical, from top to bottom, from left to right
47 (typical for mongol language). */
48 Vertical_LR_TB = css::text::WritingMode2::TB_LR,
50 /** Use the value from the environment, can only be used in frames. */
51 Environment = css::text::WritingMode2::CONTEXT
55 #endif // INCLUDED_EDITENG_FRMDIR_HXX
58 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */