Created attachment 158383 [details]
1. Load Bugdoc in Writer
2. Save as docx
3. Open docx in Word
The chart on the second page is misplaced (on the first page).
Then go to Word "File" menu, click the "Convert" button in the "Compatibility mode" section.
After that, the document is displayed correctly (chart is on second page where it should be).
Created attachment 158384 [details]
Word PDF export (before Convert)
Created attachment 158385 [details]
Word PDF export (after Convert)
Regression introduced by:
author Vasily Melenchuk <email@example.com> 2019-05-14 17:00:59 +0300
committer Thorsten Behrens <Thorsten.Behrens@CIB.de> 2019-06-26 11:41:03 +0200
commit ece4a0f78bb60ef079722e8fa029f0ec253d0452 (patch)
parent 8fb35f06ddec551a6de887ce269d9196d9fe2337 (diff)
tdf#125518: docx export: save anchors for diagrams
Bisected with: bibisect-linux64-6.4
Adding Cc: to Vasily Melenchuk
The earlier identified 6.4 commit probably isn't very helpful - it was non-anchored placement to anchored placement fixes.
positioning was very poor earlier in 7.0 master, but mostly good as of
Author: Bakos Attila Date: Fri Jan 10 10:49:14 2020 +0100
tdf#128207: DOCX import: fix chart positioning
Embedded graphic objects had got 0 values for vertical and horizontal
positioning before, resulting overlapping, hidden charts,
but now they are positioned according to the values in the document.
Created attachment 158733 [details]
cross_bc2win_2010_and_2016.pdf.zip: pdfs of before/after patch
The document never looks good in Word 2010. So that means that we have an import bug - because it looks fine in LO now, even though LO imports in 2010 mode. Likely no one cares too much about a 2010 import bug though...
It does seem to be JUST related to the compatibilityMode=15. I changed all of the other compatSettings, and that didn't affect the layout. compatibilityMode=14 is not enough to fix it either.
This works now correctly after setting the docx compatiblityMode to 15 (bug 131304).