pastespecial TrvActionPasteSpecial

Properties   Methods   Events

Top  Previous  Next

TrvActionPasteSpecial is the action for "Edit | Paste Special" command.

Unit RichViewActions;

Syntax

TrvActionPasteSpecial = class(TrvActionPaste)

Hierarchy

TObject

TPersistent

TComponent

TBasicAction

TContainedAction

TCustomAction

TAction

TrvCustomAction

TrvAction

TrvCustomEditAction

TrvActionPaste

Description

This action displays a dialog containing a list of data formats available in the Clipboard. When the user chooses a format, data are pasted into TCustomRichViewEdit component in this format.

Supported formats:

ANSI text (CF_TEXT)

Unicode text (CF_UNICODETEXT)

Windows bitmap (CF_BITMAP)

Windows metafile (CF_METAFILEPICT)

RTF ("Rich Text Format")

RVF ("RichView Format")

HTML ("HTML Format") (only if RvHtmlViewImporter or RvHtmlImporter is used)

Graphic files (CF_HDROP)

custom formats (see OnShowing and OnCustomPaste events)

If TRVAControlPanel.RVFLocalizable=True, TRVAControlPanel.RVFFormatTitle is used in the list for RVF Format. You can change it to something like "My Application's Format". But in this case you need to provide a localization of this property yourself.

When pasting graphic files, the properties StoreFileName and StoreFileNameInItemName are used.

Unlike all other actions inherited from TrvCustomEditAction, this action cannot work with editor types other than TCustomRichViewEdit.


RichView © Sergey Tkachenko