[Lazarus] Reading a spreadsheet with fpspreadsheet

José Mejuto joshyfun at gmail.com
Fri Jul 30 13:16:08 CEST 2010


Hello Lazarus-List,

Friday, July 30, 2010, 9:10:01 AM, you wrote:

>> requires in my opinion a large rewrite in the write procedure
>> specially, in fact in the "how data is streamed to file".
FMdC> Was pretty easy, see here:
FMdC> http://lazarus-ccr.svn.sourceforge.net/viewvc/lazarus-ccr?view=revision&revision=1264
FMdC> http://lazarus-ccr.svn.sourceforge.net/viewvc/lazarus-ccr?view=revision&revision=1265
FMdC> But watch out that I accidentely also commited an unfinished encoding
FMdC> support. It shouldn't do any harm, however.

I was thinking in the formula sections and others like shared strings
where the stream engine first must scan all labels and/or formulas to
produce a tag at the beginning of the excel file. This seems to be
incompatible on how data is being streamed now. Anyway I must check
the sources again, maybe you had changed something that makes this
assertion invalid now ;)

I now have in test (finally) a formula handling (missing functions
support by now). I'll try to integrate with some basic excel formulas
like "=A1+B1". I never thought that the RPN -> Infix coversion
would be so tricky :)

-- 
Best regards,
 José





More information about the Lazarus mailing list