rvico TRichView Reference | TRichViewEdit

TCustomRichViewEdit.InsertRVFFromStreamEd

Top  Previous  Next

Inserts RVF (RichView Format) from the Stream in the position of 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 reading?"

 

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 in position of caret;

RVF.


TRichView © trichview.com