Issue 14613 - problem with pictures copied from msword, slash/backslash issue
Summary: problem with pictures copied from msword, slash/backslash issue
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: OOo 1.1 Beta
Hardware: PC Windows, all
: P3 Major with 3 votes (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
: 25289 45596 51156 54947 55451 56465 58957 75733 90374 124076 (view as issue list)
Depends on:
Blocks:
 
Reported: 2003-05-19 11:30 UTC by richlv
Modified: 2014-01-27 14:20 UTC (History)
4 users (show)

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


Attachments
XVID codec! to play a movie_ reproduction of bug (723.98 KB, video/x-msvideo)
2008-05-29 15:15 UTC, kolubinowicki
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description richlv 2003-05-19 11:30:43 UTC
given : 
windows 2000
msword with some .doc opened, some pics there (tested with msword 10/2002/xp)
oo.org writer with blank document

actions :
copy picture from msword.
paste it in oo.org writer.

result :
in win2k temp directory is usually located somewhere C:\Documents and 
Settings\<user>\Local Settings\Temp
when copying from msword, i guess, picture is saved in temporary location and 
pointer to that location is copied in clipboard. 

this pointer looks like "file:///C:
\DOCUME~1\<user>\LOCALS~1\Temp\msohtml1\01\clip_image002.gif" (at least with 
office xp on win2k)

in oo.org writer there is no picture - just graphics container with this url 
displayed. it is possible to get the writer display the picture by
a) replacing all backslashes with slashes
b) removing "file:///" from the beginning of graphics properties link field
Comment 1 mci 2003-09-19 15:56:21 UTC
reassigned to mru
Comment 2 michael.ruess 2003-09-22 08:50:06 UTC
MRU->ES: The HTML clipboad format des not work correctly (checked with
srx645 and sr680).
Comment 3 eric.savary 2003-10-23 16:33:51 UTC
ES->DVO: can we work around this *MS bug*?
Word 2000 sends to clipboard an URL with slashes -> Ok
Word 2002 sends to clipboard an URL with blackslashes -> bug!

We could do following:
if clipboard link begins with "file://" and conains "\" then replace
all "\" with "/"?
 
Comment 4 openoffice 2003-10-28 15:52:21 UTC
dvo: I agree it's an MS bug. We can probably offer a work-around, so
I've changed target to OOo 2.0; this way, this will get into the next
major version (if possible).
Comment 5 eric.savary 2004-02-10 10:18:40 UTC
*** Issue 25289 has been marked as a duplicate of this issue. ***
Comment 6 utomo99 2004-02-10 10:44:30 UTC
This also problem with word 2003. 
I hope we can reduce problems which user get by using OOo. 
Thanks
Comment 7 michael.ruess 2004-05-04 08:29:24 UTC
Re-targeted to "OO later".
Comment 8 eric.savary 2005-06-13 08:11:47 UTC
*** Issue 45596 has been marked as a duplicate of this issue. ***
Comment 9 eric.savary 2005-08-08 01:45:07 UTC
*** Issue 51156 has been marked as a duplicate of this issue. ***
Comment 10 eric.savary 2005-09-23 10:13:17 UTC
*** Issue 54947 has been marked as a duplicate of this issue. ***
Comment 11 eric.savary 2005-10-07 15:56:19 UTC
*** Issue 55451 has been marked as a duplicate of this issue. ***
Comment 12 vogella 2005-10-11 12:40:14 UTC
Any known workaround of this MS bug? This bug makes it difficult to interchange 
info from Word to OO and is been around quite a while now. Best regards, Lars
Comment 13 richlv 2005-10-11 12:47:32 UTC
well, as i mentioned in my (now 2.5 years old 8) ) post, you can manually fix 
picture after copying it :

a) replacing all backslashes with slashes
b) removing "file:///" from the beginning of graphics properties link field

now, as i haven't used windows for last 2 years, i can't think of anything else
 :)
Comment 14 eric.savary 2005-10-26 15:57:59 UTC
*** Issue 56465 has been marked as a duplicate of this issue. ***
Comment 15 eric.savary 2005-12-11 22:42:47 UTC
*** Issue 58957 has been marked as a duplicate of this issue. ***
Comment 16 eric.savary 2007-03-26 14:37:54 UTC
*** Issue 75733 has been marked as a duplicate of this issue. ***
Comment 17 kolubinowicki 2008-05-29 15:15:48 UTC
Created attachment 54058 [details]
XVID codec!  to play a movie_ reproduction of bug
Comment 18 michael.ruess 2008-06-05 08:05:31 UTC
*** Issue 90374 has been marked as a duplicate of this issue. ***
Comment 19 Rob Weir 2013-07-30 02:17:57 UTC
Reset assignee on issues not touched by assignee in more than 2000 days.
Comment 20 Rainer Bielefeld 2014-01-22 06:13:04 UTC
*** Issue 124076 has been marked as a duplicate of this issue. ***
Comment 21 Rainer Bielefeld 2014-01-22 06:19:10 UTC
WIN ALL due to comments and Bug 124076 

Status back to CONFIRMED because no assignee

I can't imagine why this one has been rated  "trivial"

In the DUPs list there also are some "Copy/Paste from IE" problem reports, I am not sure whether they really are related:
"Bug 58957 - Copy Paste from IE to OO Writer Text does not work well"
"Bug 51156 - Cannot copy and paste text and graphics from IE web page"
Comment 22 slacka 2014-01-27 14:20:49 UTC
With AOO 4.0

1) Paste normal:
Result - FAIL

2) Paste special (GDI)
Result - PASS

3) Paste special (Bitmap)
Result - FAIL 
nothing was pasted

4) Paste special (html)
Result - FAIL
same as 1)

Earlier posts indicated that it was a bug with forward and backslashes. It might also be that the paste detection code in Writer and Calc is broken since it is using the html format instead of GDI.