Daniel Beck wrote:

> Hello,
> 
> I want to catch events from openoffice everytime someone enters a
> character in the Worprocessor text area, or everytime someone selects an
> element from the context menu (The one obtained then doing right-mouse
> click on the edited document)
> 
> I think that I have to get the "XMenu" and the "XTextComponent" from
> some service from the Wordprocessor to register my XMenuListener and my
> XTextListener. I found no such services.

I would go for the interfaces css.awt.XUserInputInteraction and
css.ui.XContextMenuInterception. Both interfaces are supported by the
Controller objects of our documents (IIRC).

Best regards,
Mathias

-- 
Mathias Bauer - OpenOffice.org Application Framework Project Lead
Please reply to the list only, [EMAIL PROTECTED] is a spam sink.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to