About entering characters: See css::awt::XKeyHandler / css::awt::XKeyListener in the IDL Reference. About context menu: Depending on what you need to do, a mouselistener could be sufficient (otherwise since 2.0 OOo has some services giving more control over menus, have a look at those new services).
2006/8/13, Daniel Beck <[EMAIL PROTECTED]>:
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. My Question is: how to do to capture events from the wordprocessor everytime a user enters a carachter into the wordprocessor? I didn't found the answer, nether by googling for it, nor by looking into the examples from the Developer Guide, nor by reading hald of the Developer Guide (Btw, its really to long!) Regards, Daniel --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Best Regards Christian Junker --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
