summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael Lima <rafael.palma.lima@gmail.com>2022-01-04 14:06:50 +0100
committerOlivier Hallot <olivier.hallot@libreoffice.org>2022-01-04 20:49:44 +0100
commit2e3f6779c041ea475ba5127dbefefbd2f6a9c6fc (patch)
treeaf06276a491c784ba70edb0f8e4f99d1fc3f6015
parent573cb7bfe3af24d830f02fff227166e2ea292c14 (diff)
tdf#135137 Create help for "Rename object" dialog
With this patch, if the user right-clicks an object in the Navigator, chooses Rename and click the Help button, a proper help page will be shown. Change-Id: I5ba3c37519858de27c1fa526681fa00524c9e66e Reviewed-on: https://gerrit.libreoffice.org/c/help/+/127949 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
-rw-r--r--AllLangHelp_shared.mk1
-rw-r--r--source/text/shared/01/nav_rename.xhp43
-rw-r--r--source/text/swriter/01/04040000.xhp2
3 files changed, 44 insertions, 2 deletions
diff --git a/AllLangHelp_shared.mk b/AllLangHelp_shared.mk
index 03f5e3d5bb..4f91dc17ec 100644
--- a/AllLangHelp_shared.mk
+++ b/AllLangHelp_shared.mk
@@ -350,6 +350,7 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,shared,\
helpcontent2/source/text/shared/01/menu_edit_find \
helpcontent2/source/text/shared/01/menu_view_sidebar \
helpcontent2/source/text/shared/01/moviesound \
+ helpcontent2/source/text/shared/01/nav_rename \
helpcontent2/source/text/shared/01/notebook_bar \
helpcontent2/source/text/shared/01/online_update \
helpcontent2/source/text/shared/01/online_update_dialog \
diff --git a/source/text/shared/01/nav_rename.xhp b/source/text/shared/01/nav_rename.xhp
new file mode 100644
index 0000000000..70bbf12de3
--- /dev/null
+++ b/source/text/shared/01/nav_rename.xhp
@@ -0,0 +1,43 @@
+<?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="navigator_rename" indexer="include" status="PUBLISH">
+ <title id="tit" xml-lang="en-US">Rename object</title>
+ <filename>/text/shared/01/nav_rename.xhp</filename>
+ </topic>
+</meta>
+
+<body>
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3147366">
+ <bookmark_value>navigator; rename</bookmark_value>
+ <bookmark_value>rename;objects</bookmark_value>
+ </bookmark>
+ <bookmark xml-lang="en-US" branch="hid/modules/swriter/ui/renameobjectdialog/dialog-action_area1" id="bm_id536638" localize="false"/>
+ <bookmark xml-lang="en-US" branch="hid/modules/swriter/ui/renameobjectdialog/RenameObjectDialog" id="bm_id731581947628124" localize="false"/>
+ <bookmark xml-lang="en-US" branch="hid/modules/swriter/ui/renameobjectdialog/@@nowidget@@" id="bm_id8549002" localize="false"/>
+ <bookmark xml-lang="en-US" branch="hid/modules/swriter/ui/renameobjectdialog/entry" id="bm_id8549002" localize="false"/>
+ <bookmark xml-lang="en-US" branch="hid/modules/swriter/ui/renameobjectdialog/cancel" id="bm_id8549003" localize="false"/>
+ <bookmark xml-lang="en-US" branch="hid/modules/swriter/ui/renameobjectdialog/ok" id="bm_id8549004" localize="false"/>
+ <h1 id="hd_id3147366" xml-lang="en-US">Rename object</h1>
+ <paragraph role="paragraph" id="par_id3147588" xml-lang="en-US"><variable id="desc">Renames the object selected in the Navigator.</variable></paragraph>
+ <section id="howtoget">
+ <paragraph id="par_id3148833" role="paragraph">Open the context menu for the object - Choose <menuitem>Rename</menuitem>.</paragraph>
+ </section>
+ <h2 id="hd_id3156027" xml-lang="en-US">New name</h2>
+ <paragraph role="paragraph" id="par_id3152924" xml-lang="en-US"><ahelp hid=".">Enter the new name of the selected object.</ahelp></paragraph>
+ <note id="par_id661630417737429">Names of objects must be unique in the same document.</note>
+
+ <section id="relatedtopics">
+ <embed href="text/swriter/01/02110000.xhp#Navigator"/>
+ </section>
+</body>
+</helpdocument>
diff --git a/source/text/swriter/01/04040000.xhp b/source/text/swriter/01/04040000.xhp
index f3a2138ce1..ed18768521 100644
--- a/source/text/swriter/01/04040000.xhp
+++ b/source/text/swriter/01/04040000.xhp
@@ -51,8 +51,6 @@
<h2 id="hd_id3154188" xml-lang="en-US">Bookmarks</h2>
<paragraph role="paragraph" xml-lang="en-US" id="par_id171581934040077">Lists all the bookmarks in the current document.</paragraph>
<bookmark xml-lang="en-US" branch="hid/modules/swriter/ui/insertbookmark/rename" id="bm_id461581953514622" localize="false"/>
-<bookmark xml-lang="en-US" branch="hid/modules/swriter/ui/renameobjectdialog/RenameObjectDialog" id="bm_id731581947628124" localize="false"/>
-<bookmark xml-lang="en-US" branch="hid/modules/swriter/ui/renameobjectdialog/dialog-action_area1" id="bm_id1001595433265348" localize="false"/>
<h2 id="hd_id32341878" xml-lang="en-US">Rename</h2>
<paragraph role="paragraph" xml-lang="en-US" id="par_id971581935166865">To rename a bookmark, select the bookmark, press <emph>Rename</emph>, then type the new name in the dialog box.</paragraph>
<bookmark xml-lang="en-US" branch="hid/modules/swriter/ui/insertbookmark/delete" id="bm_id3149095" localize="false"/>