Thomas,

The implementation name is the one from Linguistic.xcu? If yes, it is
br.usp.pcs.lta.cogroo.ooointegration.Main

<node oor:name="GrammarCheckers">
    <node oor:name="br.usp.pcs.lta.cogroo.ooointegration.Main" oor:op="fuse">
        <prop oor:name="Locales" oor:type="oor:string-list">
             <value>pt-BR</value>
        </prop>
      </node>
 </node>

Also:
getImplementationName
    returns: br.usp.pcs.lta.cogroo.ooointegration.Main
getServiceNames
    returns: com.sun.star.linguistic2.Proofreader,
br.usp.pcs.lta.cogroo.ooointegration.Main
Before getServceNames was returning
br.usp.pcs.lta.cogroo.ooointegration.Main only. But I checked Marcin
implementation on LT and he did this way. I changed my, since LT is
working and Cogroo not.

Thank you!
William

On Fri, Jan 9, 2009 at 6:38 AM, Thomas Lange - Sun Germany - ham02 -
Hamburg <[email protected]> wrote:
>
> Hi William,
>
>
> William Colen wrote:
>
> > Thomas,
> > I uploaded the extension to
> > https://sourceforge.net/project/showfiles.php?group_id=182075&package_id=305572
> > The file is 
> > CoGrOO-AddOn-3.0.2-SNAPSHOT-bin.oxt<http://downloads.sourceforge.net/cogroo/CoGrOO-AddOn-3.0.2-SNAPSHOT-bin.oxt?use_mirror=>
> > Thank you!
> >
> > Marcin,Thank you! The tutorial helped a lot! I could debug it.
> >
> > But I still not able to find the crash problem.
> > Following you can see the logs generated by CoGrOO extension.
> >
> > My steps to cause the crash was:
> > 1. Created a new document.
> > 2. Changed it to pt_BR
> > 3. Entered a sentence with a grammar error: Fomos levados à crer.
> > 4. Waited a few seconds, no automatic grammar checking (all log entries I
> > have was generated before I press F7)
> > 5. Pressed F7 -> OOo crashed
> >
> > The log is clear and easy to read. Something interesting is that the
> > method doProofreading was never called: no traces from that method and also
> > I inserted a breakpoint at the method's first line, and Eclipse never
> > stopped there.
>
> Can you also drop me the implementation name of the service?
> Since already the Tools/Options/Writing-Aids dialog does not get
> displayed anymore I suspect I may have to do with the registration of
> the service. Thus I like to instantiate it manually via API...
>
> Also you need not start the checking with F7 to crash the Office it
> already dies just by trying to opening the Format/Character dialog. :-(
>
>
> Regards,
> Thomas
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to