<?xml version="1.0" encoding="UTF-8"?>
<!--
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
 *   with this work for additional information regarding copyright
 *   ownership. The ASF licenses this file to you under the Apache
 *   License, Version 2.0 (the "License"); you may not use this file
 *   except in compliance with the License. You may obtain a copy of
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 -->
<helpdocument version="1.0">
<meta>
<topic id="textsharedguidectlxml" indexer="include" status="PUBLISH">
<title id="tit">Languages Using Complex Text Layout</title>
<filename>/text/shared/guide/ctl.xhp</filename>
</topic>
</meta>
<body>
<bookmark branch="index" id="bm_id3153662"><bookmark_value>CTL;complex text layout languages</bookmark_value>
<bookmark_value>languages;complex text layout</bookmark_value>
<bookmark_value>text;CTL languages</bookmark_value>
<bookmark_value>text layout for special languages</bookmark_value>
<bookmark_value>right-to-left text</bookmark_value>
<bookmark_value>entering text from right to left</bookmark_value>
<bookmark_value>bi-directional writing</bookmark_value>
<bookmark_value>Hindi;entering text</bookmark_value>
<bookmark_value>Hebrew;entering text</bookmark_value>
<bookmark_value>Arabic;entering text</bookmark_value>
<bookmark_value>Thai;entering text</bookmark_value>
</bookmark><comment>mw made "text layout;" a one level entry</comment>
<h1 id="hd_id3153662"><variable id="ctl"><link href="text/shared/guide/ctl.xhp">Languages Using Complex Text Layout</link>
</variable></h1>
<paragraph role="paragraph" id="par_id3147618">Currently, $[officename] supports Hindi, Thai, Hebrew, and Arabic as <link href="text/shared/00/00000005.xhp#ctl">CTL languages</link>.</paragraph>
<paragraph role="paragraph" id="par_id3155420">If you select the text flow from right to left, embedded Western text still runs from left to right. The cursor responds to the arrow keys in that Right Arrow moves it "to the text end" and Left Arrow "to the text start".</paragraph>
<paragraph role="paragraph" id="par_id3145609">You can change the text writing direction directly by pressing one of the following key combinations:</paragraph>
<list type="unordered">
<listitem>
<paragraph role="listitem" id="par_id3154758"><switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+Shift+D or <switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+Right Shift Key - switch to right-to-left text entry</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3149047"><switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+Shift+A or <switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+Left Shift Key - switch to left-to-right text entry</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3149656">The modifier-only key combinations only work when CTL support is enabled.</paragraph>
</listitem>
</list>
<paragraph role="paragraph" id="par_id3150541">In multicolumn pages, sections or frames that are formatted with text flow from right to left, the first column is the right column and the last column is the left column.</paragraph>
<paragraph role="paragraph" id="par_id3148797">In $[officename] Writer text formatted in <emph>Thai language</emph> has the following features:</paragraph>
<list type="unordered">
<listitem>
<paragraph role="listitem" id="par_id3156280">In paragraphs with justified alignment, the characters are stretched to flush the lines at the margins. In other languages the spaces between words are stretched.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3154909">Use the Delete key to delete a whole composite character. Use the Backspace key to delete the last part of the previous composite character.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3149809">Use the Right or Left Arrow key to jump to the next or previous whole composite character. To position the cursor into a composite character, use <switchinline select="sys"><caseinline select="MAC">Option</caseinline><defaultinline>Alt</defaultinline></switchinline>+Arrow key.</paragraph>
</listitem>
</list>

<section id="relatedtopics">
    <embed href="text/shared/guide/language_select.xhp#language_select"/>
    <paragraph role="paragraph" id="par_id3145786"><switchinline select="sys"><caseinline select="MAC">%PRODUCTNAME - Preferences</caseinline><defaultinline>Tools - Options</defaultinline></switchinline> - <link href="text/shared/optionen/01140000.xhp">Languages and Locales - General</link></paragraph>
    <paragraph role="paragraph" id="par_id3153770"><switchinline select="sys"><caseinline select="MAC">%PRODUCTNAME - Preferences</caseinline><defaultinline>Tools - Options</defaultinline></switchinline> - <link href="text/shared/optionen/01150300.xhp">Languages and Locales - Complex Text Layout</link></paragraph>
</section>
</body>
</helpdocument>
