Re: [Lazarus] New Excel Interface Component

2008-11-09 Thread Luiz Americo Pereira Camara
Thierry Coq escreveu: > Link should be fixed now. It's working now. Thanks Luiz ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] New Excel Interface Component

2008-11-09 Thread Henrique Faria
Héctor. Actually, i just tested the test bin and it opened excel, so i realized it's good. It was a quick look. I think you should ask Thierry for details. Henrique. From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: New Excel Interface ComponentDate: Sun, 9 Nov 2008 11:21:55 -0500 Dear Fari

Re: [Lazarus] New Excel Interface Component

2008-11-09 Thread Thierry Coq
Link should be fixed now. Luiz Americo Pereira Camara wrote: > Thierry Coq escreveu: > >> Yes, definitively, >> >> I've checked, this code seems to be currently geared to use DISPID >> interfaces. This works in Delphi, but not in FPC for the time being. >> >> For example, the following code: >

Re: [Lazarus] New Excel Interface Component

2008-11-09 Thread Alex du Plessis
Thierry Coq wrote: > using the DISPID features of FPC and the Lazarus environment, I have > started to write an Excel Interface component. > > Excel workbooks and sheets can be created, opened and saved. Cell values > can be read and updated. Cell color can be modified. > For performance DISPID i

Re: [Lazarus] New Excel Interface Component

2008-11-09 Thread Luiz Americo Pereira Camara
Thierry Coq escreveu: > Yes, definitively, > > I've checked, this code seems to be currently geared to use DISPID > interfaces. This works in Delphi, but not in FPC for the time being. > > For example, the following code: >fDocument := fDesktop.loadComponentFromURL('file:///'+ > StringReplace

Re: [Lazarus] New Excel Interface Component

2008-11-09 Thread Thierry Coq
Yes, definitively, I've checked, this code seems to be currently geared to use DISPID interfaces. This works in Delphi, but not in FPC for the time being. For example, the following code: fDocument := fDesktop.loadComponentFromURL('file:///'+ StringReplace(FileName, '\', '/', [rfIgnoreCase,

Re: [Lazarus] New Excel Interface Component

2008-11-09 Thread Thierry Coq
It may be the same problem I encountered on the Excel translation: Delphi understands DISPID interfaces, while FPC doesn't entirely, for the moment. Using the manner in which ExcelInterface manages DISPID could be a good way to do the same thing for OOO. I'll give it a thought. Thierry Coq Lu

Re: [Lazarus] New Excel Interface Component

2008-11-09 Thread Paul Ishenin
Henrique Faria wrote: > Very good. What about something to OpenOffice? I know only about something for delphi (from russian sql.ru forum). Maybe it can work with fpc too: http://yuri.elmeh.ru/openoffice/OpenOffice2008.10.25.zip Best regards, Paul Ishenin. _

Re: [Lazarus] New Excel Interface Component

2008-11-09 Thread Henrique Faria
Very good. What about something to OpenOffice? Henrique.> Date: Sat, 8 Nov 2008 15:53:17 +0100> From: [EMAIL PROTECTED]> To: lazarus@lazarus.freepascal.org> Subject: [Lazarus] New Excel Interface Component> > using the DISPID features of FPC and the Lazarus environment, I

[Lazarus] New Excel Interface Component

2008-11-08 Thread Thierry Coq
using the DISPID features of FPC and the Lazarus environment, I have started to write an Excel Interface component. Excel workbooks and sheets can be created, opened and saved. Cell values can be read and updated. Cell color can be modified. For performance DISPID identifiers are used, reducing