Bug 168352 - when doc(97-2003) is lower but when docx(07 and later) is higher
Summary: when doc(97-2003) is lower but when docx(07 and later) is higher
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
25.8.1.1 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-09-10 14:54 UTC by luckcharm
Modified: 2025-10-01 21:01 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
look at the the attachment (142.49 KB, application/x-7z-compressed)
2025-09-10 14:57 UTC, luckcharm
Details
Zip archive with 6 files inside - test-formula.docx and 5 screenshots of how it looks in LibreOffice and MS Word (2.52 MB, application/zip)
2025-10-01 21:01 UTC, lida.barkanova
Details

Note You need to log in before you can comment on or make changes to this bug.
Description luckcharm 2025-09-10 14:54:39 UTC
Description:
when I open the doc document(test2-2003.doc) the formula is lower but when I open the docx(07 and later)(test2.docx) the formula is higher.I asked a similar question before(Bug 167477).

Actual Results:
open the documents.

Expected Results:
correct this bug.


Reproducible: Always


User Profile Reset: No

Additional Info:
[Information automatically included from LibreOffice]
Locale: zh-CN
Module: TextDocument
[Information guessed from browser]
OS: Windows (All)
OS is 64bit: no
Comment 1 luckcharm 2025-09-10 14:57:09 UTC
Created attachment 202778 [details]
look at  the the attachment
Comment 2 lida.barkanova 2025-10-01 20:50:15 UTC
Reproduced the issue on Mac with the attached files.

However, I could not reproduce this on my own files. 
I have created a document "test-formula.docx" in MS Word where I used the default equation (Insert -> Equation -> Built-In -> Taylor Expansion) as a test object. Similar to the original files attached by @luckcharm in their bug report, my formula also uses division (with fraction, a horizontal line between the numerator and denominator). When opening the file in LibreOffice, formula object is vertically aligned with the rest of the text. 

Important note: this formula object is editable normally, while the formulas from the original files attached to the report (test2.docx) threw error "Error activating object: General OLE error." when clicking on "Edit Object".
Based on this, I'm wondering, how exactly @luckcharm has created the formulas? Which version of MS Word was used, how was this inserted? To me 'broken' OLE objects with their formulas look like an image. 



Microsoft Word version:
Microsoft® Word for Mac 
Version 16.101.2 (25092825)


LibreOffice version:
Version: 25.8.1.1 (AARCH64)
Build ID: 54047653041915e595ad4e45cccea684809c77b5
CPU threads: 16; OS: macOS 15.7; UI render: Skia/Metal; VCL: osx
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 3 lida.barkanova 2025-10-01 21:01:32 UTC
Created attachment 203089 [details]
Zip archive with 6 files inside - test-formula.docx and 5 screenshots of how it looks in LibreOffice and MS Word