AllLangHelp_shared.mk                     |    3 +
 source/text/shared/01/search_commands.xhp |   18 +++++++---
 source/text/shared/main0108.xhp           |   50 ++++++++++++++++--------------
 3 files changed, 42 insertions(+), 29 deletions(-)

New commits:
commit c4ef220076879c2e0061af81c62611068d2182b8
Author:     Olivier Hallot <olivier.hal...@libreoffice.org>
AuthorDate: Tue Oct 3 11:55:25 2023 -0300
Commit:     Olivier Hallot <olivier.hal...@libreoffice.org>
CommitDate: Tue Oct 3 22:40:36 2023 +0200

    tdf#155875 UI cmds Writer/Help in Help(48)
    
    + refactoring
    + Help part.
    
    Change-Id: I7ce7c293a283c62040f351816843a2f8f84ca9e4
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/157521
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hal...@libreoffice.org>

diff --git a/AllLangHelp_shared.mk b/AllLangHelp_shared.mk
index a0a5dd7f85..de64b91c49 100644
--- a/AllLangHelp_shared.mk
+++ b/AllLangHelp_shared.mk
@@ -407,12 +407,14 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,shared,\
     helpcontent2/source/text/shared/01/SelectTable \
     helpcontent2/source/text/shared/01/SetOptimalColumnWidth \
     helpcontent2/source/text/shared/01/SetOptimalRowHeight \
+    helpcontent2/source/text/shared/01/search_commands \
     helpcontent2/source/text/shared/01/SpellOnline \
     helpcontent2/source/text/shared/01/select_template_category \
     helpcontent2/source/text/shared/01/signexistingpdf \
     helpcontent2/source/text/shared/01/signsignatureline \
     helpcontent2/source/text/shared/01/StyleNewByExample \
     helpcontent2/source/text/shared/01/StyleUpdateByExample \
+    helpcontent2/source/text/shared/01/TipOfTheDay \
     helpcontent2/source/text/shared/01/themescolordialog \
     helpcontent2/source/text/shared/01/themesdialog \
     helpcontent2/source/text/shared/01/timestampauth \
@@ -910,7 +912,6 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,shared,\
     helpcontent2/source/text/shared/optionen/mailmerge \
     helpcontent2/source/text/shared/optionen/online_update \
     helpcontent2/source/text/shared/optionen/opencl \
-    helpcontent2/source/text/shared/optionen/search_commands \
     helpcontent2/source/text/shared/optionen/serverauthentication \
     helpcontent2/source/text/shared/optionen/testaccount \
     helpcontent2/source/text/shared/optionen/translatetools \
diff --git a/source/text/shared/optionen/search_commands.xhp 
b/source/text/shared/01/search_commands.xhp
similarity index 75%
rename from source/text/shared/optionen/search_commands.xhp
rename to source/text/shared/01/search_commands.xhp
index e82023f4f4..6077e0b371 100644
--- a/source/text/shared/optionen/search_commands.xhp
+++ b/source/text/shared/01/search_commands.xhp
@@ -12,7 +12,7 @@
 <meta>
   <topic id="search_commands" indexer="include" status="PUBLISH">
     <title id="tit" xml-lang="en-US">Search Commands</title>
-    <filename>/text/shared/optionen/search_commands.xhp</filename>
+    <filename>/text/shared/01/search_commands.xhp</filename>
   </topic>
 </meta>
 
@@ -23,11 +23,17 @@
   </bookmark>
   <bookmark branch="hid/.uno:CommandPopup" id="bm_id5584838" localize="false"/>
   <bookmark branch="hid/sfx/ui/commandpopup/command_entry" id="bm_id5584474" 
localize="false"/>
-  <h1 id="hd_id951627860296699"><variable id="SearchCommands_h1"><link 
href="text/shared/optionen/search_commands.xhp">Search 
Commands</link></variable></h1>
+
+  <section id="searchcommands">
+    <h1 id="hd_id951627860296699"><variable id="h1"><link 
href="text/shared/01/search_commands.xhp">Search Commands</link></variable></h1>
   <paragraph role="paragraph" id="par_id3155069"><variable 
id="SearchCommands_intro"><ahelp hid=".uno:CommandPopup">Allows to search and 
execute all commands available in application menus by their 
names.</ahelp></variable></paragraph>
+  </section>
+  <note id="par_id41628622450782">This feature is available in Writer, Calc, 
Impress and Draw.</note>
   <section id="howtoget">
-    <paragraph role="paragraph" id="par_id961562795750725">Choose 
<menuitem>Help - Search Commands</menuitem></paragraph>
-    <paragraph role="paragraph" id="par_id961562795754587">Use the shortcut 
<emph>Shift + Esc</emph></paragraph>
+    <embed href="text/shared/00/00000004.xhp#from_menu_bar"/>
+    <paragraph role="paragraph" id="par_id961562795750725">Choose 
<menuitem>Help - Search Commands</menuitem>.</paragraph>
+    <embed href="text/shared/00/00000004.xhp#from_keyboard"/>
+    <paragraph role="paragraph" id="par_id961562795754587"><keycode>Shift + 
Esc</keycode></paragraph>
   </section>
   <paragraph role="paragraph" id="par_id631628621951493">When the <emph>Search 
Commands</emph> feature is activated, a head-up display (HUD) is shown and can 
be used to quickly search commands by their names. As the search string is 
typed, all matching commands are shown in a list below the search 
field.</paragraph>
   <paragraph role="paragraph" id="par_id991628622249416">To execute a 
command:</paragraph>
@@ -39,6 +45,8 @@
         <paragraph id="par_id551628622272467" role="listitem">Use the arrow 
keys in the keyboard to navigate through the items shown in the list and press 
<emph>Enter</emph> to run the desired command.</paragraph>
     </listitem>
   </list>
-  <note id="par_id41628622450782">This feature is available in Writer, Calc, 
Impress and Draw.</note>
+      <section id="relatedtopics">
+        <paragraph role="paragraph" id="par_id481696336822023" 
localize="false"><embedvar href="text/shared/main0108.xhp#h1" 
markup="ignore"/></paragraph>
+    </section>
 </body>
 </helpdocument>
diff --git a/source/text/shared/main0108.xhp b/source/text/shared/main0108.xhp
index e705796546..b0dd5b5318 100644
--- a/source/text/shared/main0108.xhp
+++ b/source/text/shared/main0108.xhp
@@ -20,7 +20,7 @@
 
 <meta>
   <topic id="textsharedmain0108xml" indexer="include" status="PUBLISH">
-    <title id="tit" xml-lang="en-US">Help</title>
+    <title id="tit">Help</title>
     <filename>/text/shared/main0108.xhp</filename>
   </topic>
 </meta>
@@ -29,26 +29,26 @@
 
 
 <section id="help">
-<bookmark xml-lang="en-US" branch="hid/.uno:HelpMenu" id="bm_id3153539" 
localize="false"/>
+<bookmark branch="hid/.uno:HelpMenu" id="bm_id3153539" localize="false"/>
 
-<h1 id="hd_id3155364"><link href="text/shared/main0108.xhp">Help</link></h1>
-<paragraph id="par_id3153990" role="paragraph" xml-lang="en-US"><ahelp 
hid=".uno:HelpMenu">The Help menu allows you to start and control the 
$[officename] Help system.</ahelp></paragraph>
+<h1 id="hd_id3155364"><variable id="h1"><link 
href="text/shared/main0108.xhp#help">Help</link></variable></h1>
+<paragraph id="par_id3153990" role="paragraph"><ahelp hid=".uno:HelpMenu">The 
Help menu allows you to start and control the $[officename] Help 
system.</ahelp></paragraph>
 </section>
 
 <section id="helpcommand">
 
 <h2 id="hd_id3147399">$[officename] Help</h2>
-<paragraph id="par_id3147576" role="paragraph" xml-lang="en-US"><ahelp 
hid=".uno:HelpIndex">Opens the main page of the $[officename] Help for the 
current application.</ahelp> You can scroll through the Help pages and you can 
search for index terms or any text.</paragraph>
+<paragraph id="par_id3147576" role="paragraph"><ahelp 
hid=".uno:HelpIndex">Opens the main page of the $[officename] Help for the 
current application.</ahelp> You can scroll through the Help pages and you can 
search for index terms or any text.</paragraph>
 </section>
 
 <section id="syhelp">
 <table id="Tabela1">
   <tablerow>
     <tablecell>
-      <paragraph id="par_idN1064A" role="paragraph" xml-lang="en-US"><image 
id="img_id1619006" src="cmd/sc_helpindex.png" width="1cm" height="1cm"><alt 
xml-lang="en-US" id="alt_id1619006">Icon Help</alt></image></paragraph>
+      <paragraph id="par_idN1064A" role="paragraph"><image id="img_id1619006" 
src="cmd/lc_helpindex.svg" width="1cm" height="1cm"><alt 
id="alt_id1619006">Icon Help</alt></image></paragraph>
     </tablecell>
     <tablecell>
-      <paragraph id="par_idN10667" role="paragraph" 
xml-lang="en-US">%PRODUCTNAME Help</paragraph>
+      <paragraph id="par_idN10667" role="paragraph">%PRODUCTNAME 
Help</paragraph>
     </tablecell>
   </tablerow>
 </table>
@@ -56,22 +56,26 @@
 
 <embed href="text/shared/main0201.xhp#whatsthis"/>
 
-<bookmark xml-lang="en-US" branch="hid/.uno:Documentation" id="bm_id4224532" 
localize="false"/>
+<bookmark branch="hid/.uno:Documentation" id="bm_id4224532" localize="false"/>
 <h2 id="hd_id230120170827187813">User Guides</h2>
-<paragraph id="hd_id230120170827189453" role="paragraph" 
xml-lang="en-US"><ahelp hid=".uno:Documentation">Opens the documentation page 
in the web browser, where users can download, read or purchase %PRODUCTNAME 
user guides, written by the community.</ahelp></paragraph>
+<paragraph id="hd_id230120170827189453" role="paragraph"><ahelp 
hid=".uno:Documentation">Opens the documentation page in the web browser, where 
users can download, read or purchase %PRODUCTNAME user guides, written by the 
community.</ahelp></paragraph>
 
-<bookmark xml-lang="en-US" branch="hid/.uno:QuestionAnswers" id="bm_id4124532" 
localize="false"/>
+<embed href="text/shared/01/TipOfTheDay.xhp#tod"/>
+
+<embed href="text/shared/01/search_commands.xhp#searchcommands"/>
+
+<bookmark branch="hid/.uno:QuestionAnswers" id="bm_id4124532" 
localize="false"/>
 <h2 id="hd_id230120170827196253">Get Help Online</h2>
-<paragraph id="par_id230120170827196850" role="paragraph" 
xml-lang="en-US"><ahelp hid=".uno:QuestionAnswers">Opens the community support 
page in the web browser.</ahelp> Use this page to ask questions on using 
%PRODUCTNAME. For professional support with service level agreement, refer to 
the <link href="https://www.documentfoundation.org/gethelp/support/";><emph>page 
of professional %PRODUCTNAME support</emph></link>.</paragraph>
+<paragraph id="par_id230120170827196850" role="paragraph"><ahelp 
hid=".uno:QuestionAnswers">Opens the community support page in the web 
browser.</ahelp> Use this page to ask questions on using %PRODUCTNAME. For 
professional support with service level agreement, refer to the <link 
href="https://www.documentfoundation.org/gethelp/support/";><emph>page of 
professional %PRODUCTNAME support</emph></link>.</paragraph>
 
-<bookmark xml-lang="en-US" branch="hid/.uno:SendFeedback" id="bm_id4134532" 
localize="false"/>
+<bookmark branch="hid/.uno:SendFeedback" id="bm_id4134532" localize="false"/>
 
 <h2 id="hd_id2752763">Send Feedback</h2>
-<paragraph id="par_id443534340" role="paragraph" xml-lang="en-US"><ahelp 
hid=".uno:SendFeedback">Opens a feedback form in the web browser, where users 
can report software bugs.</ahelp></paragraph>
+<paragraph id="par_id443534340" role="paragraph"><ahelp 
hid=".uno:SendFeedback">Opens a feedback form in the web browser, where users 
can report software bugs.</ahelp></paragraph>
 
-<bookmark xml-lang="en-US" branch="hid/.uno:SafeMode" id="bm_id4224562" 
localize="false"/>
+<bookmark branch="hid/.uno:SafeMode" id="bm_id4224562" localize="false"/>
 <h2 id="par_id230120170903409011"><link 
href="text/shared/01/profile_safe_mode.xhp">Restart in Safe Mode</link></h2>
-  <paragraph id="par_id281120160939285779" role="paragraph" 
xml-lang="en-US"><ahelp hid=".uno:SafeMode">Safe mode is a mode where 
%PRODUCTNAME temporarily starts with a fresh user profile and disables hardware 
acceleration. It helps to restore a non-working %PRODUCTNAME instance.
+  <paragraph id="par_id281120160939285779" role="paragraph"><ahelp 
hid=".uno:SafeMode">Safe mode is a mode where %PRODUCTNAME temporarily starts 
with a fresh user profile and disables hardware acceleration. It helps to 
restore a non-working %PRODUCTNAME instance.
   </ahelp></paragraph>
 
   <h2 id="hd_id561629934889067">Get Involved</h2>
@@ -82,21 +86,21 @@
 <paragraph role="paragraph" id="par_id651629934878405">Your donation, which is 
purely optional, supports our worldwide community.</paragraph>
 <paragraph role="paragraph" id="par_id611629934882669">If you like the 
software, <link href="https://www.libreoffice.org/donate/";>please consider a 
donation</link>.</paragraph>
 
-<bookmark xml-lang="en-US" branch="hid/.uno:ShowLicense" id="bm_id4151385" 
localize="false"/>
+<bookmark branch="hid/.uno:ShowLicense" id="bm_id4151385" localize="false"/>
 <h2 id="hd_id4153881">License Information</h2>
-<paragraph id="par_id4144510" role="paragraph" xml-lang="en-US"><ahelp 
hid=".uno:ShowLicense">Displays the <emph>Licensing and Legal 
information</emph> dialog.</ahelp></paragraph>
+<paragraph id="par_id4144510" role="paragraph"><ahelp 
hid=".uno:ShowLicense">Displays the <emph>Licensing and Legal 
information</emph> dialog.</ahelp></paragraph>
 
-<bookmark xml-lang="en-US" branch="hid/.uno:ShowCredits" id="bm_id5151385" 
localize="false"/>
+<bookmark branch="hid/.uno:ShowCredits" id="bm_id5151385" localize="false"/>
 <h2 id="hd_id5153881">%PRODUCTNAME Credits</h2>
-<paragraph id="par_id5144510" role="paragraph" xml-lang="en-US"><ahelp 
hid=".uno:ShowLicense">Displays the <emph>CREDITS.odt</emph> document which 
lists the names of individuals who have contributed to OpenOffice.org source 
code (and whose contributions were imported into %PRODUCTNAME) or %PRODUCTNAME 
since 2010-09-28.</ahelp></paragraph>
+<paragraph id="par_id5144510" role="paragraph"><ahelp 
hid=".uno:ShowLicense">Displays the <emph>CREDITS.odt</emph> document which 
lists the names of individuals who have contributed to OpenOffice.org source 
code (and whose contributions were imported into %PRODUCTNAME) or %PRODUCTNAME 
since 2010-09-28.</ahelp></paragraph>
 
-<bookmark xml-lang="en-US" branch="hid/.uno:OnlineUpdate" id="bm_id2785119" 
localize="false"/>
+<bookmark branch="hid/.uno:OnlineUpdate" id="bm_id2785119" localize="false"/>
 <h2 id="hd_id2926419"><link href="text/shared/01/online_update.xhp">Check for 
Updates</link></h2>
-<paragraph id="par_id2783898" role="paragraph" xml-lang="en-US"><ahelp 
hid=".">Enable an Internet connection for %PRODUCTNAME. If you need a Proxy, 
check the %PRODUCTNAME Proxy settings in <switchinline select="sys"><caseinline 
select="MAC"><emph>%PRODUCTNAME - 
Preferences</emph></caseinline><defaultinline><emph>Tools - 
Options</emph></defaultinline></switchinline><emph> - Internet</emph>. Then 
choose <emph>Check for Updates</emph> to check for the availability of a newer 
version of your office suite.</ahelp></paragraph>
+<paragraph id="par_id2783898" role="paragraph"><ahelp hid=".">Enable an 
Internet connection for %PRODUCTNAME. If you need a Proxy, check the 
%PRODUCTNAME Proxy settings in <switchinline select="sys"><caseinline 
select="MAC"><emph>%PRODUCTNAME - 
Preferences</emph></caseinline><defaultinline><emph>Tools - 
Options</emph></defaultinline></switchinline><emph> - Internet</emph>. Then 
choose <emph>Check for Updates</emph> to check for the availability of a newer 
version of your office suite.</ahelp></paragraph>
 
-<bookmark xml-lang="en-US" branch="hid/.uno:About" id="bm_id3151385" 
localize="false"/>
+<bookmark branch="hid/.uno:About" id="bm_id3151385" localize="false"/>
 <h2 id="hd_id3153881">About $[officename]</h2>
-<paragraph id="par_id3144510" role="paragraph" xml-lang="en-US"><ahelp 
hid=".uno:About">Displays general program information such as version number 
and copyrights.</ahelp></paragraph>
+<paragraph id="par_id3144510" role="paragraph"><ahelp 
hid=".uno:About">Displays general program information such as version number 
and copyrights.</ahelp></paragraph>
 <section id="relatedtopics">
 <embed href="text/shared/guide/version_number.xhp#version_number"/>
 <embed href="text/shared/guide/active_help_on_off.xhp#active_help_on_off"/>

Reply via email to