Wp,
I found another, - I guess, - bug. Take a very simple spreadsheet (made in e.g. OpenOffice Calc) with cells used after column Z. E.g. I have A1 := 1, B1 := 2, etc. upto AC1 := 29. Then in A2 := =+A1, etc. AC2 := =+AC1;
Then run the following program:
program project1;
{$mode objfpc}
{$H+}
uses
sysutils,
fpsTypes, fpspreadsheet, fpsopendocument;
var
WB : TsWorkbook;
begin
WB := TsWorkbook.Create;
WB.Options := WB.Options + [boReadFormulas];
WB.ReadFromFile('test.ods');
WB.WriteToFile('test2.ods');
WB.Free;
end.
The new file has formulas right upto Z2, but AA2 == +A1, AB2 == +B1 and AC2 == +C1.
I guess it is wrong when the formula is read from the file, but not sure.
Can you have a look at it?
Thanks,