[api-dev] Bug? - Closing OOo will close multiple documents

2008-12-04 Thread Tobias Krais
Hi together, I have the following strange behaviour: 1. Open a document (e.g. an odt file) via API and then close the document (only the document, not the OOo frame). Thus an empty OOo frame remains (in OOo3 the OOo app chooser is loaded in the frame). 2. Open again a document via API. The documen

[api-dev] cpp component initialize called more than once

2008-12-04 Thread Praveen Reddy
hi, i'm developing an extension using the Addon example ProtocolHandlerAddon_cpp. In the initialize method i added a document event listener. The events i require are fired as explained in the Developers Guide. However each event fires twice (the same event) for only one action. for example "On

[api-dev] Calc with two tables

2008-12-04 Thread Rudolf Huber
Hallo, the following sequence leads to an "indexoutofboundexception". In the beginning I have the opening statements: Dim Desktop As Object Dim Platzhalter() Dim Url As String Dim oTabellenDokument As Object Rem the entire Document Dim oTabellenListe A

Re: [api-dev] Bug? - Closing OOo will close multiple documents

2008-12-04 Thread Mikhail Voitenko
Hi Tobias, Which target do you use while opening the second document? If it is "_blank" then the behavior during second document opening is correct. The target means that a new window should be opened for the document. The termination of the document window after closing of the backing compo

Re: [api-dev] Bug? - Closing OOo will close multiple documents

2008-12-04 Thread Tobias Krais
Hi Mikhail, > Which target do you use while opening the second document? > If it is "_blank" then the behavior during second document opening is > correct. The target means that a new window should be opened for the > document. I use "_blank" - otherwise it would not open in a seperate frame. The

Re: [api-dev] Calc with two tables

2008-12-04 Thread Andrew Douglas Pitonyak
Rudolf Huber wrote: Hallo, the following sequence leads to an "indexoutofboundexception". In the beginning I have the opening statements: Dim Desktop As Object Dim Platzhalter() Dim Url As String Dim oTabellenDokument As Object Rem the entire Document

[api-dev] How to chenge column formats in DatsourceBrowser

2008-12-04 Thread Fernand Vanrie
I hope Frank is still there :-) I Try to change the column format in a Data Source Browser I used following code with no suces, the Formatkey off the column properties is changed but no visual changes oModel = oDataSourcebrowser.com_sun_star_awt_XTabController_getModel oMOdel.columns.ge

Re: [api-dev] Calc with two tables

2008-12-04 Thread Rudolf Huber
Hallo Andrew, thanks for the prompt answer. Instead of Tabelle31 = oTabellenListe.getByIndex(1) I coded Print oTabellenListe.getCount() Print oTabellenDokument.getSheets().getCount()

[api-dev] Printing a form without displaying it, and using a Form as a modular subcomponent

2008-12-04 Thread Ted
Hi folks, I'm developing an app using Base with Basic macros. I've got a form that displays a customized label for each of a number of retail items. The layout code is all done with macros, by copying the data from the form's query into labels. I used labels rather than the supplied data-bound

Re: [api-dev] Netbeans OOo Plugin 2.0: How to add custom files for an option dialog to an add-on project?

2008-12-04 Thread Benjamin Vollmer
Hello, I still have problems with the option handling in the extension context. The answers from the mailinglist were helpful, but I need more informations. The paths and identifiers are now correct. Unsolved questions: - Why does my .xdl-dialog not appear in the options dialog? I tried to d

Re: [api-dev] Netbeans OOo Plugin 2.0: How to add custom files for an option dialog to an add-on project?

2008-12-04 Thread Ariel Constenla-Haile
Hello Benjamin, Benjamin Vollmer escribió: > Hello, > > I still have problems with the option handling in the extension context. > The answers from the mailinglist were helpful, but I need more > informations. The paths and identifiers are now correct. > > Unsolved questions: > - Why does my .xd