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 | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/sw/sdi/viewsh.sdi b/sw/sdi/viewsh.sdi index 1005c96040a1..d5d8380d29c9 100644 --- a/sw/sdi/viewsh.sdi +++ b/sw/sdi/viewsh.sdi @@ -275,8 +275,8 @@ interface TextPrintPreview [ StateMethod = StateUndo ; ] - //--------------------------------------------------------------------- - //Ab hier Statusleiste + //--------------------------------------------------------------------- + // Begin StatusBar FN_STAT_ZOOM // status() [ ExecMethod = Execute ; @@ -307,13 +307,18 @@ interface TextPrintPreview ExecMethod = Execute ; StateMethod = GetState ; ] - SID_ATTR_ZOOMSLIDER // status() - [ - ExecMethod = Execute ; - StateMethod = GetState ; - ] - //---------------------------------------------- - //End mit Statusleiste + SID_ATTR_ZOOMSLIDER // status() + [ + ExecMethod = Execute ; + StateMethod = GetState ; + ] + FN_STAT_WORDCOUNT // status() + [ + ExecMethod = Execute ; + StateMethod = GetState ; + ] + //---------------------------------------------- + // End StatusBar } //========================================================================= |