AllLangHelp_shared.mk                 |    2 +
 source/text/scalc/main0202.xhp        |   32 ++---------------
 source/text/shared/01/LeftToRight.xhp |   63 ++++++++++++++++++++++++++++++++++
 source/text/shared/01/RightToLeft.xhp |   63 ++++++++++++++++++++++++++++++++++
 source/text/swriter/main0202.xhp      |   35 ++----------------
 5 files changed, 137 insertions(+), 58 deletions(-)

New commits:
commit 5fb6ba7d66d194949fea559d9afced94bad04f8c
Author:     Olivier Hallot <olivier.hal...@libreoffice.org>
AuthorDate: Mon Sep 23 10:05:50 2024 -0300
Commit:     Olivier Hallot <olivier.hal...@libreoffice.org>
CommitDate: Mon Sep 23 15:09:46 2024 +0200

    tdf#162607 disambiguate hid2file.js, RTL/LTR
    
    + Created files for uno:ParaRightToLeft and uno:ParaLeftToRight commands
    + Adjust embeds and links, how to get
    
    Change-Id: Ide954868ecaa513c439d4950b097aefa96ffb69a
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/173814
    Reviewed-by: Olivier Hallot <olivier.hal...@libreoffice.org>
    Tested-by: Jenkins

diff --git a/AllLangHelp_shared.mk b/AllLangHelp_shared.mk
index f13e46d638..059b30251d 100644
--- a/AllLangHelp_shared.mk
+++ b/AllLangHelp_shared.mk
@@ -373,6 +373,7 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,shared,\
     helpcontent2/source/text/shared/01/InsertRowsAfter \
     helpcontent2/source/text/shared/01/InsertRowsBefore \
     helpcontent2/source/text/shared/01/insert_table \
+    helpcontent2/source/text/shared/01/LeftToRight \
     helpcontent2/source/text/shared/01/mediaplayer \
     helpcontent2/source/text/shared/01/menu_edit_find \
     helpcontent2/source/text/shared/01/menu_view_sidebar \
@@ -411,6 +412,7 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,shared,\
     helpcontent2/source/text/shared/01/ref_pdf_export_universal_accessibility \
     helpcontent2/source/text/shared/01/ref_pdf_send_as \
     helpcontent2/source/text/shared/01/replace_image \
+    helpcontent2/source/text/shared/01/RightToLeft \
     helpcontent2/source/text/shared/01/save_graphic \
     helpcontent2/source/text/shared/01/scrollbars \
     helpcontent2/source/text/shared/01/securitywarning \
diff --git a/source/text/scalc/main0202.xhp b/source/text/scalc/main0202.xhp
index a242cb94b5..dde9078991 100644
--- a/source/text/scalc/main0202.xhp
+++ b/source/text/scalc/main0202.xhp
@@ -86,34 +86,10 @@
 
 <h2 id="par_idN10871">Additional icons</h2>
 <paragraph role="paragraph" id="par_idN10875">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_id3149957" 
localize="false"/>
-<h2 id="par_idN1088E">Left-To-Right</h2>
-<table id="tbl_id2270882">
-<tablerow>
-<tablecell>
-<paragraph role="tablecontent" id="par_idN1089C">
-<image id="img_id8354747" src="cmd/sc_paralefttoright.svg" width="1cm" 
height="1cm"><alt id="alt_id8354747">left to right icon</alt>
-       </image></paragraph>
-</tablecell>
-<tablecell>
-<paragraph role="paragraph" id="par_idN108BA"><ahelp 
hid=".uno:ParaLeftToRight">The text is entered from left to 
right.</ahelp></paragraph>
-</tablecell>
-</tablerow>
-</table>
-<bookmark branch="hid/.uno:ParaRightToLeft" id="bm_id3147311" 
localize="false"/>
-<h2 id="par_idN108D1">Right-To-Left</h2>
-<table id="tbl_id3011566">
-<tablerow>
-<tablecell>
-<paragraph role="tablecontent" id="par_idN108DF">
-<image id="img_id2405774" src="cmd/sc_pararighttoleft.svg" width="1cm" 
height="1cm"><alt id="alt_id2405774">right to left icon</alt>
-       </image></paragraph>
-</tablecell>
-<tablecell>
-<paragraph role="paragraph" id="par_idN108FD"><ahelp 
hid=".uno:ParaRightToLeft">The text formatted in a complex text layout language 
is entered from right to left.</ahelp></paragraph>
-</tablecell>
-</tablerow>
-</table>
+<embed href="text/shared/01/LeftToRight.xhp#lefttoright"/>
+<embed href="text/shared/01/LeftToRight.xhp#sy_lefttoright"/>
+<embed href="text/shared/01/RightToLeft.xhp#righttoleft"/>
+<embed href="text/shared/01/RightToLeft.xhp#sy_righttoleft"/>
 <comment>UFI: inserted .uno:Align... help ids here, had to be removed from 
shared/01/05340300.xhp</comment>
 <!--<bookmark branch="hid/.uno:AlignLeft" id="bm_id3856013" 
localize="false"/>-->
 <paragraph role="paragraph" id="par_id192266"><ahelp hid=".uno:AlignLeft" 
visibility="hidden">Aligns the contents of the cell to the 
left.</ahelp></paragraph>
diff --git a/source/text/shared/01/LeftToRight.xhp 
b/source/text/shared/01/LeftToRight.xhp
new file mode 100644
index 0000000000..b5c0ac4308
--- /dev/null
+++ b/source/text/shared/01/LeftToRight.xhp
@@ -0,0 +1,63 @@
+<?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="textshared01LeftToRightxhp" indexer="include" 
status="PUBLISH">
+        <title id="tit">Left to Right</title>
+        <filename>/text/shared/01/LeftToRight.xhp</filename>
+    </topic>
+</meta>
+<body>
+<bookmark branch="hid/.uno:ParaLeftToRight" id="bm_id25480" localize="false"/>
+<bookmark branch="index" id="bm_id11727093662462">
+    <bookmark_value>left to right;text</bookmark_value>
+    <bookmark_value>text;left to right</bookmark_value>
+</bookmark>
+<section id="lefttoright">
+    <h1 id="hd_id401727093250675"><variable id="h1"><link 
href="text/shared/01/LeftToRight.xhp">Left to Right</link></variable></h1>
+    <paragraph id="par_id311727093250677" role="paragraph">The text is entered 
from left to right.</paragraph>
+</section>
+<section id="howtoget">
+    <embed href="text/shared/00/00000004.xhp#from_menu_bar"/>
+    <paragraph role="paragraph" id="par_id141727093886080">Choose 
<menuitem>Format - Paragraph - Alignment</menuitem> tab, choose 
<menuitem>Properties - Left to Right (LTR)</menuitem>.</paragraph>
+    <embed href="text/shared/00/00000004.xhp#from_tabUI"/>
+    <paragraph role="paragraph" id="par_id501727094375257">On the 
<menuitem>Home</menuitem> menu of the <menuitem>Home</menuitem> tab, choose 
<menuitem>Left to Right</menuitem>.</paragraph>
+    <embed href="text/shared/00/00000004.xhp#from_toolbars"/>
+    <section id="sy_lefttoright">
+        <table id="tbl_id3011566">
+            <tablerow>
+                <tablecell>
+                    <paragraph role="tablecontent" id="par_idN108DF">
+                        <image id="img_id2405774" 
src="cmd/lc_paralefttoright.svg" width="1cm" height="1cm"><alt 
id="alt_id2405774">left to right icon</alt></image></paragraph>
+                </tablecell>
+                <tablecell>
+                    <paragraph role="paragraph" id="par_idN108FD">Left to 
Right</paragraph>
+                </tablecell>
+            </tablerow>
+        </table>
+    </section>
+    <embed href="text/shared/00/00000004.xhp#from_keyboard"/>
+    <paragraph role="paragraph" id="par_id91727093483888"><switchinline 
select="sys"><caseinline 
select="MAC"><keycode>Command</keycode></caseinline><defaultinline><keycode>Ctrl</keycode></defaultinline></switchinline><keycode>
 + Shift + A</keycode></paragraph>
+    <embed href="text/shared/00/00000004.xhp#from_sidebar"/>
+    <switch select="appl">
+        <case select="CALC">
+            <paragraph role="paragraph" id="par_id141727094285347">Open the 
<menuitem>Alignment</menuitem> panel of the <menuitem>Properties</menuitem> 
deck, choose <menuitem>Left to Right</menuitem>.</paragraph>
+        </case>
+        <default>
+            <paragraph role="paragraph" id="par_id421727093582198">Open the 
<menuitem>Paragraph</menuitem> panel of the <menuitem>Properties</menuitem> 
deck, choose <menuitem>Left to Right</menuitem>.</paragraph>
+        </default>
+    </switch>
+</section>
+<section id="relatedtopics">
+    <paragraph role="paragraph" id="par_id541727095289819"><link 
href="text/shared/optionen/01140000.xhp">Language settings</link></paragraph>
+</section>
+</body>
+</helpdocument>
diff --git a/source/text/shared/01/RightToLeft.xhp 
b/source/text/shared/01/RightToLeft.xhp
new file mode 100644
index 0000000000..a58f1d8240
--- /dev/null
+++ b/source/text/shared/01/RightToLeft.xhp
@@ -0,0 +1,63 @@
+<?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="textshared01RightToLeftxhp" indexer="include" 
status="PUBLISH">
+        <title id="tit">Right to Left</title>
+        <filename>/text/shared/01/RightToLeft.xhp</filename>
+    </topic>
+</meta>
+<body>
+<bookmark branch="hid/.uno:ParaRightToLeft" id="bm_id25480" localize="false"/>
+<bookmark branch="index" id="bm_id11727093662462">
+    <bookmark_value>right to left;text</bookmark_value>
+    <bookmark_value>text;right to left</bookmark_value>
+</bookmark>
+<section id="righttoleft">
+    <h1 id="hd_id401727093250675"><variable id="h1"><link 
href="text/shared/01/RightToLeft.xhp">Right to Left</link></variable></h1>
+    <paragraph id="par_id311727093250677" role="paragraph">The text formatted 
in a complex text layout language is entered from right to left.</paragraph>
+</section>
+<section id="howtoget">
+    <embed href="text/shared/00/00000004.xhp#from_menu_bar"/>
+    <paragraph role="paragraph" id="par_id141727093886080">Choose 
<menuitem>Format - Paragraph - Alignment</menuitem> tab, choose 
<menuitem>Properties - Right to Left (RTL)</menuitem>.</paragraph>
+    <embed href="text/shared/00/00000004.xhp#from_tabUI"/>
+    <paragraph role="paragraph" id="par_id501727094375257">On the 
<menuitem>Home</menuitem> menu of the <menuitem>Home</menuitem> tab, choose 
<menuitem>Right to Left</menuitem>.</paragraph>
+    <embed href="text/shared/00/00000004.xhp#from_toolbars"/>
+    <section id="sy_righttoleft">
+        <table id="tbl_id3011566">
+            <tablerow>
+                <tablecell>
+                    <paragraph role="tablecontent" id="par_idN108DF">
+                        <image id="img_id2405774" 
src="cmd/lc_pararighttoleft.svg" width="1cm" height="1cm"><alt 
id="alt_id2405774">right to left icon</alt></image></paragraph>
+                </tablecell>
+                <tablecell>
+                    <paragraph role="paragraph" id="par_idN108FD">Right to 
Left</paragraph>
+                </tablecell>
+            </tablerow>
+        </table>
+    </section>
+    <embed href="text/shared/00/00000004.xhp#from_keyboard"/>
+    <paragraph role="paragraph" id="par_id91727093483888"><switchinline 
select="sys"><caseinline 
select="MAC"><keycode>Command</keycode></caseinline><defaultinline><keycode>Ctrl</keycode></defaultinline></switchinline><keycode>
 + Shift + D</keycode></paragraph>
+    <embed href="text/shared/00/00000004.xhp#from_sidebar"/>
+    <switch select="appl">
+        <case select="CALC">
+            <paragraph role="paragraph" id="par_id141727094285347">Open the 
<menuitem>Alignment</menuitem> panel of the <menuitem>Properties</menuitem> 
deck, choose <menuitem>Right to Left</menuitem>.</paragraph>
+        </case>
+        <default>
+            <paragraph role="paragraph" id="par_id421727093582198">Open the 
<menuitem>Paragraph</menuitem> panel of the <menuitem>Properties</menuitem> 
deck, choose <menuitem>Right to Left</menuitem>.</paragraph>
+        </default>
+    </switch>
+</section>
+<section id="relatedtopics">
+    <paragraph role="paragraph" id="par_id541727095289819"><link 
href="text/shared/optionen/01140000.xhp">Language settings</link></paragraph>
+</section>
+</body>
+</helpdocument>
diff --git a/source/text/swriter/main0202.xhp b/source/text/swriter/main0202.xhp
index 5239ee0151..a41454313f 100644
--- a/source/text/swriter/main0202.xhp
+++ b/source/text/swriter/main0202.xhp
@@ -78,36 +78,11 @@
 <section id="decreasesize">
       <paragraph id="par_id0122200903085351" role="paragraph"><ahelp 
hid=".">Reduces the font size of the selected text.</ahelp></paragraph>
 </section>
-      <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 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 id="par_id3149964" role="paragraph"><ahelp 
hid=".uno:ParaLeftToRight">The text is entered from left to 
right.</ahelp></paragraph>
-            </tablecell>
-         </tablerow>
-      </table>
-
-<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 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 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>
+<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>
 
+<embed href="text/shared/01/LeftToRight.xhp#lefttoright"/>
+<embed href="text/shared/01/LeftToRight.xhp#sy_lefttoright"/>
+<embed href="text/shared/01/RightToLeft.xhp#righttoleft"/>
+<embed href="text/shared/01/RightToLeft.xhp#sy_righttoleft"/>
    </body>
 </helpdocument>

Reply via email to