LibreOffice Module editeng (master) 1
frmdir.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
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/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
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 .
18 */
19
20#ifndef INCLUDED_EDITENG_FRMDIR_HXX
21#define INCLUDED_EDITENG_FRMDIR_HXX
22
23#include <com/sun/star/text/WritingMode2.hpp>
24#include <unotools/resmgr.hxx>
25
31{
33 Unknown = -1,
34
37 Horizontal_LR_TB = css::text::WritingMode2::LR_TB,
38
41 Horizontal_RL_TB = css::text::WritingMode2::RL_TB,
42
45 Vertical_RL_TB = css::text::WritingMode2::TB_RL,
46
49 Vertical_LR_TB = css::text::WritingMode2::TB_LR,
50
52 Environment = css::text::WritingMode2::CONTEXT,
53
55 Vertical_LR_BT = css::text::WritingMode2::BT_LR,
56
58 Vertical_RL_TB90 = css::text::WritingMode2::TB_RL90,
59};
60
61TranslateId getFrmDirResId(size_t nIndex);
62
63#endif // INCLUDED_EDITENG_FRMDIR_HXX
64
65/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
TranslateId getFrmDirResId(size_t nIndex)
Definition: frmitems.cxx:4589
SvxFrameDirection
Defines possible text directions in frames.
Definition: frmdir.hxx:31
@ Vertical_LR_BT
Vertical, from bottom to top, from left to right (vert="vert270").
@ Environment
Use the value from the environment, can only be used in frames.
@ Vertical_LR_TB
Vertical, from top to bottom, from left to right (typical for mongol language).
@ Vertical_RL_TB
Vertical, from top to bottom, from right to left (typical for asian languages).
@ Vertical_RL_TB90
Vertical, from top to bottom, from right to left (vert="vert").
@ Horizontal_RL_TB
Horizontal, from right to left, from top to bottom (typical for arabic/hebrew languages).
@ Horizontal_LR_TB
Horizontal, from left to right, from top to bottom (typical for western languages).
Unknown