I am a little puzzled - what do you actually copy into the system
clipboard before?
If you just open a Web Browser and copy text there - well, it /is/ just
plain text then.
If you open the sourcecode view in your browser, and copy it there -
then plaintext is the same as HTML content, isn't it??
/philipp
ZhangJunjing@gmail.com schrieb:
> by doing the following, we can only get the plain text form without
> html
[quoted text clipped - 15 lines]
> static String javaRemoteObjectMimeType
> static String javaSerializedObjectMimeType
Larry Barowski - 20 Apr 2006 14:28 GMT
>I am a little puzzled - what do you actually copy into the system clipboard
>before?
>
> If you just open a Web Browser and copy text there - well, it /is/ just
> plain text then.
It depends on the browser. Generally it will be plain text
and RTF. If you want the formatting, use the RTF. Look
for DataFlavors with MIME type "text/enriched",
"text/richtext", and "text/rtf".
Philipp Leitner - 20 Apr 2006 14:39 GMT
OK, I did not know that. Anyway, I guess it will almost never be HTML
content.
/philipp
Larry Barowski schrieb:
>> I am a little puzzled - what do you actually copy into the system clipboard
>> before?
[quoted text clipped - 6 lines]
> for DataFlavors with MIME type "text/enriched",
> "text/richtext", and "text/rtf".