Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing
|Summary:||WW8: MS Word 2003 crash when opening exported writer document (tables)|
|Component:||save-export||Assignee:||AOO issues mailing list <issues>|
|Status:||CONFIRMED ---||QA Contact:|
|Priority:||P2||CC:||gipsonp, issues, mattfewins, sorcanju|
|Issue Type:||DEFECT||Latest Confirmation in:||---|
Description muddle 2008-11-18 10:31:07 UTC
Microsoft Word 2003 (SP2, running on WinXP SP3 32bit), crashes when opening attached document exported from Writer in "Microsoft Word 97/2000/XP" format. When exporting the document in "Microsoft Word 95" format, there are no issues in Microsoft Word 2003 - the document is opened without problems.
Comment 1 muddle 2008-11-18 10:33:14 UTC
Created attachment 58079 [details] OO-File: Word 2003 crash when exported in Word 97/2000/XP format
Comment 2 muddle 2008-11-18 10:34:10 UTC
Created attachment 58080 [details] Exported OO-File in Word 97/2000/XP format, causes crash of Word 2003
Comment 3 eric.savary 2008-11-18 16:05:56 UTC
Well, when aanother program crashes opening document OOo produced (even if it is the other program's format) it shows a bug in this program. Not it OOo. But let's see what the experts say...
Comment 4 michael.ruess 2008-11-18 16:10:09 UTC
MRU->AMA: could you please have a look whether this is the same root cause as issue 95533?
Comment 5 muddle 2008-11-18 16:26:21 UTC
@mru: It is _not_ OOo that crashes when exporting the file! Rather, Microsoft Word 2003 crashes when trying to open the exported .doc file.
Comment 6 andreas.martens 2008-11-26 15:32:53 UTC
ama->hbrinkm: Please have a look...
Comment 7 hagar_de_lest 2009-02-05 12:37:08 UTC
I confirm that under W2k and OOo 3.0.1, files with tables and done with a previous version (not sure if OOo 3.0.0 is included or not) make MS Word (2003) crash/hang, trying to repaginate the document. Tried the following: - open a .odt made with 2.4.x with 3.0.1 (with lots of tables) - save as .doc - open with MS Word 2003 -> crash - open that same .odt with 2.4.1 and save as .doc - open with MS Word 2003 -> OK. Tried to reproduce by making a sample file with 2.4.1 then opening it with 3.0.1 and saving as .doc but can't reproduce that. Some specific formatting of tables may trigger that.
Comment 8 paulgipson 2009-02-07 14:26:44 UTC
This issue has similarities to http://www.openoffice.org/issues/show_bug.cgi? id=98962, although in that issue it is OOO 3.0.1 that crashes when trying to re- open the exported doc file that OOO 3.0.1 created. That issue also involves the exporting of tables.
Comment 9 wbse 2009-02-16 17:45:08 UTC
I think its an OpenOffice table exporter bug (only in 3.0.1). When I export a document with a table, the exporter decrease the first column width with the size of left spacing. If the left spacing is negative, then column size is decreased... If the left spacing of table is more than first column, then Word crash when opening it. OO.o only cut that column.
Comment 10 jensriis 2009-02-17 00:17:54 UTC
When saving in doc format and reopening in 3.0.1 the tables do not maintain their size but changes when reopened and in some cases even ends up with parts outside the page. When saving same document in odt this is not the case.
Comment 11 domingo_sgv 2009-02-20 10:35:35 UTC
Microsoft Word 2000 and Microsoft Word XP, crashes soever when opening exported documents from Writer in "Microsoft Word 97/2000/XP" format after 3.0.1 upgrade The Problem remain under DEV300m41. Please this is a serious interoperability Problem.
Comment 12 sirmatto 2009-02-23 22:34:03 UTC
I can confirm this happening to me with OpenOffice 3.0.1 and Word 2003. With me, however, the exported .docs don't crash Word, they just have severely distorted tables. The test case that muddle uploaded neither crashes Word nor causes distortion after resaving within OpenOffice 3.0.1. The .doc I am uploaded does cause distortion, but no crash, after resaved within OpenOffice. As a partial workaround, I have had some success exporting a file with a table from OpenOffice to WordML, opening in Word 2003 and saving as .doc, although some formatting doesn't carry over, but it is essentially the same table. Sometimes though, Word throws the error: "Ambiguous cell mapping encountered. Possible missing paragraph element. <p> elements are required before every </tc>" In which case, it seems you are out of luck.
Comment 13 sirmatto 2009-02-23 22:36:14 UTC
Created attachment 60412 [details] Somewhat complex Word 2003 table that corrupts after resaving in OO 3.0.1
Comment 14 paulslocum 2009-03-18 20:40:52 UTC
My tables just seem to disappear in Word format. OO 3.0.1, Win XP SP2
Comment 15 theradio 2009-03-26 19:31:29 UTC
Found a way to reproduce : create a ODT doc, create a table with 3 columns and shift the left side of the first column to the right, then export to Word 97/2000/XP : Word will crash If the first column is not shifted, everything is ok. (attached tableCrashWhenExported.zip contains tableOK.odt and tableBAD.odt)
Comment 16 theradio 2009-03-26 19:33:07 UTC
Created attachment 61216 [details] tableOK is exported without problem, tableBAD crashes word when exported to Word97/2000/XP
Comment 17 majukr05 2009-05-06 11:15:36 UTC
I've tried out the two 'crash samples' with OOo 3.1.0 RC2 (WinXP). (1) OO-File: Word 2003 crash when exported in Word 97/2000/XP format (application/vnd.oasis.opendocument.text) - by muddle (2) tableOK is exported without problem, tableBAD crashes word when exported to Word97/2000/XP (text/plain) - by theradio - Saved as .odt [in OOo 3.1.0] - Saved as .doc (MS Word 97/2000/XP) [in OOo 3.1.0] Not any crash when I open the .doc files in MS Word 2000 or the current MS Word Viewer.
Comment 18 gibi 2009-05-31 18:08:00 UTC
Tests with OOo 3.1.0 Win XP: Table Test.doc : saved in odt ok, saved again in .doc, opened with Word2003: no more crash but background colors are not rendered by Word. Reopened with 3.1.0: rendering is ok. Testcase_Word2003-Crash.odt saved in doc, opened with Word2003: no more crash and rendering is perfect in Word. TableBAD.odt (from tableCrashWhenExported.zip) saved in doc, opened with Word2003: no more crash but the left position of the table is not correct in Word. If I was sure that there are other issues about this new behaviour I would propose to close this one but ...
Comment 19 hagar_de_lest 2009-08-28 12:27:16 UTC
Some experiments with 3.1.1: Making a document based on a template (made in Oct. 2008) and then exporting it in .doc: MS Word 2003 can't edit pages after first one if both a table in main text and in footer. See attachment. Making a document based on a template (made at same time, Oct. 2008) but without tables in the template: export works fine, even if both tables in main text and footer. It seems there is a trouble with tables made with previous versions of OOo when exported to .doc format.
Comment 20 hagar_de_lest 2009-08-28 12:29:03 UTC
Created attachment 64425 [details] File from old template with tables in footer and main text