rvico TRichView Reference | TRichViewEdit

TCustomRichViewEdit.InsertRVFFromFileEd

Top  Previous  Next

Inserts RVF (RichView Format) from the file FileName in the position of caret.

function InsertRVFFromFileEd(const FileName: String):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:

InsertRVFFromStreamEd;
PasteRVF.

See also methods of TRichView:

LoadRVF.
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).

See also:

TRichView component editor;
Saving and loading;
Inserting items in position of caret;
RVF.


TRichView © trichview.com