summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Haggag <mhaggag@gmail.com>2012-05-25 20:26:59 +0200
committerCaolán McNamara <caolanm@redhat.com>2012-06-01 15:32:46 +0100
commit732978e854aaf0b85e013b8c438983f6ab7804de (patch)
tree2c42d0040138b52ce4fa44dbeafcb51977b5c42c
parentabbbe57b0f8bd5c5b306a76d5d916da1d02cbc27 (diff)
Added help content for fdo#34772: Word count in the status barlibreoffice-3-6-branch-point
Change-Id: I4ba6406f1a35b5794d719a84997081f62fe291f4
-rw-r--r--helpcontent2/helpers/help_hid.lst1
-rw-r--r--helpcontent2/helpers/longnames_commands.csv1
-rw-r--r--helpcontent2/helpers/uno-commands.csv1
-rw-r--r--helpcontent2/helpers/uno_hid.lst1
-rw-r--r--helpcontent2/source/text/swriter/02/makefile.mk3
-rw-r--r--helpcontent2/source/text/swriter/02/word_count_stb.xhp29
-rw-r--r--helpcontent2/source/text/swriter/guide/words_count.xhp5
-rw-r--r--helpcontent2/util/swriter/makefile.mk1
8 files changed, 40 insertions, 2 deletions
diff --git a/helpcontent2/helpers/help_hid.lst b/helpcontent2/helpers/help_hid.lst
index 075f7a6814..ab66d5b01a 100644
--- a/helpcontent2/helpers/help_hid.lst
+++ b/helpcontent2/helpers/help_hid.lst
@@ -425,6 +425,7 @@ FN_STAT_PAGE,21181,.uno:StatePageNumber
FN_STAT_SELMODE,21185,.uno:SelectionMode
FN_STAT_TEMPLATE,21182,.uno:PageStyleName
FN_STAT_ZOOM,21183,.uno:StateZoom
+FN_STAT_ZOOM,21184,.uno:StateWordCount
FN_SYNC_LABELS,21743,.uno:SynchronizeLabelsDlg
FN_TABLE_ADJUST_CELLS,20521,.uno:SetOptimalColumnWidth
FN_TABLE_AUTOSUM,20595,.uno:AutoSum
diff --git a/helpcontent2/helpers/longnames_commands.csv b/helpcontent2/helpers/longnames_commands.csv
index 5524de8b08..981b12c6a3 100644
--- a/helpcontent2/helpers/longnames_commands.csv
+++ b/helpcontent2/helpers/longnames_commands.csv
@@ -400,6 +400,7 @@ FN_STAT_PAGE,.uno:StatePageNumber
FN_STAT_SELMODE,.uno:SelectionMode
FN_STAT_TEMPLATE,.uno:PageStyleName
FN_STAT_ZOOM,.uno:StateZoom
+FN_STAT_WORDCOUNT,.uno:StateWordCount
FN_SYNC_LABELS,.uno:SynchronizeLabelsDlg
FN_TABLE_ADJUST_CELLS,.uno:SetOptimalColumnWidth
FN_TABLE_AUTOSUM,.uno:AutoSum
diff --git a/helpcontent2/helpers/uno-commands.csv b/helpcontent2/helpers/uno-commands.csv
index ed8cf217fa..25898a579c 100644
--- a/helpcontent2/helpers/uno-commands.csv
+++ b/helpcontent2/helpers/uno-commands.csv
@@ -1506,6 +1506,7 @@
.uno:StartOfLineSel
.uno:StartOfParaSel
.uno:StatePageNumber
+.uno:StateWordCount
.uno:StateTableCell
.uno:StatusBarVisible
.uno:StatusDocPos
diff --git a/helpcontent2/helpers/uno_hid.lst b/helpcontent2/helpers/uno_hid.lst
index 858fd53343..a09ce727da 100644
--- a/helpcontent2/helpers/uno_hid.lst
+++ b/helpcontent2/helpers/uno_hid.lst
@@ -400,6 +400,7 @@ FN_STAT_PAGE,21181,.uno:StatePageNumber
FN_STAT_SELMODE,21185,.uno:SelectionMode
FN_STAT_TEMPLATE,21182,.uno:PageStyleName
FN_STAT_ZOOM,21183,.uno:StateZoom
+FN_STAT_WORDCOUNT,21184,.uno:StateWordCount
FN_SYNC_LABELS,21743,.uno:SynchronizeLabelsDlg
FN_TABLE_ADJUST_CELLS,20521,.uno:SetOptimalColumnWidth
FN_TABLE_AUTOSUM,20595,.uno:AutoSum
diff --git a/helpcontent2/source/text/swriter/02/makefile.mk b/helpcontent2/source/text/swriter/02/makefile.mk
index d7378c2908..0487703369 100644
--- a/helpcontent2/source/text/swriter/02/makefile.mk
+++ b/helpcontent2/source/text/swriter/02/makefile.mk
@@ -90,7 +90,8 @@ XHPFILES = \
19020000.xhp \
19030000.xhp \
19040000.xhp \
- 19050000.xhp
+ 19050000.xhp \
+ word_count_stb.xhp
# --- Targets ------------------------------------------------------
diff --git a/helpcontent2/source/text/swriter/02/word_count_stb.xhp b/helpcontent2/source/text/swriter/02/word_count_stb.xhp
new file mode 100644
index 0000000000..afa97f86c2
--- /dev/null
+++ b/helpcontent2/source/text/swriter/02/word_count_stb.xhp
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--
+/*
+ * Copyright 2012 LibreOffice contributors.
+ *
+ * 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/.
+ *-->
+<helpdocument version="1.0">
+<meta>
+<topic id="textswriter_word_count_stb" indexer="include" status="PUBLISH">
+<title id="title" xml-lang="en-US">Word Count Status Bar Field</title>
+<filename>/text/swriter/02/word_count_stb.xhp</filename>
+</topic>
+<history>
+<created date="2012-05-25T18:43:00">Muhammad Haggag.</created>
+</history>
+</meta>
+<body>
+<section id="section">
+<bookmark xml-lang="en-US" branch="hid/.uno:StateWordCount" id="bm_word_count" localize="false"/>
+<paragraph role="heading" id="page_heading" xml-lang="en-US" level="1" l10n="U"><link href="text/swriter/02/word_count_stb.xhp" name="Word Count Status Bar Field">Word Count Status Bar Field</link></paragraph>
+<paragraph role="paragraph" id="hd_id3149687" xml-lang="en-US" l10n="U" oldref="2"><ahelp hid=".uno:StateWordCount">The number of words in the document and selection is displayed in this field of the status bar. A double-click opens the <link href="text/swriter/01/06040000.xhp" name="Word Count">word count dialog</link>, which shows extra document statistics.</ahelp></paragraph>
+</section>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/swriter/guide/words_count.xhp b/helpcontent2/source/text/swriter/guide/words_count.xhp
index 55ac85c5bd..03d07c4f49 100644
--- a/helpcontent2/source/text/swriter/guide/words_count.xhp
+++ b/helpcontent2/source/text/swriter/guide/words_count.xhp
@@ -51,10 +51,13 @@
</variable></paragraph>
<list type="ordered">
<listitem>
+ <paragraph xml-lang="en-US" id="par_idN105D1" role="listitem" l10n="NEW">Word count is shown in the status bar, and is kept up to date as you edit.</paragraph>
+ </listitem>
+ <listitem>
<paragraph xml-lang="en-US" id="par_idN106D1" role="listitem" l10n="NEW">If you want to count only some text of your document, select the text.</paragraph>
</listitem>
<listitem>
- <paragraph xml-lang="en-US" id="par_id3149821" role="listitem" l10n="CHG" oldref="5">Choose <emph>Tools - Word Count</emph>.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149821" role="listitem" l10n="CHG" oldref="5">To display extended statistics such as character count, double click the word count in the status bar, or choose <emph>Tools - Word Count</emph>.</paragraph>
</listitem>
</list>
<section id="how">
diff --git a/helpcontent2/util/swriter/makefile.mk b/helpcontent2/util/swriter/makefile.mk
index b9035bf1e5..446f66381a 100644
--- a/helpcontent2/util/swriter/makefile.mk
+++ b/helpcontent2/util/swriter/makefile.mk
@@ -290,6 +290,7 @@ LINKLINKFILES= \
text$/swriter$/02$/19030000.xhp \
text$/swriter$/02$/19040000.xhp \
text$/swriter$/02$/19050000.xhp \
+ text$/swriter$/02$/word_count_stb.xhp \
text$/swriter$/04$/01020000.xhp \
text$/swriter$/guide$/anchor_object.xhp \
text$/swriter$/guide$/arrange_chapters.xhp \