Created attachment 143894 [details]
The original file (in ODF format)
The anchor setting of the charts in text documents is not preserved: when the file is saved as DOCX, the anchor setting is always stored as “As Character”. This makes it impossible to wrap the text around the chart, and also results the document content to be rearranged after save and reload.
Steps to reproduce:
1. Open LibreOffice Writer and create a simple document with some random text in it.
2. Insert a Chart via Insert –> Chart.
3. Charts are anchored “To Paragraph” by default, so there is no need to change this setting. Resize and move the chart in a position where it is wrapped around with the text.
4. Save the file as DOCX and reload it.
The chart jumps to the first character of its respective paragraph, and the anchor setting changes from “To Paragraph” to “As Character”.
The anchor setting of the chart should be preserved.
Build ID: bb1d5780226bb1b9156580972eea9aa849178742
CPU threads: 1; OS: Windows 6.1; UI render: default;
TinderBox: Win-x86@42, Branch:master, Time: 2018-07-03_05:56:48
Locale: hu-HU (hu_HU); Calc: group threaded
Created attachment 143895 [details]
The DOCX export of the same file
Created attachment 143896 [details]
A screenshot showcasing the issue
Found by my team. Confirmed with a more recent version from the bibisect-win32-6.2 repo:
Build ID: 921f285c7ff713ad219d3e3385d7e7d12d33581e
CPU threads: 4; OS: Windows 6.3; UI render: default;
Locale: hu-HU (hu_HU); Calc: CL
Also reproduced in
Build ID: 3ca42d8d51174010d5e8a32b96e9b4c0b3730a53
Threads 4; Ver: 4.10; Render: default;
Build ID: c15927f20d4727c3b8de68497b6949e72f9e6e9e
in previous versions the image disappeared after RT
Created attachment 152511 [details]
Chart anchor settings in current master
It looks a bit better after the fix of bug #125518 in:
Version: 18.104.22.168.alpha0+ (x86)
Build ID: 81ab6abe574a75f1ed229a88ceee9eb3b143a18a
CPU threads: 4; OS: Windows 6.3; UI render: GL; VCL: win;
TinderBox: Win-x86@42, Branch:master, Time: 2019-07-02_02:29:05
Locale: hu-HU (hu_HU); UI-Language: en-US
Still: "To paragraph" becomes "To character" (instead of "As character" and position values become 0 instead of the set values.
But horizontal and vertical positions are now correct.
Created attachment 152512 [details]
The original file saved by current 6.4 master
*** This bug has been marked as a duplicate of bug 128207 ***
Created attachment 158252 [details]
The Sample Dcument In 7.0 Master