Issue 78737

Summary: Copy from a web page table does not work as expected
Product: Writer Reporter: mike_hall <mike.hall>
Component: editingAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues
Version: OOo 2.2.1   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Latest Confirmation in: ---
Developer Difficulty: ---

Description mike_hall 2007-06-21 08:06:35 UTC
Select and copy a table plus some other text on a web page. Paste into Writer,
text and table appear as expected. Also works correctly if beginning or end of a
table plus some text is pasted.
Select and copy only the table or part of a table and paste into Writer, the
table does not appear (text paragraphs only whatever paste choice is selected).
Pasting same clipboard into Calc works as expected.
Thus, it is not possible to copy a middle part of a large table into Writer and
retain table format. There is then no easy way of creating the desired table in
Writer.
Comment 1 michael.ruess 2007-06-21 09:55:39 UTC
Reassigned to ES.
Comment 2 eric.savary 2007-06-21 11:25:33 UTC
It's due to the fact that a table starts beeing graphically visible after being
defined with <table>.

If you select a few rows only inside of the table, the clipboard misses the
<table></table> tags copies just text.

So you need to copy a little bit before and after the table to get the table.

It happens the same in MS Word.

Calc has a table structure and adjust the spaces between the HTML cells to its
own cells but doesn't actually recognize the clipboard content ass an HTML table.

Comment 3 eric.savary 2007-06-21 11:25:48 UTC
closed
Comment 4 mike_hall 2007-06-21 12:30:00 UTC
Thanks for the response, but I don't agree with the issue being closed. I
understand about table tags, which is why I tried copying the start and finish
of the table (which works). But I don't understand why Writer can't check for
the <tr><td> etc tags, which is presumably how Calc does it, and render a table
if they are found. Wouldn't it be nice for Writer to do something else better
than Word!
This is a real world problem when an unsophisticated user needs to copy and
paste the central part of a large web table. It's intuitive to expect it to
create a table in Writer. I don't expect her to understand about html tags and I
don't see why it should be necessary for her to need to copy past the start or
finish of the table to get just the small bits she needs.
Have reopened, but will listen carefully to your response.
Comment 5 eric.savary 2007-06-21 15:08:07 UTC
Reassigned to Requirements