source/text/sdraw/main_insert.xhp      |    7 ++---
 source/text/shared/01/insert_table.xhp |   40 +++++++++++----------------------
 source/text/shared/main0201.xhp        |   34 ++++++++++++++--------------
 source/text/shared/main0204.xhp        |   20 ++++++++--------
 source/text/simpress/02/10110000.xhp   |    4 +--
 source/text/simpress/main0104.xhp      |   16 +++++--------
 6 files changed, 53 insertions(+), 68 deletions(-)

New commits:
commit 7c187e488710f930d4d0ec5291308af2e3776a46
Author:     Olivier Hallot <olivier.hal...@libreoffice.org>
AuthorDate: Thu Jun 27 11:55:57 2024 -0300
Commit:     Olivier Hallot <olivier.hal...@libreoffice.org>
CommitDate: Fri Jun 28 11:07:37 2024 +0200

    Fix broken links on Insert Table Help pages
    
    + refactor of the files
    
    Change-Id: I60dbaf848250abefc80272b5885ad01536cc218f
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/169652
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hal...@libreoffice.org>

diff --git a/source/text/sdraw/main_insert.xhp 
b/source/text/sdraw/main_insert.xhp
index 8988f26aeb..a99d3e1f6a 100644
--- a/source/text/sdraw/main_insert.xhp
+++ b/source/text/sdraw/main_insert.xhp
@@ -22,20 +22,19 @@
 
 <meta>
       <topic id="textsdrawmaininsertxml" indexer="include" status="PUBLISH">
-         <title xml-lang="en-US" id="tit">Insert</title>
+         <title id="tit">Insert</title>
          <filename>/text/sdraw/main_insert.xhp</filename>
       </topic>
    </meta>
    <body>
       <section id="insert">
          <h1 id="hd_id3148797"><link 
href="text/sdraw/main_insert.xhp">Insert</link></h1>
-         <paragraph xml-lang="en-US" id="par_id3153770" role="paragraph">This 
menu allows you to insert elements, such as graphics and guides, into Draw 
documents.</paragraph>
+         <paragraph id="par_id3153770" role="paragraph">This menu allows you 
to insert elements, such as graphics and guides, into Draw 
documents.</paragraph>
       </section>
 
       <embed href="text/shared/01/04140000.xhp#insertimageh1"/>
       <embed href="text/shared/01/insert_chart.xhp#chart"/>
-      <h2 id="hd_id3156385"><link 
href="text/simpress/01/04080100.xhp">Table</link></h2>
-      <embed href="text/simpress/01/04080100.xhp#tabelletext"/>
+      <embed href="text/shared/01/insert_table.xhp#inserttable"/>
       <embed href="text/shared/01/04990000.xhp#media_submenu"/>
       <embed href="text/shared/01/04150000.xhp#object_submenu"/>
       <h2 id="hd_id3147397"><link href="text/simpress/01/04030000.xhp">Insert 
Snap Point/Line</link></h2>
diff --git a/source/text/shared/01/insert_table.xhp 
b/source/text/shared/01/insert_table.xhp
index e66e5892b1..993ee7864a 100644
--- a/source/text/shared/01/insert_table.xhp
+++ b/source/text/shared/01/insert_table.xhp
@@ -10,8 +10,7 @@
   -->
 
   <meta>
-    <topic id="text/shared/01/insert_table.xhp" 
-indexer="include" status="PUBLISH">
+    <topic id="text/shared/01/insert_table.xhp" indexer="include" 
status="PUBLISH">
       <title id="tit">Insert Table</title>
       <filename>/text/shared/01/insert_table.xhp</filename>
     </topic>
@@ -22,27 +21,17 @@ indexer="include" status="PUBLISH">
   <bookmark_value>inserting; tables</bookmark_value>
   <bookmark_value>tables; inserting</bookmark_value>
 </bookmark>
-<bookmark xml-lang="en-US" branch="hid/.uno:InsertSpreadsheet" 
-id="bm_id3150012" localize="false"/>
-<bookmark xml-lang="en-US" 
-branch="hid/cui/ui/newtabledialog/NewTableDialog" id="bm_id0916200804233395" 
-localize="false"/>
-<bookmark xml-lang="en-US" branch="hid/cui/ui/newtabledialog/@@nowidget@@"
-id="bm_id0916200804233395" localize="false"/>
+<bookmark branch="hid/.uno:InsertSpreadsheet" id="bm_id3150012" 
localize="false"/>
+<bookmark branch="hid/cui/ui/newtabledialog/NewTableDialog" 
id="bm_id0916200804233395" localize="false"/>
+<bookmark branch="hid/cui/ui/newtabledialog/@@nowidget@@" 
id="bm_id0916200804233395" localize="false"/>
 <bookmark branch="hid/.uno:InsertTable" id="bm_id3151392" localize="false"/>
-<bookmark branch="hid/modules/swriter/ui/inserttable/@@nowidget@@"
-id="bm_@@nowidget@@" localize="false"/>
-<bookmark branch="hid/modules/swriter/ui/inserttable/InsertTableDialog"
-id="bm_id3151394" localize="false"/>
+<bookmark branch="hid/modules/swriter/ui/inserttable/@@nowidget@@" 
id="bm_@@nowidget@@" localize="false"/>
+<bookmark branch="hid/modules/swriter/ui/inserttable/InsertTableDialog" 
id="bm_id3151394" localize="false"/>
 
 <section id="inserttable">
-  <h1 id="hd_id3148576"><variable 
-id="insert_table_h1"><link href="text/shared/01/insert_table.xhp">Insert 
+  <h1 id="hd_id3148576"><variable id="insert_table_h1"><link 
href="text/shared/01/insert_table.xhp">Insert
 Table</link></variable></h1>
-  <paragraph role="paragraph" id="par_id3146975" xml-lang="en-US">Inserts a 
new 
-table into the current <switchinline 
-select="appl"><caseinline 
-select="IMPRESS">slide</caseinline><defaultinline>page</defaultinline>
+  <paragraph role="paragraph" id="par_id3146975">Inserts a new table into the 
current <switchinline select="appl"><caseinline 
select="IMPRESS">slide</caseinline><defaultinline>page</defaultinline>
 </switchinline>.</paragraph>
 </section>
 <section id="howtoget">
@@ -64,21 +53,20 @@ 
select="IMPRESS">slide</caseinline><defaultinline>page</defaultinline>
 </switch>
 <section id="columns">
   <h2 id="hd_id941717700034471">Number of Columns</h2>
-  <paragraph role="paragraph" id="par_id461717700080123">Enter the number of 
-columns to include in the new table or use the spin box to increase or 
decrease 
+  <paragraph role="paragraph" id="par_id461717700080123">Enter the number of
+columns to include in the new table or use the spin box to increase or decrease
 the number of columns.</paragraph>
   </section>
   <section id="rows">
     <h2 id="hd_id111717700065106">Number of Rows</h2>
-    <paragraph role="paragraph" id="par_id301717700163556">Enter the number of 
-rows to include in the new table or use the spin box to increase or decrease 
the 
+    <paragraph role="paragraph" id="par_id301717700163556">Enter the number of
+rows to include in the new table or use the spin box to increase or decrease 
the
 number of rows.</paragraph>
   </section>
   <switch select="appl">
     <case select="WRITER">
       <embed href="text/swriter/01/04150000.xhp#options"/>
-      <bookmark branch="hid/modules/swriter/ui/inserttable/formatlbinstable" 
-id="bm_id3147226" localize="false"/>
+      <bookmark branch="hid/modules/swriter/ui/inserttable/formatlbinstable" 
id="bm_id3147226" localize="false"/>
       <embed href="text/swriter/01/04150000.xhp#table_styles"/>
     </case>
     <default>
@@ -92,7 +80,7 @@ id="bm_id3147226" localize="false"/>
       <embed href="text/shared/guide/border_table.xhp#border_table"/>
       <embed href="text/swriter/01/05090300.xhp#h1"/>
       <paragraph role="paragraph" id="par_id3150688">
-      <link href="text/shared/optionen/01040500.xhp"> Table 
+      <link href="text/shared/optionen/01040500.xhp"> Table
  (Options)</link></paragraph>
     </case>
     <default>
diff --git a/source/text/shared/main0201.xhp b/source/text/shared/main0201.xhp
index 43cbcbd58e..28e24b9db6 100644
--- a/source/text/shared/main0201.xhp
+++ b/source/text/shared/main0201.xhp
@@ -19,17 +19,17 @@
 <helpdocument version="1.0">
 <meta>
 <topic id="textsharedmain0201xml" indexer="include" status="PUBLISH">
-<title id="tit" xml-lang="en-US">Standard Bar</title>
+<title id="tit">Standard Bar</title>
 <filename>/text/shared/main0201.xhp</filename>
 </topic>
 </meta>
 <body>
 <section id="standardbar">
-<bookmark xml-lang="en-US" branch="hid/RID_ENVTOOLBOX" id="bm_id3155805" 
localize="false"/>
+<bookmark branch="hid/RID_ENVTOOLBOX" id="bm_id3155805" localize="false"/>
 <bookmark branch="hid/.uno:AvailableToolbars?Toolbar:string=standardbar" 
id="bm_id331690980368515" localize="false"/>
 <bookmark branch="hid/.uno:AvailableToolbars?Toolbar:string=singlemode" 
id="bm_id331690980368626" localize="false"/>
 <h1 id="hd_id3154186"><link href="text/shared/main0201.xhp">Standard 
Bar</link></h1>
-<paragraph role="paragraph" id="par_id3145136" xml-lang="en-US"><ahelp 
hid="RID_ENVTOOLBOX">The <emph>Standard</emph> bar is available in every 
$[officename] application.</ahelp></paragraph>
+<paragraph role="paragraph" id="par_id3145136"><ahelp hid="RID_ENVTOOLBOX">The 
<emph>Standard</emph> bar is available in every $[officename] 
application.</ahelp></paragraph>
 </section>
 <embed href="text/shared/01/01010000.xhp#new"/>
 <embed href="text/shared/00/00000401.xhp#newtextdoc"/>
@@ -39,7 +39,7 @@
 <embed href="text/shared/01/01060000.xhp#save"/>
 <embed href="text/shared/00/00000401.xhp#sysave"/>
 <h2 id="par_idN10661"><link href="text/shared/01/01070000.xhp">Save 
As</link></h2>
-<paragraph role="paragraph" id="par_idN10671" xml-lang="en-US" 
localize="false">
+<paragraph role="paragraph" id="par_idN10671" localize="false">
        <embedvar href="text/shared/01/01070000.xhp#speichernuntertext"/>
 </paragraph>
 <embed href="text/shared/00/00000401.xhp#sysaveas"/>
@@ -99,17 +99,17 @@
 <embed href="text/shared/01/04180100.xhp#data_sources"/>
 <embed href="text/shared/00/00000403.xhp#sydata_sources"/>
 <h2 id="par_idN1086E"><link href="text/schart/01/wiz_chart_type.xhp">Insert 
Chart</link></h2>
-<paragraph role="paragraph" id="par_id4964445" xml-lang="en-US">Creates a 
chart in the current document.</paragraph>
+<paragraph role="paragraph" id="par_id4964445">Creates a chart in the current 
document.</paragraph>
 <embed href="text/shared/00/00000404.xhp#systarchart"/>
 <h2 id="par_idN1088E"><link href="text/scalc/01/12030100.xhp">Sort Descending 
/ Sort Ascending</link></h2>
-<paragraph role="paragraph" id="par_idN108B1" xml-lang="en-US">Sorts the 
selection from the highest to the lowest value, or from the lowest to the 
highest value using the column that contains the cursor.</paragraph>
+<paragraph role="paragraph" id="par_idN108B1">Sorts the selection from the 
highest to the lowest value, or from the lowest to the highest value using the 
column that contains the cursor.</paragraph>
 <embed href="text/scalc/00/00000412.xhp#sysort_criteria"/>
 </case>
 <case select="IMPRESS">
 <h2 id="par_idN108BE"><link 
href="text/schart/01/wiz_chart_type.xhp">Chart</link></h2>
-<paragraph role="paragraph" id="par_idN108EA" xml-lang="en-US">Creates a chart 
in the current document.</paragraph>
+<paragraph role="paragraph" id="par_idN108EA">Creates a chart in the current 
document.</paragraph>
 <embed href="text/shared/00/00000404.xhp#systarchart"/>
-<embed href="text/simpress/01/04080100.xhp#inserttable"/>
+<embed href="text/shared/01/insert_table.xhp#inserttable"/>
 <embed href="text/swriter/00/00000404.xhp#syinsert_table"/>
 <h2 id="par_idN108C4"><link href="text/shared/02/01171200.xhp">Display 
Grid</link></h2>
 <embed href="text/shared/optionen/01050100.xhp#rastersicht"/>
@@ -117,7 +117,7 @@
 </case>
 <case select="DRAW">
 <h2 id="par_idN108D7"><link 
href="text/schart/01/wiz_chart_type.xhp">Chart</link></h2>
-<paragraph role="paragraph" id="par_idN10976" xml-lang="en-US">Creates a chart 
in the current document.</paragraph>
+<paragraph role="paragraph" id="par_idN10976">Creates a chart in the current 
document.</paragraph>
 <embed href="text/shared/00/00000404.xhp#systarchart"/>
 <embed href="text/shared/01/05350000.xhp#3deffects"/>
 <embed href="text/shared/00/00040500.xhp#sy3d"/>
@@ -137,29 +137,29 @@
 <table id="tbl_id3150046">
 <tablerow>
 <tablecell>
-<paragraph role="paragraph" id="par_idN107D8" xml-lang="en-US">
-<image id="img_id3153070" src="cmd/sc_zoom.png" width="1cm" height="1cm"><alt 
id="alt_id3153070" xml-lang="en-US">Icon</alt></image></paragraph>
+<paragraph role="paragraph" id="par_idN107D8">
+<image id="img_id3153070" src="cmd/sc_zoom.png" width="1cm" height="1cm"><alt 
id="alt_id3153070">Icon</alt></image></paragraph>
 </tablecell>
 <tablecell>
-<paragraph role="paragraph" id="par_idN107F5" xml-lang="en-US">Zoom</paragraph>
+<paragraph role="paragraph" id="par_idN107F5">Zoom</paragraph>
 </tablecell>
 </tablerow>
 </table>
 <embed href="text/shared/main0108.xhp#helpcommand"/>
 <embed href="text/shared/main0108.xhp#syhelp"/>
 <section id="whatsthis">
-<bookmark xml-lang="en-US" branch="hid/.uno:ExtendedHelp" id="bm_id6275903" 
localize="false"/>
+<bookmark branch="hid/.uno:ExtendedHelp" id="bm_id6275903" localize="false"/>
 <h2 id="par_idN10818">What’s This?</h2>
-<paragraph role="paragraph" id="par_idN1081E" xml-lang="en-US"><ahelp 
hid=".">Enables extended help tips under the mouse pointer until the next 
click.</ahelp></paragraph>
+<paragraph role="paragraph" id="par_idN1081E"><ahelp hid=".">Enables extended 
help tips under the mouse pointer until the next click.</ahelp></paragraph>
 <section id="sywhatsthis">
 <table id="">
 <tablerow>
 <tablecell>
-<paragraph role="paragraph" id="par_idN10855" xml-lang="en-US">
-<image id="img_id3174230" src="cmd/sc_extendedhelp.png" width="1cm" 
height="1cm"><alt id="alt_id3174230" xml-lang="en-US">Icon “What’s 
This?”</alt></image></paragraph>
+<paragraph role="paragraph" id="par_idN10855">
+<image id="img_id3174230" src="cmd/sc_extendedhelp.png" width="1cm" 
height="1cm"><alt id="alt_id3174230">Icon “What’s 
This?”</alt></image></paragraph>
 </tablecell>
 <tablecell>
-<paragraph role="paragraph" id="par_idN10873" xml-lang="en-US">What’s 
This?</paragraph>
+<paragraph role="paragraph" id="par_idN10873">What’s This?</paragraph>
 </tablecell>
 </tablerow>
 </table>
diff --git a/source/text/shared/main0204.xhp b/source/text/shared/main0204.xhp
index c48a7c00c8..63d75a4d36 100644
--- a/source/text/shared/main0204.xhp
+++ b/source/text/shared/main0204.xhp
@@ -20,17 +20,17 @@
 
 <meta>
 <topic id="textsharedmain0204xml" indexer="include">
-<title id="tit" xml-lang="en-US">Table Bar</title>
+<title id="tit">Table Bar</title>
 <filename>/text/shared/main0204.xhp</filename>
 </topic>
 </meta>
 <body>
 <section id="tablebar">
-<bookmark xml-lang="en-US" branch="hid/.HelpId:tableobjectbar" 
id="bm_id3154243" localize="false"/>
+<bookmark branch="hid/.HelpId:tableobjectbar" id="bm_id3154243" 
localize="false"/>
 <h1 id="hd_id3145587"><link href="text/shared/main0204.xhp">Table 
Bar</link></h1>
-<paragraph role="paragraph" id="par_id3154252" xml-lang="en-US"><ahelp 
hid=".">The <emph>Table</emph> Bar contains functions you need when working 
with tables. It appears when you move the cursor into a 
table.</ahelp></paragraph>
+<paragraph role="paragraph" id="par_id3154252"><ahelp hid=".">The 
<emph>Table</emph> Bar contains functions you need when working with tables. It 
appears when you move the cursor into a table.</ahelp></paragraph>
 </section>
-<embed href="text/simpress/01/04080100.xhp#inserttable"/>
+<embed href="text/shared/01/insert_table.xhp#inserttable"/>
 <embed href="text/swriter/00/00000404.xhp#syinsert_table"/>
 <embed href="text/shared/02/03140000.xhp#line_style"/>
 <embed href="text/shared/02/03140000.xhp#syline_style"/>
@@ -60,18 +60,18 @@
 <embed href="text/swriter/01/05120500.xhp#loeschentext"/>
 <embed href="text/swriter/00/00000405.xhp#sydelete_column"/>
 <comment>following only optional, ext.help is available: Select Table Select 
Column Select Row</comment>
-<bookmark xml-lang="en-US" branch="hid/.uno:TableDesign" 
id="bm_id091620081221536" localize="false"/>
+<bookmark branch="hid/.uno:TableDesign" id="bm_id091620081221536" 
localize="false"/>
 <h2 id="hd_id3134447820">Table Design</h2>
-<paragraph role="paragraph" id="par_id16200812240344" xml-lang="en-US"><ahelp 
hid=".uno:TableDesign">Opens the Table Design. Double-click a preview to format 
the table.</ahelp></paragraph>
+<paragraph role="paragraph" id="par_id16200812240344"><ahelp 
hid=".uno:TableDesign">Opens the Table Design. Double-click a preview to format 
the table.</ahelp></paragraph>
 <section id="sytabledesign">
 <table id="tbl_id3153978">
 <tablerow>
-<tablecell colspan="" rowspan="">
-<paragraph role="paragraph" id="par_id3153752" xml-lang="en-US">
-<image id="img_id3147292" src="cmd/sc_tabledesign.png" width="1cm" 
height="1cm"><alt id="alt_id3147292" 
xml-lang="en-US">Icon</alt></image></paragraph>
+<tablecell>
+<paragraph role="paragraph" id="par_id3153752">
+<image id="img_id3147292" src="cmd/sc_tabledesign.png" width="1cm" 
height="1cm"><alt id="alt_id3147292">Icon</alt></image></paragraph>
 </tablecell>
 <tablecell>
-<paragraph role="paragraph" id="par_id3156429" xml-lang="en-US">Table 
Design</paragraph>
+<paragraph role="paragraph" id="par_id3156429">Table Design</paragraph>
 </tablecell>
 </tablerow>
 </table>
diff --git a/source/text/simpress/02/10110000.xhp 
b/source/text/simpress/02/10110000.xhp
index 59cb029126..4aa10ad2ba 100644
--- a/source/text/simpress/02/10110000.xhp
+++ b/source/text/simpress/02/10110000.xhp
@@ -53,9 +53,9 @@
 <embed href="text/simpress/01/04110100.xhp#insertslidepageobject"/>
 <embed href="text/simpress/00/00000404.xhp#syfile"/>
 
-<h2 id="hd_id3150567"><link 
href="text/simpress/01/04080100.xhp">Spreadsheet</link></h2>
-<embed href="text/simpress/01/04080100.xhp#tabelletext"/>
+<embed href="text/shared/01/insert_table.xhp#inserttable"/>
 <embed href="text/simpress/00/00000404.xhp#syinsert_table"/>
+
 <h2 id="hd_id3155986"><link href="text/shared/01/04140000.xhp">From 
File</link></h2>
 <embed href="text/shared/01/04140000.xhp#grafiktext"/>
 <embed href="text/shared/00/00000404.xhp#syimage"/>
diff --git a/source/text/simpress/main0104.xhp 
b/source/text/simpress/main0104.xhp
index 958b203325..310cfac725 100644
--- a/source/text/simpress/main0104.xhp
+++ b/source/text/simpress/main0104.xhp
@@ -20,7 +20,7 @@
 
 <meta>
   <topic id="textsimpressmain0104xml" indexer="include" status="PUBLISH">
-    <title id="tit" xml-lang="en-US">Insert</title>
+    <title id="tit">Insert</title>
     <filename>/text/simpress/main0104.xhp</filename>
   </topic>
 </meta>
@@ -28,19 +28,17 @@
 <body>
 
 <section id="insert">
-<bookmark xml-lang="en-US" branch="hid/.uno:InsertMenu" id="bm_id2743919" 
localize="false"/>
+<bookmark branch="hid/.uno:InsertMenu" id="bm_id2743919" localize="false"/>
 
-<h1 id="hd_id3153726"><variable id="insert_h1"><link
-href="text/simpress/main0104.xhp">Insert</link></variable></h1>
-<paragraph id="par_id3146971" role="paragraph" xml-lang="en-US"><ahelp 
hid=".">This menu contains the commands that are used to insert new elements 
into the document, for example, graphics, objects, special characters and other 
files.</ahelp></paragraph>
+<h1 id="hd_id3153726"><variable id="insert_h1"><link 
href="text/simpress/main0104.xhp">Insert</link></variable></h1>
+<paragraph id="par_id3146971" role="paragraph"><ahelp hid=".">This menu 
contains the commands that are used to insert new elements into the document, 
for example, graphics, objects, special characters and other 
files.</ahelp></paragraph>
 </section>
 
 <embed href="text/shared/01/04140000.xhp#insertimageh1"/>
 <embed href="text/shared/01/moviesound.xhp#moviesound"/>
 <h2 id="hd_id3146918"><link 
href="text/schart/01/wiz_chart_type.xhp">Chart</link></h2>
-<paragraph id="par_id0302200904002496" role="paragraph" 
xml-lang="en-US">Inserts a chart.</paragraph>
-<h2 id="hd_id3145768"><link 
href="text/simpress/01/04080100.xhp">Table</link></h2>
-<embed href="text/simpress/01/04080100.xhp#tabelletext"/>
+<paragraph id="par_id0302200904002496" role="paragraph">Inserts a 
chart.</paragraph>
+<embed href="text/shared/01/insert_table.xhp#inserttable"/>
 <embed href="text/shared/01/04990000.xhp#media_submenu"/>
 <embed href="text/shared/01/04150000.xhp#object_submenu"/>
 <embed href="text/shared/menu/insert_shape.xhp#shape_submenu"/>
@@ -56,7 +54,7 @@ 
href="text/simpress/main0104.xhp">Insert</link></variable></h1>
 <embed href="text/shared/01/04100000.xhp#sonder"/>
 <embed href="text/shared/01/formatting_mark.xhp#formatting_mark"/>
 <h2 id="par_idN105C7">Slide Number</h2>
-<paragraph id="par_idN10609" role="paragraph" xml-lang="en-US">Adds the slide 
number or the page number.</paragraph>
+<paragraph id="par_idN10609" role="paragraph">Adds the slide number or the 
page number.</paragraph>
 <embed href="text/simpress/01/04990000.xhp#fields"/>
 <embed href="text/simpress/01/03152000.xhp#headerandfooter"/>
 <embed href="text/shared/menu/insert_form_control.xhp#form_control_submenu"/>

Reply via email to