AllLangHelp_shared.mk                              |    3 +
 source/text/shared/00/00040502.xhp                 |   39 +++++++++++++++++++++
 source/text/shared/01/ChangeCaseToSentenceCase.xhp |   33 +++++++++++++++++
 source/text/shared/01/ChangeCaseToTitleCase.xhp    |   33 +++++++++++++++++
 source/text/shared/01/ChangeCaseToToggleCase.xhp   |   33 +++++++++++++++++
 source/text/shared/menu/submenu_text.xhp           |   22 +----------
 6 files changed, 144 insertions(+), 19 deletions(-)

New commits:
commit 724ae7f9e32fcd76b317d64657f26f35e75cb0a8
Author:     Olivier Hallot <olivier.hal...@libreoffice.org>
AuthorDate: Sun Jan 21 23:42:11 2024 -0300
Commit:     Olivier Hallot <olivier.hal...@libreoffice.org>
CommitDate: Mon Jan 22 11:54:50 2024 +0100

    tdf#155875 UI cmds Format Text (cont)
    
    + Sentence case
    + Capitalize Every Word
    + toggle case
    + refactoring
    
    Change-Id: I0fca3dd2b2e272fa3efd0a983aa974fa2d730156
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/162358
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hal...@libreoffice.org>

diff --git a/AllLangHelp_shared.mk b/AllLangHelp_shared.mk
index 888dbfb869..3f45ab5266 100644
--- a/AllLangHelp_shared.mk
+++ b/AllLangHelp_shared.mk
@@ -340,6 +340,9 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,shared,\
     helpcontent2/source/text/shared/01/certificatepath \
     helpcontent2/source/text/shared/01/ChangeCaseRotateCase \
     helpcontent2/source/text/shared/01/ChangeCaseToLower \
+    helpcontent2/source/text/shared/01/ChangeCaseToSentenceCase \
+    helpcontent2/source/text/shared/01/ChangeCaseToTitleCase \
+    helpcontent2/source/text/shared/01/ChangeCaseToToggleCase \
     helpcontent2/source/text/shared/01/ChangeCaseToUpper \
     helpcontent2/source/text/shared/01/classificationbar \
     helpcontent2/source/text/shared/01/classificationdialog \
diff --git a/source/text/shared/00/00040502.xhp 
b/source/text/shared/00/00040502.xhp
index 9690770705..d3f33fc152 100644
--- a/source/text/shared/00/00040502.xhp
+++ b/source/text/shared/00/00040502.xhp
@@ -707,6 +707,45 @@
             </default>
         </switch>
     </section>
+    <section id="sentence_case">
+        <embed href="text/shared/00/00000004.xhp#from_menu_bar"/>
+        <paragraph role="paragraph" id="par_id331705888386454">Choose 
<menuitem>Format - Text - Sentence case</menuitem>.</paragraph>
+        <embed href="text/shared/00/00000004.xhp#from_tabUI"/>
+        <switch select="appl">
+            <case select="DRAW">
+                <paragraph role="paragraph" id="par_id691705888319240">On the 
<menuitem>Text</menuitem> menu of the <menuitem>Text</menuitem> tab, choose 
<menuitem>Sentence Case</menuitem>.</paragraph>
+            </case>
+            <default>
+                <paragraph role="paragraph" id="par_id231705888330093">On the 
<menuitem>Home</menuitem> menu of the <menuitem>Home</menuitem> tab, choose 
<menuitem>Sentence Case</menuitem>.</paragraph>
+            </default>
+        </switch>
+    </section>
+    <section id="capitalize">
+        <embed href="text/shared/00/00000004.xhp#from_menu_bar"/>
+        <paragraph role="paragraph" id="par_id441705888817805">Choose 
<menuitem>Format - Text - Capitalize Every Word</menuitem>.</paragraph>
+        <embed href="text/shared/00/00000004.xhp#from_tabUI"/>
+        <switch select="appl">
+            <case select="DRAW">
+                <paragraph role="paragraph" id="par_id601705888820669">On the 
<menuitem>Text</menuitem> menu of the <menuitem>Text</menuitem> tab, choose 
<menuitem>Capitalize Every Word</menuitem>.</paragraph>
+            </case>
+            <default>
+                <paragraph role="paragraph" id="par_id761705888823309">On the 
<menuitem>Home</menuitem> menu of the <menuitem>Home</menuitem> tab, choose 
<menuitem>Capitalize Every Word</menuitem>.</paragraph>
+            </default>
+        </switch>
+    </section>
+    <section id="toggle_case">
+        <embed href="text/shared/00/00000004.xhp#from_menu_bar"/>
+        <paragraph role="paragraph" id="par_id461705889208659">Choose 
<menuitem>Format - Text - tOGGLE cASE</menuitem>.</paragraph>
+        <embed href="text/shared/00/00000004.xhp#from_tabUI"/>
+        <switch select="appl">
+            <case select="DRAW">
+                <paragraph role="paragraph" id="par_id501705889211499">On the 
<menuitem>Text</menuitem> menu of the <menuitem>Text</menuitem> tab, choose 
<menuitem>tOGGLE cASE</menuitem>.</paragraph>
+            </case>
+            <default>
+                <paragraph role="paragraph" id="par_id331705889214563">On the 
<menuitem>Home</menuitem> menu of the <menuitem>Home</menuitem> tab, choose 
<menuitem>tOGGLE cASE</menuitem>.</paragraph>
+            </default>
+        </switch>
+    </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/ChangeCaseToSentenceCase.xhp 
b/source/text/shared/01/ChangeCaseToSentenceCase.xhp
new file mode 100644
index 0000000000..29135c0a82
--- /dev/null
+++ b/source/text/shared/01/ChangeCaseToSentenceCase.xhp
@@ -0,0 +1,33 @@
+<?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/ChangeCaseToSentenceCase.xhp" 
indexer="include" status="PUBLISH">
+            <title id="tit">Sentence Case</title>
+            <filename>/text/shared/01/ChangeCaseToSentenceCase.xhp</filename>
+        </topic>
+    </meta>
+<body>
+<bookmark branch="hid/SID_TRANSLITERATE_SENTENCE" id="bm_id7402005" 
localize="false"/>
+<bookmark branch="hid/.uno:ChangeCaseToSentenceCase" id="bm_id3149347" 
localize="false"/>
+<bookmark 
branch="hid/modules/sdraw/ui/notebookbar/MenuHome-ChangeCaseToSentenceCase1" 
id="bm_id111705888086589" localize="false"/>
+<bookmark 
branch="hid/modules/simpress/ui/notebookbar/MenuHome-ChangeCaseToSentenceCase" 
id="bm_id221705888091100" localize="false"/>
+<bookmark 
branch="hid/modules/scalc/ui/notebookbar/MenuHome-ChangeCaseToSentenceCase3" 
id="bm_id381705888094860" localize="false"/>
+<bookmark 
branch="hid/modules/swriter/ui/notebookbar/MenuHome-ChangeCaseToSentenceCase" 
id="bm_id711705888099402" localize="false"/>
+<section id="sentence_case">
+    <h1 id="hd_id301705887559954"><variable id="h1"><link 
href="text/shared/01/ChangeCaseToSentenceCase.xhp">Sentence 
Case</link></variable></h1>
+    <paragraph role="paragraph" id="par_id3150694"><ahelp hid=".">Changes the 
first letter of the selected characters to an uppercase 
character.</ahelp></paragraph>
+</section>
+<section id="howtoget">
+    <embed href="text/shared/00/00040502.xhp#sentence_case"/>
+</section>
+</body>
+</helpdocument>
diff --git a/source/text/shared/01/ChangeCaseToTitleCase.xhp 
b/source/text/shared/01/ChangeCaseToTitleCase.xhp
new file mode 100644
index 0000000000..0628db4ac3
--- /dev/null
+++ b/source/text/shared/01/ChangeCaseToTitleCase.xhp
@@ -0,0 +1,33 @@
+<?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/ChangeCaseToTitleCase.xhp" indexer="include" 
status="PUBLISH">
+            <title id="tit">Capitalize Every Word</title>
+            <filename>/text/shared/01/ChangeCaseToTitleCase.xhp</filename>
+        </topic>
+    </meta>
+<body>
+<bookmark branch="hid/SID_TRANSLITERATE_CAPITALIZE" id="bm_id7402014" 
localize="false"/>
+<bookmark branch="hid/.uno:ChangeCaseToTitleCase" id="bm_id781705889573728" 
localize="false"/>
+<bookmark 
branch="hid/modules/sdraw/ui/notebookbar/MenuHome-ChangeCaseToTitleCase1" 
id="bm_id591705889793309" localize="false"/>
+<bookmark 
branch="hid/modules/simpress/ui/notebookbar/MenuHome-ChangeCaseToTitleCase" 
id="bm_id121705889789266" localize="false"/>
+<bookmark 
branch="hid/modules/scalc/ui/notebookbar/MenuHome-ChangeCaseToTitleCase" 
id="bm_id201705889785242" localize="false"/>
+<bookmark 
branch="hid/modules/swriter/ui/notebookbar/MenuHome-ChangeCaseToTitleCase" 
id="bm_id491705889781130" localize="false"/>
+<section id="capitalize">
+    <h1 id="hd_id851705889651150"><variable id="h1"><link 
href="text/shared/01/ChangeCaseToTitleCase.xhp">Capitalize Every 
Word</link></variable></h1>
+    <paragraph id="par_id991705889651153" role="paragraph">Changes the first 
character of each selected word to an uppercase character.</paragraph>
+</section>
+<section id="howtoget">
+    <embed href="text/shared/00/00040502.xhp#capitalize"/>
+</section>
+</body>
+</helpdocument>
diff --git a/source/text/shared/01/ChangeCaseToToggleCase.xhp 
b/source/text/shared/01/ChangeCaseToToggleCase.xhp
new file mode 100644
index 0000000000..b03b399bc6
--- /dev/null
+++ b/source/text/shared/01/ChangeCaseToToggleCase.xhp
@@ -0,0 +1,33 @@
+<?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/ChangeCaseToToggleCase.xhp" 
indexer="include" status="PUBLISH">
+            <title id="tit">tOGGLE cASE</title>
+            <filename>/text/shared/01/ChangeCaseToToggleCase.xhp</filename>
+        </topic>
+    </meta>
+<body>
+<bookmark branch="hid/SID_TRANSLITERATE_TOGGLE" id="bm_id7402024" 
localize="false"/>
+<bookmark branch="hid/.uno:ChangeCaseToToggleCase" id="bm_id111705890347032" 
localize="false"/>
+<bookmark 
branch="hid/modules/swriter/ui/notebookbar/MenuHome-ChangeCaseToToggleCase" 
id="bm_id311705890660269" localize="false"/>
+<bookmark 
branch="hid/modules/scalc/ui/notebookbar/MenuHome-ChangeCaseToToggleCase" 
id="bm_id371705890664693" localize="false"/>
+<bookmark 
branch="hid/modules/simpress/ui/notebookbar/MenuHome-ChangeCaseToToggleCase" 
id="bm_id171705890668687" localize="false"/>
+<bookmark 
branch="hid/modules/sdraw/ui/notebookbar/MenuHome-ChangeCaseToToggleCase1" 
id="bm_id761705890672638" localize="false"/>
+<section id="toggle_case">
+    <h1 id="hd_id991705890420700"><variable id="h1"><link 
href="text/shared/01/ChangeCaseToToggleCase.xhp">tOGGLE 
cASE</link></variable></h1>
+    <paragraph role="paragraph" id="par_id3150623"><ahelp hid=".">Toggles case 
of all selected characters.</ahelp></paragraph>
+</section>
+<section id="howtoget">
+    <embed href="text/shared/00/00040502.xhp#toggle_case"/>
+</section>
+</body>
+</helpdocument>
diff --git a/source/text/shared/menu/submenu_text.xhp 
b/source/text/shared/menu/submenu_text.xhp
index a6c93ebb2b..01ef2be982 100644
--- a/source/text/shared/menu/submenu_text.xhp
+++ b/source/text/shared/menu/submenu_text.xhp
@@ -65,26 +65,10 @@
 <embed href="text/shared/01/ChangeCaseToUpper.xhp#to_upper"/>
 <embed href="text/shared/01/ChangeCaseToLower.xhp#to_lower"/>
 <embed href="text/shared/01/ChangeCaseRotateCase.xhp#cycle_case"/>
+<embed href="text/shared/01/ChangeCaseToSentenceCase.xhp#sentence_case"/>
+<embed href="text/shared/01/ChangeCaseToTitleCase.xhp#capitalize"/>
+<embed href="text/shared/01/ChangeCaseToToggleCase.xhp#toggle_case"/>
 
-<bookmark branch="hid/SID_TRANSLITERATE_SENTENCE" id="bm_id7402005" 
localize="false"/>
-<bookmark branch="hid/.uno:ChangeCaseToSentenceCase" id="bm_id3149347" 
localize="false"/>
-<h2 id="hd_id3147572">Sentence case</h2>
-<paragraph role="paragraph" id="par_id3150694">
-    <ahelp hid=".">Changes the first letter of the selected characters to an 
uppercase character.</ahelp>
-</paragraph>
-<bookmark branch="hid/SID_TRANSLITERATE_CAPITALIZE" id="bm_id7402014" 
localize="false"/>
-<h2 id="hd_id640520497868661">
-    <link href="text/shared/01/05020200.xhp#hd_id3149575">Capitalize Every 
Word</link>
-</h2>
-<paragraph role="paragraph" id="par_id581953548674188" localize="false">
-    <embedvar href="text/shared/01/05020200.xhp#capitalizeeveryword"/>
-</paragraph>
-<bookmark branch="hid/SID_TRANSLITERATE_TOGGLE" id="bm_id7402024" 
localize="false"/>
-<bookmark branch="hid/.uno:ChangeCaseToToggleCparagraphase" id="bm_id3149326" 
localize="false"/>
-<h2 id="hd_id3147521">tOGGLE cASE</h2>
-<paragraph role="paragraph" id="par_id3150623">
-    <ahelp hid=".">Toggles case of all selected characters.</ahelp>
-</paragraph>
 <switch select="appl">
     <case select="WRITER">
         <h2 id="hd_id342778277179117">

Reply via email to