LibreOffice Module editeng (master) 1
Enumerations | Functions
frmdir.hxx File Reference
#include <com/sun/star/text/WritingMode2.hpp>
#include <unotools/resmgr.hxx>
Include dependency graph for frmdir.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum class  SvxFrameDirection {
  Unknown = -1 ,
  Horizontal_LR_TB = css::text::WritingMode2::LR_TB ,
  Horizontal_RL_TB = css::text::WritingMode2::RL_TB ,
  Vertical_RL_TB = css::text::WritingMode2::TB_RL ,
  Vertical_LR_TB = css::text::WritingMode2::TB_LR ,
  Environment = css::text::WritingMode2::CONTEXT ,
  Vertical_LR_BT = css::text::WritingMode2::BT_LR ,
  Vertical_RL_TB90 = css::text::WritingMode2::TB_RL90
}
 Defines possible text directions in frames. More...
 

Functions

TranslateId getFrmDirResId (size_t nIndex)
 

Enumeration Type Documentation

◆ SvxFrameDirection

enum class SvxFrameDirection
strong

Defines possible text directions in frames.

A scoped enum over the constants in css::text:WritingMode2.

Enumerator
Unknown 

used as an error return value in SW

Horizontal_LR_TB 

Horizontal, from left to right, from top to bottom (typical for western languages).

Horizontal_RL_TB 

Horizontal, from right to left, from top to bottom (typical for arabic/hebrew languages).

Vertical_RL_TB 

Vertical, from top to bottom, from right to left (typical for asian languages).

Vertical_LR_TB 

Vertical, from top to bottom, from left to right (typical for mongol language).

Environment 

Use the value from the environment, can only be used in frames.

Vertical_LR_BT 

Vertical, from bottom to top, from left to right (vert="vert270").

Vertical_RL_TB90 

Vertical, from top to bottom, from right to left (vert="vert").

Definition at line 30 of file frmdir.hxx.

Function Documentation

◆ getFrmDirResId()

TranslateId getFrmDirResId ( size_t  nIndex)

Definition at line 4589 of file frmitems.cxx.

References nIndex.

Referenced by SvxFrameDirectionItem::GetPresentation(), and SvxWritingModeItem::GetPresentation().