To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=60445
Issue #:|60445
Summary:|Clipboard paste issue with images from vs.net
Component:|Word processor
Version:|OOo 2.0.1
Platform:|All
URL:|
OS/Version:|Windows XP
Status:|UNCONFIRMED
Status whiteboard:|
Keywords:|
Resolution:|
Issue type:|DEFECT
Priority:|P3
Subcomponent:|code
Assigned to:|mru
Reported by:|sebcrabbe
------- Additional comments from [EMAIL PROTECTED] Thu Jan 12 06:15:06 -0800
2006 -------
Images copied to the clipboard from vs.net 1.1 & 2.0 programs cannot be copied
into Open Office Programs as the paste icon or paste special icons do not
appear. The code from Visual studio 2005 is thus:
Dim bmp2 As System.Drawing.Bitmap = bmp
'bmp is another bitmap object already in existence
Clipboard.SetImage(bmp2)
'setImage takes an image object which bitmap inherits from
'another way of pasting to clipboard also does'nt work
Dim dataObj As DataObject = New DataObject
dataObj.SetData(DataFormats.Bitmap, True, bmp)
'dataformats.bitmap is "CF_BITMAP" according to MSDN
Clipboard.SetDataObject(dataObj, True)
The above code will place the image onto the clipboard and it is retrievable by
other programs (such as Adobe Photoshop, wordpad, corel draw, MS office etc.)
just not open office. When other formats are copied onto the clipboard such as
CF_HTML of CF_TEXT it works fine just not images.
from interrogating the clipboard at runtime (using the code below) it appears
to have copied two items to the clipboard, A System.Drawing.Bitmap followed by
a Bitmap. Not sure if that's relevant or not.
Dim o As DataObject = Clipboard.GetDataObject
Dim s As String
For Each s In o.GetFormats
MsgBox(s)
Next
sorry it's not much to go on but it would be a great help if it could get fixed
as it's getting annoying copying the image into painbrush then recopying it to
the clipboard
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]