1*cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?>
2*cdf0e10cSrcweir<helpdocument version="1.0">
3*cdf0e10cSrcweir
4*cdf0e10cSrcweir<!--
5*cdf0e10cSrcweir***********************************************************************
6*cdf0e10cSrcweir *
7*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
8*cdf0e10cSrcweir *
9*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates.
10*cdf0e10cSrcweir *
11*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite
12*cdf0e10cSrcweir *
13*cdf0e10cSrcweir * This file is part of OpenOffice.org.
14*cdf0e10cSrcweir *
15*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify
16*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3
17*cdf0e10cSrcweir * only, as published by the Free Software Foundation.
18*cdf0e10cSrcweir *
19*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful,
20*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of
21*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details
23*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code).
24*cdf0e10cSrcweir *
25*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License
26*cdf0e10cSrcweir * version 3 along with OpenOffice.org.  If not, see
27*cdf0e10cSrcweir * <http://www.openoffice.org/license.html>
28*cdf0e10cSrcweir * for a copy of the LGPLv3 License.
29*cdf0e10cSrcweir *
30*cdf0e10cSrcweir ************************************************************************
31*cdf0e10cSrcweir -->
32*cdf0e10cSrcweir
33*cdf0e10cSrcweir
34*cdf0e10cSrcweir<meta>
35*cdf0e10cSrcweir      <topic id="textsharedguidebreaking_linesxml" indexer="include" status="PUBLISH">
36*cdf0e10cSrcweir         <title xml-lang="en-US" id="tit">Inserting Line Breaks in Cells</title>
37*cdf0e10cSrcweir         <filename>/text/shared/guide/breaking_lines.xhp</filename>
38*cdf0e10cSrcweir      </topic>
39*cdf0e10cSrcweir   </meta>
40*cdf0e10cSrcweir   <body>
41*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id6305734"><bookmark_value>line breaks; in cells</bookmark_value>
42*cdf0e10cSrcweir      <bookmark_value>cells; line breaks</bookmark_value>
43*cdf0e10cSrcweir      <bookmark_value>text flow; in cells</bookmark_value>
44*cdf0e10cSrcweir      <bookmark_value>text breaks in cells</bookmark_value>
45*cdf0e10cSrcweir      <bookmark_value>wrapping text; in cells</bookmark_value>
46*cdf0e10cSrcweir      <bookmark_value>words; wrapping in cells</bookmark_value>
47*cdf0e10cSrcweir      <bookmark_value>automatic line breaks</bookmark_value>
48*cdf0e10cSrcweir      <bookmark_value>new lines in cells</bookmark_value>
49*cdf0e10cSrcweir      <bookmark_value>inserting;line breaks in cells</bookmark_value>
50*cdf0e10cSrcweir      <bookmark_value>tables;inserting line breaks</bookmark_value>
51*cdf0e10cSrcweir</bookmark>
52*cdf0e10cSrcweir<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>
53*cdf0e10cSrcweir</variable></paragraph>
54*cdf0e10cSrcweir      <paragraph xml-lang="en-US" id="par_idN106D9" role="heading" level="2" l10n="NEW">Inserting line breaks in $[officename] Calc spreadsheet cells</paragraph>
55*cdf0e10cSrcweir      <list type="ordered">
56*cdf0e10cSrcweir         <listitem>
57*cdf0e10cSrcweir            <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
58*cdf0e10cSrcweir</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+Enter keys. </paragraph>
59*cdf0e10cSrcweir            <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>
60*cdf0e10cSrcweir         </listitem>
61*cdf0e10cSrcweir      </list>
62*cdf0e10cSrcweir      <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>
63*cdf0e10cSrcweir      <paragraph xml-lang="en-US" id="par_idN106E6" role="heading" level="2" l10n="NEW">Formatting $[officename] Calc cells for automatic line wrapping</paragraph>
64*cdf0e10cSrcweir      <list type="ordered">
65*cdf0e10cSrcweir         <listitem>
66*cdf0e10cSrcweir            <paragraph xml-lang="en-US" id="par_idN106ED" role="paragraph" l10n="NEW">Select the cells for which you want an automatic line break.</paragraph>
67*cdf0e10cSrcweir         </listitem>
68*cdf0e10cSrcweir         <listitem>
69*cdf0e10cSrcweir            <paragraph xml-lang="en-US" id="par_idN106F1" role="paragraph" l10n="NEW">Choose <emph>Format - Cells - Alignment</emph>.</paragraph>
70*cdf0e10cSrcweir         </listitem>
71*cdf0e10cSrcweir         <listitem>
72*cdf0e10cSrcweir            <paragraph xml-lang="en-US" id="par_idN106F9" role="paragraph" l10n="CHG">Select <emph>Wrap text automatically</emph>.</paragraph>
73*cdf0e10cSrcweir         </listitem>
74*cdf0e10cSrcweir      </list>
75*cdf0e10cSrcweir      <paragraph xml-lang="en-US" id="par_idN10700" role="heading" level="2" l10n="NEW">Inserting line breaks in $[officename] Writer text document tables</paragraph>
76*cdf0e10cSrcweir      <list type="ordered">
77*cdf0e10cSrcweir         <listitem>
78*cdf0e10cSrcweir            <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>
79*cdf0e10cSrcweir         </listitem>
80*cdf0e10cSrcweir      </list>
81*cdf0e10cSrcweir      <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>
82*cdf0e10cSrcweir      <section id="relatedtopics">
83*cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_idN10718" role="paragraph" l10n="NEW"><link href="text/shared/01/05340300.xhp">Alignment</link></paragraph>
84*cdf0e10cSrcweir      </section>
85*cdf0e10cSrcweir   </body>
86*cdf0e10cSrcweir</helpdocument>