Bug 132811

Summary: FILEOPEN DOCX Formula object wrap setting broken
Product: LibreOffice Reporter: NISZ LibreOffice Team <libreoffice>
Component: WriterAssignee: Attila Bakos (NISZ) <bakos.attilakaroly>
Status: VERIFIED FIXED    
Severity: normal CC: bakos.attilakaroly, nemeth, xiscofauli
Priority: medium Keywords: bibisectRequest, regression
Version: 7.0.0.0.alpha0+   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=121525
Whiteboard: target:7.0.0
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 104526    
Attachments: Example file from Word
Screenshot of the original document side by side in Word and Writer 6.4 and Writer master
Screenshot of the original file, side by side Word and Writer 7.0 Master

Description NISZ LibreOffice Team 2020-05-07 13:06:33 UTC
Created attachment 160499 [details]
Example file from Word

Recently import of the horizontal alignment of formulas became supported, but now the wrap setting is broken, resulting in paragraph breaks flowing around OLE objects  instead of being in the same line.

Steps to reproduce:
    1. Open attached document

Actual results:
Paragraph end markers are not in the same line as the OLE objects.

Expected results:
Paragraph end markers in the same line as the OLE-objects.

LibreOffice details:
Version: 7.0.0.0.alpha1+ (x86)
Build ID: 7e257697f0006d8247a23ac91...
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win; 
Locale: hu-HU (hu_HU); UI: en-US
Calc: threaded
Comment 1 NISZ LibreOffice Team 2020-05-07 13:06:54 UTC
Created attachment 160500 [details]
Screenshot of the original document side by side in Word and Writer 6.4 and Writer master
Comment 2 Commit Notification 2020-05-12 10:04:39 UTC
Attila Bakos committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/1237acf9851f8b12d1ccd929e2aa8b184c06d552

tdf#132811 DOCX: fix formula alignment – part 2

It will be available in 7.0.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 3 Attila Bakos (NISZ) 2020-05-13 09:34:35 UTC
Created attachment 160745 [details]
Screenshot of the original file, side by side Word and Writer 7.0 Master
Comment 4 Xisco Faulí 2020-05-19 19:34:46 UTC
Verified in

Version: 7.0.0.0.alpha1+
Build ID: 8209c2569f5726f9ed29f75d30efdccb94f98fe5
CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: gtk3; 
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

@Attila, thanks for fixing this issue!!