I'm using v1.14 with ODS files. I've noticed that when reading a cell value using either ReadAsText from the worksheet or UTF8StringValue for a cell, that spaces after periods are being dropped to 1 space instead of multiple spaces (in my case 2 spaces).
I'm making a guess that the XML parser being used by the library is causing this to happen, but thought I would check.
Here is some example code:
program TestOdsSpace;
{$mode objfpc}{$H+}
uses
fpspreadsheet, fpstypes, fpsopendocument;
var
Book: TsWorkbook;
Sheet: TsWorksheet;
begin
Book := TsWorkbook.Create;
try
Book.ReadFromFile('/home/steve/temp/test.ods', sfOpenDocument);
Sheet := Book.GetFirstWorkSheet;
writeln(Sheet.ReadAsText(0,0));
writeln(Sheet.ReadAsText(1,0));
finally
Book.Destroy;
end;
end.
I've uploaded the test ODS file.
Not a huge issue, but since I am comparing output with another non-Pascal app which is reading from the same spreadsheet, the diff is throwing differences and is the only reason I even noticed.