From 44783fdc08c17e0103c79ad4471a1c3ddc33be29 Mon Sep 17 00:00:00 2001 From: Olivier Hallot Date: Mon, 21 Dec 2020 16:13:10 -0300 Subject: 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 --- source/text/scalc/guide/text_wrap.xhp | 23 +++++++-------- source/text/shared/guide/breaking_lines.xhp | 45 ++++++++++++----------------- 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 @@ - - + - - + + Writing Multi-line Text @@ -33,24 +32,22 @@ breaks in cells multi-line text in cells -Writing Multi-line Text - +

Writing Multi-line Text +

- - -Pressing the CommandCtrl+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. - - +Pressing the CommandCtrl+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. If you want the text to automatically break at the right border of the cell, proceed as follows: Select all the cells where you want the text to break at the right border. -In Format - Cells - Alignment, mark the Wrap text automatically option and click OK. + In Format - Cells - Alignment, mark the Wrap text automatically option and click OK. -For automatic wrapping in XLS files, the rows in question should be set to Optimal Height. +
+For automatic wrapping in XLS files, the rows in question should be set to Optimal Height. +
Format - Cells 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 @@ - + - - + + Inserting Line Breaks in Cells @@ -38,39 +38,30 @@ inserting;line breaks in cells tables;inserting line breaks -Inserting Line Breaks in Cells - - Inserting line breaks in $[officename] Calc spreadsheet cells - - - To insert a line break in a spreadsheet cell, press the Command -Ctrl+Enter keys. - 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. - - - 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. - Formatting $[officename] Calc cells for automatic line wrapping +

Inserting Line Breaks in Cells +

+

Inserting line breaks in $[officename] Calc spreadsheet cells

+To insert a line break in a spreadsheet cell, press the CommandCtrl+Enter keys. +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. +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. +

Formatting $[officename] Calc cells for automatic line wrapping

Select the cells for which you want an automatic line break. - Choose Format - Cells - Alignment. + Choose Format - Cells - Alignment. Select Wrap text automatically. - Inserting line breaks in $[officename] Writer text document tables - - - To insert a line break in a text document table cell, press the Enter key. - - - An automatic line break will be performed while you type across the end of each cell. -
+

Inserting line breaks in $[officename] Writer text document tables

+ To insert a line break in a text document table cell, press the Enter key. + An automatic line break will be performed while you type across the end of each cell. +
Alignment -
- - \ No newline at end of file +
+ +
-- cgit