paste TrvActionPaste


<< Click to display table of contents >>

paste TrvActionPaste


TrvActionPaste is the action for "Edit | Paste" command.

Unit RichViewActions;


TrvActionPaste = class(TrvCustomEditAction)



This action pastes data from the Clipboard (calls TCustomRichViewEdit.Paste).

If RvHtmlViewImporter or rvHtmlImporter is used, the action can paste also in HTML format. This format is pasted only if:

the Clipboard does not contain data in RVF format, and

the Clipboard does not contain data in RTF format (or it contains empty RTF data; it happens when MS Internet Explorer copies a complex fragment with nested tables).

This action does not introduce any new properties in addition to properties of TrvAction.

This action can work with several types of editors, see the comments in the TrvCustomEditAction topic.