Bug 80206 - FILESAVE: Save as .doc or .docx misplaces graphs, even when opened in the same version of LibreOffice
Summary: FILESAVE: Save as .doc or .docx misplaces graphs, even when opened in the sam...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: filters and storage (show other bugs)
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
Whiteboard: BSA
Keywords: filter:doc
Depends on:
Blocks: DOC
  Show dependency treegraph
Reported: 2014-06-19 01:10 UTC by Will Kemp
Modified: 2019-09-10 14:31 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:

Sample .doc file with a page of graphs, saved with LibreOffice Writer, showing mangled layout. (98.00 KB, application/msword)
2014-06-19 01:10 UTC, Will Kemp
Original .odt file which was saved as the .doc file above (82.17 KB, application/vnd.oasis.opendocument.text)
2014-06-19 01:13 UTC, Will Kemp

Note You need to log in before you can comment on or make changes to this bug.
Description Will Kemp 2014-06-19 01:10:10 UTC
Created attachment 101327 [details]
Sample .doc file with a page of graphs, saved with LibreOffice Writer, showing mangled layout.

Problem description:
When I save a document (this particular one has a number of graphs on one page), as a Microsoft Word 97/2000/XP/2003 (.doc) file, then open it again in the same version of LibreOffice that I saved it with, the formatting is scrambled (in this particular doc, the graphs are scattered all over the place). This problem is even worse saving it as later versions of Word files.

Surely LibreOffice should be able to open files that it has saved itself and keep the formatting right?

This issue is just with reopening a file with the software that orginally saved it - I haven't tested opening with Word myself, but it's reported to be just as scrambled. However, I'm not so concerned with that - because Word has a mind of its own - what I am concerned with is that the software that saved it cannot properly display the file it created itself.

Steps to reproduce:
1. Save document as Microsoft Word 97/2000/XP/2003 (.doc)
2. Close window
3. Open previously saved .doc file again

Current behavior: Formatting is mangled

Expected behavior: Formatting should be the same as when it was saved
Operating System: Fedora
Version: release
Comment 1 Will Kemp 2014-06-19 01:13:01 UTC
Created attachment 101328 [details]
Original .odt file which was saved as the .doc file above
Comment 2 ign_christian 2014-06-19 03:44:24 UTC
Hi.. I also saw some graphs/charts in page 3 misplaced to page 2 (not exactly same as attached .doc), and the captions' change to top. Saw no other problems.

Tested under - Win7 x86
Comment 3 Cor Nouws 2014-06-19 07:17:01 UTC Comment hidden (obsolete)
Comment 4 Will Kemp 2014-06-19 23:32:58 UTC Comment hidden (obsolete)
Comment 5 penttila 2014-08-03 20:19:09 UTC
I can confirm the bug, some graphs and charts from page 3 are moved to page 2 onto the top of original text. (Maybe also other things are mixed up)

My test system:
LinuxMint 17 Cinnamon
LO  Build id.: 420m0(Build:2)

I would change Status to NEW, but I am a newbie so I don't want to do it yet!
Comment 6 Buovjaga 2014-11-26 12:57:16 UTC
Reproduced what comment 5 says -> NEW. Tweaked severity per https://wiki.documentfoundation.org/images/0/06/Prioritizing_Bugs_Flowchart.jpg

Ubuntu 14.10 64-bit Version:
Build ID: 6b219f012edbe069c461f4e0746898e33fa1dd49
TinderBox: Linux-rpm_deb-x86_64@46-TDF-dbg, Branch:master, Time: 2014-11-25_21:56:46
Comment 7 Buovjaga 2015-01-10 18:16:11 UTC
Already happens with 3.3.0 (tried saving .odt to .doc).

Ubuntu 14.10 64-bit
LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-
Comment 8 A (Andy) 2015-12-27 19:48:55 UTC
Reproducible with LO, Win 8.1
Comment 9 Telesto 2016-12-03 17:47:01 UTC
Reproducible with 
Build ID: 33f5bc54aaa7fe7aa9335726e30f9c349155e04d
CPU Threads: 4; OS Version: Windows 6.2; UI Render: default; 
TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2016-12-01_23:21:05
Locale: nl-NL (nl_NL); Calc: CL
Comment 10 QA Administrators 2017-12-10 16:43:11 UTC Comment hidden (obsolete)
Comment 11 Timur 2019-09-10 14:31:24 UTC
Repro 6.4+