Re: [api-dev] How to force a Combobox to refetch value list?

2005-09-06 Thread Paolo Mantovani
Hi Andrew, Alle 16:51, martedì 6 settembre 2005, Andrew Jensen ha scritto: Hi I have the following question. I have a dataform with a Combobox control and want to change the SQL selection statement at run time, how do I get the control to refetch the data? [...] ComboBox2.ListSource =

Re: [api-dev] How to force a Combobox to refetch value list?

2005-09-06 Thread Andrew Jensen
Paolo, Yes the SQL is just a simple Well the SELECT statement is built with this ugly thing sGender = oEvent.Source.Text sSQl = "select " "name" " from " _ "names" " where " "gender" " = " sSQL = sSQL "'" sGender "'" the sSQL

Re: [api-dev] ByteArrayToXInputStreamAdapter in the CVS tree

2005-09-06 Thread Christian Junker
Hi Andreas, javaunohelper/com/sun/star/lib/uno/adapter/ByteArrayToXInputStreamAdapter.java 2005/9/6, Andreas Bröker [EMAIL PROTECTED]: Hello, [...] Can anybody tell me where i must have a look. -- Best Regards Christian Junker

Re: [api-dev] ByteArrayToXInputStreamAdapter in the CVS tree

2005-09-07 Thread Jürgen Schmidt
Hi, you should take into account that this class may change in the future because it is no official API although it is a public class in juh.jar. - Juergen Christian Junker wrote: Hi Andreas, javaunohelper/com/sun/star/lib/uno/adapter/ByteArrayToXInputStreamAdapter.java 2005/9/6,

RE: [api-dev] ByteArrayToXInputStreamAdapter in the CVS tree

2005-09-07 Thread Andreas Bröker
Hello Christian, thank you very much. Regards Andreas -Original Message- From: Christian Junker [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 06, 2005 8:20 PM To: dev@api.openoffice.org Subject: Re: [api-dev] ByteArrayToXInputStreamAdapter in the CVS tree Hi Andreas,

RE: [api-dev] ByteArrayToXInputStreamAdapter in the CVS tree

2005-09-07 Thread Andreas Bröker
Hello Jürgen, thank your for your information. But why is this class not part of the public Java API ? The class is very helpful ! Regards Andreas -Original Message- From: Jürgen Schmidt [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 07, 2005 9:08 AM To:

Re: [api-dev] ByteArrayToXInputStreamAdapter in the CVS tree

2005-09-07 Thread Jürgen Schmidt
Hi Andreas, until today i didn't know this class. But we don't want to put everyhting as an official API because the maintenance effort would be to huge and we could't change this API's easily. The class is purely documented and it seems to me that it was intended as an implementation helper

Re: [api-dev] How to force a Combobox to refetch value list?

2005-09-07 Thread Paolo Mantovani
Alle 20:08, martedì 6 settembre 2005, Andrew Jensen ha scritto: [...] What I have is two comboboxes, each allowing the user to select data for a different column on a common row of a table. In ComboBox2 the available options are changed depending on what was choosen in CombobBox1. Ok the

[api-dev] UNO packages and events

2005-09-07 Thread Ian Laurenson
I have two macros that it would be useful to assign to the application events: Open Document and Create Document. While it is possible to do this via Customize Events a lot of end users have difficulty in setting this up so I would like to be able to automate this process for them. Is it

Re: [api-dev] UNO packages and events

2005-09-08 Thread Jürgen Schmidt
Ian Laurenson wrote: I have two macros that it would be useful to assign to the application events: Open Document and Create Document. While it is possible to do this via Customize Events a lot of end users have difficulty in setting this up so I would like to be able to automate this process

Re: [api-dev] UNO packages and events

2005-09-08 Thread Jürgen Schmidt
Jürgen Schmidt wrote: Ian Laurenson wrote: I have two macros that it would be useful to assign to the application events: Open Document and Create Document. While it is possible to do this via Customize Events a lot of end users have difficulty in setting this up so I would like to be able

Re: [api-dev] UNO packages and events

2005-09-08 Thread Ian Laurenson
Any pointers on where I should look for automating permanently setting application events - either by .xcu file or macro? Reply in-line but not directly related to this subject. On Thu, 2005-09-08 at 08:29 +0200, Jürgen Schmidt wrote: Ian Laurenson wrote: I have two macros that it would be

Re: [api-dev] UNO packages and events

2005-09-08 Thread Ian Laurenson
On Thu, 2005-09-08 at 10:29 +0200, Jürgen Schmidt wrote: Ian Laurenson wrote: Any pointers on where I should look for automating permanently setting application events - either by .xcu file or macro? sorry i can't answer this question yet without furthing investigating Thanks Jürgen.

[api-dev] officebean call with spaces in username

2005-09-08 Thread Gutzke
Hello everybody, We have a problem with the officebean and the possibility of Windows XP to create a user with a blank resp. space in it like 'John Doe'. Please don't ask me why creating user with a 'blank' - One customer of us wants to do so! Correct me, if i'm wrong - but I think the

Re: [api-dev] [ooeclipseintegration] OpenOffice.org integration in Eclipse

2005-09-08 Thread Galmes Pierre-Andre
Le Lundi 05 Septembre 2005 16:48, Jürgen Schmidt a écrit : [EMAIL PROTECTED] wrote: Hi Jürgen, There is a lot of work and Cedric and Fintan have done the first steps in the right direction. True ! I am currently working on a code skeleton generator which should be used later from this

Re: [api-dev] [ooeclipseintegration] OpenOffice.org integration in Eclipse

2005-09-08 Thread cedric . bosdonnat . ooo
Hi Pierre-Andre, Selon Galmes Pierre-Andre [EMAIL PROTECTED]: I thank you for your effort to get time to improve my work :-) Eclipse people have tested a bit the plugin to help me correcting some bugs. For now, I was not able to find the time to test your plug-in, but will try

Re: [api-dev] [ooeclipseintegration] OpenOffice.org integration in Eclipse

2005-09-08 Thread Laurent Godard
Hi Cedic, Hi Pierre-Andre I have little knowledge regarding eclipse but can help if needed I think that I should finish the basic wizards (and the internal Type structure) before we could begin to work on the addon wizards. I think that the C++ integration is quite simple: we only have to

Re: [api-dev] UNO packages and events

2005-09-08 Thread Marc Santhoff
Am Donnerstag, den 08.09.2005, 16:52 +1200 schrieb Ian Laurenson: I have two macros that it would be useful to assign to the application events: Open Document and Create Document. While it is possible to do this via Customize Events a lot of end users have difficulty in setting this up so I

Re: [api-dev] UNO packages and events

2005-09-08 Thread Ian Laurenson
On Thu, 2005-09-08 at 15:27 +0200, Marc Santhoff wrote: Am Donnerstag, den 08.09.2005, 16:52 +1200 schrieb Ian Laurenson: I have two macros that it would be useful to assign to the application events: Open Document and Create Document. While it is possible to do this via Customize

Re: [api-dev] UNO packages and events

2005-09-08 Thread Paolo Mantovani
Hi Ian, Alle 06:52, giovedì 8 settembre 2005, Ian Laurenson ha scritto: I have two macros that it would be useful to assign to the application events: Open Document and Create Document. While it is possible to do this via Customize Events a lot of end users have difficulty in setting this

Re: [api-dev] UNO packages and events

2005-09-08 Thread Marc Santhoff
Am Freitag, den 09.09.2005, 10:35 +1200 schrieb Ian Laurenson: On Thu, 2005-09-08 at 15:27 +0200, Marc Santhoff wrote: Am Donnerstag, den 08.09.2005, 16:52 +1200 schrieb Ian Laurenson: [...] And is it possible by a BASIC macro? Again some pointers would be useful. If I can get this

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

2005-09-08 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] [ooeclipseintegration] OpenOffice.org integration in Eclipse

2005-09-09 Thread cedric . bosdonnat . ooo
Hi Pierre-Andre, Selon Galmes Pierre-Andre [EMAIL PROTECTED]: iii - In the UNO types selector, the Uno types are never fetched, but the informative sentence Wait whilst fetching uno types is displayed. I've checked the files on my computer: the jar which is executed to fetch the types has not

Re: [api-dev] [ooeclipseintegration] OpenOffice.org integration in Eclipse

2005-09-09 Thread Galmes Pierre-Andre
Le Jeudi 08 Septembre 2005 16:16, [EMAIL PROTECTED] a écrit : Hi Pierre-Andre, Hi cedric, On my screen, the following messages do not feat in the place given to them. My - resolution : 1024x768 : - This project can only generate Java code for the moment. In a later version, C++ and

[api-dev] SISSL licence for ooeclipseintegration

2005-09-09 Thread cedric . bosdonnat . ooo
Hi everybody, Now that the SISSL Licence has been dropped, what should I do with the OOEclipseIntegration licence ? it was under both LGPL and SISSL licence as every part of OOo... Should I remove it ? Thanks for your help, Cedric

[api-dev] SDK examples compiling and gcc4 with fedora core 4

2005-09-09 Thread Galmes Pierre-Andre
Hello, Since last tests of compiling, I changed my distribution to a Fedora Core 4. Fedora now includes gcc4 by default... But they also provide compatibility packages which should allow avoiding compatibility problems. But, for now, I am not able to compile the c++ examples from the SDK (for

Re: [api-dev] replacement of XMessageBox deprecated

2005-09-09 Thread Jürgen Schmidt
Laurent Godard wrote: HI all is there an alternative at XMessageBox as it is deprecated ? http://api.openoffice.org/docs/common/ref/com/sun/star/awt/XMessageBox.html I'm looking for an equivalent of the OOoBasic MsgBox to implement in pyUNO no, there is no replacment. Use XMessageBox if

Re: [api-dev] replacement of XMessageBox deprecated

2005-09-09 Thread Laurent Godard
Hi Jurgen thanks for the response I'm looking for an equivalent of the OOoBasic MsgBox to implement in pyUNO no, there is no replacment. Use XMessageBox if necessary. A decision how we want to go forward with awt or with an alternative/replacement for awt is still outstanding. ok

Re: [api-dev] SISSL licence for ooeclipseintegration

2005-09-09 Thread Jürgen Schmidt
Hi Cedric, [EMAIL PROTECTED] wrote: Hi everybody, Now that the SISSL Licence has been dropped, what should I do with the OOEclipseIntegration licence ? it was under both LGPL and SISSL licence as every part of OOo... Should I remove it ? I would suggest that you simply use LGPL as in all

Re: [api-dev] SISSL licence for ooeclipseintegration

2005-09-09 Thread Laurent Godard
Hi Now that the SISSL Licence has been dropped, what should I do with the OOEclipseIntegration licence ? it was under both LGPL and SISSL licence as every part of OOo... Should I remove it ? I would suggest that you simply use LGPL as in all other sources too. +1 Laurent -- Laurent

Re: [api-dev] replacement of XMessageBox deprecated

2005-09-09 Thread Laurent Godard
Hi Jurgen Thanks you should look to the example sdk/examples/BasicAndDialogs/CreatingDialogs/SampleDialog.java. The example creates a dialog with the awt interfaces. It'S UNO ;-), it's more or less the same from Python. Probably you can figure out from the example how you can create a

Re: [api-dev] SDK examples compiling and gcc4 with fedora core 4

2005-09-09 Thread Galmes Pierre-Andre
Le Vendredi 09 Septembre 2005 15:28, Stephan Bergmann a écrit : Galmes Pierre-Andre wrote: Hello, Hello Stephan, Maybe there is something to be done for gcc4. Yes, looks like the SDK is not yet ready for GCC 4. Note that there are no successful builds of OOo or SDK on GCC 4 yet, so what

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

2005-09-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

[api-dev] Translating Examples to Python

2005-09-11 Thread Kim Kulak
I've been writing an application in Python using OOo and it's great! Time to give back and I'd like to do this by translating the examples from Java into Python. The examples have been irreplaceable, even written in Java, in helping me to get my programs running. I've started, of course, with

[api-dev] Python equivalent to com.sun.star.comp.helper.Bootstrap.bootstrap()?

2005-09-11 Thread Kim Kulak
I've translated the one call to com.sun.star.comp.helper.Bootstrap.bootstrap() in FirstUnoContact.java to three calls in Python: ### com.sun.star.uno.XComponentContext xContext = ### com.sun.star.comp.helper.Bootstrap.bootstrap(); localContext =

Re: [api-dev] Translating Examples to Python

2005-09-11 Thread Ian Laurenson
On Sun, 2005-09-11 at 11:17 -0700, Kim Kulak wrote: I've been writing an application in Python using OOo and it's great! Time to give back and I'd like to do this by translating the examples from Java into Python. The examples have been irreplaceable, even written in Java, in helping me to get

Re: [api-dev] Problem translating java method, getTypeName(), to python

2005-09-12 Thread Stephan Bergmann
Kim Kulak wrote: While translating FirstLoadComponent.java to Python I've encountered problems with this one line of code: System.out.println(elemType.getTypeName()); In FirstLoadComponent.java, elemType is of type com.sun.star.uno.Type, the Java mapping of the UNO type TYPE.

Re: [api-dev] Python equivalent to com.sun.star.comp.helper.Bootstrap.bootstrap()?

2005-09-12 Thread Stephan Bergmann
Kim Kulak wrote: I've translated the one call to com.sun.star.comp.helper.Bootstrap.bootstrap() in FirstUnoContact.java to three calls in Python: ### com.sun.star.uno.XComponentContext xContext = ### com.sun.star.comp.helper.Bootstrap.bootstrap(); localContext =

Re: [api-dev] Hiding a textField throught the API

2005-09-12 Thread Tom Schindl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Could someone summerize the whole thread it looks like a nice code-snippet or at least could someone post the working code lines? Tom Fabricio Lemos wrote: Thank you again Stephan. Now it´s doing what I want. Just for curiosity and future needs:

Re: [api-dev] Problem translating java method, getTypeName(), to python

2005-09-12 Thread Darragh Sherwin
Kim Kulak wrote: While translating FirstLoadComponent.java to Python I've encountered problems with this one line of code: System.out.println(elemType.getTypeName()); elemType = xSpreadsheets.getElementType() returns a com.star.uno.TypeClass Enum. It only has 1 value depending on

Re: [api-dev] [ooeclipseintegration] OpenOffice.org integration in Eclipse

2005-09-12 Thread Galmes Pierre-Andre
Le Vendredi 09 Septembre 2005 14:22, [EMAIL PROTECTED] a écrit : Selon Galmes Pierre-Andre [EMAIL PROTECTED]: Is there a way I could checkout the sources to my PC ? Do I need to be registered somewhere to be able to do so ? I tryed the following command, but it failed in the following way :

Re: [api-dev] [ooeclipseintegration] OpenOffice.org integration in Eclipse

2005-09-12 Thread Laurent Godard
Hi I tryed the following command, but it failed in the following way : cvs -d:pserver:[EMAIL PROTECTED]:/cvs co -r SRC680_m128 api/ooeclipseintegration ... Note : it only checkout directories, and then, when listing, nothing is on my hard-drive. Is there a reason to this strange

Re: [api-dev] UNO packages and events

2005-09-12 Thread Mathias Bauer
Paolo Mantovani wrote: you can assign macros to global events using the service: com.sun.star.frame.GlobalEventBroadcaster This is an example: REM * BASIC * Sub TestGlobalEventSupplier Dim mEventProps(1) as new com.sun.star.beans.PropertyValue mEventProps(0).Name =

Re: [api-dev] Python equivalent to com.sun.star.comp.helper.Bootstrap.bootstrap()?

2005-09-12 Thread Stephan Bergmann
Christian Junker wrote: Hi Stephan, is it on the list of open tasks in Hamburg? Is volunteer support accepted for implementing the bootstrap mechanism for Python? Maybe some volunteers can gather and just do it, creating a cws for it. What's your thought about this? Go ahead, I would say.

Re: [api-dev] Python equivalent to com.sun.star.comp.helper.Bootstrap.bootstrap()?

2005-09-12 Thread Joerg Budischewski
Hi, there is no counterpart Bootstrap.bootstrap() in pyuno core as far as i know. You should have a look at the java implementation to see what it does (

Re: [api-dev] Problem translating java method, getTypeName(), to python

2005-09-12 Thread Joerg Budischewski
Hi, Kim Kulak wrote While translating FirstLoadComponent.java to Python I've encountered problems with this one line of code: System.out.println(elemType.getTypeName()); 1. The method getTypeName() is not listed in the index of the IDL Reference documentation. have a look at

Re: [api-dev] Problem translating java method, getTypeName(), to python

2005-09-12 Thread Kim Kulak
Joerg Budischewski wrote: Hi, Kim Kulak wrote While translating FirstLoadComponent.java to Python I've encountered problems with this one line of code: System.out.println(elemType.getTypeName()); 1. The method getTypeName() is not listed in the index of the IDL Reference

[api-dev] Protect TextFrame against deletion

2005-09-12 Thread Helge Kraak
Hi! Wanted to ask, whether it is possible to protect a textframe in a way, that it is still movable in a document, but deletion is being prevented (like the protection of sections)? I use the textframe as movable toolbar. Inside are three drop down menus which insert different kind of text fields

Re: [api-dev] Python equivalent to com.sun.star.comp.helper.Bootstrap.bootstrap()?

2005-09-13 Thread Christian Junker
Hi Joerg, thanks for sharing your thoughts about this, I have started #i54532# (http://www.openoffice.org/issues/show_bug.cgi?id=54532). I guess everybody is welcome to contribute patch/patches if he/she likes and attach them to the issue. Forwarding this to udk mailinglist, also. 2005/9/12,

Re: [api-dev] SDK examples compiling and gcc4 with fedora core 4

2005-09-13 Thread Stephan Bergmann
Galmes Pierre-Andre wrote: Le Vendredi 09 Septembre 2005 15:28, Stephan Bergmann a écrit : Galmes Pierre-Andre wrote: Hello, Hello Stephan, Maybe there is something to be done for gcc4. Yes, looks like the SDK is not yet ready for GCC 4. Note that there are no successful builds of

Re: [api-dev] Hiding a textField throught the API

2005-09-13 Thread Tom Schindl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thanks you can find the snippet here: http://codesnippets.services.openoffice.org/Writer/Writer.HidingUserfield.snip -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Using GnuPG with Mandriva - http://enigmail.mozdev.org

Re: [api-dev] Problem translating java method, getTypeName(), to python

2005-09-13 Thread Tom Schindl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, just for information if added the python language now to our snippet collection so if someone has python snippets she/he can submit them and I'll add them to the collection. Tom -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (GNU/Linux)

Re: [api-dev] Re: Code Snippet C++

2005-09-13 Thread Galmes Pierre-Andre
Le Mardi 13 Septembre 2005 10:46, Tom Schindl a écrit : Hi, Hello Tom, Thanks for your contribution your snippet has been added here: http://codesnippets.services.openoffice.org/Office/Office.FindDocumentForma t.snip About code snippet, I have some small ones for C++. I put the text here. If

Re: [api-dev] Python equivalent to com.sun.star.comp.helper.Bootstrap.bootstrap()?

2005-09-13 Thread Mathias Bauer
Joerg Budischewski wrote: Hi, there is no counterpart Bootstrap.bootstrap() in pyuno core as far as i know. You should have a look at the java implementation to see what it does (

Re: [api-dev] Problem translating java method, getTypeName(), to python

2005-09-13 Thread Christian Junker
Hi Kim, thanks for your input first of all. As already said in an answer before, getTypeName() is specific to the PyUNO Runtime, it's not a function exposed in an IDL interface. This got me thinking however... Especially to Jürgen and Jörg: Why is there no Python UNO Runtime Reference as there

Re: [api-dev] Re: Code Snippet C++

2005-09-13 Thread Tom Schindl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Galmes Pierre-Andre wrote: Le Mardi 13 Septembre 2005 16:04, Tom Schindl a écrit : Sure, but what are those #include-directives ? Where do I find them ? What do they correspond to ? I'm not a c++ guy but I meant the header-includes you use don't

Re: [api-dev] Problem translating java method, getTypeName(), to python

2005-09-13 Thread Joerg Budischewski
Hi, there is one on the webpage, http://udk.openoffice.org/python/python-bridge.html but I basically don't want to invest time to transfer it into the developer manual. Bye, Joerg Christian Junker wrote: Hi Kim, thanks for your input first of all. As already said in an answer before,

Re: [api-dev] Re: Code Snippet C++

2005-09-14 Thread Galmes Pierre-Andre
Le Mardi 13 Septembre 2005 18:27, Tom Schindl a écrit : Galmes Pierre-Andre wrote: Le Mardi 13 Septembre 2005 16:04, Tom Schindl a écrit : Right, I will add them. I modified the code. Hope now it is good :-) Thanks. Everything is online and in oo-cvs. Great job Pierre-Andre :-))

Re: [api-dev] Re: Code Snippet C++

2005-09-14 Thread Tom Schindl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Pierre, No currently not. You would need cvs-access rights to update your examples and then I could check them out. I once thought about a upload-section on the snippet-page but after sometime I had the feeling that manual integration is much

Re: [api-dev] Python equivalent to com.sun.star.comp.helper.Bootstrap.bootstrap()?

2005-09-14 Thread Kay Ramme - Sun Germany - Hamburg
Hi Joerg, Joerg Budischewski wrote: I am actually also not sure, whether this belongs in a core api. This function is a nice helper for starting to program with the office but it hides too much away imho ( if the office process cannot be reached, the function loops endlessly, it always an

[api-dev] [code snippet] Python Bootstrap module

2005-09-14 Thread Kim Kulak
A few days ago I asked the question: Is there an equivalent python function to com.sun.star.comp.helper.Bootstrap.bootstrap()? The answer was: there is no counterpart Bootstrap.bootstrap() in pyuno core as far as i know. You should have a look at the java implementation to see what it does (

Re: [api-dev] Re: Code Snippet C++

2005-09-15 Thread Galmes Pierre-Andre
Le Mercredi 14 Septembre 2005 11:01, Tom Schindl a écrit : Hi Pierre, Hi Tom, No currently not. You would need cvs-access rights to update your examples and then I could check them out. I once thought about a upload-section on the snippet-page but after sometime I had the feeling that

[api-dev] Wrinting text to Database, Best practices ?

2005-09-15 Thread sos
Hello, Must save some pieces of text (mostly paragraphs) from in a OOwriterDocument into a Database. I, as non pro coder, looked at different sources found different solutions but have still some questions about the best way to do save to a database - What type of datasourse is the most

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

2005-09-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] OOo C++ FAQ ?

2005-09-20 Thread Galmes Pierre-Andre
Le Mardi 20 Septembre 2005 12:25, Andreas Schlüns a écrit : Galmes Pierre-Andre wrote: Hello, Hello Stephan and Andreas , In this mail, I will give some though about the way the OOo documentation is managed and how I think the learning curve of OOo Programming could be improved. Is-there

Re: [api-dev] OOo C++ FAQ ?

2005-09-20 Thread Laurent Godard
Hi Pierre Andre I think it would be much more easy if only one repository was holding all the interresting info ! I was hoping to find such a place, but it does not seems it exists at the moment. Would it be a good idea to try to gather all the developpers doc ? I totally agree regarding

Re: [api-dev] OOo C++ FAQ ?

2005-09-20 Thread Marc Santhoff
Am Dienstag, den 20.09.2005, 14:07 +0200 schrieb Galmes Pierre-Andre: As a feedback from my experience, the documentation about OOo programming is quite difficult to find. Seems to be the case because ... For example, as a rookie in OOo Cpp programming, I would have enjoyed a page about

[api-dev] How to instantiate a service in soffice process?

2005-09-20 Thread Adriano Colaianni
I want to develop an small application that should be an integral part of OOo, like Draw, Impress, Writer, etc., It should be a (UNO) component that is instantiated within the soffice process. Where do I find the documentation about the soffice process? How do I integrate it into OOo's menus

Re: [api-dev] How to instantiate a service in soffice process?

2005-09-20 Thread Tom Schindl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Are you looking for: http://api.openoffice.org/DevelopersGuide/DevelopersGuide.html? Adriano Colaianni wrote: I want to develop an small application that should be an integral part of OOo, like Draw, Impress, Writer, etc., It should be a (UNO)

Re: [api-dev] OOo C++ FAQ ?

2005-09-20 Thread Galmes Pierre-Andre
Le Mardi 20 Septembre 2005 15:05, Marc Santhoff a écrit : Am Dienstag, den 20.09.2005, 14:07 +0200 schrieb Galmes Pierre-Andre: As a feedback from my experience, the documentation about OOo programming is quite difficult to find. Seems to be the case because ... [...] ... you did not find

Re: [api-dev] How to instantiate a service in soffice process?

2005-09-20 Thread Tom Schindl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 A service example could be found here: http://codesnippets.services.openoffice.org/Office/Office.CallingJavaFromOOBasic.snip Tom Schindl wrote: Are you looking for: http://api.openoffice.org/DevelopersGuide/DevelopersGuide.html? Adriano

[api-dev] How do I get OOo to set the href=$(USER) path

2005-09-20 Thread GregChi
How do I get OOo to set the href=$(USER) path to the same directory as $(INST) goes to? I want ALL of my data to be 'shared' NOT in C:\ partition , but in the $(INST) = F:\OpenOffice.org1.9.125 directory. (because C:\ partition is the most likely to be damaged therefore my data to be

Re: [api-dev] How do I get OOo to set the href=$(USER) path

2005-09-21 Thread Stephan Bergmann
GregChi wrote: How do I get OOo to set the href=$(USER) path to the same directory as $(INST) goes to? I want ALL of my data to be 'shared' NOT in C:\ partition , but in the $(INST) = F:\OpenOffice.org1.9.125 directory. (because C:\ partition is the most likely to be damaged therefore my

Re: [api-dev] UNO packages and events

2005-09-21 Thread Joerg Barfurth
Hi Ian, Sorry for the late reply. I only now noticed your question. Ian Laurenson wrote: I have two macros that it would be useful to assign to the application events: Open Document and Create Document. While it is possible to do this via Customize Events a lot of end users have difficulty

Re: [api-dev] How to instantiate a service in soffice process?

2005-09-21 Thread Mathias Bauer
Adriano Colaianni wrote: I want to develop an small application that should be an integral part of OOo, like Draw, Impress, Writer, etc., It should be a (UNO) component that is instantiated within the soffice process. Where do I find the documentation about the soffice process? How do I

Re: [api-dev] UNO packages and events conference

2005-09-22 Thread Laurent Godard
Hi Ian This BOF has potential to dovetail in with other presentations, the two most obvious ones being: * Paolo Mantovani's Deploying OOo extensions through UNO packages. * Lauren Godard's Add-on: from Production to End Users. Following what i proposed at my IRC conf at sping the points you

Re: [api-dev] OOConf 2005: Invitation to an open discussion about OpenOffice.org programmability features

2005-09-22 Thread Ian Laurenson
I definitely would like to be part of such a discussion. Some comments/ideas in-line: On Fri, 2005-09-09 at 16:04 +0200, Jürgen Schmidt wrote: Hi, we plan an open discussion around the programmablity features of OpenOffice.org. I am not 100% sure if we can arrange everything in time. I

Re: [api-dev] OOConf 2005: Invitation to an open discussion about OpenOffice.org programmability features

2005-09-22 Thread Stephan Bergmann
Ian Laurenson wrote: I definitely would like to be part of such a discussion. See you at OOoCon, then. (Jürgen, being the main driver behind this discussion, is currently on vacation, so I'm not sure about any fixed date yet for it.) -Stephan [...]

Re: [api-dev] Problem translating java method, getTypeName(), to python

2005-09-22 Thread Christian Junker
It wouldn't be a lot of work to do it, there is the pydoc tool which just takes the doc-strings (which are already there) and generates html output if you tell it to. I will open up a new issue for this, in the end it is up to Jürgen to decide whether such a reference would fit into the sdk

Re: [api-dev] Problem translating java method, getTypeName(), to python

2005-09-22 Thread Christian Junker
See http://www.openoffice.org/issues/show_bug.cgi?id=54951 2005/9/22, Christian Junker [EMAIL PROTECTED]: [...] -- Best Regards Christian Junker - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

[api-dev] [Fwd: [dba-dev] StarBasic: connecting to Oracle via css.sdbc.DriverManager]

2005-09-26 Thread Peter Eberlein
Hi, this is a follow-up because I got no answers. Hope on this list are some guys who can play with Oracle? Syntax ist straightforward. mDBProperties(0).Name = User mDBProperties(0).Value = Me mDBProperties(1).Name = Password mDBProperties(1).Value = secret mDBProperties(2).Name =

Re: [api-dev] Translating Examples to Python

2005-09-26 Thread Jürgen Schmidt
Hi, i think Kim mentioned the Java examples from the SDK. So it would make sense to integrate the examples in the SDK as well to have them in the same place. But when we do that we would need an appropriate documentation for the language binding as well (any volunteers). Kim i would suggest

Re: [api-dev] Translating Examples to Python

2005-09-26 Thread Laurent Godard
Hi Jurgen Kim i would suggest that we create a new sample directory python in the SDK structure and concentrate us primarily on the Developer's Guide examples because i will clean up the examples for the next version of the SDK to elimintate redundant examples. +1 adding python inside the

Re: [api-dev] Translating Examples to Python

2005-09-26 Thread Rony G. Flatscher
i think Kim mentioned the Java examples from the SDK. So it would make sense to integrate the examples in the SDK as well to have them in the same place. But when we do that we would need an appropriate documentation for the language binding as well (any volunteers). Kim i would suggest that

[api-dev] calling Basic function from C++ component

2005-09-26 Thread Jorge Marques Pelizzoni
Hi, all! Having the service manager passed to a C++ component on its construction, is it possible to execute a function from a Basic Module (passing parameters and retrieving the result)? I'm working on OOo version 1.1.4. Thanks in advance. Cheers, Jorge.

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

2005-09-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] Translating Examples to Python

2005-09-27 Thread Jürgen Schmidt
Laurent Godard wrote: Hi Jurgen Kim i would suggest that we create a new sample directory python in the SDK structure and concentrate us primarily on the Developer's Guide examples because i will clean up the examples for the next version of the SDK to elimintate redundant examples. +1

Re: [api-dev] OOConf 2005: Invitation to an open discussion about OpenOffice.org programmability features

2005-09-27 Thread Jürgen Schmidt
Ian Laurenson wrote: I definitely would like to be part of such a discussion. Some comments/ideas in-line: On Fri, 2005-09-09 at 16:04 +0200, Jürgen Schmidt wrote: Hi, we plan an open discussion around the programmablity features of OpenOffice.org. I am not 100% sure if we can arrange

Re: [api-dev] Wrinting text to Database, Best practices ?

2005-09-27 Thread Frank Schönheit - Sun Microsystems Germa ny
Hi Fernand, Must save some pieces of text (mostly paragraphs) from in a OOwriterDocument into a Database. I, as non pro coder, looked at different sources found different solutions but have still some questions about the best way to do save to a database - What type of datasourse is the

Re: [api-dev] Translating Examples to Python

2005-09-27 Thread Tom Schindl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jürgen Schmidt wrote: Laurent Godard wrote: [...] i want to extend this place to a place for more complex examples as well if possible. Tom would know if he has any space limitations on the server and if we have this limitation we may need

Re: [api-dev] calling Basic function from C++ component

2005-09-27 Thread Matthias Benkmann
On 9/26/05, Jorge Marques Pelizzoni [EMAIL PROTECTED] wrote: Hi, all! Having the service manager passed to a C++ component on its construction, is it possible to execute a function from a Basic Module (passing parameters and retrieving the result)? I'm working on OOo version 1.1.4. Hi

[api-dev] programatically know which platform

2005-09-30 Thread Jorge Marques Pelizzoni
Hi, all! I am using OOo 1.1.4 and would like to know if the API provides a way to identify which the current platform is (windows, linux_x86, etc.) so I can load the right version of a third-party dynamic library. Thanks in advance. Cheers, Jorge.

[api-dev] Xforms and API

2005-10-03 Thread Laurent Godard
Hi all Following Florian's presentation, i ask myself a question is the XForm api available through UNO ? is it possible to script some formulars for example creating dynamically one and submit it ? thanks in advance Laurent -- Laurent Godard [EMAIL PROTECTED] - Ingénierie OpenOffice.org

Re: [api-dev] replacement of XMessageBox deprecated

2005-10-04 Thread Jürgen Schmidt
Hi Laurent, Laurent Godard wrote: Hi Jurgen Thanks you should look to the example sdk/examples/BasicAndDialogs/CreatingDialogs/SampleDialog.java. The example creates a dialog with the awt interfaces. It'S UNO ;-), it's more or less the same from Python. Probably you can figure out from

Re: [api-dev] replacement of XMessageBox deprecated

2005-10-04 Thread Laurent Godard
Hi jurgen as far as i understand you correct. Yes, the awt toolkit interfaces can be programmed from all supported UNO languages. If you have a special and mor ecmplex dialog in mind, encapsulate it as UNO component and you can use it from all other languages as well. yes that was what i

Re: [api-dev] programatically know which platform

2005-10-04 Thread Jürgen Schmidt
Hi, Jorge Marques Pelizzoni wrote: Hi, all! I am using OOo 1.1.4 and would like to know if the API provides a way to identify which the current platform is (windows, linux_x86, etc.) so I can load the right version of a third-party dynamic library. no, not that i know but you can simply

Re: [api-dev] TextPortion Enumeration not working with redlines

2005-10-07 Thread sos
Aidan, I tryed out your macro and indeed: strange behaviour but I think its comming from the fact that in the document there is just your paragraph with only 2 words delete and instert the document starts with this redline stuff put some extra text or even a new paragrph before the

[api-dev] improving macro for merge mail

2005-10-07 Thread Ippoliti Giuliano
Hello everybody, I'm using a macro to do a mail merge. Basically, it uses the LoadComponentFromURL method to load the main document, it replaces the database fields for each record in a text database, and it uses the storeAsURL method to obtain Doc1.sxw, Doc2.sxw, ..., DocN.sxw. After that,

Re: [api-dev] TextPortion Enumeration not working with redlines

2005-10-07 Thread Aidan Butler
Hi, yes I have noticed that as well. I think that it has something to do with the redline itself, rather than the position of the cursor. That is, if the range that is to be enumerated starts inside the redline, the enumeration does not work correctly. -Aidan sos wrote: Aidan, I tryed out

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

2005-10-07 Thread Ippoliti Giuliano
Thaks for the very interesting hint! Do you do all that inside a macro or do you use external tools (PDF-merger ?). Is there some sample code which uses your technique? Merci, Giuliano On Fri, 07 Oct 2005 15:15:14 +0200 sos [EMAIL PROTECTED] wrote: Ippoliti, Did the same thing but uses

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