问题描述
Hi,Imetaproblemaboutclipboard.IstoredaDataObjectwhoseformatisDataFormats.Htmlintothesystemclipboardandwantedtheothertexteditors(forexampleMSOffice,OpenOffice)couldpastethedataoutwithoriginalformat.ThefollowingisasampledataintheclipboardwhenICtrl+CdatafromMSOutlook:Version:1.0rnStartHTML:000000184rnEndHTML:000000472rnStartFragment:000000334rnEndFragment:000000436rnStartSelection:000000334rnEndSelection:000000436rnSourceURL:mhtml:mid://00000882/rn<!DOCTYPEHTMLPUBLIC"-//W3C//DTDHTML4.0Transitional//EN">rnrn<HTML><HEAD>rn<STYLE></STYLE>rn</HEAD>rnrn<BODYbgColor=#ffffff><!--StartFragment--><DIV>Thisisnormal<>Thisisbold</B><I><B>Thisisbolditalic</B>Thisrnisitalic</I></DIV><!--EndFragment--></BODY>rn</HTML>rnStartHTML,EndHTML,StartFragment,EndFragmentvalueinthesampledataDONOTobeytherule.
解决方案
解决方案二:
Sorry!Ican'tunderstandyourmeans!Clipboadisveryuseful,sotthink,youhavesomemistakes!