Issue 75847 - WW8: HTML >> ODT >> DOC conversion produces invalid file; no valid paper format
Summary: WW8: HTML >> ODT >> DOC conversion produces invalid file; no valid paper format
Alias: None
Product: Writer
Classification: Application
Component: save-export (show other issues)
Version: OOo 2.1
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Keywords: needmoreinfo, oooqa
Depends on:
Reported: 2007-03-29 09:42 UTC by babadi
Modified: 2017-05-20 11:22 UTC (History)
2 users (show)

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

HTML input (27 bytes, text/html)
2007-03-30 03:51 UTC, babadi
no flags Details
ODT created by export (6.60 KB, application/vnd.oasis.opendocument.text)
2007-03-30 03:51 UTC, babadi
no flags Details
Resulting doc file that won't open in Word (100.00 KB, application/msword)
2007-03-30 03:52 UTC, babadi
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description babadi 2007-03-29 09:42:24 UTC
Converting from HTML to ODT to DOC yields a DOC file that will open in OOo but
not in MS Word or AbiWord.


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
Comment 1 kpalagin 2007-03-29 20:55:17 UTC
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.
Comment 2 babadi 2007-03-30 03:51:11 UTC
Created attachment 44035 [details]
HTML input
Comment 3 babadi 2007-03-30 03:51:37 UTC
Created attachment 44036 [details]
ODT created by export
Comment 4 babadi 2007-03-30 03:52:23 UTC
Created attachment 44037 [details]
Resulting doc file that won't open in Word
Comment 5 babadi 2007-03-30 03:56:13 UTC
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
Comment 6 kpalagin 2007-03-30 04:42:06 UTC
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.
Comment 7 babadi 2007-03-30 05:44:11 UTC
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?
Comment 8 michael.ruess 2007-03-30 10:33:39 UTC
MRU->HBRINKM: here is another quite save and easy way to reproduce the problem.
Open 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..
Comment 9 Marcus 2017-05-20 11:22:46 UTC
Reset assigne to the default "".