Bug 42732 - Distorted math formulas, imported from .doc FORMATTING FILEOPEN FILESAVE
Summary: Distorted math formulas, imported from .doc FORMATTING FILEOPEN FILESAVE
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-08 23:54 UTC by Andras Timar
Modified: 2014-10-21 10:55 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample doc with formulas (16.00 KB, application/msword)
2011-11-08 23:54 UTC, Andras Timar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andras Timar 2011-11-08 23:54:29 UTC
Created attachment 53314 [details]
Sample doc with formulas

The example document was created with MS Word 2003. It contains math formulas. 

1. When opened in LibreOffice Writer, the height of the math formulas is not calculated correctly and formulas look distorted.

2. Double clicking on a formula remedies the problem, the height is adjusted automatically to the correct values. 

3. If I save the corrected file in DOC format, and then I reopen, the formulas look distorted again.

4. If I save the corrected file in ODT format, and then I reopen, the height of formulas will be too big, so they look distorted again, differently.

5. If I save the original, unmodified file in ODT format, then I open ODT, the formulas look OK. So this is a workaround.
Comment 1 Rainer Bielefeld Retired 2011-11-30 23:30:06 UTC
FILEOPEN VIEWING problem [Reproducible] with reporter's sample and Server installation of Master "LibO-dev 3.5.0 – WIN7 Home Premium (64bit) ENGLISH UI [Build ID: a653e50-1f92ab1-3bd0388]" Win-x86@6  - 111128):
Formula under 3. is vertically squeezed
Formula in 6. is too small

It seems we have some "cropping", area marked by the control points is correct, but shown formula within the area is too small

Not a particular Master problem, same damage visible with "LibreOffice 3.4.4  - WIN7 Home Premium (64bit) German UI [OOO340m1 (Build:402)]" 

Also LibO 3.3.3 and OOo 3.1.1 show that damage, so inherited from OOo.

Effect reminds me to "Bug 39928 - VIEWING: pictures in particular .doc shown wrong, picture size correct, but contents shrunken and surrounded by white margin", but that one has been fixed?

@Cédric:
Please feel free to reassign (or reset Assignee to default) if it’s not your area or if provided information is not sufficient. Please set Status to ASSIGNED if you accept this Bug.
Comment 2 Ruslan Kabatsayev 2013-01-09 21:31:11 UTC
Reproducible in 3.6alpha1, not reproducible in Version 4.1.0.0.alpha0+ (Build ID: c57906c8f614047a488eea6eb77c535bf90a889).
Comment 3 Luigi Boccia 2013-06-21 13:43:46 UTC
This error is still present in version 4.0.4. Apparently with the same intensity. 
In some cases, the odt file shows a border around the formula.
Comment 4 Buovjaga 2014-10-21 10:55:52 UTC
No distortion here, so closing. Version: 4.4.0.0.alpha1+
Build ID: a8c24b25fd9fb21097a08a22797bf61b59099ea1
TinderBox: Win-x86@39, Branch:master, Time: 2014-10-21_06:33:33