Overview | Module | Use | Devguide | Index

Constants | Constants' Details

:: com :: sun :: star :: text ::
constants group WritingMode2
Description this set of constants describes different writing directions, and * also allows for a value 'PAGE' which causes the writing mode to be * obtained from the current page.

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-ro-right.
PAGE | obtain writing mode from the current page.

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-ro-right. Typically, this writing mode is used in Mongolian text.
PAGE
const short PAGE = 4; Description obtain writing mode from the current page. May not be used in page styles.

Top of Page

Copyright © 2003 Sun Microsystems, Inc.