Bug 143241 - Image moves to different page after DOCX/DOC export
Summary: Image moves to different page after DOCX/DOC export
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: DOCX-Anchor-and-Text-Wrap
  Show dependency treegraph
 
Reported: 2021-07-07 17:22 UTC by Telesto
Modified: 2021-07-13 08:39 UTC (History)
0 users

See Also:
Crash report or crash signature:
Regression By:


Attachments
The original document and its docx version in Writer (151.28 KB, image/png)
2021-07-13 08:09 UTC, NISZ LibreOffice Team
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2021-07-07 17:22:37 UTC
Description:
Image moves to different page after DOCX export

Steps to Reproduce:
1. Open attachment 173417 [details] (bug 143239)
2. Save as DOCX
3. File reload


Actual Results:
Curves and polygons moves up a page

Expected Results:
Same as ODT


Reproducible: Always


User Profile Reset: No



Additional Info:
Found in
Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: bd2f2273d83dcca43eb6b465308707efd45e7adf
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL

and in
6.0 

and in
4.4.7.2

and in
LibreOffice 3.5.0rc3 
Build ID: 7e68ba2-a744ebf-1f241b7-c506db1-7d53735
Comment 1 NISZ LibreOffice Team 2021-07-13 08:09:23 UTC
Created attachment 173526 [details]
The original document and its docx version in Writer

Indeed looks bad in:

Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 0fc020fb73c86a20608e8dff12af607e60327379
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: hu-HU
Calc: CL

The third frame has vertical position "Top" to "Paragraph text area".
Upon export to docx and 
* opening in Word this becomes 0 cm below "Line", as this is the most similar thing to "Paragraph text area".
* and opening in Writer (pictured) becomes "From bottom" by 0 cm to "Line of text" - so there is a bit of import problem as well. 
This situation is bug #142875.

Another factor is the second frame, which is horizontally centered and has optimal wrap. See bug #112313 about this situation. 
Indeed: manually changing the wrap in the docx version from Optimal to None fixes the layout in this case as well.
Comment 2 NISZ LibreOffice Team 2021-07-13 08:39:30 UTC
Confirming but not marking duplicate, just in case it isn't one.