Created attachment 160813 [details] Example file from Word When a formula frame is aligned to the left or right in a Word-made document, this is now imported correctly in Writer. Saving these to DOCX and opening the file in Word shows all the formula aligned centered. Steps to reproduce: 1. Open attached file in Writer and save it as DOCX 2. Open the roundtripped file in Word Actual results: All formula is aligned centered. Expected results: Original alignment retained. LibreOffice details: Version: 7.0.0.0.alpha1+ (x64) Build ID: 1ed7607454d1492f65c78443cb661d5873face6b CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win; Locale: hu-HU (hu_HU); UI: en-US Calc: CL
Created attachment 160814 [details] The original file saved by Writer
Created attachment 160815 [details] Screenshot of the original document side by side in Word and Writer
Created attachment 160816 [details] Screenshot of the exported document side by side in Word and Writer
Thank you for reporting the bug. I can not reproduce this bug in Version: 6.4.0.0.alpha1+ (x86) Build ID: ec7374ff84c71edfbb30d6e4dc5b486b6df7107f CPU threads: 2; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: default; VCL: win; TinderBox: Win-x86@42, Branch:master, Time: 2019-11-10_21:37:30 Locale: en-US (en_US); UI-Language: en-US Calc: threaded
I confirm with Version: 7.0.0.0.alpha1+ (x64) Build ID: 99c337d1d3831ce9d2c7dc1cbff713f4ac49d6ac CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win; Locale: en-GB (de_DE); UI: en-GB Calc: CL
Attila Bakos committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/46695f3d66cc77b38865c1817b09d95e9c4b6683 tdf#133030: DOCX export: fix formula alignment - part 3 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.
Created attachment 161334 [details] Example file from Writer after fix
Created attachment 161335 [details] Screenshot of the sample file side by side in Word and Writer after fix
Verified with Version: 7.0.0.0.beta1 (x64) Build ID: 94f789cbb33335b4a511c319542c7bdc31ff3b3c CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win Locale: de-DE (de_DE); UI: en-GB Calc: CL Attila, thanks for fixing it!