Open Office

Dotan Cohen dotancohen at
Sun Oct 26 10:49:15 UTC 2008

2008/10/26 Dotan Cohen <dotancohen at>:
> 2008/10/26 Chris Jeffries <chris at>:
>> I wanted a function OO that I could not find.
>> I wanted to do a word count of everything that was styled a particular
>> way (Academic essay word count excluding quotes and heading to be
>> precise)
>> In MS Word it would be easy (Select all of this style, Count selected)
>> But I couldn't find "Select all this style" in OO
>> So I though - ooh a macro maybe. So I went tot the OO site to get some
>> documentation - and got lost.
>> Does anyone know a good starting place with this - preferably using
>> Javascript as it is a language I know. I just need a neatly organise
>> object/function library documantation for the OO interface.
>> I just failed to find anything over at OO and though soemone here might
>> just know.
>> Chris.
> On your behalf:
> You might want to subscribe to that list, it's great.

>From Brian Barker on the OOo mailing list:

o  Go to Edit | Find & Replace... (or Ctrl+F).
o  Click More Options.
o  Tick "Search for Styles".
o  Select your required style in the "Search for" box.  (Don't worry
about what appears in the "Replace with" box.)
o  Click Find All.  Everything in that style is now selected.  (You
can close the Find & Replace dialogue at this point - or not, as you
o  Go to Tools | Word Count.  One part of this display is for the
current selection.

More information about the ubuntu-users mailing list