summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@libreoffice.org>2023-10-26 21:32:02 -0300
committerOlivier Hallot <olivier.hallot@libreoffice.org>2023-10-27 13:41:19 +0200
commit53e7511706a73d0336ce183f614d53469836ef64 (patch)
tree7ccca2465b639c87d888eb3eecb8250da3c967de
parentb41eeeaaa91ed78e387cfed551400984836164af (diff)
tdf#155876 UI cmds Calc-View menu (07)
+ refactoring Change-Id: I766345780bb12a3ba9d9c8c3135f77d4d04bc78d Reviewed-on: https://gerrit.libreoffice.org/c/help/+/158519 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.xhp41
-rw-r--r--source/text/scalc/01/03070000.xhp31
-rw-r--r--source/text/scalc/01/ToggleSheetGrid.xhp35
-rw-r--r--source/text/scalc/main0103.xhp6
-rw-r--r--source/text/scalc/menu/sheet_tab_menu.xhp3
6 files changed, 91 insertions, 26 deletions
diff --git a/AllLangHelp_scalc.mk b/AllLangHelp_scalc.mk
index 4beef8283f..ec54caffbe 100644
--- a/AllLangHelp_scalc.mk
+++ b/AllLangHelp_scalc.mk
@@ -317,6 +317,7 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,scalc,\
helpcontent2/source/text/scalc/01/ODFF \
helpcontent2/source/text/scalc/01/TableSelectAll \
helpcontent2/source/text/scalc/01/text2columns \
+ helpcontent2/source/text/scalc/01/ToggleSheetGrid \
helpcontent2/source/text/scalc/01/SelectUnprotectedCells \
helpcontent2/source/text/scalc/01/SelectVisibleColumns \
helpcontent2/source/text/scalc/01/SelectVisibleRows \
diff --git a/source/text/scalc/00/00000403.xhp b/source/text/scalc/00/00000403.xhp
index 4a4fb2b360..83d704ec7a 100644
--- a/source/text/scalc/00/00000403.xhp
+++ b/source/text/scalc/00/00000403.xhp
@@ -26,7 +26,46 @@
</meta>
<body>
<h1 id="hd_id3145673">View Menu</h1>
-<paragraph id="par_id3150275" role="paragraph"><variable id="aspze">Choose <emph>View - Column &amp; Row Headers</emph>.</variable></paragraph>
+
+<section id="viewgridlines">
+ <embed href="text/shared/00/00000004.xhp#from_menu_bar"/>
+ <paragraph id="par_id531698366206018" role="paragraph">Choose <emph>View - View Grid Lines</emph>.</paragraph>
+ <embed href="text/shared/00/00000004.xhp#from_tabUI"/>
+ <paragraph role="paragraph" id="par_id251698366210562">Choose <menuitem>View - View Grid Lines</menuitem></paragraph>
+ <paragraph role="paragraph" id="par_id891698366214459">On the <menuitem>View</menuitem> menu of the <menuitem>View</menuitem> tab, choose <menuitem>View Grid Lines</menuitem>.</paragraph>
+ <embed href="text/shared/00/00000004.xhp#from_toolbars"/>
+ <table id="tab_id371698365945185">
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id531698365945186" role="paragraph"><image src="cmd/lc_togglesheetgrid.svg" id="img_id601698365945187" width="1cm" height="1cm"><alt id="alt_id801698365945188">Icon View Grid Lines</alt></image></paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id671698365945190" role="paragraph">View Grid Lines</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+</section>
+
+
+<section id="viewheaders">
+ <embed href="text/shared/00/00000004.xhp#from_menu_bar"/>
+ <paragraph id="par_id3150275" role="paragraph"><variable id="aspze">Choose <emph>View - View Headers</emph>.</variable></paragraph>
+ <embed href="text/shared/00/00000004.xhp#from_tabUI"/>
+ <paragraph role="paragraph" id="par_id841698364005473">Choose <menuitem>View - View Headers</menuitem></paragraph>
+ <paragraph role="paragraph" id="par_id961698364009906">On the <menuitem>View</menuitem> menu of the <menuitem>View</menuitem> tab, choose <menuitem>View Headers</menuitem>.</paragraph>
+ <embed href="text/shared/00/00000004.xhp#from_toolbars"/>
+ <table id="tab_id61698363988327">
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id341698363988328" role="paragraph"><image src="cmd/lc_viewrowcolumnheaders.svg" id="img_id721698363988329" width="1cm" height="1cm"><alt id="alt_id501698363988330">Icon View Headers</alt></image></paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id361698363988332" role="paragraph">View Headers</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+</section>
+
<paragraph id="par_id3154514" role="paragraph"><variable id="awehe">Choose <emph>View - Value Highlighting</emph>.</variable></paragraph>
<section id="formulabar">
diff --git a/source/text/scalc/01/03070000.xhp b/source/text/scalc/01/03070000.xhp
index 289bb82cf2..b463634ac6 100644
--- a/source/text/scalc/01/03070000.xhp
+++ b/source/text/scalc/01/03070000.xhp
@@ -20,39 +20,32 @@
<meta>
<topic id="textscalc0103070000xml" indexer="include" status="PUBLISH">
- <title id="tit" xml-lang="en-US">Column &amp; Row Headers</title>
+ <title id="tit">Column &amp; Row Headers</title>
<filename>/text/scalc/01/03070000.xhp</filename>
</topic>
</meta>
<body>
-
-
-<section id="column_and_row_headers">
-<bookmark xml-lang="en-US" branch="index" id="bm_id3156024">
+<bookmark branch="index" id="bm_id3156024">
<bookmark_value>spreadsheets; displaying headers of columns/rows</bookmark_value>
<bookmark_value>displaying; headers of columns/rows</bookmark_value>
</bookmark>
+<bookmark branch="hid/.uno:ViewRowColumnHeaders" id="bm_id4366858" localize="false"/>
-<bookmark xml-lang="en-US" branch="hid/.uno:ViewRowColumnHeaders" id="bm_id4366858" localize="false"/>
-
-<h1 id="hd_id3156024"><link href="text/scalc/01/03070000.xhp">Column &amp; Row Headers</link></h1>
-<paragraph id="par_id3147230" role="paragraph" xml-lang="en-US"><ahelp hid=".">Shows column headers and row headers.</ahelp></paragraph>
+<section id="column_and_row_headers">
+<h1 id="hd_id3156024"><link href="text/scalc/01/03070000.xhp">View Headers</link></h1>
+<paragraph id="par_id3147230" role="paragraph"><ahelp hid=".">Shows column headers and row headers.</ahelp></paragraph>
</section>
-<list type="unordered">
- <listitem>
- <paragraph id="par_id3156280" role="listitem" xml-lang="en-US">To hide the column and row headers, unmark this menu entry.</paragraph>
- </listitem></list>
+<paragraph id="par_id3156280" role="paragraph">To hide the column and row headers, unmark this menu entry.</paragraph>
<section id="howtoget">
-<embed href="text/scalc/00/00000403.xhp#aspze"/>
+<embed href="text/scalc/00/00000403.xhp#viewheaders"/>
</section>
-<list type="unordered">
- <listitem>
- <paragraph id="par_id3156441" role="listitem" xml-lang="en-US">You can also set the view of the column and row headers in <switchinline select="sys"><caseinline select="MAC"><item type="menuitem">%PRODUCTNAME - Preferences</item></caseinline><defaultinline><item type="menuitem">Tools - Options</item></defaultinline></switchinline> - <link href="text/shared/optionen/01060100.xhp"><emph>%PRODUCTNAME Calc - View</emph></link>.</paragraph>
- </listitem></list>
+<paragraph id="par_id3156441" role="paragraph">You can also set the view of the column and row headers in <switchinline select="sys"><caseinline select="MAC"><item type="menuitem">%PRODUCTNAME - Preferences</item></caseinline><defaultinline><item type="menuitem">Tools - Options</item></defaultinline></switchinline> - <link href="text/shared/optionen/01060100.xhp"><emph>%PRODUCTNAME Calc - View</emph></link>.</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/ToggleSheetGrid.xhp b/source/text/scalc/01/ToggleSheetGrid.xhp
new file mode 100644
index 0000000000..b02334e87c
--- /dev/null
+++ b/source/text/scalc/01/ToggleSheetGrid.xhp
@@ -0,0 +1,35 @@
+<?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="textscalc01ToggleSheetGridxhp" indexer="include" status="PUBLISH">
+ <title id="tit">View Grid Lines</title>
+ <filename>/text/scalc/01/ToggleSheetGrid.xhp</filename>
+ </topic>
+ </meta>
+<body>
+<bookmark branch="index" id="bm_id521698365175767">
+<bookmark_value>sheet;grid lines</bookmark_value>
+<bookmark_value>grid lines;sheets</bookmark_value>
+</bookmark>
+<bookmark branch="hid/.uno:ToggleSheetGrid" id="bm_id911698364745948" localize="false"/>
+ <section id="viewgridlines">
+ <h1 id="hd_id301698364833637"><variable id="h1"><link href="text/scalc/01/ToggleSheetGrid.xhp">View Grid Lines</link></variable></h1>
+ <paragraph id="par_id102720151147483554" role="paragraph">Toggle the visibility of grid lines for the current sheet.</paragraph>
+ </section>
+ <section id="howtoget">
+ <embed href="text/scalc/00/00000403.xhp#viewgridlines"/>
+ </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 d3545cd41c..3f419afb24 100644
--- a/source/text/scalc/main0103.xhp
+++ b/source/text/scalc/main0103.xhp
@@ -39,11 +39,7 @@
<embed href="text/scalc/01/03090000.xhp#formula_bar"/>
<embed href="text/shared/01/03060000.xhp#status_bar"/>
<embed href="text/scalc/01/03070000.xhp#column_and_row_headers"/>
-
-<section id="view_grid_lines">
-<h2 id="hd_id10272015110909623">View Grid lines</h2>
-<paragraph id="par_id102720151147483554" role="paragraph">Toggle the visibility of grid lines for the current sheet.</paragraph>
-</section>
+<embed href="text/scalc/01/ToggleSheetGrid.xhp#viewgridlines"/>
<embed href="text/shared/01/grid_and_helplines.xhp#grid_and_help_lines"/>
<embed href="text/scalc/01/03080000.xhp#value_highlighting"/>
diff --git a/source/text/scalc/menu/sheet_tab_menu.xhp b/source/text/scalc/menu/sheet_tab_menu.xhp
index de6e37b7b6..3367452428 100644
--- a/source/text/scalc/menu/sheet_tab_menu.xhp
+++ b/source/text/scalc/menu/sheet_tab_menu.xhp
@@ -38,7 +38,8 @@
<embed href="text/scalc/01/05050300.xhp#show_sheet"/>
<embed href="text/scalc/01/hide_sheet.xhp#hide_sheet"/>
-<embed href="text/scalc/main0103.xhp#view_grid_lines"/>
+<embed href="text/scalc/01/ToggleSheetGrid.xhp#viewgridlines"/>
+
<embed href="text/scalc/01/sheet_tab_color.xhp#sheet_tab_color"/>
<h2 id="hd_id3163733308"><link href="text/shared/01/06140500.xhp">Sheet Events</link></h2>