Hi Max,
On Tuesday, 2007-07-31 21:55:18 +0200, Max Giesbert wrote:
The constructor gets a XComponentContext passed over. Now how do I get
the XComponent of the actually opened spreadsheet from it?
XComponentContext is not related to the current application or
documents. It provides
Short question now that I have the Netbeans plug-in running
(http://www.openoffice.org/issues/show_bug.cgi?id=80183):
The constructor gets a XComponentContext passed over. Now how do I get
the XComponent of the actually opened spreadsheet from it?
thx for help!
Max Giesbert wrote:
thx to Niklas and Daniel i got it running. Attached you find a Java
class which can be registered with XEnhancedMouseClickBroadcaster.
please have a look at it. i am looking forward to your feedback.
Now I finally found the time to look at this. Yes, it looks good.
still
Hi everyone,
thx to Niklas and Daniel i got it running. Attached you find a Java
class which can be registered with XEnhancedMouseClickBroadcaster.
please have a look at it. i am looking forward to your feedback.
still some questions remain:
1. does it make sense to create a UNO package out of
Max Giesbert schrieb:
actually i have problems with the very first line of code you sent:
acc =
ThisComponent.CurrentController.Frame.ComponentWindow.AccessibleContext
i am doing development right now using java. so i do get the
ComponentWindow by:
XWindow window =
Max Giesbert schrieb:
Thx again. feels like i am already there. i got the XCell now from the
Target but how can i get the location of the cell on the screen. i read
about XAccessibleComponent but XCell doesn't seem to implement it...
I have written a tiny test script in Basic recently, that
Max Giesbert wrote:
Thanks for pointing to XEnhancedMouseClickBroadcaster . I register a
XEnhancedMouseClickHandler to it. But I only have an EnhancedMouseEvent
in the mousePressed method. How can i find out the cell clicked with
that? I didn't find any suiting methods.
It's in the Target
Thx again. feels like i am already there. i got the XCell now from the
Target but how can i get the location of the cell on the screen. i read
about XAccessibleComponent but XCell doesn't seem to implement it...
Niklas Nebel wrote:
Max Giesbert wrote:
Thanks for pointing to