Re: [api-dev] Should a key event listener be called for the Ctrl key?
Christoph Lupp wrote: Hi Andrew, perhaps there is an misunderstanding. You wrote in your question to the dev mail list: Pressing a combination with the Ctrl key worked as expected, and the Ctrl key was properly indicated in the attributes. But a combination of CTRL with another key also don't work on my computer. That's my problem. Only pressing the CTRL-Key is not important for me, I need the possibility to check the combination of CTRL with (for example) the arrow-keys (UP, DOWN, LEFT, RIGHT). Christoph, I tested with Ctrl+1, Alt+1, and Ctrl+Alt+1 and the modifier for Control showed for these. The same is true for the arrow keys. Well, I only tested Ctrl+up_arrow because you said that the arrows do not work for you. Please note that I am using Fedora-7, the 64 bit version. I see the bit 2 in the modifier for a control key. The combination of ALT with another key works on my computer. Many thanks for your help Lupo P.S.: Do you know the xray-tool, is this a possibility for me? Yes, I think that you should install and use the xray tool. I wrote an object inspector before xray existed, and I still do use it because I prefer my inspector for some things. Over-all, however, XRay is certainly a better object inspector. You should be able to install and use it with no problem. I consider it highly recommended. Zitat von Andrew Douglas Pitonyak [EMAIL PROTECTED]: My opinion is that this is a bug! I can ask on the dev mail list! Christoph Lupp wrote: -- Andrew Pitonyak My Macro Document: http://www.pitonyak.org/AndrewMacro.odt My Book: http://www.hentzenwerke.com/catalog/oome.htm Info: http://www.pitonyak.org/oo.php See Also: http://documentation.openoffice.org/HOW_TO/index.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [api-dev] [Netbeans] Plugin for NB 6
In fact the download link in plugins.netbeans.org has disappeared this is one of the links from which got a working nbm file but it looks like 1.0.0 : http://netbeans.org/download/nbms/55/ja/Features/org-openoffice-extensions.nbm the current version is 1.0.2 (i got the sources from cvs and built it...). For some strange reason even the update center in nb5.5 has started showing the old version. On 7/10/07, Jesse Alexander (KSFD 121) [EMAIL PROTECTED] wrote: download... then I must have been blind... I did not see a link to that file... Can you send me the link? thanks in advance Alexander -Original Message- From: ashok _ [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 10, 2007 12:53 PM To: dev@api.openoffice.org Subject: Re: [api-dev] [Netbeans] Plugin for NB 6 I am running netbeans 6 m9, i have been able to use the netbeans plugin with it, you have to download the nbm file and add the plugin manually using the update center On 7/10/07, Jesse Alexander (KSFD 121) [EMAIL PROTECTED] wrote: Hi according to the OOo-Plugin page the plugin is tested for NB 6 Are there instructions on how to integrate it into NB 6 M10? Or a planned timeframe? thanks Alexander - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [api-dev] Is there an example for packaging macros as an extension somewhere ?
Rony G. Flatscher wrote: Hi there, looking for an example package that shows how one needs to package a set of macros (and maybe a customized toolbar to present and start those macros) such that one can use the Extension manager to deploy them (or unopkg for that matter). Is there any nutshell example available or does anyone have hints where one could find information about this? The easiest way: the OOo Macro organizer has an export as extension functionality in the libraries tab. It works for all libraries except the Standard library (a legacy limitation that IMHO is a bug). Ciao, Mathias -- Mathias Bauer (mba) - Project Lead OpenOffice.org Writer OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS Please don't reply to [EMAIL PROTECTED]. I use it for the OOo lists and only rarely read other mails sent to it. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [api-dev] Should a key event listener be called for the Ctrl key?
Andrew Douglas Pitonyak wrote: I was asked about a simple key handler in Calc. With the key handler, if you pressed the alt key, the event handler was called. Unfortunately, if you pressed the Ctrl key the event handler was not called. Pressing a combination with the Ctrl key worked as expected, and the Ctrl key was properly indicated in the attributes. Given that the com.sun.star.awt.XKeyHandler caused the handler to be called when I pressed the Alt key, I also expected it to be called when I pressed the Ctrl key. Sounds reasonable. The KeyHandler notifications are built upon internal notifications from VCL. So if no KeyHandler is called I assume that also VCL does not send this key event to the application code. I've sent a CC: to the gsl list as I hope that the gsl developers can shed some light on this. Please use Reply All for responding. Ciao, Mathias -- Mathias Bauer (mba) - Project Lead OpenOffice.org Writer OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS Please don't reply to [EMAIL PROTECTED]. I use it for the OOo lists and only rarely read other mails sent to it. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[api-dev] Re: [gsl-dev] Re: [api-dev] Should a key event listener be called for the Ctrl key?
Hi, Modifiers alone do not per se generate a key event in vcl for years but a specialized KeyModChange (modifier changed) event. This is not bound to the awt implementation, so I guess it is not available to any awt customer. Moreover key mod change is not dispatched on every modifier change, but only on key releases. This peculiar behaviour has its origin in the rather unique feature that lead to the implementation of KeyModChange, namely the explicit distinction that the left or right shift key was pressed and then released. This action switches the writing direction. The fact that you get a key input for Alt is a side effect due to the duplicate role of Alt as KEY_MENU which is native on Windows and emulated on other platforms. So currently you don't get key events for modifiers, only for modified keys. Only on Windows you get a key event for Alt pressed as actually a side effect. Kind regards, pl Mathias Bauer wrote: Andrew Douglas Pitonyak wrote: I was asked about a simple key handler in Calc. With the key handler, if you pressed the alt key, the event handler was called. Unfortunately, if you pressed the Ctrl key the event handler was not called. Pressing a combination with the Ctrl key worked as expected, and the Ctrl key was properly indicated in the attributes. Given that the com.sun.star.awt.XKeyHandler caused the handler to be called when I pressed the Alt key, I also expected it to be called when I pressed the Ctrl key. Sounds reasonable. The KeyHandler notifications are built upon internal notifications from VCL. So if no KeyHandler is called I assume that also VCL does not send this key event to the application code. I've sent a CC: to the gsl list as I hope that the gsl developers can shed some light on this. Please use Reply All for responding. Ciao, Mathias -- If you give someone a program, you will frustrate them for a day; if you teach them how to program, you will frustrate them for a lifetime. -- Author unknown - 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]
Re: [api-dev] matisse and openoffice
thanks, this is working for me now :) ashok On 7/6/07, Juergen Schmidt [EMAIL PROTECTED] wrote: i create a simple stupid dialog using some swing layouts and it worked out of the box. The swing-layout-1.0.jar is bundled in the oxt and the necessary manifest entry is made. Maybe you have some other problems, i would suggest that you try it with a quite simple example first. Juergen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [api-dev] Is there an example for packaging macros as an extension somewhere ?
Hi Rony, Rony G. Flatscher wrote: Hi Matthias, looking for an example package that shows how one needs to package a set of macros (and maybe a customized toolbar to present and start those macros) such that one can use the Extension manager to deploy them (or unopkg for that matter). Is there any nutshell example available or does anyone have hints where one could find information about this? The easiest way: the OOo Macro organizer has an export as extension functionality in the libraries tab. It works for all libraries except the Standard library (a legacy limitation that IMHO is a bug). Unfortunately, it also works with OOo Basic *only*. 8-( (The push-button Verwalten (may be Organize in English?) is only available for the OOo Basic popup!) Otherwise, it would be just perfect for packaging macro libraries (in any macro language) as extensions! Ah, sorry, I overlooked that. As other macros than Basic are usually not created by the internal IDE it's an acceptable limitation IMHO. So having an extension for this task would be the right tool. I wonder whether something like that is planned in the NetBeans pluging. You'll find a tool (with a good explanation about addon.xcu) here: http://www.ooomacros.org/dev.php#101618 It's an OOo 1.x tool, but works. HTH -- Noelson - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [api-dev] Re: [gsl-dev] Re: [api-dev] Should a key event listener be called for the Ctrl key?
Thanks for that excellent reply! (Philipp, I copied you on BCC to make certain you would receive my thanks even if you do not monitor the list). Philipp Lohmann wrote: Hi, Modifiers alone do not per se generate a key event in vcl for years but a specialized KeyModChange (modifier changed) event. This is not bound to the awt implementation, so I guess it is not available to any awt customer. Moreover key mod change is not dispatched on every modifier change, but only on key releases. This peculiar behaviour has its origin in the rather unique feature that lead to the implementation of KeyModChange, namely the explicit distinction that the left or right shift key was pressed and then released. This action switches the writing direction. The fact that you get a key input for Alt is a side effect due to the duplicate role of Alt as KEY_MENU which is native on Windows and emulated on other platforms. So currently you don't get key events for modifiers, only for modified keys. Only on Windows you get a key event for Alt pressed as actually a side effect. Kind regards, pl - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]