Re: [api-dev] Info about Mail modules

2005-11-11 Thread Mathias Bauer
Alexandro Colorado wrote: > On Fri, 11 Nov 2005 16:44:48 -, Mathias Bauer <[EMAIL PROTECTED]> > wrote: > >> Alexandro Colorado wrote: >>> I want to learn more about the mail interface for openoffice.org, I >>> found >>> some information bit is a bit narrow, where can I find more informatio

Re: [api-dev] how to select an object?

2005-11-11 Thread Marc Santhoff
Hi Douglas, Am Freitag, den 11.11.2005, 19:59 + schrieb Douglas Staas: > I'd like to reiterate the following question: > > How can I select an graphic object programmatically? Or more to the > point, how can I determine a graphic's original aspect ratio? A > current code snippet that expects

Re: [api-dev] macro doesn't run

2005-11-11 Thread Andrew Douglas Pitonyak
In my opinion, yes. If you want the default behavior, then do not attache anything else to it, otherwise, do it all in your own code. Douglas Staas wrote: Ok, so due to the rescheduling of threads, sometimes an "OK" button's events get fired as expected and sometimes the dialog is closed befo

Re: [api-dev] macro doesn't run

2005-11-11 Thread Douglas Staas
Ok, so due to the rescheduling of threads, sometimes an "OK" button's events get fired as expected and sometimes the dialog is closed before those events get run? Does this mean that binding code to OK button events is generally a bad idea with Open Office? I'm just trying to understand. This su

Re: [api-dev] macro doesn't run

2005-11-11 Thread Andrew Douglas Pitonyak
An "OK" button performs a default action. so, you think that it should only do what you told it to, but in reality, it is ALSO doing the default OK action, which you did not expect because you did not know what an OK button was. Douglas Staas wrote: Thanks to Paolo and everyone else who's off

Re: [api-dev] macro doesn't run

2005-11-11 Thread Douglas Staas
Thanks to Paolo and everyone else who's offered ideas. Paolo's fix worked. 11.3.3 appears to be very general. I don't see how it applies to this specific scenario. Then again, perhaps understanding the difference between an "OK" button and a "Default" type button would help. If so, where could

Re: [api-dev] macro doesn't run

2005-11-11 Thread Douglas Staas
>When ever the IDE must be open for a macro to work/run, I suspect that > a library is NOT loaded. The macro that brings up the dialog is in the same library as the macro that the dialog calls. The macro the brings up the dialog always runs with no problem. It's the 2nd macro that has isn't alw

Re: [api-dev] macro doesn't run

2005-11-11 Thread Douglas Staas
>How did you prove that the macro didn't run? Because nothing happened. The macro is supposed to change text in the Draw file and display a graphic. Also, the "print 'hallo'" line doesn't run. The macro is not called. This is a case where running the same code with the same input results in diff

Re: [api-dev] New document type information

2005-11-11 Thread Paolo Lacatena
Mathias Bauer wrote: Paolo Lacatena wrote: Hi All, We are going to develop an open source application to design and run business workflow and we are going to use OpenOffice.org suite as document editor. We belive that maybe interesting to develop our application as an extension of OOo suite

Re: [api-dev] Info about Mail modules

2005-11-11 Thread Alexandro Colorado
On Fri, 11 Nov 2005 16:44:48 -, Mathias Bauer <[EMAIL PROTECTED]> wrote: Alexandro Colorado wrote: I want to learn more about the mail interface for openoffice.org, I found some information bit is a bit narrow, where can I find more information like developers working on it, dependencie

Re: [api-dev] Info about Mail modules

2005-11-11 Thread Mathias Bauer
Alexandro Colorado wrote: > I want to learn more about the mail interface for openoffice.org, I found > some information bit is a bit narrow, where can I find more information > like developers working on it, dependencies and how can I call them from a > programming enviroment. > > The curre

Re: [api-dev] Add menu to XTopWindow

2005-11-11 Thread Carsten Driesner
Paolo Lacatena wrote: Hi, I want add a menu to a window. In Developer's Guide 2.0 I read that XTopWindow interface has a method setMenuBar() but this is not usable at this time because XMenuBar interface is deprecated. However, on IDL reference XMenuBar is not signed as deprecated. Can I use

[api-dev] Info about Mail modules

2005-11-11 Thread Alexandro Colorado
I want to learn more about the mail interface for openoffice.org, I found some information bit is a bit narrow, where can I find more information like developers working on it, dependencies and how can I call them from a programming enviroment. The current info is here: http://api.openoffi

Re: [api-dev] Seeking code-snippets or hints for ...

2005-11-11 Thread Carsten Driesner
Hi Rony, A shutdown ought not be necessary, at least not for components, Basic scripts, type libraries etc. UI configuration may be problematic, because not all instances inside a running OOo process react on configuration changes. A restart is not necessary for user interface changes based

Re: [api-dev] Seeking code-snippets or hints for ...

2005-11-11 Thread Jürgen Schmidt
Rony G. Flatscher wrote: Hi Daniel, first of all: thank you *very* much for your kind and quick answer, which I think will help me a lot! 2. adding a Java Classpath entry to OOo (programmatic counterpart of: Tools -> Options -> Java -> Class Path), A clean extension would refer

Re: [api-dev] Seeking code-snippets or hints for ...

2005-11-11 Thread Rony G. Flatscher
Hi Daniel, first of all: thank you *very* much for your kind and quick answer, which I think will help me a lot! 2. adding a Java Classpath entry to OOo (programmatic counterpart of: Tools -> Options -> Java -> Class Path), A clean extension would refer to addition

Re: [api-dev] Seeking code-snippets or hints for ...

2005-11-11 Thread Daniel Boelzle
Hello Rony G., > This is what I would be interested in to achieve programmatical (using > ultimately Java): > >1. Register a package programmatically (programmatic counterpart of: > Tools -> Package Manager, querying and adding a package to "My > Packages"), Use the UNO deployme

[api-dev] Seeking code-snippets or hints for ...

2005-11-11 Thread Rony G. Flatscher
Hi there, maybe with a little luck there may be people on this list who have created already code (or know which corners to use) that I would be seeking and are kind enough to make it available or point to it. Any language is fine! This is what I would be interested in to achieve programmati