Created attachment 153101 [details]
Attached ODT has a frame, with a text box inside. This isn't supported by Word, Word simply inserts both objects anchored inside the document, as opposed to the text box being anchored inside the frame. Exporting the ODT to DOCX in Writer does the same conversion, however the position of the text box isn't adjusted with the anchor getting moved, and doesn't stay where it originally was.
- Open the attached ODT, save it as DOCX and reload.
=> Text box is moved outside the frame.
Shows the same in Word, so it's an export issue.
Observed using LO 220.127.116.11.alpha0+ (ed882d693f37779e3a09641e7cd43b7a925d2312), 18.104.22.168 / Windows 7.
In 22.214.171.124 the position of the text box is still correct in Writer, but the anchor doesn't change, and the file is unopenable in Word.
Created attachment 153102 [details]
Wrongly exported DOCX
Created attachment 153103 [details]
There are two interesting states between 4.2 and 4.4, one started exporting the inner textbox anchored as-character, and another moved the anchor outside the frame.
The first change was bibisected to the following commit using repo bibisect-43max, but the result doesn't seem correct (it's the less important difference, anyway):
author Noel Grandin <email@example.com> 2014-02-21 16:06:28 +0200
committer Noel Grandin <firstname.lastname@example.org> 2014-02-27 12:30:25 +0200
The second change was bibisected to the following range using repo bibisect-44max:
Likely starting commit is:
author Pallavi Jadhav <email@example.com> 2014-06-05 19:04:36 +0530
committer Miklos Vajna <firstname.lastname@example.org> 2014-06-11 08:21:47 +0000
"fdo#79540 : DOCX: Lo exports Drawing inside Drawing"
This and bug 126777 should probably be fixed together.
Build ID: d4a70ecf61b016a32caef015eea127d13b357cf7
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3;
Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US
I tried to reproduce it in LibreOffice 4.1 but it crashes while opening the DOCX file