summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@libreoffice.org>2020-12-21 16:13:10 -0300
committerAdolfo Jayme Barrientos <fitojb@ubuntu.com>2020-12-23 08:50:08 +0100
commit44783fdc08c17e0103c79ad4471a1c3ddc33be29 (patch)
tree98ba83e0ca6427cb7a89dec5087b7a79cfd09b82
parent83a954cd538bf5b56292067c3897971f685afb04 (diff)
Fix a "D'oh! you found a bug"
+ Some refactor on the pages. Change-Id: Iec37d94dfa40292eeaae3dae3cf6ab1189fa8d2a Reviewed-on: https://gerrit.libreoffice.org/c/help/+/108009 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
-rw-r--r--source/text/scalc/guide/text_wrap.xhp23
-rw-r--r--source/text/shared/guide/breaking_lines.xhp45
2 files changed, 28 insertions, 40 deletions
diff --git a/source/text/scalc/guide/text_wrap.xhp b/source/text/scalc/guide/text_wrap.xhp
index d09c52b176..2bc0603e7a 100644
--- a/source/text/scalc/guide/text_wrap.xhp
+++ b/source/text/scalc/guide/text_wrap.xhp
@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
-
<helpdocument version="1.0">
-
+
<!--
* This file is part of the LibreOffice project.
*
@@ -19,8 +18,8 @@
* 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="textscalcguidetext_wrapxml" indexer="include" status="PUBLISH">
<title id="tit" xml-lang="en-US">Writing Multi-line Text</title>
@@ -33,24 +32,22 @@
<bookmark_value>breaks in cells</bookmark_value>
<bookmark_value>multi-line text in cells</bookmark_value>
</bookmark>
-<paragraph role="heading" id="hd_id3154346" xml-lang="en-US" level="1"><variable id="text_wrap"><link href="text/scalc/guide/text_wrap.xhp" name="Writing Multi-line Text">Writing Multi-line Text</link>
-</variable></paragraph>
+<h1 id="hd_id3154346"><variable id="text_wrap"><link href="text/scalc/guide/text_wrap.xhp" name="Writing Multi-line Text">Writing Multi-line Text</link>
+</variable></h1>
<section id="wraptext">
-<list type="ordered">
-<listitem>
-<paragraph role="listitem" id="par_id3156280" xml-lang="en-US">Pressing the <switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+Enter keys inserts a manual line break. This shortcut works directly in the cell or in the input line. The input line can be expanded to the multi-line by the Down arrow button on the right.</paragraph>
-</listitem>
-</list>
+<paragraph role="listitem" id="par_id3156280" xml-lang="en-US">Pressing the <switchinline select="sys"><caseinline select="MAC"><keycode>Command</keycode></caseinline><defaultinline><keycode>Ctrl</keycode></defaultinline></switchinline>+Enter keys inserts a manual line break. This shortcut works directly in the cell or in the input line. The input line can be expanded to the multi-line by the Down arrow button on the right.</paragraph>
<paragraph role="paragraph" id="par_id3153142" xml-lang="en-US">If you want the text to automatically break at the right border of the cell, proceed as follows:</paragraph>
<list type="ordered">
<listitem>
<paragraph role="listitem" id="par_id3153951" xml-lang="en-US">Select all the cells where you want the text to break at the right border.</paragraph>
</listitem>
<listitem>
-<paragraph role="listitem" id="par_id3148575" xml-lang="en-US">In <emph>Format - Cells - Alignment</emph>, mark the <emph>Wrap text automatically</emph> option and click OK.</paragraph>
+ <paragraph role="listitem" id="par_id3148575" xml-lang="en-US">In <menuitem>Format - Cells - Alignment</menuitem>, mark the <emph>Wrap text automatically</emph> option and click OK.</paragraph>
</listitem>
</list>
-<note id="note_xls_optimal_height">For automatic wrapping in XLS files, the rows in question should be set to Optimal Height.</note>
+<section id="note_xls_optimal_height">
+<note id="par_id201608575657740">For automatic wrapping in XLS files, the rows in question should be set to Optimal Height.</note>
+</section>
</section>
<section id="relatedtopics">
<paragraph role="paragraph" id="par_id3145799" xml-lang="en-US"><link href="text/scalc/01/05020000.xhp" name="Format - Cells">Format - Cells</link></paragraph>
diff --git a/source/text/shared/guide/breaking_lines.xhp b/source/text/shared/guide/breaking_lines.xhp
index 81fd3f9e74..e98110b429 100644
--- a/source/text/shared/guide/breaking_lines.xhp
+++ b/source/text/shared/guide/breaking_lines.xhp
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<helpdocument version="1.0">
-
+
<!--
* This file is part of the LibreOffice project.
*
@@ -18,8 +18,8 @@
* 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>
@@ -38,39 +38,30 @@
<bookmark_value>inserting;line breaks in cells</bookmark_value>
<bookmark_value>tables;inserting line breaks</bookmark_value>
</bookmark>
-<paragraph xml-lang="en-US" id="par_idN106D5" role="heading" level="1"><variable id="breaking_lines"><link href="text/shared/guide/breaking_lines.xhp">Inserting Line Breaks in Cells</link>
-</variable></paragraph>
- <paragraph xml-lang="en-US" id="par_idN106D9" role="heading" level="2">Inserting line breaks in $[officename] Calc spreadsheet cells</paragraph>
- <list type="ordered">
- <listitem>
- <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">Command
-</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+Enter 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>
- </listitem>
- </list>
- <paragraph xml-lang="en-US" id="par_id0509200914160968" role="note">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>
- <paragraph xml-lang="en-US" id="par_idN106E6" role="heading" level="2">Formatting $[officename] Calc cells for automatic line wrapping</paragraph>
+<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 &amp; 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 <emph>Format - Cells - Alignment</emph>.</paragraph>
+ <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>
- <paragraph xml-lang="en-US" id="par_idN10700" role="heading" level="2">Inserting line breaks in $[officename] Writer text document tables</paragraph>
- <list type="ordered">
- <listitem>
- <paragraph xml-lang="en-US" id="par_idN10707" role="paragraph">To insert a line break in a text document table cell, press the Enter key.</paragraph>
- </listitem>
- </list>
- <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">
+<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> \ No newline at end of file
+ </section>
+</body>
+</helpdocument>