Language
The Free and Open Productivity Suite
:: com :: sun :: star :: text ::
|
constants group WritingMode2 |
- Description
- this set of constants describes different writing directions
In addition to numerous explicit writing directions, it allows allows to specify to take the writing
direction from the object's context.
|
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 |
[ 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-ro-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
Copyright © 2013, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.