summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@libreoffice.org>2023-11-01 14:42:03 -0300
committerOlivier Hallot <olivier.hallot@libreoffice.org>2023-11-01 20:33:55 +0100
commit0ca63be69ab23e8f420825d381bfb8e6a058ac58 (patch)
treecc4f5521a941323ec051723bff6c33d09f86ad70
parentb28faac2c5fe5600c97b40ba65e773b7f75c299c (diff)
tdf#155876 UI cmds Calc-Insert menu (17)
+ refactoring of Insert Field menu Change-Id: I72dcab2a45ddfe78025ceba699aa8b1428d4bdb4 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/158772 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
-rw-r--r--AllLangHelp_scalc.mk1
-rw-r--r--source/text/scalc/00/00000404.xhp12
-rw-r--r--source/text/scalc/01/FieldMenu.xhp37
-rw-r--r--source/text/scalc/main0104.xhp4
4 files changed, 51 insertions, 3 deletions
diff --git a/AllLangHelp_scalc.mk b/AllLangHelp_scalc.mk
index 8dff41342e..e848307a37 100644
--- a/AllLangHelp_scalc.mk
+++ b/AllLangHelp_scalc.mk
@@ -192,6 +192,7 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,scalc,\
helpcontent2/source/text/scalc/01/EditSelectMenu \
helpcontent2/source/text/scalc/01/events_sheet \
helpcontent2/source/text/scalc/01/ex_data_stat_func \
+ helpcontent2/source/text/scalc/01/FieldMenu \
helpcontent2/source/text/scalc/01/format_graphic \
helpcontent2/source/text/scalc/01/formula2value \
helpcontent2/source/text/scalc/01/ful_func \
diff --git a/source/text/scalc/00/00000404.xhp b/source/text/scalc/00/00000404.xhp
index a3ccef1a6b..3b13884053 100644
--- a/source/text/scalc/00/00000404.xhp
+++ b/source/text/scalc/00/00000404.xhp
@@ -29,6 +29,18 @@
</meta>
<body>
<h1 id="hd_id3149346">Insert Menu</h1>
+<section id="fieldmenu">
+ <embed href="text/shared/00/00000004.xhp#from_menu_bar"/>
+ <paragraph role="paragraph" id="par_id991698859519603">Choose <menuitem>Insert - Field</menuitem>.</paragraph>
+ <paragraph role="paragraph" id="par_id571698859523827">Choose <menuitem>Insert - Field - Date</menuitem>.</paragraph>
+ <paragraph role="paragraph" id="par_id821698859529924">Choose <menuitem>Insert - Field - Sheet Name</menuitem>.</paragraph>
+ <paragraph role="paragraph" id="par_id111698859534268">Choose <menuitem>Insert - Field - Document Title</menuitem>.</paragraph>
+ <embed href="text/shared/00/00000004.xhp#from_tabUI"/>
+ <paragraph role="paragraph" id="par_id881698859538595">Choose <menuitem>Insert - Field</menuitem>.</paragraph>
+ <paragraph role="paragraph" id="par_id501698859543375">Choose <menuitem>Insert - Field - Date</menuitem>.</paragraph>
+ <paragraph role="paragraph" id="par_id801698859547630">Choose <menuitem>Insert - Field - Sheet Name</menuitem>.</paragraph>
+ <paragraph role="paragraph" id="par_id541698859552582">Choose <menuitem>Insert - Field - Document Title</menuitem>.</paragraph>
+</section>
<section id="inserttime">
<embed href="text/shared/00/00000004.xhp#from_menu_bar"/>
diff --git a/source/text/scalc/01/FieldMenu.xhp b/source/text/scalc/01/FieldMenu.xhp
new file mode 100644
index 0000000000..bed6bef169
--- /dev/null
+++ b/source/text/scalc/01/FieldMenu.xhp
@@ -0,0 +1,37 @@
+<?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="textscalc01FieldMenuxhp" indexer="include" status="PUBLISH">
+ <title id="tit">Field Menu</title>
+ <filename>/text/scalc/01/FieldMenu.xhp</filename>
+ </topic>
+ </meta>
+<body>
+<bookmark branch="hid/.uno:FieldMenu" id="bm_id791698858901567" localize="false"/>
+ <section id="fieldmenu">
+ <h1 id="hd_id891698859099735"><variable id="h1"><link href="text/scalc/01/FieldMenu.xhp">Field</link></variable></h1>
+ <paragraph role="paragraph" id="par_id391577296078546">Opens a submenu for selecting the date, sheet name or document title in the cell.</paragraph>
+ </section>
+<section id="howtoget">
+ <embed href="text/scalc/00/00000404.xhp#fieldmenu"/>
+</section>
+<bookmark branch="hid/.uno:InsertFieldDateVariable" id="bm_id921698859819993" localize="false"/>
+<h2 id="hd_id631698859855352">Date</h2>
+<paragraph role="paragraph" id="par_id271698860260863">Insert the date in the cell. The date is variable.</paragraph>
+<bookmark branch="hid/.uno:InsertFieldSheet" id="bm_id711698859824194" localize="false"/>
+<h2 id="hd_id951698859859564">Sheet Name</h2>
+<paragraph role="paragraph" id="par_id441698860211297">Insert the sheet name in the cell which it belongs.</paragraph>
+<bookmark branch="hid/.uno:InsertFieldDocTitle" id="bm_id771698859828803" localize="false"/>
+<h2 id="hd_id881698859863735">Document Title</h2>
+<paragraph role="paragraph" id="par_id51698860141070">Insert the document title in the cell. The document title is set in the document properties in <menuitem>File - Properties - Description</menuitem> tab.</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/scalc/main0104.xhp b/source/text/scalc/main0104.xhp
index 423cce7e9f..94e096428b 100644
--- a/source/text/scalc/main0104.xhp
+++ b/source/text/scalc/main0104.xhp
@@ -50,9 +50,7 @@
<embed href="text/scalc/01/InsertCurrentDate.xhp#insertdate"/>
<embed href="text/scalc/01/InsertCurrentTime.xhp#inserttime"/>
-
-<h2 id="hd_id621577296064493">Field</h2>
-<paragraph role="paragraph" id="par_id391577296078546">Opens a submenu for selecting the date, sheet name or document title in the cell.</paragraph>
+<embed href="text/scalc/01/FieldMenu.xhp#fieldmenu"/>
<embed href="text/scalc/01/02120000.xhp#headers_footers"/>
<embed href="text/shared/menu/insert_form_control.xhp#form_control_submenu"/>