Bug 59770 - TABLE Writer pastes Word table in HTML format
Summary: TABLE Writer pastes Word table in HTML format
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.0.1.2 release
Hardware: Other All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-23 17:04 UTC by Urmas
Modified: 2018-07-31 19:50 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
A random table (19.00 KB, application/msword)
2013-02-14 15:26 UTC, Urmas
Details
RTF Clipboard contents from Word 2003 (4.43 KB, text/rtf)
2013-02-14 15:32 UTC, Urmas
Details
Screenshot Mac OSX 10.8.2 (234.82 KB, image/png)
2013-03-04 22:39 UTC, Jorendc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Urmas 2013-01-23 17:04:38 UTC
1. Copy any fragment of a table from Word 2003;
2. Paste in into Writer master;

The table is pasted in HTML format, as it has fugly large 3d borders and NPSPs in empty cells.

The explicit Paste Special/"Formatted text [RTF]" pastes a table normally.
Comment 1 Florian Reisinger 2013-01-26 14:23:04 UTC
Can't confirm @ Win7 x64 with toda's master and table copied from Word 2010
Comment 2 Rainer Bielefeld Retired 2013-02-14 13:04:44 UTC
Situation here similar to Florian's results. Copy/Paste from WORD MSO2010 to LibO 4.1 Master shows some smaller differences like unexpected nonptintable characters in the table, but the result looks much more similar to the source than I would expect after Urmas' original report.

@Urmas
May be we can reproduce with WORD2010 at least some of your observations if you contribute a WORD sample source document and a .odt with your results, can you please attach these documents?
Comment 3 Urmas 2013-02-14 15:26:12 UTC
Created attachment 74823 [details]
A random table
Comment 4 Urmas 2013-02-14 15:32:29 UTC
Created attachment 74825 [details]
RTF Clipboard contents from Word 2003
Comment 5 Jorendc 2013-03-04 22:37:37 UTC
I opened attached document (A random table) using Word for Mac 2011 on my Mac OSX 10.8.2. When I select the table, copy/paste it in LibreOffice 4.0.1.2 (Build ID: 84102822e3d61eb989ddd325abf1ac077904985)
TinderBox: MacOSX TDF Release, Branch:libreoffice-4-0, Time: 2013-02-27_17:15:43

I even got a weirder behavior: the pasted table is to big (approximate double high, but a bit shorter in width). Also there are several comments added to the document, with XML in it. (see screenshot)

First comment:
<!--[if gte mso 9]><xml>
 <o:OfficeDocumentSettings>
  <o:AllowPNG/>
 </o:OfficeDocumentSettings>
</xml><![endif]-->

Copy the table to Version 4.1.0.0.alpha0+ (Build ID: 5fcb553c862d407aadb0320925723d3c2f70bfe)
TinderBox: MacOSX-Intel@1-built_no-moz_on_10.6.8, Branch:master, Time: 2013-02-26_22:56:53 result in same behavior.

I mark it as NEW
Minor: does make it substantially harder to create high quality work
Medium: standard priority for minor-bugs
Comment 6 Jorendc 2013-03-04 22:39:52 UTC
Created attachment 75924 [details]
Screenshot Mac OSX 10.8.2
Comment 7 QA Administrators 2015-04-19 03:21:50 UTC Comment hidden (obsolete)
Comment 8 QA Administrators 2016-09-20 09:24:27 UTC Comment hidden (obsolete)
Comment 9 Roman Kuznetsov 2018-07-31 19:50:09 UTC
don't confirm for

Version: 6.1.0.2 (x64)
Build ID: b3972dcf1284967612d5ee04fea9d15bcf0cc106
CPU threads: 4; OS: Windows 10.0; UI render: GL; 
Locale: ru-RU (ru_RU); Calc: CL

table inserts fine, without any comments or big size

Status-> WFM