diff options
author | Muhammad Haggag <mhaggag@gmail.com> | 2012-05-22 16:59:37 +0200 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2012-05-25 09:53:33 +0300 |
commit | ce14342c4292628a641a72d4f63d9c048e030c6a (patch) | |
tree | e7fd22a2d4c21b470fe6e3b8fc2d11dd7f27866e /sw/sdi/_viewsh.sdi | |
parent | 89d6c3ef8ea691dbd3383cffe21e75c3200821de (diff) |
fdo#34772 Add word count to the status bar in writer
This change adds a new status bar control,
"SwWordCountStatusBarControl". The control shows the number of words
selected as well as the number of words in the whole
document. Double-clicking the control launches the modeless word count
dialog.
Change-Id: I756183ab1aaf4d059e782dfb05508370178cfbe3
Diffstat (limited to 'sw/sdi/_viewsh.sdi')
-rw-r--r-- | sw/sdi/_viewsh.sdi | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sw/sdi/_viewsh.sdi b/sw/sdi/_viewsh.sdi index a17fbb8f5742..d4486af83a36 100644 --- a/sw/sdi/_viewsh.sdi +++ b/sw/sdi/_viewsh.sdi @@ -317,6 +317,11 @@ interface BaseTextEditView ExecMethod = ExecuteStatusLine ; StateMethod = StateStatusLine ; ] + FN_STAT_WORDCOUNT // status() + [ + ExecMethod = ExecuteStatusLine ; + StateMethod = StateStatusLine ; + ] FN_STAT_BOOKMARK // status() [ ExecMethod = ExecuteStatusLine ; |