문제

I doing some formatting from copy/paste. When I copy a table from Word, and I want to insert it in my program, I need to edit the table formatting to show the info like I want.

When I copy from word I can view whats copy in clipboard magic:

enter image description here

Is there a way to get the formatting, or do I need to create a new table for scratch with the data listed in clipboard magic?

I Clipdiary the "copy" is read as HTML

enter image description here

This makes me wounder, is it possible to get the html code?

도움이 되었습니까?

해결책

Yes, the HTML is present as CF_HTML. See reference on MSDN: http://msdn.microsoft.com/en-us/library/aa767917(v=vs.85).aspx

If you just want to SEE it, ClipMate has a Binary display that will show you a binary dump of the data. It's available in the trial version. If you don't see the Binary tab in the display window, turn it on in the Tools | Options | Editor dialog.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top