1<?xml version="1.0" encoding="UTF-8"?>
2
3<!--***********************************************************
4 *
5 * Licensed to the Apache Software Foundation (ASF) under one
6 * or more contributor license agreements.  See the NOTICE file
7 * distributed with this work for additional information
8 * regarding copyright ownership.  The ASF licenses this file
9 * to you under the Apache License, Version 2.0 (the
10 * "License"); you may not use this file except in compliance
11 * with the License.  You may obtain a copy of the License at
12 *
13 *   http://www.apache.org/licenses/LICENSE-2.0
14 *
15 * Unless required by applicable law or agreed to in writing,
16 * software distributed under the License is distributed on an
17 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
18 * KIND, either express or implied.  See the License for the
19 * specific language governing permissions and limitations
20 * under the License.
21 *
22 ***********************************************************-->
23
24<helpdocument version="1.0">
25<meta>
26<topic id="textscalcguidetext_wrapxml" indexer="include" status="PUBLISH">
27<title id="tit" xml-lang="en-US">Writing Multi-line Text</title>
28<filename>/text/scalc/guide/text_wrap.xhp</filename>
29</topic>
30</meta>
31<body>
32<bookmark xml-lang="en-US" branch="index" id="bm_id3154346">
33<bookmark_value>text in cells; multi-line</bookmark_value>
34<bookmark_value>cells; text breaks</bookmark_value>
35<bookmark_value>breaks in cells</bookmark_value>
36<bookmark_value>multi-line text in cells</bookmark_value>
37</bookmark>
38<paragraph role="heading" id="hd_id3154346" xml-lang="en-US" level="1" l10n="U"><variable id="text_wrap"><link href="text/scalc/guide/text_wrap.xhp" name="Writing Multi-line Text">Writing Multi-line Text</link>
39</variable></paragraph>
40<section id="wraptext">
41<list type="ordered">
42<listitem>
43<paragraph role="listitem" id="par_id3156280" xml-lang="en-US" l10n="U">Pressing the <switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+Enter keys inserts a manual line break. This shortcut only works directly in the cell, not in the input line.</paragraph>
44</listitem>
45</list>
46<paragraph role="paragraph" id="par_id3153142" xml-lang="en-US" l10n="U">If you want the text to automatically break at the right border of the cell, proceed as follows:</paragraph>
47<list type="ordered">
48<listitem>
49<paragraph role="listitem" id="par_id3153951" xml-lang="en-US" l10n="U">Select all the cells where you want the text to break at the right border.</paragraph>
50</listitem>
51<listitem>
52<paragraph role="listitem" id="par_id3148575" xml-lang="en-US" l10n="CHG">In <emph>Format - Cells - Alignment</emph>, mark the <emph>Wrap text automatically</emph> option and click OK.</paragraph>
53</listitem>
54</list>
55</section>
56<section id="relatedtopics">
57<paragraph role="paragraph" id="par_id3145799" xml-lang="en-US" l10n="U"><link href="text/scalc/01/05020000.xhp" name="Format - Cell">Format - Cell</link></paragraph>
58</section>
59</body>
60</helpdocument>
61