Re: [api-dev] [SOLVED] zip write access throug UCB

2006-11-28 Thread Mikhail Voitenko
Ups, sorry. A small typo, of course it is flush command. Best regards, Mikhail. Mikhail Voitenko wrote: Hi Paolo, The provided by you link points to a solution using Package component. But the writing to a zip file works well using the UCB too. The provided by you UCB-based example looks

Re: [api-dev] check visible state of a control

2006-11-28 Thread Cor Nouws
Hi Frank, Frank Schönheit - Sun Microsystems Germany wrote: That's not possible, AFAIK, except with the (potentially expensive) Accessibility workaround mentioned by Christoph. I'm aware of the greedy nature of the present solution, but in my tests it did work OK. I would like to encourage

Re: [api-dev] check visible state of a control

2006-11-28 Thread Frank Schönheit - Sun Microsystems Germa ny
Hi Cor, I would like to encourage you to submit an issue for this missing API :) I thought about that. But I'm a little afraid that one issue is so isolated, only one fragment, since there probably will be quite some missing methods for various controls... Well, yes, might be. I just

Re: [api-dev] check visible state of a control

2006-11-28 Thread Bernard Marcelly
Bonjour Cor Nouws Message du 2006-11-27 21:27: I use the trick when generating documents from a dialog: For different document types, different txtFields are vissible. Contents of txtFields has to be put in userfields in the document. I use the same names for userfields and txtFields, so use a

[api-dev] soffice.bin still alive after closing the applet

2006-11-28 Thread Alamo Vallejo, Joan
Hi everybody, I managed to put openoffice.org into an applet, but sometimes when I close the applet there's this soffice.bin process still alive. Is it normal? Is there a way to clear the memory, kill it, etc. through the api? joan This e-mail may contain confidential or privileged

Re: [api-dev] Array - max elements number

2006-11-28 Thread Bart Aimar
Christoph Jopp ha scritto: Hi Bart, Hi Cristophe, don't know what you are exactly trying to do, but I assume that yoou would not need an array at all. The LoadDataFromFile function opens a file as input stream an reads line by line into an array. As you wrote that you want to iterate

Re: [api-dev] check visible state of a control

2006-11-28 Thread Berend Cornelius
Cor Nouws wrote: Hi *, I know how to set the visible sate of a control: oControlModel = oDocDlg.GetControl(sName) oControlModel.setVisible (sYesNo) but cannot find a methode (with xRay / API IDL) to check if a control is visible ... Any hints welcome Thanks, Cor One problem I

Re: [api-dev] check visible state of a control

2006-11-28 Thread Frank Schönheit - Sun Microsystems Germa ny
Hi Berend, One problem I ran into regarding setVisible() is that the visibility of an UnoControl is not set persistently when you switch the steps of the dialog. In the following code oControl = oDialog.getControl(TextField1) oControl.setVisible(false)

Re: [api-dev] Array - max elements number

2006-11-28 Thread Bart Aimar
Christoph Jopp ha scritto: Maybe the overflow comes from the rest of your code. I have not still write the rest of the code... :-) May will be a further problem in Overflow... Do you use Calc? Yes... There is a limit of 65536 lines - if you perhaps split your 13+ lines into two

Re: [api-dev] [SOLVED] zip write access throug UCB

2006-11-28 Thread Paolo Mantovani
Hi Mikhail, Kai, Thank you very much for your replies. Sincerely I didn't notice the note about the flush command. My mistake of course, but perhaps the docu could be improved here: The examples on the dev guide are all generic (not about a specific content type), so the flush command is

Re: [api-dev] Array - max elements number

2006-11-28 Thread Laurent Godard
Hi May be that OOo and basic are not the better tools for manipulate a file.txt. it works i have no problem with the following coding did not test the tools - loadfromfile helper Laurent sub createFile open /home/lgodard/bigfile.txt for output as #1 for i = 1 to 13 print #1,

Re: [api-dev] Array - max elements number

2006-11-28 Thread Laurent Godard
Hi did not test the tools - loadfromfile helper i just test and encounter the problem it is due to the defintion of MaxIndex as integer (limited to 65535 then) Function LoadDataFromFile(FilePath as String, DataList()) as Boolean Dim i as Integer ... Dim MaxIndex as Integer changing to Dim

Re: [api-dev] XP Problem with OpenOffice.org eclipse plugin?

2006-11-28 Thread Cedric Bosdonnat
Bonjour Freddy, Freddy Marboeuf a écrit : I have the same problem than Alamo Vallejo, and I'm using the last version of the OOo SDK, which is 2.0.4. Error message is Invalid SDK path and Name field has value 680m3. I didn't found any solution for this problem and won't have time to create a