gaopeng wrote:
>  I know the font size of content copied is include in the html source code 
> when we copy some html content . but I want
> to know another case : 
> e.g . if we copy some text which have some special attributes , such as : 
> font size , font type , font color etc. I want to know 
> except for the text data , where these attributs stored in the clipboard?
> Does the attributes and text data stored  in two defferent position or one 
> positin in clipboard ? 

Sorry, there is no other case. The clipboard does not know about the
contents of the data it transports.
It just knows a set of data bundles (consider them just a nondescript
string of bytes, because for the
clipboard they are nothing more) and for each of these data bundles it
knows a mimetype that these
data are supposed to conform to. Inside these data there may be font
information, if the mimetype
supports it, but the clipboard does not know about any attributes of the
contained data. Only the one
who puts the data into the clipboard and the one taking it from the
clipboard can know such, because
they actually interpret the data according to their mimetype.

But allow me one question: what is the problem you are trying to solve ?
If we understand what you
want to do, we could actually help you better.

Kind regards, pl

-- 
If you give someone a program, you will frustrate them for a day;
if you teach them how to program, you will frustrate them for a lifetime.
     -- Author unknown

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to