Bug 75634 - FILESAVE: DOC: Document saved with a bookmark in a footnote results in a corrupt file that cannot be opened by MS Word 2010 and 2013
Summary: FILESAVE: DOC: Document saved with a bookmark in a footnote results in a corr...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version: Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard: interoperability ww8 NeedsMSO2010
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-01 03:44 UTC by aurimas.dev
Modified: 2014-07-13 23:07 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments
.doc file created in LO Writer that fails to open in MS Word (9.50 KB, application/msword)
2014-03-01 03:44 UTC, aurimas.dev
Details
.doc fiel created in Word 2007 that opens correctly in Word 2010 (27.00 KB, application/msword)
2014-03-22 15:27 UTC, aurimas.dev
Details
.doc created in LO and re-saved with Word 2007 (22.50 KB, application/msword)
2014-03-22 15:35 UTC, aurimas.dev
Details

Description aurimas.dev 2014-03-01 03:44:36 UTC
Created attachment 94927 [details]
.doc file created in LO Writer that fails to open in MS Word

Steps to reproduce:
1. In LibreOffice, open a new Writer document. Insert a footnote with text "12345".
2. Highlight "3" and insert Bookmark. Title it "test".
3. Save document as .doc
4. Close LibreOffice.
5. Open document in Microsoft Word.

Observed result: MS Word displays a message that the file is corrupt and cannot be opened.

Expected result: Document opens

Tested on Microsoft Word 2010 version 14.0.7113.5005 (32-bit). The same document created by MS Word can be opened in both MS Word and LO Writer.
Comment 1 Thomas van der Meulen 2014-03-22 10:45:38 UTC
Thank you for your bug report, 
I cannot reproduce this bug running 
Version: 4.2.3.1
Build ID: 3d4fc3d9dbf8f4c0aeb61498a81f91c5b7922f13
OS: Mac osx 10.9.2

Both the file that was attached as well as the file that I made opened fine in micsoft word 2007 on windows 7
Comment 2 aurimas.dev 2014-03-22 15:27:59 UTC
Created attachment 96202 [details]
.doc fiel created in Word 2007 that opens correctly in Word 2010
Comment 3 aurimas.dev 2014-03-22 15:28:45 UTC
You are right. This does not seem to affect Word 2007, but I have confirmed this on Word 2010 on Windows 7 and Windows XP.

It is possible that this is a bug in Word 2010, or that Word 2007 ignores some errors in the doc file, while Word 2010 does not. Can't say exactly which, but the same document created in Word 2007 (attached) opens correctly in Word 2010
Comment 4 aurimas.dev 2014-03-22 15:35:52 UTC
Created attachment 96203 [details]
.doc created in LO and re-saved with Word 2007

After re-saving the LO document via Word 2007, it opens correctly in Word 2010. Unfortunately, binary diff shows a large amount of changes, but this may be helpful nonetheless.
Comment 5 Jay Philips 2014-07-13 23:07:44 UTC
Dear Herouth,

Thank you for submitting the bug. I can confirm that attachment 94927 [details] doesnt load in word 2010 or 2013. Also confirmed that the doc created by 4.3.1 and master also doesnt work.

Did some further testing and see if i dont do step 2, word 2013 will load the document but the page will be blank (cant see footnote reference number) and unaccessible, except for the footnote text appearing at the bottom. So then i added a character before creating the footnote and still the page is blank and not accessible. If i did the last bit with step 3, the file again will not open.

Tried to create the test file in 3.3.0 and it froze when i tried to save it. Tried with 3.6.7 in doc 6.0, 95 and 97+ formats and all of them failed to open in word 2013.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.