archive icon indicating copy to clipboard operation
archive copied to clipboard

2003 xls files it doesn't work

Open EliuFlorez opened this issue 3 years ago • 3 comments

for 2003 xls files it doesn't work. has a "No end record." in method "deserialize".

EliuFlorez avatar Jun 28 '21 16:06 EliuFlorez

is the 2003 xls format a standard zip file? A quick glance at google indicated it's some other proprietary binary format but I haven't checked if that was actually the case for these old files.

xlsx files should work as they are standard zip archives.

WebFreak001 avatar Jun 28 '21 22:06 WebFreak001

if it works perfectly with xlsx, only that I am creating a module for excel file imports and with xls I have an error in "No end record." then would the decompression have to be binary?

EliuFlorez avatar Jun 29 '21 14:06 EliuFlorez

the format for .xls files is called BIFF8 - it's not a compression and wouldn't fit in this library. If you want to use it you will either have to write a parsing library yourself or use some existing C/C++ library in D, e.g.

  • https://www.codeproject.com/Articles/42504/ExcelFormat-Library
  • https://github.com/igormironchik/read-excel

WebFreak001 avatar Jun 29 '21 15:06 WebFreak001