https://bugs.freedesktop.org/show_bug.cgi?id=62265
Priority: medium
Bug ID: 62265
Assignee: [email protected]
Summary: FILESAVE creating .xls (BIFF8) with UNO-Java actually
saves OOXML
Severity: normal
Classification: Unclassified
OS: All
Reporter: [email protected]
Hardware: Other
Status: UNCONFIRMED
Version: 3.6.1.2 release
Component: Spreadsheet
Product: LibreOffice
Creating an .xls file (using Octave <www.octave.org> invoking UNO-Java bridge)
I'd expect to get a BIFF8 file (MS-Excel97-2003). However, MS-Excel97,
JExcelApi and OpenXLS don't recognize the .xls file and it actually turns out
to be in .xlsx (OOXML) format (but with .xls suffix).
When reading an existing (proper) BIFF8 (.xls) file (w. UNO-Java) in
LibreOffice, the file format is properly recognized and when overwriting the
original file, a BIFF8 file is saved. So it's only a problem when creating a
BIFF8 (.xls) file from scratch.
This bug should be platform-independent (because it concerns Java); indeed this
happens both in Linux (Mageia-2) and Windows (XP SP3).
I suppose that when creating a new BIFF8 file, LibreOffice doesn't properly
interpret the file extension and wrongly decides to make it OOXML rather than
BIFF8.
I guess this happens somewhere in the aLoader.loadComponentFromURL
("private:factory/scalc", ......) or xStore.storeAsURL (filename, lProps)
methods or their dependencies.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs