diff options
Diffstat (limited to 'helpcontent2/source/text/shared/guide/breaking_lines.xhp')
-rw-r--r-- | helpcontent2/source/text/shared/guide/breaking_lines.xhp | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/helpcontent2/source/text/shared/guide/breaking_lines.xhp b/helpcontent2/source/text/shared/guide/breaking_lines.xhp new file mode 100644 index 000000000..e98110b42 --- /dev/null +++ b/helpcontent2/source/text/shared/guide/breaking_lines.xhp @@ -0,0 +1,67 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + + +<meta> + <topic id="textsharedguidebreaking_linesxml" indexer="include" status="PUBLISH"> + <title xml-lang="en-US" id="tit">Inserting Line Breaks in Cells</title> + <filename>/text/shared/guide/breaking_lines.xhp</filename> + </topic> + </meta> + <body> +<bookmark xml-lang="en-US" branch="index" id="bm_id6305734"><bookmark_value>line breaks; in cells</bookmark_value> + <bookmark_value>cells; line breaks</bookmark_value> + <bookmark_value>text flow; in cells</bookmark_value> + <bookmark_value>text breaks in cells</bookmark_value> + <bookmark_value>wrapping text; in cells</bookmark_value> + <bookmark_value>words; wrapping in cells</bookmark_value> + <bookmark_value>automatic line breaks</bookmark_value> + <bookmark_value>new lines in cells</bookmark_value> + <bookmark_value>inserting;line breaks in cells</bookmark_value> + <bookmark_value>tables;inserting line breaks</bookmark_value> +</bookmark> +<h1 id="par_idN106D5"><variable id="breaking_lines"><link href="text/shared/guide/breaking_lines.xhp">Inserting Line Breaks in Cells</link> +</variable></h1> +<h2 id="par_idN106D9">Inserting line breaks in $[officename] Calc spreadsheet cells</h2> +<paragraph xml-lang="en-US" id="par_idN106E0" role="paragraph">To insert a line break in a spreadsheet cell, press the <switchinline select="sys"><caseinline select="MAC"><keycode>Command</keycode></caseinline><defaultinline><keycode>Ctrl</keycode></defaultinline></switchinline>+<keycode>Enter</keycode> keys. </paragraph> +<paragraph xml-lang="en-US" id="par_idN106E3" role="paragraph">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> +<note id="par_id0509200914160968">You can search for a newline character in the Find & Replace dialog by searching for <literal>\n</literal> as a regular expression. You can use the text function CHAR(10) to insert a newline character into a text formula.</note> +<h2 id="par_idN106E6">Formatting $[officename] Calc cells for automatic line wrapping</h2> + <list type="ordered"> + <listitem> + <paragraph xml-lang="en-US" id="par_idN106ED" role="paragraph">Select the cells for which you want an automatic line break.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_idN106F1" role="paragraph">Choose <menuitem>Format - Cells - Alignment</menuitem>.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_idN106F9" role="paragraph">Select <emph>Wrap text automatically</emph>.</paragraph> + <embed href="text/scalc/guide/text_wrap.xhp#note_xls_optimal_height"/> + </listitem> + </list> +<h2 id="par_idN10700">Inserting line breaks in $[officename] Writer text document tables</h2> + <paragraph xml-lang="en-US" id="par_idN10707" role="paragraph">To insert a line break in a text document table cell, press the <keycode>Enter</keycode> key.</paragraph> + <paragraph xml-lang="en-US" id="par_idN1070A" role="paragraph">An automatic line break will be performed while you type across the end of each cell.</paragraph> + <section id="relatedtopics"> + <paragraph xml-lang="en-US" id="par_idN10718" role="paragraph"><link href="text/shared/01/05340300.xhp">Alignment</link></paragraph> + </section> +</body> +</helpdocument> |