[Libreoffice-ux-advise] [PATCH] fdo#34772 Word count / statistics in the status bar
mhaggag at gmail.com
Tue May 22 08:36:49 PDT 2012
(Ux folks, please advise on the "UX/Localization" section below).
Changes (copied from patch):
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.
I tested with small documents (to the tune of 30 pages, ~3500 words).
I'd like to try it out on a large/huge document to make sure there's
no performance impact. Are there any standard "large" documents used
for LO performance testing?
Currently the status bar displays counts in the form: "Words:
<number-of-selected-words>/<total-number-of-words>". It's not clear at
a glance what the numbers mean. It looks like this:
How do you suggest we go about displaying this information clearly,
hopefully without being overly verbose?
Also, I'm not sure how localizable string literals are handled in the
code base. Does LO use something like gettext, or do I have to
explicitly add a string resource and load it?
* What's the point of viewsh.sdi? (compared to _viewsh.sdi).
_viewsh.sdi seems to be referencing the methods actually getting
invoked for word-count related logic.
* swriter.sdi: I based the entry for StateWordCount on StatePageCount.
I'm not sure what the fields mean (e.g. StatusBarConfig).
* How do I update LO help with material for the new status bar field?
I can see that other controls have their own documentation pages (e.g.
helpcontent2/source/text/swriter/02/08010000.xhp documents the page
count control), but I don't know what template the files follow or
what the fields mean. This is what I have so far:
More information about the Libreoffice-ux-advise