AllLangHelp_swriter.mk                      |    1 
 source/text/shared/00/00040503.xhp          |    4 +
 source/text/swriter/01/06090000.xhp         |   73 ++++++++++++++--------------
 source/text/swriter/01/TableConvertMenu.xhp |   38 ++++++++++++++
 source/text/swriter/main0110.xhp            |   12 ----
 5 files changed, 83 insertions(+), 45 deletions(-)

New commits:
commit 3d76b0da48187a968762fb3c4b2cdd462abc7688
Author:     Olivier Hallot <olivier.hal...@libreoffice.org>
AuthorDate: Sat Sep 9 11:05:17 2023 -0300
Commit:     Olivier Hallot <olivier.hal...@libreoffice.org>
CommitDate: Sat Sep 9 16:19:24 2023 +0200

    tdf#155875 UI cmds Writer/Table in Help(41)
    
    + refactoring
    + Table - Convert menu (part 41)
    
    Change-Id: I9fd415b9b26b8cddde419c09ee7ef85f3ea77a6c
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/156779
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hal...@libreoffice.org>

diff --git a/AllLangHelp_swriter.mk b/AllLangHelp_swriter.mk
index 53ba85894b..3e4a774894 100644
--- a/AllLangHelp_swriter.mk
+++ b/AllLangHelp_swriter.mk
@@ -208,6 +208,7 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,swriter,\
     helpcontent2/source/text/swriter/01/spotlight_chars_df \
     helpcontent2/source/text/swriter/01/style_inspector \
     helpcontent2/source/text/swriter/01/TableAutoFitMenu \
+    helpcontent2/source/text/swriter/01/TableConvertMenu \
     helpcontent2/source/text/swriter/01/TableDeleteMenu \
     helpcontent2/source/text/swriter/01/TableInsertMenu \
     helpcontent2/source/text/swriter/01/TableNumberRecognition \
diff --git a/source/text/shared/00/00040503.xhp 
b/source/text/shared/00/00040503.xhp
index 8ca31469fc..db0ee4cd29 100644
--- a/source/text/shared/00/00040503.xhp
+++ b/source/text/shared/00/00040503.xhp
@@ -107,6 +107,10 @@
   <embed href="text/shared/00/00000004.xhp#from_menu_bar"/>
   <paragraph role="paragraph" id="par_id291694262754427">Choose 
<menuitem>Table - Row to Break Across Pages</menuitem>.</paragraph>
 </section>
+<section id="convert2text2table">
+  <embed href="text/shared/00/00000004.xhp#from_menu_bar"/>
+  <paragraph role="paragraph" id="par_id111694264220146">Choose 
<menuitem>Table - Convert</menuitem>.</paragraph>
+</section>
 
 <section id="alignment">
 <paragraph role="paragraph" id="par_id3154923"><switchinline 
select="appl"><caseinline select="CHART">Choose <emph>Format - Title - Main 
Title - Alignment</emph> tab.</caseinline><defaultinline>Choose <emph>Format - 
Cells - Alignment</emph> tab.</defaultinline></switchinline></paragraph>
diff --git a/source/text/swriter/01/06090000.xhp 
b/source/text/swriter/01/06090000.xhp
index 7af055816e..3b7c428bb3 100644
--- a/source/text/swriter/01/06090000.xhp
+++ b/source/text/swriter/01/06090000.xhp
@@ -22,65 +22,70 @@
 
 <meta>
 <topic id="textswriter0106090000xml" indexer="include">
-<title id="tit" xml-lang="en-US">Convert Text to Table</title>
+<title id="tit">Convert Text to Table</title>
 <filename>/text/swriter/01/06090000.xhp</filename>
 </topic>
 </meta>
 <body>
-<bookmark xml-lang="en-US" branch="index" 
id="bm_id3147402"><bookmark_value>converting; text, into tables</bookmark_value>
+<bookmark branch="index" id="bm_id3147402"><bookmark_value>converting; text, 
into tables</bookmark_value>
 <bookmark_value>text; converting to tables</bookmark_value>
 <bookmark_value>tables; converting to text</bookmark_value>
 </bookmark>
-<bookmark xml-lang="en-US" branch="hid/.uno:ConvertTableText" 
id="bm_id3342815" localize="false"/>
-<bookmark xml-lang="en-US" 
branch="hid/modules/swriter/ui/converttexttable/@@nowidget@@" 
id="bm_@@nowidget@@" localize="false"/>
-<bookmark xml-lang="en-US" 
branch="hid/modules/swriter/ui/converttexttable/ConvertTextTableDialog" 
id="bm_id3146323" localize="false"/>
-<h1 id="hd_id3147402"><link href="text/swriter/01/06090000.xhp">Convert Text 
to Table</link></h1>
-<paragraph role="paragraph" id="par_id3145829" xml-lang="en-US"><variable 
id="texttab"><ahelp hid=".uno:ConvertTableText">Converts the selected text into 
a table, or the selected table into text.</ahelp>
-</variable></paragraph>
+<bookmark branch="hid/modules/swriter/ui/converttexttable/@@nowidget@@" 
id="bm_@@nowidget@@" localize="false"/>
+<bookmark 
branch="hid/modules/swriter/ui/converttexttable/ConvertTextTableDialog" 
id="bm_id3146323" localize="false"/>
+<bookmark branch="hid/.uno:ConvertTableText" id="bm_id591694266827676" 
localize="false"/>
+<bookmark branch="hid/.uno:ConvertTextTable" id="bm_id592694266827676" 
localize="false"/>
+<section id="text2table">
+    <h1 id="hd_id3147402"><link href="text/swriter/01/06090000.xhp">Convert 
Text to Table</link></h1>
+    <paragraph role="paragraph" id="par_id3145829"><variable 
id="texttab"><ahelp hid=".uno:ConvertTableText">Converts the selected text into 
a table, or the selected table into text.</ahelp></variable></paragraph>
+</section>
+
 <section id="howtoget">
 <embed href="text/swriter/00/00000406.xhp#texttabelle"/>
 </section>
-<paragraph role="paragraph" id="par_id3150015" xml-lang="en-US">The options 
available in this dialog depending on the type of conversion.</paragraph>
+<paragraph role="paragraph" id="par_id3150015">The options available in this 
dialog depending on the type of conversion.</paragraph>
+
 <h2 id="hd_id3145247">Separate text at</h2>
-<paragraph role="paragraph" id="par_id3148388" xml-lang="en-US">A separator, 
such as a tab, marks the column boundaries in the selected text. Each paragraph 
in the selection is converted into a row in the table. Similarly, when you 
convert a table into text, the column markers are changed to the character that 
you specify, and each row is converted into a separate paragraph.</paragraph>
-<bookmark xml-lang="en-US" 
branch="hid/modules/swriter/ui/converttexttable/tabs" id="bm_id3166468" 
localize="false"/>
+<paragraph role="paragraph" id="par_id3148388">A separator, such as a tab, 
marks the column boundaries in the selected text. Each paragraph in the 
selection is converted into a row in the table. Similarly, when you convert a 
table into text, the column markers are changed to the character that you 
specify, and each row is converted into a separate paragraph.</paragraph>
+
+<bookmark branch="hid/modules/swriter/ui/converttexttable/tabs" 
id="bm_id3166468" localize="false"/>
 <h3 id="hd_id3150936">Tabs</h3>
-<paragraph role="paragraph" id="par_id3149027" xml-lang="en-US"><ahelp 
hid="modules/swriter/ui/converttexttable/tabs">Converts the text to a table 
using tabs as column markers.</ahelp></paragraph>
-<bookmark xml-lang="en-US" 
branch="hid/modules/swriter/ui/converttexttable/semicolons" id="bm_id3153722" 
localize="false"/>
+<paragraph role="paragraph" id="par_id3149027"><ahelp 
hid="modules/swriter/ui/converttexttable/tabs">Converts the text to a table 
using tabs as column markers.</ahelp></paragraph>
+<bookmark branch="hid/modules/swriter/ui/converttexttable/semicolons" 
id="bm_id3153722" localize="false"/>
 <h3 id="hd_id3147171">Semicolons</h3>
-<paragraph role="paragraph" id="par_id3147565" xml-lang="en-US"><ahelp 
hid="modules/swriter/ui/converttexttable/semicolons">Converts the text to a 
table using semi-colons (;) as column markers.</ahelp></paragraph>
-<bookmark xml-lang="en-US" 
branch="hid/modules/swriter/ui/converttexttable/paragraph" id="bm_id3154638" 
localize="false"/>
+<paragraph role="paragraph" id="par_id3147565"><ahelp 
hid="modules/swriter/ui/converttexttable/semicolons">Converts the text to a 
table using semi-colons (;) as column markers.</ahelp></paragraph>
+<bookmark branch="hid/modules/swriter/ui/converttexttable/paragraph" 
id="bm_id3154638" localize="false"/>
 <h3 id="hd_id3151273">Paragraph</h3>
-<paragraph role="paragraph" id="par_id3154645" xml-lang="en-US"><ahelp 
hid="modules/swriter/ui/converttexttable/paragraph">Converts the text to a 
table using paragraphs as column markers.</ahelp></paragraph>
-<bookmark xml-lang="en-US" 
branch="hid/modules/swriter/ui/converttexttable/other" id="bm_id3153151" 
localize="false"/>
+<paragraph role="paragraph" id="par_id3154645"><ahelp 
hid="modules/swriter/ui/converttexttable/paragraph">Converts the text to a 
table using paragraphs as column markers.</ahelp></paragraph>
+<bookmark branch="hid/modules/swriter/ui/converttexttable/other" 
id="bm_id3153151" localize="false"/>
 <h3 id="hd_id3151184">Other:</h3>
-<paragraph role="paragraph" id="par_id3150256" xml-lang="en-US"><ahelp 
hid="modules/swriter/ui/converttexttable/other">Converts the text to a table 
using the character that you type in the box as a column 
marker.</ahelp></paragraph>
-<bookmark xml-lang="en-US" 
branch="hid/modules/swriter/ui/converttexttable/othered" id="bm_id3151168" 
localize="false"/>
+<paragraph role="paragraph" id="par_id3150256"><ahelp 
hid="modules/swriter/ui/converttexttable/other">Converts the text to a table 
using the character that you type in the box as a column 
marker.</ahelp></paragraph>
+<bookmark branch="hid/modules/swriter/ui/converttexttable/othered" 
id="bm_id3151168" localize="false"/>
 <h3 id="hd_id3149295">Text box</h3>
-<paragraph role="paragraph" id="par_id3151175" xml-lang="en-US"><ahelp 
hid="modules/swriter/ui/converttexttable/othered">Type the character that you 
want to use as a column marker.</ahelp></paragraph>
-<bookmark xml-lang="en-US" 
branch="hid/modules/swriter/ui/converttexttable/keepcolumn" id="bm_id3154273" 
localize="false"/>
+<paragraph role="paragraph" id="par_id3151175"><ahelp 
hid="modules/swriter/ui/converttexttable/othered">Type the character that you 
want to use as a column marker.</ahelp></paragraph>
+<bookmark branch="hid/modules/swriter/ui/converttexttable/keepcolumn" 
id="bm_id3154273" localize="false"/>
 <h3 id="hd_id3147508">Equal width for all columns</h3>
-<paragraph role="paragraph" id="par_id3154278" xml-lang="en-US"><ahelp 
hid="modules/swriter/ui/converttexttable/keepcolumn">Creates columns of equal 
width, regardless of the position of the column marker.</ahelp></paragraph>
+<paragraph role="paragraph" id="par_id3154278"><ahelp 
hid="modules/swriter/ui/converttexttable/keepcolumn">Creates columns of equal 
width, regardless of the position of the column marker.</ahelp></paragraph>
 
-<bookmark xml-lang="en-US" 
branch="hid/modules/swriter/ui/converttexttable/autofmt" id="bm_id3152939" 
localize="false"/>
+<bookmark branch="hid/modules/swriter/ui/converttexttable/autofmt" 
id="bm_id3152939" localize="false"/>
 <h2 id="hd_id3150703">AutoFormat</h2>
-<paragraph role="paragraph" id="par_id31542781" xml-lang="en-US"><ahelp 
hid=".">Opens the <emph>AutoFormat</emph> dialog, where you can select a 
predefined layout for table.</ahelp></paragraph>
+<paragraph role="paragraph" id="par_id31542781"><ahelp hid=".">Opens the 
<emph>AutoFormat</emph> dialog, where you can select a predefined layout for 
table.</ahelp></paragraph>
 
 <h2 id="hd_id3154097">Options</h2>
-<bookmark xml-lang="en-US" 
branch="hid/modules/swriter/ui/converttexttable/headingcb" id="bm_id3153528" 
localize="false"/>
+<bookmark branch="hid/modules/swriter/ui/converttexttable/headingcb" 
id="bm_id3153528" localize="false"/>
 <h3 id="hd_id3149802">Heading</h3>
-<paragraph role="paragraph" id="par_id3153535" xml-lang="en-US"><ahelp 
hid="modules/swriter/ui/converttexttable/headingcb">Formats the first row of 
the new table as a heading.</ahelp></paragraph>
-<bookmark xml-lang="en-US" 
branch="hid/modules/swriter/ui/converttexttable/repeatheading" 
id="bm_id3152962" localize="false"/>
+<paragraph role="paragraph" id="par_id3153535"><ahelp 
hid="modules/swriter/ui/converttexttable/headingcb">Formats the first row of 
the new table as a heading.</ahelp></paragraph>
+<bookmark branch="hid/modules/swriter/ui/converttexttable/repeatheading" 
id="bm_id3152962" localize="false"/>
 <h3 id="hd_id3150359">Repeat heading</h3>
-<paragraph role="paragraph" id="par_id3150973" xml-lang="en-US"><ahelp 
hid="modules/swriter/ui/converttexttable/repeatheading">Repeats the table 
header on each page that the table spans.</ahelp></paragraph>
-<bookmark xml-lang="en-US" 
branch="hid/modules/swriter/ui/converttexttable/repeatheaderssb" 
id="bm_id6823328" localize="false"/>
+<paragraph role="paragraph" id="par_id3150973"><ahelp 
hid="modules/swriter/ui/converttexttable/repeatheading">Repeats the table 
header on each page that the table spans.</ahelp></paragraph>
+<bookmark branch="hid/modules/swriter/ui/converttexttable/repeatheaderssb" 
id="bm_id6823328" localize="false"/>
 <h3 id="hd_id5971251">The first ... rows</h3>
-<paragraph role="paragraph" id="par_id4136478" xml-lang="en-US"><ahelp 
hid=".">Repeats the first n rows as a header.</ahelp></paragraph>
-<bookmark xml-lang="en-US" 
branch="hid/modules/swriter/ui/converttexttable/dontsplitcb" id="bm_id3147524" 
localize="false"/>
+<paragraph role="paragraph" id="par_id4136478"><ahelp hid=".">Repeats the 
first n rows as a header.</ahelp></paragraph>
+<bookmark branch="hid/modules/swriter/ui/converttexttable/dontsplitcb" 
id="bm_id3147524" localize="false"/>
 <h3 id="hd_id3151315">Don't split table</h3>
-<paragraph role="paragraph" id="par_id3147530" xml-lang="en-US"><ahelp 
hid="modules/swriter/ui/converttexttable/dontsplitcb">Does not divide the table 
across pages.</ahelp></paragraph>
-<bookmark xml-lang="en-US" 
branch="hid/modules/swriter/ui/converttexttable/bordercb" id="bm_id3149123" 
localize="false"/>
+<paragraph role="paragraph" id="par_id3147530"><ahelp 
hid="modules/swriter/ui/converttexttable/dontsplitcb">Does not divide the table 
across pages.</ahelp></paragraph>
+<bookmark branch="hid/modules/swriter/ui/converttexttable/bordercb" 
id="bm_id3149123" localize="false"/>
 <h3 id="hd_id3154472">Border</h3>
-<paragraph role="paragraph" id="par_id3154570" xml-lang="en-US"><ahelp 
hid="modules/swriter/ui/converttexttable/bordercb">Adds a border to the table 
and the table cells.</ahelp></paragraph>
+<paragraph role="paragraph" id="par_id3154570"><ahelp 
hid="modules/swriter/ui/converttexttable/bordercb">Adds a border to the table 
and the table cells.</ahelp></paragraph>
 </body>
 </helpdocument>
diff --git a/source/text/swriter/01/TableConvertMenu.xhp 
b/source/text/swriter/01/TableConvertMenu.xhp
new file mode 100644
index 0000000000..4df7f9801e
--- /dev/null
+++ b/source/text/swriter/01/TableConvertMenu.xhp
@@ -0,0 +1,38 @@
+<?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/.
+    *
+    -->
+
+    <meta>
+        <topic id="textswriter01TableConvertMenuxhp" indexer="include" 
status="PUBLISH">
+            <title id="tit">Convert</title>
+            <filename>/text/swriter/01/TableConvertMenu.xhp</filename>
+        </topic>
+    </meta>
+<body>
+<bookmark id="bm_id521694263931321" branch="hid/.uno:TableConvertMenu" 
localize="false"/>
+<section id="convertmenu">
+    <h1 id="hd_id241694263931322"><variable id="h1"><link 
href="text/swriter/01/TableConvertMenu.xhp">Convert</link></variable></h1>
+    <paragraph role="paragraph" id="par_id881605975490097">Opens a submenu to 
convert a text to a table or a table to text.</paragraph>
+</section>
+<section id="howtoget">
+    <embed href="text/shared/00/00040503.xhp#convert2text2table"/>
+</section>
+
+<h2 id="hd_id451694267130119"><link 
href="text/swriter/01/06090000.xhp">Convert Text to Table</link></h2>
+<paragraph role="paragraph" id="par_id591694267383708">Opens <link 
href="text/swriter/01/06090000.xhp">a dialog</link> where you can convert the 
selected text to a table.</paragraph>
+<h2 id="hd_id351694267135190"><link 
href="text/swriter/01/06090000.xhp">Convert Table to Text</link></h2>
+<paragraph role="paragraph" id="par_id371694267414230">Opens <link 
href="text/swriter/01/06090000.xhp">a dialog</link> where you can convert the 
current table to text.</paragraph>
+
+<section id="relatedtopics">
+    <embed href="text/swriter/main0110.xhp#h1"/>
+</section>
+</body>
+</helpdocument>
+
diff --git a/source/text/swriter/main0110.xhp b/source/text/swriter/main0110.xhp
index bf12966e18..f63a6b6897 100644
--- a/source/text/swriter/main0110.xhp
+++ b/source/text/swriter/main0110.xhp
@@ -65,17 +65,7 @@
 
 <embed href="text/swriter/01/RowSplit.xhp#rowsplit"/>
 
-<bookmark branch="hid/.uno:TableConvertMenu" id="bm_id481690375592945" 
localize="false"/>
-<h2 id="par_idN10603">Convert</h2>
-<bookmark branch="hid/.uno:ConvertTextToTable" id="bm_id1469161" 
localize="false"/>
-<paragraph role="paragraph" id="par_id321605979158760" 
localize="false"><embedvar 
href="text/swriter/main0110.xhp#submenu"/></paragraph>
-
-<h3 id="par_idN1074C">Text to Table</h3>
-<paragraph id="par_idN1074F" role="paragraph"><ahelp hid="." 
visibility="hidden">Opens a dialog where you can convert the selected text to a 
table.</ahelp> Opens <link href="text/swriter/01/06090000.xhp">a dialog</link> 
where you can convert the selected text to a table.</paragraph>
-<bookmark branch="hid/.uno:ConvertTableToText" id="bm_id3982665" 
localize="false"/>
-
-<h3 id="par_idN10763">Table to Text</h3>
-<paragraph id="par_idN10766" role="paragraph"><ahelp hid="." 
visibility="hidden">Opens a dialog where you can convert the current table to 
text.</ahelp> Opens <link href="text/swriter/01/06090000.xhp">a dialog</link> 
where you can convert the current table to text.</paragraph>
+<embed href="text/swriter/01/TableConvertMenu.xhp#convertmenu"/>
 
 <h2 id="par_idN1092F">Edit Formula</h2>
 <paragraph id="par_idN10933" role="paragraph">Opens the <link 
href="text/swriter/main0214.xhp">Formula bar</link> to enter or edit a 
formula.</paragraph>

Reply via email to