Re: [api-dev] xcu documentation or examples

2005-01-19 Thread Cor Nouws
Paolo Mantovani wrote: Hi Ian, Cor, Alle 08:09, mercoledì 19 gennaio 2005, Cor Nouws ha scritto: [...] If you like to learn from examples see how I did it: [...] Thanks a lot - Cor - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: [api-dev] Re: Does OOoBean.setToolBarVisible() not work?

2005-01-19 Thread Mathias Bauer
Tobias Müller wrote: Hi, calling setToolBarVisible(true) on an OOoBean object does not show the toolbar, as I would expect it. Calling setToolBarVisible(false) before has no effect either. which bean and which office version? Sorry. OpenOffice 1.9.69 and the OOoBean shipped with it.

Re: [api-dev] Re: OOoBean

2005-01-20 Thread Simon Mieth
On Wed, 19 Jan 2005 20:40:32 +0100 Jochen Staerk [EMAIL PROTECTED] wrote: Hi, I always thought that adding the class path to your manifest would be sufficient and has the same effect than using the cp-commandline switch but I could be completely mistaken. I thought a MANIFEST like

[api-dev] Re: OOoBean

2005-01-20 Thread Jochen Staerk
Hi Simon, and thanks for your answer and the classloader-sample-code, normally if you have the oo-jars (all from oo-home/program/classes) in your classpath (manifest or CLASSPATH or with the -cp switch) the libraries are found. There is a helüper-class, which load the If you want to deploy your

Re: [api-dev] Re: OOoBean

2005-01-20 Thread Michael Hoennig
Hi Simon, I mean the order can changed by newer releases. The officebean.dll depends on MSVCR70, UWINAPI, sal3, jpipe (this is the order to load it). But this can be changed with OO2.0 or 1.1.x. I have not looked at OO2.0 and I don't know if the new OfficeBean will handle this self, Yes,

[api-dev] AGAIN: auto grammar checking

2005-01-20 Thread Jorge Marques Pelizzoni
Following Michael Hoenig's advice (unanswered questions), here I am again. AIM: check the current API's support for prototyping a grammar-checker API externally, i.e. without messing with OOo's source. MY QUESTIONS TO API DEVELOPERS REGARDING THE CURRENT API'S CURRENT FEATURES (not necessary

[api-dev] Collaborative macro development and an expt with a Find Files macro

2005-01-20 Thread Ian Laurenson
I have been blathering on for some time about the need for an environment that facilitates collaborative development of OOo macros. I have decided (being rather stupid I needed others to recommend this) to try using Issue Tracker. As an experiment I have cobbled together a macro for finding OOo

Re: [api-dev] OOo Basic Specification

2005-01-21 Thread Stephan Wunderlich
Hi Curtis, Is there a complete specification for the OOo Basic language? For OOo Basic you can just press F1 when you are in the Basic-IDE. For the OOo-API take a look at http://api.openoffice.org/ where you will find the idl-reference:

[api-dev] Re: OOo Basic Specification

2005-01-21 Thread Curtis Clauson
Stephan Wunderlich wrote: Hi Curtis, Is there a complete specification for the OOo Basic language? For OOo Basic you can just press F1 when you are in the Basic-IDE. For the OOo-API take a look at http://api.openoffice.org/ where you will find the idl-reference:

Re: [api-dev] Re: OOo Basic Specification

2005-01-21 Thread Jürgen Schmidt
Hi Curtis, no, there is no specification available. Only the existing online help and the docu in the DevGuide. When you find bugs in both kind of documentation, you can easy help us by submitting an issue for the problem. The Community will owe it to you Juergen Curtis Clauson wrote: Stephan

Re: [api-dev] Re: OOo Basic Specification

2005-01-21 Thread Andrew Douglas Pitonyak
Curtis Clauson wrote: Jürgen Schmidt wrote: Hi Curtis, no, there is no specification available. Only the existing online help and the docu in the DevGuide. When you find bugs in both kind of documentation, you can easy help us by submitting an issue for the problem. The Community will owe it

Re: [api-dev] Embedding OOo into a VB application

2005-01-24 Thread Joachim Lingner
Hi, 1) ActiveX By using OOo ActiveX component (so_activex.dll) it seems possible to embed OOo. The problem is that very few methods and properties are exposed and there is a lack of documentation about API on how interact with the component. There is no type library and the

[api-dev] Enumerate selected lines in the DataBasebrowser

2005-01-24 Thread sos
Need some help (basic coded) to have acces to the different lines when this lines are manualy selected in the DataSourcebrowser. So: A user makes a multiple selection in the datasoursebrowser and then via a macro he need to passes the data, line per line, into textfields and saving the Writer

Re: [api-dev] Embedding OOo into a VB application

2005-01-24 Thread Michael Hoennig
Hi Davide 3) Javabean as ActiveX control We managed to create a JavaBean containing an ActiveX and to register it as DLL (BasicOfficeBean.dll) which is possible, at design type, to integrate into a form. When the program is executed, the ActiveX control is created correctly, but during

Re: [api-dev] Enumerate selected DataSourceBrowser lines

2005-01-25 Thread Frank Schönheit
Hello Fernand, Need some information in basic code to get acces to multi selected lines in the DataSourceBrowser. out of my head, completely untested, and written in some pidgin basic: oDataSourceBrowser ' the component in the small ' data source

Re: [api-dev] Enumerate selected DataSourceBrowser lines

2005-01-26 Thread sos
Hello Frank, Even your pidgin basic is more valuable than my compleet knowledge of this stuff, but i think i can do it working in the way you setout for me, i can already opening a Datasourcebrowser and filing it with data out of a datasource (your oDataSourceBrowser) but how can i get acces

[api-dev] Open dialog before printing of a document

2005-01-27 Thread Andreas Broeker
Hello, is it possible to open a dialog when the user calls the print function within the UI of OpenOffice.org - do something in the dialog and then go on to the normal print dialog. Thanks for any help in Java or StarBasic. Regards Andreas

Re: [api-dev] building examples on Win

2005-01-28 Thread Jürgen Schmidt
Hi Jorge, the SDK with it's oww simple build env based on gnu make doesn't work with the cygwin tools. Follow the install instructions in sdk/docs/install.html and everything should work fine. In install.html you find a link where you can donwload a gnu make binary for windows. Juergen Jorge

[api-dev] TextCursor at ViewCursor

2005-01-29 Thread Marc Santhoff
Hi! Since some people are discussing BASIC issues, I'd like to ask somthing, too: In a text document, how can i get a XTextCursor at the current position of the ViewCursor? The only way I found until now is to mark from the ViewCursor to the start of the doc, get the selected text and from that

[api-dev] Re: [users] Creating documents programmatically using UNO and MSVC

2005-01-29 Thread G. Roderick Singleton
On Sat, 2005-01-29 at 17:26 +0100, Antonio Leonforte wrote: Hi all, this is my first post on this list. I have searched for a while for the info I need, but I could find nothing helpful. Please let me know it this is not the appropriate list to post to. I would make clear first that I

Re: [api-dev] TextCursor at ViewCursor

2005-01-29 Thread Marc Santhoff
Am Sa, den 29.01.2005 schrieb Darragh Sherwin um 18:15: Marc, Hi Darragh, Marc Santhoff wrote: In a text document, how can i get a XTextCursor at the current position of the ViewCursor? viewCursor = document.getCurrentController().getViewCursor() textCursor =

Re: [api-dev] TextCursor at ViewCursor

2005-01-29 Thread Laurent Godard
Hi, In a text document, how can i get a XTextCursor at the current position of the ViewCursor? viewCursor = document.getCurrentController().getViewCursor() textCursor = document.Text.createTextCursor() //TextCursors include the TextRange service viewCursorRange = viewCursor.getEnd()

[api-dev] Looking for demo MSVC++ projects controlling OpenOffice in order to programmatically create MSWord-compatible documents

2005-01-29 Thread Antonio Leonforte
Hi all, this is my first post on this list (I actually have been redirected to this list after having posted to a more general one). I would like to use OpenOffice to create .doc documents programmatically by invoking UNO API from a C++ application. My dev environment is Win2K,

Re: [api-dev] Python in 1.9.74

2005-01-29 Thread Andrew Douglas Pitonyak
Ian Laurenson wrote: I have put together a uno package that contains a Python component. The component uses the os module. The package installs and runs fine 1.1.4. In 1.9.74 (for Linux - Mandrake 10.1) I get the following error message when installing the package via: Tools Package Manager...

[api-dev] How to create a database in OOo 2.0?

2005-01-29 Thread Andrew Douglas Pitonyak
I am so close, I can smell it, but it does not work. Any comments on the steps that I am missing... I think that I need to set default keys and that sort of thing... The following macro tries to create a databsae document... Sub NewDB Dim sDBUrl As String 'URL of a New Database document.

Re: [api-dev] Enumerate selected DataSourceBrowser lines

2005-01-31 Thread Marc Santhoff
Am Mo, den 31.01.2005 schrieb sos um 12:37: ' For ii=LBound(oSelection) To UBound(oSelection) 'Print oSelection(ii) ' Next oDataSourceBrowser.getModel(oModel) You can try here like this (untested): oModel = oDataSourceBrowser.getModel() no, tryed it first like

[api-dev] Creating a resizeable dialog.

2005-02-02 Thread Curtis Clauson
How do you create a resizeable OOo Basic dialog? There is no setting for this in the IDE form editor. I've tried setting the Sizeable property of the dialog Model to True before execution, but it has no effect. -- The Snake Pit -

[api-dev] insert a bunch of paragraphs into main text via API

2005-02-03 Thread Marc Santhoff
Hi, I'm stuck with text portions again: The task is to insert a TextRange consisting of one or more paragraphs with complex char and paragraph formatting into a given text. How is this expected to be done? I read any type of docs, but found no direct method of doing so. I can insert a string

Re: [api-dev] starting the OOo-help without API

2005-02-03 Thread Christian Junker
Hi Arne, I have found several UNO dispatches that probably can invoke displaying the OpenOffice Help, possibly also specific help components (writer, calc ...). How these dispatches are launched is explained in the Developer's Guide. In short: You simply use the DispatchHelper service and invoke

Re: [api-dev] storing textrange to a stream

2005-02-04 Thread Christian Junker
Hi Marc, the xmlcontent is what it says it is :). It's simply a string automatically put together in another function that builds up a simple xml structure. But as you're dealing with objectoutput and not textoutput you wouldn't write strings into your file but dump actual OpenOffice objects

Re: [api-dev] insert a bunch of paragraphs into main text via API

2005-02-04 Thread Marc Santhoff
Am Fr, den 04.02.2005 schrieb Andrew Douglas Pitonyak um 04:18: Marc Santhoff wrote: Hi, I'm stuck with text portions again: The task is to insert a TextRange consisting of one or more paragraphs with complex char and paragraph formatting into a given text. How is this expected to be

[api-dev] Re: Creating a resizeable dialog.

2005-02-04 Thread Curtis Clauson
Curtis Clauson wrote: How do you create a resizeable OOo Basic dialog? There is no setting for this in the IDE form editor. I've tried setting the Sizeable property of the dialog Model to True before execution, but it has no effect. Still no progress on this. Even if you create the UNO dialog by

[api-dev] Exception, removeJob - unexpected:java.lang.InterruptedException

2005-02-08 Thread Bob Crothers
Title: Exception, removeJob - unexpected:java.lang.InterruptedException Hi, I have Java code that looks like: nxOfficeWriterOutputStream out = new nxOfficeWriterOutputStream(); PropertyValue[] propertyValue = new PropertyValue[1]; propertyValue[0] = new PropertyValue();

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

2005-02-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] How to open a database form

2005-02-15 Thread Ian Laurenson
On Wed, 2005-02-16 at 14:28, Ian Laurenson wrote: On 2005-02-12, Frank Schönheit - Sun Microsystems, Inc. wrote: Andrew Pitonyak wrote: How can I load a Base document, com.sun.star.sdb.DatabaseContext.loadComponentFromURL( ... ) [remainder snipped] My apologies for being thick but I

Re: [api-dev] How to open a database form

2005-02-15 Thread Frank Schönheit - Sun Microsystems, Inc.
Hi Ian, Also, is there any way of having basic code be part of the .odb file? No, unfortunately there isn't, and won't be for 2.0. OOo internally features two application frameworks, an old one and a new (UNO-based) one. For new applications (like Base), the latter is recommended, but

[api-dev] MailMerge = CommandType.COMMAND

2005-02-16 Thread Tom Schindl
Hi, does anybody now how the fields in a writer-doc have to be named when using the code todo an automatic mail-merge? ---8--- Object dbContext = xMSF.createInstance(com.sun.star.sdb.DatabaseContext); XNameAccess nameAccess =

[api-dev] draw_html_export

2005-02-16 Thread A . Portale
Return Receipt Your [api-dev] draw_html_export document:

Re: [api-dev] How to open a database form

2005-02-16 Thread Mathias Röllig
Hi Frank, Am 16.02.2005 13:53 schrieb Frank Schönheit - Sun Microsystems, Inc.: Is there a way to link writer documents (form document) to a database? I can't see it ... No, the Links (or Verknüpfungen in your version) are not available anymore. The idea is that you now store your text

Re: [api-dev] draw_html_export

2005-02-17 Thread Svante Schubert
Hi Jaime, instead of using macros, you even might integrate your mappings of OOo XML to HTML into the exisiting XHTML export filter. This filter is used for every application type and might get greatly enhanced for Draw documents. To receive the latest version, install

Re: [api-dev] Insert Formula in a swriter document

2005-02-21 Thread Didier Dorange-Pattoret
Hello , Mathias Bauer a écrit : Didier Dorange-Pattoret wrote: Hello Sub Main obj=ThisComponent.CreateInstance(com.sun.star.text.TextEmbeddedObject) obj.CLSID=078B7ABA-54FC-457F-8551-6147e776a997 obj.AnchorType = com.sun.star.text.TextContentAnchorType.AS_CHARACTER CurseurVisible =

Re: [api-dev] codesnippets homepage

2005-02-22 Thread Tom Schindl
Tom Schindl wrote: Hi, Sometime ago (app 6 months) I have been ask to present how the codesnippets-service page is working. I have given a talk about it at 7th German Perlworkshop. Here are the slides I used. Oh the URI: http://www.bestsolution.at/support/lectures/perl-lectures.html.en The

[api-dev] pkgchk

2005-02-22 Thread Ines Pfauch
I have some questions about the OOo's commandline tool for deploying an addon to OOo: Is there somewhere a manual where I can find the possible parameters which I can use with pkgchk? In the forum and the Developers Guide I only have found informations like copy zip file to

[api-dev] problem with jar file

2005-02-23 Thread Ines Pfauch
Hi, At first I am sorry, because I think my problem does not belong very good to this mailing list. For the last 20 weeks I was creating an java add-on for OOo. Now three days are left and my installer does not what it should. Therefore I hope, someone can help me: I have created a

Re: [api-dev] problem with jar file

2005-02-23 Thread Ines Pfauch
On 23.02.2005, at 13:24, Simon Mieth wrote: Hi Ines, Hi Simon, if I understand you correct and you want to copy the embeded zip-file. Yes, thats exactly what I want. (code) Thank your for your fast answer. And: THANK YOU so much for the code. With some simple changes it did exactly what I want.

[api-dev] [reminder]TextTable and row duplication

2005-02-23 Thread Laurent Godard
Hi all in case of someone has an idea, i remind the question any hint or way to look at would be usefull feel free to ask if i'm not clear enough Thanks in advance Laurent '- Hi all i have to duplicate rows of a TextTable in WRITER (OOo 1.1.4 - pyUNO) I found 2 ways to achieve this :

Re: [api-dev] [reminder]TextTable and row duplication

2005-02-23 Thread Michael Hoennig
Hi Laurent, i have to duplicate rows of a TextTable in WRITER (OOo 1.1.4 - pyUNO) I found 2 ways to achieve this : - use dispatch and UNO slots to copy/paste - loop over each textPortion of each cell to build the new content The second is quite time consumming to develop and IMHO too

Re: [api-dev] XTextComponent: setSelection

2005-02-24 Thread Achim Derigs
On Fri, Feb 18, 2005 at 12:10:39PM +0100, Achim Derigs wrote: Hi, I am working with the XTextComponent at the moment. The method `setSelection' selects some text, but the not selected text is displayed in white color. I've to change the default background color to see the not selected text:

[api-dev] small problem with starbasic in OOo 1.1.x

2005-02-24 Thread Christian Andersson
Hi there, I have a small problem with Starbasic in OOo that I wonder if there is any sollution to, or perheps a workaround for, I'm not sure this is a bug at all... anyway, I have a small starbasic script that will save the document locally and after that do some small updates to the document

Re: [api-dev] small problem with starbasic in OOo 1.1.x

2005-02-24 Thread Laurent Godard
Hi christian, Is there some way that I can (in script or config) tell OOo to not close the document before the script has finished i see 2 ways : - declaring a listener on the document closing event. Don't sure it suites totally your nee - lock OOo until your script has finished

Re: [api-dev] small problem with starbasic in OOo 1.1.x

2005-02-24 Thread Christian Junker
I can only agree with Laurent, the second way by locking the controllers would be the best option, I think. That way you can be very sure that your macro gets executed from beginning to end without any disturbance. Best Regards Christian Junker Laurent Godard wrote: Hi christian, Is there some

Re: [api-dev] small problem with starbasic in OOo 1.1.x

2005-02-24 Thread Peter Eberlein
Hi Laurent, hi Christian, Laurent Godard schrieb: Hi, I can only agree with Laurent, the second way by locking the controllers would be the best option, I think. That way you can be very sure that your macro gets executed from beginning to end without any disturbance. for me this does not work

Re: [api-dev] Format for information file about templates and addons

2005-02-25 Thread Ian Laurenson
On Fri, 2005-02-25 at 20:32, Tom Schindl wrote: [snip] Couldn't we learn from projects like eclipse? They have an XML-Format specified to download their plugins. An example can be found here: * http://e-p-i-c.sourceforge.net/updates/ * http://www.eclipse.org/uml2/ (See page-source) We

Re: [api-dev] Format for information file about templates and addons

2005-02-25 Thread Paolo Mantovani
Hi Ian, Alle 06:42, venerdì 25 febbraio 2005, Ian Laurenson ha scritto: I am trying to write a routine to make it easier for people to find and install templates and add-ons. The wizard that I am trying to implement follows these steps: 1. At the click of a button user downloads a file with

Re: [api-dev] small problem with starbasic in OOo 1.1.x

2005-02-25 Thread Christian Junker
Hi Peter, should have tested this (again it shows that you should always test something before you give advice). I thought again about your problem and if your script does not run all the time but only sometimes I would propose the following to you: Either you create a dialog, or which is little

Re: [api-dev] Macros for all users

2005-02-25 Thread Didier Dorange-Pattoret
Hello, Michael, it seems you do'nt understand me. If I am root, I have the acces right. But for my knowledge the method CreateLinkLibrary creates a library only for the root account. I would like that the su root creates a library avalaible for all the users. Is it possible, without using

Re: [api-dev] small problem with starbasic in OOo 1.1.x

2005-02-25 Thread Peter Eberlein
Christian Junker schrieb: and I forgot: Once the macro has finsihed you call endExecute() on the dialog and it should return to the document again. Christian, when the dialog is executed and shown on the screen, the macro stops (sleeps) at this point until the user triggers any event (pushs a

Re: [api-dev] Macros for all users

2005-02-25 Thread Michael Hoennig
Hi Didier, Michael, it seems you do'nt understand me. If I am root, I have the acces right. But for my knowledge the method CreateLinkLibrary creates a library only for the root account. I understood you well, but I was only reasoning. As far as I know there is no way to do this by using

Re: [api-dev] small problem with starbasic in OOo 1.1.x

2005-02-25 Thread Christian Junker
Hi Peter, please read on! What can be done is to assign the macro to the receiving focus event, this event gets fired when the macro is started, so it is fired right at the beginning. Build the dialog in the Basic IDE, do define the property enabled as Yes. Thus code structure should look like

Re: [api-dev] small problem with starbasic in OOo 1.1.x

2005-02-27 Thread Peter Eberlein
Christian Junker schrieb: Hi Peter, - dialog pops up and receiving focus event is fired, the assigned function is called That's it, thank you (shame on me). All the other things were clear. Peter - To unsubscribe, e-mail: [EMAIL

Re: [api-dev] small problem with starbasic in OOo 1.1.x

2005-02-28 Thread Christian Andersson
Thank you Christian And Peter, I will look into this now that you have shown me a sollution, and actually I do have an dialog already opened (what my system does is that it saves the document locally first, then takes the file on the disc and transfer it to a remote location using soap with

[api-dev] problem with external jar and java add-on - PS

2005-02-28 Thread Ines Pfauch
PS. When executing the program extern from OOo this error does not occur. Today I changed something in the addons.xcu file, but this should not be the problem, because older versions of my addon still make this strange error when executing within OOo. Does someone have an idea?

[api-dev] oo macros and concurrency

2005-02-28 Thread John Sisson
Hello We have a Java gui client that manages a pool of oo documents (xp + oo.1.1..3) and executes oo-Basic macros on them via a UNO XDispatch interface. We also have Java robotic processes that need to do the same. While we can serialize attempts to execute macros in a single client (or robotic)

Re: [api-dev] CodeSnippet changes regarding OO2.0

2005-03-01 Thread Tom Schindl
Paolo Mantovani wrote: Hi Tom, Alle 12:24, lunedì 28 febbraio 2005, Tom Schindl ha scritto: Hi, I have now added things when there's a new version of OO released. I simply added the possibility to add the supported OO-Version(we have discussed this sometime ago) to the Snippet. An example can be

Re: [api-dev] oo macros and concurrency

2005-03-01 Thread Jürgen Schmidt
Hi, John Sisson wrote: Hello We have a Java gui client that manages a pool of oo documents (xp + oo.1.1..3) and executes oo-Basic macros on them via a UNO XDispatch interface. We also have Java robotic processes that need to do the same. While we can serialize attempts to execute macros in a

Re: [api-dev] oo macros and concurrency

2005-03-01 Thread Kai Sommerfeld
Hi, it is a known fact that OOo has several multithreading problems. Most of them reveal when using OOo API via remote UNO. Every single multithreading problem can be considered a bug, but fixing all of them is a rather complex task (due to the size and complexity of OOo code). However, we're

Re: [api-dev] Format for information file about templates and addons

2005-03-01 Thread Jürgen Schmidt
Hi, I'd like the idea as well and i will try to share some facts and thoughts here. 1. OO.org 2.0 comes with a smart integrated package manager (UI and command line support) which supports installation as well as removing of new UNO packages (real components as well as Basic or script

Re: [api-dev] Macros for all users

2005-03-01 Thread Jürgen Schmidt
Hi Didier, i would suggest to use an UNO package for deploying a new library into your office installation. Unopkg (oo.o2.0, pkgchk for older versions) offers all the necessary features to delpoy such a library safely into the shared section of an office installation so that it can be used by

Re: [api-dev] Format for information file about templates and addons

2005-03-01 Thread Ian Laurenson
Hi Jürgen, Reply in-line. On Tue, 2005-03-01 at 20:42, Jürgen Schmidt wrote: Hi, I'd like the idea as well and i will try to share some facts and thoughts here. 1. OO.org 2.0 comes with a smart integrated package manager (UI and command line support) which supports installation as well

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

2005-03-01 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] Format for information file about templates and addons

2005-03-01 Thread Tom Schindl
Ian Laurenson wrote: Hi Jürgen, Also on that first step is the possibility to download rating / review information. The second step allows the user to see and select updates for add-ons and templates that they already have installed. For add-ons I think that this could be done by checking the

Re: [api-dev] Format for information file about templates and addons

2005-03-02 Thread Ian Laurenson
Hi Tom, Thanks for the feedback and I agree with you! On Wed, 2005-03-02 at 20:08, Tom Schindl wrote: [snip] At the moment from my point of view (and I'm a software developer) the install dialog is too complex and overloaded. As you can tell I am not a good GUI-Designer! I think that having

Re: [api-dev] Format for information file about templates and addons

2005-03-02 Thread Ian Laurenson
Hi Jürgen, Replies in-line. On Wed, 2005-03-02 at 22:29, Jürgen Schmidt wrote: Hi Ian, Ian Laurenson wrote: Hi Jürgen, Reply in-line. On Tue, 2005-03-01 at 20:42, Jürgen Schmidt wrote: Hi, I'd like the idea as well and i will try to share some facts and thoughts here. 1.

Re: [api-dev] Format for information file about templates and addons

2005-03-03 Thread Jürgen Schmidt
Hi Ian, Ian Laurenson wrote: Hi Jürgen, Replies in-line. On Wed, 2005-03-02 at 22:29, Jürgen Schmidt wrote: Hi Ian, Ian Laurenson wrote: Hi Jürgen, Reply in-line. On Tue, 2005-03-01 at 20:42, Jürgen Schmidt wrote: Hi, I'd like the idea as well and i will try to share some facts and thoughts

Re: [api-dev] CDbl function

2005-03-03 Thread Laurent Godard
Hi again cDbl(0.30) --- 0,02 cDbl(0,30) --- 0 0,02 !! where does it come from ? using comma as decimal seprator opn my laptop (be_FR locale, using fr OOo 1.1.4 under debian) print cdbl(0.30) -- 0,3 'print cdbl(0,30) -- error 'print cdbl(0.30) -- error print cdbl(0,30) -- O don't know if it

Re: [api-dev] OpenOffice.org Extensions - was Format for information file about templates and addons

2005-03-03 Thread Ian Laurenson
On Thu, 2005-03-03 at 21:49, Jürgen Schmidt wrote: [snip] Sure, the new SDK provides makefiles for creating UNO packages (both component packages and script/library packages). I also have the first running ant scripts and ideally would be an integrated wizard in NetBeans and/or Eclipse. So

Re: [api-dev] CDbl function

2005-03-04 Thread Sevastian `seva` Foglia
Davide Dozza wrote: Bernard Marcelly wrote: Le 2005-03-03 20:04, Alexej Kryukov a écrit : On Thursday 03 March 2005 20:40, Sevastian `seva` Foglia wrote: Sub Main Dim sVal as String sVal = 0,30 print CDbl(sVal) End Sub I correctly display 0,3 on my OOo 1.1.3 french, Windows XP french

Re: [api-dev] Menu control

2005-03-04 Thread Mathias Bauer
Christian Junker wrote: I remember some time ago, that it had been discussed that OOo 2.0 will provide functional interfaces that haven't been functional yet in any way (XMenu, XMenuListener) and probably add some more interfaces that make menus accessible via API. We don't use XMenu

Re: [api-dev] Code snippets ....

2005-03-04 Thread Max Gilead
You can safely treat Duo project (http://sourceforge.net/projects/duo-wrapper) as an integreated collection of code snippets. It's working code, tested in actual use which solves a number of problems we encountered when working with OO.org. Hm, right, I should make a new file release :-)

Re: [api-dev] Code snippets ....

2005-03-04 Thread Christian Junker
Absolutely Jürgen, as you know there are others that don't have much time, as well :(. I also have the strong feeling of wanting to have one place where useful macros, that are asked a whole lot on oooforum.org periodically, are listed. Right now it seems like pieces can be found here and there,

Re: [api-dev] OpenOffice.org Extensions - was Format for information file about templates and addons

2005-03-04 Thread Christian Junker
How about updating the StarOffice 7 Programmer's Guide. I think this is the no.1 tutorial on Starbasic/OpenOffice Basic and could get an update, I think. By update I mean not just possible corrections but also extending the guide with a few more examples. Best Regards Christian Junker Jürgen

Re: [api-dev] CDbl function

2005-03-04 Thread Christian Junker
The one distributed with Fedora heidelberg. I have not set the LANG environment variable however, so I guess it only happens then (I set the locale under ToolsOptionsLanguage Settings). Best Regards Christian Junker Davide Dozza wrote: Christian Junker wrote: Hi Sevastian, I tested your piece of

[api-dev] preventing users from accessing copy/cut/paste

2005-03-04 Thread Christian Andersson
hi there I have a small problem that I would like to get some help with... I have been asked to see if there is some way to prevent users from using the copy/cut/paste functionallity in openoffice (in the menu and the shortcut.) the reason for this is that the users are students in a class and

Re: [api-dev] Updating StarOffice 7 Programmer's Guide was OpenOffice.org Extensions - was Format for information file about templates and addons

2005-03-06 Thread Ian Laurenson
Maybe I can help update the StarOffice 7 Programmer's Guide. To do this I would like to use OOoAuthors, so that the update is a team effort and was being peer reviewed. I am presenting a number of papers at the LCA 2005 OpenOffice.org Miniconf so this work could form the basis of those papers -

Re: [api-dev] OpenOffice.org Extensions - was Format for information file about templates and addons

2005-03-06 Thread Ian Laurenson
On Fri, 2005-03-04 at 21:58, Jürgen Schmidt wrote: Ian Laurenson wrote: On Thu, 2005-03-03 at 21:49, Jürgen Schmidt wrote: [snip] Sure, the new SDK provides makefiles for creating UNO packages (both component packages and script/library packages). I also have the first running ant

Re: [api-dev] OpenOffice.org Extensions - was Format for information file about templates and addons

2005-03-07 Thread Jürgen Schmidt
Ian Laurenson wrote: On Fri, 2005-03-04 at 21:58, Jürgen Schmidt wrote: Ian Laurenson wrote: On Thu, 2005-03-03 at 21:49, Jürgen Schmidt wrote: [snip] Sure, the new SDK provides makefiles for creating UNO packages (both component packages and script/library packages). I also have the first

Re: [api-dev] SDB query

2005-03-07 Thread Stephan Wunderlich
Hi Indukamar, I am new to the OOo UNO APIs. I was trying to connect to the SDB from OOo using Java. But I could not find the com.sun.star.sdb.RowSet class in any JARs supplied with the standard installation of OOo. Can anyone please point me to the place where I can find it? I downloaded the SDK,

Re: [api-dev] SDB query

2005-03-07 Thread Michael Hoennig
Hi Menon, I am new to the OOo UNO APIs. I was trying to connect to the SDB from OOo using Java. But I could not find the com.sun.star.sdb.RowSet class in any JARs supplied RowSet is not a Java class, it is an UNO service. You should read at least the first chapter of the Developers Guide to

Re: [api-dev] preventing users from accessing copy/cut/paste

2005-03-07 Thread Michael Hoennig
Hi Paolo, I read some time ago that it was possible to configure OOo using some sort of slot files but since I cannot search the openoffice website I turn to you... Is anything of the above possible? I also read this: check the StarOffice 7 Office Suite Administration Guide

Re: [api-dev] Number of line of a paragraph

2005-03-07 Thread Stephan Wunderlich
Hi Laurent, using macros (but any language welcomed) I retreive a paragraph containing text. Is there a way to know how many lines it represents displayed in the document ? (so, depending on the formats, font, font size aso) I know i can count characters with num = Len(myParagraph.string) but

Re: [api-dev] Number of line of a paragraph

2005-03-07 Thread Stephan Wunderlich
Hi Laurent, The trick with a view cursor will work I didn't try this as i was searching for Non-view methods No View no lines I'd say :-) The XTextRange doesn't know in how many lines it will be displayed and so can't tell you how many lines it contains. Nevertheless, i'll save the current

Re: [api-dev] Number of line of a paragraph

2005-03-07 Thread Laurent Godard
Hi No View no lines I'd say :-) The XTextRange doesn't know in how many lines it will be displayed and so can't tell you how many lines it contains. humm, not so sure it is an intermediate information between the XTextRange and the effective displayed text Nevertheless, i'll save the current

[api-dev] OOoBean project

2005-03-07 Thread Michael Hoennig
Dear OOo SDK/API and especially Office bean users, The new and first official OOoBean was integrated into a OOo 2 prerelease some months ago. Now I have closed the project website: http://api.openoffice.org/Projects/OOoBean/index.html The source code can be found in the api/bean project, the

Re: [api-dev] CDbl function

2005-03-07 Thread Andrew Douglas Pitonyak
Sevastian `seva` Foglia wrote: I found where problem is: environment variable LANG on linux. If LANG is [EMAIL PROTECTED] this macro Sub Main Dim sVal as String sVal = 0,30 print CDbl(sVal) End Sub return 0 If LANG is not set macro return correct value 0,3 Perhaps you should add this

Re: [api-dev] OpenOffice.org Extensions - was Format for information file about templates and addons

2005-03-07 Thread Paolo Mantovani
Alle 09:35, lunedì 7 marzo 2005, Jürgen Schmidt ha scritto: Ian Laurenson wrote: On Fri, 2005-03-04 at 21:58, Jürgen Schmidt wrote: Ian Laurenson wrote: On Thu, 2005-03-03 at 21:49, Jürgen Schmidt wrote: [snip] Sure, the new SDK provides makefiles for creating UNO packages (both

Re: [api-dev] OpenOffice.org Extensions - was Format for information file about templates and addons

2005-03-08 Thread Jürgen Schmidt
Paolo Mantovani wrote: Alle 09:35, lunedì 7 marzo 2005, Jürgen Schmidt ha scritto: Ian Laurenson wrote: On Fri, 2005-03-04 at 21:58, Jürgen Schmidt wrote: Ian Laurenson wrote: On Thu, 2005-03-03 at 21:49, Jürgen Schmidt wrote: [snip] Sure, the new SDK provides makefiles for creating UNO packages

Re: [api-dev] OpenOffice.org Extensions - was Format for information file about templates and addons

2005-03-08 Thread Christian Junker
Hi Ian, I am not a friend of licenses and I am not good at policies and stuff, but I think that the Programmer's Guide cannot be edited by you, because it is published under the Sun Microsystems flag. That means that you probably need to make an agreement with Sun first. Am I correct with this,

Re: [api-dev] Menu control

2005-03-08 Thread Christian Junker
Hi Matthias, I do ask myself, why those interfaces are deprecated. Why not removing them completely? a) from source code (I searched with ximian lxr and there was no single implementation I found about XMenu) b) from documentation (IDL Reference) -- Best Regards Christian Junker On Fri, 04 Mar

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

2005-03-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] CDbl function

2005-03-09 Thread Andreas Bregas
Hi Andrew and all, hopefully this thread brings some light into this mysterious problem. I will have another look on this issue the next days. Sevastian `seva` Foglia wrote: ... Perhaps you should add this to the issue so that they can reproduce the problem... I've just done this. Regards

  1   2   3   4   5   6   7   8   9   10   >