source/text/shared/01/01100400.xhp |   60 ++++++++++++++++++++-----------------
 1 file changed, 33 insertions(+), 27 deletions(-)

New commits:
commit 8d83f7397fd0ad9a5d77394b3f39825f2ee49af3
Author:     Olivier Hallot <olivier.hal...@libreoffice.org>
AuthorDate: Mon May 11 12:36:07 2020 -0300
Commit:     Olivier Hallot <olivier.hal...@libreoffice.org>
CommitDate: Mon May 11 17:38:46 2020 +0200

    Refactor Help page on Statistics
    
    Simplify by using proper tags
    
    Change-Id: I4a39f2a766e8801b16e09be288935c4b60da43ca
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/93982
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hal...@libreoffice.org>

diff --git a/source/text/shared/01/01100400.xhp 
b/source/text/shared/01/01100400.xhp
index d0742923a..1f40eadac 100644
--- a/source/text/shared/01/01100400.xhp
+++ b/source/text/shared/01/01100400.xhp
@@ -41,37 +41,43 @@
 <bookmark branch="hid/modules/scalc/ui/statisticsinfopage/@@nowidget@@" 
id="bm_@@nowidget@@" xml-lang="en-US" localize="false"/>
 <bookmark 
branch="hid/modules/swriter/ui/statisticsinfopage/StatisticsInfoPage" 
id="bm_id3147294" xml-lang="en-US" localize="false"/>
 <bookmark branch="hid/modules/swriter/ui/statisticsinfopage/@@nowidget@@" 
id="bm_@@nowidget@@" xml-lang="en-US" localize="false"/>
-<paragraph role="heading" level="1" id="hd_id3149962" xml-lang="en-US"><link 
href="text/shared/01/01100400.xhp" 
name="Statistics">Statistics</link></paragraph>
-  <paragraph role="paragraph" id="par_id3156045" xml-lang="en-US"><ahelp 
hid=".">Displays statistics for the current file.</ahelp></paragraph>
+<h1 id="hd_id3149962"><link href="text/shared/01/01100400.xhp" 
name="Statistics">Statistics</link></h1>
+<paragraph role="paragraph" id="par_id3156045" xml-lang="en-US"><ahelp 
hid=".">Displays statistics for the current file.</ahelp></paragraph>
 </section>
 <section id="howtoget">
-  <embed href="text/shared/00/00000401.xhp#info5"/>
+    <embed href="text/shared/00/00000401.xhp#info5"/>
 </section>
 <paragraph role="paragraph" id="par_id3156324" xml-lang="en-US"><switchinline 
select="appl"><caseinline select="WRITER">Some statistic values can be used as 
<link href="text/swriter/02/14020000.xhp" name="variables in 
formulas">variables in formulas</link>.</caseinline></switchinline></paragraph>
-<paragraph role="heading" level="2" id="hd_id3153255" 
xml-lang="en-US">Pages:</paragraph>
-  <paragraph role="paragraph" id="par_id3154230" xml-lang="en-US">Number of 
pages in the file.</paragraph>
-<paragraph role="heading" level="2" id="hd_id3156027" 
xml-lang="en-US"><switchinline select="appl"><caseinline 
select="WRITER">Tables:</caseinline><caseinline 
select="CALC">Sheets:</caseinline></switchinline></paragraph>
-  <paragraph role="paragraph" id="par_id3153527" 
xml-lang="en-US"><switchinline select="appl"><caseinline select="WRITER">Number 
of tables in the file.</caseinline><caseinline select="CALC">Number of sheets 
in the file.</caseinline></switchinline> This statistic <emph>does not</emph> 
include tables that were inserted as <link 
href="text/shared/00/00000005.xhp#ole" name="OLE"><emph>OLE</emph></link> 
objects.</paragraph>
-<paragraph role="heading" level="2" id="hd_id3153311" 
xml-lang="en-US"><switchinline select="appl"><caseinline 
select="CALC">Cells:</caseinline></switchinline></paragraph>
-  <paragraph role="paragraph" id="par_id3156114" 
xml-lang="en-US"><switchinline select="appl"><caseinline select="CALC">Number 
of cells with content in the file.</caseinline></switchinline></paragraph>
-<paragraph role="heading" level="2" id="hd_id641526904710590" 
xml-lang="en-US"><switchinline select="appl"><caseinline select="CALC">Formula 
groups:</caseinline></switchinline></paragraph>
-  <paragraph role="paragraph" id="par_id541526903668055" 
xml-lang="en-US"><switchinline select="appl"><caseinline select="CALC">Number 
of contiguous ranges in a column with same 
formula.</caseinline></switchinline></paragraph>
-<paragraph role="heading" level="2" id="hd_id3147210" 
xml-lang="en-US"><switchinline select="appl"><caseinline 
select="WRITER">Images:</caseinline></switchinline></paragraph>
-  <paragraph role="paragraph" id="par_id3166411" 
xml-lang="en-US"><switchinline select="appl"><caseinline select="WRITER">Number 
of images in the file. This statistic <emph>does not</emph> include images that 
were inserted as <link href="text/shared/00/00000005.xhp#ole" 
name="OLE"><emph>OLE</emph></link> 
objects.</caseinline></switchinline></paragraph>
-<paragraph role="heading" level="2" id="hd_id3147618" 
xml-lang="en-US"><switchinline select="appl"><caseinline select="WRITER">OLE 
Objects:</caseinline></switchinline></paragraph>
-  <paragraph role="paragraph" id="par_id3149820" 
xml-lang="en-US"><switchinline select="appl"><caseinline select="WRITER">Number 
of <link href="text/shared/00/00000005.xhp#ole" 
name="OLE"><emph>OLE</emph></link> objects in the file, <emph>including</emph> 
tables and graphics that were inserted as OLE 
objects.</caseinline></switchinline></paragraph>
-<paragraph role="heading" level="2" id="hd_id3153665" 
xml-lang="en-US"><switchinline select="appl"><caseinline 
select="WRITER">Paragraphs:</caseinline></switchinline></paragraph>
-  <paragraph role="paragraph" id="par_id3156156" 
xml-lang="en-US"><switchinline select="appl"><caseinline select="WRITER">Number 
of paragraphs, including blank paragraphs, in the 
file.</caseinline></switchinline></paragraph>
-<paragraph role="heading" level="2" id="hd_id3155261" 
xml-lang="en-US"><switchinline select="appl"><caseinline 
select="WRITER">Words:</caseinline></switchinline></paragraph>
-  <paragraph role="paragraph" id="par_id3147402" 
xml-lang="en-US"><switchinline select="appl"><caseinline select="WRITER">Number 
of words, including words consisting of a single character, in the 
file.</caseinline></switchinline></paragraph>
-<paragraph role="heading" level="2" id="hd_id3150466" 
xml-lang="en-US"><switchinline select="appl"><caseinline 
select="WRITER">Characters:</caseinline></switchinline></paragraph>
-  <paragraph role="paragraph" id="par_id3149294" 
xml-lang="en-US"><switchinline select="appl"><caseinline select="WRITER">Number 
of characters, including spaces, in the file. Non-printable characters are not 
included.</caseinline></switchinline></paragraph>
-<h2 id="hd_id541589188608624"><switchinline select="appl"><caseinline 
select="WRITER">Characters excluding spaces:</caseinline></switchinline></h2>
-  <paragraph role="paragraph" id="par_id341589188750182"><switchinline 
select="appl"><caseinline select="WRITER">Number of characters, excluding 
spaces, in the file. Non-printable characters are not 
included.</caseinline></switchinline></paragraph>
-<paragraph role="heading" level="2" id="hd_id3148947" 
xml-lang="en-US"><switchinline select="appl"><caseinline 
select="WRITER">Lines:</caseinline></switchinline></paragraph>
-  <paragraph role="paragraph" id="par_id3149650" 
xml-lang="en-US"><switchinline select="appl"><caseinline select="WRITER">Number 
of lines in the file.</caseinline></switchinline></paragraph>
+<h2 id="hd_id3153255">Pages:</h2>
+<paragraph role="paragraph" id="par_id3154230" xml-lang="en-US">Number of 
pages in the file.</paragraph>
+<h2 id="hd_id3156027"><switchinline select="appl"><caseinline 
select="WRITER">Tables:</caseinline><caseinline 
select="CALC">Sheets:</caseinline></switchinline></h2>
+<paragraph role="paragraph" id="par_id3153527" xml-lang="en-US"><switchinline 
select="appl"><caseinline select="WRITER">Number of tables in the 
file.</caseinline><caseinline select="CALC">Number of sheets in the 
file.</caseinline></switchinline> This statistic <emph>does not</emph> include 
tables that were inserted as <link href="text/shared/00/00000005.xhp#ole" 
name="OLE"><emph>OLE</emph></link> objects.</paragraph>
 <bookmark branch="hid/modules/swriter/ui/statisticsinfopage/update" 
id="bm_id3154940" xml-lang="en-US" localize="false"/>
-<paragraph role="heading" level="2" id="hd_id3153525" 
xml-lang="en-US"><switchinline select="appl"><caseinline 
select="WRITER">Update</caseinline></switchinline></paragraph>
-  <paragraph role="paragraph" id="par_id3148981" 
xml-lang="en-US"><switchinline select="appl"><caseinline select="WRITER"><ahelp 
hid="modules/swriter/ui/statisticsinfopage/update">Updates the 
statistics.</ahelp></caseinline></switchinline></paragraph>
+<switch select="appl">
+    <case select="CALC">
+        <h2 id="hd_id3153311">Cells:</h2>
+        <paragraph role="paragraph" id="par_id3156114" xml-lang="en-US">Number 
of cells with content in the file.</paragraph>
+        <h2 id="hd_id641526904710590">Formula groups:</h2>
+        <paragraph role="paragraph" id="par_id541526903668055" 
xml-lang="en-US">Number of contiguous ranges in a column with same 
formula.</paragraph>
+    </case>
+    <case select="WRITER">
+        <h2 id="hd_id3147210">Images:</h2>
+        <paragraph role="paragraph" id="par_id3166411" xml-lang="en-US">Number 
of images in the file. This statistic <emph>does not</emph> include images that 
were inserted as <link href="text/shared/00/00000005.xhp#ole" 
name="OLE"><emph>OLE</emph></link> objects.</paragraph>
+        <h2 id="hd_id3147618">OLE Objects:</h2>
+        <paragraph role="paragraph" id="par_id3149820" xml-lang="en-US">Number 
of <link href="text/shared/00/00000005.xhp#ole" 
name="OLE"><emph>OLE</emph></link> objects in the file, <emph>including</emph> 
tables and graphics that were inserted as OLE objects.</paragraph>
+        <h2 id="hd_id3153665">Paragraphs:</h2>
+        <paragraph role="paragraph" id="par_id3156156" xml-lang="en-US">Number 
of paragraphs, including blank paragraphs, in the file.</paragraph>
+        <h2 id="hd_id3155261">Words:</h2>
+        <paragraph role="paragraph" id="par_id3147402" xml-lang="en-US">Number 
of words, including words consisting of a single character, in the 
file.</paragraph>
+        <h2 id="hd_id3150466">Characters:</h2>
+        <paragraph role="paragraph" id="par_id3149294" xml-lang="en-US">Number 
of characters, including spaces, in the file. Non-printable characters are not 
included.</paragraph>
+        <h2 id="hd_id541589188608624">Characters excluding spaces:</h2>
+        <paragraph role="paragraph" id="par_id341589188750182">Number of 
characters, excluding spaces, in the file. Non-printable characters are not 
included.</paragraph>
+        <h2 id="hd_id3148947">Lines:</h2>
+        <paragraph role="paragraph" id="par_id3149650" xml-lang="en-US">Number 
of lines in the file.</paragraph>
+        <h2 id="hd_id3153525">Update</h2>
+        <paragraph role="paragraph" id="par_id3148981" xml-lang="en-US"><ahelp 
hid="modules/swriter/ui/statisticsinfopage/update">Updates the 
statistics.</ahelp></paragraph>
+    </case>
+</switch>
 </body>
 </helpdocument>
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to