AllLangHelp_scalc.mk                          |    1 
 Package_html_media.mk                         |    1 
 source/media/helpimg/scalc/calczoomslider.png |binary
 source/text/scalc/01/zoom.xhp                 |   76 ++++++++++++++++++++++++++
 source/text/scalc/02/10050000.xhp             |   15 ++---
 source/text/scalc/02/10060000.xhp             |   14 ++--
 source/text/shared/00/00000403.xhp            |    2 
 source/text/shared/01/03010000.xhp            |    3 -
 8 files changed, 94 insertions(+), 18 deletions(-)

New commits:
commit b6d4faa7e677a53d4bd36c44778d87e51bd206c8
Author:     Angelle Leger <angelle.leg...@gmail.com>
AuthorDate: Thu Mar 9 06:53:29 2023 -0300
Commit:     Olivier Hallot <olivier.hal...@libreoffice.org>
CommitDate: Fri Mar 10 15:47:29 2023 +0000

    TDF#153108 Calc Zoom Help Page
    
    * New help page by Angelle Leger
    * Refactoring by ohallot.
    
    Change-Id: I8c0d47414ec257b21d0f0369912147038d440d47
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/148530
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hal...@libreoffice.org>

diff --git a/AllLangHelp_scalc.mk b/AllLangHelp_scalc.mk
index 7cb0cf5f03..0019a72dce 100644
--- a/AllLangHelp_scalc.mk
+++ b/AllLangHelp_scalc.mk
@@ -307,6 +307,7 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,scalc,\
     helpcontent2/source/text/scalc/01/stat_data \
     helpcontent2/source/text/scalc/01/ODFF \
     helpcontent2/source/text/scalc/01/text2columns \
+    helpcontent2/source/text/scalc/01/zoom \
     helpcontent2/source/text/scalc/01/xml_source \
     helpcontent2/source/text/scalc/02/06010000 \
     helpcontent2/source/text/scalc/02/06030000 \
diff --git a/Package_html_media.mk b/Package_html_media.mk
index 13db10fdea..5a45802307 100644
--- a/Package_html_media.mk
+++ b/Package_html_media.mk
@@ -170,6 +170,7 @@ $(eval $(call 
gb_Package_add_files_with_dir,helpcontent2_html_media,$(LIBO_SHARE
     helpimg/sbasic/With_statement.svg \
     helpimg/sbasic/Write_statement.svg \
     helpimg/scalc/coordinates-to-polar-01.svg \
+    helpimg/scalc/calczoomslider.png \
     helpimg/sdraw/control_points.png \
     helpimg/sdraw/distribute-orig.svg \
     helpimg/sdraw/distribute-HR.svg \
diff --git a/source/media/helpimg/scalc/calczoomslider.png 
b/source/media/helpimg/scalc/calczoomslider.png
new file mode 100644
index 0000000000..7f345dd1f9
Binary files /dev/null and b/source/media/helpimg/scalc/calczoomslider.png 
differ
diff --git a/source/text/scalc/01/zoom.xhp b/source/text/scalc/01/zoom.xhp
new file mode 100644
index 0000000000..be58d10bdf
--- /dev/null
+++ b/source/text/scalc/01/zoom.xhp
@@ -0,0 +1,76 @@
+<?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="textscalc01zoomxhp" indexer="include" status="PUBLISH">
+        <title id="tit" xml-lang="en-US">Zoom</title>
+        <filename>/text/scalc/01/zoom.xhp</filename>
+    </topic>
+</meta>
+<body>
+<bookmark xml-lang="en-US" branch="index" id="bm_id61678279382558">
+    <bookmark_value>Zoom;spreadsheet</bookmark_value>
+    <bookmark_value>Zoom in;spreadsheet</bookmark_value>
+    <bookmark_value>Zoom out;spreadsheet</bookmark_value>
+</bookmark>
+<section id="ZoomHead">
+    <bookmark id="bm_id191674151617148" xml-lang="en-US" branch="hid/CHANGE 
ME" localize="false"/>
+    <h1 id="hd_id301674151617149"><variable id="h1"><link 
href="text/scalc/01/zoom.xhp">Zooming In and Out in Calc</link></variable></h1>
+    <paragraph id="par_id841674151617153" role="paragraph" 
xml-lang="en-US">Zoom allows users to magnify and reduce the screen display. 
Multiple methods of zooming in and out are available in Calc.</paragraph>
+</section>
+<section id="howtoget">
+    <paragraph role="paragraph" id="par_id791678229927893">Choose one of the 
following methods:</paragraph>
+    <list type="unordered">
+        <listitem>
+            <paragraph id="par_id91678230156720"  role="listitem">Choose menu 
<menuitem>View - Zoom</menuitem>, and select the magnification value in the 
submenu.</paragraph>
+        </listitem>
+        <listitem>
+            <paragraph id="par_id421678230024566"  role="listitem">Click the 
plus (or minus) icon on the zoom slider in the status bar. The screen size 
increases (or decreases) by 10% with each click.</paragraph>
+        </listitem>
+        <listitem>
+            <paragraph id="par_id511678230735657"  role="listitem">Drag the 
Zoom slider handle to adjust the magnification factor with the 
mouse.</paragraph>
+        </listitem>
+        <listitem>
+            <paragraph id="par_id461674152484428"  role="listitem">Press 
<switchinline select="sys"><caseinline 
select="MAC"><keycode>Command</keycode></caseinline><defaultinline><keycode>Ctrl</keycode></defaultinline></switchinline>
 while rolling the mouse wheel.</paragraph>
+        </listitem>
+    </list>
+</section>
+    <paragraph role="paragraph" id="par_id71678262942683" xml-lang="en-US">
+        <image src="media/helpimg/scalc/calczoomslider.png" 
id="img_id721678262942684" width="282px" height="40px"><alt xml-lang="en-US" 
id="alt_id461678262942685">Calc Zoom Slider</alt></image>
+    </paragraph>
+<note id="par_id41678230455376">20% is the minimum zoom factor. 400% is the 
maximum.</note>
+<h2 id="hd_id101678230496709">Zooming with the Zoom slider</h2>
+<paragraph role="paragraph" id="par_id361678230881080">In addition to the 
slider plus and minus icons, you can drag the slider handle to manually adjust 
the zoom factor.</paragraph>
+<paragraph role="paragraph" id="par_id531678230887813">Also, click anywhere on 
the slider to adjust the zoom factor.</paragraph>
+<note id="par_id841678230875046">The center line on the zoom slider represents 
100% zoom factor.</note>
+<h2 id="hd_id631678233685940">Access Zoom via the menu</h2>
+<paragraph role="paragraph" id="par_id501678233750773">Choose menu 
<menuitem>View – Zoom</menuitem>. The predefined options are:</paragraph>
+<list type="unordered">
+    <listitem>
+        <paragraph id="par_id391678233854552" role="listitem"><menuitem>Entire 
Page</menuitem>: resizes the display to fit the width and height of the 
page.</paragraph>
+    </listitem>
+    <listitem>
+        <paragraph id="par_id31678233860361" role="listitem"><menuitem>Page 
Width</menuitem>: resizes the display to fit the width of the page, limited to 
the minimum and maximum zoom factor. The top and bottom edges of the selection 
may not be visible.</paragraph>
+    </listitem>
+    <listitem>
+        <paragraph id="par_id681678233866236" 
role="listitem"><menuitem>Optimal View</menuitem>: resizes the display to fit 
the width and height of the selected cells. The enlargement or reduction are 
limited to the minimum and maximum zoom factors. If only one cell is selected 
then it will zoom to 100%.</paragraph>
+    </listitem>
+    <listitem>
+        <paragraph id="par_id991678233902146" localize="false" 
role="listitem"><menuitem>50%, 75%, 100%, 150%, 200%</menuitem>: predefined 
zoom factors.</paragraph>
+    </listitem>
+</list>
+<embed href="text/shared/01/03010000.xhp#zoom"/>
+<section id="relatedtopics">
+    <embed href="text/scalc/02/10050000.xhp#h1"/>
+    <embed href="text/scalc/02/10060000.xhp#h1"/>
+</section>
+</body>
+</helpdocument>
diff --git a/source/text/scalc/02/10050000.xhp 
b/source/text/scalc/02/10050000.xhp
index 6bdd730321..c476f361a2 100644
--- a/source/text/scalc/02/10050000.xhp
+++ b/source/text/scalc/02/10050000.xhp
@@ -1,6 +1,4 @@
 <?xml version="1.0" encoding="UTF-8"?>
-
-
 <!--
  * This file is part of the LibreOffice project.
  *
@@ -18,7 +16,6 @@
  *   except in compliance with the License. You may obtain a copy of
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  -->
-       
 <helpdocument version="1.0">
 <meta>
 <topic id="textscalc0210050000xml" indexer="include" status="PUBLISH">
@@ -36,19 +33,21 @@
 <bookmark_value>zooming;enlarging page views</bookmark_value>
 </bookmark><comment>mw deleted "scaling;"</comment>
 <bookmark xml-lang="en-US" branch="hid/.uno:ZoomIn" id="bm_id7362949" 
localize="false"/>
-<paragraph role="heading" id="hd_id3148491" xml-lang="en-US" level="1"><link 
href="text/scalc/02/10050000.xhp">Zoom In</link></paragraph>
+<h1 id="hd_id3148491"><variable id="h1"><link 
href="text/scalc/02/10050000.xhp">Zoom In</link></variable></h1>
 <paragraph role="paragraph" id="par_id3145069" xml-lang="en-US"><ahelp 
hid=".uno:ZoomIn">Enlarges the screen display of the current document. The 
current zoom factor is displayed on the <emph>Status 
Bar</emph>.</ahelp></paragraph>
 </section>
+    <paragraph role="paragraph" id="par_id71678262942683" xml-lang="en-US">
+        <image src="media/helpimg/scalc/calczoomslider.png" 
id="img_id721678262942684" width="282px" height="40px"><alt xml-lang="en-US" 
id="alt_id461678262942685">Calc Zoom Slider</alt></image>
+    </paragraph>
 <paragraph role="paragraph" id="par_id3145171" xml-lang="en-US">The maximum 
zoom factor is 400%.</paragraph>
 <section id="syzoom_in">
 <table id="tbl_id3154686">
 <tablerow>
-<tablecell colspan="" rowspan="">
+<tablecell>
 <paragraph role="paragraph" id="par_id3155854" xml-lang="en-US">
-<image id="img_id3151116" src="cmd/sc_zoomin.png" width="0.222inch" 
height="0.222inch"><alt id="alt_id3151116" xml-lang="en-US">Icon</alt>
-       </image></paragraph>
+<image id="img_id3151116" src="cmd/lc_zoomin.svg" width="1cm" 
height="1cm"><alt id="alt_id3151116" xml-lang="en-US">Icon Zoom 
In</alt></image></paragraph>
 </tablecell>
-<tablecell colspan="" rowspan="">
+<tablecell>
 <paragraph role="paragraph" id="par_id3145273" xml-lang="en-US">Zoom 
In</paragraph>
 </tablecell>
 </tablerow>
diff --git a/source/text/scalc/02/10060000.xhp 
b/source/text/scalc/02/10060000.xhp
index 07e67299b8..03007b5705 100644
--- a/source/text/scalc/02/10060000.xhp
+++ b/source/text/scalc/02/10060000.xhp
@@ -1,6 +1,4 @@
 <?xml version="1.0" encoding="UTF-8"?>
-
-
 <!--
  * This file is part of the LibreOffice project.
  *
@@ -18,7 +16,6 @@
  *   except in compliance with the License. You may obtain a copy of
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  -->
-       
 <helpdocument version="1.0">
 <meta>
 <topic id="textscalc0210060000xml" indexer="include" status="PUBLISH">
@@ -35,19 +32,22 @@
 <bookmark_value>zooming;reducing page views</bookmark_value>
 </bookmark><comment>mw deleted "scaling;"</comment>
 <bookmark xml-lang="en-US" branch="hid/.uno:ZoomOut" id="bm_id5729287" 
localize="false"/>
-<paragraph role="heading" id="hd_id3153561" xml-lang="en-US" level="1"><link 
href="text/scalc/02/10060000.xhp">Zoom Out</link></paragraph>
+<h1 id="hd_id3153561"><variable id="h1"><link 
href="text/scalc/02/10060000.xhp">Zoom Out</link></variable></h1>
 <paragraph role="paragraph" id="par_id3151246" xml-lang="en-US"><ahelp 
hid=".uno:ZoomOut">Reduces the screen display of the current document. The 
current zoom factor is displayed on the <emph>Status 
Bar</emph>.</ahelp></paragraph>
 </section>
+    <paragraph role="paragraph" id="par_id71678262942683" xml-lang="en-US">
+        <image src="media/helpimg/scalc/calczoomslider.png" 
id="img_id721678262942684" width="282px" height="40px"><alt xml-lang="en-US" 
id="alt_id461678262942685">Calc Zoom Slider</alt></image>
+    </paragraph>
 <paragraph role="paragraph" id="par_id3150398" xml-lang="en-US">The minimum 
zoom factor is 20%.</paragraph>
 <section id="syzoom_out">
 <table id="tbl_id3125863">
 <tablerow>
-<tablecell colspan="" rowspan="">
+<tablecell>
 <paragraph role="paragraph" id="par_id3153770" xml-lang="en-US">
-<image id="img_id3155131" src="cmd/sc_zoomout.png" width="0.222inch" 
height="0.222inch"><alt id="alt_id3155131" xml-lang="en-US">Icon</alt>
+<image id="img_id3155131" src="cmd/lc_zoomout.svg" width="1cm" 
height="1cm"><alt id="alt_id3155131" xml-lang="en-US">Icon</alt>
        </image></paragraph>
 </tablecell>
-<tablecell colspan="" rowspan="">
+<tablecell>
 <paragraph role="paragraph" id="par_id3150440" xml-lang="en-US">Zooming 
Out</paragraph>
 </tablecell>
 </tablerow>
diff --git a/source/text/shared/00/00000403.xhp 
b/source/text/shared/00/00000403.xhp
index f12d290363..32bd39ff62 100644
--- a/source/text/shared/00/00000403.xhp
+++ b/source/text/shared/00/00000403.xhp
@@ -33,7 +33,7 @@
 <paragraph role="paragraph" id="par_id3146936" xml-lang="en-US">Choose 
<menuitem>View - Zoom - Zoom</menuitem>.</paragraph>
 <paragraph role="paragraph" id="par_id3149962" xml-lang="en-US"><switchinline 
select="appl"><caseinline select="DRAW">Zoom also with (+) (-) (×) and (÷) on 
the number keypad
 </caseinline><caseinline select="IMPRESS">Zoom also with (+) (-) (×) and (÷) 
on the number keypad.</caseinline></switchinline></paragraph>
-<paragraph role="paragraph" id="par_id3152895" xml-lang="en-US">Click or 
right-click the field on the <emph>Status</emph> bar.</paragraph>
+<paragraph role="paragraph" id="par_id3152895" xml-lang="en-US">Click or 
right-click the zoom factor displayed on the Zoom Slider in the 
<emph>Status</emph> bar.</paragraph>
 </section>
 <section id="viewtoolbars">
 <paragraph role="paragraph" id="par_id3156183" xml-lang="en-US">Choose 
<menuitem>View - Toolbars</menuitem>.</paragraph>
diff --git a/source/text/shared/01/03010000.xhp 
b/source/text/shared/01/03010000.xhp
index 69725b9d97..de82aaf1bc 100644
--- a/source/text/shared/01/03010000.xhp
+++ b/source/text/shared/01/03010000.xhp
@@ -41,9 +41,8 @@
 <bookmark xml-lang="en-US" branch="hid/.uno:Zoom" id="bm_id3153321" 
localize="false"/>
 
 <h1 id="hd_id3154682" xml-lang="en-US"><link 
href="text/shared/01/03010000.xhp">Zoom &amp; View Layout</link></h1>
-<paragraph id="par_id3149578" role="paragraph" xml-lang="en-US"><variable 
id="zoom_text"><variable id="massstabtext"><ahelp hid=".">Reduces or enlarges 
the screen display of %PRODUCTNAME.</ahelp></variable> </variable> The current 
zoom factor is displayed as a percentage value on the <emph>Status</emph> 
bar.</paragraph>
+<paragraph id="par_id3149578" role="paragraph" xml-lang="en-US"><variable 
id="zoom_text"><variable id="massstabtext"><ahelp hid=".">Reduces or enlarges 
the screen display of %PRODUCTNAME.</ahelp></variable> </variable> The current 
zoom factor is displayed as a percentage value in the Zoom Slider on the 
<emph>Status</emph> bar.</paragraph>
 </section>
-
 <section id="howtoget">
 <embed href="text/shared/00/00000403.xhp#zoom"/>
 </section>

Reply via email to