Bug 164878 - FILEOPEN DOCX: inline formula no longer centred
Summary: FILEOPEN DOCX: inline formula no longer centred
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
25.2.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, filter:docx, regression
Depends on:
Blocks: DOCX-Paragraph
  Show dependency treegraph
 
Reported: 2025-01-28 01:13 UTC by Justin L
Modified: 2025-01-28 01:13 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
forum-mso-en-834.docx (52.81 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2025-01-28 01:13 UTC, Justin L
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Justin L 2025-01-28 01:13:17 UTC
Created attachment 198791 [details]
forum-mso-en-834.docx

The OLE AS_CHAR equation is no longer centred. Instead of the paragraph having zero first/left margins, it has taken the 1/2-inch first/1-inch left margin properties of the following (now attached behind) paragraph.

This was not correct before, because MS Word has three paragraphs strung together on one line. But it did look a lot better before.

Steps to reproduce
1.) Open forum-mso-en-834.docx

Notice that on page 2 the formula looks messy.

This started in 25.2 with commit 56588663a0fddc005c12afaa7d3f8874d036875f
Author: László Németh <nemeth@numbertext.org> on Fri Sep 13 09:02:08 2024 +0200
    tdf#131728 sw inline heading: fix DOCX paragraph layout interoperability

Perhaps it is worth noting that it looked a bit different at the time of that commit. It was latter affected by the import aspects of the follow-up commit 49765a9e7be41d4908729ff7d838755276b244cb
Author: László Németh on  Wed Oct 30 17:11:26 2024 +0100
    tdf#48459 tdf#131728 sw inline heading: new frame style: fix DOCX export


Found by Collabora's mso-test