PasteHTML |
Top Previous Next |
|
Pastes HTML from the Clipboard to rve (if available) Unit RichViewActions. procedure PasteHTML(rve: TCustomRichViewEdit); This procedure is available only if RvHtmlViewImporter or RvHtmlImporter is used. The procedure does the following operations: •loading HTML from the Clipboard to a temporal TRichView component; •if rve.RTFReadProperties.UnicodeMode=rvruOnlyUnicode, converting a document in this temporal TRichView component to Unicode (see ConvertToUnicode); •inserting the content of this temporal TRichView component in rve, in the caret position (via TMemoryStream in RVF format). This procedure is used in TrvActionPaste and TrvActionPasteSpecial actions. |