[api-dev] How to insert a Basic macro into a document by using UNO API

2006-12-08 Thread Thomas Benisch
Jinhong Zou wrote: > There are some trouble with me in the use of open office. I have no > idea except to ask for help from you. > > I want to insert some Macro to the document with the OpenOffice > API,but I have not found any way could do this successful. > > In my mind , to insert

Re: [api-dev] OO Basic editor questions

2006-01-25 Thread Thomas Benisch
Rony G. Flatscher wrote: Hmm, how about a menu option allowing editing text with an external editor like emacs, vim etc. ? The same would make life for programmers a easier with the scripting framework editor as well. Just for the case, that somebody wants to work on this. The key problem wi

Re: [api-dev] instantiating Basic dialogs from UNO componets

2005-07-19 Thread Thomas Benisch
Thank you, Thomas! However, the company I work for does not use the beta version yet, just OOo 1.1.4. I've just checked that this service is not available there. Can that be achieved - even if much more hardly - by 1.1.4 UNO primitives? No, that's not possible. Thomas -

Re: [api-dev] instantiating Basic dialogs from UNO componets

2005-07-18 Thread Thomas Benisch
Jorge Marques Pelizzoni wrote: Hi, all! Once Mathias Bauer wrote: But why do you want to call Basic macros from C++? I would expect that you instantiate your (IDE-designed) dialog from your C++ code (should be possible by some UNO calls) ... Its is exactly those UNO calls that interest me

Re: [api-dev] unable to invoke a BeanShell Macro from an uno-package

2005-05-17 Thread Thomas Benisch
Hi Christoph, Christoph Lutz wrote: Hi, I have got a question regarding the scripting-framework and uno-packages and I hope this is the correct list since the list [EMAIL PROTECTED] seems to be inactive. If not, please hint me to the correct list. I want to deploy and invoke scripting-framework-

Re: [api-dev] bug in windows OOo 1.1.4 bootstrap - InvocationTargetException

2005-04-15 Thread Thomas Benisch
Hi Mike, We decided to go for a) and I don't really see any problems with it. You mentioned the problem with OOo 1.1.x which always writes to HKEY_CURRENT_USER. This is a bug and very unfortunate. I think this bug cannot be fixed in OOo 1.1.x but probably I'm wrong. Therefore I only see two solutio

Re: [api-dev] bug in windows OOo 1.1.4 bootstrap - InvocationTargetException

2005-04-14 Thread Thomas Benisch
Hi Mike, Mike Traum wrote: Thomas, I'm not sure what you mean by the user or administrator defining the default installation. This would be possible in linux/unix, but, from what I've gathered, there's no way to do this in Windows. OOo 1.1.x will always trump all other installations (unless there's

Re: [api-dev] bug in windows OOo 1.1.4 bootstrap - InvocationTargetException

2005-04-13 Thread Thomas Benisch
Kay Ramme - Sun Germany - Hamburg wrote: Mike, Mike Traum wrote: Kay, I understand what you're saying about the Bootsrap, but right now, the Loader is completely dependant on OOo. As far as the error reporting to the user, this could be done. But, maybe I wasn't clear because I made some points in

Re: [api-dev] windows bootstrap against multiple installed versions - 1.x will always trump newer version

2005-04-07 Thread Thomas Benisch
Hi Mike, you're right. I had some discussion with some experts here, and the problem is, that when installing OOo 1.1.4 with /NET there's no registry key written to HKEY_LOCAL_MACHINE. When a user starts the user installation, the registry key is written to HKEY_CURRENT_USER. As a real system integ

Re: [api-dev] bug in windows Bootstrap when multiple Oo's are installed?

2005-04-06 Thread Thomas Benisch
By 'in the past', does that mean for OOo 1.1.4 (which is the current stable version of OOo)? That's what I was using. It's quite likely that there was a space in the filename, and it definitely wasn't on the C: drive, if that matters. Any idea then why I was getting that exception? I just learned,

Re: [api-dev] bug in windows Bootstrap when multiple Oo's are installed?

2005-04-06 Thread Thomas Benisch
This can't be changed anymore. Regardless which key is used we would break compatibility by using a new one in the next version (changes for OOo2.0 are too late now) just to avoid possible problems with outdated versions that will get out of use in the near future. So a bug report would be a waste

Re: [api-dev] bug in windows Bootstrap when multiple Oo's are installed?

2005-04-04 Thread Thomas Benisch
Hi Mike, I guess, the problem is, that you installed OOo 1.1 with user rights and OOo 1.9 with administrator rights. On the Windows platform, the UNO installation is found by reading the default value of the key "Software\OpenOffice.org\UNO\InstallPath" from the root key HKEY_CURRENT_USER in the