1cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?> 2*95b3667eSmseidel 3226a8927SAndrew Rist<!--*********************************************************** 4*95b3667eSmseidel * 5226a8927SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 6226a8927SAndrew Rist * or more contributor license agreements. See the NOTICE file 7226a8927SAndrew Rist * distributed with this work for additional information 8226a8927SAndrew Rist * regarding copyright ownership. The ASF licenses this file 9226a8927SAndrew Rist * to you under the Apache License, Version 2.0 (the 10226a8927SAndrew Rist * "License"); you may not use this file except in compliance 11226a8927SAndrew Rist * with the License. You may obtain a copy of the License at 12*95b3667eSmseidel * 13226a8927SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 14*95b3667eSmseidel * 15226a8927SAndrew Rist * Unless required by applicable law or agreed to in writing, 16226a8927SAndrew Rist * software distributed under the License is distributed on an 17226a8927SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 18226a8927SAndrew Rist * KIND, either express or implied. See the License for the 19226a8927SAndrew Rist * specific language governing permissions and limitations 20226a8927SAndrew Rist * under the License. 21*95b3667eSmseidel * 22226a8927SAndrew Rist ***********************************************************--> 23226a8927SAndrew Rist 24*95b3667eSmseidel<helpdocument version="1.0"> 25cdf0e10cSrcweir<meta> 26*95b3667eSmseidel<topic id="textsharedguidebreaking_linesxml" indexer="include" status="PUBLISH"> 27*95b3667eSmseidel<title xml-lang="en-US" id="tit">Inserting Line Breaks in Cells</title> 28*95b3667eSmseidel<filename>/text/shared/guide/breaking_lines.xhp</filename> 29*95b3667eSmseidel</topic> 30*95b3667eSmseidel</meta> 31*95b3667eSmseidel<body> 32cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id6305734"><bookmark_value>line breaks; in cells</bookmark_value> 33*95b3667eSmseidel<bookmark_value>cells; line breaks</bookmark_value> 34*95b3667eSmseidel<bookmark_value>text flow; in cells</bookmark_value> 35*95b3667eSmseidel<bookmark_value>text breaks in cells</bookmark_value> 36*95b3667eSmseidel<bookmark_value>wrapping text; in cells</bookmark_value> 37*95b3667eSmseidel<bookmark_value>words; wrapping in cells</bookmark_value> 38*95b3667eSmseidel<bookmark_value>automatic line breaks</bookmark_value> 39*95b3667eSmseidel<bookmark_value>new lines in cells</bookmark_value> 40*95b3667eSmseidel<bookmark_value>inserting;line breaks in cells</bookmark_value> 41*95b3667eSmseidel<bookmark_value>tables;inserting line breaks</bookmark_value> 42cdf0e10cSrcweir</bookmark> 43cdf0e10cSrcweir<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> 44cdf0e10cSrcweir</variable></paragraph> 45*95b3667eSmseidel<paragraph xml-lang="en-US" id="par_idN106D9" role="heading" level="2" l10n="NEW">Inserting line breaks in $[officename] Calc spreadsheet cells</paragraph> 46*95b3667eSmseidel<list type="ordered"> 47*95b3667eSmseidel<listitem> 48*95b3667eSmseidel<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 49cdf0e10cSrcweir</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+Enter keys. </paragraph> 50*95b3667eSmseidel<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> 51*95b3667eSmseidel</listitem> 52*95b3667eSmseidel</list> 53*95b3667eSmseidel<paragraph xml-lang="en-US" id="par_id0509200914160968" role="note" l10n="NEW">You can search for a newline character in the Find & 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> 54*95b3667eSmseidel<paragraph xml-lang="en-US" id="par_idN106E6" role="heading" level="2" l10n="NEW">Formatting $[officename] Calc cells for automatic line wrapping</paragraph> 55*95b3667eSmseidel<list type="ordered"> 56*95b3667eSmseidel<listitem> 57*95b3667eSmseidel<paragraph xml-lang="en-US" id="par_idN106ED" role="paragraph" l10n="NEW">Select the cells for which you want an automatic line break.</paragraph> 58*95b3667eSmseidel</listitem> 59*95b3667eSmseidel<listitem> 60*95b3667eSmseidel<paragraph xml-lang="en-US" id="par_idN106F1" role="paragraph" l10n="NEW">Choose <emph>Format - Cells - Alignment</emph>.</paragraph> 61*95b3667eSmseidel</listitem> 62*95b3667eSmseidel<listitem> 63*95b3667eSmseidel<paragraph xml-lang="en-US" id="par_idN106F9" role="paragraph" l10n="CHG">Select <emph>Wrap text automatically</emph>.</paragraph> 64*95b3667eSmseidel</listitem> 65*95b3667eSmseidel</list> 66*95b3667eSmseidel<paragraph xml-lang="en-US" id="par_idN10700" role="heading" level="2" l10n="NEW">Inserting line breaks in $[officename] Writer text document tables</paragraph> 67*95b3667eSmseidel<list type="ordered"> 68*95b3667eSmseidel<listitem> 69*95b3667eSmseidel<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> 70*95b3667eSmseidel</listitem> 71*95b3667eSmseidel</list> 72*95b3667eSmseidel<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> 73*95b3667eSmseidel<section id="relatedtopics"> 74*95b3667eSmseidel<paragraph xml-lang="en-US" id="par_idN10718" role="paragraph" l10n="NEW"><link href="text/shared/01/05340300.xhp">Alignment</link></paragraph> 75*95b3667eSmseidel</section> 76*95b3667eSmseidel</body> 77*95b3667eSmseidel</helpdocument> 78