Issue 18690 - HTML table inport does not export to MsWord
Summary: HTML table inport does not export to MsWord
Status: CLOSED DUPLICATE of issue 18009
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: OOo 1.1 RC2
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: h.ilter
QA Contact: issues@sw
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-26 15:01 UTC by teledyn
Modified: 2004-03-18 15:27 UTC (History)
1 user (show)

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


Attachments
XHTML tables generated by a transform of an XMI file (25.90 KB, text/html)
2003-08-26 15:03 UTC, teledyn
no flags Details
XHTML tables generated by a transform of an XMI file (2.49 KB, text/html)
2003-08-26 15:07 UTC, teledyn
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description teledyn 2003-08-26 15:01:52 UTC
Importing the attached HTML table renders fine in SXW files and can be saved and
reloaded without change, but if that same SXW is exported to MsWord (any
version) the table width becomes many times the width of the page and illegible.

Also, if you insert an HTML file without first selecting the HTML type in the
Open File dialog, the file is loaded verbatim as ASCII; if you select HTML, it
becomes interpreted as markup.

The only work-around for the Word doc problem is an ugly partial fix: 
1. Open a new blank text document
2. Insert/File selecting HTML format and insert the HTML file
3. SaveAs RTF format
4. Open the target document
5. Insert/File selecting RTF and insert the file from (3)
6. SaveAs msWord/XP

The result still overflows the print-column slightly and it is ugly as sin but
it works enough that the result is legible.  In my situation here, this
work-around is very tedious because I have dozens of HTML pages from a UML
application and need to update the HTML then re-insert into the DOC file for my
clients -- I have been unable to find any html2rtf program that handles tables,
so the only application that can do this stage is OOo, and that process can't be
automated (or can it?  I suppose there must be a way to write a macro!)

Since this form does not permit attachments, I will follow-up with an attachment
sample of XHTML generated by a transform of a UML XMI 1.2 file.
Comment 1 teledyn 2003-08-26 15:03:34 UTC
Created attachment 8783 [details]
XHTML tables generated by a transform of an XMI file
Comment 2 teledyn 2003-08-26 15:07:55 UTC
Created attachment 8784 [details]
XHTML tables generated by a transform of an XMI file
Comment 3 teledyn 2003-08-27 14:40:38 UTC
Oops ... my mistake -- this is a duplicate of 18009

*** This issue has been marked as a duplicate of 18009 ***
Comment 4 h.ilter 2004-03-18 15:27:51 UTC
.