1cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?>
2cdf0e10cSrcweir<helpdocument version="1.0">
3cdf0e10cSrcweir
4*226a8927SAndrew Rist<!--***********************************************************
5cdf0e10cSrcweir *
6*226a8927SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
7*226a8927SAndrew Rist * or more contributor license agreements.  See the NOTICE file
8*226a8927SAndrew Rist * distributed with this work for additional information
9*226a8927SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
10*226a8927SAndrew Rist * to you under the Apache License, Version 2.0 (the
11*226a8927SAndrew Rist * "License"); you may not use this file except in compliance
12*226a8927SAndrew Rist * with the License.  You may obtain a copy of the License at
13*226a8927SAndrew Rist *
14*226a8927SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
15*226a8927SAndrew Rist *
16*226a8927SAndrew Rist * Unless required by applicable law or agreed to in writing,
17*226a8927SAndrew Rist * software distributed under the License is distributed on an
18*226a8927SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
19*226a8927SAndrew Rist * KIND, either express or implied.  See the License for the
20*226a8927SAndrew Rist * specific language governing permissions and limitations
21*226a8927SAndrew Rist * under the License.
22*226a8927SAndrew Rist *
23*226a8927SAndrew Rist ***********************************************************-->
24*226a8927SAndrew Rist
25*226a8927SAndrew Rist
26cdf0e10cSrcweir
27cdf0e10cSrcweir
28cdf0e10cSrcweir<meta>
29cdf0e10cSrcweir      <topic id="textsharedguidebreaking_linesxml" indexer="include" status="PUBLISH">
30cdf0e10cSrcweir         <title xml-lang="en-US" id="tit">Inserting Line Breaks in Cells</title>
31cdf0e10cSrcweir         <filename>/text/shared/guide/breaking_lines.xhp</filename>
32cdf0e10cSrcweir      </topic>
33cdf0e10cSrcweir   </meta>
34cdf0e10cSrcweir   <body>
35cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id6305734"><bookmark_value>line breaks; in cells</bookmark_value>
36cdf0e10cSrcweir      <bookmark_value>cells; line breaks</bookmark_value>
37cdf0e10cSrcweir      <bookmark_value>text flow; in cells</bookmark_value>
38cdf0e10cSrcweir      <bookmark_value>text breaks in cells</bookmark_value>
39cdf0e10cSrcweir      <bookmark_value>wrapping text; in cells</bookmark_value>
40cdf0e10cSrcweir      <bookmark_value>words; wrapping in cells</bookmark_value>
41cdf0e10cSrcweir      <bookmark_value>automatic line breaks</bookmark_value>
42cdf0e10cSrcweir      <bookmark_value>new lines in cells</bookmark_value>
43cdf0e10cSrcweir      <bookmark_value>inserting;line breaks in cells</bookmark_value>
44cdf0e10cSrcweir      <bookmark_value>tables;inserting line breaks</bookmark_value>
45cdf0e10cSrcweir</bookmark>
46cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_idN106D5" role="heading" level="1" l10n="NEW"><variable id="breaking_lines"><link href="text/shared/guide/breaking_lines.xhp">Inserting Line Breaks in Cells</link>
47cdf0e10cSrcweir</variable></paragraph>
48cdf0e10cSrcweir      <paragraph xml-lang="en-US" id="par_idN106D9" role="heading" level="2" l10n="NEW">Inserting line breaks in $[officename] Calc spreadsheet cells</paragraph>
49cdf0e10cSrcweir      <list type="ordered">
50cdf0e10cSrcweir         <listitem>
51cdf0e10cSrcweir            <paragraph xml-lang="en-US" id="par_idN106E0" role="paragraph" l10n="NEW">To insert a line break in a spreadsheet cell, press the <switchinline select="sys"><caseinline select="MAC">Command
52cdf0e10cSrcweir</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+Enter keys. </paragraph>
53cdf0e10cSrcweir            <paragraph xml-lang="en-US" id="par_idN106E3" role="paragraph" l10n="NEW">This will work only with the text edit cursor inside the cell, not at the input line. So first double-click the cell, then single-click at the text position where you want the line break.</paragraph>
54cdf0e10cSrcweir         </listitem>
55cdf0e10cSrcweir      </list>
56cdf0e10cSrcweir      <paragraph xml-lang="en-US" id="par_id0509200914160968" role="note" l10n="NEW">You can search for a newline character in the Find &amp; Replace dialog by searching for \n as a regular expression. You can use the text function CHAR(10) to insert a newline character into a text formula.</paragraph>
57cdf0e10cSrcweir      <paragraph xml-lang="en-US" id="par_idN106E6" role="heading" level="2" l10n="NEW">Formatting $[officename] Calc cells for automatic line wrapping</paragraph>
58cdf0e10cSrcweir      <list type="ordered">
59cdf0e10cSrcweir         <listitem>
60cdf0e10cSrcweir            <paragraph xml-lang="en-US" id="par_idN106ED" role="paragraph" l10n="NEW">Select the cells for which you want an automatic line break.</paragraph>
61cdf0e10cSrcweir         </listitem>
62cdf0e10cSrcweir         <listitem>
63cdf0e10cSrcweir            <paragraph xml-lang="en-US" id="par_idN106F1" role="paragraph" l10n="NEW">Choose <emph>Format - Cells - Alignment</emph>.</paragraph>
64cdf0e10cSrcweir         </listitem>
65cdf0e10cSrcweir         <listitem>
66cdf0e10cSrcweir            <paragraph xml-lang="en-US" id="par_idN106F9" role="paragraph" l10n="CHG">Select <emph>Wrap text automatically</emph>.</paragraph>
67cdf0e10cSrcweir         </listitem>
68cdf0e10cSrcweir      </list>
69cdf0e10cSrcweir      <paragraph xml-lang="en-US" id="par_idN10700" role="heading" level="2" l10n="NEW">Inserting line breaks in $[officename] Writer text document tables</paragraph>
70cdf0e10cSrcweir      <list type="ordered">
71cdf0e10cSrcweir         <listitem>
72cdf0e10cSrcweir            <paragraph xml-lang="en-US" id="par_idN10707" role="paragraph" l10n="NEW">To insert a line break in a text document table cell, press the Enter key.</paragraph>
73cdf0e10cSrcweir         </listitem>
74cdf0e10cSrcweir      </list>
75cdf0e10cSrcweir      <paragraph xml-lang="en-US" id="par_idN1070A" role="paragraph" l10n="NEW">An automatic line break will be performed while you type across the end of each cell.</paragraph>
76cdf0e10cSrcweir      <section id="relatedtopics">
77cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_idN10718" role="paragraph" l10n="NEW"><link href="text/shared/01/05340300.xhp">Alignment</link></paragraph>
78cdf0e10cSrcweir      </section>
79cdf0e10cSrcweir   </body>
80cdf0e10cSrcweir</helpdocument>