Issue 118435 - Openoffice removes footnotes when opening MS-Word(.doc)-File.
Summary: Openoffice removes footnotes when opening MS-Word(.doc)-File.
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: open-import (show other issues)
Version: OOo 3.3
Hardware: All All
: P2 Major (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: ms_interoperability
Depends on:
Blocks:
 
Reported: 2011-08-28 08:36 UTC by jbeck
Modified: 2013-08-13 09:29 UTC (History)
8 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---
jsc: 3.4_release_blocker-


Attachments
Test File to see Bug (82.04 KB, application/msword)
2011-08-28 08:36 UTC, jbeck
no flags Details
Footnote appears at bottom of page in MS Word (22.50 KB, application/msword)
2012-02-11 16:13 UTC, Joe
no flags Details
Footnote appears after section in MS Word 2002 (22.50 KB, application/msword)
2012-02-11 16:14 UTC, Joe
no flags Details
Footnote appears at bottom of page in MS Word 2010 (15.53 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2012-02-11 16:14 UTC, Joe
no flags Details
Footnote appears after section in MS Word 2010 (15.72 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2012-02-11 16:15 UTC, Joe
no flags Details
Footnote appears after section and at end of page in MS Word 2012 (15.71 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2012-02-11 16:16 UTC, Joe
no flags Details
Word 2007 vs. Writer 4.0 (20.67 KB, image/jpeg)
2013-08-13 09:28 UTC, Edwin Sharp
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description jbeck 2011-08-28 08:36:08 UTC
Created attachment 76777 [details]
Test File to see Bug

When opening the attached Demo-File with MS-Word you see 2 footnates (correct).
When opening the same file with Openoffice, no Footnotes are there (wrong).
Openoffice removes both footnotes when opening this MS-Word(.doc)-File.

The removed Footnote 2 (of the attached demo-File) is inside the main-text (where openoffice supports footnotes).
There is no valid reason, why Footnote 2 is removed by openoffice.

Footnote 1 is in a Textframe (where openoffice does not support footnotes).
I understand that this is a problem. But just deleting the footnote doesn't seem to be the right solution for this problem!
The MS-converter solves this by moving the frame-content into the main-text.
An other solution would be to move the footnote-content inside the textframe.

As already mentioned, Footnote 2 is not in a Textframe, its at a valid position! And still this one is removed too.

Sidenote: The fact that openoffice does not support footnotes in text-frame should be considered as bug too (in my oppinion). Microsoft's office can do it! Why can't oppenoffice do it?
Comment 1 Joe 2012-02-11 16:11:36 UTC
Writer Version: DEV300m106 (Build:9582)

I evaluated this bug on Windows 7 in Writer DEV300m106 (Build:9582).  This is a newer version than where this bug was initially reported.  I created two documents in MS Word 2002 SP3, and three documents in MS Word 2010 
(14.0.6106.5005) to use for evaluating this bug.

In this evaluation, the footnotes import into Writer with a formatting issue.


MS Word 2002 SP3 Documents
When Writer opens FootnoteAtPageBottomTest.doc, the footnotes are placed at the bottom of the page.  This is expected.

When Writer opens FootnoteBelowTextText.doc, the footnotes are placed at the bottom of the page.  In MS Word 2002 SP3, these footnotes are placed below the text by selecting this as the location in the Footnotes and Endnotes dialog.



MS Word 2010 Documents
When Writer opens FootnotesAtBottomOfPage.docx, the footnotes are placed at the bottom of the page.  The first footnote appears vertically aligned at the top; the second footnote appears vertically aligned at the center.

When Writer opens FootnotesAfterText.docx, the footnotes are placed at the top of the succeeding page.  Note that the footnotes were created in MS Word 2010 as endnotes and placed at the end of the section text.  The format of both 
footnotes in Writer is the same as described for FootnotesAtBottomOfPage.docx.

When Writer opens FootnotesAtBothPlaces.docx, the placement is consistent with the previous descriptions.  The first footnote appears at the bottom of the page, and the second footnote (created as an endnote in MS Word) appears at the 
top of the succeeding page.



Using Writer
I experimented with footnotes and endnotes in Writer.  I added two footnotes and they appeared at the bottom of the page without vertical alignment issues.  I added an endnote and it was added to the succeeding page.  If the definition of an endnote in Writer is to place endnotes at the end of the document, then the import of FootnotesAfterText.docx may not interpret how Word describes the location of endnotes in its documents.



User Impact
The primary user impact is the endnote.  If an author of a MS Word document intends to place endnotes in a section of text and Writer imports those endnotes to the end of the document, some context or reference in the document is lost or confusing for the Writer user.
Comment 2 Joe 2012-02-11 16:13:22 UTC
Created attachment 77206 [details]
Footnote appears at bottom of page in MS Word
Comment 3 Joe 2012-02-11 16:14:19 UTC
Created attachment 77207 [details]
Footnote appears after section in MS Word 2002
Comment 4 Joe 2012-02-11 16:14:56 UTC
Created attachment 77208 [details]
Footnote appears at bottom of page in MS Word 2010
Comment 5 Joe 2012-02-11 16:15:27 UTC
Created attachment 77209 [details]
Footnote appears after section in MS Word 2010
Comment 6 Joe 2012-02-11 16:16:01 UTC
Created attachment 77210 [details]
Footnote appears after section and at end of page in MS Word 2012
Comment 7 Joe 2012-02-11 18:30:57 UTC
Writer Version: OOO330m20 (Build:9567)
I downloaded the version where this bug was originally discovered and verified that the footnotes in test.doc do not appear in Writer (they do appear in Word Starter 2010).  I also evaluated behavior of Writer with the files uploaded for my initial comment.

For all of these documents, both MS word 2002 SP3 and MS Word 2010, the footnotes appear.

MS Word 2002 SP3
The footnotes appear at the end of the page in Writer when added at the end of the page in MS Word 2002 SP3.  The footnotes added to the end of the text in MS Word 2002 SP3 appear at the end of the page in Writer.

MS Word 2010
The behavior of Writer 3.3 matched the behavior of Writer 3.4 however the vertical alignment issue was not observed.
Comment 8 Joe 2012-02-11 18:33:36 UTC
(In reply to comment #1)
> Writer Version: DEV300m106 (Build:9582)
> 
> I evaluated this bug on Windows 7 in Writer DEV300m106 (Build:9582).  This is a
> newer version than where this bug was initially reported.  I created two
> documents in MS Word 2002 SP3, and three documents in MS Word 2010 
> (14.0.6106.5005) to use for evaluating this bug.
> 
> In this evaluation, the footnotes import into Writer with a formatting issue.
> 
> 
> MS Word 2002 SP3 Documents
> When Writer opens FootnoteAtPageBottomTest.doc, the footnotes are placed at the
> bottom of the page.  This is expected.
> 
> When Writer opens FootnoteBelowTextText.doc, the footnotes are placed at the
> bottom of the page.  In MS Word 2002 SP3, these footnotes are placed below the
> text by selecting this as the location in the Footnotes and Endnotes dialog.
> 
> 
> 
> MS Word 2010 Documents
> When Writer opens FootnotesAtBottomOfPage.docx, the footnotes are placed at the
> bottom of the page.  The first footnote appears vertically aligned at the top;
> the second footnote appears vertically aligned at the center.
> 
> When Writer opens FootnotesAfterText.docx, the footnotes are placed at the top
> of the succeeding page.  Note that the footnotes were created in MS Word 2010
> as endnotes and placed at the end of the section text.  The format of both 
> footnotes in Writer is the same as described for FootnotesAtBottomOfPage.docx.
> 
> When Writer opens FootnotesAtBothPlaces.docx, the placement is consistent with
> the previous descriptions.  The first footnote appears at the bottom of the
> page, and the second footnote (created as an endnote in MS Word) appears at the 
> top of the succeeding page.
> 
> 
> 
> Using Writer
> I experimented with footnotes and endnotes in Writer.  I added two footnotes
> and they appeared at the bottom of the page without vertical alignment issues. 
> I added an endnote and it was added to the succeeding page.  If the definition
> of an endnote in Writer is to place endnotes at the end of the document, then
> the import of FootnotesAfterText.docx may not interpret how Word describes the
> location of endnotes in its documents.
> 
> 
> 
> User Impact
> The primary user impact is the endnote.  If an author of a MS Word document
> intends to place endnotes in a section of text and Writer imports those
> endnotes to the end of the document, some context or reference in the document
> is lost or confusing for the Writer user.

I verified the bug in Writer Version: DEV300m106 (Build:9582).  The footnotes do not appear when importing Test.doc.
Comment 9 Cem Kaner 2012-02-16 23:22:44 UTC
Replicated on OOo 3.4. The issue that I notice is that in MSWord, I can create a document with two text frames on the same page and put footnotes in each. However, if I create a two-frame document from the same template (no footnotes yet), import it into OOo and then add footnotes, I can add a footnote to the frame that OOo interprets as the outer frame, but not to the frame that OOo interprets as a frame inside the outer frame.

I think this is a minor inconsistency between word and writer. Even though I use frames for my lab's letterhead, I am not surprised or disappointed at this incompatibility.

- cem kaner
Comment 10 jsc 2012-03-01 16:08:57 UTC
no show stopper issue, change "3.4_release_blocker" flag
Comment 11 Marcus 2012-03-03 12:25:35 UTC
this issue is no P1
Comment 12 Manish 2012-10-01 04:44:56 UTC
Open Office version :3.4.1 Developer Snapshot
Operating System: Windows 7
Ms-Office Used to test : MS- Office 2010 

Bug Description : End Note added in MS-office 2010 and when saved in .doc format and then opened in Ooo . the End noted became the first line of the next page in Ooo which is a bug.

Successfully replicated the bug on 3.4.1 open office org
Steps to reproduce :

1. Create a sample.doc file with a simple text line and then add end note to that doc.
2. Save the doc in Windows 97-2003 document
3. open the same doc in Open office.

This bugs is important as all the end notes added are becoming the first line of the next pages, this would create problem with doc alignment and further problem with standards like IEEE etc.

Manish
09/30/2012
Comment 13 Amit Sahu 2012-10-22 05:51:18 UTC
Bug Id: 11845
Title: OpenOffice removes footnotes when opening MS-Word(.doc)-File.

Open Office version :3.4.1 Developer Snapshot build 9582
Operating System: Windows 7 32-bit
Software Used: Microsoft Word 2007.

When a file is opened in above mentioned version of open office writer, the footnote which were added to file (created in MS Word), shifted to the first line in next page.

In order to reproduce the bug, a file footnote.docx was created in MS Word 2007. It was saved as MS Word(97-2003) file with .doc extension as Open office doesn't support .docx format. A  footnote was added to the file. When the file was opened in Open office, the footnote shifted to the bottom of next page.

This bug can have impact on users at time when they have to open a .doc file in Open Office and a footnote is included, as it would affect the structure of the whole document.
Comment 14 Alexander Troshchenko 2013-06-13 01:58:55 UTC
Writer Version: AOO341m1 (Build: 9593) Rev. 1372282

Used "Test File to see Bug" and the same document made in MS Office 2010 14.0.6023.1000. 

For the file made in MS Office - Saved 3 footnotes, 3 footnotes appeared. 
For the test-file attached - No footnotes appeared in Writer. 
For the test-file attached - Tried to open in Google Docs - didn't open, crash.
Also tried to open in the latest version of Libre Office - crashed.


I believe that the problem is in the way specific MS Office versions save the file. If the newest version save it fine, it doesn't crash anywhere, but for the test file it doesn't show correctly in Writer, and doesn't even open in latest version of LibreOffice and Google Docs. Maybe this issue is not an actual bug of open-office. 

I also found several other cases, when OpenOffice looses some data. For example the following bug: 122452.

Maybe OpenOffice handles corrupted data and just ignores the corrupted chunks.
Comment 15 Edwin Sharp 2013-08-13 09:28:27 UTC
Created attachment 81325 [details]
Word 2007 vs. Writer 4.0
Comment 16 Edwin Sharp 2013-08-13 09:29:16 UTC
See attachment 81325 [details].

Rev. 1507307