Bug 98948 - While converting Microsoft Office 2007+ formula to LibreOffice Math formula, some formulas will break because of different formula definition
Summary: While converting Microsoft Office 2007+ formula to LibreOffice Math formula, ...
Status: RESOLVED DUPLICATE of bug 95230
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Formula Editor (show other bugs)
Version:
(earliest affected)
5.1.0.0.alpha0+ Master
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-29 06:17 UTC by Icenowy Zheng
Modified: 2016-03-29 06:45 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
Screenshot of MSO.jpg (53.05 KB, image/jpeg)
2016-03-29 06:17 UTC, Icenowy Zheng
Details
Screenshot of LibO Writer.jpg (110.02 KB, image/png)
2016-03-29 06:18 UTC, Icenowy Zheng
Details
Screenshot of LibO Math inside Writer.png (72.13 KB, image/png)
2016-03-29 06:18 UTC, Icenowy Zheng
Details
A fix of this formula.png (72.51 KB, image/png)
2016-03-29 06:19 UTC, Icenowy Zheng
Details
testcase.docx (11.69 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2016-03-29 06:19 UTC, Icenowy Zheng
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Icenowy Zheng 2016-03-29 06:17:28 UTC
Created attachment 123911 [details]
Screenshot of MSO.jpg

For example, for a binary operator (e.g. a = b), LibreOffice will require a and b are all present. However, in Microsoft Office, a or(and?) b can be omitted.
So if a Microsoft Office formula contains "=b" is opened in LibreOffice, it will be converted into LibreOffice Math formula, then a "?" will appear because of lack of the left operand.
(See the screenshots)
Comment 1 Icenowy Zheng 2016-03-29 06:18:12 UTC
Created attachment 123912 [details]
Screenshot of LibO Writer.jpg
Comment 2 Icenowy Zheng 2016-03-29 06:18:43 UTC
Created attachment 123913 [details]
Screenshot of LibO Math inside Writer.png
Comment 3 Icenowy Zheng 2016-03-29 06:19:05 UTC
Created attachment 123914 [details]
A fix of this formula.png
Comment 4 Icenowy Zheng 2016-03-29 06:19:33 UTC
Created attachment 123915 [details]
testcase.docx
Comment 5 Douglas Mencken 2016-03-29 06:35:21 UTC
Duplicate of https://bugs.documentfoundation.org/show_bug.cgi?id=95230 ?
Comment 6 Icenowy Zheng 2016-03-29 06:45:34 UTC
(In reply to Douglas Mencken from comment #5)
> Duplicate of https://bugs.documentfoundation.org/show_bug.cgi?id=95230 ?

Seems that they can be resolved in the same way -- add "" for null nodes.

They should be duplicated.

But the description of 95230 is something misleading. 

change the formula in 95230 to 

> int from {3} to {4} {g left (3,y,-1 right ) dy+""} int from {3} to {4} {g left (x,x,-2 right ) dx+""} int from {3} to {4} {g left (3,4,z right ) dz}

can show this case more easily.

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