source/text/scalc/main0202.xhp                         |    4 -
 source/text/shared/00/00040502.xhp                     |    6 +-
 source/text/shared/guide/gallery_insert.xhp            |   37 +++++--------
 source/text/simpress/main0203.xhp                      |    4 -
 source/text/swriter/guide/insert_graphic_fromchart.xhp |   25 ++++----
 source/text/swriter/main0202.xhp                       |   48 ++++++++---------
 6 files changed, 61 insertions(+), 63 deletions(-)

New commits:
commit c6fec27df9ba67681d6d1bea474557123c395d13
Author:     Olivier Hallot <olivier.hal...@libreoffice.org>
AuthorDate: Tue Apr 2 21:10:46 2024 -0300
Commit:     Olivier Hallot <olivier.hal...@libreoffice.org>
CommitDate: Wed Apr 3 12:39:30 2024 +0200

    Fix several "D'oh! you found a bug"
    
    + some refactor
    
    Change-Id: I496d90ea26a41bd2ddb98af1e4e80b51322720e5
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/165708
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hal...@libreoffice.org>

diff --git a/source/text/scalc/main0202.xhp b/source/text/scalc/main0202.xhp
index 207ce92fbb..8077985170 100644
--- a/source/text/scalc/main0202.xhp
+++ b/source/text/scalc/main0202.xhp
@@ -65,9 +65,9 @@
 <embed href="text/scalc/01/default_number_formats.xhp#add_decimal_place"/>
 <embed href="text/scalc/01/default_number_formats.xhp#delete_decimal_place"/>
 <embed href="text/shared/02/02130000.xhp#indentdecrease"/>
-<embed href="text/shared/02/02130000.xhp#indentdecreaseicon"/>
+<embed href="text/shared/00/00040502.xhp#sydecrease_ident"/>
 <embed href="text/shared/02/02140000.xhp#indentincrease"/>
-<embed href="text/shared/02/02140000.xhp#indentincreaseicon"/>
+<embed href="text/shared/00/00040502.xhp#syincrease_ident"/>
 <embed href="text/shared/02/03130000.xhp#borders"/>
 <embed href="text/shared/02/03130000.xhp#syborders"/>
 <embed href="text/shared/02/02170000.xhp#background_color"/>
diff --git a/source/text/shared/00/00040502.xhp 
b/source/text/shared/00/00040502.xhp
index 04352a5302..a804c19ef3 100644
--- a/source/text/shared/00/00040502.xhp
+++ b/source/text/shared/00/00040502.xhp
@@ -895,6 +895,7 @@
         <embed href="text/shared/00/00000004.xhp#from_tabUI"/>
         <paragraph role="paragraph" id="par_id51706232106648">Choose 
<menuitem>Home - Increase Indent</menuitem>.</paragraph>
         <embed href="text/shared/00/00000004.xhp#from_toolbars"/>
+        <section id="syincrease_ident">
         <table id="tbl_id3157211">
             <tablerow>
                 <tablecell>
@@ -905,6 +906,7 @@
                 </tablecell>
             </tablerow>
         </table>
+        </section>
         <embed href="text/shared/00/00000004.xhp#from_sidebar"/>
         <switch select="appl">
             <case select="CALC">
@@ -926,6 +928,7 @@
         <embed href="text/shared/00/00000004.xhp#from_tabUI"/>
         <paragraph role="paragraph" id="par_id801706232175030">Choose 
<menuitem>Home - Decrease Indent</menuitem>.</paragraph>
         <embed href="text/shared/00/00000004.xhp#from_toolbars"/>
+        <section id="sydecrease_ident">
         <table id="tbl_id3157211">
             <tablerow>
                 <tablecell>
@@ -935,7 +938,8 @@
                     <paragraph role="paragraph" 
id="par_id151706232182974">Decrease Indent</paragraph>
                 </tablecell>
             </tablerow>
-        </table>
+            </table>
+        </section>
         <embed href="text/shared/00/00000004.xhp#from_sidebar"/>
         <switch select="appl">
             <case select="CALC">
diff --git a/source/text/shared/guide/gallery_insert.xhp 
b/source/text/shared/guide/gallery_insert.xhp
index d2f9278970..cb64a55550 100644
--- a/source/text/shared/guide/gallery_insert.xhp
+++ b/source/text/shared/guide/gallery_insert.xhp
@@ -1,7 +1,4 @@
 <?xml version="1.0" encoding="UTF-8"?>
-
-
-
 <!--
  * This file is part of the LibreOffice project.
  *
@@ -19,18 +16,16 @@
  *   except in compliance with the License. You may obtain a copy of
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  -->
-
-
-               <helpdocument version="1.0">
+<helpdocument version="1.0">
 <meta>
 <topic id="textsharedguidegallery_insertxml" indexer="include" 
status="PUBLISH">
-<title xml-lang="en-US" id="tit">Inserting Objects From the Gallery</title>
+<title id="tit">Inserting Objects From the Gallery</title>
 <filename>/text/shared/guide/gallery_insert.xhp</filename>
 </topic>
 </meta>
 <body>
   
-<bookmark xml-lang="en-US" branch="index" id="bm_id3145136">
+<bookmark branch="index" id="bm_id3145136">
   <bookmark_value>Gallery; inserting pictures from</bookmark_value>
   <bookmark_value>pictures; inserting from Gallery</bookmark_value>
   <bookmark_value>inserting; from Gallery into text</bookmark_value>
@@ -46,32 +41,32 @@
 </bookmark>
   <comment>mw deleted "adding;"</comment>
 <section id="gallery_insert_head">  
-  <paragraph xml-lang="en-US" id="hd_id3145136" role="heading" level="1">
+  <h1 id="hd_id3145136">
     <variable id="gallery_insert"><link 
href="text/shared/guide/gallery_insert.xhp">Inserting Objects From the 
Gallery</link></variable>
-  </paragraph>
-  <paragraph xml-lang="en-US" id="par_id3145345" role="paragraph">You can 
insert an object from the <link 
href="text/shared/01/gallery.xhp)"><menuitem>Gallery</menuitem></link> into a 
text, spreadsheet, drawing or presentation document by dragging and dropping or 
using the Context Menu. Inserting an object creates a copy of the object so any 
changes to the object in your document will not affect the object in the 
Gallery.</paragraph>
+  </h1>
+  <paragraph id="par_id3145345" role="paragraph">You can insert an object from 
the <link 
href="text/shared/01/gallery.xhp)"><menuitem>Gallery</menuitem></link> into a 
text, spreadsheet, drawing or presentation document by dragging and dropping or 
using the Context Menu. Inserting an object creates a copy of the object so any 
changes to the object in your document will not affect the object in the 
Gallery.</paragraph>
 </section>
-  <bookmark  branch="hid/svx/ui/gallerymenu2/add" id="bm_id841711560216791" 
localize="false"/>
+  <bookmark branch="hid/svx/ui/gallerymenu2/add" id="bm_id841711560216791" 
localize="false"/>
   <h2 id="hd_id3145313">Inserting an object into a document</h2>
   <list type="ordered">
    <listitem>
-    <paragraph xml-lang="en-US" id="par_id3145382" role="listitem">Open the 
<menuitem>Gallery</menuitem>.</paragraph>
+    <paragraph id="par_id3145382" role="listitem">Open the 
<menuitem>Gallery</menuitem>.</paragraph>
    </listitem>
    <listitem>
-    <paragraph xml-lang="en-US" id="par_id3154306" role="listitem">Select a 
theme.</paragraph>
+    <paragraph id="par_id3154306" role="listitem">Select a theme.</paragraph>
    </listitem>
    <listitem>
-    <paragraph xml-lang="en-US" id="par_id3154516" role="listitem">Select an 
object using a single click.</paragraph>
+    <paragraph id="par_id3154516" role="listitem">Select an object using a 
single click.</paragraph>
    </listitem>
    <listitem>
-    <paragraph xml-lang="en-US" id="par_id3153561" role="listitem">Drag the 
object into the document, or right-click to open the context menu and select 
<emph>Insert</emph>.</paragraph>
+    <paragraph id="par_id3153561" role="listitem">Drag the object into the 
document, or right-click to open the context menu and select 
<emph>Insert</emph>.</paragraph>
    </listitem>
   </list>
   <h2 id="hd_id561711644566506">Replacing an object in a document</h2>
   <h3 id="hd_id511711975545500">By dragging and dropping</h3>
   <list type="ordered">
    <listitem>
-    <paragraph xml-lang="en-US" id="par_id741711644406741" 
role="listitem">Open the <menuitem>Gallery</menuitem>.</paragraph>
+    <paragraph id="par_id741711644406741" role="listitem">Open the 
<menuitem>Gallery</menuitem>.</paragraph>
    </listitem>
    <listitem>
      <paragraph role="paragraph" id="par_id111711644455162">Select a 
theme.</paragraph>
@@ -104,16 +99,16 @@
    <h2 id="hd_id3156282">Inserting an object as a background graphic</h2>
   <list type="ordered">
    <listitem>
-    <paragraph xml-lang="en-US" id="par_id3152920" role="listitem">Open the 
<menuitem>Gallery</menuitem>.</paragraph>
+    <paragraph id="par_id3152920" role="listitem">Open the 
<menuitem>Gallery</menuitem>.</paragraph>
    </listitem>
    <listitem>
-    <paragraph xml-lang="en-US" id="par_id3151041" role="listitem">Select a 
theme.</paragraph>
+    <paragraph id="par_id3151041" role="listitem">Select a theme.</paragraph>
    </listitem>
    <listitem>
-    <paragraph xml-lang="en-US" id="par_id3145607" role="listitem">Select an 
object by a single click.</paragraph>
+    <paragraph id="par_id3145607" role="listitem">Select an object by a single 
click.</paragraph>
    </listitem>
    <listitem>
-    <paragraph xml-lang="en-US" id="par_id3147289" role="listitem">Open the 
context menu and choose <emph>Insert - Background - Page</emph> or <emph>Insert 
- Background - Paragraph</emph>.</paragraph>
+    <paragraph id="par_id3147289" role="listitem">Open the context menu and 
choose <emph>Insert - Background - Page</emph> or <emph>Insert - Background - 
Paragraph</emph>.</paragraph>
    </listitem>
   </list>
   <note id="par_id171711643080652">The option to insert an object as a 
background image is only available in %PRODUCTNAME Writer.</note>
diff --git a/source/text/simpress/main0203.xhp 
b/source/text/simpress/main0203.xhp
index 761814b446..8a3ea7d30b 100644
--- a/source/text/simpress/main0203.xhp
+++ b/source/text/simpress/main0203.xhp
@@ -53,9 +53,9 @@
       <embed href="text/shared/01/05080400.xhp#block"/>
       <embed href="text/shared/00/00040502.xhp#syblocksatz"/>
       <embed href="text/shared/02/03110000.xhp#increase_spacing"/>
-      <embed href="text/shared/02/03110000.xhp#syincrease_spacing"/>
+      <embed href="text/shared/00/00040502.xhp#syincrease_spacing"/>
       <embed href="text/shared/02/03120000.xhp#decrease_spacing"/>
-      <embed href="text/shared/02/03120000.xhp#sydecrease_spacing"/>
+      <embed href="text/shared/00/00040502.xhp#sydecrease_spacing"/>
 <switch select="appl">
 <case select="DRAW">
       <embed href="text/shared/01/05120100.xhp#lines1"/>
diff --git a/source/text/swriter/guide/insert_graphic_fromchart.xhp 
b/source/text/swriter/guide/insert_graphic_fromchart.xhp
index 649e721c55..e9c72dff27 100644
--- a/source/text/swriter/guide/insert_graphic_fromchart.xhp
+++ b/source/text/swriter/guide/insert_graphic_fromchart.xhp
@@ -21,40 +21,39 @@
 
 
 <meta>
-      <topic id="textswriterguideinsert_graphic_fromchartxml" indexer="include"
-             status="PUBLISH">
-         <title xml-lang="en-US" id="tit">Inserting a Calc Chart into a Text 
Document</title>
+      <topic id="textswriterguideinsert_graphic_fromchartxml" 
indexer="include" status="PUBLISH">
+         <title id="tit">Inserting a Calc Chart into a Text Document</title>
          <filename>/text/swriter/guide/insert_graphic_fromchart.xhp</filename>
       </topic>
    </meta>
    <body>
-<bookmark xml-lang="en-US" branch="index" 
id="bm_id3152999"><bookmark_value>charts;copying from Calc into 
Writer</bookmark_value>
+<bookmark branch="index" id="bm_id3152999"><bookmark_value>charts;copying from 
Calc into Writer</bookmark_value>
       <bookmark_value>copying; charts from $[officename] Calc</bookmark_value>
       <bookmark_value>text documents;inserting Calc charts</bookmark_value>
 </bookmark>
-<paragraph xml-lang="en-US" id="hd_id3152999" role="heading" 
level="1"><variable id="insert_graphic_fromchart"><link 
href="text/swriter/guide/insert_graphic_fromchart.xhp">Inserting a Calc Chart 
into a Text Document</link>
-</variable></paragraph>
-      <paragraph xml-lang="en-US" id="par_id3155890" role="paragraph">You can 
insert a copy of a chart that is not updated when you modify the chart data in 
the spreadsheet.</paragraph>
+<h1 id="hd_id3152999"><variable id="insert_graphic_fromchart"><link 
href="text/swriter/guide/insert_graphic_fromchart.xhp">Inserting a Calc Chart 
into a Text Document</link>
+</variable></h1>
+      <paragraph id="par_id3155890" role="paragraph">You can insert a copy of 
a chart that is not updated when you modify the chart data in the 
spreadsheet.</paragraph>
       <list type="ordered">
          <listitem>
-            <paragraph xml-lang="en-US" id="par_id3149054" 
role="listitem">Open the text document that you want to copy the chart 
to.</paragraph>
+            <paragraph id="par_id3149054" role="listitem">Open the text 
document that you want to copy the chart to.</paragraph>
          </listitem>
          <listitem>
-            <paragraph xml-lang="en-US" id="par_id3155854" 
role="listitem">Open the spreadsheet containing the chart that you want to 
copy.</paragraph>
+            <paragraph id="par_id3155854" role="listitem">Open the spreadsheet 
containing the chart that you want to copy.</paragraph>
          </listitem>
          <listitem>
-            <paragraph xml-lang="en-US" id="par_id3153396" role="listitem">In 
the spreadsheet, click the chart. Eight handles appear.</paragraph>
+            <paragraph id="par_id3153396" role="listitem">In the spreadsheet, 
click the chart. Eight handles appear.</paragraph>
          </listitem>
          <listitem>
-            <paragraph xml-lang="en-US" id="par_id3153414" 
role="listitem">Drag the chart from the spreadsheet to the text 
document.</paragraph>
+            <paragraph id="par_id3153414" role="listitem">Drag the chart from 
the spreadsheet to the text document.</paragraph>
          </listitem>
       </list>
-      <paragraph xml-lang="en-US" id="par_id3145102" role="paragraph">You can 
resize and move the chart in the text document as you would any object. To edit 
the chart data, double-click the chart.</paragraph>
+      <paragraph id="par_id3145102" role="paragraph">You can resize and move 
the chart in the text document as you would any object. To edit the chart data, 
double-click the chart.</paragraph>
 
 <section id="relatedtopics">
       <embed href="text/swriter/guide/insert_graphic.xhp#insert_graphic"/>
       <embed 
href="text/swriter/guide/insert_graphic_dialog.xhp#insert_graphic_dialog"/>
-      <embed 
href="text/swriter/guide/insert_graphic_gallery.xhp#insert_graphic_gallery"/>
+      <embed href="text/shared/guide/gallery_insert.xhp#gallery_insert"/>
       <embed 
href="text/swriter/guide/insert_graphic_scan.xhp#insert_graphic_scan"/>
       <embed 
href="text/swriter/guide/insert_graphic_fromdraw.xhp#insert_graphic_fromdraw"/>
       <embed 
href="text/shared/guide/insert_graphic_drawit.xhp#insert_graphic_drawit"/>
diff --git a/source/text/swriter/main0202.xhp b/source/text/swriter/main0202.xhp
index c6500f7129..1f501a63b3 100644
--- a/source/text/swriter/main0202.xhp
+++ b/source/text/swriter/main0202.xhp
@@ -20,15 +20,15 @@
 
 <meta>
       <topic id="textswritermain0202xml" indexer="include" status="PUBLISH">
-         <title xml-lang="en-US" id="tit">Formatting Bar</title>
+         <title id="tit">Formatting Bar</title>
          <filename>/text/swriter/main0202.xhp</filename>
       </topic>
    </meta>
    <body>
      <bookmark 
branch="hid/.uno:AvailableToolbars?Toolbar:string=textobjectbar" 
id="bm_id631690936585399" localize="false"/>
       <section id="formatting_bar">
-<h1 xml-lang="en-US" id="hd_id3154270"><link 
href="text/swriter/main0202.xhp">Formatting Bar</link></h1>
-         <paragraph xml-lang="en-US" id="par_id3147762" role="paragraph">The 
Formatting bar contains several text formatting functions.</paragraph>
+<h1 id="hd_id3154270"><link href="text/swriter/main0202.xhp">Formatting 
Bar</link></h1>
+         <paragraph id="par_id3147762" role="paragraph">The Formatting bar 
contains several text formatting functions.</paragraph>
       </section>
       <embed href="text/shared/02/01230000.xhp#stylist"/>
       <embed href="text/shared/00/00040500.xhp#systylist"/>
@@ -59,54 +59,54 @@
       <embed href="text/swriter/02/06040000.xhp#nolist"/>
       <embed href="text/swriter/02/06040000.xhp#synolist"/>
       <embed href="text/shared/02/02130000.xhp#indentdecrease"/>
-      <embed href="text/shared/02/02130000.xhp#indentdecreaseicon"/>
+      <embed href="text/shared/00/00040502.xhp#sydecrease_ident"/>
       <embed href="text/shared/02/02140000.xhp#indentincrease"/>
-      <embed href="text/shared/02/02140000.xhp#indentincreaseicon"/>
-      <h2 xml-lang="en-US" id="hd_id3149593"><link 
href="text/shared/01/05020200.xhp#FontColor">Font Color</link></h2>
+      <embed href="text/shared/00/00040502.xhp#syincrease_ident"/>
+      <h2 id="hd_id3149593"><link 
href="text/shared/01/05020200.xhp#FontColor">Font Color</link></h2>
       <embed href="text/shared/01/05020200.xhp#textfarbe"/>
       <embed href="text/shared/00/00000004.xhp#syfont_color"/>
       <embed href="text/shared/02/02160000.xhp#character_highlight"/>
       <embed href="text/shared/02/02160000.xhp#sycharacter_highlight"/>
       <embed href="text/shared/02/02170000.xhp#background_color"/>
       <embed href="text/shared/02/02170000.xhp#sybackground_color"/>
-      <h2 xml-lang="en-US" id="hd_id3149887">Additional icons</h2>
-<h2 xml-lang="en-US" id="hd_id0122200903085320">Increase Font</h2>
+      <h2 id="hd_id3149887">Additional icons</h2>
+<h2 id="hd_id0122200903085320">Increase Font</h2>
 <section id="increasesize">
-      <bookmark xml-lang="en-US" branch="hid/.uno:Grow" 
id="bm_id0122200902451213" localize="false"/>
-      <paragraph xml-lang="en-US" id="par_id0122200903085371" 
role="paragraph"><ahelp hid=".">Increases the font size of the selected 
text.</ahelp></paragraph>
+      <bookmark branch="hid/.uno:Grow" id="bm_id0122200902451213" 
localize="false"/>
+      <paragraph id="par_id0122200903085371" role="paragraph"><ahelp 
hid=".">Increases the font size of the selected text.</ahelp></paragraph>
 </section>
-<h2 xml-lang="en-US" id="hd_id012220090308532">Reduce Font</h2>
+<h2 id="hd_id012220090308532">Reduce Font</h2>
 <section id="decreasesize">
-      <bookmark xml-lang="en-US" branch="hid/.uno:Shrink" 
id="bm_id0122200902452932" localize="false"/>
-      <paragraph xml-lang="en-US" id="par_id0122200903085351" 
role="paragraph"><ahelp hid=".">Reduces the font size of the selected 
text.</ahelp></paragraph>
+      <bookmark branch="hid/.uno:Shrink" id="bm_id0122200902452932" 
localize="false"/>
+      <paragraph id="par_id0122200903085351" role="paragraph"><ahelp 
hid=".">Reduces the font size of the selected text.</ahelp></paragraph>
 </section>
-      <paragraph xml-lang="en-US" id="par_id3149900" role="paragraph">If <link 
href="text/shared/00/00000005.xhp#ctl">CTL</link> support is enabled, two 
additional icons are visible.</paragraph>
-<bookmark xml-lang="en-US" branch="hid/.uno:ParaLeftToRight" id="bm_id2946959" 
localize="false"/>
-<h2 xml-lang="en-US" id="hd_id3149946">Left-To-Right</h2>
+      <paragraph id="par_id3149900" role="paragraph">If <link 
href="text/shared/00/00000005.xhp#ctl">CTL</link> support is enabled, two 
additional icons are visible.</paragraph>
+<bookmark branch="hid/.uno:ParaLeftToRight" id="bm_id2946959" 
localize="false"/>
+<h2 id="hd_id3149946">Left-To-Right</h2>
       <table id="tbl_id2270882">
          <tablerow>
             <tablecell>
-               <paragraph xml-lang="en-US" id="par_idN10784" 
role="tablecontent">
-<image id="img_id8354747" src="cmd/sc_paralefttoright.png" width="1cm" 
height="1cm"><alt xml-lang="en-US" id="alt_id8354747">left to right icon</alt>
+               <paragraph id="par_idN10784" role="tablecontent">
+<image id="img_id8354747" src="cmd/sc_paralefttoright.png" width="1cm" 
height="1cm"><alt id="alt_id8354747">left to right icon</alt>
        </image></paragraph>
             </tablecell>
             <tablecell>
-               <paragraph xml-lang="en-US" id="par_id3149964" 
role="paragraph"><ahelp hid=".uno:ParaLeftToRight">The text is entered from 
left to right.</ahelp></paragraph>
+               <paragraph id="par_id3149964" role="paragraph"><ahelp 
hid=".uno:ParaLeftToRight">The text is entered from left to 
right.</ahelp></paragraph>
             </tablecell>
          </tablerow>
       </table>
 
-<bookmark xml-lang="en-US" branch="hid/.uno:ParaRightToLeft" id="bm_id25480" 
localize="false"/>
-<h2 xml-lang="en-US" id="hd_id3147300">Right-To-Left</h2>
+<bookmark branch="hid/.uno:ParaRightToLeft" id="bm_id25480" localize="false"/>
+<h2 id="hd_id3147300">Right-To-Left</h2>
       <table id="tbl_id3011566">
          <tablerow>
             <tablecell>
-               <paragraph xml-lang="en-US" id="par_idN107DF" 
role="tablecontent">
-<image id="img_id2405774" src="cmd/sc_pararighttoleft.png" width="1cm" 
height="1cm"><alt xml-lang="en-US" id="alt_id2405774">right to left icon</alt>
+               <paragraph id="par_idN107DF" role="tablecontent">
+<image id="img_id2405774" src="cmd/sc_pararighttoleft.png" width="1cm" 
height="1cm"><alt id="alt_id2405774">right to left icon</alt>
        </image></paragraph>
             </tablecell>
             <tablecell>
-               <paragraph xml-lang="en-US" id="par_id3147625" 
role="paragraph"><ahelp hid=".uno:ParaRightToLeft">The text formatted in a 
complex text layout language is entered from right to left.</ahelp></paragraph>
+               <paragraph id="par_id3147625" role="paragraph"><ahelp 
hid=".uno:ParaRightToLeft">The text formatted in a complex text layout language 
is entered from right to left.</ahelp></paragraph>
             </tablecell>
          </tablerow>
       </table>

Reply via email to