summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@libreoffice.org>2023-10-26 20:34:06 -0300
committerOlivier Hallot <olivier.hallot@libreoffice.org>2023-10-27 13:39:46 +0200
commitb41eeeaaa91ed78e387cfed551400984836164af (patch)
tree72d76cf11bdae8461d7e0d644005b2b3f2675651
parentbcef222378f8d2225596ea624f9c82e9cb48a01d (diff)
tdf#155876 UI cmds Calc-View menu (06)
+ refactoring Change-Id: Ic6a1cf590f8952ef82e540459603a0a499732ecf Reviewed-on: https://gerrit.libreoffice.org/c/help/+/158518 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
-rw-r--r--AllLangHelp_scalc.mk1
-rw-r--r--source/text/scalc/00/00000403.xhp69
-rw-r--r--source/text/scalc/01/03090000.xhp24
-rw-r--r--source/text/scalc/01/03100000.xhp26
-rw-r--r--source/text/scalc/01/NormalViewMode.xhp33
-rw-r--r--source/text/scalc/main0103.xhp21
6 files changed, 130 insertions, 44 deletions
diff --git a/AllLangHelp_scalc.mk b/AllLangHelp_scalc.mk
index c553800518..4beef8283f 100644
--- a/AllLangHelp_scalc.mk
+++ b/AllLangHelp_scalc.mk
@@ -287,6 +287,7 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,scalc,\
helpcontent2/source/text/scalc/01/JumpToPrevTableSel \
helpcontent2/source/text/scalc/01/live_data_stream \
helpcontent2/source/text/scalc/01/MergeCellsMenu \
+ helpcontent2/source/text/scalc/01/NormalViewMode \
helpcontent2/source/text/scalc/01/recalculate_hard \
helpcontent2/source/text/scalc/01/SelectColumn \
helpcontent2/source/text/scalc/01/SelectData \
diff --git a/source/text/scalc/00/00000403.xhp b/source/text/scalc/00/00000403.xhp
index b58a32ebb2..4a4fb2b360 100644
--- a/source/text/scalc/00/00000403.xhp
+++ b/source/text/scalc/00/00000403.xhp
@@ -20,16 +20,73 @@
<meta>
<topic id="textscalc0000000403xml" indexer="exclude" status="PUBLISH">
- <title id="tit" xml-lang="en-US">View Menu</title>
+ <title id="tit">View Menu</title>
<filename>/text/scalc/00/00000403.xhp</filename>
</topic>
</meta>
<body>
<h1 id="hd_id3145673">View Menu</h1>
-<paragraph id="par_id3150275" role="paragraph" xml-lang="en-US"><variable id="aspze">Choose <emph>View - Column &amp; Row Headers</emph>.</variable></paragraph>
-<paragraph id="par_id3154514" role="paragraph" xml-lang="en-US"><variable id="awehe">Choose <emph>View - Value Highlighting</emph>.</variable></paragraph>
-<paragraph id="par_id3148947" role="paragraph" xml-lang="en-US"><variable id="rechenleiste">Choose <emph>View - Formula Bar</emph>.</variable></paragraph>
-<paragraph id="par_id3148663" role="paragraph" xml-lang="en-US"><variable id="seumvo">Choose <emph>View - Page Break</emph>.</variable></paragraph>
-<paragraph id="par_id3155383" role="paragraph" xml-lang="en-US"><variable id="functionlist">Choose <menuitem>View - Function List</menuitem>.</variable></paragraph>
+<paragraph id="par_id3150275" role="paragraph"><variable id="aspze">Choose <emph>View - Column &amp; Row Headers</emph>.</variable></paragraph>
+<paragraph id="par_id3154514" role="paragraph"><variable id="awehe">Choose <emph>View - Value Highlighting</emph>.</variable></paragraph>
+
+<section id="formulabar">
+ <embed href="text/shared/00/00000004.xhp#from_menu_bar"/>
+ <paragraph id="par_id3148947" role="paragraph"><variable id="rechenleiste">Choose <emph>View - Formula Bar</emph>.</variable></paragraph>
+ <embed href="text/shared/00/00000004.xhp#from_tabUI"/>
+ <paragraph role="paragraph" id="par_id61698358350256">Choose <menuitem>View - Formula Bar</menuitem></paragraph>
+ <paragraph role="paragraph" id="par_id671698358461395">On the <menuitem>View</menuitem> menu of the <menuitem>View</menuitem> tab, choose <menuitem>Formula Bar</menuitem>.</paragraph>
+ <embed href="text/shared/00/00000004.xhp#from_toolbars"/>
+ <table id="tab_id851698362592037">
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id291698362592038" role="paragraph"><image src="cmd/lc_dbviewfunctions.svg" id="img_id151698362592039" width="1cm" height="1cm"><alt id="alt_id391698362592040">Icon Formula Bar</alt></image></paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id21698362592041" role="paragraph">Formula Bar</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+</section>
+
+<section id="seumvo1">
+ <embed href="text/shared/00/00000004.xhp#from_menu_bar"/>
+ <paragraph id="par_id3148663" role="paragraph"><variable id="seumvo">Choose <emph>View - Page Break</emph>.</variable></paragraph>
+ <embed href="text/shared/00/00000004.xhp#from_tabUI"/>
+ <paragraph role="paragraph" id="par_id171698362686256">Choose <menuitem>View - Page Break</menuitem></paragraph>
+ <paragraph role="paragraph" id="par_id671698358461395par_id741698362689912">On the <menuitem>View</menuitem> menu of the <menuitem>View</menuitem> tab, choose <menuitem>Page Break</menuitem>.</paragraph>
+ <embed href="text/shared/00/00000004.xhp#from_toolbars"/>
+ <table id="tab_id281698358501614">
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id791698358501615" role="paragraph"><image src="cmd/lc_pagebreakmode.svg" id="img_id691698358501616" width="1cm" height="1cm"><alt id="alt_id471698358501617">Icon Page Break</alt></image></paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id531698358501619" role="paragraph">Page Break</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+</section>
+
+<section id="normalview">
+ <embed href="text/shared/00/00000004.xhp#from_menu_bar"/>
+ <paragraph id="par_id531698361058084" role="paragraph">Choose <emph>View - Normal</emph></paragraph>
+ <embed href="text/shared/00/00000004.xhp#from_tabUI"/>
+ <paragraph role="paragraph" id="par_id711698361062230">Choose <menuitem>View - Normal View</menuitem></paragraph>
+ <paragraph role="paragraph" id="par_id561698361065843">Choose <menuitem>Layout - Normal View</menuitem></paragraph>
+ <paragraph role="paragraph" id="par_id91698361069613">On the <menuitem>View</menuitem> menu of the <menuitem>View</menuitem> tab, choose <menuitem>Normal</menuitem>.</paragraph>
+ <embed href="text/shared/00/00000004.xhp#from_toolbars"/>
+ <table id="tab_id283698358501614">
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id651698361082228" role="paragraph"><image src="cmd/lc_normalviewmode.svg" id="img_id691698358201616" width="1cm" height="1cm"><alt id="alt_id471598358501617">Icon Normal View</alt></image></paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id121698361112694" role="paragraph">Normal View</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+</section>
+
+<paragraph id="par_id3155383" role="paragraph"><variable id="functionlist">Choose <menuitem>View - Function List</menuitem>.</variable></paragraph>
</body>
</helpdocument>
diff --git a/source/text/scalc/01/03090000.xhp b/source/text/scalc/01/03090000.xhp
index c925dc7f5d..f914a428e9 100644
--- a/source/text/scalc/01/03090000.xhp
+++ b/source/text/scalc/01/03090000.xhp
@@ -20,31 +20,29 @@
<meta>
<topic id="textscalc0103090000xml" indexer="include" status="PUBLISH">
- <title id="tit" xml-lang="en-US">Formula Bar</title>
+ <title id="tit">Formula Bar</title>
<filename>/text/scalc/01/03090000.xhp</filename>
</topic>
</meta>
<body>
-
-
-<section id="formula_bar">
-<bookmark xml-lang="en-US" branch="index" id="bm_id3147264">
+<bookmark branch="index" id="bm_id3147264">
<bookmark_value>formula bar;spreadsheets</bookmark_value>
<bookmark_value>spreadsheets; formula bar</bookmark_value>
</bookmark>
-
-<bookmark xml-lang="en-US" branch="hid/.uno:InputLineVisible" id="bm_id268003" localize="false"/>
-
+<bookmark branch="hid/.uno:InputLineVisible" id="bm_id268003" localize="false"/>
+<section id="formula_bar">
<h1 id="hd_id3147264"><link href="text/scalc/01/03090000.xhp">Formula Bar</link></h1>
-<paragraph id="par_id3156423" role="paragraph" xml-lang="en-US"><ahelp hid=".">Shows or hides the Formula Bar, which is used for entering and editing formulas. The Formula Bar is the most important tool when working with spreadsheets.</ahelp></paragraph>
+<paragraph id="par_id3156423" role="paragraph"><ahelp hid=".">Shows or hides the Formula Bar, which is used for entering and editing formulas. The Formula Bar is the most important tool when working with spreadsheets.</ahelp></paragraph>
</section>
-<paragraph id="par_id3154686" role="paragraph" xml-lang="en-US">To hide the Formula Bar, unmark the menu item.</paragraph>
+<paragraph id="par_id3154686" role="paragraph">To hide the Formula Bar, unmark the menu item.</paragraph>
<section id="howtoget">
-<embed href="text/scalc/00/00000403.xhp#rechenleiste"/>
+<embed href="text/scalc/00/00000403.xhp#formulabar"/>
+</section>
+<paragraph id="par_id3145787" role="paragraph">If the Formula Bar is hidden, you can still edit cells by activating the edit mode with F2. After editing cells, accept the changes by pressing Enter, or discard entries by pressing Esc. Esc is also used to exit the edit mode.</paragraph>
+<section id="relatedtopics">
+ <paragraph role="paragraph" id="par_id921698361623602" localize="false"><embedvar href="text/scalc/main0103.xhp#h1" markup="ignore"/></paragraph>
</section>
-<paragraph id="par_id3145787" role="paragraph" xml-lang="en-US">If the Formula Bar is hidden, you can still edit cells by activating the edit mode with F2. After editing cells, accept the changes by pressing Enter, or discard entries by pressing Esc. Esc is also used to exit the edit mode.</paragraph>
</body>
-
</helpdocument>
diff --git a/source/text/scalc/01/03100000.xhp b/source/text/scalc/01/03100000.xhp
index 442711931c..84437f4e13 100644
--- a/source/text/scalc/01/03100000.xhp
+++ b/source/text/scalc/01/03100000.xhp
@@ -20,34 +20,34 @@
<meta>
<topic id="textscalc0103100000xml" indexer="include" status="PUBLISH">
- <title id="tit" xml-lang="en-US">Page Break View</title>
+ <title id="tit">Page Break View</title>
<filename>/text/scalc/01/03100000.xhp</filename>
</topic>
</meta>
<body>
-
-
+<bookmark branch="hid/.uno:PagebreakMode" id="bm_id3465342" localize="false"/>
<section id="page_break_view_title">
-<bookmark xml-lang="en-US" branch="hid/.uno:PagebreakMode" id="bm_id3465342" localize="false"/>
-
-<h1 id="hd_id3151384"><link href="text/scalc/01/03100000.xhp">Page Break View</link></h1>
-<paragraph id="par_id3150792" role="paragraph" xml-lang="en-US"><variable id="page_break_view_text"><ahelp hid=".">Display the page breaks and print ranges in the sheet.</ahelp></variable> Choose <item type="menuitem">View - Normal</item> to switch this mode off.</paragraph>
+<h1 id="hd_id3151384"><link href="text/scalc/01/03100000.xhp">Page Break</link></h1>
+<paragraph id="par_id3150792" role="paragraph"><variable id="page_break_view_text"><ahelp hid=".">Display the page breaks and print ranges in the sheet.</ahelp></variable></paragraph>
</section>
+<paragraph role="paragraph" id="par_id711698358957046">Choose <menuitem>View - Normal</menuitem> to switch this mode off.</paragraph>
<section id="howtoget">
-<embed href="text/scalc/00/00000403.xhp#seumvo"/>
+<embed href="text/scalc/00/00000403.xhp#seumvo1"/>
</section>
<embed href="text/scalc/guide/print_details.xhp#print_details"/>
<embed href="text/scalc/guide/print_exact.xhp#print_exact"/>
-<paragraph id="par_id3153877" role="paragraph" xml-lang="en-US">The context menu of the page break preview contains functions for editing page breaks, including the following options:</paragraph>
-<bookmark xml-lang="en-US" branch="hid/.uno:DeleteAllBreaks" id="bm_id8896104" localize="false"/>
+<paragraph id="par_id3153877" role="paragraph">The context menu of the page break preview contains functions for editing page breaks, including the following options:</paragraph>
+<bookmark branch="hid/.uno:DeleteAllBreaks" id="bm_id8896104" localize="false"/>
<h2 id="hd_id3154731">Delete Page Breaks</h2>
-<paragraph id="par_id3149400" role="paragraph" xml-lang="en-US"><ahelp hid=".">Deletes all manual breaks in the current sheet.</ahelp></paragraph>
+<paragraph id="par_id3149400" role="paragraph"><ahelp hid=".">Deletes all manual breaks in the current sheet.</ahelp></paragraph>
<h2 id="hd_id3155067">Add Print Range</h2>
-<paragraph id="par_id3155764" role="paragraph" xml-lang="en-US">Adds the selected cells to print ranges.</paragraph>
+<paragraph id="par_id3155764" role="paragraph">Adds the selected cells to print ranges.</paragraph>
+<section id="relatedtopics">
+ <paragraph role="paragraph" id="par_id921698361623602" localize="false"><embedvar href="text/scalc/main0103.xhp#h1" markup="ignore"/></paragraph>
+</section>
</body>
-
</helpdocument>
diff --git a/source/text/scalc/01/NormalViewMode.xhp b/source/text/scalc/01/NormalViewMode.xhp
new file mode 100644
index 0000000000..7d56a414b0
--- /dev/null
+++ b/source/text/scalc/01/NormalViewMode.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="textscalc01NormalViewModexml" indexer="include" status="PUBLISH">
+ <title id="tit">Normal View</title>
+ <filename>/text/scalc/01/NormalViewMode.xhp</filename>
+ </topic>
+</meta>
+
+<body>
+<bookmark branch="hid/.uno:NormalViewMode" id="bm_id3465342" localize="false"/>
+<section id="normal_view">
+<h1 id="hd_id3151384"><link href="text/scalc/01/NormalViewMode.xhp">Normal View</link></h1>
+<paragraph id="par_idN105AF" role="paragraph"><ahelp hid=".">Displays the normal layout view of the sheet.</ahelp></paragraph>
+</section>
+
+<section id="howtoget">
+<embed href="text/scalc/00/00000403.xhp#normalview"/>
+</section>
+<section id="relatedtopics">
+ <paragraph role="paragraph" id="par_id921698361623602" localize="false"><embedvar href="text/scalc/main0103.xhp#h1" markup="ignore"/></paragraph>
+</section>
+</body>
+</helpdocument>
diff --git a/source/text/scalc/main0103.xhp b/source/text/scalc/main0103.xhp
index 3d0093ca4f..d3545cd41c 100644
--- a/source/text/scalc/main0103.xhp
+++ b/source/text/scalc/main0103.xhp
@@ -20,23 +20,20 @@
<meta>
<topic id="textscalcmain0103xml" indexer="include">
- <title id="tit" xml-lang="en-US">View</title>
+ <title id="tit">View</title>
<filename>/text/scalc/main0103.xhp</filename>
</topic>
</meta>
<body>
-<section id="view">
-<bookmark xml-lang="en-US" branch="hid/.uno:ViewMenu" id="bm_id5569933" localize="false"/>
-<h1 id="hd_id3151112"><link href="text/scalc/main0103.xhp">View</link></h1>
-<paragraph id="par_id3149456" role="paragraph" xml-lang="en-US"><ahelp hid=".">This menu contains commands to control the on-screen display of the document, change the user interface and access the sidebar panels.</ahelp></paragraph>
+<bookmark branch="hid/.uno:ViewMenu" id="bm_id5569933" localize="false"/>
+<section id="view">
+ <h1 id="hd_id3151112"><variable id="h1"><link href="text/scalc/main0103.xhp">View</link></variable></h1>
+<paragraph id="par_id3149456" role="paragraph"><ahelp hid=".">This menu contains commands to control the on-screen display of the document, change the user interface and access the sidebar panels.</ahelp></paragraph>
</section>
-<bookmark xml-lang="en-US" branch="hid/.uno:NormalViewMode" id="bm_id1480983" localize="false"/>
-
-<h2 id="par_idN105AB">Normal</h2>
-<paragraph id="par_idN105AF" role="paragraph" xml-lang="en-US"><ahelp hid=".">Displays the normal layout view of the sheet.</ahelp></paragraph>
-<h2 id="hd_id102720151109097115"><link href="text/scalc/01/03100000.xhp">Page Break</link></h2>
+<embed href="text/scalc/01/NormalViewMode.xhp#normal_view"/>
+<embed href="text/scalc/01/03100000.xhp#page_break_view_title"/>
<embed href="text/shared/01/notebook_bar.xhp#using_the_notebook_bar"/>
<embed href="text/shared/01/03990000.xhp#toolbars"/>
<embed href="text/scalc/01/03090000.xhp#formula_bar"/>
@@ -45,14 +42,14 @@
<section id="view_grid_lines">
<h2 id="hd_id10272015110909623">View Grid lines</h2>
-<paragraph id="par_id102720151147483554" role="paragraph" xml-lang="en-US">Toggle the visibility of grid lines for the current sheet.</paragraph>
+<paragraph id="par_id102720151147483554" role="paragraph">Toggle the visibility of grid lines for the current sheet.</paragraph>
</section>
<embed href="text/shared/01/grid_and_helplines.xhp#grid_and_help_lines"/>
<embed href="text/scalc/01/03080000.xhp#value_highlighting"/>
<h2 id="hd_id033020170228348624">Show Formula</h2>
-<paragraph id="par_id03302017024610704" role="paragraph" xml-lang="en-US">Display the cell formula expression instead of the calculated result.</paragraph>
+<paragraph id="par_id03302017024610704" role="paragraph">Display the cell formula expression instead of the calculated result.</paragraph>
<h2 id="hd_id241636195404363">Comments</h2>
<paragraph role="paragraph" id="par_id101636195413295">Display the <link href="text/shared/01/04050000.xhp">cell comments</link> for the current spreadsheet document.</paragraph>