TCustomRichViewEdit.InsertRVFFromStreamEd

<< Click to display table of contents >>

TCustomRichViewEdit.InsertRVFFromStreamEd

Inserts an RVF (RichView Format) from the Stream at the position of the caret.

function InsertRVFFromStreamEd(Stream: TStream):Boolean;

Settings for RVF loading can be changed in the TRichView component editor.

Method type: editstyle editing-style method for insertion.

If style templates are used, and RVFTextStylesReadMode=RVFParaStylesReadMode=rvf_sInsertMerge, and StyleTemplateInsertMode<>rvstimIgnoreSourceStyleTemplates, the method merges style templates from RVF into Style.StyleTemplates, and reads text and paragraph styles according to StyleTemplateInsertMode. The method calls OnStyleTemplatesChange event.

Return value: "successful insertion?"

 

See also methods of TRichViewEdit:

▪InsertRVFFromFileEd;

▪PasteRVF.

See also methods of TRichView:

▪LoadRVFFromStream;

▪InsertRVFFromStream;

▪AppendRVFFromStream.

▪See also properties:

▪RVFOptions;

▪RVFWarnings;

▪RVFTextStylesReadMode (this method type: RVF insertion);

▪RVFParaStylesReadMode (this method type: RVF insertion);

▪UseStyleTemplates;

▪StyleTemplateInsertMode.

See also events:

▪OnRVFImageListNeeded;

▪OnRVFControlNeeded;

▪OnRVFPictureNeeded;

▪OnControlAction (ControlAction=rvcaAfterRVFLoad);

▪OnStyleTemplatesChange.

See also:

▪TRichView component editor;

▪Saving and loading;

▪Inserting items at position of caret;

▪RVF.