[api-dev] LGPL software can be sold?

2009-12-31 Thread Sergio Corato
As in object. (e.g.: I make an LGPL extension available for free: someone ask me a personalization of the extension: I do it for money) Sergio - To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org For additional

Re: [api-dev] LGPL software can be sold?

2009-12-31 Thread Sergio Corato
Simon Brouwer ha scritto: Hi Sergio, In my understanding yes, and even if you did not write the software yourself. See http://www.gnu.org/licenses/gpl-faq.html and in particular http://www.gnu.org/licenses/gpl-faq.html#DoesTheGPLAllowMoney (as LGPL is a derivative of GPL most of this should

[api-dev] Extension with python files in .pyc

2009-12-31 Thread Sergio Corato
I try to substitute my python file.py with compiled file.pyc in my extension, but it doesn't work. Is there something other to do? Sergio - To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org For additional commands, e

[api-dev] Create hash string

2009-12-01 Thread Sergio Corato
, but is there a solution? Or is there a function to create an hash string directly from OOoBasic? Thanks Sergio - To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org For additional commands, e-mail: dev-h...@api.openoffice.org

[api-dev] Problem with MySQL and ResultSet.absolute()

2009-11-11 Thread Sergio Corato
I can't use oResultSet.absolute() with MySQL 5.1.40 and connector ODBC 5.1.6. It give False as result. It works with HSQLDB, or MySQL 5.1.40 with OOo native driver for MySQL. I'm doing something wrong? Thanks Sergio Corato

Re: [api-dev] Need confirmation on non-working Events in Dialogs when Databrowser is opened

2009-11-04 Thread Sergio Corato
is on a record's field. Ciao Sergio - To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org For additional commands, e-mail: dev-h...@api.openoffice.org

Re: [api-dev] Possible bug with MySQL and OOo ResultSet

2009-10-30 Thread Sergio Corato
Alex Thurgood ha scritto: Hi Frank, Sergio, It would appear that the 3.51 ODBC driver only supports dynamic cursors in FORWARD_ONLY and STATIC modes if this page is correct : http://www.verbose.fr/mysql_5.0/mysql-connectors.html 25.1.14.2. Est-ce que MyODBC accepte les curseurs dynamiques

[api-dev] Possible bug with MySQL and OOo ResultSet

2009-10-28 Thread Sergio Corato
I have this code: oStmt = oConn.createStatement() oStmt.setPropertyValue(ResultSetType, com.sun.star.sdbc.ResultSetType.SCROLL_INSENSITIVE) oStmt.setPropertyValue(ResultSetConcurrency, com.sun.star.sdbc.ResultSetConcurrency.READ_ONLY) oRs = oStmt.executeQuery(sql_string) oRs.next c =

[api-dev] ImageIdentifier

2009-10-24 Thread Sergio Corato
I searched how-to use .png images into my extension... but didn't worked. At last, I discovered that the last time I do so, I renamed .png to .bmp, and it works! I don't remember if I find this anywhere, or perhaps it's undocumented? Sergio Corato

[api-dev] Form load problem

2009-10-08 Thread Sergio Corato
Hi all. I'm doing an extension (OOoBasic - Python mixed) and using form of Base. I do this process with a macro: - create a db and register it; - create table in db with sql command; - open a form; - translate field's labels. All works well, but at the end in the form are not visible the data. I

Re: [api-dev] How-to extension with Python NetBeans .jar

2009-06-10 Thread Sergio Corato
Juergen Schmidt ha scritto: Hi Sergio, Thank you very much for your response, Sergio Corato wrote: - can I use more than one language in the same .oxt? yes, in general you can combine all supported languages in one oxt package. Sorry, I haven't specified programming languages, like Python

[api-dev] How-to extension with Python NetBeans .jar

2009-06-09 Thread Sergio Corato
english. Sergio - To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org For additional commands, e-mail: dev-h...@api.openoffice.org

Re: [api-dev] Pause the script for user's input in .odt

2008-07-11 Thread sergio
want to read? How do you know where to put the data? sergio wrote: I have a script in StarBasic that find some data, then open a file and should wait for the user's input (move the cursor to the desired destination of the data), then write the data. I don't have idea on how to do this. I

Re: [api-dev] Pause the script for user's input in .odt

2008-07-11 Thread sergio
sergio ha scritto: Thanks for your answer. I explain better as I can: I open a calc document, I read the first record, where there are the header, then I open a writer document, and I should open a non-modal(?) dialog, where I ask the user: Put the cursor where you want the first header

[api-dev] Pause the script for user's input in .odt

2008-07-09 Thread sergio
I have a script in StarBasic that find some data, then open a file and should wait for the user's input (move the cursor to the desired destination of the data), then write the data. I don't have idea on how to do this. I append the macro. Thanks in advance. Sergio REM * BASIC * Dim