Overview | Module | Use | Devguide | Index

Constants | Constants' Details

:: 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-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

Copyright © 2000, 2013 LibreOffice contributors and/or their affiliates. All rights reserved.

LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.

The Document Foundation acknowledges all community members, please find more info at our website.

Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.