Bug 68176 - FILEOPEN: Incorrect import of formula when .ods created with MSO Excel 2007
Summary: FILEOPEN: Incorrect import of formula when .ods created with MSO Excel 2007
Status: RESOLVED DUPLICATE of bug 56209
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
4.1.0.4 release
Hardware: Other Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-16 09:17 UTC by Popins
Modified: 2013-09-15 15:37 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Test file created in Excel 2007 based on Kohei's test file, but only 87 rows (9.14 KB, application/vnd.oasis.opendocument.spreadsheet)
2013-08-16 09:17 UTC, Popins
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Popins 2013-08-16 09:17:01 UTC
Created attachment 84130 [details]
Test file created in Excel 2007 based on Kohei's test file, but only 87 rows

Problem description: 
When you open a .ods created with Excel, LibreOffice appends "msoxl:" before the formula. A "=A1*1.1" thus becomes "msoxl:=A1*1.1", which can only be evaluated as text.

Steps to reproduce:
1. Excel 2007: Create a new worksheet
2. Excel 2007: Enter formulas as per Kohei's shared-formula-memory-test.ods (see "http://kohei.us/2013/08/15/shared-formula-to-reduce-memory-usage/")
3. Excel 2007: File > Save As > Open Document Spreadsheet"
4. LibreOffice 4.1: Open the above document

Current behavior:
Cells contain text that can not be evaluated as formula. Example for row "B", in column order:
"msoxl:=A1+1", "msoxl:=A2*1.1", "msoxl:=B2/100*PI()", "msoxl:=SUM(A2:C2)"
Expected behavior:
Cells should contain formulas. Example for row "B", in column order:
"=A1+1", "=A2*1.1", "=B2/100*PI()", "=SUM(A2:C2)"
System:
Windows 7 SP1 64-bit [en], MSO Excel 2007 SP3 [sl], LibreOffice 4.1.0.4 Release [en]
              
Operating System: Windows 7
Version: 4.1.0.4 release
Comment 1 Eike Rathke 2013-08-16 10:26:33 UTC
Excel 2007 and 2010 write only ODF 1.0/1.1 ISO/IEC 26300:2006 and write formula expressions in their own msoxl namespace, syntax and semantics. We do not support that.

Excel 2013 properly supports ODF 1.2 including the OpenFormula (ODFF) specification.
Comment 2 Popins 2013-08-16 11:11:12 UTC
@Eicke: So basically you are saying that:
1) we shall not succumb to Microsoft's EEE (or KKK, NWO or other 3 letter policies)
2) if we want to use such files in LibreOffice we must buy MS Office 2013.
Comment 3 retired 2013-08-17 08:30:00 UTC
Not sure what Eike is saying but is it is indeed caused by M$ not supporting ODF 1.2 properly it would be NOTOURBUG.

Eike can you set this bug to either confirmed NEW or NOTOURBUG?
Comment 4 Jean-Baptiste Faure 2013-09-15 15:08:13 UTC
Set status to NotOurBug due to comment #1

Best regards. JBF
Comment 5 Maxim Monastirsky 2013-09-15 15:37:01 UTC

*** This bug has been marked as a duplicate of bug 56209 ***