dbremner / aeroshot

Automatically exported from code.google.com/p/aeroshot
0 stars 0 forks source link

Copy to clipboard #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
It would be nice to have a copy to clipboard option for pasting into e.g. Word.

Original issue reported on code.google.com by benpmor...@gmail.com on 21 Sep 2011 at 2:47

GoogleCodeExporter commented 8 years ago
The attached patch seems to mostly work for me - note that it doesn't include 
any UI changes, it just copies it to the clipboard as well.

It puts transparent PNG and white-backed bitmap on the clipboard; which is used 
depends on the program it pastes into. Office 2010 seems to use the transparent 
png; paint uses the white-backed bitmap.

I based the code on the following article which notes the difficulty of 
transparent images on the clipboard:
http://www.notesoncode.com/articles/2010/08/16/HandlingTransparentImagesOnTheCli
pboardIsForSomeReasonHard.aspx

Original comment by benpmor...@gmail.com on 22 Sep 2011 at 12:32

Attachments:

GoogleCodeExporter commented 8 years ago
Sorry, haven't been keeping track of the project and just checked the tracker. 
This sounds like a useful idea, I'll try to implement it into the SVN with UI 
changes when I get time.

Original comment by comcal...@gmail.com on 8 Nov 2011 at 1:11

GoogleCodeExporter commented 8 years ago
Thanks for the suggestion and patch, committed in revision 33 :)

Original comment by comcal...@gmail.com on 30 Dec 2011 at 6:37

GoogleCodeExporter commented 8 years ago

Original comment by comcal...@gmail.com on 20 Oct 2012 at 6:14