AllLangHelp_swriter.mk                            |    1 
 source/text/shared/00/00040503.xhp                |   19 ------
 source/text/swriter/00/00000405.xhp               |   23 -------
 source/text/swriter/00/table_menu.xhp             |   67 ++++++++++++++++++++++
 source/text/swriter/01/05190000.xhp               |    2 
 source/text/swriter/01/05200000.xhp               |    2 
 source/text/swriter/01/HeadingRowsRepeat.xhp      |    2 
 source/text/swriter/01/RowSplit.xhp               |    2 
 source/text/swriter/01/TableConvertMenu.xhp       |    2 
 source/text/swriter/01/TableNumberRecognition.xhp |    2 
 10 files changed, 74 insertions(+), 48 deletions(-)

New commits:
commit f419319c17c61a5fbd36e1bdd1a6b281283ac421
Author:     Olivier Hallot <olivier.hal...@libreoffice.org>
AuthorDate: Sat Sep 9 12:16:27 2023 -0300
Commit:     Olivier Hallot <olivier.hal...@libreoffice.org>
CommitDate: Sat Sep 9 17:17:55 2023 +0200

    Create a menu file for writer-only table commands
    
    Change-Id: I401d42c9af27881da223cc51e666d14999d64062
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/156780
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hal...@libreoffice.org>

diff --git a/AllLangHelp_swriter.mk b/AllLangHelp_swriter.mk
index 3e4a774894..a5b945374c 100644
--- a/AllLangHelp_swriter.mk
+++ b/AllLangHelp_swriter.mk
@@ -26,6 +26,7 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,swriter,\
     helpcontent2/source/text/swriter/00/00000406 \
     helpcontent2/source/text/swriter/00/formmenu \
     helpcontent2/source/text/swriter/00/stylesmenu \
+    helpcontent2/source/text/swriter/00/table_menu \
     helpcontent2/source/text/swriter/01/01120000 \
     helpcontent2/source/text/swriter/01/01150000 \
     helpcontent2/source/text/swriter/01/01160100 \
diff --git a/source/text/shared/00/00040503.xhp 
b/source/text/shared/00/00040503.xhp
index db0ee4cd29..d4684735d4 100644
--- a/source/text/shared/00/00040503.xhp
+++ b/source/text/shared/00/00040503.xhp
@@ -93,25 +93,6 @@
   </switch>
 </section>
 
-<section id="number_recognition">
-    <embed href="text/shared/00/00000004.xhp#from_menu_bar"/>
-    <paragraph role="paragraph" id="par_id581694255149586">Choose 
<menuitem>Table - Number Recognition</menuitem>.</paragraph>
-</section>
-
-<section id="headingrowsrepeat">
-  <embed href="text/shared/00/00000004.xhp#from_menu_bar"/>
-  <paragraph role="paragraph" id="par_id571694259687685">Choose 
<menuitem>Table - Header Rows Repeat Across Pages</menuitem>.</paragraph>
-</section>
-
-<section id="rowsplit">
-  <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>
 <paragraph role="paragraph" id="par_id3149457"><switchinline 
select="appl"><caseinline select="CHART"/><defaultinline>Open context menu of a 
column header in a database table - choose <emph>Column Format - 
Alignment</emph> tab.</defaultinline></switchinline></paragraph>
diff --git a/source/text/swriter/00/00000405.xhp 
b/source/text/swriter/00/00000405.xhp
index 484695d288..25815b83bf 100644
--- a/source/text/swriter/00/00000405.xhp
+++ b/source/text/swriter/00/00000405.xhp
@@ -261,29 +261,6 @@
 </section>
 </section>
 
-<section id="tablesplit">
-   <embed href="text/shared/00/00000004.xhp#from_menu_bar"/>
-   <paragraph id="par_id3149377" role="paragraph"><variable id="tabauf">Choose 
<emph>Table - Split Table</emph>.</variable></paragraph>
-   <embed href="text/shared/00/00000004.xhp#from_tabUI"/>
-   <paragraph role="paragraph" id="par_id681694089066094">Choose 
<menuitem>Table - Split Table</menuitem>.</paragraph>
-   <embed href="text/shared/00/00000004.xhp#from_toolbars"/>
-   <table id="tab_id101694089080239">
-      <tablerow>
-         <tablecell>
-            <paragraph id="par_id331694089080241" role="paragraph"><image 
src="cmd/lc_splittable.svg" id="img_id61694089080242" width="1cm"  
height="1cm"><alt id="alt_id791694089080243">Icon Split 
Table</alt></image></paragraph>
-         </tablecell>
-         <tablecell>
-            <paragraph id="par_id641694089080245" role="paragraph">Split 
Table</paragraph>
-         </tablecell>
-      </tablerow>
-   </table>
-   <embed href="text/shared/00/00000004.xhp#from_sidebar"/>
-   <paragraph role="paragraph" id="par_id181694089212408">On the 
<menuitem>Table</menuitem> deck of the <menuitem>Properties</menuitem> panel, 
click on <menuitem>Split Table</menuitem>.</paragraph>
-</section>
-<section id="tablemerge">
-   <embed href="text/shared/00/00000004.xhp#from_menu_bar"/>
-   <paragraph id="par_id3155810" role="paragraph"><variable 
id="tabverb">Choose <emph>Table - Merge Table</emph>.</variable></paragraph>
-</section>
       <paragraph id="par_id3151233" role="paragraph"><variable 
id="tabformat">Choose <emph>Table - Properties - Table</emph> 
tab.</variable></paragraph>
       <paragraph id="par_id3154255" role="paragraph"><variable 
id="spaltentab">Choose <emph>Table - Properties - Columns</emph> 
tab.</variable></paragraph>
       <paragraph id="par_id3153140" role="paragraph"><variable 
id="tabelletextfluss">Choose <emph>Table - Properties - Text Flow</emph> 
tab.</variable></paragraph>
diff --git a/source/text/swriter/00/table_menu.xhp 
b/source/text/swriter/00/table_menu.xhp
new file mode 100644
index 0000000000..385df9071f
--- /dev/null
+++ b/source/text/swriter/00/table_menu.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/.
+
+-->
+
+<meta>
+  <topic id="textswriter00table_menuxhp" indexer="exclude">
+    <title id="tit">Table Menu</title>
+    <filename>/text/swriter/00/table_menu.xhp</filename>
+  </topic>
+</meta>
+
+<body>
+
+<h1 id="hd_id3154279">Writer Table Menu</h1>
+<section id="number_recognition">
+    <embed href="text/shared/00/00000004.xhp#from_menu_bar"/>
+    <paragraph role="paragraph" id="par_id581694255149586">Choose 
<menuitem>Table - Number Recognition</menuitem>.</paragraph>
+</section>
+
+<section id="headingrowsrepeat">
+  <embed href="text/shared/00/00000004.xhp#from_menu_bar"/>
+  <paragraph role="paragraph" id="par_id571694259687685">Choose 
<menuitem>Table - Header Rows Repeat Across Pages</menuitem>.</paragraph>
+</section>
+
+<section id="rowsplit">
+  <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="tablesplit">
+   <embed href="text/shared/00/00000004.xhp#from_menu_bar"/>
+   <paragraph id="par_id3149377" role="paragraph"><variable id="tabauf">Choose 
<emph>Table - Split Table</emph>.</variable></paragraph>
+   <embed href="text/shared/00/00000004.xhp#from_tabUI"/>
+   <paragraph role="paragraph" id="par_id681694089066094">Choose 
<menuitem>Table - Split Table</menuitem>.</paragraph>
+   <embed href="text/shared/00/00000004.xhp#from_toolbars"/>
+   <table id="tab_id101694089080239">
+      <tablerow>
+         <tablecell>
+            <paragraph id="par_id331694089080241" role="paragraph"><image 
src="cmd/lc_splittable.svg" id="img_id61694089080242" width="1cm"  
height="1cm"><alt id="alt_id791694089080243">Icon Split 
Table</alt></image></paragraph>
+         </tablecell>
+         <tablecell>
+            <paragraph id="par_id641694089080245" role="paragraph">Split 
Table</paragraph>
+         </tablecell>
+      </tablerow>
+   </table>
+   <embed href="text/shared/00/00000004.xhp#from_sidebar"/>
+   <paragraph role="paragraph" id="par_id181694089212408">On the 
<menuitem>Table</menuitem> deck of the <menuitem>Properties</menuitem> panel, 
click on <menuitem>Split Table</menuitem>.</paragraph>
+</section>
+
+<section id="tablemerge">
+   <embed href="text/shared/00/00000004.xhp#from_menu_bar"/>
+   <paragraph id="par_id3155810" role="paragraph"><variable 
id="tabverb">Choose <emph>Table - Merge Table</emph>.</variable></paragraph>
+</section>
+</body>
+</helpdocument>
diff --git a/source/text/swriter/01/05190000.xhp 
b/source/text/swriter/01/05190000.xhp
index cad232864c..296a25d699 100644
--- a/source/text/swriter/01/05190000.xhp
+++ b/source/text/swriter/01/05190000.xhp
@@ -39,7 +39,7 @@
 <paragraph role="paragraph" id="par_id3083450"><ahelp 
hid=".uno:SplitTable">Splits the current table into two separate tables at the 
cursor position.</ahelp> You can also access this command by right-clicking in 
a table cell.</paragraph>
 </section>
 <section id="howtoget">
-  <embed href="text/swriter/00/00000405.xhp#tablesplit"/>
+  <embed href="text/swriter/00/table_menu.xhp#tablesplit"/>
 </section>
 <h2 id="hd_id3149351">Mode</h2>
 <bookmark branch="hid/modules/swriter/ui/splittable/copyheading" 
id="bm_id3153002" localize="false"/>
diff --git a/source/text/swriter/01/05200000.xhp 
b/source/text/swriter/01/05200000.xhp
index 53f9304606..9003b6323f 100644
--- a/source/text/swriter/01/05200000.xhp
+++ b/source/text/swriter/01/05200000.xhp
@@ -38,7 +38,7 @@
 <paragraph role="paragraph" id="par_id3147401"><ahelp hid=".">Combines two 
consecutive tables into a single table. The tables must be directly next to 
each other and not separated by an empty paragraph.</ahelp></paragraph>
 </section>
 <section id="howtoget">
-  <embed href="text/swriter/00/00000405.xhp#tablemerge"/>
+  <embed href="text/swriter/00/table_menu.xhp#tablemerge"/>
 </section>
 <paragraph role="paragraph" id="par_id3146325">If you choose this command when 
the cursor is in the middle of three consecutive tables, you are prompted to 
select the table that you want to merge with.</paragraph>
     <section id="relatedtopics">
diff --git a/source/text/swriter/01/HeadingRowsRepeat.xhp 
b/source/text/swriter/01/HeadingRowsRepeat.xhp
index ae94781473..f5ab684925 100644
--- a/source/text/swriter/01/HeadingRowsRepeat.xhp
+++ b/source/text/swriter/01/HeadingRowsRepeat.xhp
@@ -28,7 +28,7 @@
     <paragraph role="paragraph" id="par_id451630938722616">Repeat a table 
header on each new page that the table spans.</paragraph>
 </section>
 <section id="howtoget">
-    <embed href="text/shared/00/00040503.xhp#headingrowsrepeat"/>
+    <embed href="text/swriter/00/table_menu.xhp#headingrowsrepeat"/>
 </section>
 <note id="par_id571694256958083">When this feature is on, a check mark is 
displayed in front of the <menuitem>Header Rows Repeat Across Pages</menuitem> 
command.</note>
 <section id="relatedtopics">
diff --git a/source/text/swriter/01/RowSplit.xhp 
b/source/text/swriter/01/RowSplit.xhp
index 1e97130b92..b5dc01b2ca 100644
--- a/source/text/swriter/01/RowSplit.xhp
+++ b/source/text/swriter/01/RowSplit.xhp
@@ -25,7 +25,7 @@
     <paragraph role="paragraph" id="par_id841630938899606">Allows a page break 
or column break inside a row of the table. This option is not applied to the 
first row in a table if the <emph>Repeat Heading</emph> option is 
selected.</paragraph>
 </section>
 <section id="howtoget">
-    <embed href="text/shared/00/00040503.xhp#rowsplit"/>
+    <embed href="text/swriter/00/table_menu.xhp#rowsplit"/>
 </section>
 <note id="par_id571694256958083">When this feature is on, a check mark is 
displayed in front of the <menuitem>Row to Break Across Pages</menuitem> 
command.</note>
 <section id="relatedtopics">
diff --git a/source/text/swriter/01/TableConvertMenu.xhp 
b/source/text/swriter/01/TableConvertMenu.xhp
index 4df7f9801e..946db9c3ed 100644
--- a/source/text/swriter/01/TableConvertMenu.xhp
+++ b/source/text/swriter/01/TableConvertMenu.xhp
@@ -22,7 +22,7 @@
     <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"/>
+    <embed href="text/swriter/00/table_menu.xhp#convert2text2table"/>
 </section>
 
 <h2 id="hd_id451694267130119"><link 
href="text/swriter/01/06090000.xhp">Convert Text to Table</link></h2>
diff --git a/source/text/swriter/01/TableNumberRecognition.xhp 
b/source/text/swriter/01/TableNumberRecognition.xhp
index 6d8cd6e7cf..68bf8b1947 100644
--- a/source/text/swriter/01/TableNumberRecognition.xhp
+++ b/source/text/swriter/01/TableNumberRecognition.xhp
@@ -25,7 +25,7 @@
     <paragraph role="paragraph" id="par_id511605978897703">Toggles the setting 
for automatically recognizing numbers or dates that you enter into a table 
cell, converting them from text to an appropriate number format.</paragraph>
 </section>
 <section id="howtoget">
-    <embed href="text/shared/00/00040503.xhp#number_recognition"/>
+    <embed href="text/swriter/00/table_menu.xhp#number_recognition"/>
 </section>
 <note id="par_id571694256958083">When this feature is on, a check mark is 
displayed in front of the <menuitem>Number Recognition</menuitem> 
command.</note>
 <embed href="text/shared/optionen/01040500.xhp#number_recognition"/>

Reply via email to