|
RichView Methods for Saving and Loading |
Top Previous Next |
RichView has the following methods for export:▪SaveHTML, SaveHTMLEx: saving HTML files (also SaveHTMLToStream, SaveHTMLToStreamEx) ▪SaveText: saving plain ANSI text in file; SaveTextW: saving plain Unicode text; ▪SaveRVF,SaveRVFToStream – saving the whole document or the selected part to RVF (RichView Format) file or stream; RichView has the following methods for import:▪LoadText: reading plain ANSI text; ▪LoadTextFromStream, LoadTexFromStreamtW - the same for streams instead of files; ▪LoadRTF, LoadRTFFromStream: reading RTF (Rich Text Format) file or stream. ▪LoadRVF, LoadRVFFromStream: reading RVF (RichView Format) file or stream; See also: InsertRVFFromStream, AppendRVFFromStream. Note: All methods for reading contents, introduced in RichView, are viewer-style methods. RichViewEdit has the following additional methods for import (insertion):▪InsertRVFFromFileEd, InsertRVFFromStreamEd – like InsertRVFFromFile/InsertRVFFromStream, but editor-style methods. ▪InsertRTFFromFileEd, InsertRTFFromStreamEd – inserting RTF (Rich Text Format) file or stream. ▪InsertTextFromFile – editor-style method; There are also method for pasting data from the Clipboard. Events on export:▪HTML: OnHTMLSaveImage, OnSaveImage2, OnSaveComponentToFile, OnSaveHTMLExtra, OnSaveItemToFile, OnSaveParaToHTML, OnWriteHyperlink. ▪RTF: OnSaveComponentToFile, OnSaveRTFExtra, OnSaveItemToFile, OnWriteHyperlink. ▪Text: OnSaveComponentToFile, OnSaveItemToFile Events on import▪RTF: OnImportPicture, OnReadHyperlink See also... |