Re: [api-dev] How to use structs with COM/Automation?

2008-02-27 Thread Dmitry Teslenko
On Tue, Feb 26, 2008 at 10:49 PM, Bernard Marcelly [EMAIL PROTECTED] wrote: Message de Dmitry Teslenko date 2008-02-26 16:04 : Hello! I've using OO api via COM/Automation and I've stumbled upon this thing: I can't instantiate/manipulate structs such as com.sun.star.beans.PropertyValue

[api-dev] Enums and COM/Automation

2008-02-27 Thread Dmitry Teslenko
Hello! How can one use enums through COM/Automation interface? Is there 1) any constructor for enum members(just like Bridge_GetStruct for structs, that I've been recently advised to use) or 2) is there a way to evaluate member values? I've looked through docs and find nothing for way 1).

Re: [api-dev] Enums and COM/Automation

2008-02-27 Thread Noelson Duarte
Hello, If you want to use enum names, perhaps this will help you: http://www.oooforum.org/forum/viewtopic.phtml?t=11922 -- Noelson - Original Message - From: Bernard Marcelly [EMAIL PROTECTED] To: dev@api.openoffice.org Sent: Wednesday, February 27, 2008 10:19 AM Subject: Re:

[api-dev] how to create instances of new-style Services with non-default constructors

2008-02-27 Thread Peter Eberlein
Hi, I stumbled over Services, which (so I guess) have to be created with the ServiceManager.createInstanceWithArguments(AndContext)() method. for example: http://api.openoffice.org/docs/common/ref/com/sun/star/mail/MailMessage.html So the following should work: Object[] args = new

[api-dev] any workaround for issue 84718?

2008-02-27 Thread Mathias Röllig
Hello! I created a form document for a costumer so one can dial a phone number from this form. The macrocode for this uses SystemShellExecute. It worked fine until OOo 2.1. Now it doesn't work but the costumer want to use it. The target of this issue is set to OOo 3.0. But is there a usable

Re: [api-dev] how to create instances of new-style Services with non-default constructors

2008-02-27 Thread Stephan Bergmann
Peter Eberlein wrote: Hi, I stumbled over Services, which (so I guess) have to be created with the ServiceManager.createInstanceWithArguments(AndContext)() method. for example: http://api.openoffice.org/docs/common/ref/com/sun/star/mail/MailMessage.html So the following should work:

[api-dev] AWT: some questions concerning Toolkit inconsistencies

2008-02-27 Thread Ariel Constenla-haile
Hello people, concerning some comments I added to the issues http://www.openoffice.org/issues/show_bug.cgi?id=86414 http://www.openoffice.org/issues/show_bug.cgi?id=86415 http://www.openoffice.org/issues/show_bug.cgi?id=86416 http://www.openoffice.org/issues/show_bug.cgi?id=86417

Re: [api-dev] any workaround for issue 84718?

2008-02-27 Thread Bernard Marcelly
Message de Mathias Röllig date 2008-02-27 15:38 : Hello! I created a form document for a costumer so one can dial a phone number from this form. The macrocode for this uses SystemShellExecute. It worked fine until OOo 2.1. Now it doesn't work but the costumer want to use it. The target of