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