To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=69011


User tl changed the following:

                What    |Old value                 |New value
================================================================================
                      CC|''                        |'tl'
--------------------------------------------------------------------------------




------- Additional comments from [EMAIL PROTECTED] Mon Aug 28 04:54:37 -0700 
2006 -------
It is working with StarOffice, but checking with OpenOffice I found that it does
not react for example to a change of the option "check uppercase words".
Thus there seems to be sth missing in the OOo code as well.

Basically if the spellchecker supports the XLinguServiceEventBroadcaster
interface it should be added to the listener list of the LinguServiceManager
(class LngSvcMgr in linguistic/source/lngsvcmgr.cxx) when it is first
instantiated e.g. for spell checking by the dispatcher. 
See SpellCheckerDispatcher::spell_Impl in spelldsp.cxx with the lines
                if (xBroadcaster.is())
                        rMgr.AddLngSvcEvtBroadcaster( xBroadcaster );

Thus when your code runs Corrector::propertyChange and fires the event it should
result in a call to LngSvcMgrListenerHelper::processLinguServiceEvent which
after a little timer delay should call it's listeners via 
processLinguServiceEvent.
One of those listeners (usually the only one) should be the
SwLinguServiceEventListener (in sw/source/ui/uno/dlelstnr.cxx) which triggers
respelling of the document in
SwLinguServiceEventListener::processLinguServiceEvent by calling
SW_MOD()->CheckSpellChanges.

Thus you should start checking by setting a breakpoint in
SpellCheckerDispatcher::spell_Impl to see if it called and thus it is a problem
of the spell checker or (if it was not called) the notification chain is broken
at some point.

Hope this helps a bit.


---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
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