Forum > FPSpreadsheet

minor fpspreadsheet.pas typo

(1/1)

bobo:
  lpUnsupportedReadFormat := 'Tryed to read a spreadsheet using an unsupported format';
  lpUnsupportedWriteFormat := 'Tryed to write a spreadsheet using an unsupported format';

Tryed should be Tried

Btw, shouldn't non-supported export formats be commented out or something so at compile time we could see that for example there is no .csv (sfCSV in TsSpreadsheetFormat) export supported?

felipemdc:
Thanks, I fixed the string.


--- Quote ---Btw, shouldn't non-supported export formats be commented out or something so at compile time we could see that for example there is no .csv (sfCSV in TsSpreadsheetFormat) export supported?
--- End quote ---

Not possible because support for formats is added at runtime. But anyway, the exception should be pretty clear about what the problem was.

Having said that, CSV exporting should be trivial to implement, if you would like support for it please open a bug report.

bobo:
That is why I mentioned CSV , because it is not supported (runtime or otherwise). No "support for formats is added at runtime" for CSV.
Should not "sfCSV" be commented out from the definitions until there is a possibility to add it at runtime?

I just checked CSV and using the excel8 exports without a problem, so I do not know if any of the other formats are not supported yet.

felipemdc:
There is a table showing the currently supported formats here:

http://wiki.lazarus.freepascal.org/FPSpreadsheet#Current_Progress

Navigation

[0] Message Index

Go to full version