1cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?>
2cdf0e10cSrcweir
3ce44d6c1SAndrew Rist<!--***********************************************************
438deccd0Smseidel *
5ce44d6c1SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
6ce44d6c1SAndrew Rist * or more contributor license agreements.  See the NOTICE file
7ce44d6c1SAndrew Rist * distributed with this work for additional information
8ce44d6c1SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
9ce44d6c1SAndrew Rist * to you under the Apache License, Version 2.0 (the
10ce44d6c1SAndrew Rist * "License"); you may not use this file except in compliance
11ce44d6c1SAndrew Rist * with the License.  You may obtain a copy of the License at
1238deccd0Smseidel *
13ce44d6c1SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
1438deccd0Smseidel *
15ce44d6c1SAndrew Rist * Unless required by applicable law or agreed to in writing,
16ce44d6c1SAndrew Rist * software distributed under the License is distributed on an
17ce44d6c1SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
18ce44d6c1SAndrew Rist * KIND, either express or implied.  See the License for the
19ce44d6c1SAndrew Rist * specific language governing permissions and limitations
20ce44d6c1SAndrew Rist * under the License.
2138deccd0Smseidel *
22ce44d6c1SAndrew Rist ***********************************************************-->
23ce44d6c1SAndrew Rist
2438deccd0Smseidel<helpdocument version="1.0">
25cdf0e10cSrcweir<meta>
26cdf0e10cSrcweir<topic id="textscalcguidetext_wrapxml" indexer="include" status="PUBLISH">
27cdf0e10cSrcweir<title id="tit" xml-lang="en-US">Writing Multi-line Text</title>
28cdf0e10cSrcweir<filename>/text/scalc/guide/text_wrap.xhp</filename>
29cdf0e10cSrcweir</topic>
30cdf0e10cSrcweir</meta>
31cdf0e10cSrcweir<body>
3254be4daeSmseidel<bookmark xml-lang="en-US" branch="index" id="bm_id3154346">
3354be4daeSmseidel<bookmark_value>text in cells; multi-line</bookmark_value>
34cdf0e10cSrcweir<bookmark_value>cells; text breaks</bookmark_value>
35cdf0e10cSrcweir<bookmark_value>breaks in cells</bookmark_value>
36cdf0e10cSrcweir<bookmark_value>multi-line text in cells</bookmark_value>
37cdf0e10cSrcweir</bookmark>
38*4702cb60Smseidel<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>
39cdf0e10cSrcweir</variable></paragraph>
40cdf0e10cSrcweir<section id="wraptext">
41cdf0e10cSrcweir<list type="ordered">
42cdf0e10cSrcweir<listitem>
43*4702cb60Smseidel<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>
44cdf0e10cSrcweir</listitem>
45cdf0e10cSrcweir</list>
46*4702cb60Smseidel<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>
47cdf0e10cSrcweir<list type="ordered">
48cdf0e10cSrcweir<listitem>
49*4702cb60Smseidel<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>
50cdf0e10cSrcweir</listitem>
51cdf0e10cSrcweir<listitem>
52*4702cb60Smseidel<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>
53cdf0e10cSrcweir</listitem>
54cdf0e10cSrcweir</list>
55cdf0e10cSrcweir</section>
56cdf0e10cSrcweir<section id="relatedtopics">
57*4702cb60Smseidel<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>
58cdf0e10cSrcweir</section>
59cdf0e10cSrcweir</body>
60cdf0e10cSrcweir</helpdocument>
61