You are viewing a plain text version of this content. The canonical link for it is here.
Posted to api@openoffice.apache.org by Chris Banks <ch...@gmail.com> on 2014/10/01 08:37:08 UTC

Extension

Hi,
We're trying to create and extension for Open Office but are having a
little bit of trouble.
See this Stack Overflow question.
http://stackoverflow.com/questions/26122526/open-office-proofreading-extension-not-registering
Any help would be gratefully received.
Chris

Re: Extension

Posted by Alexandro Colorado <jz...@oooes.org>.
Please make sure you are registered to the mailing list. I am not sure
if you got the response that was given to you. In any case, please
reformat your question and do more specific questions. Just throwing
your whole source code and expecting us to tell you what is wrong,
will not work.

To start make sure you are calling the executable class, and make sure
that there is a log being generated to catch the exceptions.

Debugging is important part of it as well.

On 10/1/14, Chris Banks <ch...@gmail.com> wrote:
> Hi,
> We're trying to create and extension for Open Office but are having a
> little bit of trouble.
> See this Stack Overflow question.
> http://stackoverflow.com/questions/26122526/open-office-proofreading-extension-not-registering
> Any help would be gratefully received.
> Chris
>


-- 
Alexandro Colorado
Apache OpenOffice Contributor
882C 4389 3C27 E8DF 41B9  5C4C 1DB7 9D1C 7F4C 2614

---------------------------------------------------------------------
To unsubscribe, e-mail: api-unsubscribe@openoffice.apache.org
For additional commands, e-mail: api-help@openoffice.apache.org


Re: Extension

Posted by Amenel VOGLOZIN <wa...@yahoo.fr>.
Hi Chris,

It would be better if you tried to make your query to the mailing list self-contained.

What is it that doesn't work? What's the behavior that you are expecting but don't see? Is it that a text that contains "mistake" does not have that word underlined?

I guess you are using the NetBeans plugin? I personally prefer Eclipse so the only tasks I use NB for are building the package, installing the extension in my "normal" OO installation and most importantly, debugging the extension. Did you know that you could set breakpoints and debug the extension in a running Open Office instance?

Try putting breakpoints in the overridden methods and check that the breakpoints are hit at some point. That would be a good starting point. Also, I've found that logic flaws creep easily into code and step by step debugging is sometimes the appropriate remedy. Anyway, make sure your doProofreading is being called.

Good luck.



Le Mercredi 1 octobre 2014 8h37, Chris Banks <ch...@gmail.com> a écrit :
 


Hi,
We're trying to create and extension for Open Office but are having a
little bit of trouble.
See this Stack Overflow question.
http://stackoverflow.com/questions/26122526/open-office-proofreading-extension-not-registering
Any help would be gratefully received.
Chris