Hi Johan,
Johan Henriksson píše v Út 23. 10. 2012 v 13:17 +0200:
I want to propose a new feature to OO. One of the final tasks when
writing, for example, grant applications, is polishing the language.
OO currently has a thesaurus feature which is very useful for killing
off repetitions, but it can be taken to a new level.
This mailing list is for talking code, not for proposing features ;-)
But if you are a developer, and actually asking for code pointers, the
code for the word count dialog lives here:
sw/source/ui/dialog/wordcountdialog.cxx
And the values themselves are provided via SwDocStat. That is being
counted in SwDoc::UpdateDocStat() in
sw/source/core/doc/doc.cxx
which effectively mostly calls SwTxtNode::CountWords() in
sw/source/core/txtnode/txtedt.cxx
Hopefully should be reasonably straightforward :-) - interesting for you
to hack on? Please poke us for details if you get stuck!
All the best,
Kendy
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.