Apache OpenOffice (AOO) Bugzilla – Issue 75775
SYLK File from Calc Has Critical Different with the one from Ms. Excel
Last modified: 2023-01-19 15:59:57 UTC
My user use SYLK file type as input for a UNIX application. SYLK file exported from Ms. Excel work perfectly with the application. But not the SYLK file exported from CALC. Both of them attached.
Created attachment 43963 [details] This SYLK file exported from CALC.
Created attachment 43964 [details] This SYLK file exported from Excel
ramanal, I see certain differences in the files but I have no idea how you prepared those files. Please provide detailed repro steps.
Created attachment 44004 [details] SYLK source, try to export to sylk from Excel and Calc to see the difference
I can confirm that Calc 2.2 produces SYLK file that is different from Excel 2003. ramanal, please elaborate what specifically your Unix app does not like in file produced by Calc. Thanks.
The Unix application only inform that the sylk file has no data. Nothing more.
Hi Daniel, seems to be yours. Adjust target as needed. Frank
change target from 2.x to 3.x according to http://wiki.services.openoffice.org/wiki/Target_3x
As per Wikipedia's good summary at https://en.wikipedia.org/wiki/Symbolic_Link_(SYLK) Calc's SYLK has an ID record type (identifies file format and creating app) and then only C record types (cell contents), and finally E record (end of file). Testing on the latest Git, Calc still writes SYLK files with that structure. Excel's SYLK has an ID record type, then P record types (cell formats), F record type (formats), B record type (number of rows and columns), O record type (options), F record type again, then C and E record types. The UNIX application that refuses to open Calc's file is unlikely to be interested in formatting, but might be looking for B record to determine the size of the spreadsheet. Or if really dumb it might be hardcoded to Excel's ID record, but that's unlikely. Is this UNIX application available for us to test with? If not, are you willing to do some testing?