gaopeng wrote:
> hi ,
> I have some other questions about the openoffice clipboard : there are
> following :
> 1 : can anybody give some hints about the class CDOTransferable ,
> CAPNDataObject , DataFlavor .
CDOTransferable and CAPNDataObject are specifics of the Windows clipbard
service. DataFlavor is
a structure defined in offapi/com/sun/star/datatransfer/DataFlavor.idl
which contains a Mimetype,
a human readable name for the Mimetype and a data type in which the data
for the DataFlavor would be
transported from the clipboard (e.g. a string, a stream or a sequence of
bytes). The clipboard tells
which kind of data are available by presenting a list of DataFlavors.
> 2 : I want to know where some attributes of data copied store in the
> clipboard when we execute the copy/paste operator in the openoffice .
> e.g : I copy some words which font size is 10 in writer and then
> paste this content into a new place in this docuemnt , now I want to konw how
> to get the font size attribute the or where the font size was stored in
> clipboard when I execute the paste operator
Such information is inside the transported data. For example you could
transport font sizes with the
text/html mimetype since HTML has attributes to specify font sizes.
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]