Re: [api-dev] improving macro for merge mail

2005-10-07 Thread Marc Santhoff
Am Freitag, den 07.10.2005, 12:24 +0200 schrieb Ippoliti Giuliano: My question is: is there a method like AppendToUrl (the name is just an example), to append a loaded document into another one, called for instance Fusion.sxw ? I would save a lot of processing time in this way. You could

Re: [api-dev] Multiple XShape select

2005-10-08 Thread Christian Junker
Hi Jayant, 2005/10/6, Jayant Balraj Madavi [EMAIL PROTECTED]: Problem 1: How to get the shape name ? The css::drawing::Shape (abstract mother class of all shapes) has a Name property. I can't test on this machine right now, but I am pretty sure it's just a PropertyValue with the name Name.

Re: [api-dev] programatically know which platform

2005-10-08 Thread Christian Junker
Hi Jürgen, I wonder if it would be good to integrate an interface (into the IDL module system for example) and possibly a service that does exactly what has been asked for in this thread. Give some feedback what you think, if it makes sense to integrate this into the official build (not yet

Re: [api-dev] improving macro for merge mail

2005-10-10 Thread Tom Schindl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Why not using the mail-merge API directly? http://codesnippets.services.openoffice.org/Writer/Writer.MailMerge.snip Tom Ippoliti Giuliano wrote: Hello everybody, I'm using a macro to do a mail merge. Basically, it uses the LoadComponentFromURL

Re: [api-dev] OOoBasic : Open a new base document

2005-10-10 Thread Paolo Mantovani
Hi Laurent, Alle 09:28, lunedì 10 ottobre 2005, Laurent Godard ha scritto: Hi all is there a way to use LoadComponentFromURL to create a new base document as we regularly do for writer or calc (private:factory/swriter) ? just randomly tried with private:factory/sdatabase and... it works!!

[api-dev] [Code Snippet] Split up documents into document fragments

2005-10-10 Thread Darragh Sherwin
Hi, I wrote this little python script below to split up a document into fragments to reply to a mail on the UDK list to show how to copy part of a document but I think it would be more useful on the this list (API) It fragments the document into 30 lines pieces, and copies the fragment into a

[api-dev] [EMAIL PROTECTED] REQUEST: unanswered questions

2005-10-10 Thread Michael Hoennig
Dear OpenOffice.org community, We really would like to see all questions answered, but we need your help to keep track of your questions and their answer status. Thus, if you still have a question unanswered for more than two days, feel free to place a reminder on the list. But maybe you should

Re: [api-dev] Multiple XShape select

2005-10-11 Thread Jayant B M
Hi Christian, On Sat, 2005-10-08 at 18:07 +0200, Christian Junker wrote: Hi Jayant, 2005/10/6, Jayant Balraj Madavi [EMAIL PROTECTED]: Problem 1: How to get the shape name ? The css::drawing::Shape (abstract mother class of all shapes) has a Name property. I can't test on this machine

[api-dev] multiple-inheritance interafces and method name clashes

2005-10-13 Thread Stephan Bergmann
Hi all, As the use of multiple-inheritance UNO interfaces increases, people start to stumble over one specific problem: Assume there are two interfaces X1 and X2, each with a method named foo. Then, you cannot define interface X3 { interface X1; interface X2; }; as UNO does

Re: [api-dev] multiple-inheritance interafces and method name clashes

2005-10-13 Thread Darragh Sherwin
Hi Stephan One case where this problem occurs in practice is with com.sun.star.lang.XComponent and com.sun.star.document.XEventBroadcaster. I just learned that Andreas Schlüns is probably going to add a new com.sun.star.document.XDocumentEventBroadcaster (or similar) that will have the

Re: [api-dev] multiple-inheritance interafces and method name clashes

2005-10-13 Thread Frank Schönheit - Sun Microsystems Germa ny
Hi Darragh, I am slightly disturbed by this, 2 interfaces with the same function names. Has any consideration being given to language-bindings that do not use the query-interface mechanism ? I.e pyuno where all interfaces for a service are returned ? How would pyuno or language_bindings that

Re: [api-dev] multiple-inheritance interafces and method name clashes

2005-10-13 Thread Stephan Bergmann
Darragh Sherwin wrote: Hi Stephan One case where this problem occurs in practice is with com.sun.star.lang.XComponent and com.sun.star.document.XEventBroadcaster. I just learned that Andreas Schlüns is probably going to add a new com.sun.star.document.XDocumentEventBroadcaster (or similar)

Re: [api-dev] multiple-inheritance interafces and method name clashes

2005-10-13 Thread Rony G. Flatscher
I have no idea how pyuno does it. But note that this problem was there from the beginning, and has nothing to do with the addition of multiple-inheritance interfaces. There are, for example, already cases where one UNO object implements both XComponent and XEventBroadcaster, and I have

Re: [api-dev] multiple-inheritance interafces and method name clashes

2005-10-13 Thread Joerg Budischewski
Hi, I have no idea how pyuno does it. But note that this problem was there from the beginning, and has nothing to do with the addition of multiple-inheritance interfaces. There are, for example, already cases where one UNO object implements both XComponent and XEventBroadcaster, and I have

Re: [api-dev] multiple-inheritance interafces and method name clashes

2005-10-14 Thread Stephan Bergmann
Joerg Budischewski wrote: Hi, I have no idea how pyuno does it. But note that this problem was there from the beginning, and has nothing to do with the addition of multiple-inheritance interfaces. There are, for example, already cases where one UNO object implements both XComponent and

Re: [api-dev] [Code Snippet] Split up documents into document fragments

2005-10-14 Thread Mathias Bauer
Darragh Sherwin wrote: Hi, I wrote this little python script below to split up a document into fragments to reply to a mail on the UDK list to show how to copy part of a document but I think it would be more useful on the this list (API) It fragments the document into 30 lines pieces, and

Re: [api-dev] multiple-inheritance interafces and method name clashes

2005-10-14 Thread Mathias Bauer
Rony G. Flatscher wrote: I have no idea how pyuno does it. But note that this problem was there from the beginning, and has nothing to do with the addition of multiple-inheritance interfaces. There are, for example, already cases where one UNO object implements both XComponent and

Re: [api-dev] improving macro for merge mail

2005-10-14 Thread Mathias Bauer
Ippoliti Giuliano wrote: On Fri, 07 Oct 2005 19:03:36 +0200 Marc Santhoff [EMAIL PROTECTED] wrote: You could insert a page break at the end and then use insertDocumentFromURL() to push all generated documents in one collecting document. But the computer doing so should have enough memory, I

Re: [api-dev] [Code Snippet] Split up documents into document fragments

2005-10-15 Thread Tom Schindl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mathias Bauer wrote: Darragh Sherwin wrote: Hi, I wrote this little python script below to split up a document into fragments to reply to a mail on the UDK list to show how to copy part of a document but I think it would be more useful on the this

[api-dev] PyUNO and IDL files

2005-10-16 Thread Jorge . Pelizzoni
Hi, all! I would like to know if it is possible to develop UNO components in Python (using the usual helpers) implementing interfaces in my own IDL files, as trivial in e.g. C++. I am using OOo version 1.1.4. I got to the point of compiling my rdb file, but just packing it together with the

Re: [api-dev] PyUNO and IDL files

2005-10-16 Thread Paolo Mantovani
Hi Jorge, Alle 20:13, domenica 16 ottobre 2005, [EMAIL PROTECTED] ha scritto: Hi, all! I would like to know if it is possible to develop UNO components in Python (using the usual helpers) implementing interfaces in my own IDL files, as trivial in e.g. C++. I am using OOo version 1.1.4. I

Re: [api-dev] multiple-inheritance interafces and method name clashes

2005-10-16 Thread Rony G. Flatscher
In principle we have the necessary mechanisms in Basic and PyUNO (see previous post by Jörg). However, since the existing mechanims are heavy and ugly, they are not used consistently in practice. That means that much of the code that is written in those language bindings is fragile. Rony

Re: [api-dev] Xforms and API

2005-10-17 Thread Frank Schönheit - Sun Microsystems Germa ny
Hi Laurent, is the XForm api available through UNO ? Sure. is it possible to script some formulars for example creating dynamically one and submit it ? Just throwing in some pointers: - Instead of creating an empty text document, you need to create a text document with a special

Re: [api-dev] Simple question - How to maximize a window

2005-10-17 Thread Andreas Schlüns
Andrew Jensen wrote: .-) My code snippet was an example only ... and I've shown you a way, which isnt the preferred one for myself .-) The problem behind getActiveFrame() / getCurrentController() is the dependenc against the focus. If the application is loosing it's focus it can happen that

Re: [api-dev] multiple-inheritance interafces and method name clashes

2005-10-17 Thread Mathias Bauer
Rony G. Flatscher wrote: E.g., in the ooRexx support for UNO/OOo the connection-routine looks like: - cut here - ::routine UNO.connect public parse arg unoURL -- retrieve the argument, if any xContext=.UNO~Bootstrap~bootstrap -- get an initialized

Re: [api-dev] Xforms and API

2005-10-17 Thread Stephan Bergmann
Frank Schönheit - Sun Microsystems Germany wrote: [...] The IDL reference for OOo 2.0 does not seem to be online, yet - at least not at http://api.openoffice.org/docs/common/ref/com/sun/star/module-ix.html. Not sure if there's another place, else, you might need to read IDL files (ugly) or

Re: [api-dev] multiple-inheritance interafces and method name clashes

2005-10-17 Thread Stephan Bergmann
Rony G. Flatscher wrote: In principle we have the necessary mechanisms in Basic and PyUNO (see previous post by Jörg). However, since the existing mechanims are heavy and ugly, they are not used consistently in practice. That means that much of the code that is written in those language

Re: [api-dev] multiple-inheritance interafces and method name clashes

2005-10-17 Thread Rony G. Flatscher
Mathias Bauer wrote: E.g., in the ooRexx support for UNO/OOo the connection-routine looks like: - cut here - ::routine UNO.connect public parse arg unoURL -- retrieve the argument, if any xContext=.UNO~Bootstrap~bootstrap -- get an

Re: [api-dev] multiple-inheritance interafces and method name clashes

2005-10-17 Thread Stephan Bergmann
Jörg Budischewski wrote: Hi, As Stephan pointed out such means do exist in Basic and they are described in our DevGuide. I don't know if PyUNO has means too so we must ask people knowing the binding. AFAIK Jörg Budischewski is reading the udk list so perhaps we should move the discussion

Re: [api-dev] multiple-inheritance interafces and method name clashes

2005-10-17 Thread Stephan Bergmann
Rony G. Flatscher wrote: Mathias Bauer wrote: E.g., in the ooRexx support for UNO/OOo the connection-routine looks like: - cut here - ::routine UNO.connect public parse arg unoURL -- retrieve the argument, if any xContext=.UNO~Bootstrap~bootstrap --

Re: [api-dev] Xforms and API

2005-10-17 Thread Frank Schönheit - Sun Microsystems Germa ny
- Instead of creating an empty text document, you need to create a text document with a special parameter (which I don't remember right now :-\) to create an XML form document private:factory/swriter?slot=21053 Urghs. Ciao Frank -- - Frank Schönheit, Software Engineer [EMAIL

Re: [api-dev] multiple-inheritance interafces and method name clashes

2005-10-17 Thread Stephan Bergmann
Rony G. Flatscher wrote: ... cut ... Just curious: how do you write down in ooRexx calls to method bar on an object that implements the two interfaces module m1 { interface XFoo { void bar(); }; }; module m2 { interface XFoo { void baz(); }; }; Hmm, good question. Could you please

Re: [api-dev] multiple-inheritance interafces and method name clashes

2005-10-17 Thread Mathias Bauer
Rony G. Flatscher wrote: Mathias Bauer wrote: E.g., in the ooRexx support for UNO/OOo the connection-routine looks like: - cut here - ::routine UNO.connect public parse arg unoURL -- retrieve the argument, if any xContext=.UNO~Bootstrap~bootstrap --

Re: [api-dev] multiple-inheritance interafces and method name clashes

2005-10-17 Thread Rony G. Flatscher
Probably it would be possible to do the same with OOo Basic, ie. add that behaviour there as well (and it should be possible without breaking existing code), e.g. uur.XUnoUrlResolver.resolve(unoURL) ... as an option to uur.resolve(unoURL) ...which could break existing code:

Re: [api-dev] multiple-inheritance interafces and method name clashes

2005-10-17 Thread Rony G. Flatscher
Stephan Bergmann wrote: Rony G. Flatscher wrote: ... cut ... Just curious: how do you write down in ooRexx calls to method bar on an object that implements the two interfaces module m1 { interface XFoo { void bar(); }; }; module m2 { interface XFoo {

[api-dev] Returnvalues from Macros

2005-10-17 Thread Alexander Peters
Hello! I use OLE to connect to OpenOffice.org Writer and want to get Returncodes from Macros which i execute with a dispatcher. How can i make this? Or is there an other way to execute macros to get a returnvalue? Any Codesnip in any language will help me. Greetings Alexander Peters

Re: [api-dev] multiple-inheritance interafces and method name clashes

2005-10-17 Thread Joerg Budischewski
Hi, But I think the most striking advantage a typeunsafe over a typesafe language has, is that you need to write less source code to do the same thing. If the language binding would be designed with an queryInterface, the advantage would vanish hurting you with nearly every line of uno code

[api-dev] TextTable: iterating over selected cells

2005-10-17 Thread Jorge . Pelizzoni
Hi, all! Is there a way to iterate over the cells of a TextTable that have been selected by the user? I already know of invoking getSelection for the controller. However, it seems that the best that the thus obtained XTextTableCursor can provide is RangeName, which appears useless in the case

[api-dev] PyUNO: importing modules in package directory

2005-10-17 Thread Jorge . Pelizzoni
Hi, all! It seems that the main python module of a UNO component cannot trivially load/import auxiliary modules shipped in the same package directory. Is that correct? How can I circumvent that? Thanks in advance. Cheers, Jorge.

[api-dev] [EMAIL PROTECTED] GUIDE: important things to know about this mailing list

2005-10-17 Thread Michael Hoennig
Dear OpenOffice.org community, This is the monthly reminder of important things to know about the dev@api.openoffice.org mailing list. We, the project leads of the OOo API project, would like to give you some general information to help you with your questions. ***

Re: [api-dev] multiple-inheritance interafces and method name clashes

2005-10-18 Thread Matthias Benkmann
One way around the problem with future compatibilities in languages such as Basic would be the introduction of an (optional) import statement that would have the effect of moving a given interface to the front of the method search path for the module it's in. import com.sun.star.text.XTextRange

Re: [api-dev] multiple-inheritance interafces and method name clashes

2005-10-18 Thread Rony G. Flatscher
... cut ... Just curious: how do you write down in ooRexx calls to method bar on an object that implements the two interfaces module m1 { interface XFoo { void bar(); }; }; module m2 { interface XFoo { void baz(); };

Re: [api-dev] multiple-inheritance interafces and method name clashes

2005-10-18 Thread Rony G. Flatscher
(Hmm, strange, just now I have been receiving the e-mails you have sent this morning, hence the late answers/remarks.) your approach is not so different than the other one implemented in the scripting components. However, encouraging this as 'default' writing is problematic when ooRex can

Re: [api-dev] PyUNO: importing modules in package directory

2005-10-19 Thread Joerg Budischewski
Hi, yes this is correct. You can only circumvent by placing the module files in PYTHONPATH (see pythonloader.uno[rc|.ini]), but this is not easily deployable anymore. Bye, Joerg [EMAIL PROTECTED] wrote: Hi, all! It seems that the main python module of a UNO component cannot trivially

[api-dev] uniform access to text across OOo apps

2005-10-19 Thread Jorge . Pelizzoni
Hi, all! Is there a uniform way to access text (=sequences of adjacent TextContents) in selections or whole documents across OOo applications (Writer, Presentation, Spreadsheet, etc.). Developers of writing aids such as myself could definitely do with that! Cheers, Jorge.

Re: [api-dev] multiple-inheritance interafces and method name clashes

2005-10-20 Thread Stephan Bergmann
Rony G. Flatscher wrote: ... cut ... Just curious: how do you write down in ooRexx calls to method bar on an object that implements the two interfaces module m1 { interface XFoo { void bar(); }; }; module m2 { interface XFoo { void baz(); }; }; Hmm, good question. Could you please

Re: [api-dev] Returnvalues from Macros

2005-10-20 Thread Mathias Bauer
Alexander Peters wrote: Hello! I use OLE to connect to OpenOffice.org Writer and want to get Returncodes from Macros which i execute with a dispatcher. How can i make this? Or is there an other way to execute macros to get a returnvalue? Any Codesnip in any language will help me. A

[api-dev] Pure Virtual Method called, Aborted Error

2005-10-20 Thread Rahul Kulkarni
Hello All, I get the error Pure Virtual Method called, Aborted when I execute my component using XMain run() method by using uno executable. This occurs when I make the service single instance by using a static variable inside the code. Any ideas, pointers about it. What could be the reason.

[api-dev] XSL and code-snippets.

2005-10-21 Thread Galmes Pierre-Andre
Hi all, I am posting to this mailing as it seems to me to be the right place, to deal with code-snippets. After some months reading the XML-Dev mailing list, some readers have been posting XSL code for common tasks one might be looking for. What about gathering those ? What do you think of

Re: [api-dev] multiple-inheritance interafces and method name clashes

2005-10-21 Thread Stephan Bergmann
Rony G. Flatscher wrote: Your message dated 2005-10-19 09:27 AM just appeared in my inbox (2005-10-21), almost two days late! Something seems to be wrong with dispatching the messages via the OOo listserver. Yes, all the OOo mailing lists were extremely slow the last few days. Hopefully it

Re: [api-dev] XSL and code-snippets.

2005-10-21 Thread Jürgen Schmidt
Galmes Pierre-Andre wrote: Hi all, I am posting to this mailing as it seems to me to be the right place, to deal with code-snippets. After some months reading the XML-Dev mailing list, some readers have been posting XSL code for common tasks one might be looking for. What about gathering

[api-dev] re: finding latest sdk build for windows

2005-10-21 Thread James Black
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I am curious why there is only a solaris and linux version for build 680, for the sdk. I want to make certain I have the latest build now of the sdk, so I can continue my plugin development on Oo2.0. Thanx. - -- Love is mutual self-giving that ends

Re: [api-dev] Returnvalues from Macros

2005-10-22 Thread Alexander Peters
Mathias Bauer wrote: Alexander Peters wrote: Hello! I use OLE to connect to OpenOffice.org Writer and want to get Returncodes from Macros which i execute with a dispatcher. How can i make this? Or is there an other way to execute macros to get a returnvalue? Any Codesnip in any language

Re: [api-dev] Returnvalues from Macros

2005-10-22 Thread Christian Junker
Hi Alexander, 2005/10/22, Alexander Peters [EMAIL PROTECTED]: A dispatched macro can't return a value. And which makro can return a value? what Matthias meant with dispatched is, that it was called using css::frame::XDispatchHelper. Unfortunately there is currently no way to call macros

[api-dev] window position of components container window

2005-10-22 Thread Marc Santhoff
Hi, I'm trying to retrieve the current position of a component by querying it's container windows position: snip cw = frms(i).ContainerWindow msgbox cw.PosSize.X cw.PosSize.Y /snip If this is done on Windows it returns the correct values. If the same runs on FreeBSD (should be the same for

Re: [api-dev] Returnvalues from Macros

2005-10-22 Thread G. Jasper
Alexander Peters wrote: Hello! I use OLE to connect to OpenOffice.org Writer and want to get Returncodes from Macros which i execute with a dispatcher. How can i make this? Or is there an other way to execute macros to get a returnvalue? Any Codesnip in any language will help me.

Re: [api-dev] Returnvalues from Macros

2005-10-22 Thread Christian Junker
I need to clarify, that I meant calling macros along with getting their return values. 2005/10/22, Christian Junker [EMAIL PROTECTED]: Unfortunately there is currently no way to call macros across UNO-supported languages as far as I know -- Best Regards Christian Junker

Re: [api-dev] XSL and code-snippets.

2005-10-23 Thread Tom Schindl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jürgen Schmidt wrote: Galmes Pierre-Andre wrote: Hi all, I am posting to this mailing as it seems to me to be the right place, to deal with code-snippets. After some months reading the XML-Dev mailing list, some readers have been posting XSL

[api-dev] Convert a presentation to PDF from Java

2005-10-23 Thread torben
I have just asked this question in the news group gmane.comp.openoffice.questions, but were asked to use this mailing list instead. I would like to convert a Impresss document to a pdf-file from java by connecting to an remote OpenOffice server. I had been looking at the example program

Re: [api-dev] Returnvalues from Macros

2005-10-24 Thread Matthias Benkmann
On 10/17/05, Alexander Peters [EMAIL PROTECTED] wrote: Hello! I use OLE to connect to OpenOffice.org Writer and want to get Returncodes from Macros which i execute with a dispatcher. How can i make this? Or is there an other way to execute macros to get a returnvalue? Any Codesnip in any

Re: [api-dev] XSL and code-snippets.

2005-10-24 Thread Galmes Pierre-Andre
Le Dimanche 23 Octobre 2005 21:39, Tom Schindl a écrit : Jürgen Schmidt wrote: Galmes Pierre-Andre wrote: Hi all, i think it is a good idea to extend the code snippet base with such a further category of snippets. We should and can hopefully use the same tooling as for all other

[api-dev] undoing things in a document using python

2005-10-24 Thread Clément Varaldi (ML)
Hi, I'm working on scripts that may help me preparing a mailing using a MySQL database. It's actually already working, except that I'm doing this: 1 open a document 2 storeinto 3 replace all 4 make a pdf / html 5 close 6 goto 1 Opening/closing takes a lot of time. I'd prefer this scheme: 1

Re: [api-dev] undoing things in a document using python

2005-10-24 Thread Alexandro Colorado
On Mon, 24 Oct 2005 09:51:35 +0100, Clément Varaldi (ML) [EMAIL PROTECTED] wrote: Hi, I'm working on scripts that may help me preparing a mailing using a MySQL database. It's actually already working, except that I'm doing this: 1 open a document 2 storeinto 3 replace all 4 make a pdf /

Re: [api-dev] undoing things in a document using python

2005-10-24 Thread Clément Varaldi (ML)
Alexandro Colorado wrote: On Mon, 24 Oct 2005 09:51:35 +0100, Clément Varaldi (ML) [EMAIL PROTECTED] wrote: Hi, I'm working on scripts that may help me preparing a mailing using a MySQL database. It's actually already working, except that I'm doing this: 1 open a document 2 storeinto 3

Re: [api-dev] window position of components container window

2005-10-24 Thread Mathias Bauer
Marc Santhoff wrote: Hi, I'm trying to retrieve the current position of a component by querying it's container windows position: snip cw = frms(i).ContainerWindow msgbox cw.PosSize.X cw.PosSize.Y /snip If this is done on Windows it returns the correct values. If the same runs

Re: [api-dev] XSL and code-snippets.

2005-10-24 Thread Jürgen Schmidt
Galmes Pierre-Andre wrote: Le Dimanche 23 Octobre 2005 21:39, Tom Schindl a écrit : Jürgen Schmidt wrote: Galmes Pierre-Andre wrote: Hi all, i think it is a good idea to extend the code snippet base with such a further category of snippets. We should and can hopefully use the same

Re: [api-dev] Browsing the source code

2005-10-24 Thread Galmes Pierre-Andre
Le Mercredi 27 Juillet 2005 14:36, Senthilkumar Mehalingam a écrit : Hi All, Hi, I want to see how the cut,paste,undo,redo functionalities are implemented in OO.org. If anybody could point me to the specific files and modules in which they are implemented I would highly appreciate that. I

Re: [api-dev] Returnvalues from Macros

2005-10-24 Thread Tom Schindl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Matthias Benkmann wrote: On 10/17/05, Alexander Peters [EMAIL PROTECTED] wrote: Hello! I use OLE to connect to OpenOffice.org Writer and want to get Returncodes from Macros which i execute with a dispatcher. How can i make this? Or is there an

Re: [api-dev] window position of components container window

2005-10-24 Thread Marc Santhoff
Am Montag, den 24.10.2005, 12:34 +0200 schrieb Mathias Bauer: Marc Santhoff wrote: Hi, Hello Mathias, I'm trying to retrieve the current position of a component by querying it's container windows position: snip cw = frms(i).ContainerWindow msgbox cw.PosSize.X cw.PosSize.Y

Re: [api-dev] Returnvalues from Macros

2005-10-24 Thread G. Jasper
Tom Schindl wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Matthias Benkmann wrote: On 10/17/05, Alexander Peters [EMAIL PROTECTED] wrote: Hello! I use OLE to connect to OpenOffice.org Writer and want to get Returncodes from Macros which i execute with a dispatcher. How can i

[api-dev] text table selection: iterating through split cells

2005-10-24 Thread Jorge . Pelizzoni
Hi, all! In a writer document, is there a awy to know the names the cells which are currently selected? I am having a real hard time trying to iterate through selected cells when some of them have been _split_. I know there must be a way, because Writer itself handles it properly, but it is

Re: [api-dev] window position of components container window

2005-10-24 Thread Mathias Bauer
Marc Santhoff wrote: This seems to be a bug only in the 1.x line, tested with 1.1.5de on Win98 1.1.0de on Win2000 1.1.3de on FreeBSD. 2.0.0RC1de on WIn98 gives thecorrect position values (Linux/FreeBSD outstanding). Ah, if you had mentioned you talked about OOo1.x I wouldn't have asked

Re: [api-dev] window position of components container window

2005-10-24 Thread Marc Santhoff
Me again, some other testers confirm: OOo 2.0 / Linuxgives correct position values OOo 1.1.5 / linux give 0,0 at any window position Marc - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: [api-dev] window position of components container window

2005-10-24 Thread Andrew Jensen
Ok, never mind..I figured out what I was doing wrong..I can run writer now, while my import script is running... Sorry, for the misunderstanding. Andrew Andrew Jensen wrote: No, we will not fix any issues in 1.x instead of security bug fixes. Best regards, Mathias Just curios, if it

Re: [api-dev] Returnvalues from Macros

2005-10-24 Thread Matthias Benkmann
On 10/25/05, Christian Junker [EMAIL PROTECTED] wrote: 2005/10/24, Matthias Benkmann [EMAIL PROTECTED]: ATTENTION: Not every XScriptProvider can resolve every script URI! For instance the script provider returned by a TextDocument's XScriptProviderSupplier can't resolve script URIs for

Re: [api-dev] Convert a presentation to PDF from Java

2005-10-25 Thread Mathias Bauer
torben wrote: It is a good idea. But what I was really missing a guide how too find the API documentation for the UNO classes. And how to read it. I have found it now, but I have spend some hours. Sorry, I don't understand about which UNO classes you are talking. The UNO API is described in

Re: [api-dev] window position of components container window

2005-10-25 Thread Mathias Bauer
Hi Andrew, Andrew Jensen wrote: Ok, never mind..I figured out what I was doing wrong..I can run writer now, while my import script is running... Sorry, for the misunderstanding. Andrew It's an UL that you can't run two OOo instance at a time, the problem is that two running instances

Re: [api-dev] Returnvalues from Macros

2005-10-25 Thread Thomas Schindl
But I think if you are calling a OOBasic-Macro e.g. from Java you need to invoke the ScriptingFramework don't you? So maybe the snippet should deal with calling a Macro from some UNO-Binding e.g. C++, Java, Python, ... and fetching its return value. Tom --- Ursprüngliche Nachricht --- Von:

Re: [api-dev] window position of components container window

2005-10-25 Thread Andrew Jensen
Mathias, You just made my month... Thanks Mathias Bauer wrote: Hi Andrew, Andrew Jensen wrote: Ok, never mind..I figured out what I was doing wrong..I can run writer now, while my import script is running... Sorry, for the misunderstanding. Andrew It's an UL that

Re: [api-dev] XSL and code-snippets.

2005-10-25 Thread Tom Schindl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, support for the Programming Language has been added to our snippet collection. Because of a bug in our syntax-highlighting lib please use as few namespace-declaration as possible for your XSL-Stylesheets. You mark your snippet as XSL using:

[api-dev] updated Java and C++ UNO runtime reference

2005-10-26 Thread Jürgen Schmidt
Hi, i have updated the Java and C++ UNO runtime reference documentation on api.openoffice.org. The C++ reference has currently a problem with the new introduced styles for the generated docu. When browsing the C++ docu the whole api project page is affected by the new and C++ docu only

Re: [api-dev] Re: [native-lang] new incubator : Call for Name

2005-10-26 Thread G. Roderick Singleton
On Wed, 2005-10-26 at 17:18 +0200, Jürgen Schmidt wrote: G. Roderick Singleton wrote: On Wed, 2005-10-26 at 16:14 +0200, Laurent Godard wrote: Hi all [snipped] Here are the propositions - addon.openoffice.org (already 1 vote) - extensions.openoffice.org (already 3

[api-dev] Re: [native-lang] new incubator : Call for Name

2005-10-26 Thread G. Roderick Singleton
On Wed, 2005-10-26 at 16:14 +0200, Laurent Godard wrote: Hi all [snipped] Here are the propositions - addon.openoffice.org (already 1 vote) - extensions.openoffice.org (already 3 votes) - scripting.openoffice.org (already 0 vote) -i leave it in case We are actually discussing on

[api-dev] Re: [dev] new incubator : Call for Name

2005-10-26 Thread Joerg Barfurth
Hi, Laurent Godard wrote: - extensions.openoffice.org (already 3 votes) -1, We already have a cvs module named 'extensions' in the 'util' project. This situation (a module in one project is named like another project) is prone to cause confusion. Unfortunately we already have at least one

Re: [api-dev] Returnvalues from Macros

2005-10-26 Thread Christian Junker
Hi Thomas, I have taken the time to put a rudimentary C++ example together that uses the prei-installed GetProductname macro and gets its return value to insert the string into a freshly opened document. Note that I have cut done the complete thing and left out all kinds of checks (for NULL

Re: [api-dev] Returnvalues from Macros

2005-10-26 Thread Rony G. Flatscher
Hi Christian, I have taken the time to put a rudimentary C++ example together that uses the prei-installed GetProductname macro and gets its return value to insert the string into a freshly opened document. Note that I have cut done the complete thing and left out all kinds of checks (for NULL

Re: [api-dev] window position of components container window

2005-10-26 Thread Mathias Bauer
Hi Andrew, that's nice to read. :-) BTW: I forgot to mention that you can use -env:UserInstallation=... also for not yet existing user installations. OOo2.0 will just create one in this case at the desired location. You will get the startup wizard though. But we're working on this. Ciao,

Re: [api-dev] new incubator : Call for Name

2005-10-26 Thread Mathias Bauer
Hi Laurent, thanks for the proposal. Laurent Godard wrote: Here are the propositions - addon.openoffice.org (already 1 vote) - extensions.openoffice.org (already 3 votes) - scripting.openoffice.org (already 0 vote) -i leave it in case As Jürgen said, scripting is too special. IMHO the

[api-dev] Re: [native-lang] Re: [dev] new incubator : Call for Name

2005-10-26 Thread Pavel Janík
From: Joerg Barfurth [EMAIL PROTECTED] Date: Wed, 26 Oct 2005 17:45:05 +0200 -1, We already have a cvs module named 'extensions' in the 'util' project. Another example is external, which is even worst. -- Pavel Janík In case you're wondering what's the reason for this spate

[api-dev] Re: [dev] new incubator : Call for Name

2005-10-26 Thread Pavel Janík
From: Laurent Godard [EMAIL PROTECTED] Date: Wed, 26 Oct 2005 16:14:36 +0200 Hi, - addon.openoffice.org (already 1 vote) I'd prefer addons... -- Pavel Janík In theory, practice and theory are the same, but in practice they are different. -- Larry McVoy

Re: [api-dev] new incubator : Call for Name

2005-10-26 Thread Laurent Godard
Hi Mathias As Jürgen said, scripting is too special. IMHO the same is true for addon because this is the technical term for a special API in OOo. I think extensions is great. It is not taken in OOo until now, but people coming from the the Mozilla world immediately will understand what this

[api-dev] [EMAIL PROTECTED] TOPIC: Contributing

2005-10-26 Thread Michael Hoennig
Dear OpenOffice.org community, This is the 2-weekly announcement of current issues regarding the OOo API project which I want to hightlight to the community. *** = *** Todays Issue: Contributing to the OOo API Project ***

Re: [api-dev] Re: [dev] new incubator : Call for Name

2005-10-27 Thread Mathias Bauer
Pavel Janík wrote: From: Laurent Godard [EMAIL PROTECTED] Date: Wed, 26 Oct 2005 16:14:36 +0200 Hi, - addon.openoffice.org (already 1 vote) I'd prefer addons... My concern about addons is that this term is already used for a very special though important kind of extension.

Re: [api-dev] Re: [dev] new incubator : Call for Name

2005-10-27 Thread Laurent Godard
Hi Mathias My concern about addons is that this term is already used for a very special though important kind of extension. But there are other potential extensions of OOo that e.g. can be deployed as a package and that are not (technically spoken) addons. but addons could become a generic

Re: [api-dev] Re: [dev] new incubator : Call for Name

2005-10-27 Thread Jürgen Schmidt
Hi Laurent, Laurent Godard wrote: Hi Mathias My concern about addons is that this term is already used for a very special though important kind of extension. But there are other potential extensions of OOo that e.g. can be deployed as a package and that are not (technically spoken) addons.

Re: [api-dev] Re: [dev] new incubator : Call for Name

2005-10-27 Thread Ian Laurenson
For reasons outlined by Jürgen: +1 Extensions For the extensions wiki I used ext.openoffice.org.nz. I don't think it would be much of an issue to have extension and extensions.openoffice.org mapping to the same location. Thanks, Ian

Re: [api-dev] Re: [dev] new incubator : Call for Name

2005-10-27 Thread Anthony Chilco
I ran this by a couple of the engineers here at work. The conclusion we came to is that all the words that correctly describe the group have be used already in software terminology. The best suggestions were to use 'accessories' or to make up a new word. A manufactured word will be the same in

Re: [api-dev] Re: [webmasters] Account is closed - dead link in SDK doc.

2005-10-29 Thread Christian Junker
Thanks for forwarding Jacqueline, that is not good! As I already said before in a discussion with Jürgen, I think we should have external files on our collabnet webspace, eg at api.openoffice.org, for safety reasons. That way we don't depend on others. 2005/10/29, Jacqueline McNally [EMAIL

[api-dev] UNO/URE exercise for newcomers

2005-10-30 Thread cedric . bosdonnat . ooo
Hi all, I just have written an exercise with the solution to help people make a simple C++ URE based application. It is quite well documented for a URE and UNO newcomer. You can find it at http://blogs.nuxeo.com/sections/blogs/cedric_bosdonnat/2005_10_29_uno-ure-exercise Please give me your

[api-dev] UNO package setting keybindings

2005-10-30 Thread Jorge . Pelizzoni
Hi, all! Is it possible to have a UNO package assign to accelerator keys to some of its BASIC macros? I imagine this might go in the .xcu, but I haven't so far managed to discover exactly how. I am using OOo 1.1.4. Thanks in advance. Cheers, Jorge.

<    4   5   6   7   8   9   10   11   12   13   >