Apache OpenOffice (AOO) Bugzilla – Issue 75847
WW8: HTML >> ODT >> DOC conversion produces invalid file; no valid paper format
Last modified: 2017-05-20 11:22:46 UTC
Converting from HTML to ODT to DOC yields a DOC file that will open in OOo but not in MS Word or AbiWord. Steps: 1. Open HTML file in OOo. 2. File >> Export >> export file in ODT format. 3. Close and re-open the ODT file. 4. File >> Save As >> choose a DOC format (MS Word 97, 95 or 6.0) 5. Try to open DOC file in MS Word or AbiWord. Converting an HTML file to DOC from a script using pyuno also generates an invalid DOC file. Reproduced on: OOo 2.1, Debian Sarge & Mac OS X 10.4 OOo 2.0.4, Debian Sarge MS Word 2004, Mac OS X 10.4 MS Word 2000, Windows XP AbiWord 2.2, Debian Sarge
Can't repro with OO2.2 on WinXP. Please try version 2.2 and if you still see the issue, provide HTML or odt or doc file that exhibits the problem.
Created attachment 44035 [details] HTML input
Created attachment 44036 [details] ODT created by export
Created attachment 44037 [details] Resulting doc file that won't open in Word
Thanks for your reply. I upgraded to OOo 2.2 on Linux, did an HTML >> ODT >> DOC conversion, and tried to open the DOC in Word 2000 (WinXP) and Word 2004 (Mac). The same issue occurred. I have attached a sample set of files. Regards
I can confirm that your .doc does not open well in Word2003 (and opens just fine in Writer), but I can't create such file myself following your steps. Please upgrade to 2.2 and see if you experience this problem.
I did upgrade to OOo 2.2; the problematic .doc file I provided was created with OOo 2.2 on Linux. You mentioned that you were running XP; not sure if the issue could be Linux-specific?
MRU->HBRINKM: here is another quite save and easy way to reproduce the problem. Open http://www.mopo.de in OO Writer/Web. Export this to odt format and reload. Then export it to WW8 format and open in WinWord. Writer has a problem exporting the correct page sizes to WW8 format; no paper fprmat will be displayed in WW..
Reset assigne to the default "issues@openoffice.apache.org".