:: com :: sun :: star :: text ::

constants group WritingMode2

Constants
LR_TB text within lines is written left-to-right. Lines and blocks are placed top-to-bottom.  
RL_TB text within a line are written right-to-left. Lines and blocks are placed top-to-bottom.  
TB_RL text within a line is written top-to-bottom. Lines and blocks are placed right-to-left.  
TB_LR text within a line is written top-to-bottom. Lines and blocks are placed left-to-right.  
PAGE [ DEPRECATED ]
obtain writing mode from the current page.  
CONTEXT obtain actual writing mode from the context of the object.  
Constants' Details
LR_TB
const short LR_TB = 0;
Description
text within lines is written left-to-right. Lines and blocks are placed top-to-bottom.

Typically, this is the writing mode for normal "alphabetic" text.

RL_TB
const short RL_TB = 1;
Description
text within a line are written right-to-left. Lines and blocks are placed top-to-bottom.

Typically, this writing mode is used in Arabic and Hebrew text.

TB_RL
const short TB_RL = 2;
Description
text within a line is written top-to-bottom. Lines and blocks are placed right-to-left.

Typically, this writing mode is used in Chinese and Japanese text.

TB_LR
const short TB_LR = 3;
Description
text within a line is written top-to-bottom. Lines and blocks are placed left-to-right.

Typically, this writing mode is used in Mongolian text.

PAGE
const short PAGE = 4;
Usage Restrictions
deprecated
Deprecation Info
Use CONTEXT instead.
Description
obtain writing mode from the current page.

May not be used in page styles.

CONTEXT
const short CONTEXT = 4;
Description
obtain actual writing mode from the context of the object.
Top of Page