summaryrefslogtreecommitdiff
path: root/source/text/scalc/guide/text_wrap.xhp
blob: d09c52b17633ed4d92f64b4269cb1508b802adcf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<?xml version="1.0" encoding="UTF-8"?>

<helpdocument version="1.0">
	
<!--
 * 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 .
 -->
 
	
<meta>
<topic id="textscalcguidetext_wrapxml" indexer="include" status="PUBLISH">
<title id="tit" xml-lang="en-US">Writing Multi-line Text</title>
<filename>/text/scalc/guide/text_wrap.xhp</filename>
</topic>
</meta>
<body>
<bookmark xml-lang="en-US" branch="index" id="bm_id3154346"><bookmark_value>text in cells; multi-line</bookmark_value>
<bookmark_value>cells; text breaks</bookmark_value>
<bookmark_value>breaks in cells</bookmark_value>
<bookmark_value>multi-line text in cells</bookmark_value>
</bookmark>
<paragraph role="heading" id="hd_id3154346" xml-lang="en-US" level="1"><variable id="text_wrap"><link href="text/scalc/guide/text_wrap.xhp" name="Writing Multi-line Text">Writing Multi-line Text</link>
</variable></paragraph>
<section id="wraptext">
<list type="ordered">
<listitem>
<paragraph role="listitem" id="par_id3156280" xml-lang="en-US">Pressing the <switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+Enter keys inserts a manual line break. This shortcut works directly in the cell or in the input line. The input line can be expanded to the multi-line by the Down arrow button on the right.</paragraph>
</listitem>
</list>
<paragraph role="paragraph" id="par_id3153142" xml-lang="en-US">If you want the text to automatically break at the right border of the cell, proceed as follows:</paragraph>
<list type="ordered">
<listitem>
<paragraph role="listitem" id="par_id3153951" xml-lang="en-US">Select all the cells where you want the text to break at the right border.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3148575" xml-lang="en-US">In <emph>Format - Cells - Alignment</emph>, mark the <emph>Wrap text automatically</emph> option and click OK.</paragraph>
</listitem>
</list>
<note id="note_xls_optimal_height">For automatic wrapping in XLS files, the rows in question should be set to Optimal Height.</note>
</section>
<section id="relatedtopics">
<paragraph role="paragraph" id="par_id3145799" xml-lang="en-US"><link href="text/scalc/01/05020000.xhp" name="Format - Cells">Format - Cells</link></paragraph>
</section>
</body>
</helpdocument>