Bug 96579 - [WRITER] Figure caption badly converted in Word format because image anchoring and wrapping is changed
Summary: [WRITER] Figure caption badly converted in Word format because image anchorin...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: filters and storage (show other bugs)
(earliest affected)
Hardware: All All
: medium normal
Assignee: Not Assigned
Whiteboard: interoperability
Keywords: filter:docx
: 139666 (view as bug list)
Depends on:
Blocks: DOCX-Images DOCX-Anchor-and-Text-Wrap
  Show dependency treegraph
Reported: 2015-12-18 12:25 UTC by Nicolas Saettel
Modified: 2021-05-29 14:00 UTC (History)
5 users (show)

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

original file opendocument (45.68 KB, application/vnd.oasis.opendocument.text)
2016-02-19 15:09 UTC, Nicolas Saettel
Saved as word document (37.29 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2016-02-19 15:10 UTC, Nicolas Saettel
pdf file rendered correctly from odt (118.21 KB, application/png)
2016-02-19 15:11 UTC, Nicolas Saettel
pdf with screen shots of odt and docx (67.97 KB, application/force-download)
2016-03-07 10:59 UTC, Cor Nouws
Screenshot of the example file and its docx version in current master (231.75 KB, image/png)
2019-10-30 19:03 UTC, Gabor Kelemen (allotropia)

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Saettel 2015-12-18 12:25:05 UTC
The issue is that the figure caption (in a frame) is badly converted in word: the frame is intact, but the image is wrapped inside the caption, and need reformatting to a correct display.
Comment 1 Cor Nouws 2015-12-18 13:08:35 UTC
Hi Nicolas,
Thanks for the report!
Can you please attach a sample file and an image / PDF showing the expected situation?

Maybe your issue is reported already in one of those:

Cheers - Cor
Comment 2 Nicolas Saettel 2016-02-19 15:09:20 UTC
Created attachment 122800 [details]
original file opendocument
Comment 3 Nicolas Saettel 2016-02-19 15:10:38 UTC
Created attachment 122801 [details]
Saved as word document
Comment 4 Nicolas Saettel 2016-02-19 15:11:02 UTC
Created attachment 122802 [details]
pdf file rendered correctly from odt
Comment 5 Nicolas Saettel 2016-02-19 15:11:19 UTC
Sorry for the delay, here are the files
Comment 6 Cor Nouws 2016-03-07 10:59:16 UTC
Created attachment 123369 [details]
pdf with screen shots of odt and docx

Thanks for the info Nicolas.
Comment 7 Cor Nouws 2016-03-07 11:07:53 UTC
1. The problem.. is more that the image after conversion has a different anchoring and alignment. See my test document.
So I'll update the summary of this report.

2. testing in earlier versions...

Opening the docx or trying to save the odt in docx makes LibreOffice 3.3.4 and crash :) has the same problem. So it's safe to assume this never worked.
Comment 8 Nicolas Saettel 2016-03-07 12:21:20 UTC
Thank you Cor for the precisions: it is indeed an anchoring problem
Comment 9 QA Administrators 2017-05-22 13:20:09 UTC Comment hidden (obsolete)
Comment 10 eisa01 2018-03-18 09:49:14 UTC
Still present

Build ID: 8e8dd8f320a3ff59ff8a16c1a7a867888ce80700
CPU threads: 2; OS: Mac OS X 10.12.6; UI render: default; 
TinderBox: MacOSX-x86_64@49-TDF, Branch:master, Time: 2018-03-13_23:59:29
Locale: en-US (en_US.UTF-8); Calc: group
Comment 11 sdc.blanco 2019-10-30 00:14:37 UTC
Could not reproduce.  Saved attachment 122800 [details] as .docx.  Formatting and anchoring of the two figures (frames) looked the same in the .docx file as in the original .odt

Version: (x64)
Build ID: f41f4c7f9507aeca13cb9df51f34d80e8ba30a99
CPU threads: 8; OS: Windows 10.0; UI render: default; VCL: win;
Comment 12 Gabor Kelemen (allotropia) 2019-10-30 19:03:08 UTC
Created attachment 155412 [details]
Screenshot of the example file and its docx version in current master

Still present in:

Build az.: be27538c6a13d6dd9343dc0092c841cfe8c3c3e5
CPU szálak: 4; OS: Linux 4.15; Felületmegjelenítés: alapértelmezett; VCL: gtk3; 
Területi beállítások: hu-HU (hu_HU.UTF-8); Felület nyelve: hu-HU
Calc: threaded

These are image subtitles placed inside text frames with the images.
Comment 13 NISZ LibreOffice Team 2021-01-20 08:44:57 UTC
*** Bug 139666 has been marked as a duplicate of this bug. ***