summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@libreoffice.org>2023-06-05 12:27:33 -0300
committerOlivier Hallot <olivier.hallot@libreoffice.org>2023-06-06 00:12:26 +0200
commit0aef8c7bd50b6f82a196358584fabc91ebd64795 (patch)
treebae0ef5ea38489303322f7aa7c1fa542da1cd347
parenttdf#154996 Add tabbed UI commands in Help page (diff)
downloadhelp-0aef8c7bd50b6f82a196358584fabc91ebd64795.tar.gz
help-0aef8c7bd50b6f82a196358584fabc91ebd64795.zip
tdf#154996 Add tabbed UI commands in Help page
+ refactoring Change-Id: I0c8d979b42860c04d93b4ad6085bf41ac1aa5f0f Reviewed-on: https://gerrit.libreoffice.org/c/help/+/152631 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
-rw-r--r--AllLangHelp_swriter.mk2
-rw-r--r--source/text/shared/00/00000004.xhp2
-rw-r--r--source/text/shared/00/edit_menu.xhp56
-rw-r--r--source/text/shared/01/menu_edit_find.xhp9
-rw-r--r--source/text/shared/02/07070000.xhp2
-rw-r--r--source/text/swriter/00/00000402.xhp31
-rw-r--r--source/text/swriter/01/goto.xhp30
-rw-r--r--source/text/swriter/01/select_text.xhp29
-rw-r--r--source/text/swriter/main0102.xhp8
9 files changed, 136 insertions, 33 deletions
diff --git a/AllLangHelp_swriter.mk b/AllLangHelp_swriter.mk
index 74ac2e11f2..4579695e49 100644
--- a/AllLangHelp_swriter.mk
+++ b/AllLangHelp_swriter.mk
@@ -179,6 +179,7 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,swriter,\
helpcontent2/source/text/swriter/01/edit_reference_submenu \
helpcontent2/source/text/swriter/01/accessibility_check \
helpcontent2/source/text/swriter/01/format_object \
+ helpcontent2/source/text/swriter/01/goto \
helpcontent2/source/text/swriter/01/legacynumbering \
helpcontent2/source/text/swriter/01/mailmerge00 \
helpcontent2/source/text/swriter/01/mailmerge01 \
@@ -204,6 +205,7 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,swriter,\
helpcontent2/source/text/swriter/01/pagenumbering \
helpcontent2/source/text/swriter/01/protectdocument \
helpcontent2/source/text/swriter/01/selection_mode \
+ helpcontent2/source/text/swriter/01/select_text \
helpcontent2/source/text/swriter/01/show_whitespace \
helpcontent2/source/text/swriter/01/style_inspector \
helpcontent2/source/text/swriter/01/title_page \
diff --git a/source/text/shared/00/00000004.xhp b/source/text/shared/00/00000004.xhp
index 1f1f1ae4a9..c51f3a63f3 100644
--- a/source/text/shared/00/00000004.xhp
+++ b/source/text/shared/00/00000004.xhp
@@ -30,12 +30,14 @@
<h1 id="hd_id3160447"><variable id="wie">To access this command...</variable></h1>
<section id="from_menu_bar"><h3 id="par_id441684934473786">From the Menu bar:</h3></section>
+<section id="from_context"><h3 id="par_id441684932173786">From the Context menu:</h3></section>
<section id="from_sheet_bar"><h3 id="par_id681684934479758">From the Sheet Navigation bar:</h3></section>
<section id="from_tabUI"><h3 id="par_id711684934483926">From the Tabbed interface:</h3></section>
<section id="from_toolbars"><h3 id="par_id101684936253402">From toolbars:</h3></section>
<section id="from_keyboard"><h3 id="par_id101544936253402">From the keyboard, press</h3></section>
<section id="from_startcenter"><h3 id="hd_id931685300557948">From the Start Center, click</h3></section>
<section id="from_statusbar"><h3 id="hd_id931686300557948">From the Status bar:</h3></section>
+
<section id="related">
<paragraph role="related" id="par_id3147212" xml-lang="en-US"><variable id="related"><emph>Related Topics</emph>
</variable></paragraph>
diff --git a/source/text/shared/00/edit_menu.xhp b/source/text/shared/00/edit_menu.xhp
index 7e36b5b61e..f25bf60339 100644
--- a/source/text/shared/00/edit_menu.xhp
+++ b/source/text/shared/00/edit_menu.xhp
@@ -26,6 +26,7 @@
</meta>
<body>
<h1 id="hd_id3147273">Edit Menu</h1>
+
<section id="do">
<embed href="text/shared/00/00000004.xhp#from_menu_bar"/>
<paragraph role="paragraph" id="par_id3085157">Choose <menuitem>Edit - Undo</menuitem>.</paragraph>
@@ -251,28 +252,45 @@
<section id="find">
-<paragraph role="paragraph" id="par_id31562971">Choose <menuitem>Edit - Find</menuitem>.</paragraph>
-<paragraph role="paragraph" id="par_id31545031"><switchinline select="sys"><caseinline select="MAC"><keycode>Command</keycode></caseinline><defaultinline><keycode>Ctrl</keycode></defaultinline></switchinline><keycode>+F</keycode></paragraph>
+ <embed href="text/shared/00/00000004.xhp#from_menu_bar"/>
+ <paragraph role="paragraph" id="par_id31562971">Choose <menuitem>Edit - Find</menuitem>.</paragraph>
+ <embed href="text/shared/00/00000004.xhp#from_tabUI"/>
+ <paragraph role="paragraph" id="par_id511685975100630">Choose <menuitem>Home - Find</menuitem>.</paragraph>
+ <embed href="text/shared/00/00000004.xhp#from_toolbars"/>
+ <table id="tab_id381685975004751">
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id831685975004752" role="paragraph"><image src="cmd/lc_recsearch.svg" id="img_id251685975004753" width="1cm" height="1cm"><alt id="alt_id521685975004754">Icon Find</alt></image></paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id51685975004756" role="paragraph">Find</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+ <embed href="text/shared/00/00000004.xhp#from_keyboard"/>
+ <paragraph role="paragraph" id="par_id31545031"><switchinline select="sys"><caseinline select="MAC"><keycode>Command</keycode></caseinline><defaultinline><keycode>Ctrl</keycode></defaultinline></switchinline><keycode> + F</keycode></paragraph>
</section>
-<section id="find_and_replace">
-<paragraph role="paragraph" id="par_id3156297">Choose <menuitem>Edit - Find &amp; Replace</menuitem>.</paragraph>
-<paragraph role="paragraph" id="par_id3154503"><switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline><keycode>Ctrl</keycode></defaultinline></switchinline><keycode>+H</keycode></paragraph>
- <paragraph role="paragraph" id="par_id3155083">On the <emph>Standard</emph> bar, click</paragraph>
-<section id="syfind_and_replace">
-<table id="tbl_id3156320">
-<tablerow>
-<tablecell>
-<paragraph role="paragraph" id="par_id3150020">
-<image id="img_id3149121" src="cmd/lc_recsearch.svg" width="1cm" height="1cm"><alt id="alt_id3149121">Icon Find &amp; Replace</alt></image></paragraph>
-</tablecell>
-<tablecell>
-<paragraph role="paragraph" id="par_id3144748">Find &amp; Replace</paragraph>
-</tablecell>
-</tablerow>
-</table>
+<section id="find_and_replace">
+ <embed href="text/shared/00/00000004.xhp#from_menu_bar"/>
+ <paragraph role="paragraph" id="par_id3156297">Choose <menuitem>Edit - Find &amp; Replace</menuitem>.</paragraph>
+ <embed href="text/shared/00/00000004.xhp#from_toolbars"/>
+ <section id="syfind_and_replace">
+ <table id="tbl_id3156320">
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3150020"><image id="img_id3149121" src="cmd/lc_searchdialog.svg" width="1cm" height="1cm"><alt id="alt_id3149121">Icon Find &amp; Replace</alt></image></paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3144748">Find &amp; Replace</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+ </section>
+ <embed href="text/shared/00/00000004.xhp#from_keyboard"/>
+ <paragraph role="paragraph" id="par_id3154503"><switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline><keycode>Ctrl</keycode></defaultinline></switchinline><keycode> + H</keycode></paragraph>
</section>
-</section>
+
<paragraph role="paragraph" id="par_id3156357"><variable id="suchenattribute">Choose <menuitem>Edit - Find &amp; Replace - Attributes</menuitem>.</variable></paragraph>
<paragraph role="paragraph" id="par_id3153840"><variable id="suchenformat">Choose <menuitem>Edit - Find &amp; Replace - Format</menuitem> button.</variable></paragraph>
<section id="similarity_search_access">
diff --git a/source/text/shared/01/menu_edit_find.xhp b/source/text/shared/01/menu_edit_find.xhp
index 4403ca3029..228989ff2c 100644
--- a/source/text/shared/01/menu_edit_find.xhp
+++ b/source/text/shared/01/menu_edit_find.xhp
@@ -11,19 +11,16 @@
<meta>
<topic id="textshared01menu_edit_findxml">
- <title id="tit" xml-lang="en-US">Find</title>
+ <title id="tit">Find</title>
<filename>/text/shared/01/menu_edit_find.xhp</filename>
</topic>
</meta>
<body>
-
-
<section id="find">
-<bookmark xml-lang="en-US" branch="hid/vnd.sun.star.findbar:FocusToFindbar" id="bm_id102920151224228356" localize="false"/>
-
+<bookmark branch="hid/vnd.sun.star.findbar:FocusToFindbar" id="bm_id102920151224228356" localize="false"/>
<h1 id="hd_id102920151222294818"><link href="text/shared/01/menu_edit_find.xhp">Find</link></h1>
-<paragraph id="par_id10292015122231415" role="paragraph" xml-lang="en-US"><ahelp hid=".">Toggle the visibility of the <emph>Find</emph> toolbar to search for text or navigate a document by element.</ahelp></paragraph>
+<paragraph id="par_id10292015122231415" role="paragraph"><ahelp hid=".">Toggle the visibility of the <emph>Find</emph> toolbar to search for text or navigate a document by element.</ahelp></paragraph>
</section>
<section id="howtoget">
diff --git a/source/text/shared/02/07070000.xhp b/source/text/shared/02/07070000.xhp
index c06bf58530..85ae8f5701 100644
--- a/source/text/shared/02/07070000.xhp
+++ b/source/text/shared/02/07070000.xhp
@@ -54,8 +54,6 @@
</table>
</section>
<section id="selecttext">
-<bookmark xml-lang="en-US" branch="hid/.uno:SelectTextMode" id="bm_id3790874" localize="false"/>
-<bookmark xml-lang="en-US" branch="hid/SFX2_HID_HELP_TEXT_SELECTION_MODE" id="bm_id3147088" localize="false"/>
<paragraph role="paragraph" id="par_id3147576" xml-lang="en-US"><ahelp hid=".">You can enable a selection cursor in a read-only text document or in the Help. Choose <menuitem>Edit - Select Text</menuitem> or open the context menu of a read-only document and choose <menuitem>Select Text</menuitem>. The selection cursor does not blink.</ahelp></paragraph>
</section>
</body>
diff --git a/source/text/swriter/00/00000402.xhp b/source/text/swriter/00/00000402.xhp
index caf09d5c35..1ccabdbccf 100644
--- a/source/text/swriter/00/00000402.xhp
+++ b/source/text/swriter/00/00000402.xhp
@@ -73,7 +73,36 @@
<embed href="text/shared/00/00000004.xhp#from_statusbar"/>
<paragraph role="paragraph" id="par_id491685970640972">Click the <menuitem>Selection</menuitem> area.</paragraph>
</section>
-
+<section id="select_text">
+ <embed href="text/shared/00/00000004.xhp#from_menu_bar"/>
+ <paragraph role="paragraph" id="par_id761685972500574">Choose <menuitem>Edit - Select Text</menuitem>.</paragraph>
+ <embed href="text/shared/00/00000004.xhp#from_menu_bar"/>
+ <paragraph role="paragraph" id="par_id571685973272593">Choose <menuitem>Select Text</menuitem>.</paragraph>
+ <embed href="text/shared/00/00000004.xhp#from_keyboard"/>
+ <paragraph role="paragraph" id="par_id51685972424605"><switchinline select="sys"><caseinline select="MAC"><keycode>Command</keycode></caseinline><defaultinline><keycode>Ctrl</keycode></defaultinline></switchinline><keycode> + Shift + I</keycode></paragraph>
+</section>
<paragraph role="paragraph" id="par_id3973244"><variable id="direct_cursor">Choose <emph>Edit - Direct Cursor Mode</emph></variable></paragraph>
+
+<section id="goto">
+ <embed href="text/shared/00/00000004.xhp#from_menu_bar"/>
+ <paragraph role="paragraph" id="par_id601685977093827">Choose <menuitem>Edit - Go to Page</menuitem>.</paragraph>
+ <embed href="text/shared/00/00000004.xhp#from_tabUI"/>
+ <paragraph role="paragraph" id="par_id931685977488251">Choose <menuitem>Home tab menu - Go to Page</menuitem>.</paragraph>
+ <embed href="text/shared/00/00000004.xhp#from_toolbars"/>
+ <table id="tab_id891685977342892">
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id961685977342894" role="paragraph"><image src="cmd/lc_gotopage.svg" id="img_id321685977342895" width="1cm" height="1cm"><alt id="alt_id901685977342896">Icon Go to Page</alt></image></paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id191685977342898" role="paragraph">Go to Page</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+ <embed href="text/shared/00/00000004.xhp#from_keyboard"/>
+ <paragraph role="paragraph" id="par_id651685976992603"><switchinline select="sys"><caseinline select="MAC"><keycode>Command</keycode></caseinline><defaultinline><keycode>Ctrl</keycode></defaultinline></switchinline><keycode> + G</keycode></paragraph>
+ <embed href="text/shared/00/00000004.xhp#from_statusbar"/>
+ <paragraph role="paragraph" id="par_id551685977289618">Click on the <emph>Page number</emph> area.</paragraph>
+</section>
</body>
</helpdocument>
diff --git a/source/text/swriter/01/goto.xhp b/source/text/swriter/01/goto.xhp
new file mode 100644
index 0000000000..659257b319
--- /dev/null
+++ b/source/text/swriter/01/goto.xhp
@@ -0,0 +1,30 @@
+<?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="gotopage" indexer="include" status="PUBLISH">
+ <title id="tit">Go To Page</title>
+ <filename>/text/swriter/01/goto.xhp</filename>
+ </topic>
+</meta>
+<body>
+<section id="goto">
+ <bookmark id="bm_id941685976329840" branch="hid/ modules/swriter/ui/gotopagedialog/@@nowidget@@" localize="false"/>
+ <h1 id="hd_id921685976329840"><variable id="h1"><link href="text/swriter/01/goto.xhp">Go to Page</link></variable></h1>
+ <paragraph id="par_id901685976329842" role="paragraph">Opens a dialog box to enter which page number should be shown.</paragraph>
+</section>
+<section id="howtoget">
+ <embed href="text/swriter/00/00000402.xhp#goto"/>
+</section>
+<paragraph role="paragraph" id="par_id761685978118901">Enter the page number or use the spin box to define the page to display.</paragraph>
+<note id="par_id631685978506671">The page number entered in the <emph>Go to Page</emph> dialog is absolute within the document and may not correspond to the page number displayed by the page numbering scheme.</note>
+</body>
+</helpdocument>
diff --git a/source/text/swriter/01/select_text.xhp b/source/text/swriter/01/select_text.xhp
new file mode 100644
index 0000000000..2ef1ef95b0
--- /dev/null
+++ b/source/text/swriter/01/select_text.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="Select Text" indexer="include" status="PUBLISH">
+ <title id="tit">Select Text</title>
+ <filename>/text/swriter/01/select_text.xhp</filename>
+ </topic>
+</meta>
+<body>
+<section id="select_text">
+ <bookmark branch="hid/.uno:SelectTextMode" id="bm_id3790874" localize="false"/>
+ <bookmark branch="hid/SFX2_HID_HELP_TEXT_SELECTION_MODE" id="bm_id3147088" localize="false"/>
+ <h1 id="hd_id771685971612111"><variable id="h1"><link href="text/swriter/01/select_text.xhp">Select Text</link></variable></h1>
+ <paragraph role="paragraph" id="par_id971685971990775">You can enable a selection cursor in a <emph>read-only</emph> text document.</paragraph>
+</section>
+<section id="howtoget">
+ <embed href="text/swriter/00/00000402.xhp#select_text"/>
+</section>
+</body>
+</helpdocument>
diff --git a/source/text/swriter/main0102.xhp b/source/text/swriter/main0102.xhp
index 92ec857bee..e9cd0dd655 100644
--- a/source/text/swriter/main0102.xhp
+++ b/source/text/swriter/main0102.xhp
@@ -42,15 +42,13 @@
<embed href="text/shared/01/pastespecialmenu.xhp#pastespecialmenu"/>
<embed href="text/shared/01/02090000.xhp#select_all"/>
<embed href="text/swriter/01/selection_mode.xhp#selection_mode"/>
+<embed href="/text/swriter/01/select_text.xhp#select_text"/>
-<h2 id="hd_id3147619" xml-lang="en-US">Select Text</h2>
-<embed href="text/shared/02/07070000.xhp#selecttext"/>
<embed href="text/shared/01/menu_edit_find.xhp#find"/>
<embed href="text/shared/01/02100000.xhp#find_and_replace"/>
-<h2 id="hd_id102920150120455108" xml-lang="en-US">Go to Page</h2>
-<paragraph id="par_id102920150120456660" role="paragraph" xml-lang="en-US">Opens a dialog box to enter which page number should be shown. (<switchinline select="sys"><caseinline select="MAC"><keycode>Command</keycode></caseinline><defaultinline><keycode>Ctrl</keycode></defaultinline></switchinline><keycode>+G</keycode>)
-</paragraph>
+<embed href="text/swriter/01/goto.xhp#goto"/>
+
<embed href="text/shared/01/02230000.xhp#track_changes"/>
<h2 id="hd_id11603124968334">Comment</h2>