Hi Andrea, On Sat, May 24, 2014 at 09:15:50PM +0200, Andrea Pescetti wrote: > Ariel Constenla-Haile wrote: > >You can try this extension > >http://aoo-ui-extras.apache-extras.org.codespot.com/git/downloads/WordCountStatusbarController-0.0.1-windows-x86.oxt > >It adds a word counter on the status bar. > > It works nicely! Any reasons not to integrate it (as a preinstalled > extension or directly as part of the source code, as you wish) directly in > OpenOffice? License is OK and functionality is unobtrusive and useful.
Well, the code is a modified version of what I already committed on devtools in order to make it production-ready (the code there was just a draft to test the underlaying implementation). Preregistered extensions are evil (they don't work on Linux, among other bugs), so including code-extensions in the install set is a no-go. On the other hand, implementing this in OpenOffice will require a developer knowing Writer internal code, while doing it in an extension you just need to know the client API; that's the fun in making extensions. > I got the Linux-64 version from the Extensions site and OpenOffice froze > just after installing it (I generated dummy text and selected some, and it > froze without showing the "selected" count). But after restarting OpenOffice > everything worked correctly. If you wish I can do further tests, but > probably it was just a coincidence. This is a bug with the live deployment of extensions, it is broken by design (Mozilla does it more cleaver, installing/removing addons requires a restart); I assume it is already reported in bugzilla. Regards -- Ariel Constenla-Haile La Plata, Argentina
signature.asc
Description: Digital signature