AllLangHelp_shared.mk                    |    1 
 source/text/shared/00/00040502.xhp       |   17 +++++++++++++
 source/text/shared/01/SmallCaps.xhp      |   29 ++++++++++++++++++++++
 source/text/shared/menu/submenu_text.xhp |   40 ++++++-------------------------
 4 files changed, 56 insertions(+), 31 deletions(-)

New commits:
commit ad8d101fec688539999cab824616f990a2cb0293
Author:     Olivier Hallot <[email protected]>
AuthorDate: Mon Jan 22 09:47:12 2024 -0300
Commit:     Olivier Hallot <[email protected]>
CommitDate: Mon Jan 22 20:20:19 2024 +0100

    tdf#155875 UI cmds Format Text (cont)
    
    + Small Capitals
    + Patch in advance of fixing bugs tdf#149409 and tdf#157358
    + refactoring
    
    Change-Id: Ibfc5bc8d0d9a3474914950232362ef94d2804880
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/162397
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <[email protected]>

diff --git a/AllLangHelp_shared.mk b/AllLangHelp_shared.mk
index 3f45ab5266..770d602990 100644
--- a/AllLangHelp_shared.mk
+++ b/AllLangHelp_shared.mk
@@ -419,6 +419,7 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,shared,\
     helpcontent2/source/text/shared/01/search_commands \
     helpcontent2/source/text/shared/01/Shrink \
     helpcontent2/source/text/shared/01/SignaturesMenu \
+    helpcontent2/source/text/shared/01/SmallCaps \
     helpcontent2/source/text/shared/01/SpellOnline \
     helpcontent2/source/text/shared/01/select_template_category \
     helpcontent2/source/text/shared/01/signexistingpdf \
diff --git a/source/text/shared/00/00040502.xhp 
b/source/text/shared/00/00040502.xhp
index d3f33fc152..f1c76facc2 100644
--- a/source/text/shared/00/00040502.xhp
+++ b/source/text/shared/00/00040502.xhp
@@ -746,6 +746,23 @@
             </default>
         </switch>
     </section>
+    <section id="small_caps">
+        <embed href="text/shared/00/00000004.xhp#from_menu_bar"/>
+        <paragraph role="paragraph" id="par_id111705924730030">Choose 
<menuitem>Format - Text - Small Capitals</menuitem>.</paragraph>
+        <embed href="text/shared/00/00000004.xhp#from_toolbars"/>
+        <table id="tab_id911705924585991">
+            <tablerow>
+                <tablecell>
+                    <paragraph id="par_id371705924585992" 
role="paragraph"><image src="cmd/lc_smallcaps.svg" id="img_id861705924585993" 
width="1cm"  height="1cm"><alt id="alt_id71705924585994">Icon Small 
Capitals</alt></image></paragraph>
+                </tablecell>
+                <tablecell>
+                    <paragraph id="par_id521705924585996" 
role="paragraph">Small Capitals</paragraph>
+                </tablecell>
+            </tablerow>
+        </table>
+        <embed href="text/shared/00/00000004.xhp#from_keyboard"/>
+        <paragraph role="paragraph" id="par_id111705924648381"><switchinline 
select="sys"><caseinline 
select="MAC"><keycode>Command</keycode></caseinline><defaultinline><keycode>Ctrl</keycode></defaultinline></switchinline><keycode>
 + Shift + K</keycode></paragraph>
+    </section>
     <section id="line_spacing">
         <paragraph id="par_id3155377" role="paragraph">Choose <menuitem>Format 
- Spacing</menuitem>.</paragraph>
     </section>
diff --git a/source/text/shared/01/SmallCaps.xhp 
b/source/text/shared/01/SmallCaps.xhp
new file mode 100644
index 0000000000..06726e1447
--- /dev/null
+++ b/source/text/shared/01/SmallCaps.xhp
@@ -0,0 +1,29 @@
+<?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="text/shared/01/SmallCaps.xhp" indexer="include" 
status="PUBLISH">
+            <title id="tit">Small Capitals</title>
+            <filename>/text/shared/01/SmallCaps.xhp</filename>
+        </topic>
+    </meta>
+    <body>
+<bookmark branch="hid/.uno:SmallCaps" id="bm_id931705923303872" 
localize="false"/>
+<section id="smallcaps">
+    <h1 id="hd_id841705923599329"><variable id="h1"><link 
href="text/shared/01/SmallCaps.xhp">Small Capitals</link></variable></h1>
+    <paragraph id="par_id411705923599333" role="paragraph">Changes the 
selected lowercase characters to uppercase characters, and then reduces their 
size.</paragraph>
+</section>
+<section id="howtoget">
+    <embed href="text/shared/00/00040502.xhp#small_caps"/>
+</section>
+<paragraph role="paragraph" id="par_id431705924832715">If the cursor is not in 
a word, the new text that you enter is written in small capitals.</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/shared/menu/submenu_text.xhp 
b/source/text/shared/menu/submenu_text.xhp
index 01ef2be982..92745bbb89 100644
--- a/source/text/shared/menu/submenu_text.xhp
+++ b/source/text/shared/menu/submenu_text.xhp
@@ -24,14 +24,10 @@
         </topic>
 </meta>
 <body>
+<bookmark branch="hid/.uno:FormatTextMenu" id="bm_id335519659183788" 
localize="false"/>
 <section id="submenu_text">
-    <bookmark branch="hid/.uno:FormatTextMenu" id="bm_id335519659183788" 
localize="false"/>
-    <h1 id="hd_id411816022675978">
-        <link href="text/shared/menu/submenu_text.xhp">Text</link>
-    </h1>
-    <paragraph role="paragraph" id="par_id398855439580083">
-        <ahelp hid=".">Opens a submenu where you can choose text formatting 
commands.</ahelp>
-    </paragraph>
+    <h1 id="hd_id411816022675978"><link 
href="text/shared/menu/submenu_text.xhp">Text</link></h1>
+    <paragraph role="paragraph" id="par_id398855439580083"><ahelp 
hid=".">Opens a submenu where you can choose text formatting 
commands.</ahelp></paragraph>
 </section>
 <section id="howtoget">
     <embed href="text/shared/00/00040500.xhp#submenu_text"/>
@@ -70,30 +66,12 @@
 <embed href="text/shared/01/ChangeCaseToToggleCase.xhp#toggle_case"/>
 
 <switch select="appl">
-    <case select="WRITER">
-        <h2 id="hd_id342778277179117">
-            <link href="text/shared/01/05020200.xhp#hd_id3149575">Small 
capitals</link>
-        </h2>
-        <paragraph role="paragraph" id="par_id681953548674188" 
localize="false">
-            <embedvar href="text/shared/01/05020200.xhp#smallcapitals"/>
-        </paragraph>
-    </case>
-    <case select="IMPRESS">
-        <h2 id="hd_id442778277179117">
-            <link href="text/shared/01/05020200.xhp#hd_id3149575">Small 
capitals</link>
-        </h2>
-        <paragraph role="paragraph" id="par_id781953548674188" 
localize="false">
-            <embedvar href="text/shared/01/05020200.xhp#smallcapitals"/>
-        </paragraph>
-    </case>
-    <case select="DRAW">
-        <h2 id="hd_id542778277179117">
-            <link href="text/shared/01/05020200.xhp#hd_id3149575">Small 
capitals</link>
-        </h2>
-        <paragraph role="paragraph" id="par_id881953548674188" 
localize="false">
-            <embedvar href="text/shared/01/05020200.xhp#smallcapitals"/>
-        </paragraph>
-    </case>
+    <case select="CALC"></case>
+    <case select="MATH"></case>
+    <case select="BASE"></case>
+    <default>
+        <embed href="text/shared/01/SmallCaps.xhp#smallcaps"/>
+    </default>
 </switch>
 <embed href="text/shared/00/00000007.xhp#asia"/>
 <bookmark branch="hid/.uno:ChangeCaseToHalfWidth" id="bm_id3154288" 
localize="false"/>

Reply via email to